-
Global information
- Generated on Sun Oct 27 04:15:15 2024
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20241026
- Parsed 199,707 log entries in 14s
- Log start from 2024-10-20 00:00:01 to 2024-10-26 23:59:36
-
Overview
Global Stats
- 480 Number of unique normalized queries
- 7,931 Number of queries
- 10h27m36s Total query duration
- 2024-10-20 00:15:01 First query
- 2024-10-26 23:57:22 Last query
- 5 queries/s at 2024-10-23 22:55:36 Query peak
- 10h27m36s Total query duration
- 0ms Prepare/parse total duration
- 3s247ms Bind total duration
- 10h27m33s Execute total duration
- 32 Number of events
- 6 Number of unique normalized events
- 22 Max number of times the same event was reported
- 0 Number of cancellation
- 87 Total number of automatic vacuums
- 208 Total number of automatic analyzes
- 0 Number temporary file
- 0 Max size of temporary file
- 0.00 B Average size of temporary file
- 18,829 Total number of sessions
- 52 sessions at 2024-10-22 00:21:56 Session peak
- 280d7h50m7s Total duration of sessions
- 21m26s Average duration of sessions
- 0 Average queries per session
- 1s999ms Average queries duration per session
- 21m24s Average idle time per session
- 18,829 Total number of connections
- 66 connections/s at 2024-10-22 00:20:26 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 5 queries/s Query Peak
- 2024-10-23 22:55:36 Date
SELECT Traffic
Key values
- 5 queries/s Query Peak
- 2024-10-23 22:55:36 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 2 queries/s Query Peak
- 2024-10-23 04:18:48 Date
Queries duration
Key values
- 10h27m36s 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) Oct 20 00 27 0ms 17m54s 41s505ms 5s131ms 7s159ms 17m54s 01 40 0ms 15s167ms 1s942ms 3s802ms 6s559ms 15s167ms 02 9 0ms 1s699ms 1s357ms 1s408ms 1s424ms 3s631ms 03 30 0ms 4s67ms 1s559ms 2s827ms 4s67ms 7s258ms 04 38 0ms 14s108ms 2s633ms 5s223ms 10s269ms 14s108ms 05 102 0ms 6s707ms 2s120ms 8s104ms 21s544ms 29s904ms 06 42 0ms 35s331ms 4s995ms 15s58ms 23s850ms 47s138ms 07 26 0ms 2s153ms 1s290ms 2s366ms 3s302ms 6s490ms 08 27 0ms 11s28ms 1s759ms 1s415ms 5s207ms 12s434ms 09 43 0ms 17s128ms 2s681ms 10s261ms 13s822ms 17s128ms 10 58 0ms 35s480ms 3s962ms 11s39ms 45s530ms 56s161ms 11 46 0ms 4s82ms 1s698ms 3s886ms 6s462ms 8s670ms 12 43 0ms 28s875ms 3s202ms 3s845ms 14s766ms 43s875ms 13 25 0ms 5s230ms 2s12ms 4s82ms 5s194ms 5s919ms 14 39 0ms 35s374ms 5s269ms 5s116ms 43s972ms 54s733ms 15 33 0ms 5s345ms 1s766ms 3s785ms 4s15ms 13s662ms 16 34 0ms 10s297ms 1s920ms 3s900ms 5s220ms 11s701ms 17 34 0ms 20s765ms 1s866ms 3s412ms 4s933ms 20s765ms 18 46 0ms 35s155ms 3s756ms 2s788ms 21s396ms 55s888ms 19 13 0ms 4s979ms 1s558ms 1s402ms 1s423ms 4s979ms 20 13 0ms 2s22ms 1s341ms 1s398ms 1s957ms 3s578ms 21 16 0ms 11s626ms 1s937ms 1s411ms 2s459ms 16s350ms 22 33 0ms 2s27ms 1s273ms 2s386ms 3s230ms 6s434ms 23 33 0ms 5s305ms 1s756ms 4s322ms 5s816ms 10s484ms Oct 21 00 37 0ms 18m38s 33s99ms 5s293ms 14s967ms 18m44s 01 54 0ms 8s849ms 2s501ms 6s809ms 7s363ms 44s483ms 02 62 0ms 17s347ms 3s249ms 7s260ms 15s140ms 43s2ms 03 59 0ms 20s879ms 3s368ms 8s493ms 10s102ms 1m5s 04 68 0ms 5s194ms 3s85ms 8s134ms 10s810ms 13s436ms 05 107 0ms 6s593ms 3s36ms 15s429ms 26s602ms 33s654ms 06 64 0ms 35s732ms 4s22ms 9s666ms 25s448ms 48s186ms 07 51 0ms 6s101ms 2s137ms 6s145ms 7s890ms 18s90ms 08 62 0ms 4s357ms 2s474ms 6s468ms 8s319ms 13s816ms 09 35 0ms 17s254ms 2s614ms 5s86ms 9s568ms 21s615ms 10 39 0ms 35s625ms 4s312ms 4s79ms 9s732ms 54s716ms 11 27 0ms 17s546ms 3s967ms 9s481ms 17s444ms 19s715ms 12 24 0ms 10s303ms 1s763ms 2s558ms 2s707ms 10s303ms 13 27 0ms 13s931ms 3s703ms 6s972ms 12s145ms 18s397ms 14 74 0ms 1m6s 6s930ms 44s626ms 1m7s 1m10s 15 58 0ms 22s268ms 2s641ms 6s821ms 15s255ms 26s596ms 16 49 0ms 3s858ms 1s415ms 3s694ms 4s849ms 11s851ms 17 36 0ms 1m 3s547ms 5s248ms 5s746ms 1m6s 18 80 0ms 35s634ms 3s501ms 13s167ms 32s9ms 54s686ms 19 92 0ms 2s851ms 1s722ms 12s516ms 14s901ms 17s929ms 20 78 0ms 7s198ms 2s30ms 8s835ms 9s876ms 16s747ms 21 30 0ms 4s87ms 1s514ms 2s781ms 3s673ms 5s391ms 22 48 0ms 20s743ms 3s499ms 4s593ms 18s860ms 49s274ms 23 79 0ms 15s266ms 1s888ms 9s587ms 12s913ms 15s266ms Oct 22 00 88 0ms 18m39s 14s873ms 14s725ms 15s959ms 18m44s 01 34 0ms 10s57ms 1s921ms 4s719ms 6s76ms 10s57ms 02 99 0ms 4s842ms 1s579ms 8s543ms 11s437ms 14s643ms 03 38 0ms 58s921ms 10s781ms 57s840ms 58s427ms 1m 04 48 0ms 57s839ms 3s213ms 4s66ms 10s689ms 57s839ms 05 63 0ms 6s599ms 2s483ms 8s486ms 15s376ms 29s116ms 06 27 0ms 36s81ms 5s168ms 2s312ms 14s11ms 54s755ms 07 34 0ms 5s294ms 1s911ms 4s113ms 5s108ms 10s561ms 08 32 0ms 7s255ms 2s188ms 5s42ms 6s525ms 12s56ms 09 38 0ms 16s750ms 2s715ms 5s194ms 16s578ms 24s959ms 10 32 0ms 36s5ms 4s673ms 4s31ms 9s670ms 54s620ms 11 26 0ms 21s265ms 6s442ms 5s136ms 16s721ms 1m22s 12 12 0ms 4s45ms 2s333ms 3s125ms 3s947ms 4s534ms 13 40 0ms 21s550ms 2s731ms 5s78ms 7s102ms 21s550ms 14 52 0ms 2m27s 10s412ms 44s631ms 58s409ms 2m27s 15 48 0ms 2m24s 12s621ms 54s477ms 58s850ms 2m44s 16 32 0ms 10s882ms 2s292ms 4s901ms 6s439ms 12s85ms 17 166 0ms 17s305ms 1s522ms 19s963ms 21s664ms 25s359ms 18 58 0ms 36s157ms 3s841ms 17s940ms 19s635ms 54s707ms 19 144 0ms 17s440ms 1s476ms 20s148ms 20s193ms 21s245ms 20 41 0ms 4s501ms 1s744ms 4s258ms 9s679ms 16s759ms 21 12 0ms 1s417ms 1s293ms 1s403ms 1s415ms 2s627ms 22 24 0ms 10s203ms 2s430ms 3s914ms 8s192ms 11s282ms 23 44 0ms 11s445ms 3s589ms 7s988ms 14s452ms 30s789ms Oct 23 00 44 0ms 18m56s 28s491ms 7s851ms 14s22ms 18m56s 01 40 0ms 6s533ms 2s119ms 4s955ms 5s593ms 24s921ms 02 21 0ms 5s425ms 2s75ms 4s427ms 5s313ms 6s536ms 03 24 0ms 4s258ms 2s114ms 4s150ms 4s823ms 9s106ms 04 145 0ms 8s441ms 3s311ms 21s531ms 24s128ms 27s110ms 05 74 0ms 6s627ms 2s245ms 12s911ms 19s859ms 29s79ms 06 39 0ms 36s335ms 4s564ms 5s391ms 24s862ms 55s970ms 07 34 0ms 3s880ms 1s602ms 3s272ms 3s880ms 5s940ms 08 51 0ms 1m2s 5s181ms 10s161ms 34s857ms 1m2s 09 83 0ms 6s616ms 2s748ms 7s481ms 16s976ms 37s8ms 10 90 0ms 36s963ms 5s223ms 25s67ms 47s351ms 1m18s 11 37 0ms 17s623ms 3s286ms 7s524ms 15s258ms 17s623ms 12 25 0ms 5s 1s838ms 2s589ms 4s990ms 5s311ms 13 28 0ms 4s694ms 1s666ms 2s743ms 4s142ms 14s472ms 14 46 0ms 36s245ms 4s77ms 7s916ms 12s174ms 54s744ms 15 23 0ms 9s13ms 2s945ms 4s542ms 5s32ms 36s121ms 16 33 0ms 16s967ms 3s4ms 2s715ms 11s488ms 35s105ms 17 20 0ms 5s289ms 1s654ms 2s293ms 2s728ms 5s289ms 18 29 0ms 36s173ms 4s731ms 2s779ms 9s734ms 58s168ms 19 31 0ms 46s107ms 4s763ms 10s696ms 17s371ms 46s107ms 20 13 0ms 11s457ms 2s774ms 1s415ms 2s347ms 11s457ms 21 15 0ms 8s958ms 2s165ms 2s181ms 3s963ms 12s346ms 22 47 0ms 6s95ms 2s321ms 5s256ms 7s829ms 13s93ms 23 45 0ms 58s276ms 4s657ms 5s506ms 14s772ms 58s276ms Oct 24 00 35 0ms 18m37s 34s244ms 4s31ms 5s272ms 18m42s 01 28 0ms 21s937ms 2s978ms 3s957ms 5s573ms 23s123ms 02 31 0ms 19s579ms 2s458ms 3s980ms 7s568ms 19s579ms 03 47 0ms 15s271ms 2s657ms 8s120ms 11s47ms 36s643ms 04 42 0ms 6s430ms 2s183ms 5s969ms 7s138ms 16s30ms 05 75 0ms 1m5s 3s131ms 15s318ms 29s699ms 1m5s 06 34 0ms 36s440ms 4s444ms 3s221ms 9s785ms 54s669ms 07 38 0ms 16s105ms 3s594ms 7s982ms 15s509ms 44s581ms 08 28 0ms 5s311ms 1s819ms 3s995ms 4s978ms 6s511ms 09 114 0ms 15s593ms 3s235ms 18s389ms 22s809ms 40s840ms 10 181 0ms 49s100ms 3s689ms 22s340ms 49s591ms 1m2s 11 215 0ms 27s912ms 3s422ms 26s199ms 38s664ms 41s68ms 12 198 0ms 23s592ms 2s930ms 21s650ms 28s207ms 39s687ms 13 161 0ms 20s435ms 2s971ms 16s658ms 32s111ms 35s626ms 14 142 0ms 49s214ms 4s884ms 30s653ms 49s214ms 1m9s 15 31 0ms 12s150ms 4s911ms 8s233ms 16s685ms 42s830ms 16 17 0ms 7s151ms 1s917ms 2s409ms 4s22ms 7s151ms 17 61 0ms 47s117ms 8s487ms 16s39ms 30s197ms 3m50s 18 42 0ms 36s423ms 4s504ms 7s635ms 34s557ms 54s674ms 19 21 0ms 6s627ms 1s608ms 2s603ms 4s126ms 6s627ms 20 33 0ms 1m50s 4s685ms 3s75ms 3s867ms 1m51s 21 17 0ms 3s966ms 1s641ms 1s441ms 3s845ms 3s966ms 22 176 0ms 16s144ms 1s639ms 20s106ms 21s 25s149ms 23 28 0ms 15s422ms 2s202ms 4s12ms 7s25ms 15s422ms Oct 25 00 16 0ms 19m6s 1m17s 2s807ms 5s226ms 19m11s 01 29 0ms 4s140ms 1s546ms 3s325ms 3s767ms 8s789ms 02 27 0ms 4s225ms 1s942ms 3s997ms 4s893ms 7s535ms 03 46 0ms 1m33s 4s889ms 5s223ms 8s59ms 1m37s 04 44 0ms 5s240ms 3s72ms 5s179ms 7s795ms 9s20ms 05 92 0ms 52s55ms 4s484ms 17s491ms 33s877ms 2m31s 06 82 0ms 36s870ms 3s359ms 8s873ms 10s970ms 54s627ms 07 55 0ms 15s967ms 2s513ms 5s296ms 9s175ms 41s31ms 08 48 0ms 10s271ms 1s936ms 4s955ms 6s321ms 10s271ms 09 36 0ms 5s292ms 1s657ms 4s867ms 6s469ms 9s550ms 10 34 0ms 36s664ms 4s610ms 4s694ms 11s102ms 54s812ms 11 14 0ms 3s995ms 1s729ms 1s410ms 2s829ms 3s995ms 12 18 0ms 21s789ms 6s234ms 5s97ms 5s262ms 1m16s 13 35 0ms 5s10ms 1s426ms 2s823ms 5s10ms 6s440ms 14 49 0ms 36s538ms 4s479ms 14s771ms 20s269ms 54s918ms 15 16 0ms 2s125ms 1s379ms 1s418ms 2s125ms 3s832ms 16 19 0ms 5s335ms 1s700ms 2s404ms 2s764ms 7s677ms 17 31 0ms 16s941ms 4s774ms 10s88ms 16s941ms 35s746ms 18 46 0ms 36s940ms 4s492ms 10s368ms 18s821ms 54s494ms 19 22 0ms 4s85ms 2s411ms 3s873ms 4s80ms 7s687ms 20 43 0ms 4s46ms 1s812ms 4s1ms 5s713ms 9s887ms 21 46 0ms 5s624ms 2s184ms 4s904ms 6s946ms 37s250ms 22 40 0ms 5s403ms 1s566ms 4s224ms 4s848ms 13s739ms 23 33 0ms 5s314ms 1s499ms 3s189ms 3s846ms 5s314ms Oct 26 00 39 0ms 18m49s 32s7ms 5s128ms 18s561ms 18m54s 01 28 0ms 3s827ms 1s496ms 2s824ms 3s558ms 4s360ms 02 26 0ms 3s878ms 1s407ms 2s379ms 2s699ms 3s878ms 03 27 0ms 16s671ms 1s938ms 2s687ms 3s568ms 18s81ms 04 32 0ms 7s379ms 1s862ms 2s640ms 3s987ms 8s894ms 05 60 0ms 17s136ms 2s627ms 14s595ms 17s136ms 30s818ms 06 25 0ms 2s1ms 1s397ms 1s900ms 3s796ms 9s448ms 07 28 0ms 4m40s 12s119ms 6s341ms 7s362ms 4m40s 08 39 0ms 14s976ms 2s179ms 4s160ms 4s537ms 26s42ms 09 31 0ms 11s61ms 2s407ms 3s825ms 11s61ms 18s803ms 10 30 0ms 12s578ms 2s595ms 5s317ms 5s425ms 24s383ms 11 43 0ms 10s775ms 2s263ms 4s873ms 10s775ms 24s896ms 12 31 0ms 10s852ms 2s716ms 5s996ms 10s798ms 16s623ms 13 26 0ms 1s478ms 1s295ms 2s372ms 2s401ms 7s118ms 14 34 0ms 9s202ms 3s576ms 3s855ms 10s29ms 45s373ms 15 21 0ms 7s205ms 1s739ms 2s372ms 5s42ms 7s205ms 16 21 0ms 8s216ms 1s621ms 2s504ms 3s767ms 9s246ms 17 16 0ms 8s929ms 3s574ms 1s369ms 1s454ms 43s264ms 18 38 0ms 1m11s 11s762ms 51s390ms 1m7s 1m26s 19 65 0ms 23m46s 1m15s 2m16s 7m17s 24m20s 20 35 0ms 1m 3s934ms 3s305ms 16s575ms 1m 21 24 0ms 20s701ms 3s797ms 5s259ms 14s882ms 20s701ms 22 22 0ms 5s231ms 1s670ms 1s721ms 3s973ms 8s107ms 23 15 0ms 5s3ms 1s653ms 1s414ms 2s712ms 5s577ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Oct 20 00 26 0 42s905ms 1s408ms 5s131ms 17m54s 01 40 0 1s942ms 2s426ms 3s802ms 8s461ms 02 9 0 1s357ms 0ms 1s408ms 3s631ms 03 30 0 1s559ms 1s419ms 2s827ms 7s258ms 04 37 0 2s639ms 2s714ms 5s223ms 13s645ms 05 98 0 2s116ms 5s812ms 8s104ms 28s223ms 06 32 10 4s995ms 2s621ms 15s58ms 41s152ms 07 26 0 1s290ms 1s148ms 2s366ms 5s825ms 08 27 0 1s759ms 1s194ms 1s415ms 7s124ms 09 43 0 2s681ms 2s654ms 10s261ms 17s128ms 10 48 10 3s962ms 5s393ms 10s387ms 54s929ms 11 46 0 1s698ms 2s380ms 3s886ms 6s749ms 12 43 0 3s202ms 2s11ms 3s845ms 28s875ms 13 25 0 2s12ms 2s378ms 4s82ms 5s919ms 14 29 10 5s269ms 2s832ms 9s728ms 54s733ms 15 33 0 1s766ms 1s437ms 3s785ms 13s662ms 16 34 0 1s920ms 2s275ms 3s900ms 11s701ms 17 34 0 1s866ms 1s541ms 3s412ms 20s765ms 18 36 10 3s756ms 2s335ms 2s788ms 43s813ms 19 13 0 1s558ms 1s194ms 1s402ms 4s979ms 20 12 0 1s290ms 1s157ms 1s190ms 3s578ms 21 16 0 1s937ms 1s201ms 1s411ms 16s350ms 22 33 0 1s273ms 2s35ms 2s386ms 6s434ms 23 33 0 1s756ms 1s414ms 4s322ms 10s484ms Oct 21 00 36 0 33s870ms 3s571ms 5s293ms 18m38s 01 54 0 2s501ms 3s892ms 6s809ms 44s483ms 02 62 0 3s249ms 4s321ms 7s260ms 21s276ms 03 59 0 3s368ms 4s412ms 8s493ms 1m5s 04 68 0 3s85ms 5s327ms 8s134ms 13s39ms 05 103 0 3s67ms 7s867ms 12s92ms 32s349ms 06 54 9 4s33ms 4s111ms 9s666ms 44s321ms 07 49 0 2s90ms 3s905ms 5s373ms 18s90ms 08 61 0 2s483ms 4s355ms 6s468ms 8s428ms 09 35 0 2s614ms 2s371ms 5s86ms 21s615ms 10 29 10 4s312ms 3s838ms 4s79ms 44s223ms 11 27 0 3s967ms 2s288ms 9s481ms 19s715ms 12 24 0 1s763ms 1s414ms 2s558ms 10s303ms 13 27 0 3s703ms 2s161ms 6s972ms 12s494ms 14 64 10 6s930ms 9s712ms 44s626ms 1m10s 15 58 0 2s641ms 5s716ms 6s821ms 26s596ms 16 49 0 1s415ms 1s537ms 3s694ms 7s105ms 17 36 0 3s547ms 3s814ms 5s248ms 1m6s 18 70 10 3s501ms 7s88ms 11s317ms 44s203ms 19 92 0 1s722ms 7s44ms 12s516ms 17s929ms 20 78 0 2s30ms 6s919ms 8s835ms 10s52ms 21 30 0 1s514ms 1s625ms 2s781ms 5s391ms 22 48 0 3s499ms 2s345ms 4s593ms 49s274ms 23 79 0 1s888ms 5s357ms 9s587ms 15s266ms Oct 22 00 87 0 14s983ms 7s739ms 14s725ms 18m39s 01 34 0 1s921ms 2s499ms 4s719ms 10s57ms 02 99 0 1s579ms 7s35ms 8s543ms 13s576ms 03 38 0 10s781ms 4s4ms 57s840ms 1m 04 48 0 3s213ms 3s760ms 4s66ms 57s839ms 05 59 0 2s501ms 3s977ms 5s27ms 29s116ms 06 17 9 5s241ms 1s303ms 3s709ms 44s676ms 07 34 0 1s911ms 2s370ms 4s113ms 10s561ms 08 32 0 2s188ms 3s805ms 5s42ms 12s56ms 09 38 0 2s715ms 1s978ms 5s194ms 17s916ms 10 22 10 4s673ms 1s596ms 4s31ms 44s591ms 11 26 0 6s442ms 1s935ms 5s136ms 19s51ms 12 12 0 2s333ms 1s195ms 3s125ms 4s534ms 13 40 0 2s731ms 4s44ms 5s78ms 21s550ms 14 42 10 10s412ms 9s132ms 44s631ms 2m27s 15 48 0 12s621ms 7s157ms 54s477ms 2m44s 16 32 0 2s292ms 2s350ms 4s901ms 12s85ms 17 166 0 1s522ms 19s687ms 19s963ms 25s359ms 18 46 10 3s860ms 3s759ms 17s940ms 54s707ms 19 144 0 1s476ms 13s41ms 20s148ms 21s245ms 20 41 0 1s744ms 1s574ms 4s258ms 16s759ms 21 12 0 1s293ms 1s205ms 1s403ms 2s627ms 22 24 0 2s430ms 1s313ms 3s914ms 11s282ms 23 44 0 3s589ms 4s55ms 7s988ms 15s225ms Oct 23 00 43 0 29s29ms 3s946ms 7s851ms 18m56s 01 40 0 2s119ms 1s827ms 4s955ms 24s921ms 02 21 0 2s75ms 1s400ms 4s427ms 6s536ms 03 24 0 2s114ms 2s659ms 4s150ms 9s106ms 04 142 0 3s309ms 19s514ms 21s531ms 25s870ms 05 70 0 2s246ms 2s226ms 12s911ms 29s79ms 06 29 10 4s564ms 2s575ms 6s132ms 44s973ms 07 34 0 1s602ms 2s346ms 3s272ms 4s436ms 08 51 0 5s181ms 4s37ms 10s161ms 49s19ms 09 83 0 2s748ms 5s741ms 7s481ms 25s285ms 10 80 10 5s223ms 11s542ms 23s222ms 53s536ms 11 37 0 3s286ms 5s603ms 7s524ms 17s623ms 12 25 0 1s838ms 1s407ms 2s589ms 5s 13 28 0 1s666ms 1s410ms 2s743ms 14s472ms 14 36 10 4s77ms 3s502ms 7s916ms 44s914ms 15 23 0 2s945ms 1s404ms 4s542ms 36s121ms 16 33 0 3s4ms 1s417ms 2s715ms 35s105ms 17 20 0 1s654ms 1s400ms 2s293ms 5s289ms 18 19 10 4s731ms 1s404ms 3s528ms 54s640ms 19 31 0 4s763ms 2s692ms 10s696ms 46s107ms 20 13 0 2s774ms 1s205ms 1s415ms 11s457ms 21 15 0 2s165ms 1s166ms 2s181ms 12s346ms 22 47 0 2s321ms 3s932ms 5s256ms 13s93ms 23 45 0 4s657ms 3s975ms 5s506ms 58s83ms Oct 24 00 34 0 35s98ms 3s884ms 4s31ms 18m37s 01 28 0 2s978ms 2s574ms 3s957ms 23s123ms 02 31 0 2s458ms 2s818ms 3s980ms 19s579ms 03 47 0 2s657ms 2s682ms 8s120ms 36s643ms 04 42 0 2s183ms 3s906ms 5s969ms 16s30ms 05 71 0 3s184ms 4s948ms 15s318ms 1m5s 06 24 10 4s444ms 1s420ms 4s952ms 45s33ms 07 38 0 3s594ms 3s912ms 7s982ms 44s581ms 08 27 0 1s813ms 1s419ms 3s995ms 6s511ms 09 114 0 3s235ms 9s255ms 18s389ms 30s794ms 10 171 10 3s689ms 15s779ms 22s340ms 50s242ms 11 215 0 3s422ms 20s857ms 26s199ms 40s295ms 12 198 0 2s930ms 13s180ms 21s650ms 33s728ms 13 161 0 2s971ms 13s854ms 16s658ms 34s415ms 14 132 10 4s884ms 18s358ms 30s653ms 49s214ms 15 31 0 4s911ms 1s406ms 8s233ms 36s206ms 16 17 0 1s917ms 1s205ms 2s409ms 7s151ms 17 60 0 8s597ms 5s71ms 16s39ms 3m50s 18 32 10 4s504ms 1s439ms 9s662ms 54s674ms 19 21 0 1s608ms 1s367ms 2s603ms 6s627ms 20 33 0 4s685ms 2s636ms 3s75ms 1m51s 21 17 0 1s641ms 1s386ms 1s441ms 3s966ms 22 176 0 1s639ms 16s144ms 20s106ms 23s38ms 23 28 0 2s202ms 1s430ms 4s12ms 15s422ms Oct 25 00 15 0 1m22s 1s390ms 2s807ms 19m6s 01 29 0 1s546ms 1s403ms 3s325ms 8s789ms 02 27 0 1s942ms 3s293ms 3s997ms 7s535ms 03 46 0 4s889ms 3s914ms 5s223ms 1m37s 04 43 0 3s100ms 3s974ms 5s179ms 7s798ms 05 88 0 4s589ms 5s24ms 17s491ms 1m19s 06 72 10 3s359ms 7s676ms 8s873ms 45s572ms 07 55 0 2s513ms 3s581ms 5s296ms 18s676ms 08 48 0 1s936ms 3s762ms 4s955ms 10s271ms 09 36 0 1s657ms 1s652ms 4s867ms 9s550ms 10 24 10 4s610ms 1s415ms 4s694ms 45s281ms 11 14 0 1s729ms 1s217ms 1s410ms 2s941ms 12 18 0 6s234ms 1s415ms 5s97ms 1m16s 13 35 0 1s426ms 1s416ms 2s823ms 5s622ms 14 39 10 4s479ms 2s815ms 13s543ms 45s144ms 15 16 0 1s379ms 1s333ms 1s418ms 3s832ms 16 19 0 1s700ms 1s276ms 2s404ms 7s677ms 17 31 0 4s774ms 2s589ms 10s88ms 35s746ms 18 36 10 4s492ms 3s927ms 9s648ms 45s758ms 19 22 0 2s411ms 2s692ms 3s873ms 7s687ms 20 43 0 1s812ms 3s512ms 4s1ms 6s418ms 21 45 0 2s191ms 2s375ms 4s904ms 37s250ms 22 40 0 1s566ms 2s121ms 4s224ms 13s739ms 23 33 0 1s499ms 1s416ms 3s189ms 4s342ms Oct 26 00 38 0 32s711ms 2s582ms 5s128ms 18m49s 01 28 0 1s496ms 1s489ms 2s824ms 4s360ms 02 26 0 1s407ms 1s419ms 2s379ms 3s878ms 03 27 0 1s938ms 1s411ms 2s687ms 18s81ms 04 32 0 1s862ms 1s729ms 2s640ms 8s894ms 05 56 0 2s657ms 2s819ms 14s595ms 30s818ms 06 25 0 1s397ms 1s405ms 1s900ms 9s448ms 07 28 0 12s119ms 1s417ms 6s341ms 4m40s 08 39 0 2s179ms 1s418ms 4s160ms 26s42ms 09 31 0 2s407ms 1s406ms 3s825ms 18s803ms 10 30 0 2s595ms 2s349ms 5s317ms 24s383ms 11 43 0 2s263ms 2s26ms 4s873ms 24s896ms 12 31 0 2s716ms 1s435ms 5s996ms 16s623ms 13 26 0 1s295ms 1s405ms 2s372ms 7s118ms 14 34 0 3s576ms 1s498ms 3s855ms 45s373ms 15 21 0 1s739ms 1s311ms 2s372ms 7s205ms 16 21 0 1s621ms 1s315ms 2s504ms 9s246ms 17 16 0 3s574ms 1s168ms 1s369ms 43s264ms 18 12 26 11s762ms 1s425ms 51s390ms 1m4s 19 18 47 1m15s 1m11s 2m16s 24m20s 20 35 0 3s934ms 1s411ms 3s305ms 1m 21 24 0 3s797ms 2s356ms 5s259ms 20s701ms 22 22 0 1s670ms 1s417ms 1s721ms 8s107ms 23 15 0 1s653ms 1s199ms 1s414ms 5s577ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Oct 20 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Oct 21 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Oct 22 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Oct 23 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Oct 24 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Oct 25 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Oct 26 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Oct 20 00 0 25 25.00 0.00% 01 0 40 40.00 0.00% 02 0 9 9.00 0.00% 03 0 30 30.00 0.00% 04 0 38 38.00 0.00% 05 0 102 102.00 0.00% 06 0 36 36.00 0.00% 07 0 31 31.00 0.00% 08 0 29 29.00 0.00% 09 0 43 43.00 0.00% 10 0 49 49.00 0.00% 11 0 46 46.00 0.00% 12 0 43 43.00 0.00% 13 0 25 25.00 0.00% 14 0 29 29.00 0.00% 15 0 33 33.00 0.00% 16 0 34 34.00 0.00% 17 0 34 34.00 0.00% 18 0 36 36.00 0.00% 19 0 13 13.00 0.00% 20 0 13 13.00 0.00% 21 0 16 16.00 0.00% 22 0 33 33.00 0.00% 23 0 33 33.00 0.00% Oct 21 00 0 36 36.00 0.00% 01 0 54 54.00 0.00% 02 0 62 62.00 0.00% 03 0 59 59.00 0.00% 04 0 68 68.00 0.00% 05 0 108 108.00 0.00% 06 0 69 69.00 0.00% 07 0 51 51.00 0.00% 08 0 62 62.00 0.00% 09 0 35 35.00 0.00% 10 0 29 29.00 0.00% 11 0 31 31.00 0.00% 12 0 24 24.00 0.00% 13 0 27 27.00 0.00% 14 0 65 65.00 0.00% 15 0 58 58.00 0.00% 16 0 49 49.00 0.00% 17 0 36 36.00 0.00% 18 0 70 70.00 0.00% 19 0 92 92.00 0.00% 20 0 78 78.00 0.00% 21 0 30 30.00 0.00% 22 0 48 48.00 0.00% 23 0 79 79.00 0.00% Oct 22 00 0 86 86.00 0.00% 01 0 34 34.00 0.00% 02 0 99 99.00 0.00% 03 0 38 38.00 0.00% 04 0 48 48.00 0.00% 05 0 66 66.00 0.00% 06 0 22 22.00 0.00% 07 0 34 34.00 0.00% 08 0 32 32.00 0.00% 09 0 40 40.00 0.00% 10 0 26 26.00 0.00% 11 0 26 26.00 0.00% 12 0 12 12.00 0.00% 13 0 40 40.00 0.00% 14 0 42 42.00 0.00% 15 0 48 48.00 0.00% 16 0 33 33.00 0.00% 17 0 166 166.00 0.00% 18 0 48 48.00 0.00% 19 0 144 144.00 0.00% 20 0 41 41.00 0.00% 21 0 12 12.00 0.00% 22 0 24 24.00 0.00% 23 0 44 44.00 0.00% Oct 23 00 0 43 43.00 0.00% 01 0 40 40.00 0.00% 02 0 21 21.00 0.00% 03 0 24 24.00 0.00% 04 0 145 145.00 0.00% 05 0 74 74.00 0.00% 06 0 29 29.00 0.00% 07 0 35 35.00 0.00% 08 0 52 52.00 0.00% 09 0 84 84.00 0.00% 10 0 80 80.00 0.00% 11 0 39 39.00 0.00% 12 0 25 25.00 0.00% 13 0 28 28.00 0.00% 14 0 36 36.00 0.00% 15 0 27 27.00 0.00% 16 0 33 33.00 0.00% 17 0 20 20.00 0.00% 18 0 19 19.00 0.00% 19 0 31 31.00 0.00% 20 0 13 13.00 0.00% 21 0 15 15.00 0.00% 22 0 47 47.00 0.00% 23 0 45 45.00 0.00% Oct 24 00 0 33 33.00 0.00% 01 0 28 28.00 0.00% 02 0 31 31.00 0.00% 03 0 47 47.00 0.00% 04 0 42 42.00 0.00% 05 0 76 76.00 0.00% 06 0 27 27.00 0.00% 07 0 38 38.00 0.00% 08 0 29 29.00 0.00% 09 0 133 133.00 0.00% 10 0 179 179.00 0.00% 11 0 215 215.00 0.00% 12 0 202 202.00 0.00% 13 0 162 162.00 0.00% 14 0 140 140.00 0.00% 15 0 32 32.00 0.00% 16 0 17 17.00 0.00% 17 0 61 61.00 0.00% 18 0 32 32.00 0.00% 19 0 21 21.00 0.00% 20 0 33 33.00 0.00% 21 0 17 17.00 0.00% 22 0 176 176.00 0.00% 23 0 28 28.00 0.00% Oct 25 00 0 14 14.00 0.00% 01 0 29 29.00 0.00% 02 0 27 27.00 0.00% 03 0 46 46.00 0.00% 04 0 44 44.00 0.00% 05 0 92 92.00 0.00% 06 0 75 75.00 0.00% 07 0 71 71.00 0.00% 08 0 48 48.00 0.00% 09 0 36 36.00 0.00% 10 0 25 25.00 0.00% 11 0 19 19.00 0.00% 12 0 18 18.00 0.00% 13 0 39 39.00 0.00% 14 0 45 45.00 0.00% 15 0 18 18.00 0.00% 16 0 19 19.00 0.00% 17 0 31 31.00 0.00% 18 0 36 36.00 0.00% 19 0 22 22.00 0.00% 20 0 43 43.00 0.00% 21 0 46 46.00 0.00% 22 0 40 40.00 0.00% 23 0 33 33.00 0.00% Oct 26 00 0 37 37.00 0.00% 01 0 28 28.00 0.00% 02 0 26 26.00 0.00% 03 0 27 27.00 0.00% 04 0 32 32.00 0.00% 05 0 60 60.00 0.00% 06 0 25 25.00 0.00% 07 0 28 28.00 0.00% 08 0 39 39.00 0.00% 09 0 31 31.00 0.00% 10 0 30 30.00 0.00% 11 0 43 43.00 0.00% 12 0 31 31.00 0.00% 13 0 26 26.00 0.00% 14 0 34 34.00 0.00% 15 0 21 21.00 0.00% 16 0 21 21.00 0.00% 17 0 16 16.00 0.00% 18 0 12 12.00 0.00% 19 0 18 18.00 0.00% 20 0 35 35.00 0.00% 21 0 24 24.00 0.00% 22 0 22 22.00 0.00% 23 0 15 15.00 0.00% Day Hour Count Average / Second Oct 20 00 91 0.03/s 01 97 0.03/s 02 86 0.02/s 03 96 0.03/s 04 97 0.03/s 05 112 0.03/s 06 114 0.03/s 07 84 0.02/s 08 89 0.02/s 09 118 0.03/s 10 134 0.04/s 11 85 0.02/s 12 142 0.04/s 13 80 0.02/s 14 154 0.04/s 15 108 0.03/s 16 83 0.02/s 17 90 0.03/s 18 91 0.03/s 19 85 0.02/s 20 77 0.02/s 21 75 0.02/s 22 85 0.02/s 23 89 0.02/s Oct 21 00 168 0.05/s 01 102 0.03/s 02 96 0.03/s 03 106 0.03/s 04 99 0.03/s 05 118 0.03/s 06 88 0.02/s 07 101 0.03/s 08 91 0.03/s 09 115 0.03/s 10 95 0.03/s 11 114 0.03/s 12 86 0.02/s 13 98 0.03/s 14 182 0.05/s 15 105 0.03/s 16 114 0.03/s 17 124 0.03/s 18 189 0.05/s 19 204 0.06/s 20 295 0.08/s 21 90 0.03/s 22 147 0.04/s 23 128 0.04/s Oct 22 00 360 0.10/s 01 104 0.03/s 02 252 0.07/s 03 98 0.03/s 04 84 0.02/s 05 95 0.03/s 06 82 0.02/s 07 78 0.02/s 08 79 0.02/s 09 85 0.02/s 10 332 0.09/s 11 1,284 0.36/s 12 82 0.02/s 13 89 0.02/s 14 89 0.02/s 15 93 0.03/s 16 88 0.02/s 17 85 0.02/s 18 123 0.03/s 19 93 0.03/s 20 121 0.03/s 21 85 0.02/s 22 85 0.02/s 23 94 0.03/s Oct 23 00 118 0.03/s 01 97 0.03/s 02 84 0.02/s 03 77 0.02/s 04 138 0.04/s 05 97 0.03/s 06 86 0.02/s 07 101 0.03/s 08 95 0.03/s 09 150 0.04/s 10 270 0.07/s 11 87 0.02/s 12 90 0.03/s 13 102 0.03/s 14 105 0.03/s 15 82 0.02/s 16 94 0.03/s 17 82 0.02/s 18 80 0.02/s 19 96 0.03/s 20 89 0.02/s 21 81 0.02/s 22 86 0.02/s 23 106 0.03/s Oct 24 00 86 0.02/s 01 91 0.03/s 02 91 0.03/s 03 84 0.02/s 04 112 0.03/s 05 104 0.03/s 06 94 0.03/s 07 90 0.03/s 08 84 0.02/s 09 102 0.03/s 10 130 0.04/s 11 127 0.04/s 12 103 0.03/s 13 109 0.03/s 14 131 0.04/s 15 95 0.03/s 16 84 0.02/s 17 113 0.03/s 18 95 0.03/s 19 97 0.03/s 20 94 0.03/s 21 77 0.02/s 22 130 0.04/s 23 86 0.02/s Oct 25 00 81 0.02/s 01 94 0.03/s 02 80 0.02/s 03 89 0.02/s 04 102 0.03/s 05 120 0.03/s 06 100 0.03/s 07 105 0.03/s 08 91 0.03/s 09 94 0.03/s 10 92 0.03/s 11 76 0.02/s 12 81 0.02/s 13 89 0.02/s 14 153 0.04/s 15 81 0.02/s 16 81 0.02/s 17 86 0.02/s 18 87 0.02/s 19 78 0.02/s 20 80 0.02/s 21 85 0.02/s 22 86 0.02/s 23 91 0.03/s Oct 26 00 91 0.03/s 01 92 0.03/s 02 81 0.02/s 03 78 0.02/s 04 82 0.02/s 05 109 0.03/s 06 121 0.03/s 07 83 0.02/s 08 93 0.03/s 09 123 0.03/s 10 116 0.03/s 11 135 0.04/s 12 84 0.02/s 13 102 0.03/s 14 89 0.02/s 15 76 0.02/s 16 79 0.02/s 17 80 0.02/s 18 86 0.02/s 19 78 0.02/s 20 90 0.03/s 21 88 0.02/s 22 99 0.03/s 23 93 0.03/s Day Hour Count Average Duration Average idle time Oct 20 00 91 27m53s 27m41s 01 97 24m28s 24m27s 02 86 28m30s 28m30s 03 96 24m53s 24m53s 04 97 25m30s 25m29s 05 111 21m30s 21m28s 06 115 21m1s 20m59s 07 84 25m56s 25m55s 08 89 26m44s 26m43s 09 118 21m10s 21m9s 10 134 17m51s 17m49s 11 85 28m7s 28m6s 12 142 16m16s 16m15s 13 80 31m58s 31m58s 14 154 14m30s 14m29s 15 108 22m45s 22m45s 16 83 29m18s 29m18s 17 90 26m53s 26m52s 18 91 26m45s 26m43s 19 85 28m7s 28m6s 20 77 31m24s 31m24s 21 75 29m27s 29m27s 22 85 29m15s 29m15s 23 89 27m3s 27m2s Oct 21 00 168 14m16s 14m9s 01 102 24m6s 24m4s 02 96 25m37s 25m35s 03 106 22m31s 22m29s 04 99 25m22s 25m20s 05 118 19m32s 19m29s 06 88 25m42s 25m39s 07 101 23m41s 23m40s 08 91 26m26s 26m24s 09 115 20m46s 20m46s 10 95 26m 25m58s 11 114 20m39s 20m38s 12 86 29m6s 29m5s 13 98 23m55s 23m54s 14 182 14m10s 14m7s 15 105 22m50s 22m49s 16 114 20m45s 20m44s 17 124 18m45s 18m44s 18 189 12m57s 12m56s 19 204 11m50s 11m50s 20 295 7m52s 7m51s 21 90 25m3s 25m3s 22 147 16m55s 16m54s 23 128 18m43s 18m42s Oct 22 00 360 6m48s 6m45s 01 104 22m34s 22m33s 02 252 9m56s 9m56s 03 98 23m38s 23m34s 04 84 29m8s 29m6s 05 95 22m58s 22m57s 06 82 28m59s 28m57s 07 78 29m55s 29m54s 08 79 31m53s 31m52s 09 85 29m39s 29m37s 10 330 7m41s 7m41s 11 1,286 1m54s 1m54s 12 82 28m44s 28m44s 13 89 26m34s 26m33s 14 89 27m32s 27m26s 15 93 25m45s 25m39s 16 88 27m53s 27m52s 17 85 28m28s 28m25s 18 123 20m21s 20m20s 19 93 25m27s 25m25s 20 121 18m34s 18m33s 21 85 27m56s 27m56s 22 85 27m55s 27m54s 23 94 26m31s 26m29s Oct 23 00 118 20m37s 20m26s 01 97 25m 24m59s 02 84 29m12s 29m12s 03 77 30m52s 30m52s 04 137 16m21s 16m17s 05 98 22m58s 22m57s 06 86 28m31s 28m29s 07 101 24m39s 24m39s 08 95 25m51s 25m48s 09 150 16m7s 16m6s 10 270 8m42s 8m40s 11 87 27m57s 27m55s 12 90 27m18s 27m18s 13 102 22m26s 22m25s 14 105 23m2s 23m 15 82 29m23s 29m22s 16 94 26m21s 26m20s 17 82 29m37s 29m36s 18 80 30m15s 30m14s 19 96 25m6s 25m4s 20 89 27m14s 27m14s 21 81 28m29s 28m29s 22 86 26m58s 26m57s 23 106 22m56s 22m54s Oct 24 00 86 28m18s 28m4s 01 91 27m19s 27m18s 02 91 26m1s 26m 03 84 26m24s 26m22s 04 112 22m36s 22m35s 05 104 22m40s 22m38s 06 94 26m 25m58s 07 90 26m30s 26m28s 08 84 29m11s 29m10s 09 102 23m43s 23m40s 10 130 18m56s 18m51s 11 127 18m43s 18m37s 12 103 23m10s 23m4s 13 109 22m1s 21m57s 14 131 18m30s 18m25s 15 95 24m33s 24m31s 16 84 28m4s 28m3s 17 113 21m41s 21m37s 18 95 24m57s 24m55s 19 97 26m1s 26m 20 94 25m21s 25m19s 21 77 28m39s 28m39s 22 130 18m52s 18m50s 23 86 28m14s 28m13s Oct 25 00 81 29m11s 28m56s 01 94 25m55s 25m55s 02 80 28m31s 28m30s 03 89 26m58s 26m56s 04 102 23m39s 23m38s 05 120 20m 19m57s 06 100 24m54s 24m51s 07 105 22m1s 22m 08 91 26m49s 26m48s 09 94 26m53s 26m52s 10 92 27m9s 27m7s 11 76 31m14s 31m13s 12 81 29m47s 29m46s 13 89 26m36s 26m35s 14 153 15m32s 15m31s 15 81 29m54s 29m54s 16 81 29m49s 29m48s 17 86 26m34s 26m32s 18 87 28m23s 28m20s 19 78 30m33s 30m32s 20 80 29m23s 29m22s 21 85 27m6s 27m5s 22 86 28m19s 28m18s 23 91 27m2s 27m2s Oct 26 00 91 26m37s 26m23s 01 92 24m51s 24m51s 02 81 29m13s 29m12s 03 78 30m18s 30m17s 04 82 29m41s 29m40s 05 109 22m21s 22m20s 06 120 19m35s 19m35s 07 84 28m49s 28m45s 08 93 27m18s 27m17s 09 123 20m22s 20m22s 10 116 19m58s 19m57s 11 135 18m11s 18m10s 12 84 28m32s 28m31s 13 102 24m36s 24m35s 14 89 25m48s 25m46s 15 76 31m10s 31m10s 16 79 30m8s 30m8s 17 80 29m36s 29m35s 18 85 29m5s 29m 19 79 30m52s 29m50s 20 90 26m51s 26m50s 21 88 26m20s 26m19s 22 99 24m27s 24m26s 23 93 25m51s 25m50s -
Connections
Established Connections
Key values
- 66 connections Connection Peak
- 2024-10-22 00:20:26 Date
Connections per database
Key values
- ctdprd51 Main Database
- 18,829 connections Total
Connections per user
Key values
- pubeu Main User
- 18,829 connections Total
-
Sessions
Simultaneous sessions
Key values
- 52 sessions Session Peak
- 2024-10-22 00:21:56 Date
Histogram of session times
Key values
- 11,897 1800000-3600000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 18,829 sessions Total
Sessions per user
Key values
- pubeu Main User
- 18,829 sessions Total
Sessions per host
Key values
- 10.12.5.37 Main Host
- 18,829 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 237,430 buffers Checkpoint Peak
- 2024-10-22 09:05:25 Date
- 1620.057 seconds Highest write time
- 0.011 seconds Sync time
Checkpoints Wal files
Key values
- 42 files Wal files usage Peak
- 2024-10-25 04:05:37 Date
Checkpoints distance
Key values
- 1,356.11 Mo Distance Peak
- 2024-10-25 04:05:37 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Oct 20 00 5,767 768.601s 0.003s 768.713s 01 63,438 2,094.153s 0.005s 2,094.708s 02 4,321 432.833s 0.003s 432.924s 03 826 82.762s 0.002s 82.791s 04 1,087 108.91s 0.004s 108.993s 05 10,964 1,098.227s 0.004s 1,098.365s 06 1,615 161.819s 0.004s 161.9s 07 9,301 931.417s 0.002s 931.53s 08 6,892 690.063s 0.004s 690.178s 09 1,595 159.879s 0.002s 159.957s 10 1,696 169.796s 0.002s 169.873s 11 2,093 209.716s 0.003s 209.747s 12 7,058 706.921s 0.003s 707.038s 13 1,718 172.104s 0.002s 172.182s 14 1,579 158.194s 0.003s 158.276s 15 2,133 213.682s 0.003s 213.712s 16 1,657 166.083s 0.003s 166.157s 17 2,061 206.478s 0.003s 206.556s 18 3,677 368.205s 0.003s 368.285s 19 2,437 244.015s 0.003s 244.096s 20 1,977 198.056s 0.003s 198.135s 21 2,320 232.508s 0.002s 232.538s 22 48,395 2,208.515s 0.002s 2,208.961s 23 2,511 251.55s 0.004s 251.628s Oct 21 00 10,560 1,287.831s 0.005s 1,287.964s 01 830 83.139s 0.003s 83.169s 02 2,019 202.225s 0.003s 202.3s 03 19,188 1,744.108s 0.003s 1,744.224s 04 1,117 111.896s 0.002s 111.928s 05 1,473 147.586s 0.002s 147.665s 06 1,722 172.537s 0.004s 172.57s 07 1,556 155.874s 0.002s 155.949s 08 698 69.93s 0.002s 69.945s 09 68,777 1,774.122s 0.006s 1,774.646s 10 12,173 1,218.879s 0.003s 1,219.077s 11 1,698 170.092s 0.003s 170.123s 12 2,197 220.181s 0.002s 220.259s 13 1,650 165.29s 0.003s 165.321s 14 1,983 198.685s 0.003s 198.763s 15 2,256 226.007s 0.002s 226.087s 16 1,714 171.782s 0.004s 171.815s 17 1,978 198.174s 0.003s 198.254s 18 1,756 175.829s 0.002s 175.908s 19 1,965 196.974s 0.002s 197.004s 20 2,635 263.881s 0.002s 263.926s 21 7,708 772.154s 0.003s 772.312s 22 57,053 1,672.489s 0.003s 1,673.005s 23 3,036 304.217s 0.002s 304.298s Oct 22 00 10,142 1,232.015s 0.006s 1,232.187s 01 1,794 179.733s 0.002s 179.764s 02 6,945 695.819s 0.012s 695.967s 03 957 95.768s 0.002s 95.8s 04 5,816 582.507s 0.002s 582.622s 05 522 52.284s 0.001s 52.299s 06 47,840 1,773.156s 0.005s 1,773.605s 07 1,606 160.894s 0.003s 160.973s 08 810 81.153s 0.002s 81.169s 09 238,862 1,762.755s 0.006s 1,763.133s 10 7,871 788.25s 0.003s 788.368s 11 1,649 165.436s 0.002s 165.519s 12 2,223 222.69s 0.004s 222.722s 13 6,533 654.372s 0.002s 654.52s 14 1,882 188.537s 0.003s 188.569s 15 1,863 186.644s 0.003s 186.725s 16 4,289 429.666s 0.002s 429.746s 17 2,104 210.787s 0.004s 210.866s 18 1,802 180.517s 0.003s 180.597s 19 1,945 194.841s 0.003s 194.872s 20 2,342 234.612s 0.002s 234.69s 21 2,086 208.993s 0.003s 209.072s 22 1,905 190.937s 0.003s 190.969s 23 2,270 227.458s 0.002s 227.533s Oct 23 00 8,295 830.818s 0.004s 830.972s 01 657 65.819s 0.002s 65.85s 02 833 83.445s 0.003s 83.478s 03 1,190 119.353s 0.002s 119.431s 04 2,261 226.619s 0.003s 226.663s 05 2,634 263.726s 0.002s 263.77s 06 1,222 122.431s 0.003s 122.462s 07 1,634 163.792s 0.002s 163.87s 08 1,235 123.755s 0.003s 123.786s 09 8,117 813.098s 0.003s 813.596s 10 60,040 1,668.796s 0.002s 1,668.957s 11 50,912 1,661.121s 0.003s 1,661.59s 12 1,245 124.693s 0.003s 124.724s 13 1,951 195.563s 0.003s 195.642s 14 1,193 119.637s 0.002s 119.668s 15 6,018 603.033s 0.003s 603.125s 16 1,086 108.895s 0.002s 108.927s 17 1,118 112.083s 0.002s 112.163s 18 1,871 187.529s 0.004s 187.561s 19 1,192 119.685s 0.002s 119.761s 20 1,087 108.989s 0.003s 109.021s 21 1,149 115.192s 0.003s 115.224s 22 1,927 193.136s 0.003s 193.215s 23 23,385 2,146.305s 0.002s 2,146.454s Oct 24 00 6,376 639.139s 0.005s 639.24s 01 489 49.084s 0.002s 49.158s 02 490 49.23s 0.002s 49.259s 03 7,044 705.681s 0.002s 705.795s 04 527 52.799s 0.002s 52.83s 05 5,514 552.253s 0.003s 552.323s 06 1,579 158.287s 0.004s 158.366s 07 2,042 204.688s 0.003s 204.718s 08 800 80.238s 0.002s 80.319s 09 2,125 212.923s 0.004s 212.966s 10 1,245 124.733s 0.003s 124.763s 11 502 50.301s 0.002s 50.317s 12 56,219 1,696.757s 0.004s 1,697.281s 13 1,518 151.983s 0.003s 152.063s 14 1,188 119.043s 0.003s 119.123s 15 1,097 109.926s 0.004s 109.958s 16 4,093 410.137s 0.003s 410.26s 17 1,491 149.464s 0.003s 149.495s 18 1,348 135.042s 0.003s 135.073s 19 5,570 557.811s 0.002s 557.964s 20 1,273 127.628s 0.002s 127.659s 21 1,744 174.713s 0.003s 174.792s 22 1,161 116.438s 0.002s 116.47s 23 1,672 167.589s 0.003s 167.666s Oct 25 00 9,720 973.656s 0.003s 973.879s 01 7,165 717.708s 0.003s 717.784s 02 679 68.117s 0.002s 68.148s 03 454 45.506s 0.001s 45.521s 04 64,473 1,713.042s 0.005s 1,713.669s 05 822 82.416s 0.003s 82.446s 06 53,712 1,868.02s 0.002s 1,868.509s 07 1,183 118.651s 0.003s 118.73s 08 1,880 188.471s 0.002s 188.501s 09 39,110 1,659.632s 0.003s 1,660.009s 10 3,847 385.443s 0.003s 385.521s 11 1,502 150.586s 0.002s 150.665s 12 1,248 125.144s 0.003s 125.176s 13 6,083 609.32s 0.002s 609.449s 14 2,857 286.452s 0.002s 286.482s 15 1,246 124.955s 0.004s 125.041s 16 1,805 180.844s 0.003s 180.876s 17 23,602 1,670.199s 0.004s 1,670.445s 18 1,343 134.565s 0.004s 134.598s 19 2,019 202.256s 0.002s 202.332s 20 1,686 168.806s 0.004s 168.886s 21 1,655 166s 0.003s 166.031s 22 2,047 205.086s 0.004s 205.162s 23 3,377 338.327s 0.003s 338.371s Oct 26 00 11,840 1,185.865s 0.005s 1,186.04s 01 788 78.936s 0.002s 78.966s 02 94,770 1,651.359s 0.003s 1,651.903s 03 1,455 145.775s 0.001s 145.837s 04 53,867 1,695.543s 0.005s 1,696.041s 05 1,553 155.61s 0.003s 155.641s 06 1,430 143.329s 0.004s 143.409s 07 1,527 153.072s 0.002s 153.103s 08 1,235 123.745s 0.003s 123.822s 09 1,579 158.211s 0.003s 158.243s 10 1,401 140.36s 0.004s 140.441s 11 3,539 354.654s 0.003s 354.729s 12 1,726 172.9s 0.002s 172.978s 13 1,497 150.061s 0.004s 150.092s 14 1,213 121.605s 0.004s 121.685s 15 1,564 156.829s 0.002s 156.86s 16 1,169 117.234s 0.004s 117.265s 17 1,148 115.078s 0.004s 115.156s 18 1,900 190.447s 0.004s 190.487s 19 622 62.4s 0.001s 62.461s 20 143,297 1,738.648s 0.004s 1,738.7s 21 2,750 275.646s 0.003s 275.727s 22 1,255 125.856s 0.003s 125.932s 23 1,325 132.834s 0.002s 132.865s Day Hour Added Removed Recycled Synced files Longest sync Average sync Oct 20 00 0 0 5 36 0.002s 0.001s 01 0 0 39 107 0.001s 0.003s 02 0 0 2 47 0.001s 0.002s 03 0 0 0 34 0.001s 0.002s 04 0 0 1 33 0.002s 0.002s 05 0 0 6 46 0.001s 0.002s 06 0 0 1 90 0.002s 0.002s 07 0 0 4 136 0.001s 0.002s 08 0 0 4 136 0.001s 0.002s 09 0 0 1 32 0.001s 0.002s 10 0 0 1 121 0.001s 0.002s 11 0 0 0 39 0.002s 0.002s 12 0 0 4 44 0.001s 0.002s 13 0 0 1 29 0.001s 0.002s 14 0 0 1 27 0.001s 0.002s 15 0 0 0 29 0.001s 0.002s 16 0 0 1 21 0.001s 0.002s 17 0 0 1 35 0.001s 0.002s 18 0 0 1 42 0.001s 0.002s 19 0 0 1 22 0.002s 0.002s 20 0 0 1 31 0.001s 0.002s 21 0 0 0 30 0.001s 0.002s 22 0 0 32 48 0.001s 0.002s 23 0 0 1 31 0.001s 0.002s Oct 21 00 0 0 5 93 0.001s 0.002s 01 0 0 0 42 0.001s 0.002s 02 0 0 1 46 0.001s 0.002s 03 0 0 4 56 0.002s 0.002s 04 0 0 0 37 0.001s 0.002s 05 0 0 1 42 0.001s 0.002s 06 0 0 0 151 0.002s 0.002s 07 0 0 1 34 0.001s 0.002s 08 0 0 0 19 0.001s 0.001s 09 0 0 37 162 0.001s 0.003s 10 0 0 8 104 0.002s 0.002s 11 0 0 0 124 0.001s 0.002s 12 0 0 1 69 0.001s 0.002s 13 0 0 0 108 0.002s 0.002s 14 0 0 1 123 0.002s 0.002s 15 0 0 1 30 0.001s 0.002s 16 0 0 0 20 0.002s 0.002s 17 0 0 1 29 0.002s 0.002s 18 0 0 1 24 0.001s 0.002s 19 0 0 0 30 0.001s 0.002s 20 0 0 1 31 0.001s 0.002s 21 0 0 5 46 0.001s 0.002s 22 0 0 38 40 0.001s 0.002s 23 0 0 1 35 0.001s 0.002s Oct 22 00 0 0 5 81 0.001s 0.002s 01 0 0 0 34 0.001s 0.002s 02 0 0 3 64 0.006s 0.002s 03 0 0 0 41 0.001s 0.002s 04 0 0 4 53 0.001s 0.002s 05 0 0 0 21 0.001s 0.001s 06 0 0 31 205 0.002s 0.003s 07 0 0 1 79 0.002s 0.002s 08 0 0 0 83 0.001s 0.001s 09 0 0 21 104 0.002s 0.003s 10 0 0 4 143 0.002s 0.002s 11 0 0 1 34 0.001s 0.002s 12 0 0 0 72 0.002s 0.002s 13 0 0 4 83 0.001s 0.002s 14 0 0 0 37 0.001s 0.002s 15 0 0 1 64 0.002s 0.002s 16 0 0 1 74 0.001s 0.002s 17 0 0 1 46 0.002s 0.002s 18 0 0 1 24 0.002s 0.002s 19 0 0 0 29 0.001s 0.002s 20 0 0 1 23 0.001s 0.002s 21 0 0 1 42 0.001s 0.002s 22 0 0 0 22 0.002s 0.002s 23 0 0 1 25 0.001s 0.002s Oct 23 00 0 0 4 70 0.001s 0.002s 01 0 0 0 37 0.001s 0.002s 02 0 0 0 36 0.001s 0.002s 03 0 0 1 47 0.001s 0.002s 04 0 0 1 51 0.002s 0.002s 05 0 0 1 47 0.001s 0.002s 06 0 0 0 82 0.002s 0.002s 07 0 0 1 131 0.001s 0.002s 08 0 0 0 109 0.001s 0.002s 09 0 0 36 128 0.001s 0.002s 10 0 0 8 93 0.001s 0.002s 11 0 0 34 85 0.001s 0.002s 12 0 0 0 19 0.001s 0.002s 13 0 0 1 66 0.001s 0.002s 14 0 0 0 65 0.001s 0.002s 15 0 0 3 95 0.002s 0.002s 16 0 0 0 70 0.001s 0.002s 17 0 0 1 25 0.001s 0.002s 18 0 0 0 113 0.002s 0.002s 19 0 0 1 28 0.001s 0.002s 20 0 0 0 17 0.002s 0.002s 21 0 0 0 25 0.002s 0.002s 22 0 0 1 37 0.002s 0.002s 23 0 0 7 46 0.001s 0.002s Oct 24 00 0 0 2 75 0.003s 0.002s 01 0 0 1 37 0.001s 0.002s 02 0 0 0 32 0.001s 0.002s 03 0 0 4 39 0.001s 0.002s 04 0 0 0 28 0.001s 0.002s 05 0 0 3 59 0.002s 0.002s 06 0 0 1 132 0.001s 0.002s 07 0 0 0 58 0.001s 0.002s 08 0 0 1 34 0.001s 0.002s 09 0 0 1 141 0.001s 0.002s 10 0 0 0 124 0.001s 0.002s 11 0 0 0 19 0.001s 0.001s 12 0 0 37 55 0.002s 0.003s 13 0 0 1 120 0.002s 0.002s 14 0 0 1 81 0.001s 0.002s 15 0 0 0 107 0.001s 0.002s 16 0 0 2 36 0.001s 0.002s 17 0 0 0 20 0.001s 0.002s 18 0 0 0 31 0.001s 0.002s 19 0 0 4 33 0.001s 0.002s 20 0 0 0 27 0.001s 0.002s 21 0 0 1 19 0.001s 0.002s 22 0 0 0 20 0.001s 0.002s 23 0 0 1 36 0.001s 0.002s Oct 25 00 0 0 7 77 0.001s 0.002s 01 0 0 1 52 0.001s 0.002s 02 0 0 0 35 0.001s 0.002s 03 0 0 0 17 0.001s 0.001s 04 0 0 43 82 0.001s 0.003s 05 0 0 0 38 0.001s 0.002s 06 0 0 35 71 0.001s 0.002s 07 0 0 1 138 0.001s 0.002s 08 0 0 0 90 0.001s 0.002s 09 0 0 26 41 0.001s 0.002s 10 0 0 1 91 0.001s 0.002s 11 0 0 1 120 0.001s 0.002s 12 0 0 0 108 0.001s 0.002s 13 0 0 5 113 0.001s 0.002s 14 0 0 0 119 0.001s 0.002s 15 0 0 1 112 0.002s 0.002s 16 0 0 0 77 0.002s 0.002s 17 0 0 15 40 0.001s 0.002s 18 0 0 0 26 0.002s 0.002s 19 0 0 1 31 0.001s 0.002s 20 0 0 1 31 0.001s 0.002s 21 0 0 0 28 0.001s 0.002s 22 0 0 1 36 0.002s 0.002s 23 0 0 1 33 0.001s 0.002s Oct 26 00 0 0 6 100 0.001s 0.002s 01 0 0 0 46 0.001s 0.002s 02 0 0 41 53 0.001s 0.002s 03 0 0 1 29 0.001s 0.001s 04 0 0 35 66 0.002s 0.003s 05 0 0 0 44 0.001s 0.002s 06 0 0 1 45 0.001s 0.002s 07 0 0 0 29 0.001s 0.002s 08 0 0 1 30 0.002s 0.002s 09 0 0 0 29 0.001s 0.002s 10 0 0 1 32 0.001s 0.002s 11 0 0 1 49 0.001s 0.002s 12 0 0 1 22 0.001s 0.002s 13 0 0 0 29 0.002s 0.002s 14 0 0 1 21 0.002s 0.002s 15 0 0 0 33 0.001s 0.002s 16 0 0 0 21 0.001s 0.002s 17 0 0 1 21 0.002s 0.002s 18 0 0 0 34 0.002s 0.002s 19 0 0 1 13 0.001s 0.001s 20 0 0 0 35 0.001s 0.003s 21 0 0 1 44 0.001s 0.002s 22 0 0 1 23 0.001s 0.002s 23 0 0 0 19 0.001s 0.002s Day Hour Count Avg time (sec) Oct 20 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Oct 21 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Oct 22 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Oct 23 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Oct 24 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Oct 25 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Oct 26 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate Oct 20 00 64,687.00 kB 64,687.00 kB 01 217,909.33 kB 561,183.00 kB 02 12,398.00 kB 433,542.50 kB 03 2,954.00 kB 351,715.00 kB 04 3,405.50 kB 285,521.00 kB 05 52,249.00 kB 241,191.00 kB 06 4,444.00 kB 196,183.00 kB 07 38,824.00 kB 166,278.50 kB 08 33,897.00 kB 141,103.50 kB 09 4,396.00 kB 115,156.00 kB 10 5,071.50 kB 94,197.00 kB 11 5,200.50 kB 77,290.00 kB 12 34,003.00 kB 66,481.00 kB 13 4,946.00 kB 57,363.00 kB 14 4,859.50 kB 47,404.50 kB 15 5,430.00 kB 39,420.50 kB 16 5,404.50 kB 32,940.50 kB 17 5,979.50 kB 27,807.50 kB 18 12,726.50 kB 24,907.50 kB 19 5,987.50 kB 21,331.50 kB 20 6,278.00 kB 18,477.00 kB 21 6,367.00 kB 16,171.00 kB 22 259,369.00 kB 435,064.50 kB 23 6,648.00 kB 356,264.50 kB Oct 21 00 40,910.50 kB 296,180.50 kB 01 2,680.00 kB 240,731.50 kB 02 6,270.50 kB 196,204.50 kB 03 32,155.50 kB 164,786.50 kB 04 3,383.50 kB 134,331.00 kB 05 4,118.00 kB 109,531.00 kB 06 4,887.00 kB 89,659.50 kB 07 4,073.00 kB 73,405.50 kB 08 4,145.00 kB 63,210.00 kB 09 201,928.00 kB 538,619.33 kB 10 60,717.00 kB 419,660.50 kB 11 5,836.50 kB 346,010.50 kB 12 5,175.50 kB 281,299.00 kB 13 4,959.50 kB 228,800.50 kB 14 5,421.50 kB 186,347.00 kB 15 5,377.50 kB 151,936.50 kB 16 5,088.00 kB 124,066.00 kB 17 5,566.00 kB 101,516.00 kB 18 5,432.00 kB 83,278.00 kB 19 5,783.00 kB 68,527.00 kB 20 6,428.00 kB 56,732.50 kB 21 35,214.50 kB 56,795.00 kB 22 311,968.00 kB 587,433.50 kB 23 9,296.50 kB 477,577.50 kB Oct 22 00 39,174.50 kB 394,172.00 kB 01 2,705.00 kB 320,043.00 kB 02 26,722.50 kB 262,174.00 kB 03 3,071.00 kB 215,087.50 kB 04 26,497.50 kB 179,244.50 kB 05 3,371.00 kB 153,314.00 kB 06 169,530.33 kB 450,686.33 kB 07 4,218.50 kB 346,549.00 kB 08 4,721.00 kB 296,171.00 kB 09 114,733.67 kB 303,456.33 kB 10 36,720.00 kB 236,932.00 kB 11 4,453.00 kB 195,652.00 kB 12 5,231.50 kB 159,417.00 kB 13 25,030.50 kB 132,083.00 kB 14 4,943.00 kB 109,761.50 kB 15 5,352.50 kB 89,867.00 kB 16 11,555.50 kB 75,019.50 kB 17 6,061.50 kB 61,867.50 kB 18 5,269.00 kB 51,162.50 kB 19 5,852.00 kB 42,535.00 kB 20 5,665.00 kB 35,527.00 kB 21 6,181.00 kB 29,931.50 kB 22 5,665.50 kB 25,348.00 kB 23 6,172.00 kB 21,665.00 kB Oct 23 00 29,967.50 kB 49,865.50 kB 01 2,294.00 kB 41,073.50 kB 02 2,674.50 kB 33,774.50 kB 03 3,502.00 kB 28,013.00 kB 04 6,948.50 kB 23,646.50 kB 05 8,418.50 kB 21,062.50 kB 06 3,659.00 kB 17,779.50 kB 07 4,495.50 kB 15,192.00 kB 08 3,932.50 kB 13,082.50 kB 09 31,167.50 kB 31,167.50 kB 10 326,775.00 kB 616,402.00 kB 11 277,049.50 kB 551,942.50 kB 12 3,738.00 kB 447,840.00 kB 13 4,941.00 kB 363,649.50 kB 14 3,295.00 kB 295,195.50 kB 15 21,571.50 kB 241,546.00 kB 16 3,390.00 kB 197,950.00 kB 17 3,529.00 kB 161,011.00 kB 18 3,821.00 kB 131,115.50 kB 19 3,771.50 kB 106,939.00 kB 20 3,484.00 kB 87,278.00 kB 21 3,662.50 kB 71,391.50 kB 22 5,347.50 kB 58,793.50 kB 23 53,590.00 kB 56,022.00 kB Oct 24 00 23,304.00 kB 52,516.00 kB 01 1,545.00 kB 43,043.50 kB 02 1,666.50 kB 35,181.00 kB 03 30,901.50 kB 56,373.00 kB 04 1,587.50 kB 45,980.50 kB 05 26,485.00 kB 47,746.50 kB 06 3,897.50 kB 39,300.50 kB 07 6,360.50 kB 33,007.00 kB 08 2,121.50 kB 27,291.50 kB 09 7,381.50 kB 23,093.50 kB 10 3,688.50 kB 19,791.50 kB 11 2,925.00 kB 17,331.00 kB 12 203,905.67 kB 547,167.33 kB 13 4,470.50 kB 420,426.00 kB 14 3,929.00 kB 341,281.00 kB 15 3,581.50 kB 277,154.50 kB 16 12,897.00 kB 226,950.00 kB 17 3,883.50 kB 184,580.50 kB 18 3,753.00 kB 150,200.00 kB 19 26,432.50 kB 124,633.00 kB 20 3,864.50 kB 103,724.50 kB 21 3,887.50 kB 84,772.50 kB 22 3,698.50 kB 69,356.00 kB 23 4,796.00 kB 57,089.00 kB Oct 25 00 30,133.00 kB 51,831.00 kB 01 34,558.50 kB 63,575.00 kB 02 2,153.00 kB 51,900.50 kB 03 2,563.00 kB 44,623.00 kB 04 233,482.67 kB 627,501.33 kB 05 2,565.00 kB 481,696.00 kB 06 288,451.00 kB 530,644.00 kB 07 3,791.50 kB 431,227.50 kB 08 5,408.00 kB 350,156.50 kB 09 208,193.00 kB 392,291.50 kB 10 12,107.00 kB 319,247.50 kB 11 4,163.00 kB 260,121.00 kB 12 3,412.00 kB 211,430.50 kB 13 31,053.00 kB 174,593.50 kB 14 10,305.50 kB 145,967.00 kB 15 3,624.00 kB 118,892.50 kB 16 4,618.50 kB 97,120.00 kB 17 118,949.00 kB 221,708.00 kB 18 4,406.50 kB 180,434.00 kB 19 4,984.00 kB 147,087.00 kB 20 5,118.50 kB 120,077.00 kB 21 5,352.00 kB 98,299.00 kB 22 5,911.00 kB 80,740.50 kB 23 9,146.00 kB 66,798.00 kB Oct 26 00 47,552.00 kB 61,449.50 kB 01 2,633.50 kB 52,410.50 kB 02 335,669.00 kB 635,436.50 kB 03 8,388.00 kB 542,755.00 kB 04 191,638.33 kB 514,382.00 kB 05 4,387.50 kB 395,251.50 kB 06 4,520.00 kB 321,040.50 kB 07 3,747.50 kB 260,741.00 kB 08 3,826.50 kB 211,915.50 kB 09 4,165.50 kB 172,449.50 kB 10 4,408.50 kB 140,513.50 kB 11 10,564.00 kB 115,725.50 kB 12 4,193.50 kB 94,649.00 kB 13 4,217.50 kB 77,461.00 kB 14 3,579.00 kB 63,420.50 kB 15 4,218.50 kB 52,147.50 kB 16 3,615.00 kB 42,949.50 kB 17 3,591.50 kB 35,466.50 kB 18 4,218.00 kB 29,489.50 kB 19 3,556.00 kB 25,739.00 kB 20 4,317.00 kB 21,723.00 kB 21 7,629.00 kB 17,970.00 kB 22 4,129.00 kB 15,659.00 kB 23 4,221.50 kB 13,475.50 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 Oct 20 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Oct 21 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Oct 22 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Oct 23 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Oct 24 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Oct 25 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Oct 26 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 47.33 sec Highest CPU-cost vacuum
Table pub1.term_set_enrichment_agent
Database ctdprd51 - 2024-10-22 08:13:50 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 47.33 sec Highest CPU-cost vacuum
Table pub1.term_set_enrichment_agent
Database ctdprd51 - 2024-10-22 08:13:50 Date
Analyzes per table
Key values
- pubc.log_query (198) Main table analyzed (database ctdprd51)
- 208 analyzes Total
Vacuums per table
Key values
- pubc.log_query (75) Main table vacuumed on database ctdprd51
- 87 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 75 37 110,646 0 19,917 0 8,580 25,672 1,735 14,140,681 ctdprd51.pg_toast.pg_toast_2619 4 4 16,352 0 4,280 0 39,988 12,721 4,087 2,361,634 ctdprd51.pg_toast.pg_toast_486223 2 0 52 0 0 0 0 2 0 376 ctdprd51.pg_catalog.pg_statistic 2 2 1,339 0 258 0 37 802 235 1,021,861 ctdprd51.pub1.term_set_enrichment_agent 1 0 428,272 0 202,886 0 0 214,016 9 12,698,086 ctdprd51.pg_catalog.pg_class 1 1 280 0 65 0 0 136 61 286,906 ctdprd51.pub1.term_set_enrichment 1 0 8,705 0 4,068 0 0 4,314 1 262,945 ctdprd51.pub1.term_comp 1 0 181 0 45 0 0 41 2 16,182 Total 87 44 565,827 2,077 231,519 0 48,605 257,704 6,130 30,788,671 Tuples removed per table
Key values
- pg_toast.pg_toast_2619 (15690) Main table with removed tuples on database ctdprd51
- 17075 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pg_toast.pg_toast_2619 4 4 15,690 76,973 0 0 50,368 ctdprd51.pg_catalog.pg_statistic 2 2 935 4,884 0 0 580 ctdprd51.pubc.log_query 75 37 324 2,008,732 0 0 81,871 ctdprd51.pg_catalog.pg_class 1 1 126 1,794 0 0 61 ctdprd51.pub1.term_set_enrichment_agent 1 0 0 95,969,322 0 0 1,090,561 ctdprd51.pg_toast.pg_toast_486223 2 0 0 0 0 0 0 ctdprd51.pub1.term_set_enrichment 1 0 0 1,303,445 0 0 21,566 ctdprd51.pub1.term_comp 1 0 0 9,170 0 0 87 Total 87 44 17,075 99,374,320 0 0 1,245,094 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_agent 1 0 0 0 ctdprd51.pg_toast.pg_toast_2619 4 4 15690 0 ctdprd51.pg_toast.pg_toast_486223 2 0 0 0 ctdprd51.pg_catalog.pg_class 1 1 126 0 ctdprd51.pub1.term_set_enrichment 1 0 0 0 ctdprd51.pub1.term_comp 1 0 0 0 ctdprd51.pubc.log_query 75 37 324 0 ctdprd51.pg_catalog.pg_statistic 2 2 935 0 Total 87 44 17,075 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Oct 20 00 0 3 01 0 5 02 0 2 03 0 2 04 0 2 05 0 2 06 0 2 07 0 1 08 0 1 09 0 1 10 0 1 11 0 0 12 0 1 13 0 1 14 0 0 15 0 1 16 0 1 17 0 0 18 0 2 19 0 0 20 0 1 21 0 0 22 0 1 23 0 0 Oct 21 00 0 4 01 0 4 02 0 3 03 0 2 04 0 2 05 0 2 06 0 1 07 0 2 08 0 3 09 0 1 10 0 1 11 0 0 12 0 1 13 0 1 14 0 0 15 0 1 16 0 0 17 0 1 18 0 0 19 0 1 20 0 0 21 0 1 22 0 0 23 0 0 Oct 22 00 0 6 01 0 4 02 0 3 03 0 3 04 0 1 05 0 2 06 0 1 07 0 1 08 0 2 09 0 0 10 0 1 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 Oct 23 00 0 3 01 0 4 02 0 3 03 0 2 04 0 2 05 0 2 06 0 1 07 0 1 08 0 1 09 0 1 10 0 1 11 0 1 12 0 0 13 0 1 14 0 0 15 0 1 16 0 0 17 0 0 18 0 0 19 0 1 20 0 0 21 0 0 22 0 3 23 0 0 Oct 24 00 0 2 01 0 3 02 0 3 03 0 2 04 0 2 05 0 1 06 0 2 07 0 1 08 0 1 09 0 2 10 0 2 11 0 1 12 0 2 13 0 1 14 0 1 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 Oct 25 00 0 3 01 0 4 02 0 3 03 0 2 04 0 2 05 0 2 06 0 1 07 0 1 08 0 1 09 0 1 10 0 1 11 0 1 12 0 0 13 0 0 14 0 1 15 0 0 16 0 1 17 0 1 18 0 1 19 0 0 20 0 1 21 0 1 22 0 0 23 0 1 Oct 26 00 0 4 01 0 5 02 0 3 03 0 2 04 0 2 05 0 2 06 0 1 07 0 1 08 0 1 09 0 1 10 0 1 11 0 1 12 0 1 13 0 0 14 0 0 15 0 1 16 0 0 17 0 0 18 0 1 19 0 0 20 0 0 21 0 1 22 0 0 23 0 0 - 47.33 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- unknown Main Lock Type
- 0 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query NO DATASET
Queries that waited the most
Rank Wait time Query NO DATASET
-
Queries
Queries by type
Key values
- 7,569 Total read queries
- 355 Total write queries
Queries by database
Key values
- unknown Main database
- 5,069 Requests
- 7h48m46s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 11,311 Requests
User Request type Count Duration load Total 8 6m29s select 8 6m29s postgres Total 108 45m1s copy to 108 45m1s pubc Total 2 4s27ms select 2 4s27ms pubeu Total 6,103 4h50m45s cte 29 1m26s select 6,074 4h49m18s qaeu Total 82 3m21s cte 17 57s305ms select 65 2m23s unknown Total 11,311 17h43m21s copy to 700 6h41m21s cte 58 1m42s others 9 47s379ms select 10,544 10h59m30s Duration by user
Key values
- 17h43m21s (unknown) Main time consuming user
User Request type Count Duration load Total 8 6m29s select 8 6m29s postgres Total 108 45m1s copy to 108 45m1s pubc Total 2 4s27ms select 2 4s27ms pubeu Total 6,103 4h50m45s cte 29 1m26s select 6,074 4h49m18s qaeu Total 82 3m21s cte 17 57s305ms select 65 2m23s unknown Total 11,311 17h43m21s copy to 700 6h41m21s cte 58 1m42s others 9 47s379ms select 10,544 10h59m30s Queries by host
Key values
- unknown Main host
- 17,614 Requests
- 23h29m3s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 7,881 Requests
- 10h6m57s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2024-10-25 01:59:31 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 7,670 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 23m46s 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-10-26 19:00:44 ]
2 23m44s 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-10-26 19:43:21 ]
3 19m6s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-10-25 00:19:08 ]
4 18m56s /* * 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-10-23 00:18:57 ]
5 18m49s /* * 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-10-26 00:18:51 ]
6 18m39s /* * 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-10-22 00:18:41 ]
7 18m38s /* * 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-10-21 00:18:40 ]
8 18m37s /* * 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-10-24 00:18:39 ]
9 17m54s /* * 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-10-20 00:17:56 ]
10 6m56s COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;[ Date: 2024-10-26 19:12:36 ]
11 6m48s COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;[ Date: 2024-10-26 19:55:02 ]
12 4m40s 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 = '1235195') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-10-26 07:03:16 - Bind query: yes ]
13 2m27s SELECT distinct viaChemPTR.via_term_id, -- chem #015 viaGenePTR.via_term_id, -- gene #015 viaChemPTR.phenotype_id, -- phenotype #015 viaChemPTR.term_id -- disease #015 FROM pub1.PHENOTYPE_TERM_REFERENCE viaChemPTR # 015, pub1.PHENOTYPE_TERM_REFERENCE viaGenePTR # 015 WHERE viaChemPTR.term_id = viaGenePTR.term_id # 015 AND viaChemPTR.term_object_type_id = 3 # 015 AND viaChemPTR.phenotype_id = viaGenePTR.phenotype_id # 015 AND viaChemPTR.via_term_object_type_id = 2 # 015 AND viaGenePTR.via_term_object_type_id = 4 # 015;[ Date: 2024-10-22 14:48:05 - Bind query: yes ]
14 2m24s SELECT distinct viaChemPTR.via_term_id, -- chem #015 viaGenePTR.via_term_id, -- gene #015 viaChemPTR.phenotype_id, -- phenotype #015 viaChemPTR.term_id -- disease #015 FROM pub1.PHENOTYPE_TERM_REFERENCE viaChemPTR # 015, pub1.PHENOTYPE_TERM_REFERENCE viaGenePTR # 015 WHERE viaChemPTR.term_id = viaGenePTR.term_id # 015 AND viaChemPTR.term_object_type_id = 3 # 015 AND viaChemPTR.phenotype_id = viaGenePTR.phenotype_id # 015 AND viaChemPTR.via_term_object_type_id = 2 # 015 AND viaGenePTR.via_term_object_type_id = 4 # 015;[ Date: 2024-10-22 15:07:12 - Bind query: yes ]
15 2m23s SELECT distinct viaChemPTR.via_term_id, -- chem #015 viaGenePTR.via_term_id, -- gene #015 viaChemPTR.phenotype_id, -- phenotype #015 viaChemPTR.term_id -- disease #015 FROM pub1.PHENOTYPE_TERM_REFERENCE viaChemPTR # 015, pub1.PHENOTYPE_TERM_REFERENCE viaGenePTR # 015 WHERE viaChemPTR.term_id = viaGenePTR.term_id # 015 AND viaChemPTR.term_object_type_id = 3 # 015 AND viaChemPTR.phenotype_id = viaGenePTR.phenotype_id # 015 AND viaChemPTR.via_term_object_type_id = 2 # 015 AND viaGenePTR.via_term_object_type_id = 4 # 015;[ Date: 2024-10-22 15:39:42 - Bind query: yes ]
16 2m10s COPY pub2.term_set_enrichment_agent (term_ids_digest, enriched_object_type_id, enriched_term_id, agent_term_id) TO stdout;[ Date: 2024-10-26 19:57:38 ]
17 1m50s 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', '设置 & 创意组成方式 & 自定义 & 系统优选 & 程序化创意 & 创意内容 & 5/15 & 搜索视频 & 搜索商品卡 & 5 & 清空全部 & 创意1换图片 & 商品卡图片_20241024_10 & 23 & 37 & 商品卡标题 & 秋冬面霜推荐1111111 & 13/13 & 创意2换图片 & 商品卡图片_20241024_10 & 23 & 37_1 & 商品卡标题 & 秋冬面霜推荐1111111 & 13/13 & 创意3换图片 & 商品卡图片_20241024_10 & 23 & 37_2 & 商品卡标题 & 秋冬面霜推荐1111111 & 13/13 & 创意4换图片 & 商品卡图片_20241024_10 & 23 & 37_3 & 商品卡标题') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '设置 & 创意组成方式 & 自定义 & 系统优选 & 程序化创意 & 创意内容 & 5/15 & 搜索视频 & 搜索商品卡 & 5 & 清空全部 & 创意1换图片 & 商品卡图片_20241024_10 & 23 & 37 & 商品卡标题 & 秋冬面霜推荐1111111 & 13/13 &创意2换图片 & 商品卡图片_20241024_10 & 23 & 37_1 & 商品卡标题 & 秋冬面霜推荐1111111 & 13/13 & 创意3换图片 & 商品卡图片_20241024_10 & 23 & 37_2 & 商品卡标题 & 秋冬面霜推荐1111111 & 13/13 & 创意4换图片 & 商品卡图片_20241024_10 & 23 & 37_3 & 商品卡标题') 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 '设置' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '创意组成方式' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '自定义' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '系统优选' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '程序化创意' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '创意内容' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '5/15' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '搜索视频' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '搜索商品卡' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '5' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '清空全部' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '创意1换图片' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '商品卡图片_20241024_10' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '23' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '37' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '商品卡标题' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '秋冬面霜推荐1111111' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '13/13' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '创意2换图片' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '商品卡图片_20241024_10' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '23' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '37_1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '商品卡标题' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '秋冬面霜推荐1111111' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '13/13' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '创意3换图片' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '商品卡图片_20241024_10' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '23' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '37_2' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '商品卡标题' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '秋冬面霜推荐1111111' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '13/13' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '创意4换图片' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '商品卡图片_20241024_10' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '23' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '37_3' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '商品卡标题')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '设置' OR upper(l.acc_txt) LIKE '创意组成方式' OR upper(l.acc_txt) LIKE '自定义' OR upper(l.acc_txt) LIKE '系统优选' OR upper(l.acc_txt) LIKE '程序化创意' OR upper(l.acc_txt) LIKE '创意内容' OR upper(l.acc_txt) LIKE '5/15' OR upper(l.acc_txt) LIKE '搜索视频' OR upper(l.acc_txt) LIKE '搜索商品卡' OR upper(l.acc_txt) LIKE '5' OR upper(l.acc_txt) LIKE '清空全部' OR upper(l.acc_txt) LIKE '创意1换图片' OR upper(l.acc_txt) LIKE '商品卡图片_20241024_10' OR upper(l.acc_txt) LIKE '23' OR upper(l.acc_txt) LIKE '37' OR upper(l.acc_txt) LIKE '商品卡标题' OR upper(l.acc_txt) LIKE '秋冬面霜推荐1111111' OR upper(l.acc_txt) LIKE '13/13' OR upper(l.acc_txt) LIKE '创意2换图片' OR upper(l.acc_txt) LIKE '商品卡图片_20241024_10' OR upper(l.acc_txt) LIKE '23' OR upper(l.acc_txt) LIKE '37_1' OR upper(l.acc_txt) LIKE '商品卡标题' OR upper(l.acc_txt) LIKE '秋冬面霜推荐1111111' OR upper(l.acc_txt) LIKE '13/13' OR upper(l.acc_txt) LIKE '创意3换图片' OR upper(l.acc_txt) LIKE '商品卡图片_20241024_10' OR upper(l.acc_txt) LIKE '23' OR upper(l.acc_txt) LIKE '37_2' OR upper(l.acc_txt) LIKE '商品卡标题' OR upper(l.acc_txt) LIKE '秋冬面霜推荐1111111' OR upper(l.acc_txt) LIKE '13/13' OR upper(l.acc_txt) LIKE '创意4换图片' OR upper(l.acc_txt) LIKE '商品卡图片_20241024_10' OR upper(l.acc_txt) LIKE '23' OR upper(l.acc_txt) LIKE '37_3' OR upper(l.acc_txt) LIKE '商品卡标题')) ii GROUP BY ii.cd;[ Date: 2024-10-24 20:24:01 - Bind query: yes ]
18 1m36s COPY pub1.term_set_enrichment_agent (term_ids_digest, enriched_object_type_id, enriched_term_id, agent_term_id) TO stdout;[ Date: 2024-10-26 19:14:38 ]
19 1m33s 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', '1DM & 用户 & 所有者 & 版本 & 17.2 & 版本号 & 30245 & 数据库版本 & 67 & 种子 & 1.2.19.0 & SDK版本 & 34 & 制造商 & VIVO & 型号 & V2354A & ROM & PD2354_A_14.0.12.18.W10.V000L1 & 下载位置 & /STORAGE/EMULATED/0/DOWNLOAD & 应用主题 & 浅色 & 默认 & WEBVIEW & ANDROID & SYSTEM & WEBVIEW & COM.GOOGLE.ANDROID.WEBVIEW & 116.0.5845.92 & - & 584509233') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '1DM & 用户 & 所有者 & 版本 & 17.2 & 版本号 & 30245 & 数据库版本 & 67 & 种子 & 1.2.19.0 & SDK版本 & 34 & 制造商 & VIVO & 型号 & V2354A & ROM & PD2354_A_14.0.12.18.W10.V000L1 & 下载位置 & /STORAGE/EMULATED/0/DOWNLOAD & 应用主题 & 浅色 & 默认 & WEBVIEW & ANDROID & SYSTEM & WEBVIEW & COM.GOOGLE.ANDROID.WEBVIEW & 116.0.5845.92 & - & 584509233') 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 '1DM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '用户' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '所有者' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '版本' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '17.2' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '版本号' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '30245' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '数据库版本' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '67' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '种子' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '1.2.19.0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SDK版本' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '34' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '制造商' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VIVO' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '型号' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'V2354A' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'PD2354_A_14.0.12.18.W10.V000L1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '下载位置' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/STORAGE/EMULATED/0/DOWNLOAD' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '应用主题' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '浅色' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '默认' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WEBVIEW' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ANDROID' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SYSTEM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WEBVIEW' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COM.GOOGLE.ANDROID.WEBVIEW' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '116.0.5845.92' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '-' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '584509233')) 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 '1DM' OR upper(l.acc_txt) LIKE '用户' OR upper(l.acc_txt) LIKE '所有者' OR upper(l.acc_txt) LIKE '版本' OR upper(l.acc_txt) LIKE '17.2' OR upper(l.acc_txt) LIKE '版本号' OR upper(l.acc_txt) LIKE '30245' OR upper(l.acc_txt) LIKE '数据库版本' OR upper(l.acc_txt) LIKE '67' OR upper(l.acc_txt) LIKE '种子' OR upper(l.acc_txt) LIKE '1.2.19.0' OR upper(l.acc_txt) LIKE 'SDK版本' OR upper(l.acc_txt) LIKE '34' OR upper(l.acc_txt) LIKE '制造商' OR upper(l.acc_txt) LIKE 'VIVO' OR upper(l.acc_txt) LIKE '型号' OR upper(l.acc_txt) LIKE 'V2354A' OR upper(l.acc_txt) LIKE 'ROM' OR upper(l.acc_txt) LIKE 'PD2354_A_14.0.12.18.W10.V000L1' OR upper(l.acc_txt) LIKE '下载位置' OR upper(l.acc_txt) LIKE '/STORAGE/EMULATED/0/DOWNLOAD' OR upper(l.acc_txt) LIKE '应用主题' OR upper(l.acc_txt) LIKE '浅色' OR upper(l.acc_txt) LIKE '默认' OR upper(l.acc_txt) LIKE 'WEBVIEW' OR upper(l.acc_txt) LIKE 'ANDROID' OR upper(l.acc_txt) LIKE 'SYSTEM' OR upper(l.acc_txt) LIKE 'WEBVIEW' OR upper(l.acc_txt) LIKE 'COM.GOOGLE.ANDROID.WEBVIEW' OR upper(l.acc_txt) LIKE '116.0.5845.92' OR upper(l.acc_txt) LIKE '-' OR upper(l.acc_txt) LIKE '584509233')) ii GROUP BY ii.cd;[ Date: 2024-10-25 03:13:49 - Bind query: yes ]
20 1m29s COPY pub1.phenotype_term_reference (id, phenotype_id, term_id, term_object_type_id, reference_id, taxon_id, ixn_id, evidence_cd, source_cd, source_acc_txt, source_acc_db_id, term_reference_id, via_term_id, via_term_object_type_id, network_score, mod_tm) TO stdout;[ Date: 2024-10-26 19:03:46 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 2h10m41s 7 17m54s 19m6s 18m40s select maint_query_logs_archive ();Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Oct 20 00 1 17m54s 17m54s Oct 21 00 1 18m38s 18m38s Oct 22 00 1 18m39s 18m39s Oct 23 00 1 18m56s 18m56s Oct 24 00 1 18m37s 18m37s Oct 25 00 1 19m6s 19m6s Oct 26 00 1 18m49s 18m49s -
/* * 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-10-25 00:19:08 Duration: 19m6s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-10-23 00:18:57 Duration: 18m56s
-
/* * 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-10-26 00:18:51 Duration: 18m49s
2 49m40s 743 3s770ms 16s480ms 4s11ms select coalesce(st.alt_nm, t.nm) slimtermnm, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.curated_reference_qty > ?) curatedcount, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.indirect_gene_qty > ?) inferredcount from slim_term st inner join term t on st.slim_term_id = t.id where st.slim_id = ? order by ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Oct 20 01 2 7s804ms 3s902ms 03 3 11s794ms 3s931ms 05 1 4s569ms 4s569ms 09 1 3s858ms 3s858ms 10 2 7s853ms 3s926ms 11 8 31s460ms 3s932ms 12 1 3s845ms 3s845ms 13 4 16s282ms 4s70ms 14 1 3s922ms 3s922ms 15 1 3s868ms 3s868ms 16 4 15s702ms 3s925ms Oct 21 00 4 16s800ms 4s200ms 01 8 31s607ms 3s950ms 02 21 1m23s 3s973ms 03 14 56s981ms 4s70ms 04 44 2m54s 3s974ms 05 50 3m19s 3s983ms 06 21 1m24s 4s10ms 07 11 43s943ms 3s994ms 08 23 1m32s 4s24ms 09 4 16s807ms 4s201ms 10 8 31s796ms 3s974ms 11 1 4s194ms 4s194ms 13 2 8s239ms 4s119ms 14 1 3s976ms 3s976ms 15 2 8s50ms 4s25ms 16 1 3s858ms 3s858ms 17 5 19s666ms 3s933ms 20 2 8s5ms 4s2ms 21 1 4s87ms 4s87ms 22 1 16s480ms 16s480ms 23 5 20s270ms 4s54ms Oct 22 00 4 17s964ms 4s491ms 01 4 15s979ms 3s994ms 02 2 7s994ms 3s997ms 03 7 27s810ms 3s972ms 04 6 24s190ms 4s31ms 05 10 39s425ms 3s942ms 07 4 15s862ms 3s965ms 08 7 27s784ms 3s969ms 09 3 11s706ms 3s902ms 10 4 15s809ms 3s952ms 11 2 11s632ms 5s816ms 12 3 11s908ms 3s969ms 13 7 27s418ms 3s916ms 14 7 27s285ms 3s897ms 15 1 5s998ms 5s998ms 16 2 7s813ms 3s906ms 17 1 4s11ms 4s11ms 19 1 3s873ms 3s873ms 20 2 7s762ms 3s881ms 22 1 3s914ms 3s914ms 23 25 1m38s 3s951ms Oct 23 00 18 1m10s 3s934ms 01 3 11s991ms 3s997ms 03 7 28s356ms 4s50ms 04 92 6m7s 3s996ms 05 8 31s603ms 3s950ms 06 2 8s207ms 4s103ms 07 2 7s753ms 3s876ms 08 3 11s942ms 3s980ms 09 14 56s263ms 4s18ms 10 9 37s446ms 4s160ms 11 3 11s946ms 3s982ms 12 1 3s892ms 3s892ms 13 1 4s694ms 4s694ms 14 4 15s703ms 3s925ms 17 1 3s794ms 3s794ms 19 1 4s102ms 4s102ms 21 2 7s756ms 3s878ms 22 12 47s205ms 3s933ms 23 9 35s876ms 3s986ms Oct 24 00 12 46s694ms 3s891ms 01 1 3s947ms 3s947ms 02 3 12s854ms 4s284ms 03 4 15s757ms 3s939ms 04 2 7s892ms 3s946ms 05 1 3s941ms 3s941ms 07 4 16s72ms 4s18ms 09 3 12s65ms 4s21ms 10 5 20s845ms 4s169ms 11 5 19s767ms 3s953ms 14 2 8s149ms 4s74ms 16 2 7s973ms 3s986ms 17 6 24s581ms 4s96ms 21 2 7s838ms 3s919ms 22 5 20s294ms 4s58ms 23 2 7s867ms 3s933ms Oct 25 01 1 4s140ms 4s140ms 02 6 23s857ms 3s976ms 03 12 47s71ms 3s922ms 04 26 1m41s 3s887ms 05 4 16s278ms 4s69ms 06 24 1m36s 4s17ms 07 4 16s83ms 4s20ms 08 4 15s754ms 3s938ms 09 1 3s983ms 3s983ms 10 1 3s977ms 3s977ms 11 1 3s995ms 3s995ms 16 1 4s90ms 4s90ms 18 6 23s232ms 3s872ms 19 9 35s303ms 3s922ms 20 9 35s142ms 3s904ms 21 2 8s340ms 4s170ms 22 1 4s224ms 4s224ms 23 1 3s846ms 3s846ms Oct 26 00 1 3s971ms 3s971ms 01 1 3s827ms 3s827ms 02 1 3s878ms 3s878ms 04 1 3s987ms 3s987ms 07 3 11s982ms 3s994ms 09 1 3s825ms 3s825ms 10 1 4s23ms 4s23ms 11 1 3s986ms 3s986ms 12 3 11s866ms 3s955ms 14 1 3s855ms 3s855ms 18 1 4s4ms 4s4ms 21 3 11s799ms 3s933ms 22 1 3s973ms 3s973ms [ User: pubeu - Total duration: 20m1s - Times executed: 300 ]
-
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 = '1395038') 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 = '1395038') 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-10-21 22:24:32 Duration: 16s480ms 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 = '1412398') 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 = '1412398') 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-10-22 11:29:09 Duration: 6s495ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1263173') 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 = '1263173') 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-10-22 15:55:36 Duration: 5s998ms Database: ctdprd51 User: pubeu Bind query: yes
3 45m52s 802 1s 49s214ms 3s432ms select ? "Input", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( select string_agg(stm.slim_term_nm, ? order by stm.slim_term_nm) from slim_term_mapping stm where stm.mapped_term_id = d.id) "DiseaseCategories", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(distinct r.acc_txt, ?) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id where (d.id = ?) group by g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by d.nm_sort, g.nm, "DirectEvidence", c.nm;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Oct 22 04 1 17s59ms 17s59ms 19 1 17s440ms 17s440ms Oct 24 04 14 33s619ms 2s401ms 08 2 4s767ms 2s383ms 09 70 3m57s 3s399ms 10 131 8m10s 3s742ms 11 170 9m29s 3s347ms 12 165 7m54s 2s877ms 13 137 6m37s 2s899ms 14 111 8m30s 4s600ms [ User: pubeu - Total duration: 8m53s - Times executed: 170 ]
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'd056486' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2076812) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2024-10-24 14:30:30 Duration: 49s214ms Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'd056486' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2076812) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2024-10-24 10:18:48 Duration: 49s100ms Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'd056486' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2076812) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2024-10-24 14:28:29 Duration: 49s22ms Bind query: yes
4 23m46s 1 23m46s 23m46s 23m46s 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 Oct 26 19 1 23m46s 23m46s -
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-10-26 19:00:44 Duration: 23m46s
5 23m44s 1 23m44s 23m44s 23m44s 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 Oct 26 19 1 23m44s 23m44s -
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-10-26 19:43:21 Duration: 23m44s
6 23m27s 1,187 1s76ms 1s351ms 1s185ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where exposuremarkerterm.id = ? or receptorterm.id = ? group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Oct 20 00 5 5s854ms 1s170ms 01 20 23s668ms 1s183ms 02 1 1s138ms 1s138ms 03 12 14s340ms 1s195ms 04 14 16s556ms 1s182ms 05 24 29s46ms 1s210ms 06 7 8s124ms 1s160ms 07 7 8s185ms 1s169ms 08 9 10s664ms 1s184ms 09 15 17s793ms 1s186ms 10 14 16s554ms 1s182ms 11 17 20s211ms 1s188ms 12 13 15s394ms 1s184ms 13 9 10s728ms 1s192ms 14 7 8s277ms 1s182ms 15 10 11s834ms 1s183ms 16 10 11s761ms 1s176ms 17 9 10s474ms 1s163ms 18 8 9s570ms 1s196ms 19 7 8s333ms 1s190ms 20 6 7s110ms 1s185ms 21 4 4s767ms 1s191ms 22 16 18s888ms 1s180ms 23 7 8s243ms 1s177ms Oct 21 00 7 8s236ms 1s176ms 01 11 13s80ms 1s189ms 02 13 15s354ms 1s181ms 03 9 10s538ms 1s170ms 04 10 11s854ms 1s185ms 05 7 8s503ms 1s214ms 06 8 9s474ms 1s184ms 07 12 14s330ms 1s194ms 08 11 13s68ms 1s188ms 09 8 9s407ms 1s175ms 10 8 9s472ms 1s184ms 11 1 1s141ms 1s141ms 12 3 3s576ms 1s192ms 13 2 2s355ms 1s177ms 14 10 11s852ms 1s185ms 15 10 11s872ms 1s187ms 16 8 9s364ms 1s170ms 17 4 4s690ms 1s172ms 18 2 2s405ms 1s202ms 19 8 9s676ms 1s209ms 21 6 7s47ms 1s174ms 22 11 13s25ms 1s184ms 23 11 13s196ms 1s199ms Oct 22 00 3 3s640ms 1s213ms 01 7 8s419ms 1s202ms 02 8 9s465ms 1s183ms 03 6 7s181ms 1s196ms 04 15 17s681ms 1s178ms 05 6 7s221ms 1s203ms 06 3 3s600ms 1s200ms 07 11 12s993ms 1s181ms 08 4 4s816ms 1s204ms 09 4 4s674ms 1s168ms 10 5 6s167ms 1s233ms 11 4 4s892ms 1s223ms 12 2 2s390ms 1s195ms 13 6 7s30ms 1s171ms 14 7 8s30ms 1s147ms 15 6 6s912ms 1s152ms 16 10 11s773ms 1s177ms 17 5 5s884ms 1s176ms 18 6 7s79ms 1s179ms 19 8 9s540ms 1s192ms 20 5 5s976ms 1s195ms 21 5 5s962ms 1s192ms 22 5 5s995ms 1s199ms 23 3 3s501ms 1s167ms Oct 23 00 2 2s414ms 1s207ms 01 4 4s677ms 1s169ms 02 5 5s968ms 1s193ms 03 2 2s394ms 1s197ms 04 6 7s47ms 1s174ms 05 12 14s373ms 1s197ms 06 9 10s526ms 1s169ms 07 5 5s951ms 1s190ms 08 9 10s711ms 1s190ms 09 6 7s22ms 1s170ms 10 4 4s736ms 1s184ms 11 5 5s824ms 1s164ms 12 4 4s701ms 1s175ms 13 1 1s182ms 1s182ms 14 8 9s453ms 1s181ms 15 3 3s567ms 1s189ms 16 7 8s184ms 1s169ms 17 7 8s137ms 1s162ms 18 5 5s889ms 1s177ms 19 5 5s889ms 1s177ms 20 4 4s708ms 1s177ms 21 3 3s520ms 1s173ms 22 6 7s342ms 1s223ms 23 6 7s199ms 1s199ms Oct 24 00 1 1s238ms 1s238ms 01 4 4s776ms 1s194ms 02 7 8s327ms 1s189ms 03 8 9s452ms 1s181ms 04 3 3s553ms 1s184ms 05 12 14s361ms 1s196ms 06 8 9s572ms 1s196ms 07 5 5s842ms 1s168ms 08 9 10s622ms 1s180ms 09 8 9s472ms 1s184ms 10 6 6s940ms 1s156ms 11 12 14s88ms 1s174ms 12 13 15s191ms 1s168ms 13 5 5s859ms 1s171ms 14 3 3s454ms 1s151ms 15 6 7s83ms 1s180ms 16 7 8s335ms 1s190ms 17 14 16s565ms 1s183ms 18 6 7s62ms 1s177ms 19 2 2s364ms 1s182ms 20 6 7s324ms 1s220ms 21 2 2s414ms 1s207ms 22 8 9s580ms 1s197ms 23 7 8s206ms 1s172ms Oct 25 00 2 2s323ms 1s161ms 01 8 9s482ms 1s185ms 02 5 5s936ms 1s187ms 03 12 14s212ms 1s184ms 04 9 10s557ms 1s173ms 05 15 17s959ms 1s197ms 06 5 5s873ms 1s174ms 07 12 14s243ms 1s186ms 08 9 10s669ms 1s185ms 09 6 7s118ms 1s186ms 10 6 7s127ms 1s187ms 11 3 3s584ms 1s194ms 12 1 1s180ms 1s180ms 13 11 13s219ms 1s201ms 14 11 13s129ms 1s193ms 15 2 2s436ms 1s218ms 16 7 8s321ms 1s188ms 17 6 7s31ms 1s171ms 18 6 7s146ms 1s191ms 19 4 4s839ms 1s209ms 20 15 17s706ms 1s180ms 21 11 12s972ms 1s179ms 22 6 7s176ms 1s196ms 23 10 11s843ms 1s184ms Oct 26 00 8 9s455ms 1s181ms 01 6 7s250ms 1s208ms 02 7 8s250ms 1s178ms 03 8 9s626ms 1s203ms 04 6 7s260ms 1s210ms 05 6 7s428ms 1s238ms 06 2 2s390ms 1s195ms 07 6 7s186ms 1s197ms 08 7 8s411ms 1s201ms 09 5 5s957ms 1s191ms 10 6 7s121ms 1s186ms 11 9 10s645ms 1s182ms 12 5 5s921ms 1s184ms 13 10 11s980ms 1s198ms 14 8 9s636ms 1s204ms 15 6 7s164ms 1s194ms 16 4 4s705ms 1s176ms 17 3 3s569ms 1s189ms 18 4 4s730ms 1s182ms 19 5 5s619ms 1s123ms 20 9 10s45ms 1s116ms 21 2 2s193ms 1s96ms 22 5 6s105ms 1s221ms 23 3 3s544ms 1s181ms [ User: pubeu - Total duration: 9m32s - Times executed: 483 ]
-
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 = '2033757' or receptorTerm.id = '2033757' 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-10-20 05:59:56 Duration: 1s351ms 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 = '1454791' or receptorTerm.id = '1454791' 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-10-22 10:54:44 Duration: 1s347ms 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 = '2056295' or receptorTerm.id = '2056295' 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-10-23 22:00:26 Duration: 1s319ms Database: ctdprd51 User: pubeu Bind query: yes
7 21m51s 925 1s394ms 1s830ms 1s417ms 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 #7
Day Hour Count Duration Avg duration Oct 20 00 4 5s662ms 1s415ms 01 5 7s98ms 1s419ms 02 3 4s245ms 1s415ms 03 5 7s73ms 1s414ms 04 3 4s218ms 1s406ms 05 8 11s549ms 1s443ms 06 7 10s38ms 1s434ms 07 1 1s397ms 1s397ms 08 4 5s651ms 1s412ms 09 4 5s657ms 1s414ms 10 2 2s816ms 1s408ms 11 6 8s567ms 1s427ms 12 9 13s26ms 1s447ms 13 4 5s644ms 1s411ms 14 8 11s303ms 1s412ms 15 11 15s574ms 1s415ms 16 7 9s861ms 1s408ms 17 6 8s468ms 1s411ms 18 8 11s317ms 1s414ms 19 4 5s637ms 1s409ms 20 2 2s802ms 1s401ms 21 3 4s239ms 1s413ms 22 5 7s75ms 1s415ms 23 7 9s858ms 1s408ms Oct 21 00 6 8s497ms 1s416ms 01 9 12s880ms 1s431ms 02 6 8s482ms 1s413ms 03 4 5s905ms 1s476ms 04 4 5s671ms 1s417ms 05 4 5s648ms 1s412ms 06 8 11s307ms 1s413ms 07 6 8s431ms 1s405ms 08 6 8s472ms 1s412ms 09 4 5s668ms 1s417ms 10 10 14s103ms 1s410ms 11 1 1s505ms 1s505ms 12 8 11s290ms 1s411ms 13 3 4s244ms 1s414ms 14 4 5s796ms 1s449ms 15 7 9s884ms 1s412ms 16 5 7s75ms 1s415ms 17 7 10s36ms 1s433ms 18 4 5s675ms 1s418ms 20 9 12s771ms 1s419ms 21 8 11s315ms 1s414ms 22 6 8s471ms 1s411ms 23 8 11s437ms 1s429ms Oct 22 00 2 2s825ms 1s412ms 01 4 5s665ms 1s416ms 02 4 5s662ms 1s415ms 03 4 5s628ms 1s407ms 04 9 12s672ms 1s408ms 05 6 8s497ms 1s416ms 06 3 4s241ms 1s413ms 07 11 15s482ms 1s407ms 08 6 8s452ms 1s408ms 09 5 7s59ms 1s411ms 10 3 4s418ms 1s472ms 11 4 6s785ms 1s696ms 12 1 1s427ms 1s427ms 13 3 4s254ms 1s418ms 14 8 11s280ms 1s410ms 15 4 5s640ms 1s410ms 16 5 7s57ms 1s411ms 17 3 4s241ms 1s413ms 18 6 8s477ms 1s412ms 19 4 5s643ms 1s410ms 20 3 4s229ms 1s409ms 21 4 5s648ms 1s412ms 22 5 7s52ms 1s410ms 23 6 8s509ms 1s418ms Oct 23 00 4 5s658ms 1s414ms 01 7 9s860ms 1s408ms 02 2 2s793ms 1s396ms 03 1 1s409ms 1s409ms 04 7 10s6ms 1s429ms 05 7 9s851ms 1s407ms 06 4 5s657ms 1s414ms 07 7 9s893ms 1s413ms 08 12 16s980ms 1s415ms 09 10 14s221ms 1s422ms 10 9 12s839ms 1s426ms 11 7 9s898ms 1s414ms 12 7 10s67ms 1s438ms 13 6 8s438ms 1s406ms 14 3 4s217ms 1s405ms 15 5 7s40ms 1s408ms 16 6 8s547ms 1s424ms 17 6 8s446ms 1s407ms 18 5 7s48ms 1s409ms 19 7 9s969ms 1s424ms 20 5 7s59ms 1s411ms 21 3 4s235ms 1s411ms 22 9 12s699ms 1s411ms 23 8 11s296ms 1s412ms Oct 24 00 9 12s684ms 1s409ms 01 2 2s824ms 1s412ms 02 9 12s787ms 1s420ms 03 6 8s432ms 1s405ms 04 4 5s623ms 1s405ms 05 11 15s527ms 1s411ms 06 6 8s505ms 1s417ms 07 7 9s892ms 1s413ms 08 8 11s322ms 1s415ms 09 6 8s475ms 1s412ms 10 8 11s310ms 1s413ms 11 2 2s817ms 1s408ms 12 7 9s936ms 1s419ms 13 5 7s43ms 1s408ms 14 1 1s415ms 1s415ms 15 2 2s819ms 1s409ms 16 4 5s640ms 1s410ms 17 5 7s47ms 1s409ms 18 7 9s935ms 1s419ms 19 8 11s283ms 1s410ms 20 5 7s47ms 1s409ms 21 5 7s67ms 1s413ms 22 2 2s852ms 1s426ms 23 3 4s240ms 1s413ms Oct 25 00 3 4s265ms 1s421ms 01 6 8s458ms 1s409ms 02 3 4s215ms 1s405ms 03 7 9s873ms 1s410ms 04 1 1s406ms 1s406ms 05 8 11s365ms 1s420ms 06 10 14s120ms 1s412ms 07 2 2s942ms 1s471ms 08 9 12s697ms 1s410ms 09 6 8s573ms 1s428ms 10 3 4s229ms 1s409ms 11 4 5s636ms 1s409ms 12 5 7s80ms 1s416ms 13 7 9s894ms 1s413ms 14 6 8s492ms 1s415ms 15 6 8s475ms 1s412ms 16 3 4s279ms 1s426ms 17 6 8s475ms 1s412ms 18 2 2s827ms 1s413ms 19 2 2s810ms 1s405ms 20 5 7s150ms 1s430ms 21 6 8s501ms 1s416ms 22 4 5s645ms 1s411ms 23 5 7s58ms 1s411ms Oct 26 00 8 11s373ms 1s421ms 01 10 14s187ms 1s418ms 02 11 15s603ms 1s418ms 03 6 8s454ms 1s409ms 04 7 9s865ms 1s409ms 05 12 16s962ms 1s413ms 06 5 7s44ms 1s408ms 07 7 9s877ms 1s411ms 08 12 16s981ms 1s415ms 09 2 2s814ms 1s407ms 10 7 9s886ms 1s412ms 11 8 11s297ms 1s412ms 12 7 9s897ms 1s413ms 13 7 9s860ms 1s408ms 14 6 8s457ms 1s409ms 15 5 7s90ms 1s418ms 16 1 1s403ms 1s403ms 17 4 5s666ms 1s416ms 18 2 2s834ms 1s417ms 19 8 11s546ms 1s443ms 20 4 5s612ms 1s403ms 21 3 4s253ms 1s417ms 22 6 8s494ms 1s415ms 23 3 4s228ms 1s409ms [ User: pubeu - Total duration: 10m54s - Times executed: 461 ]
-
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-10-22 11:35:04 Duration: 1s830ms Database: ctdprd51 User: pubeu 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-10-22 11:32:28 Duration: 1s766ms Database: ctdprd51 User: pubeu 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-10-22 11:07:42 Duration: 1s641ms Database: ctdprd51 User: pubeu Bind query: yes
8 15m4s 25 35s155ms 36s963ms 36s160ms 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 #8
Day Hour Count Duration Avg duration Oct 20 06 1 35s331ms 35s331ms 10 1 35s480ms 35s480ms 14 1 35s374ms 35s374ms 18 1 35s155ms 35s155ms Oct 21 06 1 35s732ms 35s732ms 10 1 35s625ms 35s625ms 14 1 36s18ms 36s18ms 18 1 35s634ms 35s634ms Oct 22 06 1 36s81ms 36s81ms 10 1 36s5ms 36s5ms 14 1 36s67ms 36s67ms 18 1 36s157ms 36s157ms Oct 23 06 1 36s335ms 36s335ms 10 1 36s963ms 36s963ms 14 1 36s245ms 36s245ms 18 1 36s173ms 36s173ms Oct 24 06 1 36s440ms 36s440ms 10 1 36s582ms 36s582ms 14 1 36s663ms 36s663ms 18 1 36s423ms 36s423ms Oct 25 06 1 36s870ms 36s870ms 10 1 36s664ms 36s664ms 14 1 36s538ms 36s538ms 18 1 36s940ms 36s940ms Oct 26 19 1 36s516ms 36s516ms [ User: postgres - Total duration: 14m27s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 14m27s - 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-10-23 10:05:38 Duration: 36s963ms 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-10-25 18:05:39 Duration: 36s940ms 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-10-25 06:05:38 Duration: 36s870ms Database: ctdprd51 User: postgres Application: pg_dump
9 13m37s 454 1s3ms 6s888ms 1s799ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where associatedterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Oct 20 03 4 5s902ms 1s475ms 08 4 5s771ms 1s442ms 09 4 5s755ms 1s438ms 12 2 2s856ms 1s428ms Oct 21 03 4 5s831ms 1s457ms 09 4 5s657ms 1s414ms 11 3 19s715ms 6s571ms 14 16 23s368ms 1s460ms 15 9 14s603ms 1s622ms 16 8 11s486ms 1s435ms 17 4 5s739ms 1s434ms 18 27 1m4s 2s387ms 19 54 1m39s 1s847ms 20 36 1m5s 1s815ms 21 1 1s435ms 1s435ms 22 4 4s889ms 1s222ms 23 23 35s797ms 1s556ms Oct 22 00 42 1m7s 1s596ms 01 8 11s773ms 1s471ms 02 55 1m24s 1s542ms 18 11 20s658ms 1s878ms 19 1 1s732ms 1s732ms 20 11 16s917ms 1s537ms Oct 23 00 4 7s210ms 1s802ms 01 1 6s533ms 6s533ms 09 16 38s3ms 2s375ms 10 11 17s168ms 1s560ms 11 1 1s68ms 1s68ms 13 1 1s3ms 1s3ms 14 4 5s860ms 1s465ms Oct 24 02 4 5s799ms 1s449ms 03 4 7s104ms 1s776ms 10 8 11s893ms 1s486ms 11 5 6s937ms 1s387ms 14 4 7s212ms 1s803ms 17 1 6s402ms 6s402ms 18 2 12s930ms 6s465ms 19 1 1s80ms 1s80ms Oct 25 01 4 7s120ms 1s780ms 05 1 1s19ms 1s19ms 06 10 14s476ms 1s447ms 08 1 1s51ms 1s51ms 13 4 5s732ms 1s433ms Oct 26 08 2 7s519ms 3s759ms 09 12 22s629ms 1s885ms 10 2 13s96ms 6s548ms 11 7 14s319ms 2s45ms 13 4 5s755ms 1s438ms 20 1 1s70ms 1s70ms 23 4 5s705ms 1s426ms [ User: pubeu - Total duration: 4m59s - Times executed: 167 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1395038'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort;
Date: 2024-10-21 18:50:19 Duration: 6s888ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1395038'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort;
Date: 2024-10-21 18:50:19 Duration: 6s806ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1395038'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort;
Date: 2024-10-21 11:05:07 Duration: 6s624ms Bind query: yes
10 11m22s 41 1s802ms 52s55ms 16s647ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by gd.network_score nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Oct 20 06 1 17s565ms 17s565ms 09 1 17s128ms 17s128ms Oct 21 02 1 17s347ms 17s347ms 09 1 17s254ms 17s254ms 11 1 17s546ms 17s546ms Oct 22 02 2 8s939ms 4s469ms 09 1 16s750ms 16s750ms 17 1 17s305ms 17s305ms Oct 23 03 2 3s638ms 1s819ms 10 3 51s843ms 17s281ms 11 1 17s623ms 17s623ms 16 1 16s967ms 16s967ms 19 1 17s371ms 17s371ms Oct 24 07 1 15s509ms 15s509ms 11 1 15s514ms 15s514ms 12 1 15s494ms 15s494ms 17 1 15s500ms 15s500ms 22 1 16s144ms 16s144ms Oct 25 05 9 3m51s 25s669ms 14 1 16s687ms 16s687ms 17 1 16s941ms 16s941ms 18 1 16s826ms 16s826ms 23 1 1s811ms 1s811ms Oct 26 00 1 17s70ms 17s70ms 03 1 16s671ms 16s671ms 05 1 17s136ms 17s136ms 07 1 13s482ms 13s482ms 11 1 1s830ms 1s830ms 18 1 17s621ms 17s621ms [ User: pubeu - Total duration: 6m53s - Times executed: 20 ]
-
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 = '2084852') ORDER BY gd.network_score NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-10-25 05:01:31 Duration: 52s55ms 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 = '2084852') ORDER BY gd.network_score NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-10-25 05:01:29 Duration: 50s493ms 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 = '2084852') ORDER BY gd.network_score NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-10-25 05:01:31 Duration: 49s216ms Database: ctdprd51 User: pubeu Bind query: yes
11 11m11s 95 1s69ms 1m6s 7s71ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Oct 20 01 2 16s792ms 8s396ms 05 1 1s69ms 1s69ms 06 1 1s952ms 1s952ms 07 1 2s153ms 2s153ms 10 1 14s224ms 14s224ms 12 1 14s766ms 14s766ms 22 2 3s105ms 1s552ms Oct 21 02 1 1s70ms 1s70ms 03 5 17s153ms 3s430ms 04 1 2s119ms 2s119ms 07 1 2s 2s 13 2 25s198ms 12s599ms 14 8 5m5s 38s143ms 17 1 1s448ms 1s448ms 20 10 33s495ms 3s349ms Oct 22 04 1 2s99ms 2s99ms 16 1 2s19ms 2s19ms 20 1 4s501ms 4s501ms Oct 23 03 1 1s498ms 1s498ms 04 17 27s61ms 1s591ms 07 2 3s900ms 1s950ms 10 6 1m54s 19s66ms 14 1 1s889ms 1s889ms 15 1 1s896ms 1s896ms 16 1 1s978ms 1s978ms 20 1 11s457ms 11s457ms Oct 24 01 3 5s265ms 1s755ms 14 1 2s212ms 2s212ms 15 1 1s939ms 1s939ms 20 1 3s75ms 3s75ms 22 3 6s466ms 2s155ms Oct 25 03 1 2s15ms 2s15ms 05 1 13s217ms 13s217ms 14 2 3s805ms 1s902ms 17 1 2s93ms 2s93ms 18 1 3s719ms 3s719ms 23 1 1s176ms 1s176ms Oct 26 06 7 10s874ms 1s553ms 22 1 1s564ms 1s564ms [ User: pubeu - Total duration: 6m50s - Times executed: 50 ]
-
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 = '2075804') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-10-21 14:34:24 Duration: 1m6s 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 = '2075804') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-10-21 14:19:17 Duration: 1m6s 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 = '2075804') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-10-21 14:58:46 Duration: 1m5s Database: ctdprd51 User: pubeu Bind query: yes
12 10m39s 82 1s61ms 23s369ms 7s797ms select sq.*, count(*) over () fullrowcount from ( select distinct gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid from dag_node gt inner join gene_go_annot gga on gt.object_id = gga.go_term_id inner join term g on gga.gene_id = g.id where gt.id in ( select p.descendant_dag_node_id from dag_path p where p.ancestor_object_id = ?) and gga.is_not = false) sq order by sq.gonmsort, sq.genesymbolsort;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Oct 20 12 4 35s610ms 8s902ms Oct 21 01 4 35s104ms 8s776ms 02 4 34s936ms 8s734ms 03 4 36s60ms 9s15ms 12 1 1s332ms 1s332ms Oct 22 11 1 1s72ms 1s72ms 12 1 1s61ms 1s61ms 14 4 35s85ms 8s771ms Oct 23 03 1 1s70ms 1s70ms 08 5 58s767ms 11s753ms 15 3 26s657ms 8s885ms 16 4 35s105ms 8s776ms Oct 24 03 4 35s232ms 8s808ms 07 4 34s977ms 8s744ms 18 4 6s124ms 1s531ms Oct 25 02 1 1s79ms 1s79ms 03 4 35s445ms 8s861ms 09 4 5s265ms 1s316ms 17 8 1m11s 8s895ms Oct 26 00 4 34s646ms 8s661ms 14 8 1m11s 8s906ms 15 1 7s205ms 7s205ms 17 4 35s163ms 8s790ms [ User: pubeu - Total duration: 3m44s - Times executed: 26 ]
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1217863') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort;
Date: 2024-10-23 08:20:09 Duration: 23s369ms Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1259602') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort;
Date: 2024-10-21 03:57:33 Duration: 9s245ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1259602') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort;
Date: 2024-10-26 14:15:55 Duration: 9s202ms Database: ctdprd51 User: pubeu Bind query: yes
13 10m26s 139 1s4ms 6s211ms 4s503ms select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Oct 20 00 1 1s32ms 1s32ms 01 1 5s116ms 5s116ms 04 2 6s257ms 3s128ms 05 1 5s186ms 5s186ms 09 1 5s632ms 5s632ms 10 7 37s321ms 5s331ms 11 1 1s13ms 1s13ms 13 2 10s425ms 5s212ms 15 1 5s345ms 5s345ms 22 2 2s35ms 1s17ms 23 3 15s692ms 5s230ms Oct 21 00 1 5s293ms 5s293ms 03 4 18s236ms 4s559ms 07 1 6s101ms 6s101ms 09 1 1s36ms 1s36ms 11 3 11s502ms 3s834ms 13 2 10s992ms 5s496ms 16 1 1s35ms 1s35ms 17 2 10s629ms 5s314ms 18 4 23s310ms 5s827ms 19 1 1s24ms 1s24ms Oct 22 02 1 1s261ms 1s261ms 03 1 1s30ms 1s30ms 06 2 10s734ms 5s367ms 07 2 6s298ms 3s149ms 08 2 6s389ms 3s194ms 09 4 21s49ms 5s262ms 15 1 1s14ms 1s14ms 23 1 5s142ms 5s142ms Oct 23 02 4 21s173ms 5s293ms 04 1 5s296ms 5s296ms 05 1 1s56ms 1s56ms 06 3 16s195ms 5s398ms 07 1 1s16ms 1s16ms 08 5 26s704ms 5s340ms 09 1 5s378ms 5s378ms 11 2 11s203ms 5s601ms 13 1 1s32ms 1s32ms 14 1 1s30ms 1s30ms 17 1 5s289ms 5s289ms 19 2 10s696ms 5s348ms 23 2 6s73ms 3s36ms Oct 24 02 2 10s431ms 5s215ms 07 1 5s629ms 5s629ms 08 1 5s311ms 5s311ms 09 2 10s698ms 5s349ms 17 1 5s528ms 5s528ms 22 3 16s696ms 5s565ms Oct 25 00 1 5s226ms 5s226ms 04 3 11s476ms 3s825ms 07 9 49s73ms 5s452ms 08 1 1s14ms 1s14ms 09 2 6s307ms 3s153ms 10 1 1s14ms 1s14ms 12 4 16s713ms 4s178ms 13 1 1s33ms 1s33ms 16 1 5s335ms 5s335ms 17 1 1s40ms 1s40ms 21 9 48s69ms 5s341ms 22 2 10s755ms 5s377ms 23 1 5s314ms 5s314ms Oct 26 00 1 5s242ms 5s242ms 07 1 1s11ms 1s11ms 10 1 5s317ms 5s317ms 12 3 16s492ms 5s497ms 15 1 5s306ms 5s306ms 19 1 5s315ms 5s315ms 21 4 21s367ms 5s341ms [ User: pubeu - Total duration: 4m7s - Times executed: 55 ]
-
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 = '1424337' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-10-21 18:34:50 Duration: 6s211ms 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 = '1424337' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-10-21 18:34:44 Duration: 6s196ms 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 = '1271565' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-10-21 07:14:58 Duration: 6s101ms Bind query: yes
14 8m55s 16 1s617ms 58s921ms 33s458ms select ? "Input", c.nm "ChemicalName", c.acc_txt "ChemicalID", c.secondary_nm "CasRN", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", ( select string_agg(stm.slim_term_nm, ? order by stm.slim_term_nm) from slim_term_mapping stm where stm.mapped_term_id = d.id) "DiseaseCategories", string_agg(cdr.source_acc_txt, ? order by cdr.source_acc_txt) "OmimIDs", string_agg(distinct r.acc_txt, ?) "PubMedIDs", case when cdr.via_gene_id is null then ( select string_agg(a.action_type_nm, ?) from chem_disease_axn a where a.chem_id = cdr.chem_id and a.disease_id = cdr.disease_id) else null end "DirectEvidence", g.nm "InferenceGeneSymbol", cdr.network_score "InferenceScore" from chem_disease_reference cdr inner join term c on cdr.chem_id = c.id inner join term d on cdr.disease_id = d.id left outer join reference r on cdr.reference_id = r.id left outer join term g on cdr.via_gene_id = g.id where cdr.chem_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) group by c.nm, c.nm_sort, c.acc_txt, c.secondary_nm, d.id, d.nm, d.nm_sort, d.acc_txt, d.acc_db_cd, g.nm, case when cdr.via_gene_id is null then ( select string_agg(a.action_type_nm, ?) from chem_disease_axn a where a.chem_id = cdr.chem_id and a.disease_id = cdr.disease_id) else null end, g.nm, cdr.network_score order by c.nm_sort, d.nm_sort, "DirectEvidence", g.nm;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Oct 22 03 10 5m56s 35s621ms 04 2 59s467ms 29s733ms Oct 23 23 4 1m59s 29s914ms [ User: pubeu - Total duration: 3m4s - Times executed: 9 ]
-
SELECT /* BatchChemDiseaseAssnsDAO */ 'organic chemicals' "Input", c.nm "ChemicalName", c.acc_txt "ChemicalID", c.secondary_nm "CasRN", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", STRING_AGG(cdr.source_acc_txt, '|' ORDER BY cdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs", CASE WHEN cdr.via_gene_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cdr.chem_id AND a.disease_id = cdr.disease_id) ELSE NULL END "DirectEvidence", g.nm "InferenceGeneSymbol", cdr.network_score "InferenceScore" FROM chem_disease_reference cdr INNER JOIN term c ON cdr.chem_id = c.id INNER JOIN term d ON cdr.disease_id = d.id LEFT OUTER JOIN reference r ON cdr.reference_id = r.id LEFT OUTER JOIN term g ON cdr.via_gene_id = g.id WHERE cdr.chem_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 1395038) GROUP BY c.nm, c.nm_sort, c.acc_txt, c.secondary_nm, d.id, d.nm, d.nm_sort, d.acc_txt, d.acc_db_cd, g.nm, CASE WHEN cdr.via_gene_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cdr.chem_id AND a.disease_id = cdr.disease_id) ELSE NULL END, g.nm, cdr.network_score ORDER BY c.nm_sort, d.nm_sort, "DirectEvidence", g.nm;
Date: 2024-10-22 03:43:35 Duration: 58s921ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchChemDiseaseAssnsDAO */ 'organic chemicals' "Input", c.nm "ChemicalName", c.acc_txt "ChemicalID", c.secondary_nm "CasRN", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", STRING_AGG(cdr.source_acc_txt, '|' ORDER BY cdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs", CASE WHEN cdr.via_gene_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cdr.chem_id AND a.disease_id = cdr.disease_id) ELSE NULL END "DirectEvidence", g.nm "InferenceGeneSymbol", cdr.network_score "InferenceScore" FROM chem_disease_reference cdr INNER JOIN term c ON cdr.chem_id = c.id INNER JOIN term d ON cdr.disease_id = d.id LEFT OUTER JOIN reference r ON cdr.reference_id = r.id LEFT OUTER JOIN term g ON cdr.via_gene_id = g.id WHERE cdr.chem_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 1395038) GROUP BY c.nm, c.nm_sort, c.acc_txt, c.secondary_nm, d.id, d.nm, d.nm_sort, d.acc_txt, d.acc_db_cd, g.nm, CASE WHEN cdr.via_gene_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cdr.chem_id AND a.disease_id = cdr.disease_id) ELSE NULL END, g.nm, cdr.network_score ORDER BY c.nm_sort, d.nm_sort, "DirectEvidence", g.nm;
Date: 2024-10-22 03:41:52 Duration: 58s496ms Bind query: yes
-
SELECT /* BatchChemDiseaseAssnsDAO */ 'organic chemicals' "Input", c.nm "ChemicalName", c.acc_txt "ChemicalID", c.secondary_nm "CasRN", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", STRING_AGG(cdr.source_acc_txt, '|' ORDER BY cdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs", CASE WHEN cdr.via_gene_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cdr.chem_id AND a.disease_id = cdr.disease_id) ELSE NULL END "DirectEvidence", g.nm "InferenceGeneSymbol", cdr.network_score "InferenceScore" FROM chem_disease_reference cdr INNER JOIN term c ON cdr.chem_id = c.id INNER JOIN term d ON cdr.disease_id = d.id LEFT OUTER JOIN reference r ON cdr.reference_id = r.id LEFT OUTER JOIN term g ON cdr.via_gene_id = g.id WHERE cdr.chem_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 1395038) GROUP BY c.nm, c.nm_sort, c.acc_txt, c.secondary_nm, d.id, d.nm, d.nm_sort, d.acc_txt, d.acc_db_cd, g.nm, CASE WHEN cdr.via_gene_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cdr.chem_id AND a.disease_id = cdr.disease_id) ELSE NULL END, g.nm, cdr.network_score ORDER BY c.nm_sort, d.nm_sort, "DirectEvidence", g.nm;
Date: 2024-10-22 03:47:13 Duration: 58s427ms Bind query: yes
15 7m35s 34 1s15ms 16s105ms 13s407ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Oct 20 06 1 15s58ms 15s58ms 09 1 15s778ms 15s778ms Oct 21 00 1 1s15ms 1s15ms 02 1 15s140ms 15s140ms 09 1 12s744ms 12s744ms 11 1 15s162ms 15s162ms 15 1 12s506ms 12s506ms 23 1 15s266ms 15s266ms Oct 22 00 1 15s291ms 15s291ms 09 1 15s166ms 15s166ms 17 1 15s207ms 15s207ms 18 1 15s185ms 15s185ms Oct 23 10 2 29s295ms 14s647ms 11 1 15s258ms 15s258ms 19 1 15s734ms 15s734ms Oct 24 03 1 15s271ms 15s271ms 07 3 20s369ms 6s789ms 11 1 13s797ms 13s797ms 12 1 14s805ms 14s805ms 14 1 14s646ms 14s646ms 17 1 14s937ms 14s937ms 22 1 13s159ms 13s159ms Oct 25 05 1 4s412ms 4s412ms 14 1 14s771ms 14s771ms 17 1 16s16ms 16s16ms 18 1 14s924ms 14s924ms Oct 26 05 1 14s595ms 14s595ms 08 1 14s976ms 14s976ms 18 1 14s973ms 14s973ms 20 2 30s379ms 15s189ms [ User: pubeu - Total duration: 3m12s - Times executed: 14 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2085976') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-10-24 07:33:17 Duration: 16s105ms 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 = '2086663') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-10-25 17:42:26 Duration: 16s16ms 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 = '2080716') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-10-20 09:17:15 Duration: 15s778ms Database: ctdprd51 User: pubeu Bind query: yes
16 7m31s 117 1s23ms 12s675ms 3s855ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Oct 20 04 2 12s159ms 6s79ms 05 1 1s43ms 1s43ms 07 2 2s89ms 1s44ms 09 4 25s801ms 6s450ms 10 1 2s643ms 2s643ms 11 1 1s224ms 1s224ms 12 1 1s67ms 1s67ms 16 1 10s297ms 10s297ms 17 1 1s37ms 1s37ms 18 1 11s811ms 11s811ms 21 1 11s626ms 11s626ms 23 2 4s322ms 2s161ms Oct 21 00 1 10s183ms 10s183ms 06 4 25s401ms 6s350ms 07 2 6s78ms 3s39ms 09 2 6s171ms 3s85ms 11 1 4s911ms 4s911ms 12 1 2s646ms 2s646ms 13 4 17s232ms 4s308ms 14 3 9s200ms 3s66ms 16 2 3s111ms 1s555ms 17 1 1s30ms 1s30ms 20 1 1s202ms 1s202ms 23 1 11s760ms 11s760ms Oct 22 00 1 1s311ms 1s311ms 02 1 1s66ms 1s66ms 04 2 3s682ms 1s841ms 13 1 1s53ms 1s53ms 15 2 11s592ms 5s796ms 16 1 1s316ms 1s316ms 18 1 1s549ms 1s549ms 22 3 12s578ms 4s192ms Oct 23 02 1 1s23ms 1s23ms 06 1 2s575ms 2s575ms 09 4 16s741ms 4s185ms 10 1 10s565ms 10s565ms 11 2 15s363ms 7s681ms 13 3 7s979ms 2s659ms 14 2 3s490ms 1s745ms 17 1 2s728ms 2s728ms 20 1 10s488ms 10s488ms 21 1 2s169ms 2s169ms 22 1 1s205ms 1s205ms Oct 24 01 3 7s916ms 2s638ms 03 1 1s205ms 1s205ms 05 3 6s250ms 2s83ms 07 1 2s617ms 2s617ms 09 1 10s430ms 10s430ms 11 2 4s279ms 2s139ms 14 3 26s677ms 8s892ms 17 1 10s483ms 10s483ms 19 1 6s627ms 6s627ms 20 1 1s264ms 1s264ms 22 1 2s786ms 2s786ms 23 1 2s70ms 2s70ms Oct 25 06 1 1s99ms 1s99ms 07 1 2s708ms 2s708ms 08 5 20s590ms 4s118ms 09 1 4s261ms 4s261ms 10 1 1s359ms 1s359ms 14 2 15s736ms 7s868ms 18 2 2s609ms 1s304ms 19 1 2s692ms 2s692ms 20 1 1s278ms 1s278ms Oct 26 03 3 5s77ms 1s692ms 05 2 4s620ms 2s310ms 06 1 1s386ms 1s386ms 07 1 4s650ms 4s650ms 09 2 3s973ms 1s986ms 13 1 1s143ms 1s143ms 14 1 1s255ms 1s255ms 16 1 1s490ms 1s490ms [ User: pubeu - Total duration: 3m20s - Times executed: 53 ]
-
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 = '2081060') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-10-24 14:48:42 Duration: 12s675ms 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 = '2081060') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-10-24 14:48:48 Duration: 12s664ms 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 = '2081060') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-10-20 18:57:19 Duration: 11s811ms Bind query: yes
17 7m18s 372 1s82ms 1s298ms 1s178ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where exposuremarkerterm.id = ? or receptorterm.id = ? group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Oct 20 00 5 5s957ms 1s191ms 01 4 4s698ms 1s174ms 02 1 1s191ms 1s191ms 03 1 1s179ms 1s179ms 04 1 1s138ms 1s138ms 05 1 1s124ms 1s124ms 08 1 1s199ms 1s199ms 10 3 3s524ms 1s174ms 11 1 1s168ms 1s168ms 12 4 4s775ms 1s193ms 13 4 4s631ms 1s157ms 16 1 1s199ms 1s199ms 17 8 9s457ms 1s182ms 18 6 7s201ms 1s200ms 20 2 2s385ms 1s192ms 21 3 3s501ms 1s167ms 23 4 4s674ms 1s168ms Oct 21 00 1 1s167ms 1s167ms 01 7 8s307ms 1s186ms 02 7 8s392ms 1s198ms 03 6 6s979ms 1s163ms 04 1 1s170ms 1s170ms 05 5 5s989ms 1s197ms 07 1 1s206ms 1s206ms 08 6 7s120ms 1s186ms 10 1 1s125ms 1s125ms 11 2 2s344ms 1s172ms 12 2 2s364ms 1s182ms 14 4 4s663ms 1s165ms 16 10 11s751ms 1s175ms 17 4 4s588ms 1s147ms 21 1 1s198ms 1s198ms 22 2 2s360ms 1s180ms 23 11 13s61ms 1s187ms Oct 22 01 2 2s335ms 1s167ms 03 4 4s674ms 1s168ms 04 5 5s980ms 1s196ms 05 1 1s209ms 1s209ms 06 5 5s763ms 1s152ms 08 1 1s199ms 1s199ms 09 2 2s410ms 1s205ms 11 2 2s498ms 1s249ms 13 4 4s697ms 1s174ms 14 3 3s444ms 1s148ms 15 1 1s210ms 1s210ms 16 4 4s735ms 1s183ms 18 4 4s689ms 1s172ms 19 11 13s63ms 1s187ms 20 2 2s343ms 1s171ms Oct 23 01 1 1s196ms 1s196ms 02 1 1s206ms 1s206ms 04 4 4s708ms 1s177ms 05 5 5s898ms 1s179ms 06 2 2s351ms 1s175ms 07 2 2s385ms 1s192ms 09 1 1s172ms 1s172ms 10 1 1s174ms 1s174ms 11 4 4s558ms 1s139ms 14 2 2s366ms 1s183ms 15 3 3s539ms 1s179ms 16 3 3s472ms 1s157ms 17 1 1s135ms 1s135ms 18 2 2s345ms 1s172ms 19 1 1s179ms 1s179ms 22 4 4s832ms 1s208ms 23 4 4s703ms 1s175ms Oct 24 00 4 4s699ms 1s174ms 03 4 4s795ms 1s198ms 05 3 3s528ms 1s176ms 06 2 2s331ms 1s165ms 07 5 5s967ms 1s193ms 09 1 1s139ms 1s139ms 10 3 3s434ms 1s144ms 11 1 1s160ms 1s160ms 12 1 1s172ms 1s172ms 13 5 5s769ms 1s153ms 16 3 3s503ms 1s167ms 17 3 3s586ms 1s195ms 18 2 2s370ms 1s185ms 19 1 1s197ms 1s197ms 20 4 4s764ms 1s191ms 21 1 1s211ms 1s211ms 23 9 10s537ms 1s170ms Oct 25 01 2 2s328ms 1s164ms 02 2 2s284ms 1s142ms 03 2 2s352ms 1s176ms 05 8 9s358ms 1s169ms 06 3 3s552ms 1s184ms 07 6 7s127ms 1s187ms 08 1 1s183ms 1s183ms 09 2 2s380ms 1s190ms 10 2 2s352ms 1s176ms 12 2 2s395ms 1s197ms 13 2 2s389ms 1s194ms 14 5 5s921ms 1s184ms 15 2 2s368ms 1s184ms 16 2 2s385ms 1s192ms 17 1 1s213ms 1s213ms 18 4 4s753ms 1s188ms 19 1 1s194ms 1s194ms 20 4 4s718ms 1s179ms 21 3 3s536ms 1s178ms 22 8 9s315ms 1s164ms 23 2 2s363ms 1s181ms Oct 26 00 1 1s152ms 1s152ms 01 4 4s784ms 1s196ms 02 3 3s575ms 1s191ms 03 2 2s309ms 1s154ms 05 1 1s209ms 1s209ms 06 1 1s178ms 1s178ms 07 5 5s910ms 1s182ms 08 1 1s178ms 1s178ms 10 4 4s754ms 1s188ms 11 1 1s196ms 1s196ms 12 1 1s194ms 1s194ms 13 3 3s585ms 1s195ms 15 3 3s605ms 1s201ms 16 1 1s169ms 1s169ms 18 1 1s137ms 1s137ms 19 1 1s119ms 1s119ms 20 7 7s788ms 1s112ms 22 3 3s543ms 1s181ms [ User: pubeu - Total duration: 47s154ms - Times executed: 40 ]
-
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 = '1471115' or receptorTerm.id = '1471115' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort;
Date: 2024-10-22 11:21:43 Duration: 1s298ms 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 = '1613417' or receptorTerm.id = '1613417' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort;
Date: 2024-10-24 03:47:54 Duration: 1s236ms 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 = '1469091' or receptorTerm.id = '1469091' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort;
Date: 2024-10-25 09:12:39 Duration: 1s232ms Bind query: yes
18 7m15s 3 2m23s 2m27s 2m25s select distinct viachemptr.via_term_id, viageneptr.via_term_id, viachemptr.phenotype_id, viachemptr.term_id from pub1.phenotype_term_reference viachemptr # ?, pub1.phenotype_term_reference viageneptr # ? where viachemptr.term_id = viageneptr.term_id # ? and viachemptr.term_object_type_id = ? # ? and viachemptr.phenotype_id = viageneptr.phenotype_id # ? and viachemptr.via_term_object_type_id = ? # ? and viageneptr.via_term_object_type_id = ? # ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Oct 22 14 1 2m27s 2m27s 15 2 4m47s 2m23s -
SELECT distinct viaChemPTR.via_term_id, -- chem #015 viaGenePTR.via_term_id, -- gene #015 viaChemPTR.phenotype_id, -- phenotype #015 viaChemPTR.term_id -- disease #015 FROM pub1.PHENOTYPE_TERM_REFERENCE viaChemPTR # 015, pub1.PHENOTYPE_TERM_REFERENCE viaGenePTR # 015 WHERE viaChemPTR.term_id = viaGenePTR.term_id # 015 AND viaChemPTR.term_object_type_id = 3 # 015 AND viaChemPTR.phenotype_id = viaGenePTR.phenotype_id # 015 AND viaChemPTR.via_term_object_type_id = 2 # 015 AND viaGenePTR.via_term_object_type_id = 4 # 015;
Date: 2024-10-22 14:48:05 Duration: 2m27s Bind query: yes
-
SELECT distinct viaChemPTR.via_term_id, -- chem #015 viaGenePTR.via_term_id, -- gene #015 viaChemPTR.phenotype_id, -- phenotype #015 viaChemPTR.term_id -- disease #015 FROM pub1.PHENOTYPE_TERM_REFERENCE viaChemPTR # 015, pub1.PHENOTYPE_TERM_REFERENCE viaGenePTR # 015 WHERE viaChemPTR.term_id = viaGenePTR.term_id # 015 AND viaChemPTR.term_object_type_id = 3 # 015 AND viaChemPTR.phenotype_id = viaGenePTR.phenotype_id # 015 AND viaChemPTR.via_term_object_type_id = 2 # 015 AND viaGenePTR.via_term_object_type_id = 4 # 015;
Date: 2024-10-22 15:07:12 Duration: 2m24s Bind query: yes
-
SELECT distinct viaChemPTR.via_term_id, -- chem #015 viaGenePTR.via_term_id, -- gene #015 viaChemPTR.phenotype_id, -- phenotype #015 viaChemPTR.term_id -- disease #015 FROM pub1.PHENOTYPE_TERM_REFERENCE viaChemPTR # 015, pub1.PHENOTYPE_TERM_REFERENCE viaGenePTR # 015 WHERE viaChemPTR.term_id = viaGenePTR.term_id # 015 AND viaChemPTR.term_object_type_id = 3 # 015 AND viaChemPTR.phenotype_id = viaGenePTR.phenotype_id # 015 AND viaChemPTR.via_term_object_type_id = 2 # 015 AND viaGenePTR.via_term_object_type_id = 4 # 015;
Date: 2024-10-22 15:39:42 Duration: 2m23s Bind query: yes
19 6m56s 1 6m56s 6m56s 6m56s copy pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Oct 26 19 1 6m56s 6m56s -
COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-10-26 19:12:36 Duration: 6m56s
20 6m48s 1 6m48s 6m48s 6m48s copy pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Oct 26 19 1 6m48s 6m48s -
COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-10-26 19:55:02 Duration: 6m48s
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 1,187 23m27s 1s76ms 1s351ms 1s185ms 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 Oct 20 00 5 5s854ms 1s170ms 01 20 23s668ms 1s183ms 02 1 1s138ms 1s138ms 03 12 14s340ms 1s195ms 04 14 16s556ms 1s182ms 05 24 29s46ms 1s210ms 06 7 8s124ms 1s160ms 07 7 8s185ms 1s169ms 08 9 10s664ms 1s184ms 09 15 17s793ms 1s186ms 10 14 16s554ms 1s182ms 11 17 20s211ms 1s188ms 12 13 15s394ms 1s184ms 13 9 10s728ms 1s192ms 14 7 8s277ms 1s182ms 15 10 11s834ms 1s183ms 16 10 11s761ms 1s176ms 17 9 10s474ms 1s163ms 18 8 9s570ms 1s196ms 19 7 8s333ms 1s190ms 20 6 7s110ms 1s185ms 21 4 4s767ms 1s191ms 22 16 18s888ms 1s180ms 23 7 8s243ms 1s177ms Oct 21 00 7 8s236ms 1s176ms 01 11 13s80ms 1s189ms 02 13 15s354ms 1s181ms 03 9 10s538ms 1s170ms 04 10 11s854ms 1s185ms 05 7 8s503ms 1s214ms 06 8 9s474ms 1s184ms 07 12 14s330ms 1s194ms 08 11 13s68ms 1s188ms 09 8 9s407ms 1s175ms 10 8 9s472ms 1s184ms 11 1 1s141ms 1s141ms 12 3 3s576ms 1s192ms 13 2 2s355ms 1s177ms 14 10 11s852ms 1s185ms 15 10 11s872ms 1s187ms 16 8 9s364ms 1s170ms 17 4 4s690ms 1s172ms 18 2 2s405ms 1s202ms 19 8 9s676ms 1s209ms 21 6 7s47ms 1s174ms 22 11 13s25ms 1s184ms 23 11 13s196ms 1s199ms Oct 22 00 3 3s640ms 1s213ms 01 7 8s419ms 1s202ms 02 8 9s465ms 1s183ms 03 6 7s181ms 1s196ms 04 15 17s681ms 1s178ms 05 6 7s221ms 1s203ms 06 3 3s600ms 1s200ms 07 11 12s993ms 1s181ms 08 4 4s816ms 1s204ms 09 4 4s674ms 1s168ms 10 5 6s167ms 1s233ms 11 4 4s892ms 1s223ms 12 2 2s390ms 1s195ms 13 6 7s30ms 1s171ms 14 7 8s30ms 1s147ms 15 6 6s912ms 1s152ms 16 10 11s773ms 1s177ms 17 5 5s884ms 1s176ms 18 6 7s79ms 1s179ms 19 8 9s540ms 1s192ms 20 5 5s976ms 1s195ms 21 5 5s962ms 1s192ms 22 5 5s995ms 1s199ms 23 3 3s501ms 1s167ms Oct 23 00 2 2s414ms 1s207ms 01 4 4s677ms 1s169ms 02 5 5s968ms 1s193ms 03 2 2s394ms 1s197ms 04 6 7s47ms 1s174ms 05 12 14s373ms 1s197ms 06 9 10s526ms 1s169ms 07 5 5s951ms 1s190ms 08 9 10s711ms 1s190ms 09 6 7s22ms 1s170ms 10 4 4s736ms 1s184ms 11 5 5s824ms 1s164ms 12 4 4s701ms 1s175ms 13 1 1s182ms 1s182ms 14 8 9s453ms 1s181ms 15 3 3s567ms 1s189ms 16 7 8s184ms 1s169ms 17 7 8s137ms 1s162ms 18 5 5s889ms 1s177ms 19 5 5s889ms 1s177ms 20 4 4s708ms 1s177ms 21 3 3s520ms 1s173ms 22 6 7s342ms 1s223ms 23 6 7s199ms 1s199ms Oct 24 00 1 1s238ms 1s238ms 01 4 4s776ms 1s194ms 02 7 8s327ms 1s189ms 03 8 9s452ms 1s181ms 04 3 3s553ms 1s184ms 05 12 14s361ms 1s196ms 06 8 9s572ms 1s196ms 07 5 5s842ms 1s168ms 08 9 10s622ms 1s180ms 09 8 9s472ms 1s184ms 10 6 6s940ms 1s156ms 11 12 14s88ms 1s174ms 12 13 15s191ms 1s168ms 13 5 5s859ms 1s171ms 14 3 3s454ms 1s151ms 15 6 7s83ms 1s180ms 16 7 8s335ms 1s190ms 17 14 16s565ms 1s183ms 18 6 7s62ms 1s177ms 19 2 2s364ms 1s182ms 20 6 7s324ms 1s220ms 21 2 2s414ms 1s207ms 22 8 9s580ms 1s197ms 23 7 8s206ms 1s172ms Oct 25 00 2 2s323ms 1s161ms 01 8 9s482ms 1s185ms 02 5 5s936ms 1s187ms 03 12 14s212ms 1s184ms 04 9 10s557ms 1s173ms 05 15 17s959ms 1s197ms 06 5 5s873ms 1s174ms 07 12 14s243ms 1s186ms 08 9 10s669ms 1s185ms 09 6 7s118ms 1s186ms 10 6 7s127ms 1s187ms 11 3 3s584ms 1s194ms 12 1 1s180ms 1s180ms 13 11 13s219ms 1s201ms 14 11 13s129ms 1s193ms 15 2 2s436ms 1s218ms 16 7 8s321ms 1s188ms 17 6 7s31ms 1s171ms 18 6 7s146ms 1s191ms 19 4 4s839ms 1s209ms 20 15 17s706ms 1s180ms 21 11 12s972ms 1s179ms 22 6 7s176ms 1s196ms 23 10 11s843ms 1s184ms Oct 26 00 8 9s455ms 1s181ms 01 6 7s250ms 1s208ms 02 7 8s250ms 1s178ms 03 8 9s626ms 1s203ms 04 6 7s260ms 1s210ms 05 6 7s428ms 1s238ms 06 2 2s390ms 1s195ms 07 6 7s186ms 1s197ms 08 7 8s411ms 1s201ms 09 5 5s957ms 1s191ms 10 6 7s121ms 1s186ms 11 9 10s645ms 1s182ms 12 5 5s921ms 1s184ms 13 10 11s980ms 1s198ms 14 8 9s636ms 1s204ms 15 6 7s164ms 1s194ms 16 4 4s705ms 1s176ms 17 3 3s569ms 1s189ms 18 4 4s730ms 1s182ms 19 5 5s619ms 1s123ms 20 9 10s45ms 1s116ms 21 2 2s193ms 1s96ms 22 5 6s105ms 1s221ms 23 3 3s544ms 1s181ms [ User: pubeu - Total duration: 9m32s - Times executed: 483 ]
-
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 = '2033757' or receptorTerm.id = '2033757' 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-10-20 05:59:56 Duration: 1s351ms 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 = '1454791' or receptorTerm.id = '1454791' 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-10-22 10:54:44 Duration: 1s347ms 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 = '2056295' or receptorTerm.id = '2056295' 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-10-23 22:00:26 Duration: 1s319ms Database: ctdprd51 User: pubeu Bind query: yes
2 925 21m51s 1s394ms 1s830ms 1s417ms 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 #2
Day Hour Count Duration Avg duration Oct 20 00 4 5s662ms 1s415ms 01 5 7s98ms 1s419ms 02 3 4s245ms 1s415ms 03 5 7s73ms 1s414ms 04 3 4s218ms 1s406ms 05 8 11s549ms 1s443ms 06 7 10s38ms 1s434ms 07 1 1s397ms 1s397ms 08 4 5s651ms 1s412ms 09 4 5s657ms 1s414ms 10 2 2s816ms 1s408ms 11 6 8s567ms 1s427ms 12 9 13s26ms 1s447ms 13 4 5s644ms 1s411ms 14 8 11s303ms 1s412ms 15 11 15s574ms 1s415ms 16 7 9s861ms 1s408ms 17 6 8s468ms 1s411ms 18 8 11s317ms 1s414ms 19 4 5s637ms 1s409ms 20 2 2s802ms 1s401ms 21 3 4s239ms 1s413ms 22 5 7s75ms 1s415ms 23 7 9s858ms 1s408ms Oct 21 00 6 8s497ms 1s416ms 01 9 12s880ms 1s431ms 02 6 8s482ms 1s413ms 03 4 5s905ms 1s476ms 04 4 5s671ms 1s417ms 05 4 5s648ms 1s412ms 06 8 11s307ms 1s413ms 07 6 8s431ms 1s405ms 08 6 8s472ms 1s412ms 09 4 5s668ms 1s417ms 10 10 14s103ms 1s410ms 11 1 1s505ms 1s505ms 12 8 11s290ms 1s411ms 13 3 4s244ms 1s414ms 14 4 5s796ms 1s449ms 15 7 9s884ms 1s412ms 16 5 7s75ms 1s415ms 17 7 10s36ms 1s433ms 18 4 5s675ms 1s418ms 20 9 12s771ms 1s419ms 21 8 11s315ms 1s414ms 22 6 8s471ms 1s411ms 23 8 11s437ms 1s429ms Oct 22 00 2 2s825ms 1s412ms 01 4 5s665ms 1s416ms 02 4 5s662ms 1s415ms 03 4 5s628ms 1s407ms 04 9 12s672ms 1s408ms 05 6 8s497ms 1s416ms 06 3 4s241ms 1s413ms 07 11 15s482ms 1s407ms 08 6 8s452ms 1s408ms 09 5 7s59ms 1s411ms 10 3 4s418ms 1s472ms 11 4 6s785ms 1s696ms 12 1 1s427ms 1s427ms 13 3 4s254ms 1s418ms 14 8 11s280ms 1s410ms 15 4 5s640ms 1s410ms 16 5 7s57ms 1s411ms 17 3 4s241ms 1s413ms 18 6 8s477ms 1s412ms 19 4 5s643ms 1s410ms 20 3 4s229ms 1s409ms 21 4 5s648ms 1s412ms 22 5 7s52ms 1s410ms 23 6 8s509ms 1s418ms Oct 23 00 4 5s658ms 1s414ms 01 7 9s860ms 1s408ms 02 2 2s793ms 1s396ms 03 1 1s409ms 1s409ms 04 7 10s6ms 1s429ms 05 7 9s851ms 1s407ms 06 4 5s657ms 1s414ms 07 7 9s893ms 1s413ms 08 12 16s980ms 1s415ms 09 10 14s221ms 1s422ms 10 9 12s839ms 1s426ms 11 7 9s898ms 1s414ms 12 7 10s67ms 1s438ms 13 6 8s438ms 1s406ms 14 3 4s217ms 1s405ms 15 5 7s40ms 1s408ms 16 6 8s547ms 1s424ms 17 6 8s446ms 1s407ms 18 5 7s48ms 1s409ms 19 7 9s969ms 1s424ms 20 5 7s59ms 1s411ms 21 3 4s235ms 1s411ms 22 9 12s699ms 1s411ms 23 8 11s296ms 1s412ms Oct 24 00 9 12s684ms 1s409ms 01 2 2s824ms 1s412ms 02 9 12s787ms 1s420ms 03 6 8s432ms 1s405ms 04 4 5s623ms 1s405ms 05 11 15s527ms 1s411ms 06 6 8s505ms 1s417ms 07 7 9s892ms 1s413ms 08 8 11s322ms 1s415ms 09 6 8s475ms 1s412ms 10 8 11s310ms 1s413ms 11 2 2s817ms 1s408ms 12 7 9s936ms 1s419ms 13 5 7s43ms 1s408ms 14 1 1s415ms 1s415ms 15 2 2s819ms 1s409ms 16 4 5s640ms 1s410ms 17 5 7s47ms 1s409ms 18 7 9s935ms 1s419ms 19 8 11s283ms 1s410ms 20 5 7s47ms 1s409ms 21 5 7s67ms 1s413ms 22 2 2s852ms 1s426ms 23 3 4s240ms 1s413ms Oct 25 00 3 4s265ms 1s421ms 01 6 8s458ms 1s409ms 02 3 4s215ms 1s405ms 03 7 9s873ms 1s410ms 04 1 1s406ms 1s406ms 05 8 11s365ms 1s420ms 06 10 14s120ms 1s412ms 07 2 2s942ms 1s471ms 08 9 12s697ms 1s410ms 09 6 8s573ms 1s428ms 10 3 4s229ms 1s409ms 11 4 5s636ms 1s409ms 12 5 7s80ms 1s416ms 13 7 9s894ms 1s413ms 14 6 8s492ms 1s415ms 15 6 8s475ms 1s412ms 16 3 4s279ms 1s426ms 17 6 8s475ms 1s412ms 18 2 2s827ms 1s413ms 19 2 2s810ms 1s405ms 20 5 7s150ms 1s430ms 21 6 8s501ms 1s416ms 22 4 5s645ms 1s411ms 23 5 7s58ms 1s411ms Oct 26 00 8 11s373ms 1s421ms 01 10 14s187ms 1s418ms 02 11 15s603ms 1s418ms 03 6 8s454ms 1s409ms 04 7 9s865ms 1s409ms 05 12 16s962ms 1s413ms 06 5 7s44ms 1s408ms 07 7 9s877ms 1s411ms 08 12 16s981ms 1s415ms 09 2 2s814ms 1s407ms 10 7 9s886ms 1s412ms 11 8 11s297ms 1s412ms 12 7 9s897ms 1s413ms 13 7 9s860ms 1s408ms 14 6 8s457ms 1s409ms 15 5 7s90ms 1s418ms 16 1 1s403ms 1s403ms 17 4 5s666ms 1s416ms 18 2 2s834ms 1s417ms 19 8 11s546ms 1s443ms 20 4 5s612ms 1s403ms 21 3 4s253ms 1s417ms 22 6 8s494ms 1s415ms 23 3 4s228ms 1s409ms [ User: pubeu - Total duration: 10m54s - Times executed: 461 ]
-
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-10-22 11:35:04 Duration: 1s830ms Database: ctdprd51 User: pubeu 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-10-22 11:32:28 Duration: 1s766ms Database: ctdprd51 User: pubeu 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-10-22 11:07:42 Duration: 1s641ms Database: ctdprd51 User: pubeu Bind query: yes
3 802 45m52s 1s 49s214ms 3s432ms select ? "Input", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( select string_agg(stm.slim_term_nm, ? order by stm.slim_term_nm) from slim_term_mapping stm where stm.mapped_term_id = d.id) "DiseaseCategories", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(distinct r.acc_txt, ?) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id where (d.id = ?) group by g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by d.nm_sort, g.nm, "DirectEvidence", c.nm;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Oct 22 04 1 17s59ms 17s59ms 19 1 17s440ms 17s440ms Oct 24 04 14 33s619ms 2s401ms 08 2 4s767ms 2s383ms 09 70 3m57s 3s399ms 10 131 8m10s 3s742ms 11 170 9m29s 3s347ms 12 165 7m54s 2s877ms 13 137 6m37s 2s899ms 14 111 8m30s 4s600ms [ User: pubeu - Total duration: 8m53s - Times executed: 170 ]
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'd056486' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2076812) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2024-10-24 14:30:30 Duration: 49s214ms Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'd056486' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2076812) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2024-10-24 10:18:48 Duration: 49s100ms Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'd056486' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2076812) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2024-10-24 14:28:29 Duration: 49s22ms Bind query: yes
4 743 49m40s 3s770ms 16s480ms 4s11ms 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 Oct 20 01 2 7s804ms 3s902ms 03 3 11s794ms 3s931ms 05 1 4s569ms 4s569ms 09 1 3s858ms 3s858ms 10 2 7s853ms 3s926ms 11 8 31s460ms 3s932ms 12 1 3s845ms 3s845ms 13 4 16s282ms 4s70ms 14 1 3s922ms 3s922ms 15 1 3s868ms 3s868ms 16 4 15s702ms 3s925ms Oct 21 00 4 16s800ms 4s200ms 01 8 31s607ms 3s950ms 02 21 1m23s 3s973ms 03 14 56s981ms 4s70ms 04 44 2m54s 3s974ms 05 50 3m19s 3s983ms 06 21 1m24s 4s10ms 07 11 43s943ms 3s994ms 08 23 1m32s 4s24ms 09 4 16s807ms 4s201ms 10 8 31s796ms 3s974ms 11 1 4s194ms 4s194ms 13 2 8s239ms 4s119ms 14 1 3s976ms 3s976ms 15 2 8s50ms 4s25ms 16 1 3s858ms 3s858ms 17 5 19s666ms 3s933ms 20 2 8s5ms 4s2ms 21 1 4s87ms 4s87ms 22 1 16s480ms 16s480ms 23 5 20s270ms 4s54ms Oct 22 00 4 17s964ms 4s491ms 01 4 15s979ms 3s994ms 02 2 7s994ms 3s997ms 03 7 27s810ms 3s972ms 04 6 24s190ms 4s31ms 05 10 39s425ms 3s942ms 07 4 15s862ms 3s965ms 08 7 27s784ms 3s969ms 09 3 11s706ms 3s902ms 10 4 15s809ms 3s952ms 11 2 11s632ms 5s816ms 12 3 11s908ms 3s969ms 13 7 27s418ms 3s916ms 14 7 27s285ms 3s897ms 15 1 5s998ms 5s998ms 16 2 7s813ms 3s906ms 17 1 4s11ms 4s11ms 19 1 3s873ms 3s873ms 20 2 7s762ms 3s881ms 22 1 3s914ms 3s914ms 23 25 1m38s 3s951ms Oct 23 00 18 1m10s 3s934ms 01 3 11s991ms 3s997ms 03 7 28s356ms 4s50ms 04 92 6m7s 3s996ms 05 8 31s603ms 3s950ms 06 2 8s207ms 4s103ms 07 2 7s753ms 3s876ms 08 3 11s942ms 3s980ms 09 14 56s263ms 4s18ms 10 9 37s446ms 4s160ms 11 3 11s946ms 3s982ms 12 1 3s892ms 3s892ms 13 1 4s694ms 4s694ms 14 4 15s703ms 3s925ms 17 1 3s794ms 3s794ms 19 1 4s102ms 4s102ms 21 2 7s756ms 3s878ms 22 12 47s205ms 3s933ms 23 9 35s876ms 3s986ms Oct 24 00 12 46s694ms 3s891ms 01 1 3s947ms 3s947ms 02 3 12s854ms 4s284ms 03 4 15s757ms 3s939ms 04 2 7s892ms 3s946ms 05 1 3s941ms 3s941ms 07 4 16s72ms 4s18ms 09 3 12s65ms 4s21ms 10 5 20s845ms 4s169ms 11 5 19s767ms 3s953ms 14 2 8s149ms 4s74ms 16 2 7s973ms 3s986ms 17 6 24s581ms 4s96ms 21 2 7s838ms 3s919ms 22 5 20s294ms 4s58ms 23 2 7s867ms 3s933ms Oct 25 01 1 4s140ms 4s140ms 02 6 23s857ms 3s976ms 03 12 47s71ms 3s922ms 04 26 1m41s 3s887ms 05 4 16s278ms 4s69ms 06 24 1m36s 4s17ms 07 4 16s83ms 4s20ms 08 4 15s754ms 3s938ms 09 1 3s983ms 3s983ms 10 1 3s977ms 3s977ms 11 1 3s995ms 3s995ms 16 1 4s90ms 4s90ms 18 6 23s232ms 3s872ms 19 9 35s303ms 3s922ms 20 9 35s142ms 3s904ms 21 2 8s340ms 4s170ms 22 1 4s224ms 4s224ms 23 1 3s846ms 3s846ms Oct 26 00 1 3s971ms 3s971ms 01 1 3s827ms 3s827ms 02 1 3s878ms 3s878ms 04 1 3s987ms 3s987ms 07 3 11s982ms 3s994ms 09 1 3s825ms 3s825ms 10 1 4s23ms 4s23ms 11 1 3s986ms 3s986ms 12 3 11s866ms 3s955ms 14 1 3s855ms 3s855ms 18 1 4s4ms 4s4ms 21 3 11s799ms 3s933ms 22 1 3s973ms 3s973ms [ User: pubeu - Total duration: 20m1s - Times executed: 300 ]
-
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 = '1395038') 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 = '1395038') 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-10-21 22:24:32 Duration: 16s480ms 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 = '1412398') 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 = '1412398') 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-10-22 11:29:09 Duration: 6s495ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1263173') 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 = '1263173') 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-10-22 15:55:36 Duration: 5s998ms Database: ctdprd51 User: pubeu Bind query: yes
5 454 13m37s 1s3ms 6s888ms 1s799ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where associatedterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Oct 20 03 4 5s902ms 1s475ms 08 4 5s771ms 1s442ms 09 4 5s755ms 1s438ms 12 2 2s856ms 1s428ms Oct 21 03 4 5s831ms 1s457ms 09 4 5s657ms 1s414ms 11 3 19s715ms 6s571ms 14 16 23s368ms 1s460ms 15 9 14s603ms 1s622ms 16 8 11s486ms 1s435ms 17 4 5s739ms 1s434ms 18 27 1m4s 2s387ms 19 54 1m39s 1s847ms 20 36 1m5s 1s815ms 21 1 1s435ms 1s435ms 22 4 4s889ms 1s222ms 23 23 35s797ms 1s556ms Oct 22 00 42 1m7s 1s596ms 01 8 11s773ms 1s471ms 02 55 1m24s 1s542ms 18 11 20s658ms 1s878ms 19 1 1s732ms 1s732ms 20 11 16s917ms 1s537ms Oct 23 00 4 7s210ms 1s802ms 01 1 6s533ms 6s533ms 09 16 38s3ms 2s375ms 10 11 17s168ms 1s560ms 11 1 1s68ms 1s68ms 13 1 1s3ms 1s3ms 14 4 5s860ms 1s465ms Oct 24 02 4 5s799ms 1s449ms 03 4 7s104ms 1s776ms 10 8 11s893ms 1s486ms 11 5 6s937ms 1s387ms 14 4 7s212ms 1s803ms 17 1 6s402ms 6s402ms 18 2 12s930ms 6s465ms 19 1 1s80ms 1s80ms Oct 25 01 4 7s120ms 1s780ms 05 1 1s19ms 1s19ms 06 10 14s476ms 1s447ms 08 1 1s51ms 1s51ms 13 4 5s732ms 1s433ms Oct 26 08 2 7s519ms 3s759ms 09 12 22s629ms 1s885ms 10 2 13s96ms 6s548ms 11 7 14s319ms 2s45ms 13 4 5s755ms 1s438ms 20 1 1s70ms 1s70ms 23 4 5s705ms 1s426ms [ User: pubeu - Total duration: 4m59s - Times executed: 167 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1395038'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort;
Date: 2024-10-21 18:50:19 Duration: 6s888ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1395038'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort;
Date: 2024-10-21 18:50:19 Duration: 6s806ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1395038'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort;
Date: 2024-10-21 11:05:07 Duration: 6s624ms Bind query: yes
6 372 7m18s 1s82ms 1s298ms 1s178ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where exposuremarkerterm.id = ? or receptorterm.id = ? group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Oct 20 00 5 5s957ms 1s191ms 01 4 4s698ms 1s174ms 02 1 1s191ms 1s191ms 03 1 1s179ms 1s179ms 04 1 1s138ms 1s138ms 05 1 1s124ms 1s124ms 08 1 1s199ms 1s199ms 10 3 3s524ms 1s174ms 11 1 1s168ms 1s168ms 12 4 4s775ms 1s193ms 13 4 4s631ms 1s157ms 16 1 1s199ms 1s199ms 17 8 9s457ms 1s182ms 18 6 7s201ms 1s200ms 20 2 2s385ms 1s192ms 21 3 3s501ms 1s167ms 23 4 4s674ms 1s168ms Oct 21 00 1 1s167ms 1s167ms 01 7 8s307ms 1s186ms 02 7 8s392ms 1s198ms 03 6 6s979ms 1s163ms 04 1 1s170ms 1s170ms 05 5 5s989ms 1s197ms 07 1 1s206ms 1s206ms 08 6 7s120ms 1s186ms 10 1 1s125ms 1s125ms 11 2 2s344ms 1s172ms 12 2 2s364ms 1s182ms 14 4 4s663ms 1s165ms 16 10 11s751ms 1s175ms 17 4 4s588ms 1s147ms 21 1 1s198ms 1s198ms 22 2 2s360ms 1s180ms 23 11 13s61ms 1s187ms Oct 22 01 2 2s335ms 1s167ms 03 4 4s674ms 1s168ms 04 5 5s980ms 1s196ms 05 1 1s209ms 1s209ms 06 5 5s763ms 1s152ms 08 1 1s199ms 1s199ms 09 2 2s410ms 1s205ms 11 2 2s498ms 1s249ms 13 4 4s697ms 1s174ms 14 3 3s444ms 1s148ms 15 1 1s210ms 1s210ms 16 4 4s735ms 1s183ms 18 4 4s689ms 1s172ms 19 11 13s63ms 1s187ms 20 2 2s343ms 1s171ms Oct 23 01 1 1s196ms 1s196ms 02 1 1s206ms 1s206ms 04 4 4s708ms 1s177ms 05 5 5s898ms 1s179ms 06 2 2s351ms 1s175ms 07 2 2s385ms 1s192ms 09 1 1s172ms 1s172ms 10 1 1s174ms 1s174ms 11 4 4s558ms 1s139ms 14 2 2s366ms 1s183ms 15 3 3s539ms 1s179ms 16 3 3s472ms 1s157ms 17 1 1s135ms 1s135ms 18 2 2s345ms 1s172ms 19 1 1s179ms 1s179ms 22 4 4s832ms 1s208ms 23 4 4s703ms 1s175ms Oct 24 00 4 4s699ms 1s174ms 03 4 4s795ms 1s198ms 05 3 3s528ms 1s176ms 06 2 2s331ms 1s165ms 07 5 5s967ms 1s193ms 09 1 1s139ms 1s139ms 10 3 3s434ms 1s144ms 11 1 1s160ms 1s160ms 12 1 1s172ms 1s172ms 13 5 5s769ms 1s153ms 16 3 3s503ms 1s167ms 17 3 3s586ms 1s195ms 18 2 2s370ms 1s185ms 19 1 1s197ms 1s197ms 20 4 4s764ms 1s191ms 21 1 1s211ms 1s211ms 23 9 10s537ms 1s170ms Oct 25 01 2 2s328ms 1s164ms 02 2 2s284ms 1s142ms 03 2 2s352ms 1s176ms 05 8 9s358ms 1s169ms 06 3 3s552ms 1s184ms 07 6 7s127ms 1s187ms 08 1 1s183ms 1s183ms 09 2 2s380ms 1s190ms 10 2 2s352ms 1s176ms 12 2 2s395ms 1s197ms 13 2 2s389ms 1s194ms 14 5 5s921ms 1s184ms 15 2 2s368ms 1s184ms 16 2 2s385ms 1s192ms 17 1 1s213ms 1s213ms 18 4 4s753ms 1s188ms 19 1 1s194ms 1s194ms 20 4 4s718ms 1s179ms 21 3 3s536ms 1s178ms 22 8 9s315ms 1s164ms 23 2 2s363ms 1s181ms Oct 26 00 1 1s152ms 1s152ms 01 4 4s784ms 1s196ms 02 3 3s575ms 1s191ms 03 2 2s309ms 1s154ms 05 1 1s209ms 1s209ms 06 1 1s178ms 1s178ms 07 5 5s910ms 1s182ms 08 1 1s178ms 1s178ms 10 4 4s754ms 1s188ms 11 1 1s196ms 1s196ms 12 1 1s194ms 1s194ms 13 3 3s585ms 1s195ms 15 3 3s605ms 1s201ms 16 1 1s169ms 1s169ms 18 1 1s137ms 1s137ms 19 1 1s119ms 1s119ms 20 7 7s788ms 1s112ms 22 3 3s543ms 1s181ms [ User: pubeu - Total duration: 47s154ms - Times executed: 40 ]
-
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 = '1471115' or receptorTerm.id = '1471115' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort;
Date: 2024-10-22 11:21:43 Duration: 1s298ms 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 = '1613417' or receptorTerm.id = '1613417' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort;
Date: 2024-10-24 03:47:54 Duration: 1s236ms 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 = '1469091' or receptorTerm.id = '1469091' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort;
Date: 2024-10-25 09:12:39 Duration: 1s232ms Bind query: yes
7 264 5m43s 1s170ms 3s198ms 1s302ms 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 Oct 20 01 1 1s257ms 1s257ms 02 2 2s573ms 1s286ms 04 2 2s650ms 1s325ms 05 6 7s867ms 1s311ms 06 1 1s309ms 1s309ms 07 2 2s515ms 1s257ms 08 2 2s646ms 1s323ms 09 2 2s527ms 1s263ms 10 2 2s494ms 1s247ms 11 1 1s266ms 1s266ms 13 2 2s594ms 1s297ms 15 2 2s573ms 1s286ms 16 3 3s871ms 1s290ms 17 3 3s788ms 1s262ms 18 1 1s318ms 1s318ms 21 1 1s318ms 1s318ms 22 4 5s64ms 1s266ms 23 2 2s507ms 1s253ms Oct 21 00 2 2s554ms 1s277ms 01 3 3s843ms 1s281ms 02 2 2s574ms 1s287ms 03 2 2s531ms 1s265ms 04 4 5s42ms 1s260ms 05 3 4s187ms 1s395ms 07 2 2s535ms 1s267ms 08 1 1s290ms 1s290ms 11 3 3s849ms 1s283ms 12 5 6s473ms 1s294ms 13 1 1s294ms 1s294ms 14 2 2s691ms 1s345ms 15 1 1s288ms 1s288ms 16 3 3s923ms 1s307ms 17 1 1s308ms 1s308ms 18 4 5s38ms 1s259ms 19 2 2s548ms 1s274ms 20 3 4s14ms 1s338ms 21 5 6s412ms 1s282ms 22 1 3s198ms 3s198ms Oct 22 00 1 1s275ms 1s275ms 03 1 1s209ms 1s209ms 04 1 1s266ms 1s266ms 05 4 5s338ms 1s334ms 08 2 2s599ms 1s299ms 09 3 3s888ms 1s296ms 10 2 2s656ms 1s328ms 12 1 1s304ms 1s304ms 13 1 1s306ms 1s306ms 15 1 1s278ms 1s278ms 16 1 1s322ms 1s322ms 18 2 2s551ms 1s275ms 19 1 1s346ms 1s346ms 20 1 1s327ms 1s327ms 21 2 2s530ms 1s265ms 22 2 2s609ms 1s304ms 23 3 3s866ms 1s288ms Oct 23 00 3 3s850ms 1s283ms 01 2 2s601ms 1s300ms 02 1 1s203ms 1s203ms 03 1 1s350ms 1s350ms 04 1 1s300ms 1s300ms 05 3 4s123ms 1s374ms 06 5 6s334ms 1s266ms 07 3 3s904ms 1s301ms 08 4 5s145ms 1s286ms 09 1 1s295ms 1s295ms 10 2 2s417ms 1s208ms 11 1 1s272ms 1s272ms 12 2 2s522ms 1s261ms 13 2 2s499ms 1s249ms 14 2 2s644ms 1s322ms 15 1 1s270ms 1s270ms 16 2 2s536ms 1s268ms 18 3 3s795ms 1s265ms 19 4 5s90ms 1s272ms 20 1 1s309ms 1s309ms 21 1 1s270ms 1s270ms Oct 24 00 2 2s585ms 1s292ms 01 1 1s387ms 1s387ms 02 3 3s907ms 1s302ms 03 2 2s604ms 1s302ms 04 3 4s17ms 1s339ms 05 2 2s774ms 1s387ms 06 1 1s249ms 1s249ms 09 2 2s558ms 1s279ms 10 1 1s304ms 1s304ms 11 1 1s260ms 1s260ms 12 1 1s306ms 1s306ms 15 2 2s609ms 1s304ms 17 3 3s850ms 1s283ms 19 1 1s331ms 1s331ms 20 1 1s313ms 1s313ms 21 2 2s585ms 1s292ms Oct 25 00 2 2s585ms 1s292ms 01 2 2s549ms 1s274ms 04 1 1s306ms 1s306ms 05 6 7s986ms 1s331ms 06 1 1s272ms 1s272ms 07 3 4s83ms 1s361ms 08 2 2s604ms 1s302ms 09 1 1s270ms 1s270ms 10 3 3s819ms 1s273ms 11 1 1s299ms 1s299ms 13 1 1s243ms 1s243ms 15 2 2s533ms 1s266ms 18 1 1s306ms 1s306ms 19 3 3s881ms 1s293ms 20 5 6s388ms 1s277ms 21 2 2s623ms 1s311ms 22 6 7s609ms 1s268ms 23 2 2s514ms 1s257ms Oct 26 00 1 1s303ms 1s303ms 01 2 3s190ms 1s595ms 02 1 1s532ms 1s532ms 04 4 5s172ms 1s293ms 05 2 2s841ms 1s420ms 06 2 2s597ms 1s298ms 08 2 2s555ms 1s277ms 09 1 1s245ms 1s245ms 11 2 2s626ms 1s313ms 12 2 2s574ms 1s287ms 15 3 3s953ms 1s317ms 16 1 1s293ms 1s293ms 17 1 1s280ms 1s280ms 18 1 1s239ms 1s239ms 20 3 3s569ms 1s189ms 21 1 1s237ms 1s237ms [ User: pubeu - Total duration: 2m31s - Times executed: 117 ]
[ User: qaeu - Total duration: 8s421ms - Times executed: 6 ]
-
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 = '1217863') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1217863') 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-10-21 22:38:53 Duration: 3s198ms 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 = '1232811') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1232811') 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-10-26 01:47:35 Duration: 1s892ms 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 = '1232376') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1232376') 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-10-26 02:20:45 Duration: 1s532ms Database: ctdprd51 User: pubeu Bind query: yes
8 182 4m1s 1s162ms 2s51ms 1s328ms 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 #8
Day Hour Count Duration Avg duration Oct 20 00 1 1s267ms 1s267ms 01 1 1s233ms 1s233ms 04 4 5s150ms 1s287ms 05 3 4s162ms 1s387ms 06 1 1s285ms 1s285ms 07 1 1s279ms 1s279ms 09 3 3s839ms 1s279ms 10 4 4s974ms 1s243ms 12 1 1s361ms 1s361ms 14 1 1s366ms 1s366ms 16 3 3s831ms 1s277ms 17 2 2s837ms 1s418ms 18 2 2s635ms 1s317ms 19 1 1s305ms 1s305ms 21 2 2s731ms 1s365ms 23 1 1s307ms 1s307ms Oct 21 01 1 1s359ms 1s359ms 02 4 5s350ms 1s337ms 03 1 1s281ms 1s281ms 05 2 2s840ms 1s420ms 07 2 2s658ms 1s329ms 08 2 2s588ms 1s294ms 12 1 1s275ms 1s275ms 14 1 1s426ms 1s426ms 16 2 2s798ms 1s399ms 20 1 1s302ms 1s302ms 23 2 2s599ms 1s299ms Oct 22 00 1 1s287ms 1s287ms 01 4 5s72ms 1s268ms 02 1 1s284ms 1s284ms 03 1 1s356ms 1s356ms 04 2 2s585ms 1s292ms 05 2 2s849ms 1s424ms 06 1 1s303ms 1s303ms 10 2 2s637ms 1s318ms 13 1 1s330ms 1s330ms 15 1 1s304ms 1s304ms 17 1 1s344ms 1s344ms 20 2 2s807ms 1s403ms 22 1 1s295ms 1s295ms 23 2 2s601ms 1s300ms Oct 23 01 1 1s300ms 1s300ms 02 1 1s355ms 1s355ms 03 1 1s379ms 1s379ms 04 2 3s371ms 1s685ms 05 3 4s41ms 1s347ms 06 1 1s215ms 1s215ms 08 1 1s342ms 1s342ms 09 2 2s637ms 1s318ms 10 3 3s874ms 1s291ms 12 1 1s280ms 1s280ms 13 1 1s217ms 1s217ms 14 1 1s317ms 1s317ms 15 1 1s319ms 1s319ms 16 1 1s295ms 1s295ms 18 2 2s558ms 1s279ms Oct 24 01 3 3s897ms 1s299ms 03 6 8s163ms 1s360ms 05 3 4s130ms 1s376ms 06 2 2s546ms 1s273ms 07 1 1s338ms 1s338ms 08 1 1s244ms 1s244ms 11 2 2s547ms 1s273ms 12 1 1s287ms 1s287ms 15 3 3s796ms 1s265ms 17 1 1s278ms 1s278ms 19 2 2s670ms 1s335ms 20 3 3s965ms 1s321ms 21 4 5s395ms 1s348ms 22 3 4s8ms 1s336ms Oct 25 01 2 2s568ms 1s284ms 02 4 5s969ms 1s492ms 03 2 2s608ms 1s304ms 05 2 2s872ms 1s436ms 07 1 1s312ms 1s312ms 08 3 3s932ms 1s310ms 09 2 2s958ms 1s479ms 10 1 1s265ms 1s265ms 13 2 2s693ms 1s346ms 14 1 1s315ms 1s315ms 15 1 1s250ms 1s250ms 16 3 4s72ms 1s357ms 17 1 1s266ms 1s266ms 18 2 2s755ms 1s377ms 19 1 1s257ms 1s257ms 20 1 1s296ms 1s296ms 23 2 2s762ms 1s381ms Oct 26 03 2 2s585ms 1s292ms 04 1 1s294ms 1s294ms 05 2 2s908ms 1s454ms 08 1 1s251ms 1s251ms 09 1 1s359ms 1s359ms 10 3 3s958ms 1s319ms 12 1 1s293ms 1s293ms 14 1 1s498ms 1s498ms 16 3 4s2ms 1s334ms 20 2 2s374ms 1s187ms 21 4 4s935ms 1s233ms 23 1 1s239ms 1s239ms [ User: pubeu - Total duration: 1m54s - Times executed: 87 ]
-
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 = '2079065') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2079065') 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-10-23 04:44:57 Duration: 2s51ms 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 = '2081817') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2081817') 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-10-25 02:00:15 Duration: 1s694ms 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 = '2079825') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2079825') 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-10-25 09:26:29 Duration: 1s652ms Bind query: yes
9 170 5m50s 1s131ms 6s252ms 2s64ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where associatedterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Oct 20 00 3 7s388ms 2s462ms 03 1 1s355ms 1s355ms 06 1 3s327ms 3s327ms 08 1 1s352ms 1s352ms 09 1 1s345ms 1s345ms 12 1 1s401ms 1s401ms Oct 21 01 1 3s322ms 3s322ms 03 1 1s350ms 1s350ms 09 1 1s349ms 1s349ms 14 4 5s437ms 1s359ms 15 3 4s296ms 1s432ms 16 3 5s973ms 1s991ms 17 1 1s368ms 1s368ms 18 12 23s102ms 1s925ms 19 20 35s194ms 1s759ms 20 9 15s191ms 1s687ms 21 1 1s345ms 1s345ms 22 1 1s657ms 1s657ms 23 7 9s850ms 1s407ms Oct 22 00 9 14s567ms 1s618ms 01 3 4s13ms 1s337ms 02 17 24s283ms 1s428ms 14 2 7s518ms 3s759ms 18 4 15s45ms 3s761ms 20 4 5s877ms 1s469ms Oct 23 00 1 1s654ms 1s654ms 01 1 6s170ms 6s170ms 09 8 24s944ms 3s118ms 10 4 6s421ms 1s605ms 14 1 1s381ms 1s381ms 22 3 10s166ms 3s388ms 23 2 4s831ms 2s415ms Oct 24 02 1 1s349ms 1s349ms 03 2 2s967ms 1s483ms 05 1 1s904ms 1s904ms 09 1 6s119ms 6s119ms 10 3 4s54ms 1s351ms 11 1 1s431ms 1s431ms 17 1 6s96ms 6s96ms 18 2 12s207ms 6s103ms 22 1 1s413ms 1s413ms Oct 25 01 2 4s994ms 2s497ms 05 1 1s191ms 1s191ms 06 6 7s949ms 1s324ms 08 1 1s281ms 1s281ms 13 1 1s343ms 1s343ms 20 1 1s881ms 1s881ms Oct 26 06 1 1s900ms 1s900ms 08 1 6s252ms 6s252ms 09 3 5s117ms 1s705ms 10 1 6s93ms 6s93ms 11 4 15s14ms 3s753ms 13 1 1s363ms 1s363ms 20 1 1s908ms 1s908ms 21 1 3s271ms 3s271ms 23 1 1s334ms 1s334ms [ User: pubeu - Total duration: 3m6s - Times executed: 92 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1395038'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-10-26 08:20:40 Duration: 6s252ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1395038'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-10-22 14:49:57 Duration: 6s192ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1395038'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-10-23 09:05:25 Duration: 6s185ms Bind query: yes
10 155 5m25s 1s2ms 5s405ms 2s98ms select e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, ( select string_agg(distinct stressorterm.nm || ? || ( select cd from object_type where id = stressorterm.object_type_id) || ? || stressorterm.nm_html || ? || stressorterm.acc_txt || ? || stressorterm.acc_db_cd, ?)) as stressoragents, ( select string_agg(distinct coalesce(receptorterm.nm, ?) || ? || coalesce(( select cd from object_type where id = receptorterm.object_type_id), ?) || ? || coalesce(receptorterm.nm_html, ?) || ? || coalesce(receptorterm.acc_txt, ?) || ? || coalesce(receptorterm.acc_db_cd, ?) || ? || receptor.description, ?)) as receptors, ( select string_agg(distinct country.nm, ?)) as studycountries, ( select string_agg(distinct location.locality_txt, ?)) as localities, ( select string_agg(distinct event.medium_nm || ? || coalesce(event.medium_term_acc_txt, ?), ?)) as assaymediums, ( select string_agg(distinct exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd, ?)) as assayedmarkers, ( select string_agg(distinct diseaseterm.nm || ? || ( select cd from object_type where id = diseaseterm.object_type_id) || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd, ?)) as diseases, ( select string_agg(distinct phenotypeterm.nm || ? || ( select cd from object_type where id = phenotypeterm.object_type_id) || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd, ?)) as phenotypes, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, re.author_summary summary, count(*) over () fullrowcount from exposure e inner join reference r on e.reference_id = r.id inner join exp_stressor stressor on e.exp_stressor_id = stressor.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join term receptorterm on receptor.term_id = receptorterm.id left outer join exp_event event on e.exp_event_id = event.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join exp_event_location location on e.exp_event_id = location.exp_event_id left outer join country on location.country_id = country.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id inner join reference_exp re on e.reference_id = re.reference_id left outer join exp_study_factor expstudyfactor on re.id = expstudyfactor.reference_exp_id where e.reference_id = any (array ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like ?) and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressoragents limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Oct 20 00 4 7s643ms 1s910ms 06 1 1s278ms 1s278ms 08 1 3s680ms 3s680ms 09 3 4s225ms 1s408ms 10 1 1s115ms 1s115ms 11 1 1s622ms 1s622ms 12 2 3s143ms 1s571ms 16 2 2s615ms 1s307ms 17 1 1s692ms 1s692ms 18 1 2s788ms 2s788ms 21 1 1s74ms 1s74ms Oct 21 00 1 1s589ms 1s589ms 03 1 1s725ms 1s725ms 09 1 1s712ms 1s712ms 10 1 1s622ms 1s622ms 11 2 6s778ms 3s389ms 15 1 1s794ms 1s794ms 16 2 3s128ms 1s564ms 17 1 1s638ms 1s638ms 18 2 8s61ms 4s30ms 19 1 2s851ms 2s851ms 21 1 1s625ms 1s625ms 22 3 3s823ms 1s274ms 23 6 10s568ms 1s761ms Oct 22 00 8 9s967ms 1s245ms 02 2 2s194ms 1s97ms 04 1 1s532ms 1s532ms 13 2 3s186ms 1s593ms 14 1 5s150ms 5s150ms 18 5 15s52ms 3s10ms 19 1 1s593ms 1s593ms 20 3 5s297ms 1s765ms Oct 23 01 8 16s318ms 2s39ms 02 2 3s669ms 1s834ms 03 1 1s292ms 1s292ms 07 2 3s474ms 1s737ms 08 2 3s65ms 1s532ms 09 9 28s136ms 3s126ms 10 2 2s160ms 1s80ms 11 1 1s740ms 1s740ms 12 1 1s2ms 1s2ms 13 7 9s500ms 1s357ms 14 1 1s726ms 1s726ms 19 3 5s144ms 1s714ms 22 3 7s985ms 2s661ms 23 5 13s376ms 2s675ms Oct 24 01 1 1s537ms 1s537ms 04 1 1s699ms 1s699ms 05 1 1s623ms 1s623ms 08 1 1s589ms 1s589ms 09 1 5s177ms 5s177ms 10 1 1s542ms 1s542ms 11 3 4s106ms 1s368ms 12 1 5s282ms 5s282ms 17 3 8s386ms 2s795ms 18 3 12s12ms 4s4ms 19 1 1s716ms 1s716ms Oct 25 01 1 1s825ms 1s825ms 05 1 2s595ms 2s595ms 06 1 2s614ms 2s614ms 08 5 9s234ms 1s846ms 09 2 2s736ms 1s368ms 13 1 1s836ms 1s836ms Oct 26 00 1 1s654ms 1s654ms 01 1 1s521ms 1s521ms 04 1 1s571ms 1s571ms 07 1 1s436ms 1s436ms 08 2 6s942ms 3s471ms 10 1 5s193ms 5s193ms 11 5 15s384ms 3s76ms 14 1 1s566ms 1s566ms 16 1 1s89ms 1s89ms 20 1 1s755ms 1s755ms 21 1 1s332ms 1s332ms [ User: pubeu - Total duration: 2m34s - Times executed: 77 ]
-
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 = '1395038') 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 = '1395038') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-10-23 09:05:20 Duration: 5s405ms 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 = '1395038') 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 = '1395038') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-10-23 09:04:35 Duration: 5s337ms 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 = '1395038') 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 = '1395038') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-10-24 12:45:01 Duration: 5s282ms Bind query: yes
11 139 10m26s 1s4ms 6s211ms 4s503ms 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 Oct 20 00 1 1s32ms 1s32ms 01 1 5s116ms 5s116ms 04 2 6s257ms 3s128ms 05 1 5s186ms 5s186ms 09 1 5s632ms 5s632ms 10 7 37s321ms 5s331ms 11 1 1s13ms 1s13ms 13 2 10s425ms 5s212ms 15 1 5s345ms 5s345ms 22 2 2s35ms 1s17ms 23 3 15s692ms 5s230ms Oct 21 00 1 5s293ms 5s293ms 03 4 18s236ms 4s559ms 07 1 6s101ms 6s101ms 09 1 1s36ms 1s36ms 11 3 11s502ms 3s834ms 13 2 10s992ms 5s496ms 16 1 1s35ms 1s35ms 17 2 10s629ms 5s314ms 18 4 23s310ms 5s827ms 19 1 1s24ms 1s24ms Oct 22 02 1 1s261ms 1s261ms 03 1 1s30ms 1s30ms 06 2 10s734ms 5s367ms 07 2 6s298ms 3s149ms 08 2 6s389ms 3s194ms 09 4 21s49ms 5s262ms 15 1 1s14ms 1s14ms 23 1 5s142ms 5s142ms Oct 23 02 4 21s173ms 5s293ms 04 1 5s296ms 5s296ms 05 1 1s56ms 1s56ms 06 3 16s195ms 5s398ms 07 1 1s16ms 1s16ms 08 5 26s704ms 5s340ms 09 1 5s378ms 5s378ms 11 2 11s203ms 5s601ms 13 1 1s32ms 1s32ms 14 1 1s30ms 1s30ms 17 1 5s289ms 5s289ms 19 2 10s696ms 5s348ms 23 2 6s73ms 3s36ms Oct 24 02 2 10s431ms 5s215ms 07 1 5s629ms 5s629ms 08 1 5s311ms 5s311ms 09 2 10s698ms 5s349ms 17 1 5s528ms 5s528ms 22 3 16s696ms 5s565ms Oct 25 00 1 5s226ms 5s226ms 04 3 11s476ms 3s825ms 07 9 49s73ms 5s452ms 08 1 1s14ms 1s14ms 09 2 6s307ms 3s153ms 10 1 1s14ms 1s14ms 12 4 16s713ms 4s178ms 13 1 1s33ms 1s33ms 16 1 5s335ms 5s335ms 17 1 1s40ms 1s40ms 21 9 48s69ms 5s341ms 22 2 10s755ms 5s377ms 23 1 5s314ms 5s314ms Oct 26 00 1 5s242ms 5s242ms 07 1 1s11ms 1s11ms 10 1 5s317ms 5s317ms 12 3 16s492ms 5s497ms 15 1 5s306ms 5s306ms 19 1 5s315ms 5s315ms 21 4 21s367ms 5s341ms [ User: pubeu - Total duration: 4m7s - Times executed: 55 ]
-
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 = '1424337' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-10-21 18:34:50 Duration: 6s211ms 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 = '1424337' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-10-21 18:34:44 Duration: 6s196ms 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 = '1271565' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-10-21 07:14:58 Duration: 6s101ms Bind query: yes
12 117 7m31s 1s23ms 12s675ms 3s855ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Oct 20 04 2 12s159ms 6s79ms 05 1 1s43ms 1s43ms 07 2 2s89ms 1s44ms 09 4 25s801ms 6s450ms 10 1 2s643ms 2s643ms 11 1 1s224ms 1s224ms 12 1 1s67ms 1s67ms 16 1 10s297ms 10s297ms 17 1 1s37ms 1s37ms 18 1 11s811ms 11s811ms 21 1 11s626ms 11s626ms 23 2 4s322ms 2s161ms Oct 21 00 1 10s183ms 10s183ms 06 4 25s401ms 6s350ms 07 2 6s78ms 3s39ms 09 2 6s171ms 3s85ms 11 1 4s911ms 4s911ms 12 1 2s646ms 2s646ms 13 4 17s232ms 4s308ms 14 3 9s200ms 3s66ms 16 2 3s111ms 1s555ms 17 1 1s30ms 1s30ms 20 1 1s202ms 1s202ms 23 1 11s760ms 11s760ms Oct 22 00 1 1s311ms 1s311ms 02 1 1s66ms 1s66ms 04 2 3s682ms 1s841ms 13 1 1s53ms 1s53ms 15 2 11s592ms 5s796ms 16 1 1s316ms 1s316ms 18 1 1s549ms 1s549ms 22 3 12s578ms 4s192ms Oct 23 02 1 1s23ms 1s23ms 06 1 2s575ms 2s575ms 09 4 16s741ms 4s185ms 10 1 10s565ms 10s565ms 11 2 15s363ms 7s681ms 13 3 7s979ms 2s659ms 14 2 3s490ms 1s745ms 17 1 2s728ms 2s728ms 20 1 10s488ms 10s488ms 21 1 2s169ms 2s169ms 22 1 1s205ms 1s205ms Oct 24 01 3 7s916ms 2s638ms 03 1 1s205ms 1s205ms 05 3 6s250ms 2s83ms 07 1 2s617ms 2s617ms 09 1 10s430ms 10s430ms 11 2 4s279ms 2s139ms 14 3 26s677ms 8s892ms 17 1 10s483ms 10s483ms 19 1 6s627ms 6s627ms 20 1 1s264ms 1s264ms 22 1 2s786ms 2s786ms 23 1 2s70ms 2s70ms Oct 25 06 1 1s99ms 1s99ms 07 1 2s708ms 2s708ms 08 5 20s590ms 4s118ms 09 1 4s261ms 4s261ms 10 1 1s359ms 1s359ms 14 2 15s736ms 7s868ms 18 2 2s609ms 1s304ms 19 1 2s692ms 2s692ms 20 1 1s278ms 1s278ms Oct 26 03 3 5s77ms 1s692ms 05 2 4s620ms 2s310ms 06 1 1s386ms 1s386ms 07 1 4s650ms 4s650ms 09 2 3s973ms 1s986ms 13 1 1s143ms 1s143ms 14 1 1s255ms 1s255ms 16 1 1s490ms 1s490ms [ User: pubeu - Total duration: 3m20s - Times executed: 53 ]
-
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 = '2081060') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-10-24 14:48:42 Duration: 12s675ms 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 = '2081060') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-10-24 14:48:48 Duration: 12s664ms 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 = '2081060') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-10-20 18:57:19 Duration: 11s811ms Bind query: yes
13 113 2m35s 1s312ms 1s489ms 1s376ms select t.nm, t.nm_html nmhtml, t.secondary_nm secondarynm, t.acc_txt acc, ? || t.nm accquerystr, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, t.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term t where t.object_type_id = ? and regexp_replace(upper(substring(t.nm, ?, ?)), ?, ?) = ? order by t.nm_sort limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Oct 20 00 1 1s421ms 1s421ms 03 1 1s318ms 1s318ms 05 2 2s772ms 1s386ms 06 1 1s312ms 1s312ms 08 1 1s406ms 1s406ms 09 1 1s369ms 1s369ms 10 1 1s324ms 1s324ms 11 1 1s329ms 1s329ms 14 1 1s341ms 1s341ms 18 1 1s316ms 1s316ms 22 2 2s813ms 1s406ms 23 1 1s422ms 1s422ms Oct 21 01 2 2s774ms 1s387ms 02 1 1s318ms 1s318ms 03 1 1s350ms 1s350ms 04 1 1s385ms 1s385ms 05 3 4s92ms 1s364ms 06 2 2s742ms 1s371ms 07 2 2s700ms 1s350ms 08 2 2s774ms 1s387ms 10 1 1s404ms 1s404ms 11 1 1s352ms 1s352ms 14 1 1s420ms 1s420ms 17 1 1s370ms 1s370ms 22 2 2s813ms 1s406ms Oct 22 04 1 1s384ms 1s384ms 05 2 2s776ms 1s388ms 08 3 4s235ms 1s411ms 10 1 1s409ms 1s409ms 16 1 1s357ms 1s357ms 17 2 2s732ms 1s366ms 19 1 1s394ms 1s394ms Oct 23 00 1 1s372ms 1s372ms 02 1 1s400ms 1s400ms 04 1 1s399ms 1s399ms 05 2 2s756ms 1s378ms 07 1 1s432ms 1s432ms 08 1 1s424ms 1s424ms 09 2 2s765ms 1s382ms 10 2 2s814ms 1s407ms 11 2 2s768ms 1s384ms 12 1 1s314ms 1s314ms 14 1 1s364ms 1s364ms 15 2 2s737ms 1s368ms 17 1 1s354ms 1s354ms 23 1 1s372ms 1s372ms Oct 24 00 1 1s357ms 1s357ms 01 5 6s826ms 1s365ms 03 2 2s716ms 1s358ms 05 2 2s727ms 1s363ms 07 1 1s390ms 1s390ms 09 1 1s404ms 1s404ms 13 2 2s723ms 1s361ms 14 1 1s361ms 1s361ms 19 2 2s717ms 1s358ms 21 1 1s386ms 1s386ms 22 1 1s395ms 1s395ms Oct 25 00 1 1s353ms 1s353ms 01 1 1s365ms 1s365ms 03 1 1s373ms 1s373ms 05 3 4s117ms 1s372ms 07 1 1s365ms 1s365ms 08 1 1s385ms 1s385ms 13 1 1s374ms 1s374ms 20 1 1s363ms 1s363ms 23 1 1s368ms 1s368ms Oct 26 00 2 2s749ms 1s374ms 02 2 2s740ms 1s370ms 04 1 1s408ms 1s408ms 05 2 2s746ms 1s373ms 06 1 1s317ms 1s317ms 07 1 1s398ms 1s398ms 08 6 8s348ms 1s391ms 14 2 2s798ms 1s399ms 18 1 1s352ms 1s352ms 20 1 1s397ms 1s397ms [ User: pubeu - Total duration: 1m1s - Times executed: 45 ]
-
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-10-26 08:22:58 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-10-23 07:39:38 Duration: 1s432ms 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-10-23 10:04:15 Duration: 1s431ms Bind query: yes
14 95 11m11s 1s69ms 1m6s 7s71ms 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 #14
Day Hour Count Duration Avg duration Oct 20 01 2 16s792ms 8s396ms 05 1 1s69ms 1s69ms 06 1 1s952ms 1s952ms 07 1 2s153ms 2s153ms 10 1 14s224ms 14s224ms 12 1 14s766ms 14s766ms 22 2 3s105ms 1s552ms Oct 21 02 1 1s70ms 1s70ms 03 5 17s153ms 3s430ms 04 1 2s119ms 2s119ms 07 1 2s 2s 13 2 25s198ms 12s599ms 14 8 5m5s 38s143ms 17 1 1s448ms 1s448ms 20 10 33s495ms 3s349ms Oct 22 04 1 2s99ms 2s99ms 16 1 2s19ms 2s19ms 20 1 4s501ms 4s501ms Oct 23 03 1 1s498ms 1s498ms 04 17 27s61ms 1s591ms 07 2 3s900ms 1s950ms 10 6 1m54s 19s66ms 14 1 1s889ms 1s889ms 15 1 1s896ms 1s896ms 16 1 1s978ms 1s978ms 20 1 11s457ms 11s457ms Oct 24 01 3 5s265ms 1s755ms 14 1 2s212ms 2s212ms 15 1 1s939ms 1s939ms 20 1 3s75ms 3s75ms 22 3 6s466ms 2s155ms Oct 25 03 1 2s15ms 2s15ms 05 1 13s217ms 13s217ms 14 2 3s805ms 1s902ms 17 1 2s93ms 2s93ms 18 1 3s719ms 3s719ms 23 1 1s176ms 1s176ms Oct 26 06 7 10s874ms 1s553ms 22 1 1s564ms 1s564ms [ User: pubeu - Total duration: 6m50s - Times executed: 50 ]
-
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 = '2075804') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-10-21 14:34:24 Duration: 1m6s 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 = '2075804') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-10-21 14:19:17 Duration: 1m6s 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 = '2075804') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-10-21 14:58:46 Duration: 1m5s Database: ctdprd51 User: pubeu Bind query: yes
15 82 10m39s 1s61ms 23s369ms 7s797ms select sq.*, count(*) over () fullrowcount from ( select distinct gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid from dag_node gt inner join gene_go_annot gga on gt.object_id = gga.go_term_id inner join term g on gga.gene_id = g.id where gt.id in ( select p.descendant_dag_node_id from dag_path p where p.ancestor_object_id = ?) and gga.is_not = false) sq order by sq.gonmsort, sq.genesymbolsort;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Oct 20 12 4 35s610ms 8s902ms Oct 21 01 4 35s104ms 8s776ms 02 4 34s936ms 8s734ms 03 4 36s60ms 9s15ms 12 1 1s332ms 1s332ms Oct 22 11 1 1s72ms 1s72ms 12 1 1s61ms 1s61ms 14 4 35s85ms 8s771ms Oct 23 03 1 1s70ms 1s70ms 08 5 58s767ms 11s753ms 15 3 26s657ms 8s885ms 16 4 35s105ms 8s776ms Oct 24 03 4 35s232ms 8s808ms 07 4 34s977ms 8s744ms 18 4 6s124ms 1s531ms Oct 25 02 1 1s79ms 1s79ms 03 4 35s445ms 8s861ms 09 4 5s265ms 1s316ms 17 8 1m11s 8s895ms Oct 26 00 4 34s646ms 8s661ms 14 8 1m11s 8s906ms 15 1 7s205ms 7s205ms 17 4 35s163ms 8s790ms [ User: pubeu - Total duration: 3m44s - Times executed: 26 ]
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1217863') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort;
Date: 2024-10-23 08:20:09 Duration: 23s369ms Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1259602') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort;
Date: 2024-10-21 03:57:33 Duration: 9s245ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1259602') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort;
Date: 2024-10-26 14:15:55 Duration: 9s202ms Database: ctdprd51 User: pubeu Bind query: yes
16 78 3m18s 1s16ms 5s366ms 2s547ms 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;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Oct 20 07 4 5s93ms 1s273ms 10 3 3s336ms 1s112ms 14 1 1s31ms 1s31ms 17 1 1s547ms 1s547ms Oct 21 09 1 2s358ms 2s358ms 11 2 10s359ms 5s179ms 16 2 3s184ms 1s592ms 18 1 5s366ms 5s366ms 21 1 1s151ms 1s151ms 23 1 1s394ms 1s394ms Oct 22 00 5 5s696ms 1s139ms 02 2 2s292ms 1s146ms 12 1 2s273ms 2s273ms 18 2 10s391ms 5s195ms 20 5 11s115ms 2s223ms Oct 23 01 7 14s629ms 2s89ms 09 3 15s655ms 5s218ms 10 1 1s50ms 1s50ms 11 1 1s762ms 1s762ms 13 2 2s243ms 1s121ms 14 1 1s775ms 1s775ms 22 2 6s940ms 3s470ms Oct 24 08 1 1s568ms 1s568ms 09 1 5s89ms 5s89ms 11 1 1s311ms 1s311ms 12 4 20s486ms 5s121ms 17 2 6s641ms 3s320ms 18 3 12s59ms 4s19ms 19 1 1s747ms 1s747ms Oct 25 06 1 2s561ms 2s561ms 08 3 7s813ms 2s604ms 12 1 5s255ms 5s255ms Oct 26 00 4 6s975ms 1s743ms 08 2 6s832ms 3s416ms 11 1 5s293ms 5s293ms 16 4 4s420ms 1s105ms [ User: pubeu - Total duration: 42s987ms - Times executed: 16 ]
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1395038') 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 = '1395038') 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;
Date: 2024-10-21 18:50:02 Duration: 5s366ms 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 = '1395038') 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 = '1395038') 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;
Date: 2024-10-23 09:04:03 Duration: 5s304ms 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 = '1395038') 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 = '1395038') 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;
Date: 2024-10-26 11:36:22 Duration: 5s293ms Database: ctdprd51 User: pubeu Bind query: yes
17 60 4m23s 1s30ms 17s727ms 4s392ms 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 #17
Day Hour Count Duration Avg duration Oct 20 04 1 1s238ms 1s238ms 05 1 1s407ms 1s407ms 06 2 14s728ms 7s364ms 16 1 2s556ms 2s556ms 18 1 2s577ms 2s577ms 19 1 4s979ms 4s979ms 23 1 2s597ms 2s597ms Oct 21 07 1 1s425ms 1s425ms 08 1 2s74ms 2s74ms 12 1 10s303ms 10s303ms 13 1 1s240ms 1s240ms 14 1 2s105ms 2s105ms 15 1 4s328ms 4s328ms Oct 22 04 1 2s583ms 2s583ms 08 1 1s209ms 1s209ms 11 1 2s287ms 2s287ms 13 1 10s388ms 10s388ms Oct 23 04 1 2s664ms 2s664ms 06 1 10s609ms 10s609ms 10 7 35s979ms 5s139ms 11 3 14s997ms 4s999ms 12 2 9s939ms 4s969ms 14 1 10s85ms 10s85ms 19 1 17s727ms 17s727ms 21 1 8s958ms 8s958ms Oct 24 05 1 4s948ms 4s948ms 06 1 5s33ms 5s33ms 07 1 5s153ms 5s153ms 11 1 10s614ms 10s614ms 12 1 1s632ms 1s632ms 23 1 2s532ms 2s532ms Oct 25 03 1 1s233ms 1s233ms 13 1 5s10ms 5s10ms 17 1 1s275ms 1s275ms 18 7 9s382ms 1s340ms 23 3 3s142ms 1s47ms Oct 26 06 1 1s324ms 1s324ms 09 1 10s474ms 10s474ms 12 1 5s438ms 5s438ms 16 1 2s526ms 2s526ms 17 1 1s369ms 1s369ms 21 1 13s474ms 13s474ms [ User: pubeu - Total duration: 1m59s - Times executed: 23 ]
-
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 = '2087165') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2279150;
Date: 2024-10-23 19:28:09 Duration: 17s727ms 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 = '2080828') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1775050;
Date: 2024-10-26 21:35:32 Duration: 13s474ms 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 = '2087863') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 350;
Date: 2024-10-24 11:56:55 Duration: 10s614ms Database: ctdprd51 User: pubeu Bind query: yes
18 52 1m15s 1s55ms 3s193ms 1s451ms select fg.nm fromgenesymbol, fg.acc_txt fromgeneacc, tg.nm togenesymbol, tg.acc_txt togeneacc, ft.nm fromtaxonnm, ft.secondary_nm fromtaxoncommonnm, ft.acc_txt fromtaxonacc, tt.nm totaxonnm, tt.secondary_nm totaxoncommonnm, tt.acc_txt totaxonacc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( select string_agg(ggt.throughput_txt, ? order by ggt.throughput_txt) from gene_gene_ref_throughput ggt where ggt.gene_gene_reference_id = ggr.id) throughput, count(*) over () fullrowcount from gene_gene_reference ggr inner join term fg on ggr.from_gene_id = fg.id inner join term tg on ggr.to_gene_id = tg.id inner join term ft on ggr.from_taxon_id = ft.id inner join term tt on ggr.to_taxon_id = tt.id where ggr.reference_id = ? order by fg.nm_sort, tg.nm_sort limit ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Oct 20 05 5 7s589ms 1s517ms 07 1 1s128ms 1s128ms 14 1 1s113ms 1s113ms 17 1 1s206ms 1s206ms 18 1 1s55ms 1s55ms Oct 21 00 2 2s385ms 1s192ms 01 1 1s316ms 1s316ms 05 5 7s739ms 1s547ms Oct 22 05 3 4s489ms 1s496ms 13 1 1s285ms 1s285ms Oct 23 03 1 1s350ms 1s350ms 04 1 1s353ms 1s353ms 05 6 8s562ms 1s427ms 16 1 1s163ms 1s163ms Oct 24 04 1 1s281ms 1s281ms 05 4 5s853ms 1s463ms 06 1 1s215ms 1s215ms 07 1 1s71ms 1s71ms 13 2 4s477ms 2s238ms 22 1 1s310ms 1s310ms Oct 25 04 1 1s219ms 1s219ms 05 4 6s666ms 1s666ms 22 1 1s58ms 1s58ms Oct 26 01 2 4s360ms 2s180ms 05 4 5s232ms 1s308ms [ User: pubeu - Total duration: 13s807ms - Times executed: 11 ]
[ User: qaeu - Total duration: 4s209ms - Times executed: 3 ]
-
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-10-24 13:37:10 Duration: 3s193ms 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 = '186380' ORDER BY fg.nm_sort, tg.nm_sort LIMIT 50;
Date: 2024-10-26 01:48:09 Duration: 3s176ms 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-10-25 05:38:08 Duration: 2s47ms Bind query: yes
19 44 1m45s 1s13ms 3s443ms 2s403ms with recursive sub_node ( object_id, id, path, lvl ) as ( select n.object_id, n.id, array[n.nm_sort], ? from dag_node n where n.object_id = ? union all select n.object_id, n.id, cast(path || n.nm_sort as varchar(?)[]), sn.lvl + ? from dag_node n inner join sub_node sn on (n.parent_id = sn.id)) select distinct t.nm prinm, t.nm_html prinmhtml, t.secondary_nm secondarynm, t.acc_db_cd accdbcd, t.acc_txt termacc, t.is_leaf isleaf, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, t.has_genes hasgenes, sn.lvl, sn.path, max(sn.lvl) over () maxlvl, t.has_phenotypes hasphenotypes from sub_node sn inner join term t on sn.object_id = t.id where sn.lvl <= ? order by sn.path;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Oct 20 04 1 2s427ms 2s427ms 05 4 8s870ms 2s217ms 20 1 1s957ms 1s957ms Oct 21 05 4 8s905ms 2s226ms 06 1 3s333ms 3s333ms 07 2 6s561ms 3s280ms 08 1 1s918ms 1s918ms Oct 22 05 4 8s858ms 2s214ms 06 1 3s277ms 3s277ms 18 2 6s621ms 3s310ms Oct 23 04 3 10s110ms 3s370ms 05 4 8s889ms 2s222ms Oct 24 05 4 8s813ms 2s203ms 08 1 2s1ms 2s1ms 17 1 1s907ms 1s907ms Oct 25 04 1 1s884ms 1s884ms 05 4 8s687ms 2s171ms 21 1 1s893ms 1s893ms Oct 26 05 4 8s818ms 2s204ms [ User: pubeu - Total duration: 36s545ms - Times executed: 12 ]
[ User: qaeu - Total duration: 23s638ms - 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 = '593015' 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-10-21 05:35:12 Duration: 3s443ms 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 = '593015' 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-10-23 05:40:12 Duration: 3s410ms 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 = '593015' 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-10-22 05:35:13 Duration: 3s403ms Database: ctdprd51 User: pubeu Bind query: yes
20 42 2m39s 1s158ms 8s762ms 3s797ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where ptr.ixn_id = any (array (( select ixn_id from ixn_anatomy where anatomy_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?)))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Oct 20 10 4 8s423ms 2s105ms 14 4 31s308ms 7s827ms 15 4 11s67ms 2s766ms Oct 21 00 4 29s747ms 7s436ms 15 3 3s619ms 1s206ms Oct 22 00 5 30s 6s Oct 23 00 4 11s446ms 2s861ms 07 1 1s358ms 1s358ms 16 2 5s445ms 2s722ms Oct 24 04 5 13s777ms 2s755ms Oct 25 02 2 2s358ms 1s179ms 14 4 10s930ms 2s732ms [ User: pubeu - Total duration: 54s885ms - Times executed: 12 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.ixn_id = ANY (ARRAY (( select ixn_id from ixn_anatomy where anatomy_id in ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2092637')))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort;
Date: 2024-10-20 14:01:29 Duration: 8s762ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.ixn_id = ANY (ARRAY (( select ixn_id from ixn_anatomy where anatomy_id in ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2092637')))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort;
Date: 2024-10-20 14:01:23 Duration: 7s590ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.ixn_id = ANY (ARRAY (( select ixn_id from ixn_anatomy where anatomy_id in ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2092637')))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort;
Date: 2024-10-20 14:01:27 Duration: 7s539ms Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 23m46s 23m46s 23m46s 1 23m46s 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 Oct 26 19 1 23m46s 23m46s -
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-10-26 19:00:44 Duration: 23m46s
2 23m44s 23m44s 23m44s 1 23m44s 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 Oct 26 19 1 23m44s 23m44s -
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-10-26 19:43:21 Duration: 23m44s
3 17m54s 19m6s 18m40s 7 2h10m41s select maint_query_logs_archive ();Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Oct 20 00 1 17m54s 17m54s Oct 21 00 1 18m38s 18m38s Oct 22 00 1 18m39s 18m39s Oct 23 00 1 18m56s 18m56s Oct 24 00 1 18m37s 18m37s Oct 25 00 1 19m6s 19m6s Oct 26 00 1 18m49s 18m49s -
/* * 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-10-25 00:19:08 Duration: 19m6s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-10-23 00:18:57 Duration: 18m56s
-
/* * 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-10-26 00:18:51 Duration: 18m49s
4 6m56s 6m56s 6m56s 1 6m56s copy pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Oct 26 19 1 6m56s 6m56s -
COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-10-26 19:12:36 Duration: 6m56s
5 6m48s 6m48s 6m48s 1 6m48s 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 Oct 26 19 1 6m48s 6m48s -
COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-10-26 19:55:02 Duration: 6m48s
6 2m23s 2m27s 2m25s 3 7m15s select distinct viachemptr.via_term_id, viageneptr.via_term_id, viachemptr.phenotype_id, viachemptr.term_id from pub1.phenotype_term_reference viachemptr # ?, pub1.phenotype_term_reference viageneptr # ? where viachemptr.term_id = viageneptr.term_id # ? and viachemptr.term_object_type_id = ? # ? and viachemptr.phenotype_id = viageneptr.phenotype_id # ? and viachemptr.via_term_object_type_id = ? # ? and viageneptr.via_term_object_type_id = ? # ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Oct 22 14 1 2m27s 2m27s 15 2 4m47s 2m23s -
SELECT distinct viaChemPTR.via_term_id, -- chem #015 viaGenePTR.via_term_id, -- gene #015 viaChemPTR.phenotype_id, -- phenotype #015 viaChemPTR.term_id -- disease #015 FROM pub1.PHENOTYPE_TERM_REFERENCE viaChemPTR # 015, pub1.PHENOTYPE_TERM_REFERENCE viaGenePTR # 015 WHERE viaChemPTR.term_id = viaGenePTR.term_id # 015 AND viaChemPTR.term_object_type_id = 3 # 015 AND viaChemPTR.phenotype_id = viaGenePTR.phenotype_id # 015 AND viaChemPTR.via_term_object_type_id = 2 # 015 AND viaGenePTR.via_term_object_type_id = 4 # 015;
Date: 2024-10-22 14:48:05 Duration: 2m27s Bind query: yes
-
SELECT distinct viaChemPTR.via_term_id, -- chem #015 viaGenePTR.via_term_id, -- gene #015 viaChemPTR.phenotype_id, -- phenotype #015 viaChemPTR.term_id -- disease #015 FROM pub1.PHENOTYPE_TERM_REFERENCE viaChemPTR # 015, pub1.PHENOTYPE_TERM_REFERENCE viaGenePTR # 015 WHERE viaChemPTR.term_id = viaGenePTR.term_id # 015 AND viaChemPTR.term_object_type_id = 3 # 015 AND viaChemPTR.phenotype_id = viaGenePTR.phenotype_id # 015 AND viaChemPTR.via_term_object_type_id = 2 # 015 AND viaGenePTR.via_term_object_type_id = 4 # 015;
Date: 2024-10-22 15:07:12 Duration: 2m24s Bind query: yes
-
SELECT distinct viaChemPTR.via_term_id, -- chem #015 viaGenePTR.via_term_id, -- gene #015 viaChemPTR.phenotype_id, -- phenotype #015 viaChemPTR.term_id -- disease #015 FROM pub1.PHENOTYPE_TERM_REFERENCE viaChemPTR # 015, pub1.PHENOTYPE_TERM_REFERENCE viaGenePTR # 015 WHERE viaChemPTR.term_id = viaGenePTR.term_id # 015 AND viaChemPTR.term_object_type_id = 3 # 015 AND viaChemPTR.phenotype_id = viaGenePTR.phenotype_id # 015 AND viaChemPTR.via_term_object_type_id = 2 # 015 AND viaGenePTR.via_term_object_type_id = 4 # 015;
Date: 2024-10-22 15:39:42 Duration: 2m23s Bind query: yes
7 35s155ms 36s963ms 36s160ms 25 15m4s 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 #7
Day Hour Count Duration Avg duration Oct 20 06 1 35s331ms 35s331ms 10 1 35s480ms 35s480ms 14 1 35s374ms 35s374ms 18 1 35s155ms 35s155ms Oct 21 06 1 35s732ms 35s732ms 10 1 35s625ms 35s625ms 14 1 36s18ms 36s18ms 18 1 35s634ms 35s634ms Oct 22 06 1 36s81ms 36s81ms 10 1 36s5ms 36s5ms 14 1 36s67ms 36s67ms 18 1 36s157ms 36s157ms Oct 23 06 1 36s335ms 36s335ms 10 1 36s963ms 36s963ms 14 1 36s245ms 36s245ms 18 1 36s173ms 36s173ms Oct 24 06 1 36s440ms 36s440ms 10 1 36s582ms 36s582ms 14 1 36s663ms 36s663ms 18 1 36s423ms 36s423ms Oct 25 06 1 36s870ms 36s870ms 10 1 36s664ms 36s664ms 14 1 36s538ms 36s538ms 18 1 36s940ms 36s940ms Oct 26 19 1 36s516ms 36s516ms [ User: postgres - Total duration: 14m27s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 14m27s - 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-10-23 10:05:38 Duration: 36s963ms 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-10-25 18:05:39 Duration: 36s940ms 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-10-25 06:05:38 Duration: 36s870ms Database: ctdprd51 User: postgres Application: pg_dump
8 1s617ms 58s921ms 33s458ms 16 8m55s select ? "Input", c.nm "ChemicalName", c.acc_txt "ChemicalID", c.secondary_nm "CasRN", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", ( select string_agg(stm.slim_term_nm, ? order by stm.slim_term_nm) from slim_term_mapping stm where stm.mapped_term_id = d.id) "DiseaseCategories", string_agg(cdr.source_acc_txt, ? order by cdr.source_acc_txt) "OmimIDs", string_agg(distinct r.acc_txt, ?) "PubMedIDs", case when cdr.via_gene_id is null then ( select string_agg(a.action_type_nm, ?) from chem_disease_axn a where a.chem_id = cdr.chem_id and a.disease_id = cdr.disease_id) else null end "DirectEvidence", g.nm "InferenceGeneSymbol", cdr.network_score "InferenceScore" from chem_disease_reference cdr inner join term c on cdr.chem_id = c.id inner join term d on cdr.disease_id = d.id left outer join reference r on cdr.reference_id = r.id left outer join term g on cdr.via_gene_id = g.id where cdr.chem_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) group by c.nm, c.nm_sort, c.acc_txt, c.secondary_nm, d.id, d.nm, d.nm_sort, d.acc_txt, d.acc_db_cd, g.nm, case when cdr.via_gene_id is null then ( select string_agg(a.action_type_nm, ?) from chem_disease_axn a where a.chem_id = cdr.chem_id and a.disease_id = cdr.disease_id) else null end, g.nm, cdr.network_score order by c.nm_sort, d.nm_sort, "DirectEvidence", g.nm;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Oct 22 03 10 5m56s 35s621ms 04 2 59s467ms 29s733ms Oct 23 23 4 1m59s 29s914ms [ User: pubeu - Total duration: 3m4s - Times executed: 9 ]
-
SELECT /* BatchChemDiseaseAssnsDAO */ 'organic chemicals' "Input", c.nm "ChemicalName", c.acc_txt "ChemicalID", c.secondary_nm "CasRN", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", STRING_AGG(cdr.source_acc_txt, '|' ORDER BY cdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs", CASE WHEN cdr.via_gene_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cdr.chem_id AND a.disease_id = cdr.disease_id) ELSE NULL END "DirectEvidence", g.nm "InferenceGeneSymbol", cdr.network_score "InferenceScore" FROM chem_disease_reference cdr INNER JOIN term c ON cdr.chem_id = c.id INNER JOIN term d ON cdr.disease_id = d.id LEFT OUTER JOIN reference r ON cdr.reference_id = r.id LEFT OUTER JOIN term g ON cdr.via_gene_id = g.id WHERE cdr.chem_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 1395038) GROUP BY c.nm, c.nm_sort, c.acc_txt, c.secondary_nm, d.id, d.nm, d.nm_sort, d.acc_txt, d.acc_db_cd, g.nm, CASE WHEN cdr.via_gene_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cdr.chem_id AND a.disease_id = cdr.disease_id) ELSE NULL END, g.nm, cdr.network_score ORDER BY c.nm_sort, d.nm_sort, "DirectEvidence", g.nm;
Date: 2024-10-22 03:43:35 Duration: 58s921ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchChemDiseaseAssnsDAO */ 'organic chemicals' "Input", c.nm "ChemicalName", c.acc_txt "ChemicalID", c.secondary_nm "CasRN", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", STRING_AGG(cdr.source_acc_txt, '|' ORDER BY cdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs", CASE WHEN cdr.via_gene_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cdr.chem_id AND a.disease_id = cdr.disease_id) ELSE NULL END "DirectEvidence", g.nm "InferenceGeneSymbol", cdr.network_score "InferenceScore" FROM chem_disease_reference cdr INNER JOIN term c ON cdr.chem_id = c.id INNER JOIN term d ON cdr.disease_id = d.id LEFT OUTER JOIN reference r ON cdr.reference_id = r.id LEFT OUTER JOIN term g ON cdr.via_gene_id = g.id WHERE cdr.chem_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 1395038) GROUP BY c.nm, c.nm_sort, c.acc_txt, c.secondary_nm, d.id, d.nm, d.nm_sort, d.acc_txt, d.acc_db_cd, g.nm, CASE WHEN cdr.via_gene_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cdr.chem_id AND a.disease_id = cdr.disease_id) ELSE NULL END, g.nm, cdr.network_score ORDER BY c.nm_sort, d.nm_sort, "DirectEvidence", g.nm;
Date: 2024-10-22 03:41:52 Duration: 58s496ms Bind query: yes
-
SELECT /* BatchChemDiseaseAssnsDAO */ 'organic chemicals' "Input", c.nm "ChemicalName", c.acc_txt "ChemicalID", c.secondary_nm "CasRN", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", STRING_AGG(cdr.source_acc_txt, '|' ORDER BY cdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs", CASE WHEN cdr.via_gene_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cdr.chem_id AND a.disease_id = cdr.disease_id) ELSE NULL END "DirectEvidence", g.nm "InferenceGeneSymbol", cdr.network_score "InferenceScore" FROM chem_disease_reference cdr INNER JOIN term c ON cdr.chem_id = c.id INNER JOIN term d ON cdr.disease_id = d.id LEFT OUTER JOIN reference r ON cdr.reference_id = r.id LEFT OUTER JOIN term g ON cdr.via_gene_id = g.id WHERE cdr.chem_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 1395038) GROUP BY c.nm, c.nm_sort, c.acc_txt, c.secondary_nm, d.id, d.nm, d.nm_sort, d.acc_txt, d.acc_db_cd, g.nm, CASE WHEN cdr.via_gene_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cdr.chem_id AND a.disease_id = cdr.disease_id) ELSE NULL END, g.nm, cdr.network_score ORDER BY c.nm_sort, d.nm_sort, "DirectEvidence", g.nm;
Date: 2024-10-22 03:47:13 Duration: 58s427ms Bind query: yes
9 1s802ms 52s55ms 16s647ms 41 11m22s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by gd.network_score nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Oct 20 06 1 17s565ms 17s565ms 09 1 17s128ms 17s128ms Oct 21 02 1 17s347ms 17s347ms 09 1 17s254ms 17s254ms 11 1 17s546ms 17s546ms Oct 22 02 2 8s939ms 4s469ms 09 1 16s750ms 16s750ms 17 1 17s305ms 17s305ms Oct 23 03 2 3s638ms 1s819ms 10 3 51s843ms 17s281ms 11 1 17s623ms 17s623ms 16 1 16s967ms 16s967ms 19 1 17s371ms 17s371ms Oct 24 07 1 15s509ms 15s509ms 11 1 15s514ms 15s514ms 12 1 15s494ms 15s494ms 17 1 15s500ms 15s500ms 22 1 16s144ms 16s144ms Oct 25 05 9 3m51s 25s669ms 14 1 16s687ms 16s687ms 17 1 16s941ms 16s941ms 18 1 16s826ms 16s826ms 23 1 1s811ms 1s811ms Oct 26 00 1 17s70ms 17s70ms 03 1 16s671ms 16s671ms 05 1 17s136ms 17s136ms 07 1 13s482ms 13s482ms 11 1 1s830ms 1s830ms 18 1 17s621ms 17s621ms [ User: pubeu - Total duration: 6m53s - Times executed: 20 ]
-
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 = '2084852') ORDER BY gd.network_score NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-10-25 05:01:31 Duration: 52s55ms 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 = '2084852') ORDER BY gd.network_score NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-10-25 05:01:29 Duration: 50s493ms 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 = '2084852') ORDER BY gd.network_score NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-10-25 05:01:31 Duration: 49s216ms Database: ctdprd51 User: pubeu Bind query: yes
10 1s15ms 16s105ms 13s407ms 34 7m35s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Oct 20 06 1 15s58ms 15s58ms 09 1 15s778ms 15s778ms Oct 21 00 1 1s15ms 1s15ms 02 1 15s140ms 15s140ms 09 1 12s744ms 12s744ms 11 1 15s162ms 15s162ms 15 1 12s506ms 12s506ms 23 1 15s266ms 15s266ms Oct 22 00 1 15s291ms 15s291ms 09 1 15s166ms 15s166ms 17 1 15s207ms 15s207ms 18 1 15s185ms 15s185ms Oct 23 10 2 29s295ms 14s647ms 11 1 15s258ms 15s258ms 19 1 15s734ms 15s734ms Oct 24 03 1 15s271ms 15s271ms 07 3 20s369ms 6s789ms 11 1 13s797ms 13s797ms 12 1 14s805ms 14s805ms 14 1 14s646ms 14s646ms 17 1 14s937ms 14s937ms 22 1 13s159ms 13s159ms Oct 25 05 1 4s412ms 4s412ms 14 1 14s771ms 14s771ms 17 1 16s16ms 16s16ms 18 1 14s924ms 14s924ms Oct 26 05 1 14s595ms 14s595ms 08 1 14s976ms 14s976ms 18 1 14s973ms 14s973ms 20 2 30s379ms 15s189ms [ User: pubeu - Total duration: 3m12s - Times executed: 14 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2085976') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-10-24 07:33:17 Duration: 16s105ms 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 = '2086663') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-10-25 17:42:26 Duration: 16s16ms 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 = '2080716') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-10-20 09:17:15 Duration: 15s778ms Database: ctdprd51 User: pubeu Bind query: yes
11 1s61ms 23s369ms 7s797ms 82 10m39s select sq.*, count(*) over () fullrowcount from ( select distinct gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid from dag_node gt inner join gene_go_annot gga on gt.object_id = gga.go_term_id inner join term g on gga.gene_id = g.id where gt.id in ( select p.descendant_dag_node_id from dag_path p where p.ancestor_object_id = ?) and gga.is_not = false) sq order by sq.gonmsort, sq.genesymbolsort;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Oct 20 12 4 35s610ms 8s902ms Oct 21 01 4 35s104ms 8s776ms 02 4 34s936ms 8s734ms 03 4 36s60ms 9s15ms 12 1 1s332ms 1s332ms Oct 22 11 1 1s72ms 1s72ms 12 1 1s61ms 1s61ms 14 4 35s85ms 8s771ms Oct 23 03 1 1s70ms 1s70ms 08 5 58s767ms 11s753ms 15 3 26s657ms 8s885ms 16 4 35s105ms 8s776ms Oct 24 03 4 35s232ms 8s808ms 07 4 34s977ms 8s744ms 18 4 6s124ms 1s531ms Oct 25 02 1 1s79ms 1s79ms 03 4 35s445ms 8s861ms 09 4 5s265ms 1s316ms 17 8 1m11s 8s895ms Oct 26 00 4 34s646ms 8s661ms 14 8 1m11s 8s906ms 15 1 7s205ms 7s205ms 17 4 35s163ms 8s790ms [ User: pubeu - Total duration: 3m44s - Times executed: 26 ]
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1217863') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort;
Date: 2024-10-23 08:20:09 Duration: 23s369ms Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1259602') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort;
Date: 2024-10-21 03:57:33 Duration: 9s245ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1259602') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort;
Date: 2024-10-26 14:15:55 Duration: 9s202ms Database: ctdprd51 User: pubeu Bind query: yes
12 1s69ms 1m6s 7s71ms 95 11m11s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Oct 20 01 2 16s792ms 8s396ms 05 1 1s69ms 1s69ms 06 1 1s952ms 1s952ms 07 1 2s153ms 2s153ms 10 1 14s224ms 14s224ms 12 1 14s766ms 14s766ms 22 2 3s105ms 1s552ms Oct 21 02 1 1s70ms 1s70ms 03 5 17s153ms 3s430ms 04 1 2s119ms 2s119ms 07 1 2s 2s 13 2 25s198ms 12s599ms 14 8 5m5s 38s143ms 17 1 1s448ms 1s448ms 20 10 33s495ms 3s349ms Oct 22 04 1 2s99ms 2s99ms 16 1 2s19ms 2s19ms 20 1 4s501ms 4s501ms Oct 23 03 1 1s498ms 1s498ms 04 17 27s61ms 1s591ms 07 2 3s900ms 1s950ms 10 6 1m54s 19s66ms 14 1 1s889ms 1s889ms 15 1 1s896ms 1s896ms 16 1 1s978ms 1s978ms 20 1 11s457ms 11s457ms Oct 24 01 3 5s265ms 1s755ms 14 1 2s212ms 2s212ms 15 1 1s939ms 1s939ms 20 1 3s75ms 3s75ms 22 3 6s466ms 2s155ms Oct 25 03 1 2s15ms 2s15ms 05 1 13s217ms 13s217ms 14 2 3s805ms 1s902ms 17 1 2s93ms 2s93ms 18 1 3s719ms 3s719ms 23 1 1s176ms 1s176ms Oct 26 06 7 10s874ms 1s553ms 22 1 1s564ms 1s564ms [ User: pubeu - Total duration: 6m50s - Times executed: 50 ]
-
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 = '2075804') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-10-21 14:34:24 Duration: 1m6s 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 = '2075804') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-10-21 14:19:17 Duration: 1m6s 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 = '2075804') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-10-21 14:58:46 Duration: 1m5s Database: ctdprd51 User: pubeu Bind query: yes
13 1s4ms 6s211ms 4s503ms 139 10m26s select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Oct 20 00 1 1s32ms 1s32ms 01 1 5s116ms 5s116ms 04 2 6s257ms 3s128ms 05 1 5s186ms 5s186ms 09 1 5s632ms 5s632ms 10 7 37s321ms 5s331ms 11 1 1s13ms 1s13ms 13 2 10s425ms 5s212ms 15 1 5s345ms 5s345ms 22 2 2s35ms 1s17ms 23 3 15s692ms 5s230ms Oct 21 00 1 5s293ms 5s293ms 03 4 18s236ms 4s559ms 07 1 6s101ms 6s101ms 09 1 1s36ms 1s36ms 11 3 11s502ms 3s834ms 13 2 10s992ms 5s496ms 16 1 1s35ms 1s35ms 17 2 10s629ms 5s314ms 18 4 23s310ms 5s827ms 19 1 1s24ms 1s24ms Oct 22 02 1 1s261ms 1s261ms 03 1 1s30ms 1s30ms 06 2 10s734ms 5s367ms 07 2 6s298ms 3s149ms 08 2 6s389ms 3s194ms 09 4 21s49ms 5s262ms 15 1 1s14ms 1s14ms 23 1 5s142ms 5s142ms Oct 23 02 4 21s173ms 5s293ms 04 1 5s296ms 5s296ms 05 1 1s56ms 1s56ms 06 3 16s195ms 5s398ms 07 1 1s16ms 1s16ms 08 5 26s704ms 5s340ms 09 1 5s378ms 5s378ms 11 2 11s203ms 5s601ms 13 1 1s32ms 1s32ms 14 1 1s30ms 1s30ms 17 1 5s289ms 5s289ms 19 2 10s696ms 5s348ms 23 2 6s73ms 3s36ms Oct 24 02 2 10s431ms 5s215ms 07 1 5s629ms 5s629ms 08 1 5s311ms 5s311ms 09 2 10s698ms 5s349ms 17 1 5s528ms 5s528ms 22 3 16s696ms 5s565ms Oct 25 00 1 5s226ms 5s226ms 04 3 11s476ms 3s825ms 07 9 49s73ms 5s452ms 08 1 1s14ms 1s14ms 09 2 6s307ms 3s153ms 10 1 1s14ms 1s14ms 12 4 16s713ms 4s178ms 13 1 1s33ms 1s33ms 16 1 5s335ms 5s335ms 17 1 1s40ms 1s40ms 21 9 48s69ms 5s341ms 22 2 10s755ms 5s377ms 23 1 5s314ms 5s314ms Oct 26 00 1 5s242ms 5s242ms 07 1 1s11ms 1s11ms 10 1 5s317ms 5s317ms 12 3 16s492ms 5s497ms 15 1 5s306ms 5s306ms 19 1 5s315ms 5s315ms 21 4 21s367ms 5s341ms [ User: pubeu - Total duration: 4m7s - Times executed: 55 ]
-
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 = '1424337' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-10-21 18:34:50 Duration: 6s211ms 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 = '1424337' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-10-21 18:34:44 Duration: 6s196ms 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 = '1271565' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-10-21 07:14:58 Duration: 6s101ms Bind query: yes
14 1s30ms 17s727ms 4s392ms 60 4m23s 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 #14
Day Hour Count Duration Avg duration Oct 20 04 1 1s238ms 1s238ms 05 1 1s407ms 1s407ms 06 2 14s728ms 7s364ms 16 1 2s556ms 2s556ms 18 1 2s577ms 2s577ms 19 1 4s979ms 4s979ms 23 1 2s597ms 2s597ms Oct 21 07 1 1s425ms 1s425ms 08 1 2s74ms 2s74ms 12 1 10s303ms 10s303ms 13 1 1s240ms 1s240ms 14 1 2s105ms 2s105ms 15 1 4s328ms 4s328ms Oct 22 04 1 2s583ms 2s583ms 08 1 1s209ms 1s209ms 11 1 2s287ms 2s287ms 13 1 10s388ms 10s388ms Oct 23 04 1 2s664ms 2s664ms 06 1 10s609ms 10s609ms 10 7 35s979ms 5s139ms 11 3 14s997ms 4s999ms 12 2 9s939ms 4s969ms 14 1 10s85ms 10s85ms 19 1 17s727ms 17s727ms 21 1 8s958ms 8s958ms Oct 24 05 1 4s948ms 4s948ms 06 1 5s33ms 5s33ms 07 1 5s153ms 5s153ms 11 1 10s614ms 10s614ms 12 1 1s632ms 1s632ms 23 1 2s532ms 2s532ms Oct 25 03 1 1s233ms 1s233ms 13 1 5s10ms 5s10ms 17 1 1s275ms 1s275ms 18 7 9s382ms 1s340ms 23 3 3s142ms 1s47ms Oct 26 06 1 1s324ms 1s324ms 09 1 10s474ms 10s474ms 12 1 5s438ms 5s438ms 16 1 2s526ms 2s526ms 17 1 1s369ms 1s369ms 21 1 13s474ms 13s474ms [ User: pubeu - Total duration: 1m59s - Times executed: 23 ]
-
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 = '2087165') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2279150;
Date: 2024-10-23 19:28:09 Duration: 17s727ms 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 = '2080828') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1775050;
Date: 2024-10-26 21:35:32 Duration: 13s474ms 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 = '2087863') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 350;
Date: 2024-10-24 11:56:55 Duration: 10s614ms Database: ctdprd51 User: pubeu Bind query: yes
15 3s770ms 16s480ms 4s11ms 743 49m40s select coalesce(st.alt_nm, t.nm) slimtermnm, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.curated_reference_qty > ?) curatedcount, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.indirect_gene_qty > ?) inferredcount from slim_term st inner join term t on st.slim_term_id = t.id where st.slim_id = ? order by ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Oct 20 01 2 7s804ms 3s902ms 03 3 11s794ms 3s931ms 05 1 4s569ms 4s569ms 09 1 3s858ms 3s858ms 10 2 7s853ms 3s926ms 11 8 31s460ms 3s932ms 12 1 3s845ms 3s845ms 13 4 16s282ms 4s70ms 14 1 3s922ms 3s922ms 15 1 3s868ms 3s868ms 16 4 15s702ms 3s925ms Oct 21 00 4 16s800ms 4s200ms 01 8 31s607ms 3s950ms 02 21 1m23s 3s973ms 03 14 56s981ms 4s70ms 04 44 2m54s 3s974ms 05 50 3m19s 3s983ms 06 21 1m24s 4s10ms 07 11 43s943ms 3s994ms 08 23 1m32s 4s24ms 09 4 16s807ms 4s201ms 10 8 31s796ms 3s974ms 11 1 4s194ms 4s194ms 13 2 8s239ms 4s119ms 14 1 3s976ms 3s976ms 15 2 8s50ms 4s25ms 16 1 3s858ms 3s858ms 17 5 19s666ms 3s933ms 20 2 8s5ms 4s2ms 21 1 4s87ms 4s87ms 22 1 16s480ms 16s480ms 23 5 20s270ms 4s54ms Oct 22 00 4 17s964ms 4s491ms 01 4 15s979ms 3s994ms 02 2 7s994ms 3s997ms 03 7 27s810ms 3s972ms 04 6 24s190ms 4s31ms 05 10 39s425ms 3s942ms 07 4 15s862ms 3s965ms 08 7 27s784ms 3s969ms 09 3 11s706ms 3s902ms 10 4 15s809ms 3s952ms 11 2 11s632ms 5s816ms 12 3 11s908ms 3s969ms 13 7 27s418ms 3s916ms 14 7 27s285ms 3s897ms 15 1 5s998ms 5s998ms 16 2 7s813ms 3s906ms 17 1 4s11ms 4s11ms 19 1 3s873ms 3s873ms 20 2 7s762ms 3s881ms 22 1 3s914ms 3s914ms 23 25 1m38s 3s951ms Oct 23 00 18 1m10s 3s934ms 01 3 11s991ms 3s997ms 03 7 28s356ms 4s50ms 04 92 6m7s 3s996ms 05 8 31s603ms 3s950ms 06 2 8s207ms 4s103ms 07 2 7s753ms 3s876ms 08 3 11s942ms 3s980ms 09 14 56s263ms 4s18ms 10 9 37s446ms 4s160ms 11 3 11s946ms 3s982ms 12 1 3s892ms 3s892ms 13 1 4s694ms 4s694ms 14 4 15s703ms 3s925ms 17 1 3s794ms 3s794ms 19 1 4s102ms 4s102ms 21 2 7s756ms 3s878ms 22 12 47s205ms 3s933ms 23 9 35s876ms 3s986ms Oct 24 00 12 46s694ms 3s891ms 01 1 3s947ms 3s947ms 02 3 12s854ms 4s284ms 03 4 15s757ms 3s939ms 04 2 7s892ms 3s946ms 05 1 3s941ms 3s941ms 07 4 16s72ms 4s18ms 09 3 12s65ms 4s21ms 10 5 20s845ms 4s169ms 11 5 19s767ms 3s953ms 14 2 8s149ms 4s74ms 16 2 7s973ms 3s986ms 17 6 24s581ms 4s96ms 21 2 7s838ms 3s919ms 22 5 20s294ms 4s58ms 23 2 7s867ms 3s933ms Oct 25 01 1 4s140ms 4s140ms 02 6 23s857ms 3s976ms 03 12 47s71ms 3s922ms 04 26 1m41s 3s887ms 05 4 16s278ms 4s69ms 06 24 1m36s 4s17ms 07 4 16s83ms 4s20ms 08 4 15s754ms 3s938ms 09 1 3s983ms 3s983ms 10 1 3s977ms 3s977ms 11 1 3s995ms 3s995ms 16 1 4s90ms 4s90ms 18 6 23s232ms 3s872ms 19 9 35s303ms 3s922ms 20 9 35s142ms 3s904ms 21 2 8s340ms 4s170ms 22 1 4s224ms 4s224ms 23 1 3s846ms 3s846ms Oct 26 00 1 3s971ms 3s971ms 01 1 3s827ms 3s827ms 02 1 3s878ms 3s878ms 04 1 3s987ms 3s987ms 07 3 11s982ms 3s994ms 09 1 3s825ms 3s825ms 10 1 4s23ms 4s23ms 11 1 3s986ms 3s986ms 12 3 11s866ms 3s955ms 14 1 3s855ms 3s855ms 18 1 4s4ms 4s4ms 21 3 11s799ms 3s933ms 22 1 3s973ms 3s973ms [ User: pubeu - Total duration: 20m1s - Times executed: 300 ]
-
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 = '1395038') 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 = '1395038') 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-10-21 22:24:32 Duration: 16s480ms 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 = '1412398') 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 = '1412398') 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-10-22 11:29:09 Duration: 6s495ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1263173') 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 = '1263173') 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-10-22 15:55:36 Duration: 5s998ms Database: ctdprd51 User: pubeu Bind query: yes
16 1s23ms 12s675ms 3s855ms 117 7m31s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Oct 20 04 2 12s159ms 6s79ms 05 1 1s43ms 1s43ms 07 2 2s89ms 1s44ms 09 4 25s801ms 6s450ms 10 1 2s643ms 2s643ms 11 1 1s224ms 1s224ms 12 1 1s67ms 1s67ms 16 1 10s297ms 10s297ms 17 1 1s37ms 1s37ms 18 1 11s811ms 11s811ms 21 1 11s626ms 11s626ms 23 2 4s322ms 2s161ms Oct 21 00 1 10s183ms 10s183ms 06 4 25s401ms 6s350ms 07 2 6s78ms 3s39ms 09 2 6s171ms 3s85ms 11 1 4s911ms 4s911ms 12 1 2s646ms 2s646ms 13 4 17s232ms 4s308ms 14 3 9s200ms 3s66ms 16 2 3s111ms 1s555ms 17 1 1s30ms 1s30ms 20 1 1s202ms 1s202ms 23 1 11s760ms 11s760ms Oct 22 00 1 1s311ms 1s311ms 02 1 1s66ms 1s66ms 04 2 3s682ms 1s841ms 13 1 1s53ms 1s53ms 15 2 11s592ms 5s796ms 16 1 1s316ms 1s316ms 18 1 1s549ms 1s549ms 22 3 12s578ms 4s192ms Oct 23 02 1 1s23ms 1s23ms 06 1 2s575ms 2s575ms 09 4 16s741ms 4s185ms 10 1 10s565ms 10s565ms 11 2 15s363ms 7s681ms 13 3 7s979ms 2s659ms 14 2 3s490ms 1s745ms 17 1 2s728ms 2s728ms 20 1 10s488ms 10s488ms 21 1 2s169ms 2s169ms 22 1 1s205ms 1s205ms Oct 24 01 3 7s916ms 2s638ms 03 1 1s205ms 1s205ms 05 3 6s250ms 2s83ms 07 1 2s617ms 2s617ms 09 1 10s430ms 10s430ms 11 2 4s279ms 2s139ms 14 3 26s677ms 8s892ms 17 1 10s483ms 10s483ms 19 1 6s627ms 6s627ms 20 1 1s264ms 1s264ms 22 1 2s786ms 2s786ms 23 1 2s70ms 2s70ms Oct 25 06 1 1s99ms 1s99ms 07 1 2s708ms 2s708ms 08 5 20s590ms 4s118ms 09 1 4s261ms 4s261ms 10 1 1s359ms 1s359ms 14 2 15s736ms 7s868ms 18 2 2s609ms 1s304ms 19 1 2s692ms 2s692ms 20 1 1s278ms 1s278ms Oct 26 03 3 5s77ms 1s692ms 05 2 4s620ms 2s310ms 06 1 1s386ms 1s386ms 07 1 4s650ms 4s650ms 09 2 3s973ms 1s986ms 13 1 1s143ms 1s143ms 14 1 1s255ms 1s255ms 16 1 1s490ms 1s490ms [ User: pubeu - Total duration: 3m20s - Times executed: 53 ]
-
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 = '2081060') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-10-24 14:48:42 Duration: 12s675ms 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 = '2081060') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-10-24 14:48:48 Duration: 12s664ms 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 = '2081060') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-10-20 18:57:19 Duration: 11s811ms Bind query: yes
17 1s158ms 8s762ms 3s797ms 42 2m39s select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where ptr.ixn_id = any (array (( select ixn_id from ixn_anatomy where anatomy_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?)))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Oct 20 10 4 8s423ms 2s105ms 14 4 31s308ms 7s827ms 15 4 11s67ms 2s766ms Oct 21 00 4 29s747ms 7s436ms 15 3 3s619ms 1s206ms Oct 22 00 5 30s 6s Oct 23 00 4 11s446ms 2s861ms 07 1 1s358ms 1s358ms 16 2 5s445ms 2s722ms Oct 24 04 5 13s777ms 2s755ms Oct 25 02 2 2s358ms 1s179ms 14 4 10s930ms 2s732ms [ User: pubeu - Total duration: 54s885ms - Times executed: 12 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.ixn_id = ANY (ARRAY (( select ixn_id from ixn_anatomy where anatomy_id in ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2092637')))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort;
Date: 2024-10-20 14:01:29 Duration: 8s762ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.ixn_id = ANY (ARRAY (( select ixn_id from ixn_anatomy where anatomy_id in ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2092637')))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort;
Date: 2024-10-20 14:01:23 Duration: 7s590ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where ptr.ixn_id = ANY (ARRAY (( select ixn_id from ixn_anatomy where anatomy_id in ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2092637')))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort;
Date: 2024-10-20 14:01:27 Duration: 7s539ms Bind query: yes
18 1s 49s214ms 3s432ms 802 45m52s select ? "Input", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( select string_agg(stm.slim_term_nm, ? order by stm.slim_term_nm) from slim_term_mapping stm where stm.mapped_term_id = d.id) "DiseaseCategories", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(distinct r.acc_txt, ?) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id where (d.id = ?) group by g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by d.nm_sort, g.nm, "DirectEvidence", c.nm;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Oct 22 04 1 17s59ms 17s59ms 19 1 17s440ms 17s440ms Oct 24 04 14 33s619ms 2s401ms 08 2 4s767ms 2s383ms 09 70 3m57s 3s399ms 10 131 8m10s 3s742ms 11 170 9m29s 3s347ms 12 165 7m54s 2s877ms 13 137 6m37s 2s899ms 14 111 8m30s 4s600ms [ User: pubeu - Total duration: 8m53s - Times executed: 170 ]
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'd056486' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2076812) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2024-10-24 14:30:30 Duration: 49s214ms Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'd056486' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2076812) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2024-10-24 10:18:48 Duration: 49s100ms Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'd056486' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2076812) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2024-10-24 14:28:29 Duration: 49s22ms Bind query: yes
19 1s16ms 5s366ms 2s547ms 78 3m18s 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;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Oct 20 07 4 5s93ms 1s273ms 10 3 3s336ms 1s112ms 14 1 1s31ms 1s31ms 17 1 1s547ms 1s547ms Oct 21 09 1 2s358ms 2s358ms 11 2 10s359ms 5s179ms 16 2 3s184ms 1s592ms 18 1 5s366ms 5s366ms 21 1 1s151ms 1s151ms 23 1 1s394ms 1s394ms Oct 22 00 5 5s696ms 1s139ms 02 2 2s292ms 1s146ms 12 1 2s273ms 2s273ms 18 2 10s391ms 5s195ms 20 5 11s115ms 2s223ms Oct 23 01 7 14s629ms 2s89ms 09 3 15s655ms 5s218ms 10 1 1s50ms 1s50ms 11 1 1s762ms 1s762ms 13 2 2s243ms 1s121ms 14 1 1s775ms 1s775ms 22 2 6s940ms 3s470ms Oct 24 08 1 1s568ms 1s568ms 09 1 5s89ms 5s89ms 11 1 1s311ms 1s311ms 12 4 20s486ms 5s121ms 17 2 6s641ms 3s320ms 18 3 12s59ms 4s19ms 19 1 1s747ms 1s747ms Oct 25 06 1 2s561ms 2s561ms 08 3 7s813ms 2s604ms 12 1 5s255ms 5s255ms Oct 26 00 4 6s975ms 1s743ms 08 2 6s832ms 3s416ms 11 1 5s293ms 5s293ms 16 4 4s420ms 1s105ms [ User: pubeu - Total duration: 42s987ms - Times executed: 16 ]
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1395038') 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 = '1395038') 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;
Date: 2024-10-21 18:50:02 Duration: 5s366ms 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 = '1395038') 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 = '1395038') 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;
Date: 2024-10-23 09:04:03 Duration: 5s304ms 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 = '1395038') 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 = '1395038') 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;
Date: 2024-10-26 11:36:22 Duration: 5s293ms Database: ctdprd51 User: pubeu Bind query: yes
20 1s13ms 3s443ms 2s403ms 44 1m45s 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 #20
Day Hour Count Duration Avg duration Oct 20 04 1 2s427ms 2s427ms 05 4 8s870ms 2s217ms 20 1 1s957ms 1s957ms Oct 21 05 4 8s905ms 2s226ms 06 1 3s333ms 3s333ms 07 2 6s561ms 3s280ms 08 1 1s918ms 1s918ms Oct 22 05 4 8s858ms 2s214ms 06 1 3s277ms 3s277ms 18 2 6s621ms 3s310ms Oct 23 04 3 10s110ms 3s370ms 05 4 8s889ms 2s222ms Oct 24 05 4 8s813ms 2s203ms 08 1 2s1ms 2s1ms 17 1 1s907ms 1s907ms Oct 25 04 1 1s884ms 1s884ms 05 4 8s687ms 2s171ms 21 1 1s893ms 1s893ms Oct 26 05 4 8s818ms 2s204ms [ User: pubeu - Total duration: 36s545ms - Times executed: 12 ]
[ User: qaeu - Total duration: 23s638ms - 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 = '593015' 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-10-21 05:35:12 Duration: 3s443ms 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 = '593015' 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-10-23 05:40:12 Duration: 3s410ms 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 = '593015' 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-10-22 05:35:13 Duration: 3s403ms Database: ctdprd51 User: pubeu Bind query: yes
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 0ms 238 0ms 0ms 0ms ;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Oct 19 11 1 0ms 0ms Oct 20 06 8 0ms 0ms 07 8 0ms 0ms 08 4 0ms 0ms 10 2 0ms 0ms 11 2 0ms 0ms Oct 21 00 1 0ms 0ms 05 6 0ms 0ms 06 10 0ms 0ms 09 2 0ms 0ms 11 4 0ms 0ms 14 2 0ms 0ms Oct 22 05 8 0ms 0ms 06 6 0ms 0ms 09 2 0ms 0ms 10 4 0ms 0ms 15 2 0ms 0ms Oct 23 00 1 0ms 0ms 07 2 0ms 0ms 08 2 0ms 0ms 09 2 0ms 0ms 11 4 0ms 0ms 14 2 0ms 0ms 15 6 0ms 0ms 21 2 0ms 0ms Oct 24 00 1 0ms 0ms 06 2 0ms 0ms 08 2 0ms 0ms 09 30 0ms 0ms 10 10 0ms 0ms 12 4 0ms 0ms 13 2 0ms 0ms 14 12 0ms 0ms 20 2 0ms 0ms Oct 25 03 1 0ms 0ms 06 9 0ms 0ms 07 33 0ms 0ms 10 3 0ms 0ms 11 6 0ms 0ms 13 6 0ms 0ms 14 12 0ms 0ms 15 3 0ms 0ms 18 3 0ms 0ms 23 3 0ms 0ms Oct 27 00 1 0ms 0ms [ User: pubeu - Total duration: 3m45s - Times executed: 99 ]
[ User: qaeu - Total duration: 2s754ms - Times executed: 2 ]
-
;
Date: Duration: 0ms Database: postgres User: ctdprd51 Remote: pubeu parameters: $1 = '1433169', $2 = '1433169', $3 = 'chem%'
-
Events
Log levels
Key values
- 114,877 Log entries
Events distribution
Key values
- 0 PANIC entries
- 1 FATAL entries
- 31 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 22 Max number of times the same event was reported
- 32 Total events found
Rank Times reported Error 1 22 ERROR: syntax error in ts"..."
Times Reported Most Frequent Error / Event #1
Day Hour Count Oct 20 09 1 17 1 Oct 21 08 2 09 2 11 1 15 1 Oct 22 11 1 Oct 23 12 1 15 1 Oct 24 03 1 14 1 15 1 17 1 18 3 20 1 21 1 Oct 25 18 1 Oct 26 21 1 - ERROR: syntax error in ts"多压 & 287期 & (推荐<鸡-32>本期敢赌.路 | 推荐<鸡32>本期敢赌.路)"
- ERROR: syntax error in ts"2851527643 & <2851527643@QQ.COM>"
- ERROR: syntax error in ts"17 & . & ZHANG & P, & YU & J, & LI & J, & ET & AL. & CLINICAL & AND & PROGNOSTIC & VALUE & OF & PET/CT & IMAGING & WITH & COMBINATION & OF & (<SUP>68</SUP>GA-DOTATATE | <SUP>68</SUP>GADOTATATE) & AND & (<SUP>18</SUP>F-FDG | <SUP>18</SUP>FFDG) & IN & GASTROENTEROPANCREATIC & NEUROENDOCRINE & NEOPLASMS. & CONTRAST & MEDIA & MOLECULAR & IMAGING. & 2018 & 2018 & 2340389. & DOI & 10.1155/2018/2340389. & PMID & 29681780 & PMCID & PMC5846381."
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 OR upper( l.acc_txt ) = $4 OR upper( l.acc_txt ) = $5 OR upper( l.acc_txt ) = $6 OR upper( l.acc_txt ) = $7 AND l.db_id = (SELECT id FROM db WHERE cd = $8) ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2024-10-20 09:59:18 Database: ctdprd51 Application: User: pubeu Remote:
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 OR upper( l.acc_txt ) = $4 OR upper( l.acc_txt ) = $5 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2024-10-20 17:59:52
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 OR upper( l.acc_txt ) = $4 OR upper( l.acc_txt ) = $5 OR upper( l.acc_txt ) = $6 OR upper( l.acc_txt ) = $7 OR upper( l.acc_txt ) = $8 OR upper( l.acc_txt ) = $9 OR upper( l.acc_txt ) = $10 OR upper( l.acc_txt ) = $11 OR upper( l.acc_txt ) = $12 OR upper( l.acc_txt ) = $13 OR upper( l.acc_txt ) = $14 OR upper( l.acc_txt ) = $15 OR upper( l.acc_txt ) = $16 OR upper( l.acc_txt ) = $17 OR upper( l.acc_txt ) = $18 OR upper( l.acc_txt ) = $19 OR upper( l.acc_txt ) = $20 OR upper( l.acc_txt ) = $21 OR upper( l.acc_txt ) = $22 OR upper( l.acc_txt ) = $23 OR upper( l.acc_txt ) = $24 OR upper( l.acc_txt ) = $25 OR upper( l.acc_txt ) = $26 OR upper( l.acc_txt ) = $27 OR upper( l.acc_txt ) = $28 OR upper( l.acc_txt ) = $29 OR upper( l.acc_txt ) = $30 OR upper( l.acc_txt ) = $31 OR upper( l.acc_txt ) = $32 OR upper( l.acc_txt ) = $33 OR upper( l.acc_txt ) = $34 OR upper( l.acc_txt ) = $35 OR upper( l.acc_txt ) = $36 OR upper( l.acc_txt ) = $37 OR upper( l.acc_txt ) = $38 OR upper( l.acc_txt ) = $39 OR upper( l.acc_txt ) = $40 OR upper( l.acc_txt ) = $41 OR upper( l.acc_txt ) = $42 OR upper( l.acc_txt ) = $43 OR upper( l.acc_txt ) = $44 OR upper( l.acc_txt ) = $45 AND l.db_id = (SELECT id FROM db WHERE cd = $46) ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2024-10-21 08:14:27
2 4 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #2
Day Hour Count Oct 22 14 2 15 2 3 3 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #3
Day Hour Count Oct 20 06 2 Oct 21 05 1 - ERROR: duplicate key value violates unique constraint "ixn_action_pk"
Detail: Key (ixn_id, action_type_id, action_degree_type_id)=(8848010, 1, 1) already exists.
Context: SQL statement "INSERT INTO edit.ixn_action (ixn_id ,action_type_id ,action_degree_type_id ,position_seq ,create_by ,mod_by ,create_tm ,mod_tm ) VALUES (p_ixn_id ,p_action_type_id ,p_action_degree_type_id ,p_position_seq ,p_create_by ,p_mod_by ,p_create_tm ,p_mod_tm )" PL/pgSQL function ins_ixn_action(integer,integer,integer,smallint,character varying,character varying,timestamp without time zone,timestamp without time zone) line 9 at SQL statementPL/pgSQL function ins_ixn(integer,smallint,integer,character varying,character varying,integer,timestamp without time zone,timestamp without time zone) line 32 at RAISEPL/pgSQL function upd_ixn_root_id(integer,integer) line 14 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_action(integer,integer,integer,smallint,character varying,character varying,timestamp without time zone,timestamp without time zone) line 30 at RAISEPL/pgSQL function ins_ixn(integer,smallint,integer,character varying,character varying,integer,timestamp without time zone,timestamp without time zone) line 32 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_action(integer,integer,integer,smallint,character varying,character varying,timestamp without time zone,timestamp without time zone) line 30 at RAISE
Statement: select * from edit.ins_ixn_action($1, $2, $3, $4, $5, $6, $7, $8) as resultDate: 2024-10-20 06:57:31
4 1 LOG: could not send data to client: Connection reset by peer
Times Reported Most Frequent Error / Event #4
Day Hour Count Oct 22 14 1 - ERROR: could not send data to client: Connection reset by peer
Statement: SELECT gene_id #015 ,chem_id #015 ,acc_txt#015 FROM pub1.GENE_CHEM_REFERENCE transactionalReferenceTabler #015 LEFT OUTER JOIN pub1.REFERENCE r ON transactionalReferenceTabler.reference_id = r.id #015 #015
Date: 2024-10-22 14:05:45 Database: ctdprd51 Application: User: load Remote:
5 1 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #5
Day Hour Count Oct 22 14 1 - FATAL: connection to client lost
Statement: SELECT gene_id #015 ,chem_id #015 ,acc_txt#015 FROM pub1.GENE_CHEM_REFERENCE transactionalReferenceTabler #015 LEFT OUTER JOIN pub1.REFERENCE r ON transactionalReferenceTabler.reference_id = r.id #015 #015
Date: 2024-10-22 14:05:45
6 1 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #6
Day Hour Count Oct 22 14 1 - ERROR: syntax error at or near "here" at character 208
Statement: SELECT gene_id #015 ,disease_id #015 ,acc_txt#015 FROM pub1.GENE_DISEASE_REFERENCE transactionalReferenceTable #015 LEFT OUTER JOIN pub1.REFERENCE r ON transactionalReferenceTable.reference_id = r.id #015 here source_cd in ('C','O')#015
Date: 2024-10-22 14:07:53