-
Global information
- Generated on Sun Mar 24 04:15:11 2024
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20240323
- Parsed 850,773 log entries in 9s
- Log start from 2024-03-17 00:00:02 to 2024-03-23 23:59:20
-
Overview
Global Stats
- 243 Number of unique normalized queries
- 8,356 Number of queries
- 13h37m10s Total query duration
- 2024-03-17 00:00:30 First query
- 2024-03-23 23:54:30 Last query
- 16 queries/s at 2024-03-20 06:37:23 Query peak
- 13h37m10s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 13h37m10s Execute total duration
- 104 Number of events
- 11 Number of unique normalized events
- 39 Max number of times the same event was reported
- 0 Number of cancellation
- 24 Total number of automatic vacuums
- 127 Total number of automatic analyzes
- 0 Number temporary file
- 0 Max size of temporary file
- 0.00 B Average size of temporary file
- 91,736 Total number of sessions
- 104 sessions at 2024-03-20 06:37:11 Session peak
- 423d7h19m43s Total duration of sessions
- 6m38s Average duration of sessions
- 0 Average queries per session
- 534ms Average queries duration per session
- 6m38s Average idle time per session
- 91,736 Total number of connections
- 90 connections/s at 2024-03-23 03:02:57 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 16 queries/s Query Peak
- 2024-03-20 06:37:23 Date
SELECT Traffic
Key values
- 16 queries/s Query Peak
- 2024-03-20 06:37:22 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 6 queries/s Query Peak
- 2024-03-20 06:37:23 Date
Queries duration
Key values
- 13h37m10s 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) Mar 17 00 16 0ms 14m51s 59s46ms 4s968ms 5s384ms 14m56s 01 22 0ms 5s12ms 2s331ms 3s989ms 5s12ms 6s491ms 02 25 0ms 4s823ms 2s518ms 3s285ms 4s823ms 7s74ms 03 28 0ms 5s275ms 2s250ms 3s278ms 4s10ms 7s781ms 04 27 0ms 5s263ms 2s971ms 5s263ms 5s470ms 10s65ms 05 51 0ms 4s37ms 2s111ms 12s613ms 22s936ms 23s820ms 06 37 0ms 30s441ms 4s342ms 5s753ms 9s338ms 54s605ms 07 19 0ms 12s112ms 3s472ms 4s6ms 5s169ms 12s112ms 08 23 0ms 12s621ms 6s357ms 4s767ms 24s104ms 25s176ms 09 23 0ms 15s330ms 4s55ms 4s696ms 5s802ms 30s634ms 10 51 0ms 30s676ms 3s792ms 6s391ms 10s574ms 51s827ms 11 61 0ms 5s756ms 2s629ms 6s563ms 7s736ms 15s17ms 12 32 0ms 5s65ms 2s293ms 5s34ms 5s358ms 6s668ms 13 33 0ms 5s955ms 2s690ms 7s416ms 7s878ms 14s111ms 14 41 0ms 30s483ms 4s361ms 7s344ms 11s139ms 54s100ms 15 11 0ms 5s318ms 2s375ms 2s11ms 3s321ms 5s318ms 16 19 0ms 5s226ms 2s729ms 4s647ms 5s169ms 5s375ms 17 29 0ms 38s627ms 5s733ms 3s853ms 5s248ms 1m40s 18 21 0ms 30s541ms 5s720ms 3s997ms 8s294ms 51s936ms 19 19 0ms 5s308ms 2s137ms 3s318ms 4s205ms 5s308ms 20 35 0ms 5s149ms 2s175ms 3s359ms 6s63ms 12s98ms 21 33 0ms 5s207ms 2s501ms 4s440ms 5s332ms 11s438ms 22 27 0ms 12s176ms 3s150ms 5s306ms 6s60ms 30s534ms 23 11 0ms 7s197ms 3s766ms 5s198ms 5s530ms 7s197ms Mar 18 00 13 0ms 14m56s 1m11s 3s493ms 5s101ms 14m56s 01 17 0ms 3s961ms 1s848ms 2s871ms 3s378ms 7s58ms 02 17 0ms 4s196ms 2s264ms 2s819ms 5s344ms 8s577ms 03 9 0ms 3m36s 28s580ms 6s285ms 10s972ms 3m36s 04 15 0ms 43s843ms 6s57ms 3s995ms 5s495ms 50s17ms 05 61 0ms 19s126ms 3s78ms 13s647ms 19s261ms 37s933ms 06 27 0ms 30s529ms 5s588ms 5s571ms 16s273ms 51s842ms 07 15 0ms 17s151ms 4s296ms 3s161ms 7s166ms 18s965ms 08 44 0ms 6s864ms 3s7ms 5s600ms 9s11ms 11s647ms 09 42 0ms 5s312ms 2s878ms 5s457ms 7s101ms 10s471ms 10 127 0ms 30s813ms 3s177ms 10s740ms 14s775ms 51s890ms 11 113 0ms 5s253ms 2s472ms 8s683ms 10s984ms 14s783ms 12 60 0ms 5s284ms 2s433ms 5s539ms 7s661ms 18s578ms 13 78 0ms 5s405ms 2s454ms 6s920ms 9s725ms 11s131ms 14 55 0ms 30s528ms 3s794ms 5s141ms 11s870ms 54s192ms 15 59 0ms 11s318ms 2s754ms 7s574ms 9s817ms 14s611ms 16 77 0ms 17m15s 15s857ms 7s444ms 10s242ms 17m25s 17 58 0ms 7s976ms 2s702ms 7s237ms 10s363ms 14s151ms 18 52 0ms 30s636ms 3s920ms 8s640ms 14s241ms 37s121ms 19 54 0ms 5s156ms 2s699ms 6s548ms 7s402ms 9s585ms 20 38 0ms 5s242ms 2s773ms 6s71ms 7s397ms 8s716ms 21 20 0ms 4s77ms 2s133ms 3s205ms 3s476ms 4s77ms 22 27 0ms 11s908ms 2s932ms 5s866ms 7s948ms 11s908ms 23 22 0ms 6s674ms 2s741ms 3s389ms 5s297ms 7s650ms Mar 19 00 34 0ms 14m56s 28s977ms 5s272ms 7s480ms 14m56s 01 50 0ms 5s977ms 3s58ms 7s192ms 9s890ms 23s639ms 02 46 0ms 12s423ms 2s689ms 5s147ms 6s509ms 14s895ms 03 38 0ms 6s828ms 2s551ms 5s753ms 6s555ms 10s846ms 04 44 0ms 8s498ms 2s411ms 5s79ms 6s951ms 8s498ms 05 97 0ms 5s223ms 2s348ms 12s456ms 15s898ms 25s101ms 06 75 0ms 30s620ms 3s626ms 7s878ms 27s956ms 51s973ms 07 42 0ms 5s279ms 2s627ms 6s380ms 7s266ms 9s655ms 08 47 0ms 43s575ms 3s473ms 6s162ms 10s459ms 46s541ms 09 39 0ms 7s121ms 2s747ms 5s105ms 6s139ms 18s74ms 10 58 0ms 30s520ms 4s9ms 6s731ms 23s57ms 55s444ms 11 53 0ms 16s45ms 3s74ms 5s247ms 5s743ms 31s536ms 12 17 0ms 4s827ms 2s487ms 3s296ms 4s713ms 5s691ms 13 34 0ms 11s881ms 3s291ms 6s283ms 7s242ms 11s965ms 14 39 0ms 30s514ms 5s13ms 10s445ms 10s851ms 51s797ms 15 41 0ms 12s543ms 3s565ms 8s424ms 12s562ms 17s469ms 16 101 0ms 26s695ms 3s271ms 12s357ms 24s987ms 52s460ms 17 146 0ms 16m59s 9s585ms 13s403ms 18s459ms 17m19s 18 86 0ms 30s847ms 3s603ms 12s623ms 15s295ms 57s698ms 19 24 0ms 12s357ms 3s525ms 6s284ms 8s207ms 12s357ms 20 52 0ms 6s796ms 2s941ms 5s954ms 6s796ms 16s612ms 21 52 0ms 16m59s 22s38ms 5s246ms 8s177ms 17m3s 22 29 0ms 11s663ms 2s690ms 4s36ms 5s390ms 18s136ms 23 99 0ms 37s 4s862ms 34s726ms 44s712ms 2m31s Mar 20 00 164 0ms 15m 10s1ms 28s866ms 53s896ms 15m5s 01 130 0ms 4m28s 4s658ms 11s772ms 17s689ms 4m33s 02 89 0ms 12s298ms 2s707ms 9s82ms 10s482ms 31s128ms 03 55 0ms 32s501ms 5s939ms 18s972ms 40s248ms 45s853ms 04 67 0ms 20m23s 35s929ms 6s856ms 13s904ms 22m42s 05 206 0ms 8m43s 6s241ms 1m11s 1m35s 10m20s 06 111 0ms 31s81ms 7s883ms 37s572ms 2m21s 10m28s 07 359 0ms 1m37s 2s781ms 50s623ms 1m6s 2m13s 08 438 0ms 29s341ms 3s58ms 47s604ms 1m10s 1m50s 09 234 0ms 13s401ms 3s81ms 26s12ms 29s204ms 34s673ms 10 185 0ms 30s621ms 2s948ms 15s310ms 24s639ms 57s817ms 11 69 0ms 13s638ms 3s843ms 11s479ms 15s943ms 43s212ms 12 34 0ms 6s686ms 2s860ms 4s726ms 6s82ms 15s663ms 13 15 0ms 5s717ms 3s119ms 5s231ms 6s665ms 7s141ms 14 33 0ms 39s455ms 7s749ms 7s952ms 36s969ms 1m41s 15 35 0ms 5s305ms 3s238ms 8s379ms 8s581ms 10s245ms 16 25 0ms 12s665ms 2s986ms 3s868ms 5s198ms 12s665ms 17 24 0ms 25s325ms 3s584ms 4s839ms 5s243ms 28s542ms 18 33 0ms 37s137ms 7s444ms 6s765ms 37s129ms 1m41s 19 41 0ms 5s156ms 2s481ms 4s494ms 6s924ms 7s410ms 20 42 0ms 6s265ms 2s558ms 4s721ms 9s598ms 12s258ms 21 56 0ms 12s433ms 2s863ms 7s492ms 8s174ms 16s532ms 22 86 0ms 12s170ms 2s588ms 10s359ms 14s617ms 17s122ms 23 157 0ms 8m23s 6s643ms 23s236ms 46s167ms 8m34s Mar 21 00 32 0ms 14m59s 31s264ms 7s501ms 9s971ms 15m5s 01 21 0ms 12s616ms 4s5ms 5s272ms 7s972ms 15s803ms 02 31 0ms 5s379ms 2s941ms 5s65ms 6s378ms 11s626ms 03 51 0ms 12s142ms 3s350ms 8s356ms 13s646ms 20s9ms 04 67 0ms 8s330ms 2s995ms 9s993ms 15s198ms 27s653ms 05 177 0ms 19s664ms 3s371ms 27s161ms 32s861ms 1m29s 06 57 0ms 30s830ms 4s368ms 9s158ms 12s206ms 58s486ms 07 63 0ms 7s29ms 2s913ms 9s282ms 13s96ms 19s953ms 08 25 0ms 13s642ms 3s389ms 5s891ms 8s556ms 15s239ms 09 28 0ms 5s258ms 2s826ms 5s591ms 9s165ms 11s778ms 10 40 0ms 30s583ms 4s574ms 7s518ms 10s131ms 55s230ms 11 12 0ms 5s339ms 2s640ms 2s222ms 4s855ms 5s339ms 12 16 0ms 7s66ms 3s397ms 5s104ms 7s66ms 8s778ms 13 21 0ms 5s302ms 2s734ms 4s54ms 5s32ms 7s557ms 14 41 0ms 30s711ms 3s824ms 5s241ms 10s302ms 52s950ms 15 18 0ms 17m5s 59s860ms 5s50ms 5s241ms 17m5s 16 41 0ms 17m5s 28s76ms 8s267ms 12s428ms 17m5s 17 64 0ms 12s677ms 2s925ms 9s845ms 12s677ms 13s818ms 18 24 0ms 30s548ms 5s457ms 4s878ms 9s300ms 51s949ms 19 13 0ms 15s241ms 4s59ms 5s3ms 9s338ms 15s241ms 20 5 0ms 2s687ms 1s566ms 1s296ms 1s409ms 2s687ms 21 16 0ms 12s593ms 5s3ms 4s986ms 6s503ms 32s410ms 22 4 0ms 17s459ms 7s282ms 2s212ms 6s746ms 17s459ms 23 9 0ms 5s287ms 2s701ms 2s394ms 4s660ms 5s287ms Mar 22 00 16 0ms 14m53s 58s451ms 4s889ms 5s165ms 14m53s 01 14 0ms 16s843ms 4s705ms 4s19ms 4s213ms 37s266ms 02 14 0ms 14m6s 1m11s 23s884ms 40s271ms 14m6s 03 30 0ms 42s945ms 5s761ms 0ms 0ms 2m6s 04 0 0ms 0ms 0ms 0ms 0ms 0ms 05 218 0ms 11s490ms 2s371ms 27s653ms 35s384ms 42s410ms 06 259 0ms 30s735ms 2s769ms 22s312ms 32s213ms 1m2s 07 52 0ms 5s498ms 2s463ms 5s328ms 8s387ms 12s466ms 08 50 0ms 6s805ms 2s747ms 7s502ms 10s179ms 13s89ms 09 38 0ms 5s758ms 2s226ms 5s259ms 5s755ms 6s842ms 10 45 0ms 30s635ms 4s172ms 6s519ms 10s554ms 52s29ms 11 12 0ms 6s728ms 3s457ms 3s461ms 6s548ms 6s980ms 12 21 0ms 17s962ms 3s321ms 4s112ms 7s195ms 17s962ms 13 25 0ms 6s658ms 2s693ms 5s123ms 5s757ms 7s539ms 14 49 0ms 30s614ms 4s94ms 6s682ms 14s507ms 51s849ms 15 66 0ms 5s250ms 2s426ms 6s235ms 7s765ms 9s767ms 16 50 0ms 7s34ms 2s466ms 5s440ms 6s545ms 9s540ms 17 41 0ms 12s930ms 3s57ms 6s942ms 9s281ms 13s321ms 18 36 0ms 30s894ms 4s878ms 5s588ms 19s258ms 52s69ms 19 7 0ms 12s704ms 5s383ms 1s352ms 6s706ms 12s704ms 20 11 0ms 5s19ms 2s846ms 3s253ms 4s52ms 6s523ms 21 18 0ms 6s623ms 3s56ms 3s511ms 5s409ms 6s623ms 22 35 0ms 5s208ms 2s143ms 4s384ms 6s600ms 8s19ms 23 52 0ms 6s183ms 2s675ms 5s306ms 8s456ms 18s647ms Mar 23 00 46 0ms 14m58s 21s976ms 4s917ms 7s531ms 15m3s 01 38 0ms 40s98ms 5s789ms 7s597ms 39s462ms 41s253ms 02 8 0ms 40s8ms 10s720ms 7s560ms 12s364ms 40s8ms 03 44 0ms 6s699ms 2s603ms 5s220ms 6s699ms 33s313ms 04 16 0ms 40s659ms 9s583ms 4s231ms 38s605ms 40s659ms 05 50 0ms 6s391ms 2s351ms 8s366ms 13s729ms 24s370ms 06 15 0ms 6s718ms 2s811ms 3s891ms 6s718ms 7s973ms 07 10 0ms 5s203ms 2s987ms 3s546ms 4s445ms 6s422ms 08 32 0ms 6s799ms 2s389ms 5s313ms 6s386ms 13s101ms 09 24 0ms 17s536ms 3s129ms 5s495ms 6s714ms 17s536ms 10 16 0ms 6s675ms 2s506ms 3s289ms 4s683ms 6s675ms 11 16 0ms 12s859ms 3s877ms 5s699ms 6s438ms 12s859ms 12 10 0ms 6s546ms 2s944ms 2s80ms 5s71ms 6s546ms 13 10 0ms 6s688ms 2s390ms 2s268ms 3s254ms 6s688ms 14 16 0ms 12s192ms 3s306ms 4s899ms 6s711ms 12s192ms 15 6 0ms 5s314ms 1s880ms 1s159ms 1s271ms 5s314ms 16 8 0ms 4s951ms 2s331ms 1s613ms 1s970ms 9s730ms 17 8 0ms 12s248ms 5s122ms 5s91ms 8s127ms 12s248ms 18 35 0ms 23m5s 53s345ms 57s340ms 1m13s 23m7s 19 53 0ms 22m59s 1m2s 1m42s 6m53s 23m31s 20 4 0ms 6s363ms 3s403ms 1s259ms 3s70ms 6s363ms 21 9 0ms 11m 1m16s 4s111ms 6s331ms 11m 22 9 0ms 6s536ms 3s722ms 3s301ms 6s350ms 6s536ms 23 13 0ms 40s210ms 7s857ms 2s863ms 7s446ms 40s210ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 17 00 13 0 1m11s 2s 4s968ms 14m51s 01 21 0 2s306ms 2s697ms 3s635ms 5s727ms 02 20 0 2s406ms 2s231ms 2s847ms 4s823ms 03 22 0 2s176ms 2s204ms 3s14ms 4s10ms 04 22 0 3s14ms 2s267ms 5s236ms 10s65ms 05 44 0 2s84ms 2s1ms 12s613ms 23s820ms 06 20 10 4s715ms 2s856ms 5s202ms 52s47ms 07 17 0 3s591ms 1s722ms 4s6ms 12s108ms 08 20 0 6s893ms 2s237ms 4s767ms 24s156ms 09 20 0 4s263ms 2s254ms 4s696ms 5s951ms 10 31 10 4s59ms 3s399ms 6s389ms 37s118ms 11 48 0 2s684ms 5s195ms 6s114ms 7s874ms 12 17 0 2s69ms 1s403ms 3s92ms 5s65ms 13 29 0 2s727ms 2s394ms 5s243ms 14s111ms 14 25 9 4s708ms 2s385ms 6s490ms 36s926ms 15 10 0 2s280ms 1s119ms 1s946ms 5s318ms 16 14 0 2s740ms 2s44ms 2s230ms 5s169ms 17 26 0 6s15ms 2s43ms 3s853ms 6s392ms 18 12 9 5s720ms 1s202ms 3s997ms 51s936ms 19 16 0 2s55ms 1s894ms 2s231ms 5s308ms 20 28 0 2s57ms 2s89ms 3s237ms 7s183ms 21 27 0 2s473ms 3s64ms 4s374ms 5s800ms 22 24 0 3s128ms 2s74ms 4s 30s534ms 23 11 0 3s766ms 2s23ms 5s198ms 7s197ms Mar 18 00 12 0 1m16s 1s115ms 2s287ms 14m56s 01 14 0 1s690ms 0ms 1s546ms 7s58ms 02 16 0 2s257ms 0ms 2s819ms 5s685ms 03 9 0 28s580ms 0ms 6s285ms 3m36s 04 15 0 6s57ms 1s256ms 3s995ms 50s17ms 05 53 0 3s186ms 4s16ms 13s647ms 37s933ms 06 16 9 5s835ms 2s75ms 5s571ms 36s964ms 07 14 0 4s449ms 0ms 3s161ms 15s409ms 08 32 0 3s154ms 4s198ms 5s252ms 11s647ms 09 32 0 2s964ms 4s447ms 5s312ms 10s471ms 10 75 10 3s429ms 6s308ms 8s270ms 37s263ms 11 82 0 2s412ms 6s231ms 8s220ms 9s709ms 12 40 0 2s416ms 3s357ms 4s676ms 7s856ms 13 53 0 2s380ms 4s38ms 6s326ms 8s257ms 14 34 10 4s38ms 3s244ms 5s141ms 51s948ms 15 35 0 2s844ms 3s326ms 5s859ms 8s666ms 16 57 0 20s489ms 4s603ms 6s427ms 11s948ms 17 35 0 2s753ms 2s821ms 5s377ms 8s73ms 18 34 7 4s306ms 3s589ms 8s372ms 32s336ms 19 37 0 2s792ms 4s38ms 4s918ms 7s292ms 20 26 0 2s877ms 3s275ms 4s146ms 6s811ms 21 18 0 2s93ms 2s183ms 3s205ms 4s77ms 22 23 0 2s994ms 2s319ms 5s167ms 11s908ms 23 17 0 2s792ms 2s222ms 3s309ms 6s674ms Mar 19 00 26 0 36s970ms 2s248ms 4s44ms 7s998ms 01 39 0 3s190ms 3s296ms 6s484ms 8s239ms 02 34 0 2s779ms 2s941ms 5s70ms 8s202ms 03 25 0 2s585ms 2s840ms 3s399ms 9s52ms 04 33 0 2s372ms 2s605ms 4s465ms 8s498ms 05 81 0 2s319ms 5s278ms 12s456ms 22s915ms 06 49 10 3s869ms 4s498ms 7s878ms 37s58ms 07 32 0 2s679ms 3s252ms 5s221ms 7s997ms 08 40 0 3s623ms 4s959ms 5s555ms 43s575ms 09 31 0 2s757ms 3s538ms 5s12ms 12s333ms 10 34 10 4s516ms 4s2ms 6s731ms 52s174ms 11 43 0 3s159ms 3s316ms 5s164ms 16s45ms 12 15 0 2s436ms 2s152ms 2s850ms 4s827ms 13 28 0 3s389ms 4s110ms 6s283ms 11s965ms 14 24 10 5s405ms 5s50ms 10s445ms 51s797ms 15 39 0 3s596ms 4s861ms 8s424ms 13s375ms 16 82 0 3s413ms 7s632ms 10s356ms 37s719ms 17 107 0 12s158ms 9s646ms 10s961ms 18s459ms 18 61 9 3s824ms 7s28ms 9s880ms 37s603ms 19 20 0 3s744ms 3s390ms 6s284ms 12s357ms 20 44 0 3s22ms 4s829ms 5s541ms 6s796ms 21 41 0 27s276ms 3s174ms 5s225ms 14s570ms 22 24 0 2s679ms 2s240ms 4s36ms 18s136ms 23 85 0 5s86ms 12s947ms 34s726ms 2m8s Mar 20 00 132 0 11s590ms 15s819ms 27s619ms 3m46s 01 94 0 5s455ms 7s388ms 10s531ms 15s538ms 02 62 0 2s754ms 4s468ms 6s882ms 12s298ms 03 48 0 6s406ms 11s691ms 18s249ms 45s853ms 04 54 0 43s792ms 0ms 5s119ms 22m26s 05 160 0 7s145ms 25s148ms 1m 10m1s 06 82 10 7s922ms 0ms 37s572ms 8m50s 07 242 0 2s846ms 24s154ms 30s240ms 2m4s 08 301 0 3s221ms 27s822ms 36s492ms 1m2s 09 148 0 3s311ms 13s635ms 20s129ms 27s71ms 10 117 10 3s120ms 9s623ms 12s152ms 37s60ms 11 57 0 4s161ms 7s462ms 10s571ms 21s305ms 12 32 0 2s895ms 3s953ms 4s726ms 10s770ms 13 15 0 3s119ms 2s817ms 5s231ms 7s141ms 14 18 10 8s607ms 2s272ms 5s406ms 51s936ms 15 30 0 3s340ms 5s165ms 6s542ms 10s245ms 16 21 0 2s985ms 2s239ms 3s676ms 5s134ms 17 19 0 3s755ms 2s845ms 4s409ms 28s542ms 18 20 10 7s918ms 2s257ms 6s765ms 1m41s 19 35 0 2s446ms 3s805ms 4s355ms 7s410ms 20 38 0 2s548ms 3s245ms 4s721ms 11s51ms 21 44 0 2s942ms 4s902ms 5s303ms 8s205ms 22 70 0 2s565ms 5s504ms 8s300ms 16s754ms 23 137 0 7s205ms 14s721ms 23s236ms 1m45s Mar 21 00 26 0 37s740ms 4s46ms 7s501ms 15m 01 21 0 4s5ms 4s71ms 5s272ms 15s803ms 02 24 0 2s967ms 3s193ms 5s65ms 11s626ms 03 37 0 3s544ms 4s203ms 7s481ms 15s823ms 04 62 0 3s7ms 6s496ms 9s993ms 22s910ms 05 159 0 3s453ms 22s682ms 27s161ms 38s282ms 06 45 10 4s443ms 5s45ms 9s158ms 37s310ms 07 61 0 2s899ms 6s276ms 9s282ms 13s197ms 08 25 0 3s389ms 2s526ms 5s891ms 15s239ms 09 22 0 2s805ms 1s943ms 3s328ms 9s806ms 10 28 9 4s765ms 5s53ms 7s518ms 51s894ms 11 11 0 2s576ms 1s118ms 1s771ms 5s206ms 12 16 0 3s397ms 1s327ms 5s104ms 8s778ms 13 17 0 2s764ms 2s106ms 3s221ms 7s557ms 14 29 10 3s883ms 3s482ms 5s241ms 51s882ms 15 14 0 1m16s 2s269ms 5s48ms 17m5s 16 30 0 37s441ms 3s241ms 8s267ms 17m5s 17 46 0 3s56ms 4s990ms 8s343ms 12s677ms 18 14 10 5s457ms 1s983ms 4s878ms 51s949ms 19 12 0 4s223ms 2s110ms 5s3ms 15s241ms 20 5 0 1s566ms 0ms 1s296ms 2s687ms 21 16 0 5s3ms 2s85ms 4s986ms 32s410ms 22 4 0 7s282ms 0ms 2s212ms 17s459ms 23 9 0 2s701ms 0ms 2s394ms 5s287ms Mar 22 00 15 0 1m2s 1s377ms 4s145ms 14m53s 01 14 0 4s705ms 1s226ms 4s19ms 37s266ms 02 13 0 1m17s 5s94ms 23s884ms 14m6s 03 29 0 5s748ms 0ms 0ms 2m 04 0 0 0ms 0ms 0ms 0ms 05 153 0 2s264ms 12s943ms 20s634ms 37s568ms 06 180 10 2s812ms 11s57ms 18s37ms 37s203ms 07 31 0 2s397ms 2s783ms 5s75ms 6s621ms 08 42 0 2s752ms 4s7ms 5s37ms 10s425ms 09 27 0 2s85ms 2s57ms 3s240ms 5s758ms 10 27 10 4s560ms 3s216ms 6s519ms 37s119ms 11 11 0 3s550ms 0ms 3s461ms 6s728ms 12 20 0 3s323ms 2s333ms 3s909ms 7s280ms 13 23 0 2s741ms 2s178ms 5s123ms 6s658ms 14 35 10 4s238ms 4s242ms 5s251ms 37s79ms 15 54 0 2s420ms 4s655ms 5s456ms 8s552ms 16 41 0 2s442ms 3s571ms 5s333ms 7s34ms 17 30 0 3s282ms 3s242ms 6s942ms 12s930ms 18 20 9 5s440ms 2s843ms 5s588ms 52s69ms 19 6 0 5s922ms 0ms 1s173ms 12s704ms 20 11 0 2s846ms 1s254ms 3s253ms 6s523ms 21 14 0 3s217ms 2s220ms 3s510ms 6s623ms 22 30 0 2s70ms 2s355ms 4s35ms 8s19ms 23 39 0 2s746ms 3s360ms 5s274ms 18s647ms Mar 23 00 31 0 31s339ms 2s932ms 3s980ms 9s376ms 01 36 0 5s972ms 4s152ms 6s691ms 40s856ms 02 8 0 10s720ms 0ms 7s560ms 40s8ms 03 40 0 2s595ms 3s776ms 5s220ms 7s826ms 04 14 0 10s550ms 1s585ms 4s28ms 40s22ms 05 45 0 2s344ms 1s969ms 6s391ms 24s370ms 06 15 0 2s811ms 1s262ms 3s891ms 7s973ms 07 10 0 2s987ms 1s33ms 3s546ms 6s422ms 08 31 0 2s395ms 3s255ms 5s313ms 13s101ms 09 23 0 3s172ms 1s405ms 5s495ms 17s536ms 10 13 0 2s490ms 1s9ms 3s199ms 6s675ms 11 16 0 3s877ms 1s358ms 5s699ms 12s859ms 12 10 0 2s944ms 1s260ms 2s80ms 6s546ms 13 10 0 2s390ms 1s75ms 2s268ms 6s688ms 14 15 0 3s367ms 1s302ms 4s899ms 12s192ms 15 6 0 1s880ms 0ms 1s159ms 5s314ms 16 8 0 2s331ms 0ms 1s613ms 9s730ms 17 8 0 5s122ms 0ms 5s91ms 12s248ms 18 9 26 53s345ms 21s28ms 57s340ms 23m7s 19 9 44 1m2s 1m9s 1m42s 23m31s 20 4 0 3s403ms 0ms 1s259ms 6s363ms 21 9 0 1m16s 0ms 4s111ms 11m 22 9 0 3s722ms 0ms 3s301ms 6s536ms 23 13 0 7s857ms 1s207ms 2s863ms 40s210ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 17 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Mar 18 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Mar 19 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Mar 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 Mar 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 Mar 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 Mar 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 Day Hour Prepare Bind Bind/Prepare Percentage of prepare Mar 17 00 0 14 14.00 0.00% 01 0 22 22.00 0.00% 02 0 25 25.00 0.00% 03 0 28 28.00 0.00% 04 0 27 27.00 0.00% 05 0 51 51.00 0.00% 06 0 29 29.00 0.00% 07 0 22 22.00 0.00% 08 0 29 29.00 0.00% 09 0 24 24.00 0.00% 10 0 41 41.00 0.00% 11 0 61 61.00 0.00% 12 0 32 32.00 0.00% 13 0 33 33.00 0.00% 14 0 32 32.00 0.00% 15 0 11 11.00 0.00% 16 0 19 19.00 0.00% 17 0 29 29.00 0.00% 18 0 12 12.00 0.00% 19 0 19 19.00 0.00% 20 0 35 35.00 0.00% 21 0 33 33.00 0.00% 22 0 27 27.00 0.00% 23 0 11 11.00 0.00% Mar 18 00 0 11 11.00 0.00% 01 0 17 17.00 0.00% 02 0 17 17.00 0.00% 03 0 9 9.00 0.00% 04 0 15 15.00 0.00% 05 0 61 61.00 0.00% 06 0 21 21.00 0.00% 07 0 17 17.00 0.00% 08 0 44 44.00 0.00% 09 0 42 42.00 0.00% 10 0 120 120.00 0.00% 11 0 127 127.00 0.00% 12 0 61 61.00 0.00% 13 0 78 78.00 0.00% 14 0 45 45.00 0.00% 15 0 59 59.00 0.00% 16 0 80 80.00 0.00% 17 0 64 64.00 0.00% 18 0 52 52.00 0.00% 19 0 54 54.00 0.00% 20 0 38 38.00 0.00% 21 0 20 20.00 0.00% 22 0 27 27.00 0.00% 23 0 22 22.00 0.00% Mar 19 00 0 32 32.00 0.00% 01 0 50 50.00 0.00% 02 0 46 46.00 0.00% 03 0 38 38.00 0.00% 04 0 44 44.00 0.00% 05 0 103 103.00 0.00% 06 0 72 72.00 0.00% 07 0 47 47.00 0.00% 08 0 47 47.00 0.00% 09 0 39 39.00 0.00% 10 0 48 48.00 0.00% 11 0 53 53.00 0.00% 12 0 17 17.00 0.00% 13 0 34 34.00 0.00% 14 0 29 29.00 0.00% 15 0 41 41.00 0.00% 16 0 106 106.00 0.00% 17 0 151 151.00 0.00% 18 0 78 78.00 0.00% 19 0 24 24.00 0.00% 20 0 52 52.00 0.00% 21 0 52 52.00 0.00% 22 0 29 29.00 0.00% 23 0 99 99.00 0.00% Mar 20 00 0 162 162.00 0.00% 01 0 130 130.00 0.00% 02 0 89 89.00 0.00% 03 0 55 55.00 0.00% 04 0 67 67.00 0.00% 05 0 206 206.00 0.00% 06 0 101 101.00 0.00% 07 0 359 359.00 0.00% 08 0 442 442.00 0.00% 09 0 252 252.00 0.00% 10 0 182 182.00 0.00% 11 0 69 69.00 0.00% 12 0 37 37.00 0.00% 13 0 15 15.00 0.00% 14 0 25 25.00 0.00% 15 0 37 37.00 0.00% 16 0 33 33.00 0.00% 17 0 26 26.00 0.00% 18 0 23 23.00 0.00% 19 0 42 42.00 0.00% 20 0 44 44.00 0.00% 21 0 60 60.00 0.00% 22 0 86 86.00 0.00% 23 0 157 157.00 0.00% Mar 21 00 0 30 30.00 0.00% 01 0 21 21.00 0.00% 02 0 31 31.00 0.00% 03 0 51 51.00 0.00% 04 0 67 67.00 0.00% 05 0 177 177.00 0.00% 06 0 55 55.00 0.00% 07 0 82 82.00 0.00% 08 0 26 26.00 0.00% 09 0 34 34.00 0.00% 10 0 31 31.00 0.00% 11 0 12 12.00 0.00% 12 0 16 16.00 0.00% 13 0 22 22.00 0.00% 14 0 31 31.00 0.00% 15 0 19 19.00 0.00% 16 0 41 41.00 0.00% 17 0 64 64.00 0.00% 18 0 14 14.00 0.00% 19 0 13 13.00 0.00% 20 0 5 5.00 0.00% 21 0 16 16.00 0.00% 22 0 4 4.00 0.00% 23 0 9 9.00 0.00% Mar 22 00 0 14 14.00 0.00% 01 0 14 14.00 0.00% 02 0 14 14.00 0.00% 03 0 30 30.00 0.00% 04 0 0 0.00 0.00% 05 0 218 218.00 0.00% 06 0 270 270.00 0.00% 07 0 74 74.00 0.00% 08 0 51 51.00 0.00% 09 0 40 40.00 0.00% 10 0 35 35.00 0.00% 11 0 13 13.00 0.00% 12 0 26 26.00 0.00% 13 0 28 28.00 0.00% 14 0 46 46.00 0.00% 15 0 69 69.00 0.00% 16 0 53 53.00 0.00% 17 0 45 45.00 0.00% 18 0 27 27.00 0.00% 19 0 7 7.00 0.00% 20 0 11 11.00 0.00% 21 0 18 18.00 0.00% 22 0 35 35.00 0.00% 23 0 52 52.00 0.00% Mar 23 00 0 45 45.00 0.00% 01 0 38 38.00 0.00% 02 0 8 8.00 0.00% 03 0 44 44.00 0.00% 04 0 16 16.00 0.00% 05 0 50 50.00 0.00% 06 0 15 15.00 0.00% 07 0 10 10.00 0.00% 08 0 32 32.00 0.00% 09 0 24 24.00 0.00% 10 0 16 16.00 0.00% 11 0 16 16.00 0.00% 12 0 10 10.00 0.00% 13 0 10 10.00 0.00% 14 0 18 18.00 0.00% 15 0 6 6.00 0.00% 16 0 8 8.00 0.00% 17 0 8 8.00 0.00% 18 0 9 9.00 0.00% 19 0 9 9.00 0.00% 20 0 4 4.00 0.00% 21 0 9 9.00 0.00% 22 0 9 9.00 0.00% 23 0 13 13.00 0.00% Day Hour Count Average / Second Mar 17 00 533 0.15/s 01 530 0.15/s 02 533 0.15/s 03 530 0.15/s 04 525 0.15/s 05 538 0.15/s 06 528 0.15/s 07 533 0.15/s 08 530 0.15/s 09 530 0.15/s 10 532 0.15/s 11 532 0.15/s 12 528 0.15/s 13 525 0.15/s 14 528 0.15/s 15 527 0.15/s 16 532 0.15/s 17 532 0.15/s 18 530 0.15/s 19 529 0.15/s 20 528 0.15/s 21 523 0.15/s 22 527 0.15/s 23 533 0.15/s Mar 18 00 528 0.15/s 01 532 0.15/s 02 532 0.15/s 03 534 0.15/s 04 538 0.15/s 05 550 0.15/s 06 532 0.15/s 07 532 0.15/s 08 528 0.15/s 09 531 0.15/s 10 541 0.15/s 11 540 0.15/s 12 525 0.15/s 13 529 0.15/s 14 534 0.15/s 15 539 0.15/s 16 539 0.15/s 17 530 0.15/s 18 533 0.15/s 19 528 0.15/s 20 540 0.15/s 21 523 0.15/s 22 543 0.15/s 23 533 0.15/s Mar 19 00 533 0.15/s 01 532 0.15/s 02 533 0.15/s 03 533 0.15/s 04 533 0.15/s 05 544 0.15/s 06 533 0.15/s 07 530 0.15/s 08 536 0.15/s 09 533 0.15/s 10 540 0.15/s 11 622 0.17/s 12 527 0.15/s 13 541 0.15/s 14 545 0.15/s 15 583 0.16/s 16 575 0.16/s 17 544 0.15/s 18 532 0.15/s 19 529 0.15/s 20 530 0.15/s 21 530 0.15/s 22 541 0.15/s 23 803 0.22/s Mar 20 00 691 0.19/s 01 626 0.17/s 02 533 0.15/s 03 661 0.18/s 04 680 0.19/s 05 721 0.20/s 06 600 0.17/s 07 575 0.16/s 08 757 0.21/s 09 656 0.18/s 10 581 0.16/s 11 538 0.15/s 12 525 0.15/s 13 529 0.15/s 14 534 0.15/s 15 530 0.15/s 16 538 0.15/s 17 530 0.15/s 18 532 0.15/s 19 529 0.15/s 20 523 0.15/s 21 525 0.15/s 22 536 0.15/s 23 551 0.15/s Mar 21 00 546 0.15/s 01 532 0.15/s 02 532 0.15/s 03 567 0.16/s 04 535 0.15/s 05 560 0.16/s 06 528 0.15/s 07 539 0.15/s 08 538 0.15/s 09 524 0.15/s 10 528 0.15/s 11 523 0.15/s 12 531 0.15/s 13 532 0.15/s 14 534 0.15/s 15 529 0.15/s 16 527 0.15/s 17 532 0.15/s 18 528 0.15/s 19 524 0.15/s 20 526 0.15/s 21 548 0.15/s 22 524 0.15/s 23 528 0.15/s Mar 22 00 529 0.15/s 01 576 0.16/s 02 592 0.16/s 03 655 0.18/s 04 530 0.15/s 05 584 0.16/s 06 548 0.15/s 07 535 0.15/s 08 524 0.15/s 09 528 0.15/s 10 535 0.15/s 11 530 0.15/s 12 526 0.15/s 13 529 0.15/s 14 533 0.15/s 15 531 0.15/s 16 531 0.15/s 17 534 0.15/s 18 533 0.15/s 19 527 0.15/s 20 526 0.15/s 21 524 0.15/s 22 529 0.15/s 23 533 0.15/s Mar 23 00 532 0.15/s 01 610 0.17/s 02 570 0.16/s 03 683 0.19/s 04 560 0.16/s 05 544 0.15/s 06 528 0.15/s 07 522 0.14/s 08 531 0.15/s 09 528 0.15/s 10 528 0.15/s 11 541 0.15/s 12 525 0.15/s 13 532 0.15/s 14 530 0.15/s 15 526 0.15/s 16 529 0.15/s 17 520 0.14/s 18 532 0.15/s 19 534 0.15/s 20 528 0.15/s 21 525 0.15/s 22 529 0.15/s 23 599 0.17/s Day Hour Count Average Duration Average idle time Mar 17 00 533 4m30s 4m28s 01 530 4m34s 4m34s 02 533 4m34s 4m34s 03 530 4m31s 4m31s 04 525 4m33s 4m33s 05 538 4m24s 4m23s 06 528 4m27s 4m26s 07 533 4m42s 4m42s 08 530 4m32s 4m32s 09 530 4m35s 4m35s 10 532 4m30s 4m29s 11 532 4m30s 4m29s 12 528 4m36s 4m36s 13 525 4m33s 4m33s 14 528 4m24s 4m23s 15 527 4m38s 4m38s 16 532 4m30s 4m30s 17 532 4m34s 4m34s 18 530 4m32s 4m31s 19 529 4m37s 4m37s 20 528 4m32s 4m32s 21 523 4m19s 4m19s 22 527 4m26s 4m26s 23 533 4m38s 4m38s Mar 18 00 528 4m33s 4m32s 01 532 4m36s 4m36s 02 532 4m34s 4m34s 03 534 4m29s 4m28s 04 538 4m36s 4m36s 05 550 4m11s 4m11s 06 532 4m32s 4m31s 07 532 4m31s 4m30s 08 528 4m32s 4m32s 09 531 4m27s 4m27s 10 541 4m24s 4m24s 11 540 4m27s 4m26s 12 525 4m27s 4m26s 13 529 4m28s 4m27s 14 534 4m41s 4m40s 15 535 4m34s 4m34s 16 540 4m23s 4m21s 17 530 4m29s 4m29s 18 533 4m34s 4m34s 19 528 4m24s 4m23s 20 540 4m32s 4m31s 21 523 4m26s 4m26s 22 543 4m22s 4m22s 23 536 7m22s 7m22s Mar 19 00 533 4m30s 4m29s 01 532 4m30s 4m29s 02 533 4m42s 4m41s 03 533 4m29s 4m29s 04 533 4m34s 4m34s 05 544 4m21s 4m21s 06 533 4m27s 4m26s 07 530 4m37s 4m37s 08 536 4m32s 4m32s 09 533 4m37s 4m37s 10 540 4m29s 4m29s 11 622 3m35s 3m35s 12 527 4m28s 4m28s 13 541 5h42m57s 5h42m57s 14 545 5m3s 5m2s 15 578 4m12s 4m12s 16 575 3m59s 3m59s 17 544 4m35s 4m32s 18 532 4m34s 4m33s 19 529 4m33s 4m33s 20 534 6m24s 6m24s 21 531 4m56s 4m54s 22 541 4m25s 4m25s 23 803 3m16s 3m16s Mar 20 00 689 3m38s 3m36s 01 628 3m37s 3m36s 02 533 4m34s 4m34s 03 661 3m34s 3m34s 04 673 3m48s 3m45s 05 695 4m42s 4m40s 06 633 4m59s 4m57s 07 573 4m5s 4m4s 08 757 3m41s 3m39s 09 655 3m35s 3m34s 10 580 20m26s 20m25s 11 536 4m17s 4m17s 12 524 4m24s 4m24s 13 529 4m43s 4m43s 14 534 4m40s 4m40s 15 530 4m35s 4m35s 16 538 4m23s 4m23s 17 533 7m2s 7m2s 18 533 5m19s 5m18s 19 529 4m34s 4m34s 20 523 4m19s 4m18s 21 525 4m29s 4m28s 22 536 4m33s 4m33s 23 551 4m22s 4m20s Mar 21 00 546 4m29s 4m27s 01 532 4m32s 4m32s 02 532 4m35s 4m35s 03 567 4m22s 4m22s 04 535 4m26s 4m26s 05 560 4m17s 4m16s 06 528 4m22s 4m21s 07 539 4m38s 4m37s 08 538 4m24s 4m24s 09 524 4m6s 4m6s 10 528 4m31s 4m31s 11 523 4m34s 4m34s 12 531 4m34s 4m34s 13 532 4m36s 4m36s 14 534 4m42s 4m41s 15 530 7m33s 7m31s 16 527 4m36s 4m34s 17 532 4m33s 4m33s 18 528 4m25s 4m25s 19 526 12m51s 12m50s 20 526 4m37s 4m37s 21 548 4m16s 4m16s 22 524 4m34s 4m34s 23 528 4m39s 4m39s Mar 22 00 529 4m39s 4m37s 01 576 4m11s 4m11s 02 591 4m7s 4m5s 03 656 3m58s 3m58s 04 530 4m37s 4m37s 05 584 4m2s 4m1s 06 548 4m16s 4m15s 07 535 4m25s 4m25s 08 524 4m15s 4m15s 09 528 4m28s 4m28s 10 535 4m33s 4m33s 11 530 4m35s 4m35s 12 526 4m32s 4m32s 13 529 4m41s 4m41s 14 533 4m24s 4m24s 15 531 4m34s 4m34s 16 531 4m33s 4m33s 17 534 4m38s 4m37s 18 533 4m32s 4m31s 19 527 4m31s 4m31s 20 526 4m33s 4m33s 21 524 4m17s 4m17s 22 529 4m36s 4m36s 23 533 4m26s 4m26s Mar 23 00 532 4m39s 4m38s 01 610 4m4s 4m4s 02 566 3m44s 3m44s 03 687 3m56s 3m56s 04 560 4m13s 4m13s 05 544 4m23s 4m23s 06 528 4m32s 4m32s 07 522 4m16s 4m16s 08 531 4m29s 4m29s 09 528 4m38s 4m38s 10 528 4m39s 4m39s 11 541 4m32s 4m32s 12 525 4m30s 4m30s 13 532 4m33s 4m32s 14 530 4m37s 4m37s 15 526 4m36s 4m36s 16 529 4m33s 4m33s 17 520 4m14s 4m14s 18 531 4m47s 4m44s 19 535 4m40s 4m34s 20 528 4m31s 4m31s 21 525 4m27s 4m25s 22 529 4m36s 4m36s 23 599 3m58s 3m58s -
Connections
Established Connections
Key values
- 90 connections Connection Peak
- 2024-03-23 03:02:57 Date
Connections per database
Key values
- postgres Main Database
- 91,736 connections Total
Connections per user
Key values
- postgres Main User
- 91,736 connections Total
-
Sessions
Simultaneous sessions
Key values
- 104 sessions Session Peak
- 2024-03-20 06:37:11 Date
Histogram of session times
Key values
- 76,365 0-500ms duration
Sessions per database
Key values
- postgres Main Database
- 91,736 sessions Total
Sessions per user
Key values
- postgres Main User
- 91,736 sessions Total
Sessions per host
Key values
- [local] Main Host
- 91,736 sessions Total
Host Count Total Duration Average Duration 10.12.5.122 45 134d3h36m38s 2d23h32m48s 10.12.5.37 5,496 57d14h24m56s 15m5s 10.12.5.38 2,639 56d1h15m42s 30m35s 10.12.5.39 2,575 55d23h9m15s 31m17s 10.12.5.45 2,667 55d23h53m38s 30m14s 10.12.5.46 2,632 56d1h17m7s 30m40s 192.168.201.10 4 1d38m24s 6h9m36s 192.168.201.6 4 4d4h6m4s 1d1h1m31s 192.168.202.5 3 7m27s 2m29s 192.168.202.6 20 2d4h39m5s 2h37m57s ::1 387 2h7m56s 19s835ms [local] 75,264 3m24s 2ms Sessions per application
Key values
- psql Main Application
- 91,736 sessions Total
Application Count Total Duration Average Duration pgAdmin 4 - CONN:1725369 1 334ms 334ms pgAdmin 4 - CONN:5763556 2 6s348ms 3s174ms pgAdmin 4 - CONN:7815376 1 499ms 499ms pgAdmin 4 - CONN:9054952 1 47s874ms 47s874ms pgAdmin 4 - CONN:9424066 2 2m40s 1m20s pgAdmin 4 - DB:ctdprd51 6 3m42s 37s110ms pgAdmin 4 - DB:postgres 2 3m48s 1m54s pg_dump 1 93ms 93ms pg_dumpall 1 20ms 20ms psql 75,601 3m32s 2ms unknown 16,118 423d7h5m4s 37m49s -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 240,207 buffers Checkpoint Peak
- 2024-03-18 22:59:28 Date
- 1619.983 seconds Highest write time
- 0.003 seconds Sync time
Checkpoints Wal files
Key values
- 110 files Wal files usage Peak
- 2024-03-21 08:59:35 Date
Checkpoints distance
Key values
- 2,496.01 Mo Distance Peak
- 2024-03-21 08:59:35 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Mar 17 00 586 58.917s 0.003s 58.95s 01 4,589 459.777s 0.003s 459.877s 02 98 10.001s 0.002s 10.032s 03 101 10.299s 0.002s 10.329s 04 4,918 492.781s 0.002s 492.859s 05 66 6.797s 0.002s 6.828s 06 1,160 116.353s 0.002s 116.431s 07 3,340 334.902s 0.003s 335.36s 08 62,719 1,636.581s 0.003s 1,636.765s 09 417 41.981s 0.003s 42.012s 10 1,755 176.04s 0.002s 176.118s 11 4,938 494.814s 0.004s 494.939s 12 5,889 589.915s 0.002s 589.958s 13 97 9.903s 0.002s 9.933s 14 80 8.19s 0.002s 8.22s 15 206 20.826s 0.002s 20.858s 16 83 8.5s 0.002s 8.53s 17 97 9.901s 0.002s 9.931s 18 183 18.528s 0.002s 18.558s 19 74 7.591s 0.002s 7.622s 20 69 7.093s 0.002s 7.124s 21 2,768 277.432s 0.002s 277.488s 22 6,889 690.434s 0.003s 690.564s 23 4,908 491.865s 0.002s 491.956s Mar 18 00 657 66.023s 0.003s 66.14s 01 107 10.911s 0.002s 10.941s 02 621 62.427s 0.002s 62.456s 03 60,087 1,727.918s 0.004s 1,728.461s 04 5,609 561.746s 0.003s 561.832s 05 143 14.514s 0.002s 14.544s 06 827 83.066s 0.002s 83.095s 07 466 46.894s 0.003s 46.924s 08 56,958 1,867.386s 0.004s 1,867.932s 09 83,352 3,238.816s 0.004s 3,239.328s 10 1,811 181.667s 0.003s 181.698s 11 1,437 144.191s 0.003s 144.268s 12 203 20.43s 0.002s 20.46s 13 262 26.434s 0.002s 26.465s 14 321 32.358s 0.002s 32.388s 15 65 6.694s 0.002s 6.724s 16 2,291 229.426s 0.003s 229.493s 17 2,304 230.824s 0.003s 230.868s 18 873 87.659s 0.002s 87.736s 19 71 7.296s 0.003s 7.327s 20 80 8.198s 0.002s 8.229s 21 4,869 487.958s 0.003s 488.059s 22 240,351 1,634.206s 0.003s 1,634.699s 23 948 95.175s 0.003s 95.206s Mar 19 00 650 65.34s 0.003s 65.458s 01 152 15.415s 0.002s 15.446s 02 1,269 127.244s 0.003s 127.274s 03 7,706 771.785s 0.002s 771.899s 04 1,717 172.129s 0.003s 172.162s 05 327 32.965s 0.002s 33.043s 06 457 46.009s 0.002s 46.039s 07 5,706 571.724s 0.002s 571.793s 08 192 19.426s 0.002s 19.457s 09 12,944 1,296.699s 0.002s 1,296.827s 10 122 12.409s 0.002s 12.44s 11 138 14.02s 0.002s 14.049s 12 1,031 103.506s 0.002s 103.536s 13 78 8.006s 0.002s 8.036s 14 367 36.982s 0.003s 37.014s 15 214 21.632s 0.002s 21.663s 16 351 35.384s 0.002s 35.463s 17 99,432 3,238.567s 0.004s 3,239.451s 18 248 25.05s 0.002s 25.081s 19 65 6.698s 0.002s 6.727s 20 91 9.306s 0.002s 9.335s 21 176 17.818s 0.002s 17.848s 22 48,265 1,621.569s 0.002s 1,622.013s 23 4,558 456.618s 0.002s 456.721s Mar 20 00 1,114 111.854s 0.003s 111.892s 01 99 10.112s 0.002s 10.142s 02 3,593 360.238s 0.002s 360.317s 03 5,742 575.416s 0.003s 575.568s 04 98 10.021s 0.002s 10.054s 05 0 0s 0s 0s 06 3,549 355.935s 0.002s 356s 07 81 8.217s 0.001s 8.232s 08 200 20.261s 0.002s 20.292s 09 52,474 1,638.473s 0.003s 1,638.803s 10 90 9.215s 0.002s 9.247s 11 5,689 570.095s 0.002s 570.175s 12 349 35.164s 0.002s 35.194s 13 62 6.394s 0.002s 6.425s 14 155 15.714s 0.002s 15.743s 15 232 23.44s 0.002s 23.471s 16 339 34.166s 0.002s 34.198s 17 356 35.866s 0.002s 35.943s 18 1,809 181.349s 0.002s 181.379s 19 134 13.624s 0.002s 13.655s 20 206 20.834s 0.002s 20.865s 21 3,802 380.932s 0.003s 381.022s 22 56,449 2,164.048s 0.003s 2,164.57s 23 913 91.696s 0.003s 91.727s Mar 21 00 1,532 153.726s 0.004s 153.806s 01 271 27.342s 0.003s 27.373s 02 2,406 241.25s 0.002s 241.295s 03 180 18.229s 0.002s 18.259s 04 1,180 118.421s 0.003s 118.452s 05 195 19.73s 0.002s 19.76s 06 329 33.169s 0.002s 33.198s 07 54,260 1,639.627s 0.003s 1,640.123s 08 116,078 1,632.69s 0.003s 1,634.092s 09 83,745 1,630.51s 0.003s 1,630.662s 10 909 91.284s 0.003s 91.315s 11 265 26.745s 0.002s 26.822s 12 291 29.35s 0.002s 29.382s 13 299 30.153s 0.002s 30.183s 14 4,817 482.627s 0.003s 482.732s 15 1,525 152.984s 0.003s 153.013s 16 308 31.058s 0.002s 31.089s 17 104 10.608s 0.002s 10.638s 18 144 14.619s 0.002s 14.651s 19 155 15.721s 0.002s 15.751s 20 148 15.017s 0.002s 15.048s 21 230 23.234s 0.002s 23.265s 22 4,731 474.203s 0.004s 474.303s 23 64 6.611s 0.002s 6.643s Mar 22 00 717 72.059s 0.004s 72.13s 01 9,769 978.928s 0.002s 979.064s 02 260 26.252s 0.002s 26.282s 03 50,009 1,619.723s 0.002s 1,620.18s 04 0 0s 0s 0s 05 6 0.699s 0.001s 0.714s 06 6,797 680.985s 0.002s 681.085s 07 362 36.493s 0.002s 36.525s 08 325 32.757s 0.002s 32.835s 09 1,559 156.388s 0.002s 156.418s 10 147 14.916s 0.002s 14.948s 11 235 23.741s 0.002s 23.771s 12 475 47.792s 0.002s 47.823s 13 338 33.986s 0.002s 34.065s 14 567 57.017s 0.002s 57.048s 15 4,859 487.013s 0.002s 487.115s 16 147 14.949s 0.002s 14.98s 17 312 31.462s 0.002s 31.492s 18 74 7.603s 0.002s 7.633s 19 46 4.795s 0.002s 4.826s 20 129 13.112s 0.002s 13.143s 21 55 5.714s 0.002s 5.746s 22 60 6.197s 0.003s 6.229s 23 65 6.698s 0.002s 6.727s Mar 23 00 586 58.921s 0.003s 58.992s 01 83 8.51s 0.002s 8.54s 02 80 8.21s 0.002s 8.242s 03 46 4.792s 0.002s 4.824s 04 149 15.128s 0.002s 15.159s 05 768 77.145s 0.003s 77.225s 06 141 14.22s 0.002s 14.251s 07 2,836 284.256s 0.002s 284.334s 08 114 11.61s 0.002s 11.642s 09 15,048 1,506.99s 0.003s 1,507.174s 10 48 4.992s 0.002s 5.022s 11 105 10.706s 0.002s 10.737s 12 3,872 388.153s 0.002s 388.232s 13 55 5.692s 0.002s 5.723s 14 239 24.144s 0.002s 24.175s 15 50 5.192s 0.002s 5.224s 16 206 20.839s 0.002s 20.871s 17 164 16.626s 0.002s 16.66s 18 97 9.9s 0.002s 9.932s 19 58 5.994s 0.002s 6.025s 20 169,525 1,622.077s 0.003s 1,622.156s 21 51 5.288s 0.002s 5.318s 22 164 16.629s 0.002s 16.659s 23 282 28.472s 0.002s 28.504s Day Hour Added Removed Recycled Synced files Longest sync Average sync Mar 17 00 0 0 0 70 0.001s 0.002s 01 0 0 3 39 0.001s 0.002s 02 0 0 0 26 0.001s 0.002s 03 0 0 0 25 0.001s 0.002s 04 0 0 1 62 0.001s 0.002s 05 0 0 0 19 0.001s 0.002s 06 0 0 1 94 0.001s 0.002s 07 0 0 33 135 0.001s 0.002s 08 0 0 10 133 0.001s 0.002s 09 0 0 0 115 0.001s 0.002s 10 0 0 1 46 0.001s 0.002s 11 0 0 5 31 0.002s 0.002s 12 0 0 1 40 0.001s 0.002s 13 0 0 0 20 0.001s 0.002s 14 0 0 0 18 0.001s 0.002s 15 0 0 0 65 0.001s 0.002s 16 0 0 0 18 0.001s 0.002s 17 0 0 0 19 0.001s 0.002s 18 0 0 0 32 0.001s 0.002s 19 0 0 0 18 0.001s 0.002s 20 0 0 0 16 0.001s 0.002s 21 0 0 2 44 0.001s 0.002s 22 0 0 2 44 0.001s 0.002s 23 0 0 2 51 0.001s 0.002s Mar 18 00 0 0 1 69 0.001s 0.002s 01 0 0 0 26 0.001s 0.002s 02 0 0 0 49 0.001s 0.002s 03 0 0 40 59 0.001s 0.002s 04 0 0 4 47 0.001s 0.002s 05 0 0 0 27 0.001s 0.002s 06 0 0 0 93 0.001s 0.002s 07 0 0 0 129 0.001s 0.002s 08 0 0 40 113 0.001s 0.002s 09 0 0 37 59 0.001s 0.002s 10 0 0 0 76 0.001s 0.002s 11 0 0 1 124 0.001s 0.002s 12 0 0 0 67 0.001s 0.002s 13 0 0 0 29 0.001s 0.002s 14 0 0 0 41 0.001s 0.002s 15 0 0 0 17 0.001s 0.002s 16 0 0 2 61 0.001s 0.002s 17 0 0 1 66 0.001s 0.002s 18 0 0 1 109 0.001s 0.002s 19 0 0 0 17 0.001s 0.002s 20 0 0 0 18 0.001s 0.002s 21 0 0 3 29 0.001s 0.002s 22 0 0 37 45 0.001s 0.002s 23 0 0 0 28 0.001s 0.002s Mar 19 00 0 0 1 66 0.001s 0.002s 01 0 0 0 31 0.001s 0.002s 02 0 0 0 40 0.001s 0.002s 03 0 0 4 49 0.001s 0.002s 04 0 0 0 39 0.001s 0.002s 05 0 0 1 36 0.001s 0.002s 06 0 0 0 127 0.001s 0.002s 07 0 0 3 127 0.001s 0.002s 08 0 0 0 27 0.001s 0.002s 09 0 0 5 50 0.001s 0.002s 10 0 0 0 28 0.001s 0.002s 11 0 0 0 26 0.001s 0.002s 12 0 0 0 34 0.001s 0.002s 13 0 0 0 19 0.001s 0.002s 14 0 0 0 146 0.001s 0.002s 15 0 0 0 33 0.001s 0.002s 16 0 0 1 134 0.001s 0.002s 17 0 0 66 108 0.002s 0.002s 18 0 0 0 114 0.001s 0.002s 19 0 0 0 17 0.001s 0.002s 20 0 0 0 20 0.001s 0.002s 21 0 0 0 27 0.001s 0.002s 22 0 0 32 31 0.001s 0.002s 23 0 0 3 39 0.001s 0.002s Mar 20 00 0 0 0 86 0.001s 0.002s 01 0 0 0 25 0.001s 0.002s 02 0 0 1 43 0.001s 0.002s 03 0 0 4 57 0.002s 0.002s 04 0 0 0 26 0.001s 0.002s 05 0 0 0 0 0s 0s 06 0 0 1 39 0.002s 0.001s 07 0 0 0 13 0.001s 0.001s 08 0 0 0 31 0.001s 0.002s 09 0 0 22 135 0.001s 0.002s 10 0 0 0 21 0.001s 0.002s 11 0 0 4 127 0.001s 0.002s 12 0 0 0 118 0.001s 0.002s 13 0 0 0 18 0.001s 0.002s 14 0 0 0 64 0.001s 0.002s 15 0 0 0 78 0.001s 0.002s 16 0 0 0 111 0.001s 0.002s 17 0 0 1 121 0.001s 0.002s 18 0 0 0 35 0.001s 0.002s 19 0 0 0 24 0.001s 0.002s 20 0 0 0 95 0.001s 0.002s 21 0 0 2 126 0.001s 0.002s 22 0 0 38 97 0.001s 0.002s 23 0 0 0 45 0.002s 0.002s Mar 21 00 0 0 1 88 0.002s 0.002s 01 0 0 0 42 0.001s 0.002s 02 0 0 1 40 0.001s 0.002s 03 0 0 0 34 0.001s 0.002s 04 0 0 0 45 0.001s 0.002s 05 0 0 0 31 0.001s 0.002s 06 0 0 0 82 0.001s 0.002s 07 0 0 36 136 0.001s 0.002s 08 0 0 110 129 0.001s 0.002s 09 0 0 7 124 0.001s 0.002s 10 0 0 0 89 0.001s 0.002s 11 0 0 1 111 0.001s 0.002s 12 0 0 0 109 0.001s 0.002s 13 0 0 0 108 0.001s 0.002s 14 0 0 3 76 0.001s 0.002s 15 0 0 0 72 0.001s 0.002s 16 0 0 0 117 0.001s 0.002s 17 0 0 0 19 0.001s 0.002s 18 0 0 0 62 0.001s 0.002s 19 0 0 0 68 0.001s 0.002s 20 0 0 0 24 0.001s 0.002s 21 0 0 0 34 0.001s 0.002s 22 0 0 3 43 0.001s 0.002s 23 0 0 0 16 0.001s 0.002s Mar 22 00 0 0 0 73 0.002s 0.002s 01 0 0 6 35 0.001s 0.002s 02 0 0 0 29 0.001s 0.002s 03 0 0 34 17 0.001s 0.001s 04 0 0 0 0 0s 0s 05 0 0 0 6 0.001s 0.001s 06 0 0 3 91 0.001s 0.002s 07 0 0 0 128 0.001s 0.002s 08 0 0 1 117 0.001s 0.002s 09 0 0 0 85 0.001s 0.002s 10 0 0 0 32 0.001s 0.002s 11 0 0 0 74 0.001s 0.002s 12 0 0 0 120 0.001s 0.002s 13 0 0 1 122 0.001s 0.002s 14 0 0 0 119 0.001s 0.002s 15 0 0 3 200 0.001s 0.002s 16 0 0 0 26 0.001s 0.002s 17 0 0 0 116 0.001s 0.002s 18 0 0 0 22 0.001s 0.002s 19 0 0 0 16 0.001s 0.002s 20 0 0 0 25 0.001s 0.002s 21 0 0 0 17 0.001s 0.002s 22 0 0 0 17 0.001s 0.002s 23 0 0 0 17 0.001s 0.002s Mar 23 00 0 0 0 76 0.001s 0.002s 01 0 0 0 24 0.001s 0.002s 02 0 0 0 24 0.001s 0.002s 03 0 0 0 16 0.001s 0.002s 04 0 0 0 34 0.001s 0.002s 05 0 0 1 44 0.001s 0.002s 06 0 0 0 27 0.001s 0.002s 07 0 0 1 29 0.001s 0.002s 08 0 0 0 29 0.001s 0.002s 09 0 0 10 34 0.001s 0.002s 10 0 0 0 18 0.001s 0.002s 11 0 0 0 26 0.001s 0.002s 12 0 0 1 30 0.001s 0.002s 13 0 0 0 17 0.001s 0.002s 14 0 0 0 112 0.001s 0.002s 15 0 0 0 18 0.001s 0.002s 16 0 0 0 67 0.001s 0.002s 17 0 0 0 29 0.001s 0.002s 18 0 0 0 27 0.001s 0.002s 19 0 0 0 17 0.001s 0.002s 20 0 0 1 21 0.002s 0.002s 21 0 0 0 19 0.001s 0.002s 22 0 0 0 35 0.001s 0.002s 23 0 0 0 30 0.001s 0.002s Day Hour Count Avg time (sec) Mar 17 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Mar 18 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Mar 19 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Mar 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 Mar 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 Mar 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 Mar 23 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate Mar 17 00 1,787.00 kB 38,773.50 kB 01 23,147.00 kB 39,702.00 kB 02 205.50 kB 39,595.50 kB 03 219.00 kB 32,113.50 kB 04 15,347.00 kB 27,941.00 kB 05 73.50 kB 24,167.50 kB 06 3,248.50 kB 19,942.00 kB 07 10,751.00 kB 18,806.50 kB 08 343,180.50 kB 651,019.50 kB 09 1,096.00 kB 527,545.00 kB 10 5,867.00 kB 428,457.50 kB 11 23,561.50 kB 349,423.50 kB 12 26,563.00 kB 290,168.00 kB 13 144.50 kB 235,083.50 kB 14 135.00 kB 190,442.00 kB 15 478.00 kB 154,315.50 kB 16 120.50 kB 125,053.00 kB 17 172.00 kB 101,323.00 kB 18 397.00 kB 82,147.00 kB 19 124.50 kB 66,565.50 kB 20 131.00 kB 53,941.50 kB 21 8,852.00 kB 44,610.00 kB 22 24,324.50 kB 40,610.50 kB 23 17,448.00 kB 36,168.00 kB Mar 18 00 1,924.00 kB 30,554.00 kB 01 203.00 kB 24,836.50 kB 02 1,703.50 kB 20,322.00 kB 03 328,838.00 kB 334,038.00 kB 04 29,435.00 kB 558,560.50 kB 05 328.50 kB 455,119.00 kB 06 2,306.00 kB 369,050.50 kB 07 1,358.50 kB 299,174.50 kB 08 303,974.50 kB 426,765.50 kB 09 322,533.50 kB 569,309.00 kB 10 5,483.00 kB 464,842.00 kB 11 4,521.50 kB 377,015.00 kB 12 493.00 kB 305,857.50 kB 13 670.00 kB 247,828.50 kB 14 786.00 kB 200,898.50 kB 15 130.50 kB 162,791.50 kB 16 14,875.50 kB 133,359.50 kB 17 11,541.50 kB 111,521.50 kB 18 1,697.00 kB 90,630.50 kB 19 134.50 kB 73,481.50 kB 20 164.50 kB 59,549.00 kB 21 24,033.00 kB 50,652.00 kB 22 306,891.00 kB 329,327.00 kB 23 2,959.00 kB 524,532.50 kB Mar 19 00 2,019.50 kB 425,437.00 kB 01 355.00 kB 344,730.50 kB 02 4,178.50 kB 280,037.50 kB 03 29,391.00 kB 229,791.00 kB 04 5,955.50 kB 189,870.00 kB 05 1,017.00 kB 153,935.50 kB 06 1,141.00 kB 124,942.50 kB 07 29,809.50 kB 104,277.50 kB 08 490.00 kB 87,171.50 kB 09 35,739.50 kB 77,384.50 kB 10 169.50 kB 62,731.50 kB 11 338.50 kB 50,861.00 kB 12 3,068.00 kB 41,797.50 kB 13 144.00 kB 33,884.00 kB 14 914.50 kB 27,622.00 kB 15 493.50 kB 22,434.50 kB 16 901.00 kB 18,357.00 kB 17 544,046.50 kB 544,046.50 kB 18 592.00 kB 467,732.50 kB 19 124.50 kB 378,899.50 kB 20 175.50 kB 306,940.00 kB 21 391.00 kB 248,676.00 kB 22 261,972.00 kB 497,596.50 kB 23 20,430.50 kB 406,927.50 kB Mar 20 00 3,217.50 kB 330,164.00 kB 01 204.50 kB 267,528.00 kB 02 11,706.00 kB 218,921.50 kB 03 26,586.50 kB 182,071.00 kB 04 222.50 kB 147,826.50 kB 05 0.00 kB 0.00 kB 06 24,934.00 kB 128,553.00 kB 07 106.00 kB 115,708.00 kB 08 483.00 kB 99,005.00 kB 09 180,920.50 kB 222,672.50 kB 10 171.50 kB 308,516.50 kB 11 29,678.50 kB 252,921.00 kB 12 963.50 kB 207,614.50 kB 13 134.50 kB 168,245.00 kB 14 350.50 kB 136,326.00 kB 15 586.00 kB 110,537.00 kB 16 1,036.00 kB 89,694.00 kB 17 1,172.50 kB 72,902.00 kB 18 5,538.50 kB 60,133.00 kB 19 328.50 kB 48,751.00 kB 20 536.00 kB 39,586.00 kB 21 16,988.50 kB 35,298.50 kB 22 305,498.50 kB 528,355.50 kB 23 2,613.50 kB 430,860.00 kB Mar 21 00 4,664.00 kB 350,018.00 kB 01 705.00 kB 283,720.50 kB 02 7,945.00 kB 231,307.50 kB 03 468.00 kB 187,443.00 kB 04 3,495.00 kB 152,493.00 kB 05 483.50 kB 123,611.00 kB 06 836.00 kB 100,270.50 kB 07 296,164.00 kB 561,570.50 kB 08 639,349.00 kB 878,452.50 kB 09 316,889.50 kB 1,152,833.50 kB 10 2,667.00 kB 934,141.00 kB 11 723.50 kB 756,939.50 kB 12 889.50 kB 613,275.50 kB 13 723.50 kB 496,921.50 kB 14 22,757.00 kB 404,830.50 kB 15 5,135.00 kB 330,894.00 kB 16 821.50 kB 268,153.00 kB 17 144.50 kB 217,272.50 kB 18 349.50 kB 176,037.50 kB 19 381.50 kB 142,682.50 kB 20 347.50 kB 115,619.00 kB 21 623.50 kB 93,786.00 kB 22 17,167.00 kB 78,775.00 kB 23 147.50 kB 64,292.00 kB Mar 22 00 2,168.00 kB 52,421.00 kB 01 51,478.50 kB 73,720.00 kB 02 633.00 kB 87,830.50 kB 03 548,969.00 kB 548,969.00 kB 04 0.00 kB 0.00 kB 05 33.00 kB 494,075.00 kB 06 29,688.50 kB 428,059.00 kB 07 1,068.50 kB 346,903.00 kB 08 1,062.00 kB 281,210.00 kB 09 4,520.50 kB 228,643.00 kB 10 341.00 kB 185,281.00 kB 11 711.00 kB 150,164.00 kB 12 1,521.00 kB 121,909.50 kB 13 945.00 kB 98,957.50 kB 14 1,908.00 kB 80,449.50 kB 15 24,083.50 kB 69,780.00 kB 16 358.50 kB 56,630.00 kB 17 880.50 kB 46,020.00 kB 18 134.00 kB 37,339.00 kB 19 100.50 kB 30,265.50 kB 20 352.50 kB 24,560.00 kB 21 122.50 kB 19,937.00 kB 22 129.00 kB 16,176.00 kB 23 148.00 kB 13,128.00 kB Mar 23 00 1,814.00 kB 10,921.00 kB 01 183.50 kB 8,930.50 kB 02 193.50 kB 7,269.50 kB 03 42.50 kB 5,908.50 kB 04 399.50 kB 4,847.00 kB 05 2,260.00 kB 4,188.50 kB 06 409.00 kB 3,651.50 kB 07 9,652.50 kB 11,179.50 kB 08 278.00 kB 16,478.00 kB 09 79,095.00 kB 150,186.00 kB 10 87.00 kB 121,668.50 kB 11 280.00 kB 98,586.50 kB 12 13,648.00 kB 82,465.00 kB 13 109.00 kB 66,817.50 kB 14 630.50 kB 54,221.50 kB 15 99.50 kB 43,958.50 kB 16 569.00 kB 35,700.50 kB 17 375.50 kB 28,979.50 kB 18 130.50 kB 23,519.00 kB 19 121.00 kB 19,075.00 kB 20 141.50 kB 15,476.00 kB 21 110.50 kB 12,560.50 kB 22 397.50 kB 10,226.50 kB 23 749.50 kB 8,446.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 Mar 17 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Mar 18 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Mar 19 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Mar 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 Mar 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 Mar 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 Mar 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 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 43.62 sec Highest CPU-cost vacuum
Table pub2.term_set_enrichment_agent
Database ctdprd51 - 2024-03-18 22:06:07 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 43.62 sec Highest CPU-cost vacuum
Table pub2.term_set_enrichment_agent
Database ctdprd51 - 2024-03-18 22:06:07 Date
Analyzes per table
Key values
- pubc.log_query (113) Main table analyzed (database ctdprd51)
- 127 analyzes Total
Table Number of analyzes ctdprd51.pubc.log_query 113 ctdprd51.pub2.term_set_enrichment_agent 4 ctdprd51.pub2.term_set_enrichment 3 ctdprd51.pub2.term_comp 2 ctdprd51.pg_catalog.pg_type 1 ctdprd51.pg_catalog.pg_attribute 1 ctdprd51.edit.medium 1 ctdprd51.pub2.term_comp_agent 1 ctdprd51.edit.reference_ixn 1 Total 127 Vacuums per table
Key values
- pubc.log_query (14) Main table vacuumed on database ctdprd51
- 24 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 14 11 4,006 0 834 0 0 1,351 498 3,567,396 ctdprd51.pg_catalog.pg_statistic 2 2 1,252 0 223 0 74 688 204 944,763 ctdprd51.pg_toast.pg_toast_486223 2 0 56 0 0 0 0 2 0 376 ctdprd51.edit.medium 1 1 143 0 5 0 0 19 3 28,929 ctdprd51.pub2.term_comp_agent 1 0 406 0 18 0 0 158 2 23,341 ctdprd51.pub2.term_set_enrichment 1 0 8,431 0 3,975 0 0 4,162 2 261,077 ctdprd51.pg_toast.pg_toast_2619 1 1 4,403 0 1,174 0 9,984 3,336 1,095 617,027 ctdprd51.pub2.term_set_enrichment_agent 1 0 415,395 0 185,478 0 0 207,547 8 12,308,474 ctdprd51.pub2.term_comp 1 0 127 0 17 0 0 13 2 14,786 Total 24 15 434,219 588 191,724 0 10,058 217,276 1,814 17,766,169 Tuples removed per table
Key values
- pg_toast.pg_toast_2619 (4126) Main table with removed tuples on database ctdprd51
- 5137 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pg_toast.pg_toast_2619 1 1 4,126 20,500 0 0 12,592 ctdprd51.pg_catalog.pg_statistic 2 2 905 5,154 0 0 580 ctdprd51.pubc.log_query 14 11 106 18,092 0 0 750 ctdprd51.edit.medium 1 1 0 372 0 0 7 ctdprd51.pub2.term_comp_agent 1 0 0 37,972 0 0 350 ctdprd51.pub2.term_set_enrichment 1 0 0 1,307,633 0 0 21,648 ctdprd51.pub2.term_set_enrichment_agent 1 0 0 91,999,767 0 0 1,045,453 ctdprd51.pub2.term_comp 1 0 0 1,237 0 0 12 ctdprd51.pg_toast.pg_toast_486223 2 0 0 0 0 0 0 Total 24 15 5,137 93,390,727 0 0 1,081,392 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.edit.medium 1 1 0 0 ctdprd51.pub2.term_comp_agent 1 0 0 0 ctdprd51.pub2.term_set_enrichment 1 0 0 0 ctdprd51.pg_toast.pg_toast_2619 1 1 4126 0 ctdprd51.pubc.log_query 14 11 106 0 ctdprd51.pub2.term_set_enrichment_agent 1 0 0 0 ctdprd51.pg_catalog.pg_statistic 2 2 905 0 ctdprd51.pub2.term_comp 1 0 0 0 ctdprd51.pg_toast.pg_toast_486223 2 0 0 0 Total 24 15 5,137 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Mar 17 00 0 0 01 0 2 02 0 1 03 0 1 04 0 2 05 0 3 06 0 1 07 0 1 08 0 1 09 0 0 10 0 1 11 0 0 12 0 1 13 0 0 14 0 0 15 0 1 16 0 0 17 0 1 18 0 0 19 0 0 20 0 1 21 0 0 22 0 1 23 0 0 Mar 18 00 0 0 01 0 2 02 0 2 03 0 1 04 0 2 05 0 3 06 0 1 07 0 1 08 0 2 09 0 2 10 0 0 11 0 1 12 0 0 13 0 1 14 0 0 15 0 0 16 0 0 17 0 1 18 0 0 19 0 0 20 0 0 21 0 1 22 0 0 23 0 0 Mar 19 00 0 2 01 0 1 02 0 2 03 0 1 04 0 1 05 0 3 06 0 1 07 0 1 08 0 0 09 0 1 10 0 0 11 0 1 12 0 0 13 0 1 14 0 0 15 0 2 16 0 1 17 0 0 18 0 0 19 0 0 20 0 0 21 0 1 22 0 1 23 0 1 Mar 20 00 0 0 01 0 1 02 0 1 03 0 1 04 0 1 05 0 3 06 0 0 07 0 1 08 0 1 09 0 3 10 0 1 11 0 0 12 0 1 13 0 0 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 1 23 0 0 Mar 21 00 0 1 01 0 0 02 0 2 03 0 2 04 0 2 05 0 3 06 0 1 07 0 0 08 0 3 09 0 0 10 0 1 11 0 0 12 0 1 13 0 0 14 0 0 15 0 0 16 0 1 17 0 0 18 0 0 19 0 0 20 0 1 21 0 1 22 0 0 23 0 1 Mar 22 00 0 2 01 0 1 02 0 1 03 0 0 04 0 0 05 0 3 06 0 0 07 0 2 08 0 1 09 0 1 10 0 0 11 0 1 12 0 1 13 0 1 14 0 1 15 0 0 16 0 1 17 0 0 18 0 0 19 0 0 20 0 1 21 0 0 22 0 0 23 0 1 Mar 23 00 0 0 01 0 1 02 0 1 03 0 1 04 0 2 05 0 3 06 0 0 07 0 0 08 0 1 09 0 0 10 0 0 11 0 1 12 0 0 13 0 1 14 0 0 15 0 0 16 0 0 17 0 1 18 0 0 19 0 0 20 0 0 21 0 0 22 0 1 23 0 0 - 43.62 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
- 6,319 Total read queries
- 2,030 Total write queries
Queries by database
Key values
- unknown Main database
- 5,698 Requests
- 9h48m23s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 12,461 Requests
User Request type Count Duration editeu Total 17 53s329ms select 17 53s329ms postgres Total 108 38m45s copy to 108 38m45s pub2 Total 2 20s248ms select 2 20s248ms pubeu Total 5,469 7h9m5s cte 1,123 54m29s select 4,346 6h14m36s qaeu Total 82 4m9s cte 17 59s894ms select 65 3m9s unknown Total 12,461 21h56m28s copy to 675 6h21m19s cte 2,562 1h50m53s others 9 46s102ms select 9,215 13h43m29s Duration by user
Key values
- 21h56m28s (unknown) Main time consuming user
User Request type Count Duration editeu Total 17 53s329ms select 17 53s329ms postgres Total 108 38m45s copy to 108 38m45s pub2 Total 2 20s248ms select 2 20s248ms pubeu Total 5,469 7h9m5s cte 1,123 54m29s select 4,346 6h14m36s qaeu Total 82 4m9s cte 17 59s894ms select 65 3m9s unknown Total 12,461 21h56m28s copy to 675 6h21m19s cte 2,562 1h50m53s others 9 46s102ms select 9,215 13h43m29s Queries by host
Key values
- unknown Main host
- 18,139 Requests
- 1d5h49m42s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 8,306 Requests
- 13h19m18s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2024-03-20 07:53:40 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 8,203 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 23m5s 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-03-23 18:59:46 ]
2 22m59s 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-03-23 19:40:23 ]
3 20m23s 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 = '2051475') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2024-03-20 04:22:49 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
4 17m15s 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 = '1227971') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-03-18 16:16:37 - Bind query: yes ]
5 17m5s 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 = '1227971') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-03-21 16:22:39 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
6 17m5s 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 = '1227971') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-03-21 15:58:25 - Bind query: yes ]
7 16m59s 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 = '1227971') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-03-19 17:32:01 - Bind query: yes ]
8 16m59s 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 = '1227971') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-03-19 21:49:18 - Bind query: yes ]
9 15m25s 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 = '2051475') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2024-03-20 04:02:28 - Bind query: yes ]
10 15m /* * 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-03-20 00:15:01 ]
11 14m59s /* * 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-03-21 00:15:01 ]
12 14m58s /* * 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-03-23 00:15:00 ]
13 14m56s /* * 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-03-19 00:14:58 ]
14 14m56s /* * 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-03-18 00:14:57 ]
15 14m53s /* * 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-03-22 00:14:55 ]
16 14m51s /* * 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-03-17 00:14:53 ]
17 14m6s 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 = '2052710') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2024-03-22 02:31:28 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
18 11m 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 = '1226927') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-03-23 21:51:19 - Bind query: yes ]
19 8m43s 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 = '2051475') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2024-03-20 05:53:22 - Bind query: yes ]
20 8m23s 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 = '1245786') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-03-20 23:18:04 - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 1h54m21s 42 1s402ms 17m15s 2m43s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 18 02 1 1s545ms 1s545ms 03 1 3m36s 3m36s 16 1 17m15s 17m15s 19 1 1s937ms 1s937ms Mar 19 02 1 1s418ms 1s418ms 13 1 2s962ms 2s962ms 14 1 3s190ms 3s190ms 17 2 17m2s 8m31s 18 1 1s402ms 1s402ms 20 1 3s82ms 3s82ms 21 2 17m2s 8m31s Mar 20 01 2 4m29s 2m14s 05 1 2s356ms 2s356ms 10 1 3s150ms 3s150ms 15 1 3s150ms 3s150ms 17 1 3s173ms 3s173ms 18 1 3s135ms 3s135ms 19 1 3s191ms 3s191ms 21 1 3s112ms 3s112ms 23 1 8m23s 8m23s Mar 21 00 1 1s918ms 1s918ms 05 1 3s442ms 3s442ms 15 1 17m5s 17m5s 16 2 17m8s 8m34s 17 1 3s75ms 3s75ms 19 1 3s93ms 3s93ms 23 1 3s116ms 3s116ms Mar 22 00 1 1s418ms 1s418ms 06 1 3s88ms 3s88ms 12 1 1s516ms 1s516ms 15 1 3s196ms 3s196ms 20 1 3s47ms 3s47ms Mar 23 01 1 2s38ms 2s38ms 03 1 1s536ms 1s536ms 08 1 3s62ms 3s62ms 11 1 2s805ms 2s805ms 14 1 2s899ms 2s899ms 21 1 11m 11m [ User: pubeu - Total duration: 17m48s - Times executed: 16 ]
-
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 = '1227971') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-03-18 16:16:37 Duration: 17m15s Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1227971') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-03-21 16:22:39 Duration: 17m5s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1227971') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-03-21 15:58:25 Duration: 17m5s Bind query: yes
2 1h52m20s 2,219 1s 17s446ms 3s37ms select * from ( select g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, count(*) over () fullrowcount from term g where g.id in ( select gt.gene_id from dag_path dp inner join gene_taxon gt on dp.descendant_object_id = gt.taxon_id where dp.ancestor_object_id = ? union all select gcr.gene_id from dag_path dp inner join gene_chem_reference gcr on dp.descendant_object_id = gcr.taxon_id where dp.ancestor_object_id = ?) offset ?) mq order by mq.genesymbolsort limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 17 00 5 21s637ms 4s327ms 01 10 23s484ms 2s348ms 02 7 17s212ms 2s458ms 03 12 29s95ms 2s424ms 04 15 44s988ms 2s999ms 05 5 10s546ms 2s109ms 06 7 23s47ms 3s292ms 07 2 7s396ms 3s698ms 08 2 4s344ms 2s172ms 09 6 16s103ms 2s683ms 10 8 23s73ms 2s884ms 11 21 57s854ms 2s754ms 12 3 6s437ms 2s145ms 13 10 26s773ms 2s677ms 14 11 27s888ms 2s535ms 15 2 3s949ms 1s974ms 16 12 34s862ms 2s905ms 17 12 31s571ms 2s630ms 18 2 4s102ms 2s51ms 19 7 17s528ms 2s504ms 20 17 42s326ms 2s489ms 21 17 39s497ms 2s323ms 22 12 29s874ms 2s489ms 23 2 7s225ms 3s612ms Mar 18 00 1 2s287ms 2s287ms 01 2 5s246ms 2s623ms 02 1 1s982ms 1s982ms 05 6 13s616ms 2s269ms 06 7 19s155ms 2s736ms 07 4 11s125ms 2s781ms 08 17 57s752ms 3s397ms 09 22 1m9s 3s136ms 10 52 2m26s 2s824ms 11 58 2m28s 2s568ms 12 21 1m3s 3s28ms 13 38 1m38s 2s597ms 14 25 1m 2s404ms 15 24 1m7s 2s795ms 16 41 1m49s 2s682ms 17 20 56s848ms 2s842ms 18 20 56s674ms 2s833ms 19 15 38s722ms 2s581ms 20 10 26s987ms 2s698ms 21 5 12s793ms 2s558ms 22 9 26s867ms 2s985ms 23 7 22s649ms 3s235ms Mar 19 00 9 29s658ms 3s295ms 01 17 51s934ms 3s54ms 02 15 39s751ms 2s650ms 03 13 33s952ms 2s611ms 04 8 21s930ms 2s741ms 05 21 53s162ms 2s531ms 06 15 43s835ms 2s922ms 07 15 40s712ms 2s714ms 08 13 38s638ms 2s972ms 09 12 32s273ms 2s689ms 10 15 41s899ms 2s793ms 11 14 36s932ms 2s638ms 12 5 11s623ms 2s324ms 13 4 12s246ms 3s61ms 14 4 10s563ms 2s640ms 15 5 10s288ms 2s57ms 16 21 58s191ms 2s771ms 17 51 2m36s 3s69ms 18 19 52s978ms 2s788ms 19 6 22s969ms 3s828ms 20 11 35s49ms 3s186ms 21 14 37s268ms 2s662ms 22 2 4s449ms 2s224ms 23 36 2m15s 3s766ms Mar 20 00 53 3m49s 4s326ms 01 52 2m26s 2s811ms 02 31 1m18s 2s523ms 03 6 15s796ms 2s632ms 04 25 1m47s 4s317ms 05 65 3m39s 3s374ms 06 45 5m56s 7s923ms 07 140 6m21s 2s725ms 08 153 7m20s 2s880ms 09 77 4m6s 3s203ms 10 43 1m53s 2s629ms 11 10 29s954ms 2s995ms 12 1 5s79ms 5s79ms 13 2 4s452ms 2s226ms 14 2 4s491ms 2s245ms 15 12 46s516ms 3s876ms 16 8 17s742ms 2s217ms 17 7 21s886ms 3s126ms 19 4 11s140ms 2s785ms 20 9 28s270ms 3s141ms 21 12 39s113ms 3s259ms 22 17 45s84ms 2s652ms 23 28 1m28s 3s168ms Mar 21 00 4 21s864ms 5s466ms 01 4 15s791ms 3s947ms 02 6 26s503ms 4s417ms 03 14 50s696ms 3s621ms 04 10 37s865ms 3s786ms 05 11 29s294ms 2s663ms 06 4 11s989ms 2s997ms 07 7 24s271ms 3s467ms 08 3 6s977ms 2s325ms 09 6 19s537ms 3s256ms 10 2 8s516ms 4s258ms 11 1 5s206ms 5s206ms 12 3 10s303ms 3s434ms 13 6 16s59ms 2s676ms 14 2 4s259ms 2s129ms 15 3 13s743ms 4s581ms 16 8 20s349ms 2s543ms 17 22 1m4s 2s910ms Mar 22 02 1 2s701ms 2s701ms 03 12 56s402ms 4s700ms 05 64 2m53s 2s707ms 06 94 4m25s 2s823ms 07 14 41s785ms 2s984ms 08 10 26s109ms 2s610ms 09 5 13s641ms 2s728ms 10 12 31s375ms 2s614ms 11 2 7s603ms 3s801ms 12 1 1s985ms 1s985ms 13 2 8s417ms 4s208ms 14 1 5s251ms 5s251ms 15 19 55s504ms 2s921ms 16 12 39s38ms 3s253ms 17 14 41s316ms 2s951ms 18 7 20s939ms 2s991ms 21 7 17s88ms 2s441ms 22 7 20s425ms 2s917ms 23 16 49s846ms 3s115ms Mar 23 00 13 35s145ms 2s703ms 01 9 26s112ms 2s901ms 03 14 33s202ms 2s371ms 04 1 2s238ms 2s238ms 05 1 5s202ms 5s202ms 08 3 7s736ms 2s578ms 10 2 5s511ms 2s755ms 12 1 2s80ms 2s80ms [ User: pubeu - Total duration: 41m5s - Times executed: 695 ]
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '646767' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '646767') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-03-20 06:37:26 Duration: 17s446ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '646442' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '646442') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-03-20 06:37:24 Duration: 15s113ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '954270' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '954270') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-03-20 06:37:23 Duration: 14s287ms Database: ctdprd51 User: pubeu Bind query: yes
3 1h44m36s 7 14m51s 15m 14m56s select maint_query_logs_archive ();Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Mar 17 00 1 14m51s 14m51s Mar 18 00 1 14m56s 14m56s Mar 19 00 1 14m56s 14m56s Mar 20 00 1 15m 15m Mar 21 00 1 14m59s 14m59s Mar 22 00 1 14m53s 14m53s Mar 23 00 1 14m58s 14m58s -
/* * 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-03-20 00:15:01 Duration: 15m
-
/* * 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-03-21 00:15:01 Duration: 14m59s
-
/* * 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-03-23 00:15:00 Duration: 14m58s
4 1h30m4s 119 1s52ms 20m23s 45s412ms 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 #4
Day Hour Count Duration Avg duration Mar 18 04 2 1m1s 30s663ms 05 1 1s522ms 1s522ms 20 3 10s42ms 3s347ms 22 2 3s570ms 1s785ms Mar 19 08 1 43s575ms 43s575ms 10 1 15s502ms 15s502ms 11 3 47s582ms 15s860ms 16 3 1m17s 25s815ms 21 1 1s854ms 1s854ms 23 11 3m18s 18s12ms Mar 20 00 11 2m44s 14s979ms 03 9 2m20s 15s579ms 04 2 35m49s 17m54s 05 10 11m23s 1m8s 06 1 25s608ms 25s608ms 07 1 12s564ms 12s564ms 08 15 3m54s 15s608ms 09 9 1m35s 10s566ms 10 3 6s899ms 2s299ms 16 1 12s665ms 12s665ms 22 1 1s606ms 1s606ms 23 1 13s191ms 13s191ms Mar 21 00 1 12s583ms 12s583ms 03 1 1s52ms 1s52ms 08 1 12s827ms 12s827ms 13 1 1s682ms 1s682ms Mar 22 01 1 12s502ms 12s502ms 02 3 15m26s 5m8s 03 1 42s945ms 42s945ms 06 1 1s72ms 1s72ms 10 1 1s634ms 1s634ms 11 2 3s180ms 1s590ms 16 1 1s589ms 1s589ms Mar 23 01 4 2m 30s231ms 02 1 40s8ms 40s8ms 04 3 1m59s 39s762ms 11 1 12s859ms 12s859ms 16 1 1s613ms 1s613ms 19 1 12s494ms 12s494ms 23 2 1m19s 39s631ms [ User: pubeu - Total duration: 51m5s - Times executed: 56 ]
-
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 = '2051475') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-03-20 04:22:49 Duration: 20m23s 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 = '2051475') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-03-20 04:02:28 Duration: 15m25s 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 = '2052710') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-03-22 02:31:28 Duration: 14m6s Database: ctdprd51 User: pubeu Bind query: yes
5 1h18m13s 1,728 1s15ms 15s372ms 2s716ms 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 #5
Day Hour Count Duration Avg duration Mar 17 00 2 5s41ms 2s520ms 01 1 2s855ms 2s855ms 02 5 14s819ms 2s963ms 03 6 15s144ms 2s524ms 04 5 13s897ms 2s779ms 05 7 15s989ms 2s284ms 06 7 19s191ms 2s741ms 07 2 4s918ms 2s459ms 08 3 8s354ms 2s784ms 09 3 8s22ms 2s674ms 10 10 26s996ms 2s699ms 11 13 31s533ms 2s425ms 12 15 38s205ms 2s547ms 13 4 9s668ms 2s417ms 14 7 18s750ms 2s678ms 15 1 3s321ms 3s321ms 16 5 13s501ms 2s700ms 17 3 9s882ms 3s294ms 19 3 7s714ms 2s571ms 20 7 18s509ms 2s644ms 21 6 15s765ms 2s627ms 22 3 9s994ms 3s331ms Mar 18 01 3 7s762ms 2s587ms 02 1 2s378ms 2s378ms 05 8 18s932ms 2s366ms 06 2 5s 2s500ms 07 1 2s165ms 2s165ms 08 12 31s375ms 2s614ms 09 10 26s34ms 2s603ms 10 42 1m52s 2s668ms 11 31 1m21s 2s632ms 12 20 49s362ms 2s468ms 13 25 1m5s 2s611ms 14 11 30s996ms 2s817ms 15 24 1m2s 2s622ms 16 20 53s157ms 2s657ms 17 23 1m 2s623ms 18 11 27s289ms 2s480ms 19 17 42s478ms 2s498ms 20 12 30s580ms 2s548ms 21 2 4s978ms 2s489ms 22 4 10s306ms 2s576ms 23 5 12s842ms 2s568ms Mar 19 00 7 18s900ms 2s700ms 01 11 28s532ms 2s593ms 02 12 29s203ms 2s433ms 03 13 32s333ms 2s487ms 04 11 27s824ms 2s529ms 05 16 39s916ms 2s494ms 06 16 43s659ms 2s728ms 07 10 24s594ms 2s459ms 08 7 18s322ms 2s617ms 09 8 21s674ms 2s709ms 10 14 33s836ms 2s416ms 11 10 27s73ms 2s707ms 12 2 5s750ms 2s875ms 13 6 17s8ms 2s834ms 14 5 11s739ms 2s347ms 15 2 5s910ms 2s955ms 16 19 50s526ms 2s659ms 17 39 1m38s 2s524ms 18 16 42s175ms 2s635ms 19 4 9s712ms 2s428ms 20 8 19s958ms 2s494ms 21 11 27s654ms 2s514ms 22 5 13s713ms 2s742ms 23 14 49s110ms 3s507ms Mar 20 00 31 1m45s 3s391ms 01 36 1m32s 2s576ms 02 27 1m10s 2s599ms 03 7 19s160ms 2s737ms 04 13 42s526ms 3s271ms 05 46 2m22s 3s97ms 06 19 2m26s 7s696ms 07 117 5m9s 2s646ms 08 136 6m6s 2s692ms 09 86 3m51s 2s686ms 10 58 2m29s 2s572ms 11 12 28s27ms 2s335ms 12 2 4s626ms 2s313ms 14 5 14s727ms 2s945ms 15 5 13s134ms 2s626ms 16 4 11s964ms 2s991ms 17 5 14s687ms 2s937ms 18 3 8s95ms 2s698ms 19 6 16s108ms 2s684ms 20 4 10s608ms 2s652ms 21 12 30s920ms 2s576ms 22 16 43s75ms 2s692ms 23 20 55s909ms 2s795ms Mar 21 00 5 14s89ms 2s817ms 02 7 19s949ms 2s849ms 03 14 39s744ms 2s838ms 04 5 14s216ms 2s843ms 05 18 47s628ms 2s646ms 06 2 4s621ms 2s310ms 07 2 6s682ms 3s341ms 09 6 17s420ms 2s903ms 10 3 6s683ms 2s227ms 11 1 3s346ms 3s346ms 13 4 10s418ms 2s604ms 14 2 5s343ms 2s671ms 15 4 11s124ms 2s781ms 16 11 27s893ms 2s535ms 17 18 46s633ms 2s590ms 19 1 2s97ms 2s97ms Mar 22 02 1 3s194ms 3s194ms 03 1 6s135ms 6s135ms 05 65 2m50s 2s625ms 06 69 3m2s 2s650ms 07 21 53s740ms 2s559ms 08 8 21s755ms 2s719ms 09 11 28s282ms 2s571ms 10 8 19s13ms 2s376ms 11 1 2s434ms 2s434ms 12 1 3s286ms 3s286ms 13 2 4s275ms 2s137ms 14 4 9s908ms 2s477ms 15 12 29s425ms 2s452ms 16 9 23s178ms 2s575ms 17 11 26s882ms 2s443ms 18 7 17s843ms 2s549ms 19 1 2s152ms 2s152ms 21 4 9s962ms 2s490ms 22 5 12s938ms 2s587ms 23 13 32s24ms 2s463ms Mar 23 00 14 34s252ms 2s446ms 01 2 4s990ms 2s495ms 03 4 10s746ms 2s686ms 04 2 5s624ms 2s812ms 05 5 12s74ms 2s414ms 08 1 2s190ms 2s190ms 09 1 2s136ms 2s136ms 10 3 7s731ms 2s577ms 14 1 2s388ms 2s388ms [ User: pubeu - Total duration: 26m31s - Times executed: 539 ]
[ User: qaeu - Total duration: 24s883ms - 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 = '646767' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 4 ORDER BY sn.path;
Date: 2024-03-20 06:37:24 Duration: 15s372ms 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 = '584588' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 4 ORDER BY sn.path;
Date: 2024-03-20 06:37:23 Duration: 14s682ms 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 = '364932' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 4 ORDER BY sn.path;
Date: 2024-03-20 06:37:23 Duration: 14s543ms Database: ctdprd51 User: pubeu Bind query: yes
6 52m11s 769 1s4ms 17s253ms 4s72ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Mar 17 00 1 4s968ms 4s968ms 01 2 7s230ms 3s615ms 04 1 4s636ms 4s636ms 05 2 2s400ms 1s200ms 06 1 1s256ms 1s256ms 07 1 12s112ms 12s112ms 08 5 31s307ms 6s261ms 10 1 6s389ms 6s389ms 11 3 9s94ms 3s31ms 12 1 1s311ms 1s311ms 13 1 4s795ms 4s795ms 14 1 4s901ms 4s901ms 15 1 5s318ms 5s318ms 17 2 8s243ms 4s121ms 19 1 1s386ms 1s386ms 20 1 1s290ms 1s290ms 22 2 24s229ms 12s114ms Mar 18 01 1 1s82ms 1s82ms 02 1 1s550ms 1s550ms 03 2 11s276ms 5s638ms 04 4 12s67ms 3s16ms 06 2 14s327ms 7s163ms 07 2 8s162ms 4s81ms 08 1 6s864ms 6s864ms 11 1 2s143ms 2s143ms 14 1 5s141ms 5s141ms 15 3 15s636ms 5s212ms 16 1 1s36ms 1s36ms 17 3 8s879ms 2s959ms 18 2 18s261ms 9s130ms 19 1 1s256ms 1s256ms 20 3 7s461ms 2s487ms 21 2 4s190ms 2s95ms 22 1 11s908ms 11s908ms 23 4 15s223ms 3s805ms Mar 19 01 1 1s168ms 1s168ms 02 1 12s423ms 12s423ms 04 3 12s509ms 4s169ms 05 3 6s291ms 2s97ms 06 1 5s26ms 5s26ms 07 2 7s355ms 3s677ms 08 3 9s536ms 3s178ms 09 3 14s307ms 4s769ms 10 1 5s175ms 5s175ms 11 2 10s39ms 5s19ms 12 4 13s536ms 3s384ms 13 10 44s915ms 4s491ms 14 10 50s737ms 5s73ms 15 14 1m10s 5s43ms 16 5 17s459ms 3s491ms 17 9 37s917ms 4s213ms 18 13 1m1s 4s702ms 19 8 41s916ms 5s239ms 20 12 42s33ms 3s502ms 21 11 35s534ms 3s230ms 22 5 17s732ms 3s546ms 23 6 23s242ms 3s873ms Mar 20 00 16 58s583ms 3s661ms 01 8 28s274ms 3s534ms 02 6 26s618ms 4s436ms 03 9 38s972ms 4s330ms 04 6 38s720ms 6s453ms 05 7 34s787ms 4s969ms 06 5 44s168ms 8s833ms 07 7 23s915ms 3s416ms 08 11 45s269ms 4s115ms 09 9 39s641ms 4s404ms 10 15 55s590ms 3s706ms 11 9 38s473ms 4s274ms 12 5 20s618ms 4s123ms 13 6 22s386ms 3s731ms 14 4 13s701ms 3s425ms 15 4 16s28ms 4s7ms 16 3 11s128ms 3s709ms 17 4 7s187ms 1s796ms 18 2 8s198ms 4s99ms 19 7 19s931ms 2s847ms 20 4 9s771ms 2s442ms 21 14 52s308ms 3s736ms 22 11 49s877ms 4s534ms 23 8 25s929ms 3s241ms Mar 21 00 8 17s666ms 2s208ms 01 6 30s29ms 5s4ms 02 5 15s305ms 3s61ms 03 10 49s65ms 4s906ms 04 8 31s838ms 3s979ms 05 5 23s921ms 4s784ms 06 6 39s892ms 6s648ms 07 5 22s931ms 4s586ms 08 6 18s353ms 3s58ms 09 3 14s160ms 4s720ms 10 4 13s915ms 3s478ms 11 6 14s287ms 2s381ms 12 6 27s99ms 4s516ms 13 5 13s263ms 2s652ms 14 8 22s630ms 2s828ms 15 4 13s550ms 3s387ms 16 5 44s174ms 8s834ms 17 10 43s734ms 4s373ms 18 6 18s156ms 3s26ms 19 7 25s149ms 3s592ms 20 3 3s849ms 1s283ms 21 8 46s731ms 5s841ms 22 3 11s668ms 3s889ms 23 3 11s317ms 3s772ms Mar 22 00 7 22s265ms 3s180ms 01 7 21s591ms 3s84ms 02 5 54s733ms 10s946ms 03 3 12s5ms 4s1ms 05 2 16s528ms 8s264ms 06 6 24s935ms 4s155ms 07 3 11s661ms 3s887ms 08 9 27s839ms 3s93ms 09 2 11s95ms 5s547ms 10 6 19s752ms 3s292ms 11 4 19s375ms 4s843ms 12 4 12s939ms 3s234ms 13 11 32s585ms 2s962ms 14 8 25s859ms 3s232ms 15 8 21s604ms 2s700ms 16 12 34s236ms 2s853ms 17 6 24s419ms 4s69ms 18 6 25s37ms 4s172ms 19 5 34s439ms 6s887ms 20 5 16s949ms 3s389ms 21 2 13s124ms 6s562ms 22 4 11s982ms 2s995ms 23 5 20s420ms 4s84ms Mar 23 00 3 9s900ms 3s300ms 01 11 45s995ms 4s181ms 02 2 17s929ms 8s964ms 03 8 32s144ms 4s18ms 04 7 19s949ms 2s849ms 05 6 14s624ms 2s437ms 06 4 10s687ms 2s671ms 07 4 17s97ms 4s274ms 08 8 27s484ms 3s435ms 09 9 36s863ms 4s95ms 10 3 6s971ms 2s323ms 11 10 36s83ms 3s608ms 12 6 16s876ms 2s812ms 13 3 12s15ms 4s5ms 14 6 38s300ms 6s383ms 15 2 6s473ms 3s236ms 16 4 12s814ms 3s203ms 17 5 28s73ms 5s614ms 18 4 12s817ms 3s204ms 19 5 16s289ms 3s257ms 20 2 9s433ms 4s716ms 21 5 21s198ms 4s239ms 22 7 31s312ms 4s473ms 23 6 14s231ms 2s371ms [ User: pubeu - Total duration: 21m46s - Times executed: 311 ]
-
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 = '2053945') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-03-20 06:37:26 Duration: 17s253ms 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 = '2048764') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-03-20 03:16:02 Duration: 14s847ms 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 = '2052710') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-03-22 02:14:44 Duration: 13s277ms Database: ctdprd51 User: pubeu Bind query: yes
7 29m 658 1s19ms 14s621ms 2s645ms select * from ( select g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, count(*) over () fullrowcount from term g where g.id in ( select gt.gene_id from dag_path dp inner join gene_taxon gt on dp.descendant_object_id = gt.taxon_id where dp.ancestor_object_id = ? union all select gcr.gene_id from dag_path dp inner join gene_chem_reference gcr on dp.descendant_object_id = gcr.taxon_id where dp.ancestor_object_id = ?) offset ?) mq order by mq.genesymbolsort limit ? offset ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 17 00 1 2s 2s 02 6 14s480ms 2s413ms 04 1 2s223ms 2s223ms 06 3 6s547ms 2s182ms 07 3 8s318ms 2s772ms 09 5 12s218ms 2s443ms 10 6 13s895ms 2s315ms 11 6 15s549ms 2s591ms 12 2 4s975ms 2s487ms 13 5 13s139ms 2s627ms 14 7 16s438ms 2s348ms 15 1 2s202ms 2s202ms 16 1 2s281ms 2s281ms 19 3 7s232ms 2s410ms 20 2 5s155ms 2s577ms 21 2 6s681ms 3s340ms 23 1 2s23ms 2s23ms Mar 18 05 2 4s418ms 2s209ms 08 2 4s461ms 2s230ms 09 5 11s880ms 2s376ms 10 7 14s893ms 2s127ms 11 4 8s326ms 2s81ms 12 6 12s711ms 2s118ms 13 4 8s324ms 2s81ms 14 2 4s473ms 2s236ms 15 3 8s849ms 2s949ms 16 3 7s177ms 2s392ms 17 6 12s662ms 2s110ms 18 2 3s880ms 1s940ms 19 4 11s378ms 2s844ms 20 3 7s534ms 2s511ms 21 1 2s745ms 2s745ms 22 3 6s845ms 2s281ms 23 2 4s446ms 2s223ms Mar 19 00 7 14s892ms 2s127ms 01 6 17s427ms 2s904ms 02 6 13s951ms 2s325ms 03 2 6s77ms 3s38ms 04 9 21s454ms 2s383ms 05 12 29s716ms 2s476ms 06 7 17s149ms 2s449ms 07 5 11s169ms 2s233ms 08 6 14s364ms 2s394ms 09 6 15s600ms 2s600ms 10 7 15s740ms 2s248ms 11 7 17s558ms 2s508ms 13 2 4s297ms 2s148ms 14 1 2s256ms 2s256ms 16 8 18s711ms 2s338ms 17 22 53s906ms 2s450ms 18 12 29s415ms 2s451ms 19 1 3s400ms 3s400ms 20 6 15s338ms 2s556ms 21 6 13s207ms 2s201ms 22 1 2s312ms 2s312ms 23 6 18s143ms 3s23ms Mar 20 00 13 45s987ms 3s537ms 01 13 34s603ms 2s661ms 02 7 17s765ms 2s537ms 03 3 7s185ms 2s395ms 04 4 21s202ms 5s300ms 05 13 37s772ms 2s905ms 06 17 2m19s 8s222ms 07 22 52s966ms 2s407ms 08 42 1m40s 2s396ms 09 17 40s805ms 2s400ms 10 12 29s196ms 2s433ms 11 4 9s617ms 2s404ms 13 1 3s294ms 3s294ms 14 2 4s322ms 2s161ms 16 4 10s97ms 2s524ms 18 9 21s259ms 2s362ms 19 13 33s235ms 2s556ms 20 17 43s128ms 2s536ms 21 9 21s448ms 2s383ms 22 24 58s675ms 2s444ms 23 25 1m2s 2s509ms Mar 21 00 1 2s211ms 2s211ms 04 2 4s552ms 2s276ms 05 2 4s508ms 2s254ms 06 3 6s684ms 2s228ms 07 2 5s682ms 2s841ms 08 4 10s102ms 2s525ms 09 3 6s874ms 2s291ms 10 7 18s846ms 2s692ms 12 1 1s996ms 1s996ms 13 1 3s221ms 3s221ms 16 3 5s672ms 1s890ms 17 2 4s207ms 2s103ms Mar 22 03 1 5s824ms 5s824ms 05 16 38s434ms 2s402ms 06 18 44s379ms 2s465ms 10 1 2s430ms 2s430ms 12 2 5s633ms 2s816ms 13 2 4s226ms 2s113ms 14 9 22s311ms 2s479ms 15 13 31s160ms 2s396ms 16 5 11s721ms 2s344ms 17 2 4s460ms 2s230ms 18 3 8s519ms 2s839ms 21 1 2s220ms 2s220ms 22 3 6s675ms 2s225ms 23 8 20s613ms 2s576ms Mar 23 00 2 4s462ms 2s231ms 01 1 2s296ms 2s296ms 03 4 14s968ms 3s742ms 06 2 4s408ms 2s204ms 08 1 2s218ms 2s218ms 09 1 2s220ms 2s220ms 10 1 2s219ms 2s219ms 12 1 2s379ms 2s379ms [ User: pubeu - Total duration: 9m55s - Times executed: 193 ]
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '12033' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '12033') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50 OFFSET 200;
Date: 2024-03-20 06:37:23 Duration: 14s621ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '584586' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '584586') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50 OFFSET 300;
Date: 2024-03-20 06:37:23 Duration: 14s120ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '954270' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '954270') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50 OFFSET 350;
Date: 2024-03-20 06:37:22 Duration: 13s949ms Database: ctdprd51 User: pubeu Bind query: yes
8 23m5s 1 23m5s 23m5s 23m5s 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 #8
Day Hour Count Duration Avg duration Mar 23 18 1 23m5s 23m5s -
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-03-23 18:59:46 Duration: 23m5s
9 22m59s 1 22m59s 22m59s 22m59s 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 #9
Day Hour Count Duration Avg duration Mar 23 19 1 22m59s 22m59s -
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-03-23 19:40:23 Duration: 22m59s
10 19m32s 274 3s832ms 17s377ms 4s277ms select coalesce(st.alt_nm, t.nm) slimtermnm, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.curated_reference_qty > ?) curatedcount, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.indirect_gene_qty > ?) inferredcount from slim_term st inner join term t on st.slim_term_id = t.id where st.slim_id = ? order by ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 17 00 3 12s88ms 4s29ms 02 1 3s998ms 3s998ms 03 2 7s947ms 3s973ms 07 3 12s93ms 4s31ms 08 1 3s999ms 3s999ms 09 1 4s15ms 4s15ms 11 2 8s279ms 4s139ms 17 2 7s953ms 3s976ms 18 1 3s997ms 3s997ms 21 3 11s818ms 3s939ms 22 2 8s34ms 4s17ms 23 2 8s75ms 4s37ms Mar 18 00 1 4s2ms 4s2ms 01 1 3s961ms 3s961ms 02 5 20s272ms 4s54ms 03 2 8s148ms 4s74ms 04 1 3s995ms 3s995ms 05 5 20s116ms 4s23ms 06 1 4s232ms 4s232ms 07 3 35s431ms 11s810ms 08 4 16s524ms 4s131ms 09 1 4s350ms 4s350ms 10 3 12s211ms 4s70ms 12 1 4s45ms 4s45ms 13 2 8s148ms 4s74ms 14 1 4s176ms 4s176ms 18 3 11s998ms 3s999ms 19 11 44s85ms 4s7ms 20 5 19s809ms 3s961ms 21 2 8s7ms 4s3ms Mar 19 00 1 4s44ms 4s44ms 01 2 8s239ms 4s119ms 02 2 8s9ms 4s4ms 03 1 4s30ms 4s30ms 04 1 3s956ms 3s956ms 05 3 12s248ms 4s82ms 06 2 8s8ms 4s4ms 07 4 16s120ms 4s30ms 08 1 4s89ms 4s89ms 09 2 8s91ms 4s45ms 10 1 4s2ms 4s2ms 11 1 4s40ms 4s40ms 13 1 4s110ms 4s110ms 14 2 8s34ms 4s17ms 15 2 8s461ms 4s230ms 16 7 28s346ms 4s49ms 20 6 24s945ms 4s157ms 22 3 12s46ms 4s15ms 23 2 8s452ms 4s226ms Mar 20 01 1 4s42ms 4s42ms 02 1 4s174ms 4s174ms 03 9 38s318ms 4s257ms 09 2 8s158ms 4s79ms 10 6 26s43ms 4s340ms 11 2 7s997ms 3s998ms 12 6 24s112ms 4s18ms 14 1 3s979ms 3s979ms 15 4 16s604ms 4s151ms 17 1 4s10ms 4s10ms 19 1 3s986ms 3s986ms 23 1 4s68ms 4s68ms Mar 21 01 4 16s106ms 4s26ms 02 5 20s440ms 4s88ms 03 2 8s233ms 4s116ms 04 5 20s249ms 4s49ms 05 9 36s835ms 4s92ms 06 16 1m4s 4s11ms 07 19 1m17s 4s67ms 08 2 7s896ms 3s948ms 09 3 12s157ms 4s52ms 10 1 4s4ms 4s4ms 12 1 4s235ms 4s235ms 13 1 4s54ms 4s54ms 14 2 8s245ms 4s122ms 15 1 4s57ms 4s57ms 17 3 12s121ms 4s40ms 18 1 3s990ms 3s990ms 19 1 4s21ms 4s21ms 21 1 4s65ms 4s65ms Mar 22 00 2 8s181ms 4s90ms 01 4 28s776ms 7s194ms 02 1 13s995ms 13s995ms 06 1 17s377ms 17s377ms 08 5 19s830ms 3s966ms 09 1 3s994ms 3s994ms 10 2 8s175ms 4s87ms 12 2 8s6ms 4s3ms 14 4 16s397ms 4s99ms 17 1 3s899ms 3s899ms 20 1 4s12ms 4s12ms 22 1 4s35ms 4s35ms Mar 23 00 2 8s298ms 4s149ms 01 2 8s67ms 4s33ms 03 1 4s31ms 4s31ms 04 1 4s28ms 4s28ms 06 4 15s910ms 3s977ms 07 1 4s26ms 4s26ms 08 1 4s4ms 4s4ms 10 1 4s13ms 4s13ms 13 1 3s973ms 3s973ms 17 2 8s127ms 4s63ms 18 1 4s48ms 4s48ms 21 1 4s111ms 4s111ms [ User: pubeu - Total duration: 6m57s - Times executed: 103 ]
-
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 = '1379157') 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 = '1379157') 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-03-22 06:03:40 Duration: 17s377ms 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 = '1379157') 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 = '1379157') 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-03-18 07:16:32 Duration: 17s151ms 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 = '1379157') 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 = '1379157') 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-03-22 01:46:00 Duration: 16s843ms Bind query: yes
11 13m54s 690 1s44ms 12s238ms 1s209ms 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 #11
Day Hour Count Duration Avg duration Mar 17 01 1 1s124ms 1s124ms 02 2 2s209ms 1s104ms 05 6 6s885ms 1s147ms 06 4 4s416ms 1s104ms 07 3 3s370ms 1s123ms 10 3 3s294ms 1s98ms 11 6 6s681ms 1s113ms 12 3 3s374ms 1s124ms 13 3 3s300ms 1s100ms 14 2 2s232ms 1s116ms 15 1 1s119ms 1s119ms 17 6 6s757ms 1s126ms 18 1 1s85ms 1s85ms 19 2 2s208ms 1s104ms 20 6 6s582ms 1s97ms 21 3 3s330ms 1s110ms 22 1 1s108ms 1s108ms Mar 18 00 3 3s332ms 1s110ms 01 3 3s351ms 1s117ms 02 1 1s112ms 1s112ms 05 2 2s438ms 1s219ms 06 1 1s126ms 1s126ms 08 1 1s148ms 1s148ms 09 1 1s102ms 1s102ms 10 8 8s896ms 1s112ms 11 9 9s957ms 1s106ms 12 7 7s764ms 1s109ms 13 5 5s475ms 1s95ms 14 5 5s563ms 1s112ms 15 2 2s207ms 1s103ms 16 2 2s199ms 1s99ms 17 2 2s181ms 1s90ms 18 2 2s213ms 1s106ms 19 3 3s250ms 1s83ms 21 1 1s66ms 1s66ms 22 1 1s104ms 1s104ms 23 1 1s105ms 1s105ms Mar 19 00 1 1s114ms 1s114ms 01 3 3s346ms 1s115ms 02 7 7s776ms 1s110ms 03 3 3s375ms 1s125ms 04 6 6s702ms 1s117ms 05 4 4s663ms 1s165ms 06 7 7s794ms 1s113ms 07 4 4s433ms 1s108ms 08 4 4s479ms 1s119ms 09 1 1s99ms 1s99ms 10 5 5s408ms 1s81ms 11 8 8s779ms 1s97ms 12 2 2s264ms 1s132ms 13 3 3s277ms 1s92ms 14 2 2s212ms 1s106ms 15 5 5s494ms 1s98ms 16 6 6s638ms 1s106ms 17 11 12s91ms 1s99ms 18 9 9s840ms 1s93ms 19 2 2s212ms 1s106ms 20 4 4s362ms 1s90ms 21 7 7s600ms 1s85ms 22 5 5s604ms 1s120ms 23 13 15s331ms 1s179ms Mar 20 00 15 26s273ms 1s751ms 01 12 13s436ms 1s119ms 02 4 4s403ms 1s100ms 03 2 2s272ms 1s136ms 04 2 4s897ms 2s448ms 05 19 30s995ms 1s631ms 06 3 35s792ms 11s930ms 07 34 38s593ms 1s135ms 08 36 43s475ms 1s207ms 09 23 26s15ms 1s131ms 10 15 16s510ms 1s100ms 12 4 4s278ms 1s69ms 14 3 3s258ms 1s86ms 15 5 5s451ms 1s90ms 16 2 2s131ms 1s65ms 17 2 2s167ms 1s83ms 18 3 3s304ms 1s101ms 19 4 4s372ms 1s93ms 20 3 3s260ms 1s86ms 21 2 2s226ms 1s113ms 22 9 10s247ms 1s138ms 23 6 6s811ms 1s135ms Mar 21 00 5 5s601ms 1s120ms 01 2 2s177ms 1s88ms 02 6 6s689ms 1s114ms 03 5 5s694ms 1s138ms 04 14 15s773ms 1s126ms 05 11 12s522ms 1s138ms 06 2 2s269ms 1s134ms 07 5 5s518ms 1s103ms 08 4 4s310ms 1s77ms 09 4 4s364ms 1s91ms 10 4 4s381ms 1s95ms 12 2 2s196ms 1s98ms 14 1 1s93ms 1s93ms 16 5 5s451ms 1s90ms 17 4 4s331ms 1s82ms 18 3 3s335ms 1s111ms 19 1 1s80ms 1s80ms 23 2 2s240ms 1s120ms Mar 22 00 1 1s109ms 1s109ms 02 1 1s235ms 1s235ms 03 2 10s322ms 5s161ms 05 32 36s360ms 1s136ms 06 45 49s241ms 1s94ms 07 9 9s901ms 1s100ms 08 6 6s545ms 1s90ms 09 4 4s371ms 1s92ms 10 1 1s109ms 1s109ms 12 1 1s93ms 1s93ms 13 2 2s205ms 1s102ms 14 5 5s520ms 1s104ms 15 4 4s375ms 1s93ms 16 1 1s119ms 1s119ms 17 2 2s206ms 1s103ms 18 1 1s103ms 1s103ms 19 1 1s93ms 1s93ms 21 1 1s86ms 1s86ms 22 5 5s653ms 1s130ms 23 2 2s262ms 1s131ms Mar 23 00 6 6s795ms 1s132ms 01 2 2s359ms 1s179ms 02 1 1s102ms 1s102ms 03 1 1s156ms 1s156ms 04 1 1s106ms 1s106ms 05 4 4s667ms 1s166ms 06 4 4s446ms 1s111ms 07 1 1s97ms 1s97ms 08 4 4s416ms 1s104ms 09 4 4s413ms 1s103ms 10 3 3s281ms 1s93ms 13 4 4s422ms 1s105ms 14 3 3s281ms 1s93ms 16 2 2s253ms 1s126ms 22 1 1s160ms 1s160ms [ User: pubeu - Total duration: 4m29s - Times executed: 187 ]
-
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 = '1952985' or receptorTerm.id = '1952985' 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-03-20 06:37:21 Duration: 12s238ms 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 = '1583713' or receptorTerm.id = '1583713' 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-03-20 06:37:22 Duration: 11s959ms 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 = '1802471' or receptorTerm.id = '1802471' 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-03-20 06:37:22 Duration: 11s594ms Database: ctdprd51 User: pubeu Bind query: yes
12 12m45s 25 30s128ms 31s81ms 30s630ms 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 #12
Day Hour Count Duration Avg duration Mar 17 06 1 30s441ms 30s441ms 10 1 30s676ms 30s676ms 14 1 30s483ms 30s483ms 18 1 30s541ms 30s541ms Mar 18 06 1 30s529ms 30s529ms 10 1 30s813ms 30s813ms 14 1 30s528ms 30s528ms 18 1 30s636ms 30s636ms Mar 19 06 1 30s620ms 30s620ms 10 1 30s520ms 30s520ms 14 1 30s514ms 30s514ms 18 1 30s847ms 30s847ms Mar 20 06 1 31s81ms 31s81ms 10 1 30s621ms 30s621ms 14 1 30s550ms 30s550ms 18 1 30s664ms 30s664ms Mar 21 06 1 30s830ms 30s830ms 10 1 30s583ms 30s583ms 14 1 30s711ms 30s711ms 18 1 30s548ms 30s548ms Mar 22 06 1 30s735ms 30s735ms 10 1 30s635ms 30s635ms 14 1 30s614ms 30s614ms 18 1 30s894ms 30s894ms Mar 23 19 1 30s128ms 30s128ms [ User: postgres - Total duration: 12m15s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 12m15s - 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-03-20 06:05:33 Duration: 31s81ms 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-03-22 18:05:32 Duration: 30s894ms 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-03-19 18:05:32 Duration: 30s847ms Database: ctdprd51 User: postgres Application: pg_dump
13 7m45s 86 1s234ms 16s98ms 5s417ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Mar 17 07 1 12s108ms 12s108ms 08 5 49s660ms 9s932ms Mar 19 06 3 6s524ms 2s174ms Mar 20 00 1 4s813ms 4s813ms 03 5 52s216ms 10s443ms 05 2 28s493ms 14s246ms 06 1 1s952ms 1s952ms 09 1 13s401ms 13s401ms 23 3 16s548ms 5s516ms Mar 21 00 1 4s248ms 4s248ms 03 1 11s530ms 11s530ms 04 12 53s816ms 4s484ms 05 32 2m30s 4s697ms 07 1 1s420ms 1s420ms 08 1 1s365ms 1s365ms 09 1 1s267ms 1s267ms Mar 22 03 2 16s614ms 8s307ms 06 1 2s98ms 2s98ms 21 1 1s277ms 1s277ms Mar 23 00 1 1s548ms 1s548ms 02 2 24s371ms 12s185ms 03 8 10s336ms 1s292ms [ User: pubeu - Total duration: 2m47s - Times executed: 24 ]
-
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 = '2051475') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1525050;
Date: 2024-03-20 05:44:12 Duration: 16s98ms 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 = '2052710') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 50;
Date: 2024-03-22 03:17:40 Duration: 14s862ms 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 = '2052478') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1739350;
Date: 2024-03-20 09:53:16 Duration: 13s401ms Database: ctdprd51 User: pubeu Bind query: yes
14 6m49s 12 27s650ms 39s455ms 34s116ms select ? "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casrn "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" from ( with sq as ( select distinct c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casrn, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort from term c inner join gene_chem_reference gcr on c.id = gcr.chem_id inner join term g on gcr.gene_id = g.id where (c.id = ?)) select distinct sq.chem_nm, sq.chem_acc_txt, sq.casrn, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm from sq inner join gene_go_annot gga on sq.gene_id = gga.gene_id inner join dag_node gt on gga.go_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where gga.is_not = false and (d.id = ?) order by sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Mar 17 17 3 1m40s 33s579ms Mar 20 14 3 1m41s 33s845ms 18 3 1m41s 33s732ms 23 3 1m45s 35s309ms [ User: pubeu - Total duration: 2m43s - Times executed: 5 ]
-
SELECT /* BatchChemGODAO */ 'd000082' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1328314)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-03-20 14:57:36 Duration: 39s455ms Bind query: yes
-
SELECT /* BatchChemGODAO */ 'd000082' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1328314)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-03-17 17:51:57 Duration: 38s627ms Bind query: yes
-
SELECT /* BatchChemGODAO */ 'd000082' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1328314)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-03-20 23:03:06 Duration: 38s14ms Bind query: yes
15 6m40s 1 6m40s 6m40s 6m40s copy pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Mar 23 19 1 6m40s 6m40s -
COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-03-23 19:11:05 Duration: 6m40s
16 6m39s 1 6m39s 6m39s 6m39s copy pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Mar 23 19 1 6m39s 6m39s -
COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-03-23 19:51:40 Duration: 6m39s
17 5m48s 25 13s854ms 14s26ms 13s948ms copy edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Mar 17 06 1 13s962ms 13s962ms 10 1 13s901ms 13s901ms 14 1 13s881ms 13s881ms 18 1 13s952ms 13s952ms Mar 18 06 1 13s945ms 13s945ms 10 1 13s949ms 13s949ms 14 1 13s900ms 13s900ms 18 1 13s928ms 13s928ms Mar 19 06 1 13s934ms 13s934ms 10 1 13s924ms 13s924ms 14 1 13s854ms 13s854ms 18 1 13s935ms 13s935ms Mar 20 06 1 14s26ms 14s26ms 10 1 13s973ms 13s973ms 14 1 13s951ms 13s951ms 18 1 13s963ms 13s963ms Mar 21 06 1 13s950ms 13s950ms 10 1 13s956ms 13s956ms 14 1 13s965ms 13s965ms 18 1 13s973ms 13s973ms Mar 22 06 1 14s18ms 14s18ms 10 1 13s969ms 13s969ms 14 1 13s967ms 13s967ms 18 1 13s957ms 13s957ms Mar 23 18 1 13s968ms 13s968ms -
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-03-20 06:00:56 Duration: 14s26ms
-
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-03-22 06:00:56 Duration: 14s18ms
-
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-03-21 18:00:56 Duration: 13s973ms
18 5m27s 77 1s4ms 6s540ms 4s255ms select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Mar 17 03 2 2s83ms 1s41ms 04 2 10s65ms 5s32ms 11 2 10s906ms 5s453ms 12 2 6s70ms 3s35ms 13 1 5s44ms 5s44ms Mar 18 03 1 5s278ms 5s278ms 07 1 1s171ms 1s171ms 09 1 4s989ms 4s989ms 10 1 5s24ms 5s24ms 11 1 4s978ms 4s978ms 17 2 6s210ms 3s105ms Mar 19 02 1 5s147ms 5s147ms 03 1 5s407ms 5s407ms 04 1 5s353ms 5s353ms 08 3 11s731ms 3s910ms 09 1 5s212ms 5s212ms 13 1 5s109ms 5s109ms 14 1 1s58ms 1s58ms 15 1 1s56ms 1s56ms 18 1 5s996ms 5s996ms 23 3 17s347ms 5s782ms Mar 20 00 4 17s125ms 4s281ms 02 6 30s857ms 5s142ms 03 1 6s508ms 6s508ms 07 1 6s540ms 6s540ms 08 1 1s115ms 1s115ms 11 2 6s994ms 3s497ms 12 3 15s663ms 5s221ms 13 1 5s231ms 5s231ms 15 2 10s218ms 5s109ms 17 1 5s243ms 5s243ms 23 1 5s119ms 5s119ms Mar 21 01 2 10s632ms 5s316ms 05 1 1s5ms 1s5ms 07 1 1s115ms 1s115ms 08 1 5s286ms 5s286ms 10 1 5s53ms 5s53ms 13 1 5s46ms 5s46ms Mar 22 08 5 25s799ms 5s159ms 13 2 10s264ms 5s132ms 14 1 5s190ms 5s190ms 20 1 1s11ms 1s11ms 21 1 5s409ms 5s409ms 22 1 1s35ms 1s35ms 23 1 5s306ms 5s306ms Mar 23 01 2 2s70ms 1s35ms 07 1 1s33ms 1s33ms 15 1 1s13ms 1s13ms 18 1 5s552ms 5s552ms [ User: pubeu - Total duration: 1m33s - Times executed: 23 ]
-
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 = '1411475' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-03-20 07:42:21 Duration: 6s540ms 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 = '1256648' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-03-20 03:19:36 Duration: 6s508ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1298546' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-03-19 23:07:17 Duration: 6s83ms Bind query: yes
19 5m26s 25 12s947ms 13s207ms 13s59ms copy edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 17 06 1 13s90ms 13s90ms 10 1 13s66ms 13s66ms 14 1 13s22ms 13s22ms 18 1 13s35ms 13s35ms Mar 18 06 1 13s35ms 13s35ms 10 1 13s49ms 13s49ms 14 1 13s99ms 13s99ms 18 1 13s64ms 13s64ms Mar 19 06 1 13s81ms 13s81ms 10 1 13s146ms 13s146ms 14 1 13s49ms 13s49ms 18 1 13s16ms 13s16ms Mar 20 06 1 13s207ms 13s207ms 10 1 12s997ms 12s997ms 14 1 13s71ms 13s71ms 18 1 13s44ms 13s44ms Mar 21 06 1 13s129ms 13s129ms 10 1 13s70ms 13s70ms 14 1 13s29ms 13s29ms 18 1 13s5ms 13s5ms Mar 22 06 1 13s115ms 13s115ms 10 1 13s38ms 13s38ms 14 1 13s4ms 13s4ms 18 1 13s60ms 13s60ms Mar 23 18 1 12s947ms 12s947ms [ User: postgres - Total duration: 5m26s - Times executed: 25 ]
[ Application: pg_dump - Total duration: 5m26s - Times executed: 25 ]
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-03-20 06:00:14 Duration: 13s207ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-03-19 10:00:14 Duration: 13s146ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-03-21 06:00:14 Duration: 13s129ms Database: ctdprd51 User: postgres Application: pg_dump
20 5m15s 24 13s61ms 13s260ms 13s145ms copy edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Mar 17 06 1 13s180ms 13s180ms 10 1 13s115ms 13s115ms 14 1 13s72ms 13s72ms 18 1 13s135ms 13s135ms Mar 18 06 1 13s76ms 13s76ms 10 1 13s114ms 13s114ms 14 1 13s146ms 13s146ms Mar 19 06 1 13s137ms 13s137ms 10 1 13s260ms 13s260ms 14 1 13s131ms 13s131ms 18 1 13s245ms 13s245ms Mar 20 06 1 13s196ms 13s196ms 10 1 13s142ms 13s142ms 14 1 13s108ms 13s108ms 18 1 13s156ms 13s156ms Mar 21 06 1 13s138ms 13s138ms 10 1 13s61ms 13s61ms 14 1 13s123ms 13s123ms 18 1 13s163ms 13s163ms Mar 22 06 1 13s162ms 13s162ms 10 1 13s154ms 13s154ms 14 1 13s128ms 13s128ms 18 1 13s218ms 13s218ms Mar 23 18 1 13s120ms 13s120ms -
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-03-19 10:00:42 Duration: 13s260ms
-
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-03-19 18:00:42 Duration: 13s245ms
-
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-03-22 18:00:42 Duration: 13s218ms
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 2,219 1h52m20s 1s 17s446ms 3s37ms select * from ( select g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, count(*) over () fullrowcount from term g where g.id in ( select gt.gene_id from dag_path dp inner join gene_taxon gt on dp.descendant_object_id = gt.taxon_id where dp.ancestor_object_id = ? union all select gcr.gene_id from dag_path dp inner join gene_chem_reference gcr on dp.descendant_object_id = gcr.taxon_id where dp.ancestor_object_id = ?) offset ?) mq order by mq.genesymbolsort limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 17 00 5 21s637ms 4s327ms 01 10 23s484ms 2s348ms 02 7 17s212ms 2s458ms 03 12 29s95ms 2s424ms 04 15 44s988ms 2s999ms 05 5 10s546ms 2s109ms 06 7 23s47ms 3s292ms 07 2 7s396ms 3s698ms 08 2 4s344ms 2s172ms 09 6 16s103ms 2s683ms 10 8 23s73ms 2s884ms 11 21 57s854ms 2s754ms 12 3 6s437ms 2s145ms 13 10 26s773ms 2s677ms 14 11 27s888ms 2s535ms 15 2 3s949ms 1s974ms 16 12 34s862ms 2s905ms 17 12 31s571ms 2s630ms 18 2 4s102ms 2s51ms 19 7 17s528ms 2s504ms 20 17 42s326ms 2s489ms 21 17 39s497ms 2s323ms 22 12 29s874ms 2s489ms 23 2 7s225ms 3s612ms Mar 18 00 1 2s287ms 2s287ms 01 2 5s246ms 2s623ms 02 1 1s982ms 1s982ms 05 6 13s616ms 2s269ms 06 7 19s155ms 2s736ms 07 4 11s125ms 2s781ms 08 17 57s752ms 3s397ms 09 22 1m9s 3s136ms 10 52 2m26s 2s824ms 11 58 2m28s 2s568ms 12 21 1m3s 3s28ms 13 38 1m38s 2s597ms 14 25 1m 2s404ms 15 24 1m7s 2s795ms 16 41 1m49s 2s682ms 17 20 56s848ms 2s842ms 18 20 56s674ms 2s833ms 19 15 38s722ms 2s581ms 20 10 26s987ms 2s698ms 21 5 12s793ms 2s558ms 22 9 26s867ms 2s985ms 23 7 22s649ms 3s235ms Mar 19 00 9 29s658ms 3s295ms 01 17 51s934ms 3s54ms 02 15 39s751ms 2s650ms 03 13 33s952ms 2s611ms 04 8 21s930ms 2s741ms 05 21 53s162ms 2s531ms 06 15 43s835ms 2s922ms 07 15 40s712ms 2s714ms 08 13 38s638ms 2s972ms 09 12 32s273ms 2s689ms 10 15 41s899ms 2s793ms 11 14 36s932ms 2s638ms 12 5 11s623ms 2s324ms 13 4 12s246ms 3s61ms 14 4 10s563ms 2s640ms 15 5 10s288ms 2s57ms 16 21 58s191ms 2s771ms 17 51 2m36s 3s69ms 18 19 52s978ms 2s788ms 19 6 22s969ms 3s828ms 20 11 35s49ms 3s186ms 21 14 37s268ms 2s662ms 22 2 4s449ms 2s224ms 23 36 2m15s 3s766ms Mar 20 00 53 3m49s 4s326ms 01 52 2m26s 2s811ms 02 31 1m18s 2s523ms 03 6 15s796ms 2s632ms 04 25 1m47s 4s317ms 05 65 3m39s 3s374ms 06 45 5m56s 7s923ms 07 140 6m21s 2s725ms 08 153 7m20s 2s880ms 09 77 4m6s 3s203ms 10 43 1m53s 2s629ms 11 10 29s954ms 2s995ms 12 1 5s79ms 5s79ms 13 2 4s452ms 2s226ms 14 2 4s491ms 2s245ms 15 12 46s516ms 3s876ms 16 8 17s742ms 2s217ms 17 7 21s886ms 3s126ms 19 4 11s140ms 2s785ms 20 9 28s270ms 3s141ms 21 12 39s113ms 3s259ms 22 17 45s84ms 2s652ms 23 28 1m28s 3s168ms Mar 21 00 4 21s864ms 5s466ms 01 4 15s791ms 3s947ms 02 6 26s503ms 4s417ms 03 14 50s696ms 3s621ms 04 10 37s865ms 3s786ms 05 11 29s294ms 2s663ms 06 4 11s989ms 2s997ms 07 7 24s271ms 3s467ms 08 3 6s977ms 2s325ms 09 6 19s537ms 3s256ms 10 2 8s516ms 4s258ms 11 1 5s206ms 5s206ms 12 3 10s303ms 3s434ms 13 6 16s59ms 2s676ms 14 2 4s259ms 2s129ms 15 3 13s743ms 4s581ms 16 8 20s349ms 2s543ms 17 22 1m4s 2s910ms Mar 22 02 1 2s701ms 2s701ms 03 12 56s402ms 4s700ms 05 64 2m53s 2s707ms 06 94 4m25s 2s823ms 07 14 41s785ms 2s984ms 08 10 26s109ms 2s610ms 09 5 13s641ms 2s728ms 10 12 31s375ms 2s614ms 11 2 7s603ms 3s801ms 12 1 1s985ms 1s985ms 13 2 8s417ms 4s208ms 14 1 5s251ms 5s251ms 15 19 55s504ms 2s921ms 16 12 39s38ms 3s253ms 17 14 41s316ms 2s951ms 18 7 20s939ms 2s991ms 21 7 17s88ms 2s441ms 22 7 20s425ms 2s917ms 23 16 49s846ms 3s115ms Mar 23 00 13 35s145ms 2s703ms 01 9 26s112ms 2s901ms 03 14 33s202ms 2s371ms 04 1 2s238ms 2s238ms 05 1 5s202ms 5s202ms 08 3 7s736ms 2s578ms 10 2 5s511ms 2s755ms 12 1 2s80ms 2s80ms [ User: pubeu - Total duration: 41m5s - Times executed: 695 ]
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '646767' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '646767') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-03-20 06:37:26 Duration: 17s446ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '646442' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '646442') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-03-20 06:37:24 Duration: 15s113ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '954270' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '954270') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-03-20 06:37:23 Duration: 14s287ms Database: ctdprd51 User: pubeu Bind query: yes
2 1,728 1h18m13s 1s15ms 15s372ms 2s716ms 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 #2
Day Hour Count Duration Avg duration Mar 17 00 2 5s41ms 2s520ms 01 1 2s855ms 2s855ms 02 5 14s819ms 2s963ms 03 6 15s144ms 2s524ms 04 5 13s897ms 2s779ms 05 7 15s989ms 2s284ms 06 7 19s191ms 2s741ms 07 2 4s918ms 2s459ms 08 3 8s354ms 2s784ms 09 3 8s22ms 2s674ms 10 10 26s996ms 2s699ms 11 13 31s533ms 2s425ms 12 15 38s205ms 2s547ms 13 4 9s668ms 2s417ms 14 7 18s750ms 2s678ms 15 1 3s321ms 3s321ms 16 5 13s501ms 2s700ms 17 3 9s882ms 3s294ms 19 3 7s714ms 2s571ms 20 7 18s509ms 2s644ms 21 6 15s765ms 2s627ms 22 3 9s994ms 3s331ms Mar 18 01 3 7s762ms 2s587ms 02 1 2s378ms 2s378ms 05 8 18s932ms 2s366ms 06 2 5s 2s500ms 07 1 2s165ms 2s165ms 08 12 31s375ms 2s614ms 09 10 26s34ms 2s603ms 10 42 1m52s 2s668ms 11 31 1m21s 2s632ms 12 20 49s362ms 2s468ms 13 25 1m5s 2s611ms 14 11 30s996ms 2s817ms 15 24 1m2s 2s622ms 16 20 53s157ms 2s657ms 17 23 1m 2s623ms 18 11 27s289ms 2s480ms 19 17 42s478ms 2s498ms 20 12 30s580ms 2s548ms 21 2 4s978ms 2s489ms 22 4 10s306ms 2s576ms 23 5 12s842ms 2s568ms Mar 19 00 7 18s900ms 2s700ms 01 11 28s532ms 2s593ms 02 12 29s203ms 2s433ms 03 13 32s333ms 2s487ms 04 11 27s824ms 2s529ms 05 16 39s916ms 2s494ms 06 16 43s659ms 2s728ms 07 10 24s594ms 2s459ms 08 7 18s322ms 2s617ms 09 8 21s674ms 2s709ms 10 14 33s836ms 2s416ms 11 10 27s73ms 2s707ms 12 2 5s750ms 2s875ms 13 6 17s8ms 2s834ms 14 5 11s739ms 2s347ms 15 2 5s910ms 2s955ms 16 19 50s526ms 2s659ms 17 39 1m38s 2s524ms 18 16 42s175ms 2s635ms 19 4 9s712ms 2s428ms 20 8 19s958ms 2s494ms 21 11 27s654ms 2s514ms 22 5 13s713ms 2s742ms 23 14 49s110ms 3s507ms Mar 20 00 31 1m45s 3s391ms 01 36 1m32s 2s576ms 02 27 1m10s 2s599ms 03 7 19s160ms 2s737ms 04 13 42s526ms 3s271ms 05 46 2m22s 3s97ms 06 19 2m26s 7s696ms 07 117 5m9s 2s646ms 08 136 6m6s 2s692ms 09 86 3m51s 2s686ms 10 58 2m29s 2s572ms 11 12 28s27ms 2s335ms 12 2 4s626ms 2s313ms 14 5 14s727ms 2s945ms 15 5 13s134ms 2s626ms 16 4 11s964ms 2s991ms 17 5 14s687ms 2s937ms 18 3 8s95ms 2s698ms 19 6 16s108ms 2s684ms 20 4 10s608ms 2s652ms 21 12 30s920ms 2s576ms 22 16 43s75ms 2s692ms 23 20 55s909ms 2s795ms Mar 21 00 5 14s89ms 2s817ms 02 7 19s949ms 2s849ms 03 14 39s744ms 2s838ms 04 5 14s216ms 2s843ms 05 18 47s628ms 2s646ms 06 2 4s621ms 2s310ms 07 2 6s682ms 3s341ms 09 6 17s420ms 2s903ms 10 3 6s683ms 2s227ms 11 1 3s346ms 3s346ms 13 4 10s418ms 2s604ms 14 2 5s343ms 2s671ms 15 4 11s124ms 2s781ms 16 11 27s893ms 2s535ms 17 18 46s633ms 2s590ms 19 1 2s97ms 2s97ms Mar 22 02 1 3s194ms 3s194ms 03 1 6s135ms 6s135ms 05 65 2m50s 2s625ms 06 69 3m2s 2s650ms 07 21 53s740ms 2s559ms 08 8 21s755ms 2s719ms 09 11 28s282ms 2s571ms 10 8 19s13ms 2s376ms 11 1 2s434ms 2s434ms 12 1 3s286ms 3s286ms 13 2 4s275ms 2s137ms 14 4 9s908ms 2s477ms 15 12 29s425ms 2s452ms 16 9 23s178ms 2s575ms 17 11 26s882ms 2s443ms 18 7 17s843ms 2s549ms 19 1 2s152ms 2s152ms 21 4 9s962ms 2s490ms 22 5 12s938ms 2s587ms 23 13 32s24ms 2s463ms Mar 23 00 14 34s252ms 2s446ms 01 2 4s990ms 2s495ms 03 4 10s746ms 2s686ms 04 2 5s624ms 2s812ms 05 5 12s74ms 2s414ms 08 1 2s190ms 2s190ms 09 1 2s136ms 2s136ms 10 3 7s731ms 2s577ms 14 1 2s388ms 2s388ms [ User: pubeu - Total duration: 26m31s - Times executed: 539 ]
[ User: qaeu - Total duration: 24s883ms - 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 = '646767' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 4 ORDER BY sn.path;
Date: 2024-03-20 06:37:24 Duration: 15s372ms 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 = '584588' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 4 ORDER BY sn.path;
Date: 2024-03-20 06:37:23 Duration: 14s682ms 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 = '364932' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 4 ORDER BY sn.path;
Date: 2024-03-20 06:37:23 Duration: 14s543ms Database: ctdprd51 User: pubeu Bind query: yes
3 769 52m11s 1s4ms 17s253ms 4s72ms 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 #3
Day Hour Count Duration Avg duration Mar 17 00 1 4s968ms 4s968ms 01 2 7s230ms 3s615ms 04 1 4s636ms 4s636ms 05 2 2s400ms 1s200ms 06 1 1s256ms 1s256ms 07 1 12s112ms 12s112ms 08 5 31s307ms 6s261ms 10 1 6s389ms 6s389ms 11 3 9s94ms 3s31ms 12 1 1s311ms 1s311ms 13 1 4s795ms 4s795ms 14 1 4s901ms 4s901ms 15 1 5s318ms 5s318ms 17 2 8s243ms 4s121ms 19 1 1s386ms 1s386ms 20 1 1s290ms 1s290ms 22 2 24s229ms 12s114ms Mar 18 01 1 1s82ms 1s82ms 02 1 1s550ms 1s550ms 03 2 11s276ms 5s638ms 04 4 12s67ms 3s16ms 06 2 14s327ms 7s163ms 07 2 8s162ms 4s81ms 08 1 6s864ms 6s864ms 11 1 2s143ms 2s143ms 14 1 5s141ms 5s141ms 15 3 15s636ms 5s212ms 16 1 1s36ms 1s36ms 17 3 8s879ms 2s959ms 18 2 18s261ms 9s130ms 19 1 1s256ms 1s256ms 20 3 7s461ms 2s487ms 21 2 4s190ms 2s95ms 22 1 11s908ms 11s908ms 23 4 15s223ms 3s805ms Mar 19 01 1 1s168ms 1s168ms 02 1 12s423ms 12s423ms 04 3 12s509ms 4s169ms 05 3 6s291ms 2s97ms 06 1 5s26ms 5s26ms 07 2 7s355ms 3s677ms 08 3 9s536ms 3s178ms 09 3 14s307ms 4s769ms 10 1 5s175ms 5s175ms 11 2 10s39ms 5s19ms 12 4 13s536ms 3s384ms 13 10 44s915ms 4s491ms 14 10 50s737ms 5s73ms 15 14 1m10s 5s43ms 16 5 17s459ms 3s491ms 17 9 37s917ms 4s213ms 18 13 1m1s 4s702ms 19 8 41s916ms 5s239ms 20 12 42s33ms 3s502ms 21 11 35s534ms 3s230ms 22 5 17s732ms 3s546ms 23 6 23s242ms 3s873ms Mar 20 00 16 58s583ms 3s661ms 01 8 28s274ms 3s534ms 02 6 26s618ms 4s436ms 03 9 38s972ms 4s330ms 04 6 38s720ms 6s453ms 05 7 34s787ms 4s969ms 06 5 44s168ms 8s833ms 07 7 23s915ms 3s416ms 08 11 45s269ms 4s115ms 09 9 39s641ms 4s404ms 10 15 55s590ms 3s706ms 11 9 38s473ms 4s274ms 12 5 20s618ms 4s123ms 13 6 22s386ms 3s731ms 14 4 13s701ms 3s425ms 15 4 16s28ms 4s7ms 16 3 11s128ms 3s709ms 17 4 7s187ms 1s796ms 18 2 8s198ms 4s99ms 19 7 19s931ms 2s847ms 20 4 9s771ms 2s442ms 21 14 52s308ms 3s736ms 22 11 49s877ms 4s534ms 23 8 25s929ms 3s241ms Mar 21 00 8 17s666ms 2s208ms 01 6 30s29ms 5s4ms 02 5 15s305ms 3s61ms 03 10 49s65ms 4s906ms 04 8 31s838ms 3s979ms 05 5 23s921ms 4s784ms 06 6 39s892ms 6s648ms 07 5 22s931ms 4s586ms 08 6 18s353ms 3s58ms 09 3 14s160ms 4s720ms 10 4 13s915ms 3s478ms 11 6 14s287ms 2s381ms 12 6 27s99ms 4s516ms 13 5 13s263ms 2s652ms 14 8 22s630ms 2s828ms 15 4 13s550ms 3s387ms 16 5 44s174ms 8s834ms 17 10 43s734ms 4s373ms 18 6 18s156ms 3s26ms 19 7 25s149ms 3s592ms 20 3 3s849ms 1s283ms 21 8 46s731ms 5s841ms 22 3 11s668ms 3s889ms 23 3 11s317ms 3s772ms Mar 22 00 7 22s265ms 3s180ms 01 7 21s591ms 3s84ms 02 5 54s733ms 10s946ms 03 3 12s5ms 4s1ms 05 2 16s528ms 8s264ms 06 6 24s935ms 4s155ms 07 3 11s661ms 3s887ms 08 9 27s839ms 3s93ms 09 2 11s95ms 5s547ms 10 6 19s752ms 3s292ms 11 4 19s375ms 4s843ms 12 4 12s939ms 3s234ms 13 11 32s585ms 2s962ms 14 8 25s859ms 3s232ms 15 8 21s604ms 2s700ms 16 12 34s236ms 2s853ms 17 6 24s419ms 4s69ms 18 6 25s37ms 4s172ms 19 5 34s439ms 6s887ms 20 5 16s949ms 3s389ms 21 2 13s124ms 6s562ms 22 4 11s982ms 2s995ms 23 5 20s420ms 4s84ms Mar 23 00 3 9s900ms 3s300ms 01 11 45s995ms 4s181ms 02 2 17s929ms 8s964ms 03 8 32s144ms 4s18ms 04 7 19s949ms 2s849ms 05 6 14s624ms 2s437ms 06 4 10s687ms 2s671ms 07 4 17s97ms 4s274ms 08 8 27s484ms 3s435ms 09 9 36s863ms 4s95ms 10 3 6s971ms 2s323ms 11 10 36s83ms 3s608ms 12 6 16s876ms 2s812ms 13 3 12s15ms 4s5ms 14 6 38s300ms 6s383ms 15 2 6s473ms 3s236ms 16 4 12s814ms 3s203ms 17 5 28s73ms 5s614ms 18 4 12s817ms 3s204ms 19 5 16s289ms 3s257ms 20 2 9s433ms 4s716ms 21 5 21s198ms 4s239ms 22 7 31s312ms 4s473ms 23 6 14s231ms 2s371ms [ User: pubeu - Total duration: 21m46s - Times executed: 311 ]
-
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 = '2053945') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-03-20 06:37:26 Duration: 17s253ms 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 = '2048764') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-03-20 03:16:02 Duration: 14s847ms 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 = '2052710') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-03-22 02:14:44 Duration: 13s277ms Database: ctdprd51 User: pubeu Bind query: yes
4 690 13m54s 1s44ms 12s238ms 1s209ms 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 #4
Day Hour Count Duration Avg duration Mar 17 01 1 1s124ms 1s124ms 02 2 2s209ms 1s104ms 05 6 6s885ms 1s147ms 06 4 4s416ms 1s104ms 07 3 3s370ms 1s123ms 10 3 3s294ms 1s98ms 11 6 6s681ms 1s113ms 12 3 3s374ms 1s124ms 13 3 3s300ms 1s100ms 14 2 2s232ms 1s116ms 15 1 1s119ms 1s119ms 17 6 6s757ms 1s126ms 18 1 1s85ms 1s85ms 19 2 2s208ms 1s104ms 20 6 6s582ms 1s97ms 21 3 3s330ms 1s110ms 22 1 1s108ms 1s108ms Mar 18 00 3 3s332ms 1s110ms 01 3 3s351ms 1s117ms 02 1 1s112ms 1s112ms 05 2 2s438ms 1s219ms 06 1 1s126ms 1s126ms 08 1 1s148ms 1s148ms 09 1 1s102ms 1s102ms 10 8 8s896ms 1s112ms 11 9 9s957ms 1s106ms 12 7 7s764ms 1s109ms 13 5 5s475ms 1s95ms 14 5 5s563ms 1s112ms 15 2 2s207ms 1s103ms 16 2 2s199ms 1s99ms 17 2 2s181ms 1s90ms 18 2 2s213ms 1s106ms 19 3 3s250ms 1s83ms 21 1 1s66ms 1s66ms 22 1 1s104ms 1s104ms 23 1 1s105ms 1s105ms Mar 19 00 1 1s114ms 1s114ms 01 3 3s346ms 1s115ms 02 7 7s776ms 1s110ms 03 3 3s375ms 1s125ms 04 6 6s702ms 1s117ms 05 4 4s663ms 1s165ms 06 7 7s794ms 1s113ms 07 4 4s433ms 1s108ms 08 4 4s479ms 1s119ms 09 1 1s99ms 1s99ms 10 5 5s408ms 1s81ms 11 8 8s779ms 1s97ms 12 2 2s264ms 1s132ms 13 3 3s277ms 1s92ms 14 2 2s212ms 1s106ms 15 5 5s494ms 1s98ms 16 6 6s638ms 1s106ms 17 11 12s91ms 1s99ms 18 9 9s840ms 1s93ms 19 2 2s212ms 1s106ms 20 4 4s362ms 1s90ms 21 7 7s600ms 1s85ms 22 5 5s604ms 1s120ms 23 13 15s331ms 1s179ms Mar 20 00 15 26s273ms 1s751ms 01 12 13s436ms 1s119ms 02 4 4s403ms 1s100ms 03 2 2s272ms 1s136ms 04 2 4s897ms 2s448ms 05 19 30s995ms 1s631ms 06 3 35s792ms 11s930ms 07 34 38s593ms 1s135ms 08 36 43s475ms 1s207ms 09 23 26s15ms 1s131ms 10 15 16s510ms 1s100ms 12 4 4s278ms 1s69ms 14 3 3s258ms 1s86ms 15 5 5s451ms 1s90ms 16 2 2s131ms 1s65ms 17 2 2s167ms 1s83ms 18 3 3s304ms 1s101ms 19 4 4s372ms 1s93ms 20 3 3s260ms 1s86ms 21 2 2s226ms 1s113ms 22 9 10s247ms 1s138ms 23 6 6s811ms 1s135ms Mar 21 00 5 5s601ms 1s120ms 01 2 2s177ms 1s88ms 02 6 6s689ms 1s114ms 03 5 5s694ms 1s138ms 04 14 15s773ms 1s126ms 05 11 12s522ms 1s138ms 06 2 2s269ms 1s134ms 07 5 5s518ms 1s103ms 08 4 4s310ms 1s77ms 09 4 4s364ms 1s91ms 10 4 4s381ms 1s95ms 12 2 2s196ms 1s98ms 14 1 1s93ms 1s93ms 16 5 5s451ms 1s90ms 17 4 4s331ms 1s82ms 18 3 3s335ms 1s111ms 19 1 1s80ms 1s80ms 23 2 2s240ms 1s120ms Mar 22 00 1 1s109ms 1s109ms 02 1 1s235ms 1s235ms 03 2 10s322ms 5s161ms 05 32 36s360ms 1s136ms 06 45 49s241ms 1s94ms 07 9 9s901ms 1s100ms 08 6 6s545ms 1s90ms 09 4 4s371ms 1s92ms 10 1 1s109ms 1s109ms 12 1 1s93ms 1s93ms 13 2 2s205ms 1s102ms 14 5 5s520ms 1s104ms 15 4 4s375ms 1s93ms 16 1 1s119ms 1s119ms 17 2 2s206ms 1s103ms 18 1 1s103ms 1s103ms 19 1 1s93ms 1s93ms 21 1 1s86ms 1s86ms 22 5 5s653ms 1s130ms 23 2 2s262ms 1s131ms Mar 23 00 6 6s795ms 1s132ms 01 2 2s359ms 1s179ms 02 1 1s102ms 1s102ms 03 1 1s156ms 1s156ms 04 1 1s106ms 1s106ms 05 4 4s667ms 1s166ms 06 4 4s446ms 1s111ms 07 1 1s97ms 1s97ms 08 4 4s416ms 1s104ms 09 4 4s413ms 1s103ms 10 3 3s281ms 1s93ms 13 4 4s422ms 1s105ms 14 3 3s281ms 1s93ms 16 2 2s253ms 1s126ms 22 1 1s160ms 1s160ms [ User: pubeu - Total duration: 4m29s - Times executed: 187 ]
-
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 = '1952985' or receptorTerm.id = '1952985' 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-03-20 06:37:21 Duration: 12s238ms 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 = '1583713' or receptorTerm.id = '1583713' 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-03-20 06:37:22 Duration: 11s959ms 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 = '1802471' or receptorTerm.id = '1802471' 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-03-20 06:37:22 Duration: 11s594ms Database: ctdprd51 User: pubeu Bind query: yes
5 658 29m 1s19ms 14s621ms 2s645ms select * from ( select g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, count(*) over () fullrowcount from term g where g.id in ( select gt.gene_id from dag_path dp inner join gene_taxon gt on dp.descendant_object_id = gt.taxon_id where dp.ancestor_object_id = ? union all select gcr.gene_id from dag_path dp inner join gene_chem_reference gcr on dp.descendant_object_id = gcr.taxon_id where dp.ancestor_object_id = ?) offset ?) mq order by mq.genesymbolsort limit ? offset ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Mar 17 00 1 2s 2s 02 6 14s480ms 2s413ms 04 1 2s223ms 2s223ms 06 3 6s547ms 2s182ms 07 3 8s318ms 2s772ms 09 5 12s218ms 2s443ms 10 6 13s895ms 2s315ms 11 6 15s549ms 2s591ms 12 2 4s975ms 2s487ms 13 5 13s139ms 2s627ms 14 7 16s438ms 2s348ms 15 1 2s202ms 2s202ms 16 1 2s281ms 2s281ms 19 3 7s232ms 2s410ms 20 2 5s155ms 2s577ms 21 2 6s681ms 3s340ms 23 1 2s23ms 2s23ms Mar 18 05 2 4s418ms 2s209ms 08 2 4s461ms 2s230ms 09 5 11s880ms 2s376ms 10 7 14s893ms 2s127ms 11 4 8s326ms 2s81ms 12 6 12s711ms 2s118ms 13 4 8s324ms 2s81ms 14 2 4s473ms 2s236ms 15 3 8s849ms 2s949ms 16 3 7s177ms 2s392ms 17 6 12s662ms 2s110ms 18 2 3s880ms 1s940ms 19 4 11s378ms 2s844ms 20 3 7s534ms 2s511ms 21 1 2s745ms 2s745ms 22 3 6s845ms 2s281ms 23 2 4s446ms 2s223ms Mar 19 00 7 14s892ms 2s127ms 01 6 17s427ms 2s904ms 02 6 13s951ms 2s325ms 03 2 6s77ms 3s38ms 04 9 21s454ms 2s383ms 05 12 29s716ms 2s476ms 06 7 17s149ms 2s449ms 07 5 11s169ms 2s233ms 08 6 14s364ms 2s394ms 09 6 15s600ms 2s600ms 10 7 15s740ms 2s248ms 11 7 17s558ms 2s508ms 13 2 4s297ms 2s148ms 14 1 2s256ms 2s256ms 16 8 18s711ms 2s338ms 17 22 53s906ms 2s450ms 18 12 29s415ms 2s451ms 19 1 3s400ms 3s400ms 20 6 15s338ms 2s556ms 21 6 13s207ms 2s201ms 22 1 2s312ms 2s312ms 23 6 18s143ms 3s23ms Mar 20 00 13 45s987ms 3s537ms 01 13 34s603ms 2s661ms 02 7 17s765ms 2s537ms 03 3 7s185ms 2s395ms 04 4 21s202ms 5s300ms 05 13 37s772ms 2s905ms 06 17 2m19s 8s222ms 07 22 52s966ms 2s407ms 08 42 1m40s 2s396ms 09 17 40s805ms 2s400ms 10 12 29s196ms 2s433ms 11 4 9s617ms 2s404ms 13 1 3s294ms 3s294ms 14 2 4s322ms 2s161ms 16 4 10s97ms 2s524ms 18 9 21s259ms 2s362ms 19 13 33s235ms 2s556ms 20 17 43s128ms 2s536ms 21 9 21s448ms 2s383ms 22 24 58s675ms 2s444ms 23 25 1m2s 2s509ms Mar 21 00 1 2s211ms 2s211ms 04 2 4s552ms 2s276ms 05 2 4s508ms 2s254ms 06 3 6s684ms 2s228ms 07 2 5s682ms 2s841ms 08 4 10s102ms 2s525ms 09 3 6s874ms 2s291ms 10 7 18s846ms 2s692ms 12 1 1s996ms 1s996ms 13 1 3s221ms 3s221ms 16 3 5s672ms 1s890ms 17 2 4s207ms 2s103ms Mar 22 03 1 5s824ms 5s824ms 05 16 38s434ms 2s402ms 06 18 44s379ms 2s465ms 10 1 2s430ms 2s430ms 12 2 5s633ms 2s816ms 13 2 4s226ms 2s113ms 14 9 22s311ms 2s479ms 15 13 31s160ms 2s396ms 16 5 11s721ms 2s344ms 17 2 4s460ms 2s230ms 18 3 8s519ms 2s839ms 21 1 2s220ms 2s220ms 22 3 6s675ms 2s225ms 23 8 20s613ms 2s576ms Mar 23 00 2 4s462ms 2s231ms 01 1 2s296ms 2s296ms 03 4 14s968ms 3s742ms 06 2 4s408ms 2s204ms 08 1 2s218ms 2s218ms 09 1 2s220ms 2s220ms 10 1 2s219ms 2s219ms 12 1 2s379ms 2s379ms [ User: pubeu - Total duration: 9m55s - Times executed: 193 ]
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '12033' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '12033') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50 OFFSET 200;
Date: 2024-03-20 06:37:23 Duration: 14s621ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '584586' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '584586') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50 OFFSET 300;
Date: 2024-03-20 06:37:23 Duration: 14s120ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '954270' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '954270') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50 OFFSET 350;
Date: 2024-03-20 06:37:22 Duration: 13s949ms Database: ctdprd51 User: pubeu Bind query: yes
6 274 19m32s 3s832ms 17s377ms 4s277ms 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 #6
Day Hour Count Duration Avg duration Mar 17 00 3 12s88ms 4s29ms 02 1 3s998ms 3s998ms 03 2 7s947ms 3s973ms 07 3 12s93ms 4s31ms 08 1 3s999ms 3s999ms 09 1 4s15ms 4s15ms 11 2 8s279ms 4s139ms 17 2 7s953ms 3s976ms 18 1 3s997ms 3s997ms 21 3 11s818ms 3s939ms 22 2 8s34ms 4s17ms 23 2 8s75ms 4s37ms Mar 18 00 1 4s2ms 4s2ms 01 1 3s961ms 3s961ms 02 5 20s272ms 4s54ms 03 2 8s148ms 4s74ms 04 1 3s995ms 3s995ms 05 5 20s116ms 4s23ms 06 1 4s232ms 4s232ms 07 3 35s431ms 11s810ms 08 4 16s524ms 4s131ms 09 1 4s350ms 4s350ms 10 3 12s211ms 4s70ms 12 1 4s45ms 4s45ms 13 2 8s148ms 4s74ms 14 1 4s176ms 4s176ms 18 3 11s998ms 3s999ms 19 11 44s85ms 4s7ms 20 5 19s809ms 3s961ms 21 2 8s7ms 4s3ms Mar 19 00 1 4s44ms 4s44ms 01 2 8s239ms 4s119ms 02 2 8s9ms 4s4ms 03 1 4s30ms 4s30ms 04 1 3s956ms 3s956ms 05 3 12s248ms 4s82ms 06 2 8s8ms 4s4ms 07 4 16s120ms 4s30ms 08 1 4s89ms 4s89ms 09 2 8s91ms 4s45ms 10 1 4s2ms 4s2ms 11 1 4s40ms 4s40ms 13 1 4s110ms 4s110ms 14 2 8s34ms 4s17ms 15 2 8s461ms 4s230ms 16 7 28s346ms 4s49ms 20 6 24s945ms 4s157ms 22 3 12s46ms 4s15ms 23 2 8s452ms 4s226ms Mar 20 01 1 4s42ms 4s42ms 02 1 4s174ms 4s174ms 03 9 38s318ms 4s257ms 09 2 8s158ms 4s79ms 10 6 26s43ms 4s340ms 11 2 7s997ms 3s998ms 12 6 24s112ms 4s18ms 14 1 3s979ms 3s979ms 15 4 16s604ms 4s151ms 17 1 4s10ms 4s10ms 19 1 3s986ms 3s986ms 23 1 4s68ms 4s68ms Mar 21 01 4 16s106ms 4s26ms 02 5 20s440ms 4s88ms 03 2 8s233ms 4s116ms 04 5 20s249ms 4s49ms 05 9 36s835ms 4s92ms 06 16 1m4s 4s11ms 07 19 1m17s 4s67ms 08 2 7s896ms 3s948ms 09 3 12s157ms 4s52ms 10 1 4s4ms 4s4ms 12 1 4s235ms 4s235ms 13 1 4s54ms 4s54ms 14 2 8s245ms 4s122ms 15 1 4s57ms 4s57ms 17 3 12s121ms 4s40ms 18 1 3s990ms 3s990ms 19 1 4s21ms 4s21ms 21 1 4s65ms 4s65ms Mar 22 00 2 8s181ms 4s90ms 01 4 28s776ms 7s194ms 02 1 13s995ms 13s995ms 06 1 17s377ms 17s377ms 08 5 19s830ms 3s966ms 09 1 3s994ms 3s994ms 10 2 8s175ms 4s87ms 12 2 8s6ms 4s3ms 14 4 16s397ms 4s99ms 17 1 3s899ms 3s899ms 20 1 4s12ms 4s12ms 22 1 4s35ms 4s35ms Mar 23 00 2 8s298ms 4s149ms 01 2 8s67ms 4s33ms 03 1 4s31ms 4s31ms 04 1 4s28ms 4s28ms 06 4 15s910ms 3s977ms 07 1 4s26ms 4s26ms 08 1 4s4ms 4s4ms 10 1 4s13ms 4s13ms 13 1 3s973ms 3s973ms 17 2 8s127ms 4s63ms 18 1 4s48ms 4s48ms 21 1 4s111ms 4s111ms [ User: pubeu - Total duration: 6m57s - Times executed: 103 ]
-
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 = '1379157') 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 = '1379157') 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-03-22 06:03:40 Duration: 17s377ms 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 = '1379157') 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 = '1379157') 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-03-18 07:16:32 Duration: 17s151ms 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 = '1379157') 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 = '1379157') 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-03-22 01:46:00 Duration: 16s843ms Bind query: yes
7 143 3m17s 1s229ms 9s863ms 1s384ms 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 Mar 17 04 1 1s238ms 1s238ms 05 3 3s765ms 1s255ms 10 1 1s248ms 1s248ms 13 3 3s735ms 1s245ms 18 1 1s240ms 1s240ms 20 1 1s251ms 1s251ms 23 1 1s251ms 1s251ms Mar 18 05 3 3s774ms 1s258ms 10 1 1s251ms 1s251ms 13 2 2s490ms 1s245ms 16 1 1s259ms 1s259ms 19 1 1s244ms 1s244ms Mar 19 00 1 1s245ms 1s245ms 04 2 2s522ms 1s261ms 05 2 2s506ms 1s253ms 06 4 4s989ms 1s247ms 08 3 3s743ms 1s247ms 10 2 2s511ms 1s255ms 11 1 1s250ms 1s250ms 14 1 1s252ms 1s252ms 15 1 1s244ms 1s244ms 16 4 4s999ms 1s249ms 17 5 6s256ms 1s251ms 18 1 1s243ms 1s243ms 19 1 1s247ms 1s247ms 22 2 2s500ms 1s250ms 23 2 2s507ms 1s253ms Mar 20 00 2 7s321ms 3s660ms 01 1 1s330ms 1s330ms 02 1 1s268ms 1s268ms 04 1 1s698ms 1s698ms 05 4 6s507ms 1s626ms 06 2 12s928ms 6s464ms 07 8 10s551ms 1s318ms 08 12 15s886ms 1s323ms 09 1 1s341ms 1s341ms 10 2 2s473ms 1s236ms 11 3 3s767ms 1s255ms 17 1 1s245ms 1s245ms 19 1 1s248ms 1s248ms 20 1 1s249ms 1s249ms 21 3 3s733ms 1s244ms 23 2 2s508ms 1s254ms Mar 21 02 1 1s250ms 1s250ms 03 1 1s252ms 1s252ms 05 5 6s321ms 1s264ms 09 1 1s241ms 1s241ms 10 1 1s252ms 1s252ms 11 1 1s242ms 1s242ms 12 1 1s241ms 1s241ms Mar 22 05 5 6s257ms 1s251ms 06 5 6s273ms 1s254ms 08 2 2s489ms 1s244ms 09 2 2s498ms 1s249ms 10 2 2s500ms 1s250ms 11 1 1s235ms 1s235ms 12 1 1s253ms 1s253ms 14 2 2s515ms 1s257ms 15 3 3s791ms 1s263ms 16 1 1s392ms 1s392ms 17 1 1s250ms 1s250ms 23 2 2s504ms 1s252ms Mar 23 00 1 1s269ms 1s269ms 01 1 1s240ms 1s240ms 05 2 2s504ms 1s252ms 08 2 2s523ms 1s261ms 09 1 1s305ms 1s305ms 14 1 1s302ms 1s302ms 15 1 1s250ms 1s250ms [ User: pubeu - Total duration: 1m1s - Times executed: 37 ]
[ User: qaeu - Total duration: 1s241ms - Times executed: 1 ]
-
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-03-20 06:37:19 Duration: 9s863ms 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-03-20 00:58:44 Duration: 6s67ms 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-03-20 06:03:46 Duration: 3s65ms Bind query: yes
8 119 1h30m4s 1s52ms 20m23s 45s412ms 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 #8
Day Hour Count Duration Avg duration Mar 18 04 2 1m1s 30s663ms 05 1 1s522ms 1s522ms 20 3 10s42ms 3s347ms 22 2 3s570ms 1s785ms Mar 19 08 1 43s575ms 43s575ms 10 1 15s502ms 15s502ms 11 3 47s582ms 15s860ms 16 3 1m17s 25s815ms 21 1 1s854ms 1s854ms 23 11 3m18s 18s12ms Mar 20 00 11 2m44s 14s979ms 03 9 2m20s 15s579ms 04 2 35m49s 17m54s 05 10 11m23s 1m8s 06 1 25s608ms 25s608ms 07 1 12s564ms 12s564ms 08 15 3m54s 15s608ms 09 9 1m35s 10s566ms 10 3 6s899ms 2s299ms 16 1 12s665ms 12s665ms 22 1 1s606ms 1s606ms 23 1 13s191ms 13s191ms Mar 21 00 1 12s583ms 12s583ms 03 1 1s52ms 1s52ms 08 1 12s827ms 12s827ms 13 1 1s682ms 1s682ms Mar 22 01 1 12s502ms 12s502ms 02 3 15m26s 5m8s 03 1 42s945ms 42s945ms 06 1 1s72ms 1s72ms 10 1 1s634ms 1s634ms 11 2 3s180ms 1s590ms 16 1 1s589ms 1s589ms Mar 23 01 4 2m 30s231ms 02 1 40s8ms 40s8ms 04 3 1m59s 39s762ms 11 1 12s859ms 12s859ms 16 1 1s613ms 1s613ms 19 1 12s494ms 12s494ms 23 2 1m19s 39s631ms [ User: pubeu - Total duration: 51m5s - Times executed: 56 ]
-
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 = '2051475') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-03-20 04:22:49 Duration: 20m23s 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 = '2051475') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-03-20 04:02:28 Duration: 15m25s 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 = '2052710') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-03-22 02:31:28 Duration: 14m6s Database: ctdprd51 User: pubeu Bind query: yes
9 110 2m35s 1s346ms 1s865ms 1s416ms 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 #9
Day Hour Count Duration Avg duration Mar 17 01 1 1s417ms 1s417ms 05 2 2s922ms 1s461ms 07 1 1s391ms 1s391ms 09 1 1s383ms 1s383ms 12 2 2s815ms 1s407ms Mar 18 01 3 4s203ms 1s401ms 02 5 7s160ms 1s432ms 04 4 5s490ms 1s372ms 05 2 2s808ms 1s404ms 06 1 1s431ms 1s431ms 07 1 1s396ms 1s396ms 08 1 1s357ms 1s357ms 10 1 1s446ms 1s446ms 16 1 1s403ms 1s403ms 18 1 1s415ms 1s415ms 19 1 1s431ms 1s431ms 20 1 1s383ms 1s383ms 21 2 2s753ms 1s376ms 22 1 1s436ms 1s436ms Mar 19 00 1 1s396ms 1s396ms 03 1 1s486ms 1s486ms 05 8 11s320ms 1s415ms 06 4 5s582ms 1s395ms 11 4 5s540ms 1s385ms 15 3 4s195ms 1s398ms 16 1 1s463ms 1s463ms 18 1 1s518ms 1s518ms Mar 20 01 1 1s416ms 1s416ms 02 2 2s850ms 1s425ms 05 2 3s370ms 1s685ms 07 1 1s485ms 1s485ms 08 1 1s429ms 1s429ms 10 5 6s999ms 1s399ms 11 1 1s410ms 1s410ms 13 4 5s717ms 1s429ms 22 1 1s388ms 1s388ms 23 6 8s454ms 1s409ms Mar 21 04 1 1s357ms 1s357ms 05 2 2s813ms 1s406ms 07 2 2s823ms 1s411ms 11 2 2s753ms 1s376ms 18 1 1s386ms 1s386ms 23 1 1s430ms 1s430ms Mar 22 05 3 4s404ms 1s468ms 08 4 5s595ms 1s398ms 09 2 2s851ms 1s425ms 18 1 1s406ms 1s406ms 23 1 1s384ms 1s384ms Mar 23 01 1 1s392ms 1s392ms 05 5 6s990ms 1s398ms 09 1 1s405ms 1s405ms 12 1 1s563ms 1s563ms 13 1 1s366ms 1s366ms 18 1 1s377ms 1s377ms 19 1 1s402ms 1s402ms [ User: pubeu - Total duration: 1m4s - Times executed: 46 ]
-
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-03-20 05:42:10 Duration: 1s865ms 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-03-23 12:30:07 Duration: 1s563ms 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-03-22 05:38:47 Duration: 1s535ms Database: ctdprd51 User: pubeu Bind query: yes
10 103 2m14s 1s141ms 4s398ms 1s306ms 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 #10
Day Hour Count Duration Avg duration Mar 17 00 1 1s152ms 1s152ms 01 1 1s184ms 1s184ms 03 1 1s264ms 1s264ms 05 2 2s672ms 1s336ms 07 2 2s542ms 1s271ms 15 1 1s604ms 1s604ms 16 1 1s219ms 1s219ms 18 1 1s198ms 1s198ms 22 1 1s198ms 1s198ms 23 1 1s284ms 1s284ms Mar 18 02 1 1s200ms 1s200ms 04 1 1s256ms 1s256ms 05 2 2s710ms 1s355ms 06 1 1s339ms 1s339ms 08 2 2s429ms 1s214ms 09 1 1s309ms 1s309ms 10 1 1s300ms 1s300ms 15 1 1s238ms 1s238ms 16 3 3s728ms 1s242ms 21 2 2s568ms 1s284ms Mar 19 00 1 1s315ms 1s315ms 01 1 1s255ms 1s255ms 05 2 2s681ms 1s340ms 09 1 1s166ms 1s166ms 15 1 1s210ms 1s210ms 16 1 1s353ms 1s353ms 18 1 1s171ms 1s171ms 19 1 1s174ms 1s174ms 20 2 2s348ms 1s174ms Mar 20 00 1 1s268ms 1s268ms 02 1 1s227ms 1s227ms 03 2 2s963ms 1s481ms 04 1 4s398ms 4s398ms 05 2 3s607ms 1s803ms 07 3 4s76ms 1s358ms 08 2 2s624ms 1s312ms 09 2 2s724ms 1s362ms 10 2 2s493ms 1s246ms 11 1 1s249ms 1s249ms 15 1 1s234ms 1s234ms 19 2 2s534ms 1s267ms 20 1 1s225ms 1s225ms 22 1 1s293ms 1s293ms Mar 21 04 2 2s513ms 1s256ms 05 3 3s948ms 1s316ms 07 1 1s176ms 1s176ms 08 1 1s182ms 1s182ms 10 2 2s469ms 1s234ms 15 2 2s420ms 1s210ms 16 1 1s141ms 1s141ms 17 1 1s171ms 1s171ms Mar 22 00 2 2s548ms 1s274ms 01 1 1s226ms 1s226ms 05 3 3s919ms 1s306ms 09 1 1s164ms 1s164ms 16 1 1s199ms 1s199ms 17 1 1s232ms 1s232ms 20 1 1s254ms 1s254ms 22 1 1s153ms 1s153ms Mar 23 02 1 1s274ms 1s274ms 05 2 2s694ms 1s347ms 08 5 6s302ms 1s260ms 09 2 2s342ms 1s171ms 11 3 3s846ms 1s282ms 14 1 1s242ms 1s242ms 15 1 1s272ms 1s272ms 20 1 1s259ms 1s259ms 23 3 3s659ms 1s219ms [ User: pubeu - Total duration: 52s186ms - Times executed: 39 ]
[ User: qaeu - Total duration: 1s364ms - Times executed: 1 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = '2052450') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2052450') 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-03-20 04:22:47 Duration: 4s398ms 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 = '2049098') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2049098') 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-03-20 05:41:08 Duration: 2s261ms 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 = '2051475') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2051475') 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-03-20 03:04:58 Duration: 1s611ms Database: ctdprd51 User: pubeu Bind query: yes
11 97 4m36s 1s5ms 11s705ms 2s853ms 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", 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 = ?) and gdr.source_cd = ? group by g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, c.nm, gdr.network_score order by d.nm_sort, g.nm, c.nm;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Mar 20 23 49 2m19s 2s838ms Mar 21 05 48 2m17s 2s868ms [ User: pubeu - Total duration: 32s945ms - Times executed: 11 ]
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'd006973' "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", 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 = 2058513) AND gdr.source_cd = 'I' GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, c.nm;
Date: 2024-03-21 05:25:37 Duration: 11s705ms Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'd006973' "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", 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 = 2058513) AND gdr.source_cd = 'I' GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, c.nm;
Date: 2024-03-20 23:24:34 Duration: 11s680ms Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'd009202' "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", 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 = 2053512) AND gdr.source_cd = 'I' GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, c.nm;
Date: 2024-03-20 23:23:11 Duration: 11s18ms Bind query: yes
12 97 3m56s 1s1ms 5s7ms 2s433ms 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 #12
Day Hour Count Duration Avg duration Mar 17 01 3 8s623ms 2s874ms 02 3 8s909ms 2s969ms 03 1 1s187ms 1s187ms 05 1 1s205ms 1s205ms 06 1 1s204ms 1s204ms 07 1 1s722ms 1s722ms 08 2 7s143ms 3s571ms 09 1 2s675ms 2s675ms 10 4 10s287ms 2s571ms 11 5 7s244ms 1s448ms 12 3 7s5ms 2s335ms 15 1 3s539ms 3s539ms 17 1 1s128ms 1s128ms 18 4 9s56ms 2s264ms 21 1 2s399ms 2s399ms Mar 18 00 2 4s709ms 2s354ms 04 1 2s716ms 2s716ms 05 1 2s252ms 2s252ms 08 1 2s244ms 2s244ms 10 1 1s1ms 1s1ms 11 1 1s83ms 1s83ms 12 1 2s645ms 2s645ms 13 1 1s758ms 1s758ms 15 1 3s483ms 3s483ms 18 1 1s2ms 1s2ms 23 1 1s238ms 1s238ms Mar 19 00 1 2s229ms 2s229ms 03 2 2s402ms 1s201ms 08 3 10s729ms 3s576ms 11 1 2s62ms 2s62ms 13 2 3s816ms 1s908ms 17 1 2s211ms 2s211ms 18 1 1s704ms 1s704ms 20 1 4s829ms 4s829ms 22 1 1s218ms 1s218ms Mar 20 01 1 4s746ms 4s746ms 02 1 1s179ms 1s179ms 03 1 1s886ms 1s886ms 08 1 2s670ms 2s670ms 09 1 5s7ms 5s7ms 11 1 2s350ms 2s350ms 12 1 1s505ms 1s505ms 20 1 1s212ms 1s212ms 23 1 1s631ms 1s631ms Mar 21 00 1 3s489ms 3s489ms 01 2 8s341ms 4s170ms 03 1 1s207ms 1s207ms 04 4 12s117ms 3s29ms 07 1 1s742ms 1s742ms 10 1 2s364ms 2s364ms 11 1 4s855ms 4s855ms 15 1 2s681ms 2s681ms 17 1 4s882ms 4s882ms 23 1 4s938ms 4s938ms Mar 22 07 1 2s376ms 2s376ms 13 2 2s200ms 1s100ms 15 1 2s665ms 2s665ms 16 3 3s600ms 1s200ms 21 1 4s844ms 4s844ms 22 1 1s120ms 1s120ms 23 1 1s247ms 1s247ms Mar 23 07 2 4s765ms 2s382ms 08 1 3s518ms 3s518ms 09 1 1s203ms 1s203ms 10 1 2s695ms 2s695ms 17 1 4s781ms 4s781ms 19 1 3s580ms 3s580ms [ User: pubeu - Total duration: 1m50s - Times executed: 43 ]
-
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 = '1379157') 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 = '1379157') 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-03-20 09:26:48 Duration: 5s7ms 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 = '1379157') 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 = '1379157') 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-03-21 23:22:29 Duration: 4s938ms 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 = '1379157') 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 = '1379157') 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-03-21 04:42:27 Duration: 4s938ms Bind query: yes
13 86 7m45s 1s234ms 16s98ms 5s417ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Mar 17 07 1 12s108ms 12s108ms 08 5 49s660ms 9s932ms Mar 19 06 3 6s524ms 2s174ms Mar 20 00 1 4s813ms 4s813ms 03 5 52s216ms 10s443ms 05 2 28s493ms 14s246ms 06 1 1s952ms 1s952ms 09 1 13s401ms 13s401ms 23 3 16s548ms 5s516ms Mar 21 00 1 4s248ms 4s248ms 03 1 11s530ms 11s530ms 04 12 53s816ms 4s484ms 05 32 2m30s 4s697ms 07 1 1s420ms 1s420ms 08 1 1s365ms 1s365ms 09 1 1s267ms 1s267ms Mar 22 03 2 16s614ms 8s307ms 06 1 2s98ms 2s98ms 21 1 1s277ms 1s277ms Mar 23 00 1 1s548ms 1s548ms 02 2 24s371ms 12s185ms 03 8 10s336ms 1s292ms [ User: pubeu - Total duration: 2m47s - Times executed: 24 ]
-
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 = '2051475') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1525050;
Date: 2024-03-20 05:44:12 Duration: 16s98ms 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 = '2052710') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 50;
Date: 2024-03-22 03:17:40 Duration: 14s862ms 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 = '2052478') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1739350;
Date: 2024-03-20 09:53:16 Duration: 13s401ms Database: ctdprd51 User: pubeu Bind query: yes
14 77 5m27s 1s4ms 6s540ms 4s255ms 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 #14
Day Hour Count Duration Avg duration Mar 17 03 2 2s83ms 1s41ms 04 2 10s65ms 5s32ms 11 2 10s906ms 5s453ms 12 2 6s70ms 3s35ms 13 1 5s44ms 5s44ms Mar 18 03 1 5s278ms 5s278ms 07 1 1s171ms 1s171ms 09 1 4s989ms 4s989ms 10 1 5s24ms 5s24ms 11 1 4s978ms 4s978ms 17 2 6s210ms 3s105ms Mar 19 02 1 5s147ms 5s147ms 03 1 5s407ms 5s407ms 04 1 5s353ms 5s353ms 08 3 11s731ms 3s910ms 09 1 5s212ms 5s212ms 13 1 5s109ms 5s109ms 14 1 1s58ms 1s58ms 15 1 1s56ms 1s56ms 18 1 5s996ms 5s996ms 23 3 17s347ms 5s782ms Mar 20 00 4 17s125ms 4s281ms 02 6 30s857ms 5s142ms 03 1 6s508ms 6s508ms 07 1 6s540ms 6s540ms 08 1 1s115ms 1s115ms 11 2 6s994ms 3s497ms 12 3 15s663ms 5s221ms 13 1 5s231ms 5s231ms 15 2 10s218ms 5s109ms 17 1 5s243ms 5s243ms 23 1 5s119ms 5s119ms Mar 21 01 2 10s632ms 5s316ms 05 1 1s5ms 1s5ms 07 1 1s115ms 1s115ms 08 1 5s286ms 5s286ms 10 1 5s53ms 5s53ms 13 1 5s46ms 5s46ms Mar 22 08 5 25s799ms 5s159ms 13 2 10s264ms 5s132ms 14 1 5s190ms 5s190ms 20 1 1s11ms 1s11ms 21 1 5s409ms 5s409ms 22 1 1s35ms 1s35ms 23 1 5s306ms 5s306ms Mar 23 01 2 2s70ms 1s35ms 07 1 1s33ms 1s33ms 15 1 1s13ms 1s13ms 18 1 5s552ms 5s552ms [ User: pubeu - Total duration: 1m33s - Times executed: 23 ]
-
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 = '1411475' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-03-20 07:42:21 Duration: 6s540ms 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 = '1256648' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-03-20 03:19:36 Duration: 6s508ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1298546' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-03-19 23:07:17 Duration: 6s83ms Bind query: yes
15 51 2m26s 1s209ms 6s140ms 2s862ms 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 #15
Day Hour Count Duration Avg duration Mar 17 01 1 2s773ms 2s773ms 02 1 1s325ms 1s325ms 08 1 1s994ms 1s994ms 09 1 5s951ms 5s951ms 12 1 3s184ms 3s184ms 13 1 5s955ms 5s955ms 14 1 2s22ms 2s22ms 15 1 1s946ms 1s946ms 22 1 3s237ms 3s237ms 23 2 8s843ms 4s421ms Mar 18 06 1 3s227ms 3s227ms 08 1 1s312ms 1s312ms 11 1 3s255ms 3s255ms 12 1 1s401ms 1s401ms 17 1 1s621ms 1s621ms 20 1 1s607ms 1s607ms 22 1 5s866ms 5s866ms Mar 19 00 1 6s11ms 6s11ms 01 1 5s977ms 5s977ms 07 1 1s981ms 1s981ms 10 1 3s269ms 3s269ms 12 2 4s561ms 2s280ms 19 1 1s976ms 1s976ms 23 1 1s860ms 1s860ms Mar 20 01 1 1s334ms 1s334ms 04 1 6s140ms 6s140ms 07 2 3s404ms 1s702ms 12 1 2s97ms 2s97ms 22 2 6s205ms 3s102ms 23 1 1s867ms 1s867ms Mar 21 00 1 1s995ms 1s995ms 04 1 1s209ms 1s209ms 06 1 5s905ms 5s905ms 08 1 2s795ms 2s795ms 12 2 7s287ms 3s643ms 16 1 3s242ms 3s242ms 18 1 1s983ms 1s983ms 19 1 2s94ms 2s94ms Mar 22 12 1 1s332ms 1s332ms 20 1 3s253ms 3s253ms Mar 23 01 1 1s354ms 1s354ms 07 1 1s851ms 1s851ms 08 1 2s783ms 2s783ms 16 1 1s970ms 1s970ms 19 1 1s805ms 1s805ms 20 1 2s920ms 2s920ms [ User: pubeu - Total duration: 1m11s - Times executed: 24 ]
-
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 = '1379157'))) 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-03-20 04:24:13 Duration: 6s140ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1379157'))) 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-03-17 23:43:17 Duration: 6s56ms 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 = '1379157'))) 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-03-19 00:38:16 Duration: 6s11ms Bind query: yes
16 42 1h54m21s 1s402ms 17m15s 2m43s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Mar 18 02 1 1s545ms 1s545ms 03 1 3m36s 3m36s 16 1 17m15s 17m15s 19 1 1s937ms 1s937ms Mar 19 02 1 1s418ms 1s418ms 13 1 2s962ms 2s962ms 14 1 3s190ms 3s190ms 17 2 17m2s 8m31s 18 1 1s402ms 1s402ms 20 1 3s82ms 3s82ms 21 2 17m2s 8m31s Mar 20 01 2 4m29s 2m14s 05 1 2s356ms 2s356ms 10 1 3s150ms 3s150ms 15 1 3s150ms 3s150ms 17 1 3s173ms 3s173ms 18 1 3s135ms 3s135ms 19 1 3s191ms 3s191ms 21 1 3s112ms 3s112ms 23 1 8m23s 8m23s Mar 21 00 1 1s918ms 1s918ms 05 1 3s442ms 3s442ms 15 1 17m5s 17m5s 16 2 17m8s 8m34s 17 1 3s75ms 3s75ms 19 1 3s93ms 3s93ms 23 1 3s116ms 3s116ms Mar 22 00 1 1s418ms 1s418ms 06 1 3s88ms 3s88ms 12 1 1s516ms 1s516ms 15 1 3s196ms 3s196ms 20 1 3s47ms 3s47ms Mar 23 01 1 2s38ms 2s38ms 03 1 1s536ms 1s536ms 08 1 3s62ms 3s62ms 11 1 2s805ms 2s805ms 14 1 2s899ms 2s899ms 21 1 11m 11m [ User: pubeu - Total duration: 17m48s - Times executed: 16 ]
-
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 = '1227971') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-03-18 16:16:37 Duration: 17m15s Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1227971') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-03-21 16:22:39 Duration: 17m5s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1227971') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-03-21 15:58:25 Duration: 17m5s Bind query: yes
17 34 54s89ms 1s213ms 1s887ms 1s590ms select c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposurereferencecount, case when cd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from chem_disease_axn a where a.chem_id = cd.chem_id and a.disease_id = cd.disease_id) else null end actiontypes from chem_disease cd inner join term c on cd.chem_id = c.id inner join term d on cd.disease_id = d.id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, cd.network_score desc nulls last, d.nm_sort, c.nm_sort limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Mar 17 03 1 1s806ms 1s806ms 04 1 1s789ms 1s789ms 06 3 5s442ms 1s814ms 08 1 1s798ms 1s798ms 09 1 1s781ms 1s781ms 13 1 1s247ms 1s247ms 15 1 1s780ms 1s780ms 19 1 1s229ms 1s229ms Mar 18 00 1 1s213ms 1s213ms 05 1 1s802ms 1s802ms 06 1 1s827ms 1s827ms 07 2 3s72ms 1s536ms 13 1 1s250ms 1s250ms Mar 19 04 1 1s252ms 1s252ms 09 2 3s156ms 1s578ms 12 1 1s815ms 1s815ms 15 1 1s809ms 1s809ms 16 1 1s321ms 1s321ms Mar 20 04 1 1s602ms 1s602ms 10 1 1s801ms 1s801ms 12 1 1s777ms 1s777ms 19 1 1s269ms 1s269ms Mar 21 00 1 1s826ms 1s826ms 16 1 1s840ms 1s840ms 17 1 1s808ms 1s808ms 21 1 1s230ms 1s230ms 23 1 1s267ms 1s267ms Mar 22 01 1 1s786ms 1s786ms 02 1 1s240ms 1s240ms 18 1 1s237ms 1s237ms [ User: pubeu - Total duration: 22s746ms - Times executed: 15 ]
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1379157') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2024-03-19 09:48:44 Duration: 1s887ms Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1379157') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2024-03-17 06:04:05 Duration: 1s867ms Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1379157') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2024-03-21 16:27:04 Duration: 1s840ms Database: ctdprd51 User: pubeu Bind query: yes
18 33 40s151ms 1s23ms 1s501ms 1s216ms 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 Mar 17 05 4 5s28ms 1s257ms Mar 18 05 2 2s507ms 1s253ms Mar 19 05 4 5s99ms 1s274ms 16 2 2s535ms 1s267ms Mar 20 05 4 4s970ms 1s242ms 07 2 2s574ms 1s287ms 08 2 2s209ms 1s104ms Mar 21 05 3 3s666ms 1s222ms Mar 22 05 4 4s806ms 1s201ms 10 1 1s23ms 1s23ms Mar 23 05 4 4s667ms 1s166ms 18 1 1s62ms 1s62ms [ User: qaeu - Total duration: 3s968ms - Times executed: 3 ]
[ User: pubeu - Total duration: 3s202ms - 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 = '111363' ORDER BY fg.nm_sort, tg.nm_sort LIMIT 50;
Date: 2024-03-20 05:44:22 Duration: 1s501ms Database: ctdprd51 User: qaeu Bind query: yes
-
SELECT /* ReferenceGeneGeneIxnsDAO */ fg.nm fromGeneSymbol, fg.acc_txt fromGeneAcc, tg.nm toGeneSymbol, tg.acc_txt toGeneAcc, ft.nm fromTaxonNm, ft.secondary_nm fromTaxonCommonNm, ft.acc_txt fromTaxonAcc, tt.nm toTaxonNm, tt.secondary_nm toTaxonCommonNm, tt.acc_txt toTaxonAcc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( SELECT STRING_AGG(ggt.throughput_txt, ', ' ORDER BY ggt.throughput_txt) FROM gene_gene_ref_throughput ggt WHERE ggt.gene_gene_reference_id = ggr.id) throughput, COUNT(*) OVER () fullRowCount FROM gene_gene_reference ggr INNER JOIN term fg ON ggr.from_gene_id = fg.id INNER JOIN term tg ON ggr.to_gene_id = tg.id INNER JOIN term ft ON ggr.from_taxon_id = ft.id INNER JOIN term tt ON ggr.to_taxon_id = tt.id WHERE ggr.reference_id = '111363' ORDER BY fg.nm_sort, tg.nm_sort LIMIT 50;
Date: 2024-03-22 05:43:05 Duration: 1s396ms 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-03-19 05:38:04 Duration: 1s394ms Bind query: yes
19 31 49s398ms 1s7ms 6s276ms 1s593ms select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where diseaseterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 17 13 1 1s8ms 1s8ms 14 1 1s138ms 1s138ms 15 1 1s342ms 1s342ms 18 1 1s44ms 1s44ms 20 1 1s15ms 1s15ms 22 2 2s417ms 1s208ms Mar 18 00 1 1s89ms 1s89ms 01 1 1s546ms 1s546ms 09 1 2s232ms 2s232ms 15 1 1s57ms 1s57ms 21 1 1s23ms 1s23ms Mar 19 08 1 1s87ms 1s87ms 22 1 2s201ms 2s201ms Mar 20 04 1 6s276ms 6s276ms 06 1 2s742ms 2s742ms 08 1 1s592ms 1s592ms 09 1 1s547ms 1s547ms 10 2 3s838ms 1s919ms 12 1 1s61ms 1s61ms 14 1 1s49ms 1s49ms Mar 21 04 1 1s362ms 1s362ms Mar 22 06 1 1s102ms 1s102ms 10 1 2s210ms 2s210ms 12 1 1s544ms 1s544ms 15 1 1s12ms 1s12ms 16 1 1s7ms 1s7ms 22 1 2s355ms 2s355ms Mar 23 08 1 1s94ms 1s94ms 14 1 1s395ms 1s395ms [ User: pubeu - Total duration: 13s850ms - Times executed: 9 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2047455') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-03-20 04:22:48 Duration: 6s276ms Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2052235') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-03-20 06:03:33 Duration: 2s742ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2047455') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-03-20 10:08:03 Duration: 2s355ms Bind query: yes
20 31 40s725ms 1s172ms 2s264ms 1s313ms 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 #20
Day Hour Count Duration Avg duration Mar 17 01 1 1s191ms 1s191ms 05 2 2s715ms 1s357ms 18 1 1s202ms 1s202ms Mar 18 05 2 2s661ms 1s330ms 16 1 1s191ms 1s191ms Mar 19 05 2 2s666ms 1s333ms 08 1 1s209ms 1s209ms 16 1 1s359ms 1s359ms Mar 20 05 2 3s593ms 1s796ms 07 2 2s586ms 1s293ms 08 1 1s379ms 1s379ms 12 1 1s172ms 1s172ms Mar 21 05 2 2s638ms 1s319ms 07 1 1s210ms 1s210ms 14 1 1s180ms 1s180ms 16 1 1s269ms 1s269ms 17 1 1s212ms 1s212ms 18 1 1s175ms 1s175ms Mar 22 05 2 2s647ms 1s323ms 11 1 1s230ms 1s230ms 14 1 1s202ms 1s202ms 16 1 1s281ms 1s281ms Mar 23 05 2 2s744ms 1s372ms [ User: pubeu - Total duration: 3s608ms - Times executed: 3 ]
-
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 = '1204162') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1204162') 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-03-20 05:41:03 Duration: 2s264ms 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 = '1204162') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1204162') 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-03-17 05:43:35 Duration: 1s400ms 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 = '1204162') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1204162') 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-03-23 05:43:36 Duration: 1s380ms Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 23m5s 23m5s 23m5s 1 23m5s 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 Mar 23 18 1 23m5s 23m5s -
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-03-23 18:59:46 Duration: 23m5s
2 22m59s 22m59s 22m59s 1 22m59s 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 Mar 23 19 1 22m59s 22m59s -
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-03-23 19:40:23 Duration: 22m59s
3 14m51s 15m 14m56s 7 1h44m36s select maint_query_logs_archive ();Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Mar 17 00 1 14m51s 14m51s Mar 18 00 1 14m56s 14m56s Mar 19 00 1 14m56s 14m56s Mar 20 00 1 15m 15m Mar 21 00 1 14m59s 14m59s Mar 22 00 1 14m53s 14m53s Mar 23 00 1 14m58s 14m58s -
/* * 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-03-20 00:15:01 Duration: 15m
-
/* * 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-03-21 00:15:01 Duration: 14m59s
-
/* * 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-03-23 00:15:00 Duration: 14m58s
4 6m40s 6m40s 6m40s 1 6m40s 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 Mar 23 19 1 6m40s 6m40s -
COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-03-23 19:11:05 Duration: 6m40s
5 6m39s 6m39s 6m39s 1 6m39s 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 Mar 23 19 1 6m39s 6m39s -
COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-03-23 19:51:40 Duration: 6m39s
6 1s402ms 17m15s 2m43s 42 1h54m21s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Mar 18 02 1 1s545ms 1s545ms 03 1 3m36s 3m36s 16 1 17m15s 17m15s 19 1 1s937ms 1s937ms Mar 19 02 1 1s418ms 1s418ms 13 1 2s962ms 2s962ms 14 1 3s190ms 3s190ms 17 2 17m2s 8m31s 18 1 1s402ms 1s402ms 20 1 3s82ms 3s82ms 21 2 17m2s 8m31s Mar 20 01 2 4m29s 2m14s 05 1 2s356ms 2s356ms 10 1 3s150ms 3s150ms 15 1 3s150ms 3s150ms 17 1 3s173ms 3s173ms 18 1 3s135ms 3s135ms 19 1 3s191ms 3s191ms 21 1 3s112ms 3s112ms 23 1 8m23s 8m23s Mar 21 00 1 1s918ms 1s918ms 05 1 3s442ms 3s442ms 15 1 17m5s 17m5s 16 2 17m8s 8m34s 17 1 3s75ms 3s75ms 19 1 3s93ms 3s93ms 23 1 3s116ms 3s116ms Mar 22 00 1 1s418ms 1s418ms 06 1 3s88ms 3s88ms 12 1 1s516ms 1s516ms 15 1 3s196ms 3s196ms 20 1 3s47ms 3s47ms Mar 23 01 1 2s38ms 2s38ms 03 1 1s536ms 1s536ms 08 1 3s62ms 3s62ms 11 1 2s805ms 2s805ms 14 1 2s899ms 2s899ms 21 1 11m 11m [ User: pubeu - Total duration: 17m48s - Times executed: 16 ]
-
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 = '1227971') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-03-18 16:16:37 Duration: 17m15s Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1227971') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-03-21 16:22:39 Duration: 17m5s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1227971') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-03-21 15:58:25 Duration: 17m5s Bind query: yes
7 1s52ms 20m23s 45s412ms 119 1h30m4s 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 #7
Day Hour Count Duration Avg duration Mar 18 04 2 1m1s 30s663ms 05 1 1s522ms 1s522ms 20 3 10s42ms 3s347ms 22 2 3s570ms 1s785ms Mar 19 08 1 43s575ms 43s575ms 10 1 15s502ms 15s502ms 11 3 47s582ms 15s860ms 16 3 1m17s 25s815ms 21 1 1s854ms 1s854ms 23 11 3m18s 18s12ms Mar 20 00 11 2m44s 14s979ms 03 9 2m20s 15s579ms 04 2 35m49s 17m54s 05 10 11m23s 1m8s 06 1 25s608ms 25s608ms 07 1 12s564ms 12s564ms 08 15 3m54s 15s608ms 09 9 1m35s 10s566ms 10 3 6s899ms 2s299ms 16 1 12s665ms 12s665ms 22 1 1s606ms 1s606ms 23 1 13s191ms 13s191ms Mar 21 00 1 12s583ms 12s583ms 03 1 1s52ms 1s52ms 08 1 12s827ms 12s827ms 13 1 1s682ms 1s682ms Mar 22 01 1 12s502ms 12s502ms 02 3 15m26s 5m8s 03 1 42s945ms 42s945ms 06 1 1s72ms 1s72ms 10 1 1s634ms 1s634ms 11 2 3s180ms 1s590ms 16 1 1s589ms 1s589ms Mar 23 01 4 2m 30s231ms 02 1 40s8ms 40s8ms 04 3 1m59s 39s762ms 11 1 12s859ms 12s859ms 16 1 1s613ms 1s613ms 19 1 12s494ms 12s494ms 23 2 1m19s 39s631ms [ User: pubeu - Total duration: 51m5s - Times executed: 56 ]
-
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 = '2051475') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-03-20 04:22:49 Duration: 20m23s 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 = '2051475') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-03-20 04:02:28 Duration: 15m25s 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 = '2052710') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-03-22 02:31:28 Duration: 14m6s Database: ctdprd51 User: pubeu Bind query: yes
8 27s650ms 39s455ms 34s116ms 12 6m49s select ? "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casrn "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" from ( with sq as ( select distinct c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casrn, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort from term c inner join gene_chem_reference gcr on c.id = gcr.chem_id inner join term g on gcr.gene_id = g.id where (c.id = ?)) select distinct sq.chem_nm, sq.chem_acc_txt, sq.casrn, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm from sq inner join gene_go_annot gga on sq.gene_id = gga.gene_id inner join dag_node gt on gga.go_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where gga.is_not = false and (d.id = ?) order by sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Mar 17 17 3 1m40s 33s579ms Mar 20 14 3 1m41s 33s845ms 18 3 1m41s 33s732ms 23 3 1m45s 35s309ms [ User: pubeu - Total duration: 2m43s - Times executed: 5 ]
-
SELECT /* BatchChemGODAO */ 'd000082' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1328314)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-03-20 14:57:36 Duration: 39s455ms Bind query: yes
-
SELECT /* BatchChemGODAO */ 'd000082' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1328314)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-03-17 17:51:57 Duration: 38s627ms Bind query: yes
-
SELECT /* BatchChemGODAO */ 'd000082' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1328314)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-03-20 23:03:06 Duration: 38s14ms Bind query: yes
9 30s128ms 31s81ms 30s630ms 25 12m45s copy pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) to stdout;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Mar 17 06 1 30s441ms 30s441ms 10 1 30s676ms 30s676ms 14 1 30s483ms 30s483ms 18 1 30s541ms 30s541ms Mar 18 06 1 30s529ms 30s529ms 10 1 30s813ms 30s813ms 14 1 30s528ms 30s528ms 18 1 30s636ms 30s636ms Mar 19 06 1 30s620ms 30s620ms 10 1 30s520ms 30s520ms 14 1 30s514ms 30s514ms 18 1 30s847ms 30s847ms Mar 20 06 1 31s81ms 31s81ms 10 1 30s621ms 30s621ms 14 1 30s550ms 30s550ms 18 1 30s664ms 30s664ms Mar 21 06 1 30s830ms 30s830ms 10 1 30s583ms 30s583ms 14 1 30s711ms 30s711ms 18 1 30s548ms 30s548ms Mar 22 06 1 30s735ms 30s735ms 10 1 30s635ms 30s635ms 14 1 30s614ms 30s614ms 18 1 30s894ms 30s894ms Mar 23 19 1 30s128ms 30s128ms [ User: postgres - Total duration: 12m15s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 12m15s - 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-03-20 06:05:33 Duration: 31s81ms 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-03-22 18:05:32 Duration: 30s894ms 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-03-19 18:05:32 Duration: 30s847ms Database: ctdprd51 User: postgres Application: pg_dump
10 13s854ms 14s26ms 13s948ms 25 5m48s copy edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 17 06 1 13s962ms 13s962ms 10 1 13s901ms 13s901ms 14 1 13s881ms 13s881ms 18 1 13s952ms 13s952ms Mar 18 06 1 13s945ms 13s945ms 10 1 13s949ms 13s949ms 14 1 13s900ms 13s900ms 18 1 13s928ms 13s928ms Mar 19 06 1 13s934ms 13s934ms 10 1 13s924ms 13s924ms 14 1 13s854ms 13s854ms 18 1 13s935ms 13s935ms Mar 20 06 1 14s26ms 14s26ms 10 1 13s973ms 13s973ms 14 1 13s951ms 13s951ms 18 1 13s963ms 13s963ms Mar 21 06 1 13s950ms 13s950ms 10 1 13s956ms 13s956ms 14 1 13s965ms 13s965ms 18 1 13s973ms 13s973ms Mar 22 06 1 14s18ms 14s18ms 10 1 13s969ms 13s969ms 14 1 13s967ms 13s967ms 18 1 13s957ms 13s957ms Mar 23 18 1 13s968ms 13s968ms -
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-03-20 06:00:56 Duration: 14s26ms
-
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-03-22 06:00:56 Duration: 14s18ms
-
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-03-21 18:00:56 Duration: 13s973ms
11 13s61ms 13s260ms 13s145ms 24 5m15s copy edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Mar 17 06 1 13s180ms 13s180ms 10 1 13s115ms 13s115ms 14 1 13s72ms 13s72ms 18 1 13s135ms 13s135ms Mar 18 06 1 13s76ms 13s76ms 10 1 13s114ms 13s114ms 14 1 13s146ms 13s146ms Mar 19 06 1 13s137ms 13s137ms 10 1 13s260ms 13s260ms 14 1 13s131ms 13s131ms 18 1 13s245ms 13s245ms Mar 20 06 1 13s196ms 13s196ms 10 1 13s142ms 13s142ms 14 1 13s108ms 13s108ms 18 1 13s156ms 13s156ms Mar 21 06 1 13s138ms 13s138ms 10 1 13s61ms 13s61ms 14 1 13s123ms 13s123ms 18 1 13s163ms 13s163ms Mar 22 06 1 13s162ms 13s162ms 10 1 13s154ms 13s154ms 14 1 13s128ms 13s128ms 18 1 13s218ms 13s218ms Mar 23 18 1 13s120ms 13s120ms -
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-03-19 10:00:42 Duration: 13s260ms
-
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-03-19 18:00:42 Duration: 13s245ms
-
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-03-22 18:00:42 Duration: 13s218ms
12 12s947ms 13s207ms 13s59ms 25 5m26s copy edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Mar 17 06 1 13s90ms 13s90ms 10 1 13s66ms 13s66ms 14 1 13s22ms 13s22ms 18 1 13s35ms 13s35ms Mar 18 06 1 13s35ms 13s35ms 10 1 13s49ms 13s49ms 14 1 13s99ms 13s99ms 18 1 13s64ms 13s64ms Mar 19 06 1 13s81ms 13s81ms 10 1 13s146ms 13s146ms 14 1 13s49ms 13s49ms 18 1 13s16ms 13s16ms Mar 20 06 1 13s207ms 13s207ms 10 1 12s997ms 12s997ms 14 1 13s71ms 13s71ms 18 1 13s44ms 13s44ms Mar 21 06 1 13s129ms 13s129ms 10 1 13s70ms 13s70ms 14 1 13s29ms 13s29ms 18 1 13s5ms 13s5ms Mar 22 06 1 13s115ms 13s115ms 10 1 13s38ms 13s38ms 14 1 13s4ms 13s4ms 18 1 13s60ms 13s60ms Mar 23 18 1 12s947ms 12s947ms [ User: postgres - Total duration: 5m26s - Times executed: 25 ]
[ Application: pg_dump - Total duration: 5m26s - Times executed: 25 ]
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-03-20 06:00:14 Duration: 13s207ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-03-19 10:00:14 Duration: 13s146ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-03-21 06:00:14 Duration: 13s129ms Database: ctdprd51 User: postgres Application: pg_dump
13 1s234ms 16s98ms 5s417ms 86 7m45s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Mar 17 07 1 12s108ms 12s108ms 08 5 49s660ms 9s932ms Mar 19 06 3 6s524ms 2s174ms Mar 20 00 1 4s813ms 4s813ms 03 5 52s216ms 10s443ms 05 2 28s493ms 14s246ms 06 1 1s952ms 1s952ms 09 1 13s401ms 13s401ms 23 3 16s548ms 5s516ms Mar 21 00 1 4s248ms 4s248ms 03 1 11s530ms 11s530ms 04 12 53s816ms 4s484ms 05 32 2m30s 4s697ms 07 1 1s420ms 1s420ms 08 1 1s365ms 1s365ms 09 1 1s267ms 1s267ms Mar 22 03 2 16s614ms 8s307ms 06 1 2s98ms 2s98ms 21 1 1s277ms 1s277ms Mar 23 00 1 1s548ms 1s548ms 02 2 24s371ms 12s185ms 03 8 10s336ms 1s292ms [ User: pubeu - Total duration: 2m47s - Times executed: 24 ]
-
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 = '2051475') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1525050;
Date: 2024-03-20 05:44:12 Duration: 16s98ms 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 = '2052710') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 50;
Date: 2024-03-22 03:17:40 Duration: 14s862ms 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 = '2052478') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1739350;
Date: 2024-03-20 09:53:16 Duration: 13s401ms Database: ctdprd51 User: pubeu Bind query: yes
14 3s832ms 17s377ms 4s277ms 274 19m32s 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 #14
Day Hour Count Duration Avg duration Mar 17 00 3 12s88ms 4s29ms 02 1 3s998ms 3s998ms 03 2 7s947ms 3s973ms 07 3 12s93ms 4s31ms 08 1 3s999ms 3s999ms 09 1 4s15ms 4s15ms 11 2 8s279ms 4s139ms 17 2 7s953ms 3s976ms 18 1 3s997ms 3s997ms 21 3 11s818ms 3s939ms 22 2 8s34ms 4s17ms 23 2 8s75ms 4s37ms Mar 18 00 1 4s2ms 4s2ms 01 1 3s961ms 3s961ms 02 5 20s272ms 4s54ms 03 2 8s148ms 4s74ms 04 1 3s995ms 3s995ms 05 5 20s116ms 4s23ms 06 1 4s232ms 4s232ms 07 3 35s431ms 11s810ms 08 4 16s524ms 4s131ms 09 1 4s350ms 4s350ms 10 3 12s211ms 4s70ms 12 1 4s45ms 4s45ms 13 2 8s148ms 4s74ms 14 1 4s176ms 4s176ms 18 3 11s998ms 3s999ms 19 11 44s85ms 4s7ms 20 5 19s809ms 3s961ms 21 2 8s7ms 4s3ms Mar 19 00 1 4s44ms 4s44ms 01 2 8s239ms 4s119ms 02 2 8s9ms 4s4ms 03 1 4s30ms 4s30ms 04 1 3s956ms 3s956ms 05 3 12s248ms 4s82ms 06 2 8s8ms 4s4ms 07 4 16s120ms 4s30ms 08 1 4s89ms 4s89ms 09 2 8s91ms 4s45ms 10 1 4s2ms 4s2ms 11 1 4s40ms 4s40ms 13 1 4s110ms 4s110ms 14 2 8s34ms 4s17ms 15 2 8s461ms 4s230ms 16 7 28s346ms 4s49ms 20 6 24s945ms 4s157ms 22 3 12s46ms 4s15ms 23 2 8s452ms 4s226ms Mar 20 01 1 4s42ms 4s42ms 02 1 4s174ms 4s174ms 03 9 38s318ms 4s257ms 09 2 8s158ms 4s79ms 10 6 26s43ms 4s340ms 11 2 7s997ms 3s998ms 12 6 24s112ms 4s18ms 14 1 3s979ms 3s979ms 15 4 16s604ms 4s151ms 17 1 4s10ms 4s10ms 19 1 3s986ms 3s986ms 23 1 4s68ms 4s68ms Mar 21 01 4 16s106ms 4s26ms 02 5 20s440ms 4s88ms 03 2 8s233ms 4s116ms 04 5 20s249ms 4s49ms 05 9 36s835ms 4s92ms 06 16 1m4s 4s11ms 07 19 1m17s 4s67ms 08 2 7s896ms 3s948ms 09 3 12s157ms 4s52ms 10 1 4s4ms 4s4ms 12 1 4s235ms 4s235ms 13 1 4s54ms 4s54ms 14 2 8s245ms 4s122ms 15 1 4s57ms 4s57ms 17 3 12s121ms 4s40ms 18 1 3s990ms 3s990ms 19 1 4s21ms 4s21ms 21 1 4s65ms 4s65ms Mar 22 00 2 8s181ms 4s90ms 01 4 28s776ms 7s194ms 02 1 13s995ms 13s995ms 06 1 17s377ms 17s377ms 08 5 19s830ms 3s966ms 09 1 3s994ms 3s994ms 10 2 8s175ms 4s87ms 12 2 8s6ms 4s3ms 14 4 16s397ms 4s99ms 17 1 3s899ms 3s899ms 20 1 4s12ms 4s12ms 22 1 4s35ms 4s35ms Mar 23 00 2 8s298ms 4s149ms 01 2 8s67ms 4s33ms 03 1 4s31ms 4s31ms 04 1 4s28ms 4s28ms 06 4 15s910ms 3s977ms 07 1 4s26ms 4s26ms 08 1 4s4ms 4s4ms 10 1 4s13ms 4s13ms 13 1 3s973ms 3s973ms 17 2 8s127ms 4s63ms 18 1 4s48ms 4s48ms 21 1 4s111ms 4s111ms [ User: pubeu - Total duration: 6m57s - Times executed: 103 ]
-
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 = '1379157') 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 = '1379157') 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-03-22 06:03:40 Duration: 17s377ms 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 = '1379157') 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 = '1379157') 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-03-18 07:16:32 Duration: 17s151ms 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 = '1379157') 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 = '1379157') 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-03-22 01:46:00 Duration: 16s843ms Bind query: yes
15 1s4ms 6s540ms 4s255ms 77 5m27s 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 #15
Day Hour Count Duration Avg duration Mar 17 03 2 2s83ms 1s41ms 04 2 10s65ms 5s32ms 11 2 10s906ms 5s453ms 12 2 6s70ms 3s35ms 13 1 5s44ms 5s44ms Mar 18 03 1 5s278ms 5s278ms 07 1 1s171ms 1s171ms 09 1 4s989ms 4s989ms 10 1 5s24ms 5s24ms 11 1 4s978ms 4s978ms 17 2 6s210ms 3s105ms Mar 19 02 1 5s147ms 5s147ms 03 1 5s407ms 5s407ms 04 1 5s353ms 5s353ms 08 3 11s731ms 3s910ms 09 1 5s212ms 5s212ms 13 1 5s109ms 5s109ms 14 1 1s58ms 1s58ms 15 1 1s56ms 1s56ms 18 1 5s996ms 5s996ms 23 3 17s347ms 5s782ms Mar 20 00 4 17s125ms 4s281ms 02 6 30s857ms 5s142ms 03 1 6s508ms 6s508ms 07 1 6s540ms 6s540ms 08 1 1s115ms 1s115ms 11 2 6s994ms 3s497ms 12 3 15s663ms 5s221ms 13 1 5s231ms 5s231ms 15 2 10s218ms 5s109ms 17 1 5s243ms 5s243ms 23 1 5s119ms 5s119ms Mar 21 01 2 10s632ms 5s316ms 05 1 1s5ms 1s5ms 07 1 1s115ms 1s115ms 08 1 5s286ms 5s286ms 10 1 5s53ms 5s53ms 13 1 5s46ms 5s46ms Mar 22 08 5 25s799ms 5s159ms 13 2 10s264ms 5s132ms 14 1 5s190ms 5s190ms 20 1 1s11ms 1s11ms 21 1 5s409ms 5s409ms 22 1 1s35ms 1s35ms 23 1 5s306ms 5s306ms Mar 23 01 2 2s70ms 1s35ms 07 1 1s33ms 1s33ms 15 1 1s13ms 1s13ms 18 1 5s552ms 5s552ms [ User: pubeu - Total duration: 1m33s - Times executed: 23 ]
-
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 = '1411475' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-03-20 07:42:21 Duration: 6s540ms 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 = '1256648' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-03-20 03:19:36 Duration: 6s508ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1298546' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-03-19 23:07:17 Duration: 6s83ms Bind query: yes
16 1s4ms 17s253ms 4s72ms 769 52m11s 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 Mar 17 00 1 4s968ms 4s968ms 01 2 7s230ms 3s615ms 04 1 4s636ms 4s636ms 05 2 2s400ms 1s200ms 06 1 1s256ms 1s256ms 07 1 12s112ms 12s112ms 08 5 31s307ms 6s261ms 10 1 6s389ms 6s389ms 11 3 9s94ms 3s31ms 12 1 1s311ms 1s311ms 13 1 4s795ms 4s795ms 14 1 4s901ms 4s901ms 15 1 5s318ms 5s318ms 17 2 8s243ms 4s121ms 19 1 1s386ms 1s386ms 20 1 1s290ms 1s290ms 22 2 24s229ms 12s114ms Mar 18 01 1 1s82ms 1s82ms 02 1 1s550ms 1s550ms 03 2 11s276ms 5s638ms 04 4 12s67ms 3s16ms 06 2 14s327ms 7s163ms 07 2 8s162ms 4s81ms 08 1 6s864ms 6s864ms 11 1 2s143ms 2s143ms 14 1 5s141ms 5s141ms 15 3 15s636ms 5s212ms 16 1 1s36ms 1s36ms 17 3 8s879ms 2s959ms 18 2 18s261ms 9s130ms 19 1 1s256ms 1s256ms 20 3 7s461ms 2s487ms 21 2 4s190ms 2s95ms 22 1 11s908ms 11s908ms 23 4 15s223ms 3s805ms Mar 19 01 1 1s168ms 1s168ms 02 1 12s423ms 12s423ms 04 3 12s509ms 4s169ms 05 3 6s291ms 2s97ms 06 1 5s26ms 5s26ms 07 2 7s355ms 3s677ms 08 3 9s536ms 3s178ms 09 3 14s307ms 4s769ms 10 1 5s175ms 5s175ms 11 2 10s39ms 5s19ms 12 4 13s536ms 3s384ms 13 10 44s915ms 4s491ms 14 10 50s737ms 5s73ms 15 14 1m10s 5s43ms 16 5 17s459ms 3s491ms 17 9 37s917ms 4s213ms 18 13 1m1s 4s702ms 19 8 41s916ms 5s239ms 20 12 42s33ms 3s502ms 21 11 35s534ms 3s230ms 22 5 17s732ms 3s546ms 23 6 23s242ms 3s873ms Mar 20 00 16 58s583ms 3s661ms 01 8 28s274ms 3s534ms 02 6 26s618ms 4s436ms 03 9 38s972ms 4s330ms 04 6 38s720ms 6s453ms 05 7 34s787ms 4s969ms 06 5 44s168ms 8s833ms 07 7 23s915ms 3s416ms 08 11 45s269ms 4s115ms 09 9 39s641ms 4s404ms 10 15 55s590ms 3s706ms 11 9 38s473ms 4s274ms 12 5 20s618ms 4s123ms 13 6 22s386ms 3s731ms 14 4 13s701ms 3s425ms 15 4 16s28ms 4s7ms 16 3 11s128ms 3s709ms 17 4 7s187ms 1s796ms 18 2 8s198ms 4s99ms 19 7 19s931ms 2s847ms 20 4 9s771ms 2s442ms 21 14 52s308ms 3s736ms 22 11 49s877ms 4s534ms 23 8 25s929ms 3s241ms Mar 21 00 8 17s666ms 2s208ms 01 6 30s29ms 5s4ms 02 5 15s305ms 3s61ms 03 10 49s65ms 4s906ms 04 8 31s838ms 3s979ms 05 5 23s921ms 4s784ms 06 6 39s892ms 6s648ms 07 5 22s931ms 4s586ms 08 6 18s353ms 3s58ms 09 3 14s160ms 4s720ms 10 4 13s915ms 3s478ms 11 6 14s287ms 2s381ms 12 6 27s99ms 4s516ms 13 5 13s263ms 2s652ms 14 8 22s630ms 2s828ms 15 4 13s550ms 3s387ms 16 5 44s174ms 8s834ms 17 10 43s734ms 4s373ms 18 6 18s156ms 3s26ms 19 7 25s149ms 3s592ms 20 3 3s849ms 1s283ms 21 8 46s731ms 5s841ms 22 3 11s668ms 3s889ms 23 3 11s317ms 3s772ms Mar 22 00 7 22s265ms 3s180ms 01 7 21s591ms 3s84ms 02 5 54s733ms 10s946ms 03 3 12s5ms 4s1ms 05 2 16s528ms 8s264ms 06 6 24s935ms 4s155ms 07 3 11s661ms 3s887ms 08 9 27s839ms 3s93ms 09 2 11s95ms 5s547ms 10 6 19s752ms 3s292ms 11 4 19s375ms 4s843ms 12 4 12s939ms 3s234ms 13 11 32s585ms 2s962ms 14 8 25s859ms 3s232ms 15 8 21s604ms 2s700ms 16 12 34s236ms 2s853ms 17 6 24s419ms 4s69ms 18 6 25s37ms 4s172ms 19 5 34s439ms 6s887ms 20 5 16s949ms 3s389ms 21 2 13s124ms 6s562ms 22 4 11s982ms 2s995ms 23 5 20s420ms 4s84ms Mar 23 00 3 9s900ms 3s300ms 01 11 45s995ms 4s181ms 02 2 17s929ms 8s964ms 03 8 32s144ms 4s18ms 04 7 19s949ms 2s849ms 05 6 14s624ms 2s437ms 06 4 10s687ms 2s671ms 07 4 17s97ms 4s274ms 08 8 27s484ms 3s435ms 09 9 36s863ms 4s95ms 10 3 6s971ms 2s323ms 11 10 36s83ms 3s608ms 12 6 16s876ms 2s812ms 13 3 12s15ms 4s5ms 14 6 38s300ms 6s383ms 15 2 6s473ms 3s236ms 16 4 12s814ms 3s203ms 17 5 28s73ms 5s614ms 18 4 12s817ms 3s204ms 19 5 16s289ms 3s257ms 20 2 9s433ms 4s716ms 21 5 21s198ms 4s239ms 22 7 31s312ms 4s473ms 23 6 14s231ms 2s371ms [ User: pubeu - Total duration: 21m46s - Times executed: 311 ]
-
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 = '2053945') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-03-20 06:37:26 Duration: 17s253ms 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 = '2048764') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-03-20 03:16:02 Duration: 14s847ms 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 = '2052710') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-03-22 02:14:44 Duration: 13s277ms Database: ctdprd51 User: pubeu Bind query: yes
17 1s 17s446ms 3s37ms 2,219 1h52m20s select * from ( select g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, count(*) over () fullrowcount from term g where g.id in ( select gt.gene_id from dag_path dp inner join gene_taxon gt on dp.descendant_object_id = gt.taxon_id where dp.ancestor_object_id = ? union all select gcr.gene_id from dag_path dp inner join gene_chem_reference gcr on dp.descendant_object_id = gcr.taxon_id where dp.ancestor_object_id = ?) offset ?) mq order by mq.genesymbolsort limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Mar 17 00 5 21s637ms 4s327ms 01 10 23s484ms 2s348ms 02 7 17s212ms 2s458ms 03 12 29s95ms 2s424ms 04 15 44s988ms 2s999ms 05 5 10s546ms 2s109ms 06 7 23s47ms 3s292ms 07 2 7s396ms 3s698ms 08 2 4s344ms 2s172ms 09 6 16s103ms 2s683ms 10 8 23s73ms 2s884ms 11 21 57s854ms 2s754ms 12 3 6s437ms 2s145ms 13 10 26s773ms 2s677ms 14 11 27s888ms 2s535ms 15 2 3s949ms 1s974ms 16 12 34s862ms 2s905ms 17 12 31s571ms 2s630ms 18 2 4s102ms 2s51ms 19 7 17s528ms 2s504ms 20 17 42s326ms 2s489ms 21 17 39s497ms 2s323ms 22 12 29s874ms 2s489ms 23 2 7s225ms 3s612ms Mar 18 00 1 2s287ms 2s287ms 01 2 5s246ms 2s623ms 02 1 1s982ms 1s982ms 05 6 13s616ms 2s269ms 06 7 19s155ms 2s736ms 07 4 11s125ms 2s781ms 08 17 57s752ms 3s397ms 09 22 1m9s 3s136ms 10 52 2m26s 2s824ms 11 58 2m28s 2s568ms 12 21 1m3s 3s28ms 13 38 1m38s 2s597ms 14 25 1m 2s404ms 15 24 1m7s 2s795ms 16 41 1m49s 2s682ms 17 20 56s848ms 2s842ms 18 20 56s674ms 2s833ms 19 15 38s722ms 2s581ms 20 10 26s987ms 2s698ms 21 5 12s793ms 2s558ms 22 9 26s867ms 2s985ms 23 7 22s649ms 3s235ms Mar 19 00 9 29s658ms 3s295ms 01 17 51s934ms 3s54ms 02 15 39s751ms 2s650ms 03 13 33s952ms 2s611ms 04 8 21s930ms 2s741ms 05 21 53s162ms 2s531ms 06 15 43s835ms 2s922ms 07 15 40s712ms 2s714ms 08 13 38s638ms 2s972ms 09 12 32s273ms 2s689ms 10 15 41s899ms 2s793ms 11 14 36s932ms 2s638ms 12 5 11s623ms 2s324ms 13 4 12s246ms 3s61ms 14 4 10s563ms 2s640ms 15 5 10s288ms 2s57ms 16 21 58s191ms 2s771ms 17 51 2m36s 3s69ms 18 19 52s978ms 2s788ms 19 6 22s969ms 3s828ms 20 11 35s49ms 3s186ms 21 14 37s268ms 2s662ms 22 2 4s449ms 2s224ms 23 36 2m15s 3s766ms Mar 20 00 53 3m49s 4s326ms 01 52 2m26s 2s811ms 02 31 1m18s 2s523ms 03 6 15s796ms 2s632ms 04 25 1m47s 4s317ms 05 65 3m39s 3s374ms 06 45 5m56s 7s923ms 07 140 6m21s 2s725ms 08 153 7m20s 2s880ms 09 77 4m6s 3s203ms 10 43 1m53s 2s629ms 11 10 29s954ms 2s995ms 12 1 5s79ms 5s79ms 13 2 4s452ms 2s226ms 14 2 4s491ms 2s245ms 15 12 46s516ms 3s876ms 16 8 17s742ms 2s217ms 17 7 21s886ms 3s126ms 19 4 11s140ms 2s785ms 20 9 28s270ms 3s141ms 21 12 39s113ms 3s259ms 22 17 45s84ms 2s652ms 23 28 1m28s 3s168ms Mar 21 00 4 21s864ms 5s466ms 01 4 15s791ms 3s947ms 02 6 26s503ms 4s417ms 03 14 50s696ms 3s621ms 04 10 37s865ms 3s786ms 05 11 29s294ms 2s663ms 06 4 11s989ms 2s997ms 07 7 24s271ms 3s467ms 08 3 6s977ms 2s325ms 09 6 19s537ms 3s256ms 10 2 8s516ms 4s258ms 11 1 5s206ms 5s206ms 12 3 10s303ms 3s434ms 13 6 16s59ms 2s676ms 14 2 4s259ms 2s129ms 15 3 13s743ms 4s581ms 16 8 20s349ms 2s543ms 17 22 1m4s 2s910ms Mar 22 02 1 2s701ms 2s701ms 03 12 56s402ms 4s700ms 05 64 2m53s 2s707ms 06 94 4m25s 2s823ms 07 14 41s785ms 2s984ms 08 10 26s109ms 2s610ms 09 5 13s641ms 2s728ms 10 12 31s375ms 2s614ms 11 2 7s603ms 3s801ms 12 1 1s985ms 1s985ms 13 2 8s417ms 4s208ms 14 1 5s251ms 5s251ms 15 19 55s504ms 2s921ms 16 12 39s38ms 3s253ms 17 14 41s316ms 2s951ms 18 7 20s939ms 2s991ms 21 7 17s88ms 2s441ms 22 7 20s425ms 2s917ms 23 16 49s846ms 3s115ms Mar 23 00 13 35s145ms 2s703ms 01 9 26s112ms 2s901ms 03 14 33s202ms 2s371ms 04 1 2s238ms 2s238ms 05 1 5s202ms 5s202ms 08 3 7s736ms 2s578ms 10 2 5s511ms 2s755ms 12 1 2s80ms 2s80ms [ User: pubeu - Total duration: 41m5s - Times executed: 695 ]
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '646767' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '646767') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-03-20 06:37:26 Duration: 17s446ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '646442' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '646442') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-03-20 06:37:24 Duration: 15s113ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '954270' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '954270') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-03-20 06:37:23 Duration: 14s287ms Database: ctdprd51 User: pubeu Bind query: yes
18 1s209ms 6s140ms 2s862ms 51 2m26s 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 #18
Day Hour Count Duration Avg duration Mar 17 01 1 2s773ms 2s773ms 02 1 1s325ms 1s325ms 08 1 1s994ms 1s994ms 09 1 5s951ms 5s951ms 12 1 3s184ms 3s184ms 13 1 5s955ms 5s955ms 14 1 2s22ms 2s22ms 15 1 1s946ms 1s946ms 22 1 3s237ms 3s237ms 23 2 8s843ms 4s421ms Mar 18 06 1 3s227ms 3s227ms 08 1 1s312ms 1s312ms 11 1 3s255ms 3s255ms 12 1 1s401ms 1s401ms 17 1 1s621ms 1s621ms 20 1 1s607ms 1s607ms 22 1 5s866ms 5s866ms Mar 19 00 1 6s11ms 6s11ms 01 1 5s977ms 5s977ms 07 1 1s981ms 1s981ms 10 1 3s269ms 3s269ms 12 2 4s561ms 2s280ms 19 1 1s976ms 1s976ms 23 1 1s860ms 1s860ms Mar 20 01 1 1s334ms 1s334ms 04 1 6s140ms 6s140ms 07 2 3s404ms 1s702ms 12 1 2s97ms 2s97ms 22 2 6s205ms 3s102ms 23 1 1s867ms 1s867ms Mar 21 00 1 1s995ms 1s995ms 04 1 1s209ms 1s209ms 06 1 5s905ms 5s905ms 08 1 2s795ms 2s795ms 12 2 7s287ms 3s643ms 16 1 3s242ms 3s242ms 18 1 1s983ms 1s983ms 19 1 2s94ms 2s94ms Mar 22 12 1 1s332ms 1s332ms 20 1 3s253ms 3s253ms Mar 23 01 1 1s354ms 1s354ms 07 1 1s851ms 1s851ms 08 1 2s783ms 2s783ms 16 1 1s970ms 1s970ms 19 1 1s805ms 1s805ms 20 1 2s920ms 2s920ms [ User: pubeu - Total duration: 1m11s - Times executed: 24 ]
-
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 = '1379157'))) 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-03-20 04:24:13 Duration: 6s140ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1379157'))) 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-03-17 23:43:17 Duration: 6s56ms 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 = '1379157'))) 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-03-19 00:38:16 Duration: 6s11ms Bind query: yes
19 1s5ms 11s705ms 2s853ms 97 4m36s 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", 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 = ?) and gdr.source_cd = ? group by g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, c.nm, gdr.network_score order by d.nm_sort, g.nm, c.nm;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 20 23 49 2m19s 2s838ms Mar 21 05 48 2m17s 2s868ms [ User: pubeu - Total duration: 32s945ms - Times executed: 11 ]
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'd006973' "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", 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 = 2058513) AND gdr.source_cd = 'I' GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, c.nm;
Date: 2024-03-21 05:25:37 Duration: 11s705ms Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'd006973' "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", 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 = 2058513) AND gdr.source_cd = 'I' GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, c.nm;
Date: 2024-03-20 23:24:34 Duration: 11s680ms Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'd009202' "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", 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 = 2053512) AND gdr.source_cd = 'I' GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, c.nm;
Date: 2024-03-20 23:23:11 Duration: 11s18ms Bind query: yes
20 1s15ms 15s372ms 2s716ms 1,728 1h18m13s 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 Mar 17 00 2 5s41ms 2s520ms 01 1 2s855ms 2s855ms 02 5 14s819ms 2s963ms 03 6 15s144ms 2s524ms 04 5 13s897ms 2s779ms 05 7 15s989ms 2s284ms 06 7 19s191ms 2s741ms 07 2 4s918ms 2s459ms 08 3 8s354ms 2s784ms 09 3 8s22ms 2s674ms 10 10 26s996ms 2s699ms 11 13 31s533ms 2s425ms 12 15 38s205ms 2s547ms 13 4 9s668ms 2s417ms 14 7 18s750ms 2s678ms 15 1 3s321ms 3s321ms 16 5 13s501ms 2s700ms 17 3 9s882ms 3s294ms 19 3 7s714ms 2s571ms 20 7 18s509ms 2s644ms 21 6 15s765ms 2s627ms 22 3 9s994ms 3s331ms Mar 18 01 3 7s762ms 2s587ms 02 1 2s378ms 2s378ms 05 8 18s932ms 2s366ms 06 2 5s 2s500ms 07 1 2s165ms 2s165ms 08 12 31s375ms 2s614ms 09 10 26s34ms 2s603ms 10 42 1m52s 2s668ms 11 31 1m21s 2s632ms 12 20 49s362ms 2s468ms 13 25 1m5s 2s611ms 14 11 30s996ms 2s817ms 15 24 1m2s 2s622ms 16 20 53s157ms 2s657ms 17 23 1m 2s623ms 18 11 27s289ms 2s480ms 19 17 42s478ms 2s498ms 20 12 30s580ms 2s548ms 21 2 4s978ms 2s489ms 22 4 10s306ms 2s576ms 23 5 12s842ms 2s568ms Mar 19 00 7 18s900ms 2s700ms 01 11 28s532ms 2s593ms 02 12 29s203ms 2s433ms 03 13 32s333ms 2s487ms 04 11 27s824ms 2s529ms 05 16 39s916ms 2s494ms 06 16 43s659ms 2s728ms 07 10 24s594ms 2s459ms 08 7 18s322ms 2s617ms 09 8 21s674ms 2s709ms 10 14 33s836ms 2s416ms 11 10 27s73ms 2s707ms 12 2 5s750ms 2s875ms 13 6 17s8ms 2s834ms 14 5 11s739ms 2s347ms 15 2 5s910ms 2s955ms 16 19 50s526ms 2s659ms 17 39 1m38s 2s524ms 18 16 42s175ms 2s635ms 19 4 9s712ms 2s428ms 20 8 19s958ms 2s494ms 21 11 27s654ms 2s514ms 22 5 13s713ms 2s742ms 23 14 49s110ms 3s507ms Mar 20 00 31 1m45s 3s391ms 01 36 1m32s 2s576ms 02 27 1m10s 2s599ms 03 7 19s160ms 2s737ms 04 13 42s526ms 3s271ms 05 46 2m22s 3s97ms 06 19 2m26s 7s696ms 07 117 5m9s 2s646ms 08 136 6m6s 2s692ms 09 86 3m51s 2s686ms 10 58 2m29s 2s572ms 11 12 28s27ms 2s335ms 12 2 4s626ms 2s313ms 14 5 14s727ms 2s945ms 15 5 13s134ms 2s626ms 16 4 11s964ms 2s991ms 17 5 14s687ms 2s937ms 18 3 8s95ms 2s698ms 19 6 16s108ms 2s684ms 20 4 10s608ms 2s652ms 21 12 30s920ms 2s576ms 22 16 43s75ms 2s692ms 23 20 55s909ms 2s795ms Mar 21 00 5 14s89ms 2s817ms 02 7 19s949ms 2s849ms 03 14 39s744ms 2s838ms 04 5 14s216ms 2s843ms 05 18 47s628ms 2s646ms 06 2 4s621ms 2s310ms 07 2 6s682ms 3s341ms 09 6 17s420ms 2s903ms 10 3 6s683ms 2s227ms 11 1 3s346ms 3s346ms 13 4 10s418ms 2s604ms 14 2 5s343ms 2s671ms 15 4 11s124ms 2s781ms 16 11 27s893ms 2s535ms 17 18 46s633ms 2s590ms 19 1 2s97ms 2s97ms Mar 22 02 1 3s194ms 3s194ms 03 1 6s135ms 6s135ms 05 65 2m50s 2s625ms 06 69 3m2s 2s650ms 07 21 53s740ms 2s559ms 08 8 21s755ms 2s719ms 09 11 28s282ms 2s571ms 10 8 19s13ms 2s376ms 11 1 2s434ms 2s434ms 12 1 3s286ms 3s286ms 13 2 4s275ms 2s137ms 14 4 9s908ms 2s477ms 15 12 29s425ms 2s452ms 16 9 23s178ms 2s575ms 17 11 26s882ms 2s443ms 18 7 17s843ms 2s549ms 19 1 2s152ms 2s152ms 21 4 9s962ms 2s490ms 22 5 12s938ms 2s587ms 23 13 32s24ms 2s463ms Mar 23 00 14 34s252ms 2s446ms 01 2 4s990ms 2s495ms 03 4 10s746ms 2s686ms 04 2 5s624ms 2s812ms 05 5 12s74ms 2s414ms 08 1 2s190ms 2s190ms 09 1 2s136ms 2s136ms 10 3 7s731ms 2s577ms 14 1 2s388ms 2s388ms [ User: pubeu - Total duration: 26m31s - Times executed: 539 ]
[ User: qaeu - Total duration: 24s883ms - 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 = '646767' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 4 ORDER BY sn.path;
Date: 2024-03-20 06:37:24 Duration: 15s372ms 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 = '584588' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 4 ORDER BY sn.path;
Date: 2024-03-20 06:37:23 Duration: 14s682ms 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 = '364932' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 4 ORDER BY sn.path;
Date: 2024-03-20 06:37:23 Duration: 14s543ms 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 440 0ms 0ms 0ms ;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Mar 17 06 4 0ms 0ms 07 4 0ms 0ms 08 8 0ms 0ms 09 2 0ms 0ms Mar 18 06 8 0ms 0ms 07 2 0ms 0ms 10 4 0ms 0ms 11 28 0ms 0ms 12 2 0ms 0ms 16 6 0ms 0ms 17 10 0ms 0ms 18 10 0ms 0ms Mar 19 05 10 0ms 0ms 06 14 0ms 0ms 07 6 0ms 0ms 15 2 0ms 0ms 16 8 0ms 0ms 17 10 0ms 0ms 18 2 0ms 0ms Mar 20 08 8 0ms 0ms 09 28 0ms 0ms 10 14 0ms 0ms 11 6 0ms 0ms 12 4 0ms 0ms 14 4 0ms 0ms 15 4 0ms 0ms 16 12 0ms 0ms 17 2 0ms 0ms 19 2 0ms 0ms 20 2 0ms 0ms 21 4 0ms 0ms Mar 21 06 16 0ms 0ms 07 26 0ms 0ms 08 2 0ms 0ms 09 6 0ms 0ms 13 2 0ms 0ms 15 2 0ms 0ms 18 4 0ms 0ms Mar 22 06 45 0ms 0ms 07 30 0ms 0ms 09 3 0ms 0ms 11 3 0ms 0ms 12 12 0ms 0ms 13 9 0ms 0ms 14 18 0ms 0ms 15 9 0ms 0ms 16 12 0ms 0ms 17 3 0ms 0ms Mar 23 00 2 0ms 0ms 14 6 0ms 0ms [ User: pubeu - Total duration: 7m29s - Times executed: 159 ]
-
;
Date: Duration: 0ms Database: postgres User: ctdprd51 Remote: pubeu parameters: $1 = '584588'
-
Events
Log levels
Key values
- 474,746 Log entries
Events distribution
Key values
- 0 PANIC entries
- 60 FATAL entries
- 44 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 39 Max number of times the same event was reported
- 104 Total events found
Rank Times reported Error 1 39 FATAL: canceling authentication due to timeout
Times Reported Most Frequent Error / Event #1
Day Hour Count Mar 20 00 1 03 2 04 10 05 16 Mar 22 02 3 Mar 23 02 7 2 18 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #2
Day Hour Count Mar 18 16 1 Mar 19 17 1 21 1 Mar 20 03 1 04 2 06 5 10 1 17 1 Mar 21 15 1 16 1 Mar 22 03 1 Mar 23 02 1 21 1 - FATAL: connection to client lost
- FATAL: connection to client lost
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Date: 2024-03-20 03:59:40
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount
Date: 2024-03-20 06:03:30
3 18 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #3
Day Hour Count Mar 18 16 1 Mar 19 17 1 21 1 Mar 20 03 1 04 2 06 6 17 1 Mar 21 15 1 16 1 Mar 22 03 1 Mar 23 02 1 21 1 - ERROR: could not send data to client: Broken pipe
- ERROR: could not send data to client: Broken pipe
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Date: 2024-03-20 03:59:40 Database: ctdprd51 Application: User: pubeu Remote:
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST
Date: 2024-03-20 06:03:30 Database: ctdprd51 Application: User: pubeu Remote:
4 14 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #4
Day Hour Count Mar 18 23 3 Mar 19 20 4 21 1 Mar 20 17 3 18 1 Mar 21 19 2 5 5 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #5
Day Hour Count Mar 19 16 2 Mar 20 08 3 6 3 ERROR: column "..." does not exist
Times Reported Most Frequent Error / Event #6
Day Hour Count Mar 19 13 2 Mar 20 12 1 - ERROR: column "notes" does not exist at character 40
- ERROR: column "term_id" does not exist at character 28
Statement: SELECT id, nm, term_nm, term_acc_txt, notes FROM edit.MEDIUM ORDER BY id ASC
Date: 2024-03-19 13:45:08
Statement: select * from term where ( term_id ) in ( select term_id, count(*) from term_label where object_type_id = 4 group by term_id order by count(*) desc limit 10 )select * from term where ( id ) in ( select term_id, count(*) from term_label where object_type_id = 4 group by term_id order by count(*) desc limit 10 )
Date: 2024-03-20 12:06:01 Database: ctdprd51 Application: pgAdmin 4 - CONN:1725369 User: pub2 Remote:
7 2 FATAL: password authentication failed for user "..."
Times Reported Most Frequent Error / Event #7
Day Hour Count Mar 18 15 2 - FATAL: password authentication failed for user "edit"
Detail: Connection matched pg_hba.conf line 85: "host all all 192.168.201.0/24 md5 "
Date: 2024-03-18 15:17:10
8 2 ERROR: invalid byte sequence for encoding
Times Reported Most Frequent Error / Event #8
Day Hour Count Mar 20 23 2 - ERROR: invalid byte sequence for encoding "UTF8": 0x00
Context: unnamed portal parameter $1
Statement: SELECT /* ObjectIdDAOImpl.LabelsAndAccs */ t.id ,t.nm ,t.nm_sort nmSort ,t.acc_txt acc ,t.acc_db_cd accDbCd FROM term t ,(SELECT li.term_id FROM term_label li WHERE UPPER(li.nm) = $1 AND li.object_type_id = 3 UNION SELECT l.object_id FROM db_link l WHERE upper( l.acc_txt ) = $2 AND l.object_type_id = 3 AND l.type_cd = 'A') ids WHERE t.id = ids.term_id ORDER BY CASE WHEN UPPER(t.nm) = $3 THEN 1 ELSE 2 END ,t.nm_sortDate: 2024-03-20 23:11:52
9 1 LOG: could not send data to client: Connection reset by peer
Times Reported Most Frequent Error / Event #9
Day Hour Count Mar 20 10 1 10 1 FATAL: connection to client lost d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (...) FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (...) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Times Reported Most Frequent Error / Event #10
Day Hour Count Mar 20 06 1 - FATAL: connection to client lost d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = ) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Statement: SELECT /* DiseaseGeneAssnsDAO */
Date: 2024-03-20 06:03:30
11 1 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #11
Day Hour Count Mar 18 18 1 - ERROR: duplicate key value violates unique constraint "ixn_actor_pk"
Detail: Key (ixn_id, position_seq)=(8526919, 2) already exists.
Context: SQL statement "INSERT INTO edit.ixn_actor (ixn_id ,position_seq ,object_type_id ,acc_txt ,acc_db_id ,object_nm ,actor_form_type_id ,qual_actor_form_type_id ,seq_acc_txt ,create_by ,mod_by ,create_tm ,mod_tm ) VALUES (p_ixn_id ,p_position_seq ,p_object_type_id ,p_acc_txt ,p_acc_db_id ,p_object_nm ,p_actor_form_type_id ,p_qual_actor_form_type_id ,p_seq_acc_txt ,p_create_by ,p_mod_by ,p_create_tm ,p_mod_tm )" PL/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 9 at SQL statement
Statement: select * from edit.ins_ixn_actor($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) as resultDate: 2024-03-18 18:26:55