-
Global information
- Generated on Sun Feb 9 04:15:16 2025
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20250208
- Parsed 202,407 log entries in 15s
- Log start from 2025-02-02 00:00:01 to 2025-02-08 23:59:22
-
Overview
Global Stats
- 377 Number of unique normalized queries
- 12,597 Number of queries
- 1d3h33m28s Total query duration
- 2025-02-02 00:00:58 First query
- 2025-02-08 23:59:22 Last query
- 4 queries/s at 2025-02-03 05:30:37 Query peak
- 1d3h33m28s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 1d3h33m28s Execute total duration
- 1,031 Number of events
- 10 Number of unique normalized events
- 948 Max number of times the same event was reported
- 0 Number of cancellation
- 86 Total number of automatic vacuums
- 226 Total number of automatic analyzes
- 12 Number temporary file
- 120.00 KiB Max size of temporary file
- 47.33 KiB Average size of temporary file
- 17,342 Total number of sessions
- 88 sessions at 2025-02-08 10:54:56 Session peak
- 285d2h39m7s Total duration of sessions
- 23m40s Average duration of sessions
- 0 Average queries per session
- 5s720ms Average queries duration per session
- 23m34s Average idle time per session
- 17,342 Total number of connections
- 109 connections/s at 2025-02-08 09:32:17 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 4 queries/s Query Peak
- 2025-02-03 05:30:37 Date
SELECT Traffic
Key values
- 4 queries/s Query Peak
- 2025-02-03 05:30:37 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2025-02-04 05:59:09 Date
Queries duration
Key values
- 1d3h33m28s 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) Feb 02 00 117 0ms 23m52s 14s473ms 8s603ms 13s303ms 23m58s 01 124 0ms 5m21s 7s238ms 12s711ms 15s541ms 5m27s 02 106 0ms 6s351ms 2s319ms 9s306ms 12s923ms 17s407ms 03 100 0ms 3m34s 4s460ms 10s558ms 13s178ms 3m38s 04 109 0ms 16s343ms 2s485ms 11s662ms 13s559ms 20s976ms 05 126 0ms 4m13s 6s181ms 19s890ms 36s331ms 4m17s 06 91 0ms 5m23s 6s525ms 13s683ms 21s976ms 5m23s 07 71 0ms 10s964ms 2s126ms 6s342ms 9s414ms 15s408ms 08 131 0ms 3m58s 4s124ms 11s208ms 12s734ms 3m59s 09 123 0ms 17s174ms 2s723ms 12s550ms 14s849ms 34s313ms 10 108 0ms 4m44s 6s5ms 15s960ms 44s365ms 4m47s 11 114 0ms 6s358ms 2s188ms 9s75ms 10s843ms 12s758ms 12 94 0ms 4m7s 4s811ms 9s100ms 13s816ms 4m10s 13 83 0ms 14s5ms 2s312ms 8s340ms 9s737ms 15s337ms 14 84 0ms 47s916ms 3s276ms 9s789ms 30s346ms 52s104ms 15 77 0ms 6s258ms 2s2ms 6s514ms 7s650ms 8s772ms 16 84 0ms 6s266ms 2s300ms 7s48ms 9s183ms 15s649ms 17 99 0ms 1m16s 2s481ms 6s591ms 12s703ms 1m16s 18 125 0ms 47s446ms 2s995ms 21s363ms 33s686ms 1m6s 19 49 0ms 6s242ms 2s447ms 5s883ms 6s502ms 12s157ms 20 71 0ms 16s517ms 2s409ms 6s589ms 15s55ms 19s523ms 21 70 0ms 22s200ms 2s816ms 7s281ms 10s458ms 28s169ms 22 60 0ms 17s343ms 2s593ms 6s877ms 8s809ms 19s260ms 23 87 0ms 6s321ms 1s681ms 5s985ms 6s321ms 7s223ms Feb 03 00 81 0ms 23m46s 20s40ms 6s739ms 14s576ms 23m56s 01 82 0ms 16s429ms 2s719ms 9s21ms 9s665ms 21s70ms 02 90 0ms 21s907ms 2s316ms 8s679ms 9s937ms 21s907ms 03 80 0ms 17s656ms 2s701ms 11s210ms 15s296ms 21s659ms 04 77 0ms 3m45s 4s943ms 7s570ms 12s283ms 3m48s 05 110 0ms 15s710ms 2s716ms 15s633ms 23s993ms 31s121ms 06 78 0ms 48s249ms 4s70ms 12s521ms 28s162ms 48s249ms 07 76 0ms 2m14s 4s35ms 6s855ms 13s667ms 2m21s 08 63 0ms 3m45s 8s52ms 6s859ms 8s140ms 3m45s 09 81 0ms 23s452ms 2s934ms 9s309ms 19s772ms 24s747ms 10 94 0ms 47s958ms 4s123ms 17s494ms 31s149ms 50s300ms 11 62 0ms 17m55s 25s464ms 13s886ms 17s932ms 17m55s 12 74 0ms 17s993ms 2s772ms 7s437ms 10s771ms 22s96ms 13 83 0ms 5m8s 7s823ms 8s778ms 11s909ms 5m9s 14 96 0ms 47s795ms 3s481ms 12s299ms 38s830ms 49s703ms 15 105 0ms 2m7s 4s23ms 11s263ms 23s882ms 2m8s 16 73 0ms 6s421ms 2s629ms 7s947ms 9s163ms 10s789ms 17 54 0ms 5m35s 8s203ms 6s173ms 6s690ms 5m35s 18 79 0ms 47s878ms 3s365ms 10s102ms 10s301ms 55s759ms 19 76 0ms 44s130ms 3s79ms 9s490ms 14s747ms 50s650ms 20 135 0ms 6s979ms 2s22ms 12s46ms 15s502ms 28s433ms 21 81 0ms 6s847ms 2s38ms 6s690ms 9s901ms 16s248ms 22 90 0ms 11s983ms 2s373ms 8s835ms 12s892ms 13s283ms 23 96 0ms 17s589ms 2s312ms 9s424ms 10s924ms 17s589ms Feb 04 00 97 0ms 23m59s 22s634ms 10s338ms 3m32s 24m9s 01 86 0ms 5m21s 5s966ms 7s644ms 12s749ms 5m22s 02 75 0ms 14s138ms 2s636ms 8s851ms 9s890ms 14s138ms 03 91 0ms 5m37s 12s493ms 39s658ms 1m12s 5m38s 04 89 0ms 17m49s 14s650ms 11s862ms 22s566ms 17m49s 05 129 0ms 1m46s 2s975ms 9s979ms 25s422ms 1m46s 06 89 0ms 1m21s 4s95ms 10s208ms 41s667ms 1m25s 07 101 0ms 3m3s 5s380ms 7s392ms 53s93ms 3m10s 08 95 0ms 3m17s 6s77ms 22s120ms 1m 3m17s 09 81 0ms 13s883ms 2s401ms 8s889ms 21s781ms 28s604ms 10 101 0ms 11m30s 10s153ms 13s622ms 45s272ms 11m30s 11 97 0ms 7m43s 9s126ms 15s189ms 46s734ms 7m46s 12 83 0ms 18s212ms 2s308ms 9s44ms 14s133ms 19s596ms 13 67 0ms 22s487ms 2s482ms 7s4ms 8s776ms 24s396ms 14 76 0ms 2m58s 7s645ms 13s381ms 59s64ms 3m3s 15 86 0ms 7h44m30s 5m26s 13s868ms 28s137ms 7h44m35s 16 81 0ms 16s233ms 2s651ms 9s933ms 10s446ms 16s233ms 17 88 0ms 21s614ms 2s953ms 9s540ms 18s364ms 25s692ms 18 94 0ms 4m6s 5s929ms 11s558ms 47s864ms 4m9s 19 109 0ms 4m7s 6s599ms 11s971ms 29s609ms 4m7s 20 123 0ms 2m54s 5s938ms 44s973ms 49s247ms 2m54s 21 117 0ms 44s867ms 3s662ms 22s105ms 47s221ms 57s482ms 22 70 0ms 45s747ms 2s835ms 8s140ms 10s964ms 48s832ms 23 87 0ms 5m17s 6s198ms 10s718ms 18s911ms 5m27s Feb 05 00 65 0ms 24m1s 24s756ms 8s535ms 13s633ms 24m7s 01 78 0ms 4m24s 9s43ms 12s101ms 22s437ms 4m26s 02 82 0ms 10s872ms 2s289ms 8s946ms 9s806ms 11s129ms 03 90 0ms 11s10ms 2s291ms 9s550ms 11s926ms 13s385ms 04 80 0ms 4m38s 8s97ms 9s48ms 31s321ms 4m42s 05 119 0ms 19s675ms 2s730ms 17s720ms 25s157ms 30s618ms 06 91 0ms 48s206ms 3s552ms 11s300ms 26s954ms 1m2s 07 76 0ms 22s79ms 2s763ms 9s221ms 11s905ms 26s832ms 08 91 0ms 5s341ms 1s665ms 5s162ms 6s870ms 10s780ms 09 79 0ms 16s271ms 2s732ms 9s166ms 15s907ms 17s704ms 10 64 0ms 48s170ms 3s556ms 8s12ms 24s124ms 48s170ms 11 96 0ms 3m15s 4s630ms 10s722ms 17s462ms 3m15s 12 75 0ms 6s450ms 2s177ms 6s270ms 8s81ms 9s992ms 13 86 0ms 4m23s 5s277ms 8s233ms 10s870ms 4m23s 14 93 0ms 48s43ms 3s209ms 10s761ms 29s157ms 48s43ms 15 55 0ms 5m8s 7s845ms 6s183ms 7s354ms 5m10s 16 75 0ms 19s172ms 2s648ms 7s540ms 9s619ms 24s699ms 17 68 0ms 6s317ms 2s259ms 7s577ms 9s521ms 9s762ms 18 81 0ms 47s962ms 3s586ms 13s991ms 26s898ms 47s962ms 19 83 0ms 16s365ms 2s421ms 8s252ms 9s845ms 27s453ms 20 69 0ms 2m6s 4s277ms 10s786ms 16s403ms 2m10s 21 59 0ms 6s463ms 2s100ms 5s561ms 6s463ms 17s319ms 22 76 0ms 4m47s 6s304ms 7s337ms 18s503ms 4m48s 23 41 0ms 18s640ms 2s498ms 5s506ms 8s13ms 18s640ms Feb 06 00 59 0ms 23m53s 26s495ms 6s691ms 9s171ms 23m54s 01 57 0ms 6s211ms 2s242ms 7s526ms 9s250ms 11s338ms 02 60 0ms 17s466ms 2s757ms 7s904ms 19s546ms 23s769ms 03 72 0ms 9s749ms 2s941ms 9s815ms 12s351ms 35s801ms 04 52 0ms 3m45s 10s833ms 7s569ms 13s895ms 3m49s 05 75 0ms 16s209ms 2s510ms 10s90ms 23s745ms 29s497ms 06 49 0ms 17m51s 26s40ms 5s922ms 18s837ms 18m51s 07 31 0ms 6s316ms 1s820ms 2s877ms 4s16ms 6s316ms 08 35 0ms 4m58s 18s181ms 6s291ms 7s719ms 4m58s 09 46 0ms 5m16s 8s749ms 5s156ms 5s678ms 5m19s 10 75 0ms 48s408ms 3s368ms 9s468ms 24s33ms 52s150ms 11 72 0ms 7s378ms 2s43ms 6s216ms 8s577ms 9s436ms 12 50 0ms 48s918ms 4s196ms 5s826ms 10s270ms 55s178ms 13 68 0ms 21s31ms 2s318ms 6s876ms 8s354ms 31s616ms 14 97 0ms 48s609ms 3s522ms 17s547ms 25s284ms 49s947ms 15 55 0ms 6s292ms 2s420ms 8s50ms 9s719ms 12s197ms 16 55 0ms 6s249ms 1s767ms 5s673ms 7s25ms 10s185ms 17 52 0ms 6s212ms 1s729ms 5s33ms 6s211ms 6s997ms 18 55 0ms 48s485ms 3s556ms 4s660ms 25s390ms 50s761ms 19 53 0ms 6s172ms 1s766ms 4s348ms 7s602ms 15s46ms 20 84 0ms 6s302ms 2s413ms 7s423ms 14s708ms 31s83ms 21 60 0ms 1m12s 3s626ms 8s684ms 16s283ms 1m18s 22 78 0ms 17s594ms 2s954ms 16s331ms 19s963ms 25s339ms 23 67 0ms 6m2s 7s883ms 8s764ms 15s799ms 6m2s Feb 07 00 48 0ms 23m52s 31s865ms 5s61ms 6s419ms 23m58s 01 46 0ms 1m9s 3s467ms 3s463ms 4s428ms 1m27s 02 73 0ms 6s386ms 1s855ms 8s610ms 9s791ms 12s661ms 03 74 0ms 8s1ms 1s931ms 6s770ms 8s546ms 12s591ms 04 79 0ms 3m45s 7s713ms 8s365ms 54s108ms 5m46s 05 83 0ms 10s986ms 2s39ms 10s627ms 16s878ms 27s708ms 06 49 0ms 48s255ms 4s369ms 8s868ms 24s107ms 54s363ms 07 37 0ms 6s142ms 2s35ms 4s459ms 7s696ms 8s401ms 08 51 0ms 6s246ms 1s585ms 3s443ms 5s7ms 6s246ms 09 48 0ms 6s209ms 1s910ms 4s664ms 6s209ms 8s51ms 10 59 0ms 48s216ms 3s941ms 7s433ms 26s940ms 51s104ms 11 40 0ms 6s415ms 2s348ms 5s679ms 7s613ms 8s647ms 12 37 0ms 4m23s 9s515ms 5s114ms 8s766ms 4m25s 13 32 0ms 6s283ms 2s197ms 4s489ms 5s208ms 13s163ms 14 58 0ms 48s324ms 4s183ms 10s642ms 24s110ms 50s517ms 15 52 0ms 4m38s 7s468ms 5s762ms 6s325ms 4m38s 16 46 0ms 7s747ms 2s32ms 4s362ms 4s519ms 11s862ms 17 48 0ms 6s99ms 1s864ms 3s878ms 6s99ms 8s14ms 18 44 0ms 48s109ms 4s194ms 6s335ms 27s605ms 50s582ms 19 55 0ms 39s320ms 2s649ms 5s807ms 9s74ms 40s506ms 20 63 0ms 6s330ms 1s452ms 3s675ms 4s951ms 8s982ms 21 68 0ms 39s509ms 2s174ms 4s695ms 7s277ms 40s637ms 22 55 0ms 11s469ms 2s225ms 4s653ms 6s258ms 13s540ms 23 60 0ms 4m15s 5s679ms 4s676ms 6s236ms 4m17s Feb 08 00 40 0ms 23m54s 37s945ms 6s1ms 8s972ms 23m55s 01 72 0ms 6s257ms 1s679ms 4s640ms 6s257ms 9s161ms 02 62 0ms 6s357ms 2s334ms 7s398ms 10s573ms 17s583ms 03 73 0ms 3m33s 5s94ms 7s108ms 14s289ms 3m34s 04 44 0ms 16s153ms 2s79ms 4s7ms 4s866ms 16s153ms 05 117 0ms 17s858ms 2s269ms 16s835ms 23s626ms 25s710ms 06 74 0ms 4m38s 5s760ms 7s40ms 12s884ms 4m39s 07 44 0ms 5m20s 10s140ms 8s583ms 18s73ms 5m28s 08 54 0ms 21s639ms 2s266ms 5s442ms 8s685ms 21s639ms 09 56 0ms 43s686ms 6s297ms 30s282ms 48s727ms 1m1s 10 27 0ms 17m19s 2m41s 6s945ms 15s39ms 37m6s 11 0 0ms 0ms 0ms 0ms 0ms 0ms 12 28 0ms 6s204ms 2s633ms 0ms 13s735ms 25s887ms 13 56 0ms 38s931ms 2s612ms 7s281ms 8s17ms 38s931ms 14 50 0ms 3m40s 6s871ms 7s518ms 18s750ms 3m40s 15 51 0ms 20s997ms 2s329ms 6s795ms 7s430ms 22s482ms 16 96 0ms 16s191ms 1s851ms 6s664ms 7s285ms 16s217ms 17 49 0ms 10s924ms 1s921ms 5s388ms 6s373ms 12s83ms 18 71 0ms 1m11s 6s707ms 40s80ms 1m4s 1m11s 19 102 0ms 24m21s 49s21ms 1m47s 7m32s 24m26s 20 43 0ms 4s172ms 1s685ms 4s172ms 6s75ms 7s790ms 21 78 0ms 6s13ms 1s641ms 4s858ms 7s582ms 12s68ms 22 94 0ms 21s221ms 4s892ms 17s740ms 30s253ms 38s928ms 23 51 0ms 7s412ms 2s168ms 6s246ms 8s857ms 11s117ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Feb 02 00 115 0 14s650ms 6s253ms 8s603ms 21s556ms 01 123 0 7s269ms 7s286ms 12s711ms 5m3s 02 106 0 2s319ms 6s499ms 9s306ms 13s689ms 03 100 0 4s460ms 7s21ms 10s558ms 13s267ms 04 108 0 2s490ms 6s874ms 11s662ms 16s538ms 05 121 0 6s346ms 8s63ms 15s852ms 3m32s 06 83 7 6s569ms 6s272ms 13s683ms 58s290ms 07 70 0 2s119ms 4s414ms 6s342ms 9s909ms 08 131 0 4s124ms 8s675ms 11s208ms 17s179ms 09 120 0 2s721ms 8s424ms 12s550ms 24s727ms 10 98 10 6s5ms 7s630ms 15s960ms 48s194ms 11 113 0 2s190ms 6s755ms 9s75ms 12s154ms 12 90 0 4s924ms 6s38ms 8s871ms 13s886ms 13 83 0 2s312ms 6s357ms 8s340ms 13s846ms 14 74 10 3s276ms 6s275ms 9s829ms 41s634ms 15 75 0 2s2ms 5s748ms 6s514ms 8s416ms 16 84 0 2s300ms 6s266ms 7s48ms 15s498ms 17 98 0 2s487ms 5s860ms 6s591ms 16s728ms 18 115 10 2s995ms 7s79ms 21s363ms 41s587ms 19 49 0 2s447ms 4s668ms 5s883ms 9s589ms 20 71 0 2s409ms 4s934ms 6s589ms 17s764ms 21 70 0 2s816ms 4s960ms 7s281ms 12s274ms 22 60 0 2s593ms 5s500ms 6s877ms 13s165ms 23 86 0 1s670ms 5s394ms 5s985ms 6s694ms Feb 03 00 80 0 20s214ms 5s402ms 6s739ms 22s187ms 01 81 0 2s713ms 7s596ms 9s21ms 10s950ms 02 90 0 2s316ms 6s606ms 8s679ms 11s111ms 03 77 0 2s707ms 6s251ms 11s210ms 18s865ms 04 77 0 4s943ms 5s228ms 7s570ms 13s692ms 05 105 0 2s737ms 10s61ms 15s633ms 25s871ms 06 69 8 4s99ms 7s116ms 12s479ms 41s631ms 07 76 0 4s35ms 5s90ms 6s855ms 26s504ms 08 61 0 8s225ms 4s393ms 6s264ms 2m30s 09 81 0 2s934ms 5s804ms 9s309ms 19s934ms 10 84 10 4s123ms 8s783ms 17s494ms 41s699ms 11 61 0 25s834ms 5s673ms 13s886ms 5m12s 12 74 0 2s772ms 6s239ms 7s437ms 19s899ms 13 82 0 7s886ms 6s215ms 8s778ms 3m 14 85 10 3s497ms 7s15ms 12s299ms 41s695ms 15 103 0 4s62ms 8s114ms 10s662ms 28s36ms 16 71 0 2s632ms 6s173ms 7s947ms 10s340ms 17 53 0 8s295ms 3s729ms 6s173ms 7s60ms 18 70 9 3s365ms 6s272ms 8s973ms 47s878ms 19 74 0 3s71ms 6s197ms 9s46ms 17s218ms 20 134 0 2s21ms 7s434ms 12s46ms 23s892ms 21 80 0 2s32ms 5s425ms 6s690ms 10s266ms 22 89 0 2s378ms 7s199ms 8s835ms 13s109ms 23 95 0 2s315ms 5s463ms 9s424ms 13s704ms Feb 04 00 96 0 22s804ms 6s918ms 10s338ms 5m20s 01 86 0 5s966ms 6s321ms 7s644ms 13s314ms 02 74 0 2s645ms 6s628ms 8s851ms 10s762ms 03 90 0 12s595ms 33s999ms 39s658ms 1m45s 04 89 0 14s650ms 7s699ms 11s862ms 30s458ms 05 124 0 3s7ms 6s266ms 9s979ms 27s984ms 06 78 10 4s114ms 5s679ms 10s208ms 47s953ms 07 101 0 5s380ms 5s935ms 7s392ms 1m44s 08 91 0 6s239ms 6s961ms 22s120ms 1m39s 09 78 0 2s401ms 5s455ms 6s639ms 24s270ms 10 90 10 10s231ms 8s91ms 13s622ms 47s951ms 11 96 0 4s398ms 6s1ms 14s735ms 46s734ms 12 83 0 2s308ms 5s344ms 9s44ms 16s28ms 13 67 0 2s482ms 6s292ms 7s4ms 24s396ms 14 66 10 7s645ms 8s682ms 12s180ms 1m46s 15 85 0 5m30s 8s443ms 13s868ms 7h44m35s 16 81 0 2s651ms 6s909ms 9s933ms 12s538ms 17 87 0 2s949ms 6s222ms 9s540ms 22s934ms 18 84 10 5s929ms 6s961ms 11s454ms 47s864ms 19 109 0 6s599ms 8s255ms 11s971ms 3m32s 20 120 0 6s25ms 13s197ms 44s973ms 52s975ms 21 117 0 3s662ms 8s370ms 22s105ms 51s77ms 22 69 0 2s827ms 6s220ms 8s140ms 12s532ms 23 87 0 6s198ms 6s528ms 10s718ms 22s867ms Feb 05 00 63 0 25s413ms 5s183ms 8s535ms 14s893ms 01 78 0 9s43ms 7s112ms 12s101ms 3m50s 02 82 0 2s289ms 6s86ms 8s946ms 10s872ms 03 90 0 2s291ms 5s880ms 9s550ms 12s604ms 04 79 0 8s157ms 5s324ms 9s48ms 3m5s 05 112 0 2s766ms 8s639ms 17s720ms 27s254ms 06 81 10 3s552ms 6s223ms 11s300ms 41s560ms 07 75 0 2s774ms 6s553ms 9s221ms 22s59ms 08 90 0 1s662ms 3s933ms 5s162ms 7s730ms 09 79 0 2s732ms 6s236ms 9s166ms 16s271ms 10 53 10 3s583ms 4s620ms 8s12ms 41s608ms 11 93 0 4s669ms 8s528ms 10s722ms 24s238ms 12 75 0 2s177ms 4s547ms 6s270ms 8s543ms 13 85 0 5s318ms 6s424ms 8s233ms 22s247ms 14 82 10 3s220ms 5s127ms 10s761ms 41s674ms 15 55 0 7s845ms 4s567ms 6s183ms 9s200ms 16 74 0 2s639ms 6s231ms 7s389ms 13s206ms 17 68 0 2s259ms 4s924ms 7s577ms 9s580ms 18 71 10 3s586ms 6s68ms 10s689ms 41s652ms 19 82 0 2s410ms 6s239ms 8s252ms 9s945ms 20 69 0 4s277ms 5s730ms 10s786ms 2m10s 21 58 0 2s94ms 4s120ms 5s561ms 8s647ms 22 76 0 6s304ms 5s508ms 7s337ms 30s730ms 23 41 0 2s498ms 4s12ms 5s506ms 18s640ms Feb 06 00 58 0 26s843ms 4s439ms 6s641ms 9s171ms 01 57 0 2s242ms 4s324ms 7s526ms 10s937ms 02 60 0 2s757ms 4s867ms 7s904ms 19s649ms 03 71 0 2s952ms 5s660ms 9s802ms 18s519ms 04 51 0 10s980ms 3s542ms 5s281ms 3m44s 05 70 0 2s512ms 4s522ms 6s274ms 23s793ms 06 39 10 26s40ms 3s281ms 9s926ms 55s702ms 07 31 0 1s820ms 2s515ms 2s877ms 5s170ms 08 35 0 18s181ms 3s347ms 6s291ms 4m58s 09 46 0 8s749ms 3s218ms 5s156ms 6s409ms 10 65 10 3s368ms 5s475ms 9s468ms 41s892ms 11 72 0 2s43ms 4s45ms 6s216ms 8s902ms 12 50 0 4s196ms 4s24ms 5s826ms 46s647ms 13 68 0 2s318ms 4s626ms 6s876ms 8s507ms 14 86 10 3s538ms 7s358ms 10s970ms 41s575ms 15 55 0 2s420ms 4s499ms 8s50ms 12s197ms 16 55 0 1s767ms 3s345ms 5s673ms 8s910ms 17 52 0 1s729ms 3s523ms 5s33ms 6s997ms 18 45 10 3s556ms 3s555ms 4s660ms 41s540ms 19 52 0 1s737ms 2s898ms 4s348ms 7s797ms 20 84 0 2s413ms 5s347ms 7s423ms 17s889ms 21 60 0 3s626ms 4s111ms 8s684ms 19s611ms 22 78 0 2s954ms 7s595ms 16s331ms 25s54ms 23 67 0 7s883ms 4s423ms 8s764ms 23s329ms Feb 07 00 47 0 32s411ms 3s410ms 4s872ms 6s419ms 01 45 0 3s504ms 2s439ms 3s463ms 4s709ms 02 73 0 1s855ms 3s675ms 8s610ms 11s927ms 03 74 0 1s931ms 4s458ms 6s770ms 10s696ms 04 79 0 7s713ms 6s896ms 8s365ms 55s875ms 05 78 0 2s32ms 2s715ms 10s627ms 24s14ms 06 39 10 4s369ms 3s564ms 8s868ms 41s663ms 07 37 0 2s35ms 2s282ms 4s459ms 8s299ms 08 51 0 1s585ms 2s379ms 3s443ms 5s926ms 09 48 0 1s910ms 3s826ms 4s664ms 6s468ms 10 49 10 3s941ms 5s124ms 7s433ms 41s583ms 11 40 0 2s348ms 3s631ms 5s679ms 8s145ms 12 37 0 9s515ms 2s654ms 5s114ms 16s553ms 13 32 0 2s197ms 1s945ms 4s489ms 7s148ms 14 48 10 4s183ms 5s892ms 10s642ms 41s748ms 15 52 0 7s468ms 4s116ms 5s762ms 8s49ms 16 46 0 2s32ms 3s331ms 4s362ms 4s875ms 17 48 0 1s864ms 3s331ms 3s878ms 6s818ms 18 34 10 4s194ms 3s478ms 6s335ms 48s109ms 19 55 0 2s649ms 3s518ms 5s807ms 9s146ms 20 63 0 1s452ms 3s308ms 3s675ms 7s475ms 21 68 0 2s174ms 3s554ms 4s695ms 8s464ms 22 55 0 2s225ms 4s245ms 4s653ms 8s83ms 23 60 0 5s679ms 2s577ms 4s676ms 6s469ms Feb 08 00 39 0 38s764ms 2s317ms 5s191ms 12s864ms 01 72 0 1s679ms 3s631ms 4s640ms 8s330ms 02 62 0 2s334ms 4s523ms 7s398ms 10s591ms 03 73 0 5s94ms 3s993ms 7s108ms 20s772ms 04 44 0 2s79ms 2s775ms 4s7ms 5s253ms 05 113 0 2s270ms 6s176ms 16s835ms 24s851ms 06 74 0 5s760ms 5s522ms 7s40ms 13s324ms 07 44 0 10s140ms 3s26ms 8s583ms 21s451ms 08 54 0 2s266ms 3s337ms 5s442ms 9s836ms 09 56 0 6s297ms 7s981ms 30s282ms 53s621ms 10 27 0 2m41s 1s934ms 6s945ms 37m6s 11 0 0 0ms 0ms 0ms 0ms 12 26 0 2s659ms 0ms 0ms 25s887ms 13 56 0 2s612ms 3s743ms 7s281ms 38s931ms 14 50 0 6s871ms 4s96ms 7s518ms 3m40s 15 51 0 2s329ms 2s813ms 6s795ms 9s521ms 16 96 0 1s851ms 5s971ms 6s664ms 16s191ms 17 49 0 1s921ms 2s356ms 5s388ms 7s227ms 18 45 26 6s707ms 5s490ms 40s80ms 1m7s 19 53 49 49s21ms 1m16s 1m32s 24m23s 20 43 0 1s685ms 3s4ms 4s172ms 7s790ms 21 78 0 1s641ms 3s712ms 4s858ms 8s181ms 22 94 0 4s892ms 12s279ms 17s740ms 36s395ms 23 51 0 2s168ms 4s625ms 6s246ms 9s969ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Feb 02 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 Feb 03 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 Feb 04 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 1 0 0 0 2s291ms 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 Feb 05 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 Feb 06 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 Feb 07 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 Feb 08 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 Feb 02 00 0 115 115.00 0.00% 01 0 124 124.00 0.00% 02 0 106 106.00 0.00% 03 0 100 100.00 0.00% 04 0 109 109.00 0.00% 05 0 127 127.00 0.00% 06 0 109 109.00 0.00% 07 0 84 84.00 0.00% 08 0 131 131.00 0.00% 09 0 123 123.00 0.00% 10 0 98 98.00 0.00% 11 0 114 114.00 0.00% 12 0 94 94.00 0.00% 13 0 83 83.00 0.00% 14 0 74 74.00 0.00% 15 0 77 77.00 0.00% 16 0 84 84.00 0.00% 17 0 99 99.00 0.00% 18 0 115 115.00 0.00% 19 0 49 49.00 0.00% 20 0 71 71.00 0.00% 21 0 70 70.00 0.00% 22 0 60 60.00 0.00% 23 0 87 87.00 0.00% Feb 03 00 0 79 79.00 0.00% 01 0 82 82.00 0.00% 02 0 90 90.00 0.00% 03 0 80 80.00 0.00% 04 0 77 77.00 0.00% 05 0 115 115.00 0.00% 06 0 86 86.00 0.00% 07 0 85 85.00 0.00% 08 0 68 68.00 0.00% 09 0 89 89.00 0.00% 10 0 92 92.00 0.00% 11 0 77 77.00 0.00% 12 0 85 85.00 0.00% 13 0 108 108.00 0.00% 14 0 93 93.00 0.00% 15 0 109 109.00 0.00% 16 0 80 80.00 0.00% 17 0 71 71.00 0.00% 18 0 72 72.00 0.00% 19 0 76 76.00 0.00% 20 0 135 135.00 0.00% 21 0 81 81.00 0.00% 22 0 90 90.00 0.00% 23 0 96 96.00 0.00% Feb 04 00 0 96 96.00 0.00% 01 0 86 86.00 0.00% 02 0 75 75.00 0.00% 03 0 91 91.00 0.00% 04 0 89 89.00 0.00% 05 0 131 131.00 0.00% 06 0 91 91.00 0.00% 07 0 104 104.00 0.00% 08 0 111 111.00 0.00% 09 0 83 83.00 0.00% 10 0 89 89.00 0.00% 11 0 102 102.00 0.00% 12 0 84 84.00 0.00% 13 0 67 67.00 0.00% 14 0 66 66.00 0.00% 15 0 86 86.00 0.00% 16 0 81 81.00 0.00% 17 0 88 88.00 0.00% 18 0 84 84.00 0.00% 19 0 109 109.00 0.00% 20 0 123 123.00 0.00% 21 0 117 117.00 0.00% 22 0 70 70.00 0.00% 23 0 87 87.00 0.00% Feb 05 00 0 65 65.00 0.00% 01 0 78 78.00 0.00% 02 0 82 82.00 0.00% 03 0 90 90.00 0.00% 04 0 80 80.00 0.00% 05 0 120 120.00 0.00% 06 0 92 92.00 0.00% 07 0 86 86.00 0.00% 08 0 95 95.00 0.00% 09 0 82 82.00 0.00% 10 0 56 56.00 0.00% 11 0 100 100.00 0.00% 12 0 79 79.00 0.00% 13 0 86 86.00 0.00% 14 0 91 91.00 0.00% 15 0 65 65.00 0.00% 16 0 75 75.00 0.00% 17 0 74 74.00 0.00% 18 0 82 82.00 0.00% 19 0 83 83.00 0.00% 20 0 69 69.00 0.00% 21 0 59 59.00 0.00% 22 0 76 76.00 0.00% 23 0 41 41.00 0.00% Feb 06 00 0 58 58.00 0.00% 01 0 57 57.00 0.00% 02 0 61 61.00 0.00% 03 0 72 72.00 0.00% 04 0 52 52.00 0.00% 05 0 75 75.00 0.00% 06 0 61 61.00 0.00% 07 0 34 34.00 0.00% 08 0 37 37.00 0.00% 09 0 46 46.00 0.00% 10 0 65 65.00 0.00% 11 0 74 74.00 0.00% 12 0 60 60.00 0.00% 13 0 69 69.00 0.00% 14 0 94 94.00 0.00% 15 0 60 60.00 0.00% 16 0 57 57.00 0.00% 17 0 52 52.00 0.00% 18 0 45 45.00 0.00% 19 0 53 53.00 0.00% 20 0 84 84.00 0.00% 21 0 60 60.00 0.00% 22 0 78 78.00 0.00% 23 0 67 67.00 0.00% Feb 07 00 0 46 46.00 0.00% 01 0 46 46.00 0.00% 02 0 73 73.00 0.00% 03 0 74 74.00 0.00% 04 0 79 79.00 0.00% 05 0 83 83.00 0.00% 06 0 46 46.00 0.00% 07 0 52 52.00 0.00% 08 0 80 80.00 0.00% 09 0 55 55.00 0.00% 10 0 50 50.00 0.00% 11 0 45 45.00 0.00% 12 0 43 43.00 0.00% 13 0 37 37.00 0.00% 14 0 51 51.00 0.00% 15 0 62 62.00 0.00% 16 0 47 47.00 0.00% 17 0 48 48.00 0.00% 18 0 34 34.00 0.00% 19 0 55 55.00 0.00% 20 0 63 63.00 0.00% 21 0 68 68.00 0.00% 22 0 55 55.00 0.00% 23 0 60 60.00 0.00% Feb 08 00 0 40 40.00 0.00% 01 0 72 72.00 0.00% 02 0 62 62.00 0.00% 03 0 73 73.00 0.00% 04 0 44 44.00 0.00% 05 0 117 117.00 0.00% 06 0 74 74.00 0.00% 07 0 44 44.00 0.00% 08 0 54 54.00 0.00% 09 0 56 56.00 0.00% 10 0 27 27.00 0.00% 11 0 0 0.00 0.00% 12 0 28 28.00 0.00% 13 0 56 56.00 0.00% 14 0 50 50.00 0.00% 15 0 51 51.00 0.00% 16 0 96 96.00 0.00% 17 0 49 49.00 0.00% 18 0 45 45.00 0.00% 19 0 53 53.00 0.00% 20 0 43 43.00 0.00% 21 0 78 78.00 0.00% 22 0 94 94.00 0.00% 23 0 51 51.00 0.00% Day Hour Count Average / Second Feb 02 00 86 0.02/s 01 92 0.03/s 02 99 0.03/s 03 117 0.03/s 04 84 0.02/s 05 124 0.03/s 06 89 0.02/s 07 83 0.02/s 08 93 0.03/s 09 97 0.03/s 10 102 0.03/s 11 90 0.03/s 12 91 0.03/s 13 89 0.02/s 14 93 0.03/s 15 152 0.04/s 16 107 0.03/s 17 105 0.03/s 18 91 0.03/s 19 85 0.02/s 20 83 0.02/s 21 82 0.02/s 22 83 0.02/s 23 83 0.02/s Feb 03 00 92 0.03/s 01 94 0.03/s 02 87 0.02/s 03 85 0.02/s 04 84 0.02/s 05 102 0.03/s 06 87 0.02/s 07 88 0.02/s 08 87 0.02/s 09 88 0.02/s 10 96 0.03/s 11 87 0.02/s 12 90 0.03/s 13 88 0.02/s 14 93 0.03/s 15 94 0.03/s 16 86 0.02/s 17 82 0.02/s 18 84 0.02/s 19 82 0.02/s 20 90 0.03/s 21 84 0.02/s 22 104 0.03/s 23 93 0.03/s Feb 04 00 97 0.03/s 01 95 0.03/s 02 95 0.03/s 03 111 0.03/s 04 94 0.03/s 05 106 0.03/s 06 97 0.03/s 07 120 0.03/s 08 190 0.05/s 09 176 0.05/s 10 94 0.03/s 11 96 0.03/s 12 85 0.02/s 13 89 0.02/s 14 93 0.03/s 15 89 0.02/s 16 86 0.02/s 17 80 0.02/s 18 87 0.02/s 19 90 0.03/s 20 119 0.03/s 21 82 0.02/s 22 89 0.02/s 23 94 0.03/s Feb 05 00 101 0.03/s 01 108 0.03/s 02 92 0.03/s 03 109 0.03/s 04 91 0.03/s 05 102 0.03/s 06 89 0.02/s 07 93 0.03/s 08 89 0.02/s 09 93 0.03/s 10 84 0.02/s 11 89 0.02/s 12 91 0.03/s 13 99 0.03/s 14 88 0.02/s 15 82 0.02/s 16 81 0.02/s 17 78 0.02/s 18 100 0.03/s 19 83 0.02/s 20 85 0.02/s 21 80 0.02/s 22 87 0.02/s 23 79 0.02/s Feb 06 00 85 0.02/s 01 86 0.02/s 02 92 0.03/s 03 91 0.03/s 04 89 0.02/s 05 95 0.03/s 06 99 0.03/s 07 76 0.02/s 08 82 0.02/s 09 80 0.02/s 10 95 0.03/s 11 91 0.03/s 12 85 0.02/s 13 84 0.02/s 14 91 0.03/s 15 80 0.02/s 16 79 0.02/s 17 80 0.02/s 18 90 0.03/s 19 84 0.02/s 20 87 0.02/s 21 152 0.04/s 22 146 0.04/s 23 83 0.02/s Feb 07 00 85 0.02/s 01 83 0.02/s 02 82 0.02/s 03 83 0.02/s 04 91 0.03/s 05 100 0.03/s 06 85 0.02/s 07 85 0.02/s 08 89 0.02/s 09 88 0.02/s 10 84 0.02/s 11 85 0.02/s 12 79 0.02/s 13 83 0.02/s 14 86 0.02/s 15 86 0.02/s 16 86 0.02/s 17 82 0.02/s 18 82 0.02/s 19 82 0.02/s 20 83 0.02/s 21 80 0.02/s 22 89 0.02/s 23 86 0.02/s Feb 08 00 79 0.02/s 01 83 0.02/s 02 84 0.02/s 03 123 0.03/s 04 124 0.03/s 05 101 0.03/s 06 89 0.02/s 07 228 0.06/s 08 191 0.05/s 09 483 0.13/s 10 558 0.15/s 11 221 0.06/s 12 147 0.04/s 13 83 0.02/s 14 83 0.02/s 15 90 0.03/s 16 91 0.03/s 17 81 0.02/s 18 81 0.02/s 19 81 0.02/s 20 84 0.02/s 21 79 0.02/s 22 666 0.18/s 23 92 0.03/s Day Hour Count Average Duration Average idle time Feb 02 00 86 28m55s 28m35s 01 92 26m12s 26m2s 02 99 24m47s 24m45s 03 117 20m23s 20m19s 04 84 26m48s 26m45s 05 124 19m4s 18m58s 06 89 25m42s 25m36s 07 83 29m55s 29m53s 08 93 26m43s 26m37s 09 97 25m44s 25m40s 10 102 23m42s 23m35s 11 89 27m22s 27m19s 12 92 26m37s 26m32s 13 89 26m43s 26m41s 14 93 26m54s 26m51s 15 152 15m54s 15m53s 16 107 21m18s 21m16s 17 105 21m58s 21m55s 18 91 28m2s 27m58s 19 85 27m53s 27m51s 20 83 28m5s 28m3s 21 82 27m46s 27m44s 22 83 27m58s 27m56s 23 83 29m36s 29m34s Feb 03 00 92 27m19s 27m2s 01 94 26m16s 26m14s 02 87 27m34s 27m31s 03 85 27m29s 27m27s 04 84 27m52s 27m47s 05 102 23m9s 23m6s 06 87 27m4s 27m 07 88 27m48s 27m44s 08 87 28m18s 28m13s 09 88 27m53s 27m50s 10 96 25m46s 25m42s 11 87 27m52s 27m34s 12 90 26m59s 26m57s 13 88 27m48s 27m40s 14 93 25m52s 25m49s 15 94 25m51s 25m46s 16 86 28m13s 28m11s 17 82 28m27s 28m21s 18 84 28m11s 28m8s 19 82 27m5s 27m2s 20 90 26m56s 26m53s 21 84 27m6s 27m4s 22 104 23m56s 23m54s 23 93 25m11s 25m8s Feb 04 00 97 25m22s 24m59s 01 95 24m59s 24m53s 02 95 25m49s 25m47s 03 111 22m17s 22m7s 04 94 25m18s 25m5s 05 106 23m30s 23m27s 06 97 24m58s 24m54s 07 117 21m39s 21m35s 08 182 13m8s 13m4s 09 186 13m47s 13m46s 10 87 29m15s 29m4s 11 95 24m4s 23m55s 12 85 29m48s 29m45s 13 89 27m36s 27m34s 14 93 26m16s 26m10s 15 90 31m59s 26m47s 16 86 27m55s 27m53s 17 80 28m21s 28m18s 18 87 25m53s 25m47s 19 92 36m48s 36m40s 20 125 49m2s 48m56s 21 82 25m50s 25m45s 22 89 27m2s 27m 23 94 26m11s 26m5s Feb 05 00 101 24m55s 24m39s 01 108 22m54s 22m47s 02 92 26m 25m58s 03 109 22m33s 22m31s 04 91 26m37s 26m30s 05 102 23m44s 23m41s 06 89 26m31s 26m27s 07 93 26m5s 26m3s 08 89 27m55s 27m54s 09 93 26m25s 26m23s 10 84 28m29s 28m27s 11 89 27m28s 27m23s 12 91 27m6s 27m4s 13 99 24m39s 24m34s 14 88 27m2s 26m59s 15 82 29m1s 28m56s 16 81 29m26s 29m24s 17 78 29m7s 29m5s 18 100 24m34s 24m31s 19 83 27m45s 27m42s 20 85 27m32s 27m29s 21 80 28m47s 28m45s 22 87 28m 27m54s 23 79 30m43s 30m42s Feb 06 00 85 28m44s 28m25s 01 86 28m21s 28m20s 02 92 26m4s 26m2s 03 91 26m37s 26m35s 04 89 27m30s 27m24s 05 94 24m24s 24m22s 06 100 23m34s 23m21s 07 76 31m52s 31m51s 08 82 29m42s 29m35s 09 80 30m10s 30m5s 10 95 26m10s 26m8s 11 91 26m49s 26m47s 12 85 29m9s 29m7s 13 84 29m18s 29m16s 14 91 26m45s 26m42s 15 80 28m8s 28m6s 16 79 28m34s 28m33s 17 80 29m53s 29m52s 18 90 28m4s 28m2s 19 84 28m33s 28m32s 20 87 27m12s 27m10s 21 152 15m29s 15m27s 22 146 16m5s 16m3s 23 83 28m37s 28m31s Feb 07 00 85 29m8s 28m50s 01 83 29m16s 29m14s 02 82 29m37s 29m36s 03 83 28m35s 28m33s 04 91 26m19s 26m12s 05 100 24m37s 24m35s 06 85 27m12s 27m9s 07 85 29m 29m 08 89 26m28s 26m27s 09 88 28m14s 28m13s 10 84 28m35s 28m33s 11 85 28m48s 28m47s 12 79 30m22s 30m18s 13 83 28m46s 28m45s 14 86 27m25s 27m22s 15 86 27m1s 26m57s 16 86 28m24s 28m23s 17 82 29m12s 29m11s 18 82 29m36s 29m33s 19 82 29m28s 29m26s 20 83 29m34s 29m33s 21 80 28m3s 28m1s 22 88 26m51s 26m50s 23 87 28m41s 28m37s Feb 08 00 79 30m35s 30m16s 01 83 29m30s 29m29s 02 83 29m19s 29m18s 03 124 18m4s 18m1s 04 124 20m4s 20m3s 05 101 23m48s 23m46s 06 89 26m33s 26m28s 07 228 11m8s 11m6s 08 191 12m34s 12m33s 09 476 5m23s 5m23s 10 556 5m37s 5m29s 11 230 11m39s 11m39s 12 147 18m1s 18m 13 83 27m3s 27m1s 14 83 28m10s 28m5s 15 90 25m39s 25m38s 16 91 25m25s 25m23s 17 81 29m27s 29m26s 18 80 29m53s 29m47s 19 82 31m3s 30m2s 20 84 28m38s 28m37s 21 79 28m51s 28m49s 22 666 3m53s 3m52s 23 92 25m31s 25m30s -
Connections
Established Connections
Key values
- 109 connections Connection Peak
- 2025-02-08 09:32:17 Date
Connections per database
Key values
- ctdprd51 Main Database
- 17,342 connections Total
Connections per user
Key values
- pubeu Main User
- 17,342 connections Total
-
Sessions
Simultaneous sessions
Key values
- 88 sessions Session Peak
- 2025-02-08 10:54:56 Date
Histogram of session times
Key values
- 11,984 1800000-3600000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 17,342 sessions Total
Sessions per user
Key values
- pubeu Main User
- 17,342 sessions Total
Sessions per host
Key values
- 10.12.5.37 Main Host
- 17,342 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 143,713 buffers Checkpoint Peak
- 2025-02-08 03:24:07 Date
- 1620.041 seconds Highest write time
- 0.008 seconds Sync time
Checkpoints Wal files
Key values
- 43 files Wal files usage Peak
- 2025-02-06 20:24:02 Date
Checkpoints distance
Key values
- 1,305.09 Mo Distance Peak
- 2025-02-06 20:24:02 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Feb 02 00 5,435 544.228s 0.003s 544.352s 01 1,545 154.929s 0.004s 154.962s 02 1,565 156.974s 0.002s 157.046s 03 49,368 1,645.56s 0.008s 1,645.758s 04 369 37.073s 0.001s 37.088s 05 53,769 1,685.511s 0.004s 1,685.738s 06 1,598 160.295s 0.002s 160.325s 07 1,878 188.277s 0.003s 188.308s 08 747 74.926s 0.003s 74.999s 09 1,054 105.858s 0.003s 105.889s 10 656 65.828s 0.002s 65.859s 11 1,172 117.512s 0.002s 117.543s 12 944 94.757s 0.002s 94.788s 13 691 69.314s 0.002s 69.388s 14 1,091 109.394s 0.002s 109.425s 15 2,521 252.698s 0.002s 252.728s 16 1,442 144.544s 0.002s 144.575s 17 1,039 104.203s 0.003s 104.277s 18 1,414 141.638s 0.004s 141.656s 19 2,945 295.169s 0.005s 295.26s 20 1,852 185.497s 0.003s 185.569s 21 1,725 172.969s 0.002s 173.042s 22 1,570 157.339s 0.002s 157.368s 23 1,068 106.883s 0.003s 106.958s Feb 03 00 2,180 218.459s 0.003s 218.577s 01 1,606 160.966s 0.003s 160.997s 02 717 71.918s 0.002s 71.951s 03 904 90.645s 0.003s 90.721s 04 735 73.716s 0.002s 73.732s 05 5,168 517.506s 0.004s 517.557s 06 10,179 970.216s 0.002s 970.384s 07 74,971 1,854.565s 0.006s 1,854.699s 08 980 98.259s 0.003s 98.29s 09 5,368 537.636s 0.003s 537.714s 10 1,628 163.188s 0.002s 163.26s 11 52,754 1,675.586s 0.003s 1,675.754s 12 5,492 550.014s 0.003s 550.097s 13 79,886 1,620.041s 0.002s 1,620.209s 14 8,460 847.425s 0.004s 847.516s 15 1,689 169.208s 0.004s 169.282s 16 1,665 166.758s 0.002s 166.789s 17 1,926 193.015s 0.002s 193.086s 18 52,186 1,619.314s 0.006s 1,619.498s 19 5,610 561.94s 0.004s 561.986s 20 1,623 162.651s 0.003s 162.725s 21 1,335 133.807s 0.002s 133.837s 22 1,347 135.012s 0.002s 135.043s 23 1,989 199.226s 0.003s 199.299s Feb 04 00 2,754 275.887s 0.003s 276.005s 01 1,003 100.577s 0.002s 100.607s 02 758 75.931s 0.003s 75.962s 03 897 89.999s 0.003s 90.072s 04 972 97.446s 0.004s 97.478s 05 1,204 120.7s 0.004s 120.731s 06 2,081 208.338s 0.003s 208.409s 07 6,683 669.481s 0.003s 669.559s 08 1,047 105.009s 0.004s 105.04s 09 1,165 116.828s 0.004s 116.902s 10 1,198 120.106s 0.004s 120.21s 11 3,756 376.398s 0.005s 376.518s 12 527 52.798s 0.002s 52.814s 13 88,599 2,381.877s 0.006s 2,382.085s 14 1,312 131.54s 0.01s 131.618s 15 2,108 211.123s 0.003s 211.154s 16 1,293 129.585s 0.004s 129.658s 17 1,382 138.407s 0.004s 138.437s 18 1,250 125.196s 0.003s 125.268s 19 626 62.79s 0.002s 62.805s 20 5,508 551.69s 0.003s 551.82s 21 2,379 238.298s 0.004s 238.368s 22 1,566 156.943s 0.002s 156.958s 23 53,851 1,808.097s 0.004s 1,808.276s Feb 05 00 8,124 813.357s 0.006s 813.506s 01 1,161 116.387s 0.004s 116.416s 02 740 74.128s 0.003s 74.161s 03 652 65.506s 0.002s 65.584s 04 1,028 103.056s 0.003s 103.087s 05 69,576 1,636.016s 0.003s 1,636.18s 06 1,309 131.109s 0.003s 131.139s 07 889 89.242s 0.004s 89.286s 08 773 77.515s 0.003s 77.546s 09 334 33.567s 0.001s 33.582s 10 6,496 650.502s 0.004s 650.56s 11 828 83.153s 0.003s 83.184s 12 995 99.745s 0.004s 99.778s 13 625 62.808s 0.002s 62.886s 14 105,646 1,651.428s 0.004s 1,651.707s 15 772 77.525s 0.002s 77.554s 16 468 46.969s 0.002s 46.998s 17 700 70.298s 0.002s 70.328s 18 1,078 108.171s 0.002s 108.253s 19 929 93.14s 0.002s 93.17s 20 667 66.999s 0.003s 67.029s 21 260 26.131s 0.001s 26.146s 22 50,620 1,634.151s 0.002s 1,634.627s 23 61,853 1,715.685s 0.004s 1,716.246s Feb 06 00 3,363 336.918s 0.001s 337.038s 01 3,473 348.029s 0.002s 348.122s 02 70,717 1,654.918s 0.003s 1,655.381s 03 163,887 3,238.52s 0.003s 3,239.134s 04 4,399 440.887s 0.005s 440.934s 05 1,591 159.349s 0.002s 159.413s 06 6,642 665.754s 0.003s 665.867s 07 6,964 697.517s 0.005s 697.623s 08 343 34.566s 0.002s 34.644s 09 1,064 106.674s 0.003s 106.705s 10 488 49.072s 0.002s 49.101s 11 1,354 135.819s 0.003s 135.896s 12 620 62.198s 0.002s 62.23s 13 551 55.387s 0.003s 55.417s 14 899 90.15s 0.003s 90.181s 15 612 61.407s 0.002s 61.423s 16 3,650 365.579s 0.003s 365.67s 17 2,545 255.095s 0.004s 255.186s 18 358 36.05s 0.002s 36.08s 19 171 17.242s 0.001s 17.258s 20 66,608 2,007.494s 0.005s 2,008.085s 21 3,207 321.295s 0.002s 321.339s 22 187 18.827s 0.001s 18.842s 23 7,644 765.495s 0.006s 765.66s Feb 07 00 59,979 1,631.633s 0.004s 1,631.987s 01 2,076 208.012s 0.003s 208.044s 02 367 36.952s 0.002s 36.984s 03 529 53.082s 0.003s 53.159s 04 525 52.774s 0.003s 52.804s 05 52,680 1,637.152s 0.003s 1,637.638s 06 1,152 115.523s 0.004s 115.553s 07 592 59.518s 0.003s 59.55s 08 864 86.797s 0.004s 86.829s 09 1,433 143.532s 0.002s 143.593s 10 4,765 477.607s 0.005s 477.715s 11 936 93.876s 0.004s 93.907s 12 1,074 107.673s 0.004s 107.753s 13 948 95.046s 0.004s 95.076s 14 938 94.055s 0.003s 94.087s 15 1,031 103.361s 0.003s 103.436s 16 1,183 118.586s 0.004s 118.617s 17 883 88.525s 0.003s 88.556s 18 801 80.318s 0.003s 80.395s 19 2,122 212.63s 0.004s 212.66s 20 1,004 100.464s 0.003s 100.496s 21 1,352 135.502s 0.004s 135.581s 22 1,201 120.37s 0.003s 120.4s 23 620 62.2s 0.002s 62.215s Feb 08 00 11,585 1,159.949s 0.005s 1,160.155s 01 608 61.01s 0.002s 61.084s 02 2,846 285.04s 0.002s 285.068s 03 149,033 2,152.321s 0.006s 2,152.915s 04 723 72.632s 0.003s 72.662s 05 849 85.28s 0.003s 85.312s 06 1,013 101.475s 0.003s 101.551s 07 1,168 117.125s 0.003s 117.154s 08 867 87.056s 0.004s 87.087s 09 1,829 183.658s 0.004s 183.738s 10 181 18.36s 0.002s 18.39s 11 0 0s 0s 0s 12 70 7.133s 0.001s 7.148s 13 1,001 100.369s 0.004s 100.4s 14 1,169 117.176s 0.004s 117.254s 15 2,037 204.115s 0.003s 204.147s 16 681 68.215s 0.002s 68.292s 17 982 98.544s 0.003s 98.58s 18 910 91.238s 0.004s 91.27s 19 5,773 578.162s 0.003s 578.193s 20 1,479 148.208s 0.002s 148.286s 21 1,153 115.563s 0.003s 115.594s 22 1,015 101.784s 0.003s 101.817s 23 1,379 138.308s 0.004s 138.384s Day Hour Added Removed Recycled Synced files Longest sync Average sync Feb 02 00 0 4 0 74 0.001s 0.002s 01 0 0 0 45 0.001s 0.002s 02 0 1 0 47 0.001s 0.002s 03 0 33 0 48 0.006s 0.002s 04 0 0 0 18 0.001s 0.001s 05 0 36 0 103 0.001s 0.003s 06 0 0 0 129 0.001s 0.002s 07 0 0 0 138 0.001s 0.002s 08 0 1 0 30 0.001s 0.002s 09 0 0 0 41 0.001s 0.002s 10 0 0 0 26 0.001s 0.002s 11 0 0 0 41 0.001s 0.002s 12 0 0 0 23 0.001s 0.002s 13 0 1 0 23 0.001s 0.002s 14 0 0 0 38 0.001s 0.002s 15 0 0 0 23 0.001s 0.002s 16 0 0 0 29 0.001s 0.002s 17 0 1 0 29 0.001s 0.002s 18 0 0 0 22 0.004s 0.001s 19 0 1 0 52 0.001s 0.003s 20 0 1 0 42 0.001s 0.002s 21 0 1 0 32 0.001s 0.002s 22 0 0 0 31 0.001s 0.002s 23 0 1 0 23 0.001s 0.002s Feb 03 00 0 2 0 73 0.001s 0.002s 01 0 0 0 48 0.001s 0.002s 02 0 0 0 36 0.001s 0.002s 03 0 1 0 42 0.001s 0.002s 04 0 0 0 29 0.001s 0.001s 05 0 2 0 108 0.001s 0.003s 06 0 38 0 76 0.001s 0.001s 07 0 3 0 184 0.002s 0.003s 08 0 0 0 78 0.001s 0.002s 09 0 3 0 129 0.002s 0.002s 10 0 1 0 140 0.001s 0.002s 11 0 34 0 131 0.002s 0.002s 12 0 3 0 136 0.002s 0.002s 13 0 41 0 80 0.001s 0.001s 14 0 1 0 185 0.002s 0.003s 15 0 1 0 80 0.001s 0.002s 16 0 0 0 79 0.001s 0.002s 17 0 1 0 126 0.001s 0.002s 18 0 36 0 75 0.006s 0.001s 19 0 0 0 40 0.001s 0.003s 20 0 1 0 27 0.002s 0.002s 21 0 0 0 20 0.001s 0.002s 22 0 0 0 21 0.001s 0.002s 23 0 1 0 28 0.001s 0.002s Feb 04 00 0 3 0 80 0.001s 0.002s 01 0 0 0 53 0.001s 0.002s 02 0 0 0 41 0.001s 0.002s 03 0 1 0 39 0.001s 0.002s 04 0 0 0 41 0.001s 0.002s 05 0 0 0 82 0.001s 0.002s 06 0 1 0 129 0.001s 0.002s 07 0 4 0 102 0.001s 0.002s 08 0 0 0 115 0.001s 0.002s 09 0 1 0 213 0.001s 0.002s 10 0 1 0 102 0.001s 0.002s 11 0 31 0 121 0.001s 0.002s 12 0 0 0 21 0.001s 0.001s 13 0 38 0 70 0.001s 0.003s 14 0 1 0 38 0.007s 0.002s 15 0 0 0 92 0.001s 0.002s 16 0 1 0 31 0.001s 0.002s 17 0 0 0 30 0.001s 0.002s 18 0 1 0 29 0.001s 0.002s 19 0 0 0 10 0.001s 0.001s 20 0 2 0 73 0.001s 0.003s 21 0 1 0 38 0.001s 0.002s 22 0 0 0 21 0.001s 0.001s 23 0 35 0 54 0.001s 0.002s Feb 05 00 0 6 0 121 0.001s 0.003s 01 0 0 0 51 0.001s 0.002s 02 0 0 0 46 0.001s 0.002s 03 0 1 0 32 0.001s 0.002s 04 0 0 0 33 0.001s 0.002s 05 0 31 0 46 0.001s 0.002s 06 0 0 0 93 0.001s 0.002s 07 0 0 0 108 0.001s 0.002s 08 0 0 0 76 0.001s 0.002s 09 0 0 0 56 0.001s 0.001s 10 0 4 0 145 0.001s 0.003s 11 0 0 0 117 0.001s 0.002s 12 0 0 0 68 0.001s 0.002s 13 0 1 0 22 0.001s 0.002s 14 0 14 14 102 0.002s 0.002s 15 0 0 0 120 0.001s 0.002s 16 0 0 0 22 0.001s 0.002s 17 0 0 0 114 0.001s 0.002s 18 0 0 1 132 0.001s 0.002s 19 0 0 0 24 0.001s 0.002s 20 0 0 0 22 0.001s 0.002s 21 0 0 0 11 0.001s 0.001s 22 0 0 34 40 0.001s 0.002s 23 0 0 40 65 0.001s 0.003s Feb 06 00 0 0 2 73 0.001s 0.001s 01 0 0 2 54 0.001s 0.002s 02 0 0 33 59 0.001s 0.002s 03 0 31 37 69 0.001s 0.002s 04 0 0 0 73 0.001s 0.003s 05 0 0 1 21 0.001s 0.001s 06 0 0 4 110 0.001s 0.002s 07 0 0 2 239 0.001s 0.003s 08 0 0 1 74 0.001s 0.002s 09 0 0 0 46 0.001s 0.002s 10 0 0 0 35 0.001s 0.002s 11 0 0 1 50 0.001s 0.002s 12 0 0 0 114 0.001s 0.002s 13 0 0 0 83 0.001s 0.002s 14 0 0 0 119 0.001s 0.002s 15 0 0 0 138 0.001s 0.001s 16 0 0 2 142 0.001s 0.002s 17 0 0 1 111 0.001s 0.003s 18 0 0 0 26 0.001s 0.002s 19 0 0 0 10 0.001s 0.001s 20 0 0 43 67 0.001s 0.003s 21 0 0 1 42 0.001s 0.002s 22 0 0 0 11 0.001s 0.001s 23 0 0 4 61 0.001s 0.003s Feb 07 00 0 0 24 88 0.001s 0.002s 01 0 0 0 45 0.001s 0.002s 02 0 0 0 38 0.001s 0.002s 03 0 0 1 47 0.001s 0.002s 04 0 0 0 42 0.001s 0.002s 05 0 0 35 47 0.001s 0.002s 06 0 0 0 131 0.001s 0.002s 07 0 0 0 134 0.001s 0.002s 08 0 0 0 136 0.001s 0.002s 09 0 0 1 61 0.001s 0.001s 10 0 0 2 180 0.001s 0.003s 11 0 0 0 132 0.001s 0.002s 12 0 0 1 141 0.001s 0.002s 13 0 0 0 90 0.001s 0.002s 14 0 0 0 83 0.001s 0.002s 15 0 0 1 137 0.001s 0.002s 16 0 0 0 98 0.001s 0.002s 17 0 0 0 29 0.001s 0.002s 18 0 0 1 29 0.001s 0.002s 19 0 0 0 29 0.001s 0.002s 20 0 0 0 34 0.001s 0.002s 21 0 0 1 39 0.001s 0.002s 22 0 0 0 24 0.001s 0.002s 23 0 0 0 19 0.001s 0.001s Feb 08 00 0 0 7 114 0.001s 0.003s 01 0 0 1 40 0.001s 0.002s 02 0 0 1 27 0.001s 0.001s 03 0 0 40 70 0.001s 0.003s 04 0 0 0 28 0.001s 0.002s 05 0 0 0 32 0.001s 0.002s 06 0 0 1 36 0.001s 0.002s 07 0 0 0 39 0.001s 0.002s 08 0 0 0 36 0.001s 0.002s 09 0 0 1 46 0.001s 0.002s 10 0 0 0 18 0.001s 0.002s 11 0 0 0 0 0s 0s 12 0 0 0 7 0.001s 0.001s 13 0 0 0 31 0.001s 0.002s 14 0 0 1 39 0.001s 0.002s 15 0 0 0 37 0.001s 0.002s 16 0 0 1 21 0.001s 0.002s 17 0 0 0 28 0.001s 0.002s 18 0 0 0 31 0.001s 0.002s 19 0 0 0 23 0.001s 0.002s 20 0 0 1 32 0.001s 0.002s 21 0 0 0 23 0.001s 0.002s 22 0 0 0 30 0.001s 0.002s 23 0 0 1 32 0.001s 0.002s Day Hour Count Avg time (sec) Feb 02 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 Feb 03 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 Feb 04 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 Feb 05 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 Feb 06 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 Feb 07 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 Feb 08 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 Feb 02 00 29,602.50 kB 192,789.50 kB 01 4,908.00 kB 156,755.00 kB 02 4,693.00 kB 128,209.00 kB 03 270,514.50 kB 512,993.50 kB 04 1,131.00 kB 437,559.00 kB 05 194,486.00 kB 524,942.33 kB 06 2,141.50 kB 402,890.50 kB 07 5,103.50 kB 327,310.00 kB 08 1,349.50 kB 265,421.00 kB 09 1,920.50 kB 215,304.50 kB 10 1,137.00 kB 174,665.50 kB 11 2,044.00 kB 141,821.50 kB 12 1,542.50 kB 115,205.50 kB 13 1,506.50 kB 93,591.00 kB 14 2,223.00 kB 76,197.50 kB 15 2,116.00 kB 62,117.50 kB 16 2,470.50 kB 50,793.50 kB 17 2,496.00 kB 41,612.00 kB 18 7,955.00 kB 36,381.00 kB 19 6,818.67 kB 31,233.67 kB 20 5,725.50 kB 25,095.00 kB 21 4,923.00 kB 21,287.00 kB 22 3,199.00 kB 17,826.00 kB 23 2,996.50 kB 15,018.50 kB Feb 03 00 16,967.00 kB 30,759.50 kB 01 4,886.00 kB 25,842.00 kB 02 1,788.50 kB 21,273.50 kB 03 2,060.00 kB 17,603.50 kB 04 4,109.00 kB 15,518.00 kB 05 13,251.67 kB 25,766.33 kB 06 99,359.00 kB 99,359.00 kB 07 189,538.33 kB 500,396.67 kB 08 2,507.00 kB 384,801.50 kB 09 24,592.50 kB 316,349.00 kB 10 4,352.00 kB 256,970.00 kB 11 279,069.00 kB 526,826.50 kB 12 24,679.50 kB 431,481.50 kB 13 619,693.00 kB 619,693.00 kB 14 22,106.33 kB 509,201.00 kB 15 5,077.50 kB 391,719.50 kB 16 4,627.50 kB 318,194.00 kB 17 4,632.50 kB 258,636.00 kB 18 543,281.00 kB 543,281.00 kB 19 17,458.33 kB 446,109.00 kB 20 3,971.00 kB 342,896.00 kB 21 3,676.50 kB 278,476.50 kB 22 3,630.50 kB 226,262.50 kB 23 4,536.00 kB 184,104.50 kB Feb 04 00 23,769.00 kB 153,746.50 kB 01 2,650.00 kB 125,030.50 kB 02 2,025.50 kB 101,664.50 kB 03 2,149.50 kB 82,751.00 kB 04 2,426.00 kB 67,467.00 kB 05 3,561.00 kB 55,227.00 kB 06 3,279.50 kB 45,432.50 kB 07 32,751.50 kB 59,694.50 kB 08 3,088.00 kB 48,926.50 kB 09 3,105.00 kB 40,267.50 kB 10 9,468.50 kB 34,371.00 kB 11 258,211.00 kB 487,239.00 kB 12 2,994.00 kB 415,912.00 kB 13 206,884.67 kB 498,807.33 kB 14 3,242.50 kB 385,062.00 kB 15 4,123.50 kB 312,618.00 kB 16 3,706.50 kB 253,987.50 kB 17 3,715.50 kB 206,413.50 kB 18 3,690.00 kB 167,911.00 kB 19 3,827.00 kB 143,725.00 kB 20 11,445.67 kB 119,573.33 kB 21 6,444.50 kB 92,897.50 kB 22 9,656.00 kB 80,589.00 kB 23 288,099.50 kB 533,737.00 kB Feb 05 00 28,644.67 kB 417,562.00 kB 01 3,345.00 kB 322,584.50 kB 02 1,979.00 kB 261,807.00 kB 03 1,370.50 kB 212,358.50 kB 04 2,966.50 kB 172,414.00 kB 05 251,866.00 kB 477,276.50 kB 06 2,080.50 kB 386,938.50 kB 07 2,249.00 kB 313,879.00 kB 08 1,927.00 kB 254,606.50 kB 09 1,637.00 kB 217,338.00 kB 10 18,770.33 kB 181,648.00 kB 11 1,770.50 kB 139,648.00 kB 12 1,706.00 kB 113,462.00 kB 13 1,498.00 kB 92,194.50 kB 14 229,804.50 kB 434,450.50 kB 15 2,016.00 kB 352,317.00 kB 16 1,182.00 kB 285,623.00 kB 17 1,801.00 kB 231,686.50 kB 18 2,975.50 kB 188,221.00 kB 19 1,841.00 kB 152,781.00 kB 20 1,424.50 kB 124,072.50 kB 21 1,589.00 kB 106,008.00 kB 22 278,811.00 kB 528,765.50 kB 23 215,970.33 kB 579,327.67 kB Feb 06 00 35,870.00 kB 471,364.00 kB 01 15,003.00 kB 405,831.50 kB 02 272,839.50 kB 516,494.00 kB 03 542,826.00 kB 542,826.00 kB 04 10,321.67 kB 449,238.67 kB 05 11,337.00 kB 364,105.00 kB 06 30,386.00 kB 316,999.00 kB 07 16,090.33 kB 247,820.67 kB 08 778.00 kB 190,913.50 kB 09 2,781.00 kB 155,183.50 kB 10 1,086.50 kB 125,902.00 kB 11 4,073.00 kB 102,472.50 kB 12 1,696.50 kB 83,579.50 kB 13 1,258.50 kB 67,963.00 kB 14 2,232.00 kB 55,364.00 kB 15 2,993.00 kB 47,658.00 kB 16 13,125.00 kB 43,147.00 kB 17 5,062.33 kB 34,591.67 kB 18 856.50 kB 26,752.50 kB 19 955.00 kB 22,945.00 kB 20 232,803.00 kB 605,499.00 kB 21 11,236.00 kB 467,164.50 kB 22 1,095.00 kB 398,499.00 kB 23 18,761.33 kB 328,407.67 kB Feb 07 00 196,518.00 kB 372,737.00 kB 01 6,600.50 kB 303,175.00 kB 02 842.50 kB 245,725.50 kB 03 1,523.00 kB 199,267.00 kB 04 1,226.50 kB 161,649.50 kB 05 285,765.50 kB 541,718.00 kB 06 1,607.00 kB 439,096.50 kB 07 1,716.00 kB 355,986.00 kB 08 2,545.50 kB 288,787.00 kB 09 9,062.00 kB 247,257.00 kB 10 11,294.33 kB 203,943.00 kB 11 2,618.00 kB 156,895.50 kB 12 2,889.00 kB 127,612.50 kB 13 2,587.50 kB 103,835.00 kB 14 2,187.00 kB 84,547.50 kB 15 3,005.50 kB 69,048.00 kB 16 2,949.00 kB 56,489.00 kB 17 2,374.00 kB 46,214.00 kB 18 2,165.50 kB 37,867.00 kB 19 2,869.00 kB 31,213.00 kB 20 2,749.00 kB 25,794.50 kB 21 3,801.00 kB 21,581.00 kB 22 2,773.00 kB 18,032.50 kB 23 3,371.00 kB 15,841.00 kB Feb 08 00 39,498.67 kB 80,032.33 kB 01 1,720.00 kB 62,576.00 kB 02 20,861.00 kB 55,516.00 kB 03 219,587.33 kB 555,715.67 kB 04 857.00 kB 427,521.00 kB 05 1,418.50 kB 346,515.00 kB 06 1,992.50 kB 281,040.50 kB 07 2,535.50 kB 228,119.50 kB 08 2,412.50 kB 185,250.50 kB 09 5,427.00 kB 151,152.50 kB 10 419.00 kB 122,526.00 kB 11 0.00 kB 0.00 kB 12 373.00 kB 104,526.00 kB 13 2,349.00 kB 89,719.50 kB 14 3,295.50 kB 73,318.50 kB 15 5,736.50 kB 60,447.50 kB 16 1,992.50 kB 49,360.50 kB 17 2,357.00 kB 40,428.00 kB 18 2,341.50 kB 33,167.50 kB 19 2,225.50 kB 27,301.00 kB 20 2,516.50 kB 22,590.50 kB 21 2,493.00 kB 18,765.00 kB 22 2,649.00 kB 15,697.50 kB 23 4,186.00 kB 13,515.00 kB -
Temporary Files
Size of temporary files
Key values
- 432.00 KiB Temp Files size Peak
- 2025-02-05 00:24:02 Date
Number of temporary files
Key values
- 6 per second Temp Files Peak
- 2025-02-02 00:23:53 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Feb 02 00 6 136.00 KiB 22.67 KiB 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 Feb 03 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 Feb 04 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 Feb 05 00 6 432.00 KiB 72.00 KiB 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 Feb 06 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 Feb 07 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 Feb 08 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Queries generating the most temporary files (N)
Rank Count Total size Min size Max size Avg size Query 1 12 568.00 KiB 16.00 KiB 120.00 KiB 47.33 KiB vacuum full analyze log_query;-
VACUUM FULL ANALYZE log_query;
Date: 2025-02-05 00:24:02 Duration: 0ms
Queries generating the largest temporary files
Rank Size Query 1 120.00 KiB VACUUM FULL ANALYZE log_query;[ Date: 2025-02-05 00:24:02 ]
2 96.00 KiB VACUUM FULL ANALYZE log_query;[ Date: 2025-02-05 00:24:02 ]
3 80.00 KiB VACUUM FULL ANALYZE log_query;[ Date: 2025-02-05 00:24:02 ]
4 64.00 KiB VACUUM FULL ANALYZE log_query;[ Date: 2025-02-05 00:24:02 ]
5 40.00 KiB VACUUM FULL ANALYZE log_query;[ Date: 2025-02-05 00:24:02 ]
6 32.00 KiB VACUUM FULL ANALYZE log_query;[ Date: 2025-02-02 00:23:53 ]
7 32.00 KiB VACUUM FULL ANALYZE log_query;[ Date: 2025-02-02 00:23:53 ]
8 32.00 KiB VACUUM FULL ANALYZE log_query;[ Date: 2025-02-05 00:24:02 ]
9 24.00 KiB VACUUM FULL ANALYZE log_query;[ Date: 2025-02-02 00:23:53 ]
10 16.00 KiB VACUUM FULL ANALYZE log_query;[ Date: 2025-02-02 00:23:53 ]
11 16.00 KiB VACUUM FULL ANALYZE log_query;[ Date: 2025-02-02 00:23:53 ]
12 16.00 KiB VACUUM FULL ANALYZE log_query;[ Date: 2025-02-02 00:23:53 ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 20.85 sec Highest CPU-cost vacuum
Table pub1.term_set_enrichment_agent
Database ctdprd51 - 2025-02-08 02:49:53 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 20.85 sec Highest CPU-cost vacuum
Table pub1.term_set_enrichment_agent
Database ctdprd51 - 2025-02-08 02:49:53 Date
Analyzes per table
Key values
- pubc.log_query (193) Main table analyzed (database ctdprd51)
- 226 analyzes Total
Vacuums per table
Key values
- pubc.log_query (63) Main table vacuumed on database ctdprd51
- 86 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 63 30 76,787 0 16,549 0 26,982 28,690 1,299 11,385,417 ctdprd51.pub1.term_set_enrichment_agent 7 0 861,332 0 295,768 0 0 409,998 23 24,372,836 ctdprd51.pub1.term_set_enrichment 6 0 14,287 0 5,087 0 0 6,786 12 485,808 ctdprd51.pg_toast.pg_toast_2619 4 4 14,709 0 4,496 0 39,994 12,208 3,897 1,990,658 ctdprd51.pub1.term_comp_agent 2 0 304 0 103 0 0 97 2 22,561 ctdprd51.load.ixn_prose 1 0 58,588 0 52,027 0 0 1 0 188 ctdprd51.pg_catalog.pg_statistic 1 1 769 0 216 0 108 583 183 697,444 ctdprd51.pg_toast.pg_toast_486223 1 0 30 0 4 0 0 2 1 8,444 ctdprd51.pub1.term_comp 1 0 141 0 25 0 0 21 2 15,478 Total 86 35 1,026,947 106,260 374,275 0 67,084 458,386 5,419 38,978,834 Tuples removed per table
Key values
- pubc.log_query (113430) Main table with removed tuples on database ctdprd51
- 129148 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pubc.log_query 63 30 113,430 1,063,163 80 0 69,094 ctdprd51.pg_toast.pg_toast_2619 4 4 15,190 73,178 0 0 50,368 ctdprd51.pg_catalog.pg_statistic 1 1 528 3,123 0 0 418 ctdprd51.load.ixn_prose 1 0 0 2,978,019 0 0 54,042 ctdprd51.pub1.term_comp_agent 2 0 0 27,829 0 0 242 ctdprd51.pg_toast.pg_toast_486223 1 0 0 4 0 0 1 ctdprd51.pub1.term_comp 1 0 0 2,129 0 0 20 ctdprd51.pub1.term_set_enrichment_agent 7 0 0 168,820,329 0 0 1,918,418 ctdprd51.pub1.term_set_enrichment 6 0 0 1,914,455 0 0 31,706 Total 86 35 129,148 174,882,229 80 0 2,124,309 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.load.ixn_prose 1 0 0 0 ctdprd51.pub1.term_comp_agent 2 0 0 0 ctdprd51.pg_catalog.pg_statistic 1 1 528 0 ctdprd51.pg_toast.pg_toast_2619 4 4 15190 0 ctdprd51.pg_toast.pg_toast_486223 1 0 0 0 ctdprd51.pub1.term_comp 1 0 0 0 ctdprd51.pubc.log_query 63 30 113430 0 ctdprd51.pub1.term_set_enrichment_agent 7 0 0 0 ctdprd51.pub1.term_set_enrichment 6 0 0 0 Total 86 35 129,148 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Feb 02 00 0 4 01 0 4 02 0 2 03 0 4 04 0 4 05 0 1 06 0 1 07 0 1 08 0 1 09 0 1 10 0 1 11 0 1 12 0 0 13 0 1 14 0 1 15 0 0 16 0 1 17 0 1 18 0 1 19 0 0 20 0 3 21 0 0 22 0 1 23 0 0 Feb 03 00 0 4 01 0 3 02 0 4 03 0 2 04 0 2 05 0 2 06 0 3 07 0 1 08 0 1 09 0 1 10 0 1 11 0 3 12 0 1 13 0 3 14 0 2 15 0 1 16 0 1 17 0 0 18 0 2 19 0 0 20 0 1 21 0 0 22 0 0 23 0 1 Feb 04 00 0 3 01 0 5 02 0 2 03 0 2 04 0 2 05 0 2 06 0 2 07 0 1 08 0 0 09 0 1 10 0 1 11 0 2 12 0 2 13 0 1 14 0 1 15 0 0 16 0 1 17 0 1 18 0 0 19 0 1 20 0 0 21 0 1 22 0 1 23 0 1 Feb 05 00 0 3 01 0 4 02 0 2 03 0 1 04 0 0 05 0 2 06 0 1 07 0 0 08 0 1 09 0 1 10 0 0 11 0 1 12 0 0 13 0 1 14 0 1 15 0 0 16 0 0 17 0 0 18 0 1 19 0 0 20 0 0 21 0 2 22 0 1 23 0 0 Feb 06 00 0 3 01 0 6 02 0 4 03 0 4 04 0 1 05 0 2 06 0 2 07 0 1 08 0 0 09 0 1 10 0 1 11 0 1 12 0 1 13 0 0 14 0 1 15 0 2 16 0 1 17 0 1 18 0 0 19 0 0 20 0 1 21 0 1 22 0 1 23 0 0 Feb 07 00 0 4 01 0 3 02 0 3 03 0 4 04 0 1 05 0 2 06 0 1 07 0 1 08 0 2 09 0 0 10 0 2 11 0 2 12 0 2 13 0 2 14 0 1 15 0 1 16 0 2 17 0 1 18 0 0 19 0 1 20 0 1 21 0 2 22 0 0 23 0 1 Feb 08 00 0 2 01 0 4 02 0 1 03 0 1 04 0 1 05 0 1 06 0 2 07 0 2 08 0 2 09 0 1 10 0 0 11 0 0 12 0 0 13 0 1 14 0 1 15 0 1 16 0 0 17 0 1 18 0 1 19 0 0 20 0 1 21 0 0 22 0 1 23 0 0 - 20.85 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
- 12,169 Total read queries
- 421 Total write queries
Queries by database
Key values
- unknown Main database
- 9,297 Requests
- 21h58m13s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 20,792 Requests
User Request type Count Duration load Total 8 21m6s ddl 2 15m26s select 6 5m40s postgres Total 108 55m50s copy to 108 55m50s pubc Total 3 4s810ms others 1 1s138ms select 2 3s672ms pubeu Total 7,262 12h53m10s cte 70 3m26s select 7,192 12h49m44s qaeu Total 83 3m12s cte 17 58s510ms select 66 2m14s unknown Total 20,792 2d39m35s copy to 700 6h42m33s cte 168 5m49s insert 2 4s582ms others 9 55s450ms select 19,913 1d17h50m12s Duration by user
Key values
- 2d39m35s (unknown) Main time consuming user
User Request type Count Duration load Total 8 21m6s ddl 2 15m26s select 6 5m40s postgres Total 108 55m50s copy to 108 55m50s pubc Total 3 4s810ms others 1 1s138ms select 2 3s672ms pubeu Total 7,262 12h53m10s cte 70 3m26s select 7,192 12h49m44s qaeu Total 83 3m12s cte 17 58s510ms select 66 2m14s unknown Total 20,792 2d39m35s copy to 700 6h42m33s cte 168 5m49s insert 2 4s582ms others 9 55s450ms select 19,913 1d17h50m12s Queries by host
Key values
- unknown Main host
- 28,256 Requests
- 2d14h53m (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 12,546 Requests
- 1d3h9s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2025-02-07 00:53:21 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 12,609 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 7h44m30s SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'HEART DISEASES' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0)))) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2025-02-04 15:16:57 - Bind query: yes ]
2 24m21s 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: 2025-02-08 19:01:24 ]
3 24m11s 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: 2025-02-08 19:43:48 ]
4 24m1s /* * 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: 2025-02-05 00:24:02 ]
5 23m59s /* * 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: 2025-02-04 00:24:01 ]
6 23m54s /* * 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: 2025-02-08 00:23:56 ]
7 23m53s /* * 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: 2025-02-06 00:23:55 ]
8 23m52s /* * 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: 2025-02-07 00:23:54 ]
9 23m52s /* * 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: 2025-02-02 00:23:53 ]
10 23m46s /* * 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: 2025-02-03 00:23:48 ]
11 17m55s 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 = '1245892') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-02-03 11:53:01 - Bind query: yes ]
12 17m51s 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 = '1245892') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-02-06 06:00:38 - Bind query: yes ]
13 17m49s 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 = '1245892') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-02-04 04:43:26 - Bind query: yes ]
14 17m19s 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 = '2082608') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2025-02-08 10:01:47 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
15 17m8s 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 = '2082608') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2025-02-08 10:01:54 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
16 11m30s 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 = '1244848') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-02-04 10:58:07 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
17 7m58s 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 = '2082608') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2025-02-08 10:09:52 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
18 7m43s drop table load.ixn_prose; create table load.ixn_prose as select edit.get_ixn_prose (ri.ixn_id) as ixn_prose_txt, ri.reference_acc_txt, ri.taxon_acc_txt, ri.mod_tm, t.nm from edit.reference_ixn ri, edit.ixn i, edit.ixn_type t where ri.ixn_id = i.id and i.ixn_type_id = t.id;[ Date: 2025-02-04 11:08:32 - Database: ctdprd51 - User: load - Application: pgAdmin 4 - CONN:6812968 ]
19 7m18s 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 = '2082608') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2025-02-08 10:09:11 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
20 7m18s 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 = '2082608') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2025-02-08 10:09:05 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 7h44m30s 1 7h44m30s 7h44m30s 7h44m30s select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in ( select gcr.gene_id from gene_chem_reference gcr where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ? and gd.curated_reference_qty > ?)))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Feb 04 15 1 7h44m30s 7h44m30s -
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'HEART DISEASES' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0)))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2025-02-04 15:16:57 Duration: 7h44m30s Bind query: yes
2 4h54m5s 223 1s413ms 17m55s 1m19s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Feb 02 00 1 1s644ms 1s644ms 01 3 10m22s 3m27s 02 2 5s284ms 2s642ms 03 2 3m36s 1m48s 04 2 3s266ms 1s633ms 05 1 3m31s 3m31s 06 2 5m26s 2m43s 07 2 6s658ms 3s329ms 08 2 4m1s 2m 09 3 6s789ms 2s263ms 10 4 4m49s 1m12s 11 1 1s619ms 1s619ms 12 3 4m10s 1m23s 13 2 3s375ms 1s687ms 14 1 1s665ms 1s665ms 15 1 1s519ms 1s519ms 16 1 1s758ms 1s758ms 17 2 1m18s 39s93ms 19 1 1s498ms 1s498ms Feb 03 00 3 5s256ms 1s752ms 03 2 5s69ms 2s534ms 04 4 3m50s 57s722ms 06 1 2s124ms 2s124ms 07 2 2m16s 1m8s 08 4 6m19s 1m34s 10 1 2s171ms 2s171ms 11 3 23m10s 7m43s 13 5 8m13s 1m38s 14 4 9s554ms 2s388ms 15 1 2m7s 2m7s 16 1 3s353ms 3s353ms 17 1 5m35s 5m35s 18 3 7s467ms 2s489ms 19 1 2s497ms 2s497ms 20 2 5s75ms 2s537ms 21 1 1s572ms 1s572ms Feb 04 00 5 9m 1m48s 01 4 5m29s 1m22s 02 1 3s361ms 3s361ms 03 4 5m45s 1m26s 04 1 17m49s 17m49s 05 3 1m52s 37s347ms 06 3 1m25s 28s449ms 07 2 3m4s 1m32s 08 2 3m18s 1m39s 09 2 3s357ms 1s678ms 10 3 11m34s 3m51s 11 1 1s499ms 1s499ms 14 2 4m44s 2m22s 15 1 1s529ms 1s529ms 16 1 2s37ms 2s37ms 17 1 3s270ms 3s270ms 18 5 4m14s 50s924ms 19 5 7m43s 1m32s 20 3 2m57s 59s223ms 21 1 3s268ms 3s268ms 22 1 3s304ms 3s304ms 23 1 5m17s 5m17s Feb 05 00 2 4s6ms 2s3ms 01 2 8m9s 4m4s 02 3 6s302ms 2s100ms 03 3 5s824ms 1s941ms 04 3 7m44s 2m34s 05 1 2s438ms 2s438ms 06 2 4s819ms 2s409ms 09 1 3s274ms 3s274ms 10 1 2s14ms 2s14ms 11 1 3m15s 3m15s 12 1 3s204ms 3s204ms 13 3 4m28s 1m29s 14 2 5s379ms 2s689ms 15 2 5m11s 2m35s 16 3 6s212ms 2s70ms 17 2 3s187ms 1s593ms 19 2 3s329ms 1s664ms 20 3 2m11s 43s987ms 22 2 4m48s 2m24s Feb 06 01 1 1s532ms 1s532ms 03 3 7s354ms 2s451ms 04 3 7m31s 2m30s 06 2 17m55s 8m57s 08 3 9m26s 3m8s 09 2 5m19s 2m39s 10 1 1s530ms 1s530ms 12 2 49s49ms 24s524ms 13 1 1s831ms 1s831ms 14 1 2s383ms 2s383ms 18 1 3s295ms 3s295ms 20 1 1s629ms 1s629ms 22 2 3s306ms 1s653ms 23 1 6m2s 6m2s Feb 07 03 2 4s971ms 2s485ms 04 1 3m45s 3m45s 05 1 1s453ms 1s453ms 06 1 3s358ms 3s358ms 10 1 1s608ms 1s608ms 11 3 6s256ms 2s85ms 12 1 4m23s 4m23s 13 1 1s472ms 1s472ms 15 2 4m41s 2m20s 20 1 1s961ms 1s961ms 23 2 4m16s 2m8s Feb 08 02 3 6s326ms 2s108ms 03 1 3m33s 3m33s 04 1 2s364ms 2s364ms 05 2 4s913ms 2s456ms 06 1 4m38s 4m38s 07 1 5m20s 5m20s 08 1 1s529ms 1s529ms 10 1 1s658ms 1s658ms 14 1 3m40s 3m40s 16 1 1s413ms 1s413ms 17 1 2s29ms 2s29ms 20 1 2s418ms 2s418ms 21 1 1s448ms 1s448ms 23 1 3s439ms 3s439ms [ User: pubeu - Total duration: 1h22m18s - Times executed: 60 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1245892') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-02-03 11:53:01 Duration: 17m55s 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 = '1245892') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-02-06 06:00:38 Duration: 17m51s 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 = '1245892') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-02-04 04:43:26 Duration: 17m49s Bind query: yes
3 2h47m19s 7 23m46s 24m1s 23m54s select maint_query_logs_archive ();Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Feb 02 00 1 23m52s 23m52s Feb 03 00 1 23m46s 23m46s Feb 04 00 1 23m59s 23m59s Feb 05 00 1 24m1s 24m1s Feb 06 00 1 23m53s 23m53s Feb 07 00 1 23m52s 23m52s Feb 08 00 1 23m54s 23m54s -
/* * 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: 2025-02-05 00:24:02 Duration: 24m1s
-
/* * 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: 2025-02-04 00:24:01 Duration: 23m59s
-
/* * 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: 2025-02-08 00:23:56 Duration: 23m54s
4 1h43m8s 1,977 1s17ms 6s945ms 3s130ms 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 #4
Day Hour Count Duration Avg duration Feb 02 00 28 1m31s 3s256ms 01 28 1m25s 3s70ms 02 20 1m11s 3s571ms 03 14 44s961ms 3s211ms 04 25 1m27s 3s514ms 05 20 1m7s 3s379ms 06 15 46s510ms 3s100ms 07 16 36s927ms 2s307ms 08 29 1m29s 3s72ms 09 27 1m23s 3s78ms 10 28 1m17s 2s766ms 11 25 1m16s 3s49ms 12 23 1m13s 3s192ms 13 12 40s784ms 3s398ms 14 9 22s759ms 2s528ms 15 16 49s974ms 3s123ms 16 11 37s216ms 3s383ms 17 13 37s615ms 2s893ms 18 16 42s372ms 2s648ms 19 5 22s266ms 4s453ms 20 16 52s439ms 3s277ms 21 11 38s762ms 3s523ms 22 14 37s565ms 2s683ms 23 10 32s133ms 3s213ms Feb 03 00 18 47s559ms 2s642ms 01 27 1m34s 3s500ms 02 19 1m1s 3s216ms 03 10 26s237ms 2s623ms 04 11 34s596ms 3s145ms 05 17 50s176ms 2s951ms 06 18 58s14ms 3s223ms 07 15 34s436ms 2s295ms 08 15 44s224ms 2s948ms 09 18 58s280ms 3s237ms 10 18 1m8s 3s803ms 11 13 36s807ms 2s831ms 12 17 58s547ms 3s443ms 13 15 50s290ms 3s352ms 14 18 49s249ms 2s736ms 15 16 55s836ms 3s489ms 16 20 1m6s 3s309ms 17 10 34s152ms 3s415ms 18 12 28s616ms 2s384ms 19 19 1m5s 3s467ms 20 21 53s66ms 2s526ms 21 13 37s587ms 2s891ms 22 20 1m3s 3s185ms 23 16 46s257ms 2s891ms Feb 04 00 13 32s294ms 2s484ms 01 17 55s703ms 3s276ms 02 15 50s356ms 3s357ms 03 17 46s652ms 2s744ms 04 17 55s558ms 3s268ms 05 21 1m9s 3s292ms 06 11 29s920ms 2s720ms 07 16 48s968ms 3s60ms 08 12 36s2ms 3s 09 9 34s632ms 3s848ms 10 16 54s825ms 3s426ms 11 9 31s290ms 3s476ms 12 14 44s247ms 3s160ms 13 22 1m6s 3s12ms 14 21 1m23s 3s965ms 15 12 34s825ms 2s902ms 16 19 58s459ms 3s76ms 17 22 1m22s 3s768ms 18 21 1m3s 3s10ms 19 13 49s643ms 3s818ms 20 17 47s564ms 2s797ms 21 18 46s509ms 2s583ms 22 9 28s799ms 3s199ms 23 20 1m10s 3s531ms Feb 05 00 17 56s785ms 3s340ms 01 10 34s19ms 3s401ms 02 16 53s433ms 3s339ms 03 14 47s836ms 3s416ms 04 20 48s235ms 2s411ms 05 13 41s154ms 3s165ms 06 15 38s887ms 2s592ms 07 13 44s127ms 3s394ms 08 10 20s968ms 2s96ms 09 16 1m2s 3s879ms 10 13 34s490ms 2s653ms 11 15 43s59ms 2s870ms 12 16 43s989ms 2s749ms 13 14 45s763ms 3s268ms 14 20 49s313ms 2s465ms 15 11 38s296ms 3s481ms 16 14 53s103ms 3s793ms 17 18 53s304ms 2s961ms 18 11 28s940ms 2s630ms 19 21 57s985ms 2s761ms 20 13 38s306ms 2s946ms 21 11 37s497ms 3s408ms 22 7 23s185ms 3s312ms 23 5 14s782ms 2s956ms Feb 06 00 13 41s576ms 3s198ms 01 11 35s938ms 3s267ms 02 13 41s640ms 3s203ms 03 4 10s895ms 2s723ms 04 11 35s801ms 3s254ms 05 2 8s762ms 4s381ms 06 1 3s308ms 3s308ms 07 6 19s483ms 3s247ms 08 6 13s670ms 2s278ms 09 6 10s636ms 1s772ms 10 9 29s211ms 3s245ms 11 7 21s397ms 3s56ms 12 5 18s223ms 3s644ms 13 6 18s371ms 3s61ms 14 6 20s636ms 3s439ms 15 12 37s296ms 3s108ms 16 3 11s818ms 3s939ms 17 5 19s554ms 3s910ms 18 4 9s39ms 2s259ms 19 2 7s979ms 3s989ms 20 14 54s998ms 3s928ms 21 6 17s120ms 2s853ms 22 6 16s402ms 2s733ms 23 8 22s951ms 2s868ms Feb 07 00 5 17s445ms 3s489ms 01 6 12s395ms 2s65ms 02 12 48s392ms 4s32ms 03 12 44s40ms 3s670ms 04 11 35s90ms 3s190ms 05 4 7s682ms 1s920ms 06 5 16s175ms 3s235ms 07 5 19s334ms 3s866ms 08 6 17s282ms 2s880ms 09 9 23s692ms 2s632ms 10 7 24s648ms 3s521ms 11 9 27s358ms 3s39ms 12 6 23s592ms 3s932ms 13 2 8s228ms 4s114ms 14 6 19s12ms 3s168ms 15 6 19s770ms 3s295ms 16 4 10s169ms 2s542ms 17 5 17s545ms 3s509ms 18 5 16s276ms 3s255ms 19 9 35s910ms 3s990ms 20 4 12s914ms 3s228ms 21 7 18s985ms 2s712ms 22 6 16s105ms 2s684ms 23 2 3s776ms 1s888ms Feb 08 00 4 13s181ms 3s295ms 01 4 12s852ms 3s213ms 02 4 17s276ms 4s319ms 03 9 26s918ms 2s990ms 04 4 11s807ms 2s951ms 05 10 27s897ms 2s789ms 06 4 8s690ms 2s172ms 07 7 23s626ms 3s375ms 08 6 24s164ms 4s27ms 09 3 6s840ms 2s280ms 10 1 6s945ms 6s945ms 13 7 19s69ms 2s724ms 14 6 22s217ms 3s702ms 15 6 23s708ms 3s951ms 16 8 19s740ms 2s467ms 17 3 9s535ms 3s178ms 18 7 18s297ms 2s613ms 19 5 18s847ms 3s769ms 20 7 17s662ms 2s523ms 21 3 7s690ms 2s563ms 22 4 15s586ms 3s896ms 23 5 12s803ms 2s560ms [ User: pubeu - Total duration: 28m32s - Times executed: 537 ]
-
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 = '1399342'))) 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: 2025-02-08 10:02:00 Duration: 6s945ms 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 = '1399342'))) 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: 2025-02-03 21:43:02 Duration: 6s847ms 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 = '1399342'))) 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: 2025-02-04 21:27:17 Duration: 6s833ms Bind query: yes
5 1h39m30s 177 1s59ms 17m19s 33s732ms 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 #5
Day Hour Count Duration Avg duration Feb 02 04 2 6s783ms 3s391ms 10 1 12s25ms 12s25ms 15 1 3s339ms 3s339ms Feb 03 04 1 1s327ms 1s327ms 07 1 1s833ms 1s833ms 14 1 1s73ms 1s73ms 15 2 2s228ms 1s114ms Feb 04 00 1 7s369ms 7s369ms 02 1 14s138ms 14s138ms 07 3 2m21s 47s186ms 08 4 2m36s 39s205ms 16 1 1s555ms 1s555ms 18 1 1s410ms 1s410ms 20 6 3m51s 38s627ms 21 3 2m13s 44s386ms 23 2 5s112ms 2s556ms Feb 05 00 1 9s425ms 9s425ms 01 7 19s569ms 2s795ms 02 2 3s214ms 1s607ms 03 11 17s776ms 1s616ms 05 1 9s628ms 9s628ms 07 1 5s690ms 5s690ms 08 1 1s206ms 1s206ms 13 2 5s815ms 2s907ms 18 1 5s604ms 5s604ms 22 1 1s585ms 1s585ms Feb 06 01 2 2s517ms 1s258ms 02 4 4s318ms 1s79ms 06 1 16s409ms 16s409ms 07 1 1s379ms 1s379ms 11 2 5s365ms 2s682ms 21 4 30s485ms 7s621ms 22 3 24s85ms 8s28ms Feb 07 07 1 1s774ms 1s774ms 16 1 7s747ms 7s747ms Feb 08 02 1 1s59ms 1s59ms 03 4 15s230ms 3s807ms 04 2 21s19ms 10s509ms 09 30 5m8s 10s267ms 10 15 1h12m13s 4m48s 15 2 11s485ms 5s742ms 16 1 9s613ms 9s613ms 22 41 5m54s 8s634ms 23 3 21s969ms 7s323ms [ User: pubeu - Total duration: 1h25m51s - Times executed: 94 ]
-
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 = '2082608') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-02-08 10:01:47 Duration: 17m19s 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 = '2082608') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-02-08 10:01:54 Duration: 17m8s 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 = '2082608') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-02-08 10:09:52 Duration: 7m58s Database: ctdprd51 User: pubeu Bind query: yes
6 1h15m6s 1,728 1s 4s987ms 2s607ms 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 #6
Day Hour Count Duration Avg duration Feb 02 00 24 1m5s 2s725ms 01 16 35s942ms 2s246ms 02 20 52s18ms 2s600ms 03 33 1m21s 2s482ms 04 14 29s664ms 2s118ms 05 22 1m 2s764ms 06 20 44s815ms 2s240ms 07 14 33s352ms 2s382ms 08 29 1m20s 2s765ms 09 21 58s648ms 2s792ms 10 15 42s602ms 2s840ms 11 25 1m4s 2s599ms 12 11 34s955ms 3s177ms 13 16 43s225ms 2s701ms 14 13 35s263ms 2s712ms 15 9 24s550ms 2s727ms 16 17 59s949ms 3s526ms 17 7 20s150ms 2s878ms 18 27 1m9s 2s587ms 19 11 28s161ms 2s560ms 20 14 35s75ms 2s505ms 21 14 47s832ms 3s416ms 22 11 31s521ms 2s865ms 23 13 27s182ms 2s90ms Feb 03 00 14 31s886ms 2s277ms 01 11 33s469ms 3s42ms 02 13 35s492ms 2s730ms 03 11 27s699ms 2s518ms 04 11 30s27ms 2s729ms 05 8 19s569ms 2s446ms 06 12 37s987ms 3s165ms 07 14 37s126ms 2s651ms 08 9 20s941ms 2s326ms 09 8 22s705ms 2s838ms 10 16 49s153ms 3s72ms 11 11 32s981ms 2s998ms 12 10 29s425ms 2s942ms 13 8 16s533ms 2s66ms 14 9 23s965ms 2s662ms 15 11 30s344ms 2s758ms 16 12 46s967ms 3s913ms 17 7 15s65ms 2s152ms 18 21 49s563ms 2s360ms 19 10 26s430ms 2s643ms 20 32 1m9s 2s183ms 21 17 42s986ms 2s528ms 22 11 26s215ms 2s383ms 23 14 34s394ms 2s456ms Feb 04 00 21 1m1s 2s941ms 01 10 21s896ms 2s189ms 02 11 25s460ms 2s314ms 03 13 38s913ms 2s993ms 04 13 33s640ms 2s587ms 05 17 32s560ms 1s915ms 06 11 29s291ms 2s662ms 07 12 35s941ms 2s995ms 08 10 23s957ms 2s395ms 09 7 12s457ms 1s779ms 10 15 34s857ms 2s323ms 11 9 29s768ms 3s307ms 12 7 19s820ms 2s831ms 13 14 29s779ms 2s127ms 14 9 20s523ms 2s280ms 15 16 45s612ms 2s850ms 16 23 59s432ms 2s584ms 17 18 49s310ms 2s739ms 18 11 36s689ms 3s335ms 19 21 1m 2s862ms 20 22 44s455ms 2s20ms 21 10 39s154ms 3s915ms 22 14 34s431ms 2s459ms 23 16 36s123ms 2s257ms Feb 05 00 12 32s91ms 2s674ms 01 14 42s226ms 3s16ms 02 14 30s594ms 2s185ms 03 17 45s185ms 2s657ms 04 12 32s19ms 2s668ms 05 15 38s839ms 2s589ms 06 6 15s837ms 2s639ms 07 16 37s716ms 2s357ms 08 6 16s812ms 2s802ms 09 9 26s985ms 2s998ms 10 7 13s765ms 1s966ms 11 24 1m9s 2s893ms 12 16 41s271ms 2s579ms 13 14 32s542ms 2s324ms 14 13 34s684ms 2s668ms 15 13 31s816ms 2s447ms 16 18 55s560ms 3s86ms 17 15 43s87ms 2s872ms 18 16 46s627ms 2s914ms 19 19 54s976ms 2s893ms 20 18 40s2ms 2s222ms 21 6 16s868ms 2s811ms 22 6 13s199ms 2s199ms 23 3 3s704ms 1s234ms Feb 06 00 3 9s957ms 3s319ms 01 3 8s610ms 2s870ms 02 5 15s116ms 3s23ms 03 6 15s362ms 2s560ms 04 5 13s897ms 2s779ms 05 7 17s597ms 2s513ms 06 3 9s288ms 3s96ms 07 1 2s555ms 2s555ms 08 1 2s301ms 2s301ms 09 5 10s334ms 2s66ms 10 5 13s14ms 2s602ms 11 6 16s528ms 2s754ms 12 4 9s155ms 2s288ms 13 7 15s131ms 2s161ms 14 8 19s670ms 2s458ms 15 6 16s460ms 2s743ms 16 6 11s821ms 1s970ms 17 7 18s254ms 2s607ms 18 4 12s731ms 3s182ms 19 6 16s871ms 2s811ms 20 20 52s16ms 2s600ms 21 8 21s614ms 2s701ms 22 6 11s636ms 1s939ms 23 7 24s188ms 3s455ms Feb 07 00 2 4s206ms 2s103ms 01 4 8s631ms 2s157ms 02 7 13s601ms 1s943ms 03 7 19s801ms 2s828ms 04 8 23s517ms 2s939ms 05 5 13s326ms 2s665ms 06 7 16s288ms 2s326ms 07 2 4s754ms 2s377ms 08 1 4s442ms 4s442ms 09 4 13s126ms 3s281ms 10 9 26s747ms 2s971ms 11 5 13s783ms 2s756ms 12 4 7s847ms 1s961ms 13 4 9s212ms 2s303ms 14 4 12s81ms 3s20ms 15 7 20s751ms 2s964ms 16 6 15s975ms 2s662ms 17 5 12s907ms 2s581ms 18 5 11s177ms 2s235ms 19 8 19s446ms 2s430ms 20 2 2s298ms 1s149ms 21 8 25s199ms 3s149ms 22 10 28s750ms 2s875ms 23 1 2s239ms 2s239ms Feb 08 00 3 4s293ms 1s431ms 01 9 22s196ms 2s466ms 02 4 9s237ms 2s309ms 03 7 13s917ms 1s988ms 04 3 3s377ms 1s125ms 05 17 40s11ms 2s353ms 06 8 20s282ms 2s535ms 07 2 5s593ms 2s796ms 08 4 9s82ms 2s270ms 09 4 5s138ms 1s284ms 12 1 4s328ms 4s328ms 13 3 7s692ms 2s564ms 14 6 14s782ms 2s463ms 15 6 13s200ms 2s200ms 16 6 11s638ms 1s939ms 17 3 8s205ms 2s735ms 18 7 14s411ms 2s58ms 19 6 12s791ms 2s131ms 20 1 1s213ms 1s213ms 21 3 6s732ms 2s244ms 22 1 1s302ms 1s302ms 23 5 11s639ms 2s327ms [ User: pubeu - Total duration: 18m4s - Times executed: 433 ]
-
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 = '1399342') 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 = '1399342') 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: 2025-02-04 18:00:02 Duration: 4s987ms 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 = '1399342') 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 = '1399342') 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: 2025-02-02 05:42:57 Duration: 4s824ms 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 = '1399342') 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 = '1399342') 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: 2025-02-05 18:47:40 Duration: 4s820ms Bind query: yes
7 58m10s 2,973 1s81ms 1s736ms 1s174ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where exposuremarkerterm.id = ? or receptorterm.id = ? group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Feb 02 00 20 24s630ms 1s231ms 01 20 24s773ms 1s238ms 02 18 21s737ms 1s207ms 03 19 24s175ms 1s272ms 04 21 25s230ms 1s201ms 05 18 22s217ms 1s234ms 06 12 14s656ms 1s221ms 07 8 9s582ms 1s197ms 08 22 26s237ms 1s192ms 09 15 17s834ms 1s188ms 10 11 13s311ms 1s210ms 11 13 15s265ms 1s174ms 12 22 26s172ms 1s189ms 13 17 20s143ms 1s184ms 14 21 24s600ms 1s171ms 15 22 25s817ms 1s173ms 16 19 22s230ms 1s170ms 17 28 32s725ms 1s168ms 18 25 28s830ms 1s153ms 19 7 8s149ms 1s164ms 20 17 19s720ms 1s160ms 21 12 13s894ms 1s157ms 22 8 9s636ms 1s204ms 23 33 39s444ms 1s195ms Feb 03 00 10 12s116ms 1s211ms 01 18 21s701ms 1s205ms 02 23 27s637ms 1s201ms 03 13 15s697ms 1s207ms 04 14 16s805ms 1s200ms 05 13 15s921ms 1s224ms 06 11 13s241ms 1s203ms 07 13 15s625ms 1s201ms 08 12 14s328ms 1s194ms 09 24 29s17ms 1s209ms 10 16 18s636ms 1s164ms 11 9 10s424ms 1s158ms 12 16 19s253ms 1s203ms 13 14 16s879ms 1s205ms 14 17 19s744ms 1s161ms 15 24 28s87ms 1s170ms 16 11 12s722ms 1s156ms 17 12 13s878ms 1s156ms 18 12 13s850ms 1s154ms 19 15 17s545ms 1s169ms 20 31 36s180ms 1s167ms 21 14 16s283ms 1s163ms 22 17 20s668ms 1s215ms 23 24 28s701ms 1s195ms Feb 04 00 26 31s339ms 1s205ms 01 22 26s541ms 1s206ms 02 17 20s468ms 1s204ms 03 6 7s133ms 1s188ms 04 17 20s408ms 1s200ms 05 19 23s6ms 1s210ms 06 14 16s564ms 1s183ms 07 24 28s425ms 1s184ms 08 12 14s618ms 1s218ms 09 13 15s755ms 1s211ms 10 16 18s908ms 1s181ms 11 30 35s273ms 1s175ms 12 23 27s306ms 1s187ms 13 10 11s836ms 1s183ms 14 10 11s669ms 1s166ms 15 22 25s280ms 1s149ms 16 5 5s860ms 1s172ms 17 20 22s776ms 1s138ms 18 22 25s230ms 1s146ms 19 27 31s3ms 1s148ms 20 16 18s751ms 1s171ms 21 34 39s440ms 1s160ms 22 18 21s415ms 1s189ms 23 19 22s503ms 1s184ms Feb 05 00 11 12s903ms 1s173ms 01 14 16s607ms 1s186ms 02 12 14s160ms 1s180ms 03 12 14s119ms 1s176ms 04 14 16s498ms 1s178ms 05 26 30s782ms 1s183ms 06 20 23s502ms 1s175ms 07 12 13s971ms 1s164ms 08 30 35s227ms 1s174ms 09 18 21s23ms 1s167ms 10 16 18s526ms 1s157ms 11 17 19s581ms 1s151ms 12 19 21s889ms 1s152ms 13 23 26s596ms 1s156ms 14 11 12s589ms 1s144ms 15 9 10s472ms 1s163ms 16 15 17s374ms 1s158ms 17 14 16s214ms 1s158ms 18 19 21s719ms 1s143ms 19 14 16s39ms 1s145ms 20 9 10s309ms 1s145ms 21 20 22s998ms 1s149ms 22 28 33s111ms 1s182ms 23 10 11s836ms 1s183ms Feb 06 00 20 23s662ms 1s183ms 01 16 18s785ms 1s174ms 02 13 14s974ms 1s151ms 03 15 17s701ms 1s180ms 04 13 15s514ms 1s193ms 05 13 15s662ms 1s204ms 06 8 9s257ms 1s157ms 07 10 11s444ms 1s144ms 08 7 8s41ms 1s148ms 09 8 9s261ms 1s157ms 10 29 33s793ms 1s165ms 11 33 37s538ms 1s137ms 12 13 15s24ms 1s155ms 13 17 19s465ms 1s145ms 14 29 33s495ms 1s155ms 15 4 4s550ms 1s137ms 16 11 12s597ms 1s145ms 17 23 26s490ms 1s151ms 18 21 24s38ms 1s144ms 19 22 25s265ms 1s148ms 20 13 14s909ms 1s146ms 21 14 16s102ms 1s150ms 22 31 36s584ms 1s180ms 23 22 25s998ms 1s181ms Feb 07 00 13 15s422ms 1s186ms 01 18 21s28ms 1s168ms 02 22 25s573ms 1s162ms 03 31 35s996ms 1s161ms 04 18 21s63ms 1s170ms 05 20 23s937ms 1s196ms 06 11 12s739ms 1s158ms 07 9 10s452ms 1s161ms 08 18 20s779ms 1s154ms 09 9 10s354ms 1s150ms 10 15 17s245ms 1s149ms 11 1 1s161ms 1s161ms 12 9 10s494ms 1s166ms 13 10 11s486ms 1s148ms 14 15 17s431ms 1s162ms 15 15 17s367ms 1s157ms 16 13 15s137ms 1s164ms 17 19 21s922ms 1s153ms 18 10 11s595ms 1s159ms 19 22 25s402ms 1s154ms 20 36 41s583ms 1s155ms 21 30 34s473ms 1s149ms 22 18 21s5ms 1s166ms 23 29 33s830ms 1s166ms Feb 08 00 14 16s838ms 1s202ms 01 31 35s829ms 1s155ms 02 23 26s813ms 1s165ms 03 24 27s837ms 1s159ms 04 11 12s619ms 1s147ms 05 23 27s113ms 1s178ms 06 24 28s31ms 1s167ms 07 13 15s97ms 1s161ms 08 18 21s22ms 1s167ms 09 5 6s50ms 1s210ms 10 2 2s708ms 1s354ms 12 1 1s234ms 1s234ms 13 23 26s292ms 1s143ms 14 16 18s338ms 1s146ms 15 26 30s 1s153ms 16 58 1m6s 1s151ms 17 29 33s409ms 1s152ms 18 24 27s723ms 1s155ms 19 30 35s433ms 1s181ms 20 24 28s517ms 1s188ms 21 43 51s106ms 1s188ms 22 23 27s711ms 1s204ms 23 26 31s131ms 1s197ms [ User: pubeu - Total duration: 15m13s - Times executed: 777 ]
-
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 = '1458212' or receptorTerm.id = '1458212' 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: 2025-02-02 03:12:09 Duration: 1s736ms 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 = '1612108' or receptorTerm.id = '1612108' 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: 2025-02-08 09:32:18 Duration: 1s453ms 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 = '1542320' or receptorTerm.id = '1542320' 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: 2025-02-08 19:16:13 Duration: 1s442ms Bind query: yes
8 24m21s 1 24m21s 24m21s 24m21s 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 Feb 08 19 1 24m21s 24m21s -
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: 2025-02-08 19:01:24 Duration: 24m21s
9 24m11s 1 24m11s 24m11s 24m11s 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 Feb 08 19 1 24m11s 24m11s -
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: 2025-02-08 19:43:48 Duration: 24m11s
10 23m55s 214 1s12ms 24s50ms 6s708ms select sq.*, count(*) over () fullrowcount from ( select distinct gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid from dag_node gt inner join gene_go_annot gga on gt.object_id = gga.go_term_id inner join term g on gga.gene_id = g.id where gt.id in ( select p.descendant_dag_node_id from dag_path p where p.ancestor_object_id = ?) and gga.is_not = false) sq order by sq.gonmsort, sq.genesymbolsort limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Feb 02 00 3 6s32ms 2s10ms 01 2 4s549ms 2s274ms 02 4 6s131ms 1s532ms 04 2 12s511ms 6s255ms 08 4 15s681ms 3s920ms 11 2 2s858ms 1s429ms 12 1 5s226ms 5s226ms 13 1 3s370ms 3s370ms 14 1 1s300ms 1s300ms 16 1 1s743ms 1s743ms 17 1 1s834ms 1s834ms 18 3 11s264ms 3s754ms 19 2 2s768ms 1s384ms 21 1 22s200ms 22s200ms 22 2 20s817ms 10s408ms 23 1 1s550ms 1s550ms Feb 03 00 3 35s892ms 11s964ms 02 3 26s496ms 8s832ms 03 2 21s307ms 10s653ms 04 1 1s12ms 1s12ms 05 2 12s942ms 6s471ms 06 3 29s777ms 9s925ms 07 1 21s949ms 21s949ms 08 1 1s603ms 1s603ms 09 4 46s904ms 11s726ms 10 5 17s821ms 3s564ms 12 1 17s993ms 17s993ms 14 1 2s226ms 2s226ms 15 4 29s882ms 7s470ms 18 1 3s934ms 3s934ms 21 3 11s664ms 3s888ms 23 3 25s524ms 8s508ms Feb 04 00 2 2s549ms 1s274ms 02 2 4s578ms 2s289ms 03 1 1s664ms 1s664ms 04 3 35s895ms 11s965ms 06 3 9s441ms 3s147ms 07 1 4s18ms 4s18ms 08 2 24s701ms 12s350ms 10 3 28s209ms 9s403ms 12 5 26s563ms 5s312ms 13 2 24s951ms 12s475ms 14 1 1s801ms 1s801ms 15 3 26s304ms 8s768ms 16 3 13s437ms 4s479ms 17 2 38s962ms 19s481ms 18 1 1s82ms 1s82ms 19 2 26s125ms 13s62ms 20 2 39s45ms 19s522ms 21 2 2s684ms 1s342ms 22 1 3s461ms 3s461ms 23 2 23s352ms 11s676ms Feb 05 00 2 4s508ms 2s254ms 01 2 23s436ms 11s718ms 02 2 11s972ms 5s986ms 03 5 23s14ms 4s602ms 04 2 18s689ms 9s344ms 05 4 40s694ms 10s173ms 06 3 41s732ms 13s910ms 07 5 48s527ms 9s705ms 08 1 1s345ms 1s345ms 09 1 1s260ms 1s260ms 10 1 3s370ms 3s370ms 11 3 26s685ms 8s895ms 13 1 2s70ms 2s70ms 14 2 2s836ms 1s418ms 16 1 1s356ms 1s356ms 17 1 1s34ms 1s34ms 18 1 3s455ms 3s455ms 19 1 1s266ms 1s266ms 20 1 1s989ms 1s989ms 21 1 1s508ms 1s508ms Feb 06 00 2 4s351ms 2s175ms 01 1 3s53ms 3s53ms 02 2 34s856ms 17s428ms 03 2 8s686ms 4s343ms 05 1 1s438ms 1s438ms 11 1 7s378ms 7s378ms 13 2 22s625ms 11s312ms 14 2 7s681ms 3s840ms 16 2 2s981ms 1s490ms 20 3 8s374ms 2s791ms 22 1 17s594ms 17s594ms 23 1 21s437ms 21s437ms Feb 07 01 2 6s465ms 3s232ms 02 1 1s514ms 1s514ms 03 1 3s878ms 3s878ms 05 1 1s32ms 1s32ms 06 1 17s406ms 17s406ms 08 1 1s285ms 1s285ms 13 1 3s105ms 3s105ms 14 1 2s91ms 2s91ms 17 1 3s878ms 3s878ms 18 1 1s531ms 1s531ms 19 1 4s547ms 4s547ms 20 1 1s110ms 1s110ms 21 1 1s33ms 1s33ms 22 3 9s111ms 3s37ms 23 1 1s297ms 1s297ms Feb 08 00 1 1s954ms 1s954ms 03 2 24s710ms 12s355ms 04 1 4s528ms 4s528ms 05 3 20s960ms 6s986ms 06 1 1s518ms 1s518ms 07 3 33s998ms 11s332ms 08 1 21s639ms 21s639ms 14 5 45s959ms 9s191ms 15 1 20s997ms 20s997ms 16 1 1s104ms 1s104ms 17 1 10s924ms 10s924ms 19 3 17s535ms 5s845ms 22 1 3s588ms 3s588ms [ User: pubeu - Total duration: 6m36s - Times executed: 52 ]
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1222080') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-02-04 04:33:37 Duration: 24s50ms Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1222080') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-02-04 08:35:45 Duration: 23s639ms Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1222080') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-02-03 09:36:53 Duration: 23s452ms Bind query: yes
11 23m44s 341 3s905ms 16s564ms 4s177ms 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 #11
Day Hour Count Duration Avg duration Feb 02 00 1 4s65ms 4s65ms 01 1 4s40ms 4s40ms 02 4 16s226ms 4s56ms 04 3 12s166ms 4s55ms 05 1 4s172ms 4s172ms 06 1 4s18ms 4s18ms 08 1 4s124ms 4s124ms 09 12 48s484ms 4s40ms 16 1 4s524ms 4s524ms 17 1 4s40ms 4s40ms 18 1 4s51ms 4s51ms 19 5 19s968ms 3s993ms 20 2 8s291ms 4s145ms 21 5 20s260ms 4s52ms 22 3 12s126ms 4s42ms 23 1 4s386ms 4s386ms Feb 03 00 3 11s985ms 3s995ms 01 1 4s92ms 4s92ms 02 1 4s198ms 4s198ms 03 5 20s224ms 4s44ms 04 3 12s243ms 4s81ms 05 2 8s128ms 4s64ms 06 2 8s170ms 4s85ms 07 1 4s70ms 4s70ms 08 2 8s386ms 4s193ms 09 2 8s53ms 4s26ms 10 3 12s684ms 4s228ms 11 3 12s895ms 4s298ms 12 2 8s142ms 4s71ms 13 5 20s180ms 4s36ms 14 5 20s195ms 4s39ms 15 6 24s207ms 4s34ms 16 2 8s152ms 4s76ms 18 1 4s85ms 4s85ms 23 5 20s423ms 4s84ms Feb 04 00 5 20s267ms 4s53ms 01 7 28s846ms 4s120ms 02 1 4s37ms 4s37ms 03 5 21s865ms 4s373ms 04 3 12s131ms 4s43ms 05 1 4s119ms 4s119ms 07 1 4s333ms 4s333ms 08 2 8s253ms 4s126ms 09 1 4s183ms 4s183ms 11 11 57s99ms 5s190ms 12 3 12s512ms 4s170ms 14 1 4s306ms 4s306ms 15 3 12s538ms 4s179ms 16 2 8s176ms 4s88ms 17 1 3s990ms 3s990ms 18 1 3s989ms 3s989ms 19 4 16s242ms 4s60ms 20 2 8s989ms 4s494ms 22 6 24s458ms 4s76ms 23 1 4s174ms 4s174ms Feb 05 01 1 4s32ms 4s32ms 02 4 16s531ms 4s132ms 03 3 12s135ms 4s45ms 06 2 8s355ms 4s177ms 09 1 4s13ms 4s13ms 11 1 5s706ms 5s706ms 12 1 4s12ms 4s12ms 13 2 8s426ms 4s213ms 15 1 4s137ms 4s137ms 17 1 3s981ms 3s981ms 18 2 8s47ms 4s23ms 19 4 16s184ms 4s46ms 20 1 4s11ms 4s11ms 21 2 8s322ms 4s161ms 22 6 24s941ms 4s156ms 23 9 36s889ms 4s98ms Feb 06 00 2 8s31ms 4s15ms 01 2 8s560ms 4s280ms 02 2 20s536ms 10s268ms 03 2 8s191ms 4s95ms 04 1 3s987ms 3s987ms 05 4 16s245ms 4s61ms 06 1 4s20ms 4s20ms 07 1 4s16ms 4s16ms 08 4 15s981ms 3s995ms 09 3 11s977ms 3s992ms 10 4 16s374ms 4s93ms 11 6 24s342ms 4s57ms 12 9 36s447ms 4s49ms 13 7 28s871ms 4s124ms 14 15 1m2s 4s181ms 15 10 40s588ms 4s58ms 17 1 4s23ms 4s23ms 20 2 8s25ms 4s12ms 21 1 4s111ms 4s111ms 22 2 8s381ms 4s190ms 23 5 21s189ms 4s237ms Feb 07 00 1 4s147ms 4s147ms 04 3 12s385ms 4s128ms 05 1 4s174ms 4s174ms 07 2 8s30ms 4s15ms 09 1 4s22ms 4s22ms 10 2 8s40ms 4s20ms 11 4 18s441ms 4s610ms 12 2 8s89ms 4s44ms 13 5 20s618ms 4s123ms 14 6 24s506ms 4s84ms 15 2 8s144ms 4s72ms 16 3 12s176ms 4s58ms 17 1 3s995ms 3s995ms 22 1 4s132ms 4s132ms Feb 08 00 5 20s118ms 4s23ms 01 1 3s982ms 3s982ms 03 1 3s993ms 3s993ms 04 2 8s110ms 4s55ms 06 4 16s57ms 4s14ms 07 1 3s992ms 3s992ms 08 1 4s130ms 4s130ms 13 1 3s944ms 3s944ms 20 2 8s283ms 4s141ms 21 5 20s561ms 4s112ms 23 1 3s963ms 3s963ms [ User: pubeu - Total duration: 7m42s - Times executed: 112 ]
-
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 = '1399342') 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 = '1399342') 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: 2025-02-06 02:54:30 Duration: 16s564ms 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 = '1437508') 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 = '1437508') 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: 2025-02-04 11:29:02 Duration: 8s603ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1437508') 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 = '1437508') 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: 2025-02-04 11:29:10 Duration: 8s439ms Bind query: yes
12 20m2s 25 47s446ms 48s609ms 48s99ms 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 Feb 02 06 1 47s957ms 47s957ms 10 1 48s194ms 48s194ms 14 1 47s916ms 47s916ms 18 1 47s446ms 47s446ms Feb 03 06 1 48s249ms 48s249ms 10 1 47s958ms 47s958ms 14 1 47s795ms 47s795ms 18 1 47s878ms 47s878ms Feb 04 06 1 47s953ms 47s953ms 10 1 47s951ms 47s951ms 14 1 48s24ms 48s24ms 18 1 47s864ms 47s864ms Feb 05 06 1 48s206ms 48s206ms 10 1 48s170ms 48s170ms 14 1 48s43ms 48s43ms 18 1 47s962ms 47s962ms Feb 06 06 1 48s179ms 48s179ms 10 1 48s408ms 48s408ms 14 1 48s609ms 48s609ms 18 1 48s485ms 48s485ms Feb 07 06 1 48s255ms 48s255ms 10 1 48s216ms 48s216ms 14 1 48s324ms 48s324ms 18 1 48s109ms 48s109ms Feb 08 19 1 48s322ms 48s322ms [ User: postgres - Total duration: 19m14s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 19m14s - 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: 2025-02-06 14:05:50 Duration: 48s609ms 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: 2025-02-06 18:05:50 Duration: 48s485ms 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: 2025-02-06 10:05:49 Duration: 48s408ms Database: ctdprd51 User: postgres Application: pg_dump
13 19m24s 711 1s249ms 2s243ms 1s637ms 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 #13
Day Hour Count Duration Avg duration Feb 02 00 5 9s320ms 1s864ms 01 8 12s98ms 1s512ms 02 10 15s213ms 1s521ms 03 4 7s560ms 1s890ms 04 13 20s866ms 1s605ms 05 2 3s724ms 1s862ms 06 4 6s310ms 1s577ms 07 7 10s827ms 1s546ms 08 7 12s20ms 1s717ms 09 13 21s420ms 1s647ms 10 5 7s599ms 1s519ms 11 13 21s576ms 1s659ms 12 6 10s681ms 1s780ms 13 10 17s5ms 1s700ms 14 8 12s9ms 1s501ms 15 7 10s195ms 1s456ms 16 5 8s122ms 1s624ms 17 3 4s461ms 1s487ms 18 5 6s935ms 1s387ms 19 5 7s8ms 1s401ms 20 4 6s286ms 1s571ms 21 4 6s271ms 1s567ms 22 3 5s8ms 1s669ms 23 3 5s576ms 1s858ms Feb 03 00 5 6s997ms 1s399ms 01 5 9s290ms 1s858ms 02 6 10s89ms 1s681ms 03 4 5s738ms 1s434ms 04 13 21s323ms 1s640ms 05 4 6s882ms 1s720ms 06 5 7s567ms 1s513ms 07 5 8s202ms 1s640ms 08 2 3s746ms 1s873ms 09 3 5s31ms 1s677ms 10 3 5s13ms 1s671ms 11 1 1s938ms 1s938ms 13 4 5s723ms 1s430ms 14 6 9s434ms 1s572ms 15 6 10s667ms 1s777ms 16 7 13s124ms 1s874ms 17 8 11s986ms 1s498ms 18 8 13s833ms 1s729ms 19 5 8s121ms 1s624ms 20 9 15s68ms 1s674ms 21 10 16s982ms 1s698ms 22 9 15s696ms 1s744ms 23 7 12s502ms 1s786ms Feb 04 00 5 9s383ms 1s876ms 01 7 11s409ms 1s629ms 02 9 14s536ms 1s615ms 03 5 7s 1s400ms 04 2 3s193ms 1s596ms 05 7 11s423ms 1s631ms 06 7 11s927ms 1s703ms 07 4 6s436ms 1s609ms 08 8 14s461ms 1s807ms 09 3 5s18ms 1s672ms 10 7 12s259ms 1s751ms 11 4 6s943ms 1s735ms 12 5 6s522ms 1s304ms 13 5 8s293ms 1s658ms 14 6 9s81ms 1s513ms 15 5 7s674ms 1s534ms 16 7 10s734ms 1s533ms 17 4 6s285ms 1s571ms 18 7 11s226ms 1s603ms 19 9 15s65ms 1s673ms 20 4 7s449ms 1s862ms 21 10 16s457ms 1s645ms 22 6 9s428ms 1s571ms 23 8 12s594ms 1s574ms Feb 05 00 6 9s404ms 1s567ms 01 5 8s316ms 1s663ms 02 7 12s536ms 1s790ms 03 5 8s262ms 1s652ms 04 8 12s39ms 1s504ms 05 2 3s126ms 1s563ms 06 6 9s425ms 1s570ms 07 6 9s554ms 1s592ms 08 4 6s897ms 1s724ms 09 5 9s416ms 1s883ms 10 5 7s52ms 1s410ms 11 4 7s434ms 1s858ms 12 7 11s296ms 1s613ms 13 6 10s320ms 1s720ms 14 9 13s896ms 1s544ms 15 3 5s573ms 1s857ms 16 8 11s436ms 1s429ms 17 7 11s320ms 1s617ms 18 4 6s927ms 1s731ms 19 4 6s329ms 1s582ms 20 4 6s833ms 1s708ms 21 5 8s179ms 1s635ms 22 1 1s864ms 1s864ms 23 2 3s152ms 1s576ms Feb 06 00 4 6s331ms 1s582ms 01 3 4s469ms 1s489ms 02 2 3s725ms 1s862ms 03 3 5s49ms 1s683ms 04 3 5s31ms 1s677ms 05 2 3s686ms 1s843ms 06 1 1s296ms 1s296ms 08 5 8s102ms 1s620ms 09 5 7s547ms 1s509ms 10 3 4s409ms 1s469ms 12 1 1s281ms 1s281ms 13 2 3s736ms 1s868ms 16 1 1s874ms 1s874ms 17 1 1s278ms 1s278ms 18 3 5s17ms 1s672ms 19 3 4s962ms 1s654ms 20 5 8s129ms 1s625ms 21 3 4s365ms 1s455ms 22 2 3s126ms 1s563ms 23 3 4s999ms 1s666ms Feb 07 00 3 4s980ms 1s660ms 01 2 3s677ms 1s838ms 02 4 5s691ms 1s422ms 03 2 3s715ms 1s857ms 04 4 6s315ms 1s578ms 05 2 3s145ms 1s572ms 06 3 5s562ms 1s854ms 07 4 6s219ms 1s554ms 08 4 6s871ms 1s717ms 09 4 6s306ms 1s576ms 10 3 5s7ms 1s669ms 11 5 8s777ms 1s755ms 12 1 1s856ms 1s856ms 13 1 1s880ms 1s880ms 14 5 8s190ms 1s638ms 15 2 3s140ms 1s570ms 16 2 3s134ms 1s567ms 17 1 1s872ms 1s872ms 18 2 3s708ms 1s854ms 19 4 6s301ms 1s575ms 20 1 1s273ms 1s273ms 21 2 3s143ms 1s571ms 23 3 4s462ms 1s487ms Feb 08 00 1 1s855ms 1s855ms 02 3 5s620ms 1s873ms 04 4 7s490ms 1s872ms 05 4 6s885ms 1s721ms 06 1 1s836ms 1s836ms 07 2 3s153ms 1s576ms 08 2 3s136ms 1s568ms 10 2 3s867ms 1s933ms 13 2 3s186ms 1s593ms 14 2 3s151ms 1s575ms 15 2 3s142ms 1s571ms 16 1 1s281ms 1s281ms 18 2 3s654ms 1s827ms 19 1 1s856ms 1s856ms 20 2 3s149ms 1s574ms 21 2 3s129ms 1s564ms 22 3 6s20ms 2s6ms [ User: pubeu - Total duration: 5m3s - Times executed: 186 ]
-
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 = '1399342') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-02-08 22:17:41 Duration: 2s243ms Database: ctdprd51 User: pubeu 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 = '1399342') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-02-05 13:13:22 Duration: 2s159ms 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 = '1399342') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-02-04 10:33:16 Duration: 2s21ms Bind query: yes
14 17m29s 256 1s 6s505ms 4s101ms 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 Feb 02 01 1 5s350ms 5s350ms 02 4 16s322ms 4s80ms 03 7 35s532ms 5s76ms 04 4 16s626ms 4s156ms 05 2 10s773ms 5s386ms 06 1 5s248ms 5s248ms 07 2 2s28ms 1s14ms 08 2 6s388ms 3s194ms 10 2 10s373ms 5s186ms 11 2 6s266ms 3s133ms 12 1 1s14ms 1s14ms 13 1 5s193ms 5s193ms 14 3 11s309ms 3s769ms 15 3 3s113ms 1s37ms 16 3 15s954ms 5s318ms 17 1 4s859ms 4s859ms 18 6 22s476ms 3s746ms 19 2 10s383ms 5s191ms 21 1 4s998ms 4s998ms 22 2 6s69ms 3s34ms Feb 03 01 1 5s91ms 5s91ms 02 2 10s367ms 5s183ms 03 4 20s745ms 5s186ms 04 1 5s66ms 5s66ms 05 1 5s399ms 5s399ms 06 2 6s606ms 3s303ms 07 1 5s90ms 5s90ms 09 1 5s172ms 5s172ms 11 1 5s7ms 5s7ms 12 2 5s840ms 2s920ms 14 1 5s265ms 5s265ms 15 4 20s744ms 5s186ms 16 1 6s421ms 6s421ms 17 1 1s30ms 1s30ms 18 2 6s237ms 3s118ms 19 4 16s393ms 4s98ms 20 10 39s230ms 3s923ms 21 1 1s40ms 1s40ms 22 2 10s517ms 5s258ms 23 4 16s295ms 4s73ms Feb 04 00 1 4s856ms 4s856ms 01 2 10s359ms 5s179ms 02 1 5s440ms 5s440ms 03 4 20s359ms 5s89ms 04 1 1s32ms 1s32ms 05 1 5s700ms 5s700ms 06 1 5s514ms 5s514ms 09 2 6s543ms 3s271ms 10 2 7s107ms 3s553ms 11 3 3s277ms 1s92ms 12 1 4s968ms 4s968ms 15 2 2s22ms 1s11ms 17 3 15s811ms 5s270ms 18 2 10s458ms 5s229ms 19 1 5s467ms 5s467ms 20 7 32s341ms 4s620ms 22 1 5s318ms 5s318ms Feb 05 00 2 10s608ms 5s304ms 01 1 5s376ms 5s376ms 02 2 10s56ms 5s28ms 04 1 5s404ms 5s404ms 05 2 10s325ms 5s162ms 06 1 4s814ms 4s814ms 08 4 20s751ms 5s187ms 09 3 15s190ms 5s63ms 11 1 5s140ms 5s140ms 12 3 11s299ms 3s766ms 13 2 10s673ms 5s336ms 14 2 6s141ms 3s70ms 15 1 5s161ms 5s161ms 16 1 4s870ms 4s870ms 17 1 1s2ms 1s2ms 18 2 5s975ms 2s987ms 19 2 2s45ms 1s22ms 20 6 22s628ms 3s771ms 22 6 23s383ms 3s897ms Feb 06 00 1 5s380ms 5s380ms 01 4 20s330ms 5s82ms 03 3 7s255ms 2s418ms 04 2 10s462ms 5s231ms 06 1 5s922ms 5s922ms 08 1 1s50ms 1s50ms 09 2 6s207ms 3s103ms 10 1 5s848ms 5s848ms 11 2 6s389ms 3s194ms 12 3 7s530ms 2s510ms 14 3 18s261ms 6s87ms 15 1 5s370ms 5s370ms 16 1 5s482ms 5s482ms 18 1 1s44ms 1s44ms 20 6 23s765ms 3s960ms 21 4 17s510ms 4s377ms 22 1 5s632ms 5s632ms 23 1 4s933ms 4s933ms Feb 07 04 4 16s268ms 4s67ms 05 1 1s27ms 1s27ms 10 3 11s437ms 3s812ms 13 1 5s127ms 5s127ms 15 1 5s163ms 5s163ms 16 2 2s70ms 1s35ms 19 1 1s29ms 1s29ms 20 1 5s430ms 5s430ms 23 1 5s3ms 5s3ms Feb 08 00 2 6s575ms 3s287ms 01 1 5s178ms 5s178ms 02 1 5s3ms 5s3ms 03 4 8s20ms 2s5ms 05 5 21s732ms 4s346ms 06 1 5s626ms 5s626ms 07 1 5s492ms 5s492ms 09 1 5s256ms 5s256ms 10 1 6s505ms 6s505ms 13 1 4s928ms 4s928ms 15 1 4s931ms 4s931ms 16 3 15s127ms 5s42ms 17 2 2s41ms 1s20ms 18 1 1s44ms 1s44ms 21 2 5s896ms 2s948ms 22 1 5s304ms 5s304ms 23 1 5s3ms 5s3ms [ User: pubeu - Total duration: 4m31s - Times executed: 67 ]
-
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 = '1388977' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-02-08 10:03:10 Duration: 6s505ms 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 = '1331060' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-02-06 14:52:18 Duration: 6s492ms 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 = '1442753' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-02-03 16:31:21 Duration: 6s421ms Database: ctdprd51 User: pubeu Bind query: yes
15 17m6s 174 1s13ms 17s637ms 5s899ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where phenotypeterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and associatedterm.object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Feb 02 00 2 3s742ms 1s871ms 01 3 19s944ms 6s648ms 02 2 5s814ms 2s907ms 03 1 2s635ms 2s635ms 04 1 16s343ms 16s343ms 05 5 14s596ms 2s919ms 06 1 3s643ms 3s643ms 07 1 10s964ms 10s964ms 08 4 14s716ms 3s679ms 09 4 51s801ms 12s950ms 10 2 18s881ms 9s440ms 11 2 7s77ms 3s538ms 12 1 1s370ms 1s370ms 13 1 1s186ms 1s186ms 14 1 3s435ms 3s435ms 15 1 5s467ms 5s467ms 16 1 1s51ms 1s51ms 17 1 1s331ms 1s331ms 18 2 18s521ms 9s260ms 19 1 2s559ms 2s559ms 20 1 16s517ms 16s517ms 23 2 2s412ms 1s206ms Feb 03 01 4 26s945ms 6s736ms 05 1 1s133ms 1s133ms 06 1 16s696ms 16s696ms 07 1 1s116ms 1s116ms 08 1 1s116ms 1s116ms 09 2 15s423ms 7s711ms 10 3 6s993ms 2s331ms 11 3 49s233ms 16s411ms 12 1 11s70ms 11s70ms 14 5 7s322ms 1s464ms 15 3 21s992ms 7s330ms 16 1 5s820ms 5s820ms 17 2 8s407ms 4s203ms 18 1 1s144ms 1s144ms 19 4 18s828ms 4s707ms 20 2 2s420ms 1s210ms 21 1 1s135ms 1s135ms 22 3 18s417ms 6s139ms 23 2 7s268ms 3s634ms Feb 04 01 1 5s858ms 5s858ms 02 1 5s861ms 5s861ms 04 1 16s493ms 16s493ms 06 2 3s721ms 1s860ms 07 2 22s81ms 11s40ms 08 1 1s584ms 1s584ms 10 2 2s666ms 1s333ms 12 3 11s140ms 3s713ms 14 2 12s155ms 6s77ms 15 4 9s572ms 2s393ms 16 2 17s608ms 8s804ms 17 1 1s126ms 1s126ms 19 1 1s270ms 1s270ms 21 3 43s859ms 14s619ms Feb 05 00 1 3s996ms 3s996ms 01 1 16s642ms 16s642ms 02 2 2s101ms 1s50ms 04 2 5s465ms 2s732ms 05 2 15s397ms 7s698ms 06 1 5s425ms 5s425ms 08 1 1s89ms 1s89ms 09 3 35s974ms 11s991ms 11 2 17s205ms 8s602ms 13 2 14s409ms 7s204ms 14 3 17s971ms 5s990ms 18 1 16s105ms 16s105ms 19 2 18s856ms 9s428ms 20 2 20s125ms 10s62ms 21 1 5s843ms 5s843ms 23 1 1s129ms 1s129ms Feb 06 02 1 1s363ms 1s363ms 05 1 16s209ms 16s209ms 08 2 8s32ms 4s16ms 09 1 1s22ms 1s22ms 10 1 2s242ms 2s242ms 11 2 3s322ms 1s661ms 12 1 5s826ms 5s826ms 13 4 8s326ms 2s81ms 14 1 10s899ms 10s899ms 16 1 1s13ms 1s13ms 20 1 1s135ms 1s135ms 21 2 2s398ms 1s199ms 23 1 11s143ms 11s143ms Feb 07 00 1 1s22ms 1s22ms 01 1 17s637ms 17s637ms 05 2 12s715ms 6s357ms 07 1 3s460ms 3s460ms 12 2 17s571ms 8s785ms 14 1 16s312ms 16s312ms 15 1 4s536ms 4s536ms 16 1 4s475ms 4s475ms 17 1 5s456ms 5s456ms 23 1 5s824ms 5s824ms Feb 08 01 1 2s494ms 2s494ms 02 1 5s823ms 5s823ms 06 1 3s985ms 3s985ms 07 2 17s636ms 8s818ms 13 1 15s879ms 15s879ms 14 1 1s22ms 1s22ms 16 1 16s191ms 16s191ms 23 1 2s235ms 2s235ms [ User: pubeu - Total duration: 4m56s - Times executed: 48 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1222080'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-02-07 01:33:46 Duration: 17s637ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1222080'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-02-02 09:11:45 Duration: 17s174ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1222080'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-02-02 09:11:46 Duration: 17s139ms Bind query: yes
16 15m30s 304 1s5ms 11s469ms 3s62ms 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 Feb 02 00 3 5s848ms 1s949ms 01 4 19s268ms 4s817ms 02 2 4s195ms 2s97ms 03 1 1s702ms 1s702ms 04 1 5s281ms 5s281ms 05 3 12s926ms 4s308ms 06 1 1s672ms 1s672ms 07 1 3s322ms 3s322ms 08 2 6s32ms 3s16ms 09 1 2s680ms 2s680ms 11 2 5s688ms 2s844ms 12 2 8s432ms 4s216ms 13 2 5s626ms 2s813ms 14 2 7s186ms 3s593ms 15 1 1s229ms 1s229ms 16 3 6s163ms 2s54ms 17 1 3s839ms 3s839ms 18 3 8s635ms 2s878ms 19 1 2s446ms 2s446ms 20 2 6s133ms 3s66ms 21 2 7s106ms 3s553ms 22 1 4s872ms 4s872ms Feb 03 00 1 1s163ms 1s163ms 01 1 4s600ms 4s600ms 02 1 3s123ms 3s123ms 03 3 15s192ms 5s64ms 04 2 3s401ms 1s700ms 06 1 5s608ms 5s608ms 07 3 9s548ms 3s182ms 09 4 19s749ms 4s937ms 10 3 5s60ms 1s686ms 11 2 11s479ms 5s739ms 12 2 10s732ms 5s366ms 13 1 2s480ms 2s480ms 14 3 7s27ms 2s342ms 15 4 16s688ms 4s172ms 17 1 2s881ms 2s881ms 18 2 8s165ms 4s82ms 19 2 5s730ms 2s865ms 20 4 13s588ms 3s397ms 23 2 5s61ms 2s530ms Feb 04 01 2 2s739ms 1s369ms 02 4 23s153ms 5s788ms 03 3 9s927ms 3s309ms 04 3 15s188ms 5s62ms 05 1 2s439ms 2s439ms 06 3 9s978ms 3s326ms 07 4 8s999ms 2s249ms 08 2 2s276ms 1s138ms 09 3 6s371ms 2s123ms 10 3 4s213ms 1s404ms 11 3 7s453ms 2s484ms 12 4 13s113ms 3s278ms 13 3 6s602ms 2s200ms 14 2 10s866ms 5s433ms 15 2 3s838ms 1s919ms 16 2 4s424ms 2s212ms 17 3 15s218ms 5s72ms 19 3 5s284ms 1s761ms 20 5 8s828ms 1s765ms 21 1 5s683ms 5s683ms 22 2 3s232ms 1s616ms 23 2 8s189ms 4s94ms Feb 05 00 1 6s116ms 6s116ms 01 4 7s329ms 1s832ms 02 3 4s783ms 1s594ms 03 2 3s866ms 1s933ms 04 1 2s392ms 2s392ms 05 1 3s784ms 3s784ms 06 2 9s143ms 4s571ms 07 3 10s366ms 3s455ms 09 2 3s520ms 1s760ms 10 2 9s523ms 4s761ms 11 1 2s451ms 2s451ms 12 2 9s66ms 4s533ms 13 2 8s86ms 4s43ms 14 1 1s216ms 1s216ms 15 3 9s554ms 3s184ms 16 1 5s76ms 5s76ms 18 1 2s597ms 2s597ms 19 1 2s402ms 2s402ms 20 1 2s476ms 2s476ms 21 1 6s463ms 6s463ms 22 2 16s311ms 8s155ms Feb 06 00 1 2s615ms 2s615ms 01 1 6s179ms 6s179ms 02 3 5s11ms 1s670ms 03 9 27s220ms 3s24ms 04 1 2s379ms 2s379ms 05 2 7s457ms 3s728ms 07 1 2s601ms 2s601ms 09 6 14s396ms 2s399ms 10 2 7s408ms 3s704ms 11 2 5s505ms 2s752ms 12 1 1s51ms 1s51ms 13 4 11s965ms 2s991ms 14 3 6s121ms 2s40ms 16 4 12s586ms 3s146ms 18 2 2s617ms 1s308ms 19 1 5s612ms 5s612ms 20 1 5s347ms 5s347ms 21 3 11s891ms 3s963ms Feb 07 00 2 7s173ms 3s586ms 01 1 2s413ms 2s413ms 02 1 2s758ms 2s758ms 03 1 1s38ms 1s38ms 04 4 7s938ms 1s984ms 06 1 2s633ms 2s633ms 07 3 6s988ms 2s329ms 08 1 2s170ms 2s170ms 09 1 1s229ms 1s229ms 10 2 2s470ms 1s235ms 11 1 2s383ms 2s383ms 12 1 2s641ms 2s641ms 13 2 2s737ms 1s368ms 14 1 1s198ms 1s198ms 15 1 5s630ms 5s630ms 16 1 3s56ms 3s56ms 17 1 1s788ms 1s788ms 18 1 1s465ms 1s465ms 21 1 2s438ms 2s438ms 22 2 17s728ms 8s864ms 23 3 5s607ms 1s869ms Feb 08 00 2 2s164ms 1s82ms 01 5 8s714ms 1s742ms 02 1 2s189ms 2s189ms 03 4 11s714ms 2s928ms 04 2 2s286ms 1s143ms 05 3 8s700ms 2s900ms 06 5 14s174ms 2s834ms 07 2 4s172ms 2s86ms 08 3 7s427ms 2s475ms 09 4 8s932ms 2s233ms 13 1 2s581ms 2s581ms 16 2 8s65ms 4s32ms 17 3 13s498ms 4s499ms 19 1 6s486ms 6s486ms 21 1 6s13ms 6s13ms 22 2 5s95ms 2s547ms 23 4 11s133ms 2s783ms [ User: pubeu - Total duration: 4m15s - Times executed: 80 ]
-
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 = '2091965') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-02-07 22:17:55 Duration: 11s469ms 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 = '2091965') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-02-03 03:01:27 Duration: 11s300ms 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 = '2091965') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-02-03 09:07:30 Duration: 11s267ms Bind query: yes
17 12m11s 572 1s172ms 1s744ms 1s279ms 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 #17
Day Hour Count Duration Avg duration Feb 02 00 6 8s252ms 1s375ms 01 8 10s572ms 1s321ms 02 4 5s309ms 1s327ms 03 3 4s445ms 1s481ms 04 3 3s903ms 1s301ms 05 3 4s474ms 1s491ms 06 2 2s656ms 1s328ms 07 3 3s902ms 1s300ms 08 7 8s954ms 1s279ms 09 5 6s422ms 1s284ms 10 2 2s552ms 1s276ms 11 6 7s618ms 1s269ms 12 4 5s283ms 1s320ms 13 3 4s144ms 1s381ms 14 4 5s118ms 1s279ms 15 2 2s583ms 1s291ms 16 4 5s210ms 1s302ms 17 6 7s536ms 1s256ms 18 11 13s663ms 1s242ms 19 2 2s540ms 1s270ms 20 3 3s721ms 1s240ms 21 3 3s704ms 1s234ms 22 2 2s641ms 1s320ms 23 11 14s311ms 1s301ms Feb 03 00 5 6s427ms 1s285ms 01 3 3s820ms 1s273ms 02 7 9s141ms 1s305ms 03 4 5s99ms 1s274ms 04 3 3s929ms 1s309ms 05 4 5s296ms 1s324ms 06 2 2s577ms 1s288ms 07 6 7s743ms 1s290ms 08 4 5s235ms 1s308ms 09 3 3s940ms 1s313ms 10 4 5s41ms 1s260ms 11 1 1s282ms 1s282ms 12 5 6s522ms 1s304ms 13 6 7s760ms 1s293ms 14 2 2s596ms 1s298ms 15 7 8s918ms 1s274ms 16 6 7s498ms 1s249ms 17 1 1s257ms 1s257ms 18 2 2s492ms 1s246ms 19 3 3s729ms 1s243ms 20 4 4s998ms 1s249ms 21 4 5s109ms 1s277ms 22 4 5s231ms 1s307ms 23 6 7s840ms 1s306ms Feb 04 00 5 6s535ms 1s307ms 02 3 3s863ms 1s287ms 03 3 3s932ms 1s310ms 04 7 9s251ms 1s321ms 05 4 5s454ms 1s363ms 06 5 6s322ms 1s264ms 07 9 11s736ms 1s304ms 08 3 4s52ms 1s350ms 09 4 5s633ms 1s408ms 10 3 3s812ms 1s270ms 11 7 9s85ms 1s297ms 12 7 8s796ms 1s256ms 13 2 2s598ms 1s299ms 14 3 3s794ms 1s264ms 15 3 3s738ms 1s246ms 16 1 1s256ms 1s256ms 17 3 3s692ms 1s230ms 19 2 2s498ms 1s249ms 20 3 3s697ms 1s232ms 21 3 3s632ms 1s210ms 22 1 1s273ms 1s273ms 23 4 5s140ms 1s285ms Feb 05 00 1 1s287ms 1s287ms 01 3 3s884ms 1s294ms 02 1 1s237ms 1s237ms 03 6 7s680ms 1s280ms 04 1 1s269ms 1s269ms 05 4 5s378ms 1s344ms 06 8 10s159ms 1s269ms 07 3 3s867ms 1s289ms 08 5 6s405ms 1s281ms 09 1 1s276ms 1s276ms 11 8 9s938ms 1s242ms 12 1 1s254ms 1s254ms 13 5 6s66ms 1s213ms 14 2 2s542ms 1s271ms 15 2 2s544ms 1s272ms 18 2 2s456ms 1s228ms 19 1 1s284ms 1s284ms 20 3 3s739ms 1s246ms 21 4 4s950ms 1s237ms 22 4 5s195ms 1s298ms 23 4 5s78ms 1s269ms Feb 06 00 3 3s843ms 1s281ms 01 1 1s279ms 1s279ms 02 2 2s559ms 1s279ms 03 5 6s296ms 1s259ms 04 2 2s587ms 1s293ms 05 3 4s140ms 1s380ms 06 4 5s63ms 1s265ms 07 1 1s251ms 1s251ms 09 2 2s446ms 1s223ms 10 6 7s446ms 1s241ms 11 1 1s211ms 1s211ms 12 2 2s565ms 1s282ms 13 1 1s290ms 1s290ms 14 4 4s844ms 1s211ms 15 3 3s761ms 1s253ms 16 1 1s317ms 1s317ms 17 5 6s103ms 1s220ms 19 5 6s55ms 1s211ms 20 5 6s147ms 1s229ms 21 3 3s747ms 1s249ms 22 2 2s593ms 1s296ms 23 5 6s569ms 1s313ms Feb 07 00 4 5s74ms 1s268ms 01 2 2s521ms 1s260ms 02 3 3s798ms 1s266ms 03 9 11s311ms 1s256ms 04 2 2s688ms 1s344ms 05 4 5s368ms 1s342ms 06 1 1s240ms 1s240ms 07 3 3s795ms 1s265ms 08 6 7s476ms 1s246ms 09 1 1s281ms 1s281ms 12 1 1s201ms 1s201ms 13 1 1s246ms 1s246ms 14 2 2s501ms 1s250ms 15 5 6s169ms 1s233ms 16 4 4s933ms 1s233ms 17 1 1s252ms 1s252ms 18 2 2s502ms 1s251ms 19 3 3s806ms 1s268ms 20 8 9s972ms 1s246ms 21 10 12s378ms 1s237ms 22 2 2s498ms 1s249ms 23 8 10s68ms 1s258ms Feb 08 00 1 1s256ms 1s256ms 01 6 7s572ms 1s262ms 02 2 2s605ms 1s302ms 03 5 6s280ms 1s256ms 04 3 3s975ms 1s325ms 05 4 5s208ms 1s302ms 06 3 3s797ms 1s265ms 07 1 1s233ms 1s233ms 08 5 6s273ms 1s254ms 09 2 2s525ms 1s262ms 10 1 1s290ms 1s290ms 12 1 1s372ms 1s372ms 13 2 2s456ms 1s228ms 14 5 6s180ms 1s236ms 15 1 1s246ms 1s246ms 16 5 6s268ms 1s253ms 18 2 2s545ms 1s272ms 19 3 3s823ms 1s274ms 21 8 10s438ms 1s304ms 22 6 7s654ms 1s275ms 23 1 1s245ms 1s245ms [ User: pubeu - Total duration: 2m47s - Times executed: 130 ]
[ User: qaeu - Total duration: 8s467ms - Times executed: 6 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1253458') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1253458') 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: 2025-02-04 09:51:03 Duration: 1s744ms 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 = '1257149') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1257149') 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: 2025-02-02 03:19:34 Duration: 1s613ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1260534') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1260534') 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: 2025-02-02 00:41:54 Duration: 1s549ms Database: ctdprd51 User: pubeu Bind query: yes
18 11m44s 470 1s466ms 1s716ms 1s498ms 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 #18
Day Hour Count Duration Avg duration Feb 02 00 8 11s977ms 1s497ms 01 14 20s930ms 1s495ms 02 5 7s553ms 1s510ms 03 6 9s1ms 1s500ms 04 6 8s970ms 1s495ms 05 7 10s498ms 1s499ms 06 6 8s968ms 1s494ms 07 4 5s970ms 1s492ms 08 6 9s131ms 1s521ms 09 8 12s6ms 1s500ms 10 10 14s975ms 1s497ms 11 5 7s538ms 1s507ms 12 5 7s484ms 1s496ms 13 3 4s522ms 1s507ms 14 3 4s469ms 1s489ms 15 3 4s594ms 1s531ms 16 1 1s520ms 1s520ms 17 3 4s471ms 1s490ms 18 4 6s14ms 1s503ms 19 3 4s431ms 1s477ms 20 5 7s466ms 1s493ms 21 6 8s891ms 1s481ms 22 5 7s542ms 1s508ms 23 4 5s982ms 1s495ms Feb 03 00 5 7s455ms 1s491ms 01 1 1s483ms 1s483ms 02 6 8s990ms 1s498ms 03 1 1s477ms 1s477ms 04 4 5s973ms 1s493ms 05 5 7s583ms 1s516ms 06 6 9s9ms 1s501ms 07 4 5s958ms 1s489ms 09 4 6s115ms 1s528ms 10 1 1s497ms 1s497ms 11 6 8s948ms 1s491ms 12 3 4s472ms 1s490ms 13 2 3s37ms 1s518ms 14 3 4s489ms 1s496ms 15 1 1s496ms 1s496ms 16 3 4s489ms 1s496ms 17 1 1s497ms 1s497ms 18 1 1s503ms 1s503ms 19 3 4s461ms 1s487ms 20 1 1s495ms 1s495ms 21 4 5s964ms 1s491ms 22 4 5s981ms 1s495ms 23 3 4s475ms 1s491ms Feb 04 00 4 6s25ms 1s506ms 01 5 7s482ms 1s496ms 02 3 4s468ms 1s489ms 03 4 5s979ms 1s494ms 04 4 5s983ms 1s495ms 05 6 9s26ms 1s504ms 06 4 6s2ms 1s500ms 07 4 5s983ms 1s495ms 08 3 4s524ms 1s508ms 09 3 4s563ms 1s521ms 10 5 7s559ms 1s511ms 11 2 2s995ms 1s497ms 12 7 10s513ms 1s501ms 13 1 1s634ms 1s634ms 14 1 1s493ms 1s493ms 15 3 4s482ms 1s494ms 16 1 1s488ms 1s488ms 17 4 5s946ms 1s486ms 18 3 4s488ms 1s496ms 19 5 7s465ms 1s493ms 20 3 4s496ms 1s498ms 21 2 2s975ms 1s487ms 22 3 4s470ms 1s490ms 23 1 1s482ms 1s482ms Feb 05 00 2 2s966ms 1s483ms 01 7 10s476ms 1s496ms 02 8 11s960ms 1s495ms 03 5 7s692ms 1s538ms 04 4 5s948ms 1s487ms 05 5 7s483ms 1s496ms 06 4 6s16ms 1s504ms 07 3 4s455ms 1s485ms 08 3 4s535ms 1s511ms 09 2 2s977ms 1s488ms 10 2 2s969ms 1s484ms 11 2 3s67ms 1s533ms 12 2 2s976ms 1s488ms 13 5 7s460ms 1s492ms 14 4 5s956ms 1s489ms 15 3 4s477ms 1s492ms 16 2 2s967ms 1s483ms 17 2 2s985ms 1s492ms 18 3 4s475ms 1s491ms 19 3 4s512ms 1s504ms 20 1 1s487ms 1s487ms 22 2 2s975ms 1s487ms Feb 06 00 1 1s475ms 1s475ms 02 3 4s567ms 1s522ms 03 4 5s926ms 1s481ms 05 4 5s986ms 1s496ms 06 1 1s527ms 1s527ms 09 4 5s971ms 1s492ms 11 1 1s497ms 1s497ms 12 2 2s985ms 1s492ms 13 2 2s982ms 1s491ms 14 1 1s510ms 1s510ms 15 1 1s479ms 1s479ms 16 2 2s985ms 1s492ms 17 3 4s474ms 1s491ms 18 1 1s486ms 1s486ms 19 3 4s455ms 1s485ms 20 1 1s496ms 1s496ms 21 2 3s8ms 1s504ms 23 4 5s975ms 1s493ms Feb 07 00 2 2s974ms 1s487ms 01 1 1s539ms 1s539ms 02 1 1s485ms 1s485ms 04 3 4s469ms 1s489ms 05 5 7s541ms 1s508ms 06 1 1s492ms 1s492ms 09 2 2s994ms 1s497ms 10 2 2s967ms 1s483ms 11 2 2s987ms 1s493ms 12 3 4s462ms 1s487ms 14 2 3s10ms 1s505ms 16 3 4s485ms 1s495ms 17 4 6s30ms 1s507ms 18 3 4s426ms 1s475ms 19 1 1s474ms 1s474ms 20 2 2s958ms 1s479ms 21 3 4s443ms 1s481ms 22 3 4s489ms 1s496ms Feb 08 00 1 1s512ms 1s512ms 02 1 1s482ms 1s482ms 03 2 3s53ms 1s526ms 04 2 2s980ms 1s490ms 05 2 2s984ms 1s492ms 06 1 1s483ms 1s483ms 08 1 1s482ms 1s482ms 09 1 1s485ms 1s485ms 12 1 1s518ms 1s518ms 13 7 10s457ms 1s493ms 14 2 2s949ms 1s474ms 15 2 2s983ms 1s491ms 16 1 1s531ms 1s531ms 19 2 3s34ms 1s517ms 21 2 3s13ms 1s506ms 22 2 3s3ms 1s501ms [ User: pubeu - Total duration: 3m22s - Times executed: 135 ]
-
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: 2025-02-05 03:11:08 Duration: 1s716ms 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: 2025-02-04 13:01:44 Duration: 1s634ms 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: 2025-02-02 15:51:38 Duration: 1s620ms Bind query: yes
19 8m43s 222 1s7ms 6s127ms 2s359ms 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 #19
Day Hour Count Duration Avg duration Feb 02 00 3 6s223ms 2s74ms 01 5 11s335ms 2s267ms 02 4 8s976ms 2s244ms 03 4 9s245ms 2s311ms 04 4 10s487ms 2s621ms 05 5 13s369ms 2s673ms 06 3 10s194ms 3s398ms 07 1 1s276ms 1s276ms 08 3 6s176ms 2s58ms 09 3 7s601ms 2s533ms 10 3 5s792ms 1s930ms 11 7 15s143ms 2s163ms 12 2 4s326ms 2s163ms 13 2 7s211ms 3s605ms 14 2 5s744ms 2s872ms 15 1 2s599ms 2s599ms 16 1 1s647ms 1s647ms 17 1 3s395ms 3s395ms 18 2 3s340ms 1s670ms 19 2 4s937ms 2s468ms 20 2 3s969ms 1s984ms 21 4 12s53ms 3s13ms 22 4 11s333ms 2s833ms 23 2 2s880ms 1s440ms Feb 03 00 2 4s768ms 2s384ms 01 1 2s591ms 2s591ms 02 1 2s279ms 2s279ms 04 1 2s74ms 2s74ms 05 1 2s244ms 2s244ms 07 1 1s538ms 1s538ms 08 1 5s798ms 5s798ms 09 3 5s225ms 1s741ms 11 2 3s800ms 1s900ms 12 2 3s546ms 1s773ms 15 2 4s366ms 2s183ms 16 1 1s716ms 1s716ms 17 2 2s328ms 1s164ms 18 3 6s138ms 2s46ms 19 1 2s714ms 2s714ms 20 3 5s444ms 1s814ms 21 2 3s702ms 1s851ms Feb 04 00 2 3s968ms 1s984ms 01 1 1s636ms 1s636ms 03 1 2s784ms 2s784ms 05 5 10s452ms 2s90ms 06 1 2s711ms 2s711ms 09 3 10s650ms 3s550ms 10 6 11s708ms 1s951ms 11 3 6s103ms 2s34ms 12 1 2s248ms 2s248ms 13 1 2s136ms 2s136ms 14 3 5s720ms 1s906ms 16 3 9s487ms 3s162ms 17 2 3s790ms 1s895ms 18 4 12s958ms 3s239ms 21 4 7s441ms 1s860ms 22 2 3s666ms 1s833ms 23 1 5s861ms 5s861ms Feb 05 00 2 3s333ms 1s666ms 02 1 1s661ms 1s661ms 03 1 1s585ms 1s585ms 05 2 4s325ms 2s162ms 06 2 7s979ms 3s989ms 08 2 3s740ms 1s870ms 09 3 6s841ms 2s280ms 11 3 10s701ms 3s567ms 13 1 2s90ms 2s90ms 16 3 4s616ms 1s538ms 17 3 10s227ms 3s409ms 18 1 1s621ms 1s621ms 19 3 5s896ms 1s965ms 20 2 4s911ms 2s455ms 21 1 1s290ms 1s290ms 22 1 2s784ms 2s784ms Feb 06 00 1 5s761ms 5s761ms 03 1 1s273ms 1s273ms 06 1 2s185ms 2s185ms 08 2 4s69ms 2s34ms 11 1 5s822ms 5s822ms 12 1 2s680ms 2s680ms 13 1 2s143ms 2s143ms 14 1 1s654ms 1s654ms 16 2 3s388ms 1s694ms 18 1 1s218ms 1s218ms 19 1 1s625ms 1s625ms 20 1 2s705ms 2s705ms 22 1 2s162ms 2s162ms Feb 07 00 3 9s379ms 3s126ms 01 2 4s728ms 2s364ms 05 1 1s587ms 1s587ms 07 2 3s778ms 1s889ms 09 1 2s804ms 2s804ms 13 1 1s626ms 1s626ms 14 1 5s937ms 5s937ms 16 1 2s171ms 2s171ms 19 1 2s763ms 2s763ms 20 1 2s744ms 2s744ms 22 1 2s70ms 2s70ms 23 1 1s161ms 1s161ms Feb 08 01 1 1s35ms 1s35ms 02 2 5s486ms 2s743ms 05 4 8s744ms 2s186ms 06 1 2s160ms 2s160ms 07 1 1s290ms 1s290ms 08 1 1s652ms 1s652ms 12 1 5s857ms 5s857ms 14 1 1s234ms 1s234ms 16 3 7s202ms 2s400ms 17 1 1s278ms 1s278ms 21 1 1s65ms 1s65ms 23 1 2s801ms 2s801ms [ User: pubeu - Total duration: 2m18s - Times executed: 60 ]
-
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 = '655185' 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 = '655185') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-02-04 09:39:57 Duration: 6s127ms 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 = '655185' 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 = '655185') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-02-04 18:54:57 Duration: 5s952ms 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 = '655185' 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 = '655185') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-02-02 06:17:50 Duration: 5s940ms Bind query: yes
20 7m43s 1 7m43s 7m43s 7m43s drop table load.ixn_prose; create table load.ixn_prose as select edit.get_ixn_prose (ri.ixn_id) as ixn_prose_txt, ri.reference_acc_txt, ri.taxon_acc_txt, ri.mod_tm, t.nm from edit.reference_ixn ri, edit.ixn i, edit.ixn_type t where ri.ixn_id = i.id and i.ixn_type_id = t.id;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Feb 04 11 1 7m43s 7m43s [ User: load - Total duration: 7m43s - Times executed: 1 ]
[ Application: pgAdmin 4 - CONN:6812968 - Total duration: 7m43s - Times executed: 1 ]
-
drop table load.ixn_prose; create table load.ixn_prose as select edit.get_ixn_prose (ri.ixn_id) as ixn_prose_txt, ri.reference_acc_txt, ri.taxon_acc_txt, ri.mod_tm, t.nm from edit.reference_ixn ri, edit.ixn i, edit.ixn_type t where ri.ixn_id = i.id and i.ixn_type_id = t.id;
Date: 2025-02-04 11:08:32 Duration: 7m43s Database: ctdprd51 User: load Application: pgAdmin 4 - CONN:6812968
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 2,973 58m10s 1s81ms 1s736ms 1s174ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where exposuremarkerterm.id = ? or receptorterm.id = ? group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Feb 02 00 20 24s630ms 1s231ms 01 20 24s773ms 1s238ms 02 18 21s737ms 1s207ms 03 19 24s175ms 1s272ms 04 21 25s230ms 1s201ms 05 18 22s217ms 1s234ms 06 12 14s656ms 1s221ms 07 8 9s582ms 1s197ms 08 22 26s237ms 1s192ms 09 15 17s834ms 1s188ms 10 11 13s311ms 1s210ms 11 13 15s265ms 1s174ms 12 22 26s172ms 1s189ms 13 17 20s143ms 1s184ms 14 21 24s600ms 1s171ms 15 22 25s817ms 1s173ms 16 19 22s230ms 1s170ms 17 28 32s725ms 1s168ms 18 25 28s830ms 1s153ms 19 7 8s149ms 1s164ms 20 17 19s720ms 1s160ms 21 12 13s894ms 1s157ms 22 8 9s636ms 1s204ms 23 33 39s444ms 1s195ms Feb 03 00 10 12s116ms 1s211ms 01 18 21s701ms 1s205ms 02 23 27s637ms 1s201ms 03 13 15s697ms 1s207ms 04 14 16s805ms 1s200ms 05 13 15s921ms 1s224ms 06 11 13s241ms 1s203ms 07 13 15s625ms 1s201ms 08 12 14s328ms 1s194ms 09 24 29s17ms 1s209ms 10 16 18s636ms 1s164ms 11 9 10s424ms 1s158ms 12 16 19s253ms 1s203ms 13 14 16s879ms 1s205ms 14 17 19s744ms 1s161ms 15 24 28s87ms 1s170ms 16 11 12s722ms 1s156ms 17 12 13s878ms 1s156ms 18 12 13s850ms 1s154ms 19 15 17s545ms 1s169ms 20 31 36s180ms 1s167ms 21 14 16s283ms 1s163ms 22 17 20s668ms 1s215ms 23 24 28s701ms 1s195ms Feb 04 00 26 31s339ms 1s205ms 01 22 26s541ms 1s206ms 02 17 20s468ms 1s204ms 03 6 7s133ms 1s188ms 04 17 20s408ms 1s200ms 05 19 23s6ms 1s210ms 06 14 16s564ms 1s183ms 07 24 28s425ms 1s184ms 08 12 14s618ms 1s218ms 09 13 15s755ms 1s211ms 10 16 18s908ms 1s181ms 11 30 35s273ms 1s175ms 12 23 27s306ms 1s187ms 13 10 11s836ms 1s183ms 14 10 11s669ms 1s166ms 15 22 25s280ms 1s149ms 16 5 5s860ms 1s172ms 17 20 22s776ms 1s138ms 18 22 25s230ms 1s146ms 19 27 31s3ms 1s148ms 20 16 18s751ms 1s171ms 21 34 39s440ms 1s160ms 22 18 21s415ms 1s189ms 23 19 22s503ms 1s184ms Feb 05 00 11 12s903ms 1s173ms 01 14 16s607ms 1s186ms 02 12 14s160ms 1s180ms 03 12 14s119ms 1s176ms 04 14 16s498ms 1s178ms 05 26 30s782ms 1s183ms 06 20 23s502ms 1s175ms 07 12 13s971ms 1s164ms 08 30 35s227ms 1s174ms 09 18 21s23ms 1s167ms 10 16 18s526ms 1s157ms 11 17 19s581ms 1s151ms 12 19 21s889ms 1s152ms 13 23 26s596ms 1s156ms 14 11 12s589ms 1s144ms 15 9 10s472ms 1s163ms 16 15 17s374ms 1s158ms 17 14 16s214ms 1s158ms 18 19 21s719ms 1s143ms 19 14 16s39ms 1s145ms 20 9 10s309ms 1s145ms 21 20 22s998ms 1s149ms 22 28 33s111ms 1s182ms 23 10 11s836ms 1s183ms Feb 06 00 20 23s662ms 1s183ms 01 16 18s785ms 1s174ms 02 13 14s974ms 1s151ms 03 15 17s701ms 1s180ms 04 13 15s514ms 1s193ms 05 13 15s662ms 1s204ms 06 8 9s257ms 1s157ms 07 10 11s444ms 1s144ms 08 7 8s41ms 1s148ms 09 8 9s261ms 1s157ms 10 29 33s793ms 1s165ms 11 33 37s538ms 1s137ms 12 13 15s24ms 1s155ms 13 17 19s465ms 1s145ms 14 29 33s495ms 1s155ms 15 4 4s550ms 1s137ms 16 11 12s597ms 1s145ms 17 23 26s490ms 1s151ms 18 21 24s38ms 1s144ms 19 22 25s265ms 1s148ms 20 13 14s909ms 1s146ms 21 14 16s102ms 1s150ms 22 31 36s584ms 1s180ms 23 22 25s998ms 1s181ms Feb 07 00 13 15s422ms 1s186ms 01 18 21s28ms 1s168ms 02 22 25s573ms 1s162ms 03 31 35s996ms 1s161ms 04 18 21s63ms 1s170ms 05 20 23s937ms 1s196ms 06 11 12s739ms 1s158ms 07 9 10s452ms 1s161ms 08 18 20s779ms 1s154ms 09 9 10s354ms 1s150ms 10 15 17s245ms 1s149ms 11 1 1s161ms 1s161ms 12 9 10s494ms 1s166ms 13 10 11s486ms 1s148ms 14 15 17s431ms 1s162ms 15 15 17s367ms 1s157ms 16 13 15s137ms 1s164ms 17 19 21s922ms 1s153ms 18 10 11s595ms 1s159ms 19 22 25s402ms 1s154ms 20 36 41s583ms 1s155ms 21 30 34s473ms 1s149ms 22 18 21s5ms 1s166ms 23 29 33s830ms 1s166ms Feb 08 00 14 16s838ms 1s202ms 01 31 35s829ms 1s155ms 02 23 26s813ms 1s165ms 03 24 27s837ms 1s159ms 04 11 12s619ms 1s147ms 05 23 27s113ms 1s178ms 06 24 28s31ms 1s167ms 07 13 15s97ms 1s161ms 08 18 21s22ms 1s167ms 09 5 6s50ms 1s210ms 10 2 2s708ms 1s354ms 12 1 1s234ms 1s234ms 13 23 26s292ms 1s143ms 14 16 18s338ms 1s146ms 15 26 30s 1s153ms 16 58 1m6s 1s151ms 17 29 33s409ms 1s152ms 18 24 27s723ms 1s155ms 19 30 35s433ms 1s181ms 20 24 28s517ms 1s188ms 21 43 51s106ms 1s188ms 22 23 27s711ms 1s204ms 23 26 31s131ms 1s197ms [ User: pubeu - Total duration: 15m13s - Times executed: 777 ]
-
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 = '1458212' or receptorTerm.id = '1458212' 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: 2025-02-02 03:12:09 Duration: 1s736ms 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 = '1612108' or receptorTerm.id = '1612108' 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: 2025-02-08 09:32:18 Duration: 1s453ms 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 = '1542320' or receptorTerm.id = '1542320' 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: 2025-02-08 19:16:13 Duration: 1s442ms Bind query: yes
2 1,977 1h43m8s 1s17ms 6s945ms 3s130ms 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 #2
Day Hour Count Duration Avg duration Feb 02 00 28 1m31s 3s256ms 01 28 1m25s 3s70ms 02 20 1m11s 3s571ms 03 14 44s961ms 3s211ms 04 25 1m27s 3s514ms 05 20 1m7s 3s379ms 06 15 46s510ms 3s100ms 07 16 36s927ms 2s307ms 08 29 1m29s 3s72ms 09 27 1m23s 3s78ms 10 28 1m17s 2s766ms 11 25 1m16s 3s49ms 12 23 1m13s 3s192ms 13 12 40s784ms 3s398ms 14 9 22s759ms 2s528ms 15 16 49s974ms 3s123ms 16 11 37s216ms 3s383ms 17 13 37s615ms 2s893ms 18 16 42s372ms 2s648ms 19 5 22s266ms 4s453ms 20 16 52s439ms 3s277ms 21 11 38s762ms 3s523ms 22 14 37s565ms 2s683ms 23 10 32s133ms 3s213ms Feb 03 00 18 47s559ms 2s642ms 01 27 1m34s 3s500ms 02 19 1m1s 3s216ms 03 10 26s237ms 2s623ms 04 11 34s596ms 3s145ms 05 17 50s176ms 2s951ms 06 18 58s14ms 3s223ms 07 15 34s436ms 2s295ms 08 15 44s224ms 2s948ms 09 18 58s280ms 3s237ms 10 18 1m8s 3s803ms 11 13 36s807ms 2s831ms 12 17 58s547ms 3s443ms 13 15 50s290ms 3s352ms 14 18 49s249ms 2s736ms 15 16 55s836ms 3s489ms 16 20 1m6s 3s309ms 17 10 34s152ms 3s415ms 18 12 28s616ms 2s384ms 19 19 1m5s 3s467ms 20 21 53s66ms 2s526ms 21 13 37s587ms 2s891ms 22 20 1m3s 3s185ms 23 16 46s257ms 2s891ms Feb 04 00 13 32s294ms 2s484ms 01 17 55s703ms 3s276ms 02 15 50s356ms 3s357ms 03 17 46s652ms 2s744ms 04 17 55s558ms 3s268ms 05 21 1m9s 3s292ms 06 11 29s920ms 2s720ms 07 16 48s968ms 3s60ms 08 12 36s2ms 3s 09 9 34s632ms 3s848ms 10 16 54s825ms 3s426ms 11 9 31s290ms 3s476ms 12 14 44s247ms 3s160ms 13 22 1m6s 3s12ms 14 21 1m23s 3s965ms 15 12 34s825ms 2s902ms 16 19 58s459ms 3s76ms 17 22 1m22s 3s768ms 18 21 1m3s 3s10ms 19 13 49s643ms 3s818ms 20 17 47s564ms 2s797ms 21 18 46s509ms 2s583ms 22 9 28s799ms 3s199ms 23 20 1m10s 3s531ms Feb 05 00 17 56s785ms 3s340ms 01 10 34s19ms 3s401ms 02 16 53s433ms 3s339ms 03 14 47s836ms 3s416ms 04 20 48s235ms 2s411ms 05 13 41s154ms 3s165ms 06 15 38s887ms 2s592ms 07 13 44s127ms 3s394ms 08 10 20s968ms 2s96ms 09 16 1m2s 3s879ms 10 13 34s490ms 2s653ms 11 15 43s59ms 2s870ms 12 16 43s989ms 2s749ms 13 14 45s763ms 3s268ms 14 20 49s313ms 2s465ms 15 11 38s296ms 3s481ms 16 14 53s103ms 3s793ms 17 18 53s304ms 2s961ms 18 11 28s940ms 2s630ms 19 21 57s985ms 2s761ms 20 13 38s306ms 2s946ms 21 11 37s497ms 3s408ms 22 7 23s185ms 3s312ms 23 5 14s782ms 2s956ms Feb 06 00 13 41s576ms 3s198ms 01 11 35s938ms 3s267ms 02 13 41s640ms 3s203ms 03 4 10s895ms 2s723ms 04 11 35s801ms 3s254ms 05 2 8s762ms 4s381ms 06 1 3s308ms 3s308ms 07 6 19s483ms 3s247ms 08 6 13s670ms 2s278ms 09 6 10s636ms 1s772ms 10 9 29s211ms 3s245ms 11 7 21s397ms 3s56ms 12 5 18s223ms 3s644ms 13 6 18s371ms 3s61ms 14 6 20s636ms 3s439ms 15 12 37s296ms 3s108ms 16 3 11s818ms 3s939ms 17 5 19s554ms 3s910ms 18 4 9s39ms 2s259ms 19 2 7s979ms 3s989ms 20 14 54s998ms 3s928ms 21 6 17s120ms 2s853ms 22 6 16s402ms 2s733ms 23 8 22s951ms 2s868ms Feb 07 00 5 17s445ms 3s489ms 01 6 12s395ms 2s65ms 02 12 48s392ms 4s32ms 03 12 44s40ms 3s670ms 04 11 35s90ms 3s190ms 05 4 7s682ms 1s920ms 06 5 16s175ms 3s235ms 07 5 19s334ms 3s866ms 08 6 17s282ms 2s880ms 09 9 23s692ms 2s632ms 10 7 24s648ms 3s521ms 11 9 27s358ms 3s39ms 12 6 23s592ms 3s932ms 13 2 8s228ms 4s114ms 14 6 19s12ms 3s168ms 15 6 19s770ms 3s295ms 16 4 10s169ms 2s542ms 17 5 17s545ms 3s509ms 18 5 16s276ms 3s255ms 19 9 35s910ms 3s990ms 20 4 12s914ms 3s228ms 21 7 18s985ms 2s712ms 22 6 16s105ms 2s684ms 23 2 3s776ms 1s888ms Feb 08 00 4 13s181ms 3s295ms 01 4 12s852ms 3s213ms 02 4 17s276ms 4s319ms 03 9 26s918ms 2s990ms 04 4 11s807ms 2s951ms 05 10 27s897ms 2s789ms 06 4 8s690ms 2s172ms 07 7 23s626ms 3s375ms 08 6 24s164ms 4s27ms 09 3 6s840ms 2s280ms 10 1 6s945ms 6s945ms 13 7 19s69ms 2s724ms 14 6 22s217ms 3s702ms 15 6 23s708ms 3s951ms 16 8 19s740ms 2s467ms 17 3 9s535ms 3s178ms 18 7 18s297ms 2s613ms 19 5 18s847ms 3s769ms 20 7 17s662ms 2s523ms 21 3 7s690ms 2s563ms 22 4 15s586ms 3s896ms 23 5 12s803ms 2s560ms [ User: pubeu - Total duration: 28m32s - Times executed: 537 ]
-
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 = '1399342'))) 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: 2025-02-08 10:02:00 Duration: 6s945ms 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 = '1399342'))) 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: 2025-02-03 21:43:02 Duration: 6s847ms 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 = '1399342'))) 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: 2025-02-04 21:27:17 Duration: 6s833ms Bind query: yes
3 1,728 1h15m6s 1s 4s987ms 2s607ms 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 #3
Day Hour Count Duration Avg duration Feb 02 00 24 1m5s 2s725ms 01 16 35s942ms 2s246ms 02 20 52s18ms 2s600ms 03 33 1m21s 2s482ms 04 14 29s664ms 2s118ms 05 22 1m 2s764ms 06 20 44s815ms 2s240ms 07 14 33s352ms 2s382ms 08 29 1m20s 2s765ms 09 21 58s648ms 2s792ms 10 15 42s602ms 2s840ms 11 25 1m4s 2s599ms 12 11 34s955ms 3s177ms 13 16 43s225ms 2s701ms 14 13 35s263ms 2s712ms 15 9 24s550ms 2s727ms 16 17 59s949ms 3s526ms 17 7 20s150ms 2s878ms 18 27 1m9s 2s587ms 19 11 28s161ms 2s560ms 20 14 35s75ms 2s505ms 21 14 47s832ms 3s416ms 22 11 31s521ms 2s865ms 23 13 27s182ms 2s90ms Feb 03 00 14 31s886ms 2s277ms 01 11 33s469ms 3s42ms 02 13 35s492ms 2s730ms 03 11 27s699ms 2s518ms 04 11 30s27ms 2s729ms 05 8 19s569ms 2s446ms 06 12 37s987ms 3s165ms 07 14 37s126ms 2s651ms 08 9 20s941ms 2s326ms 09 8 22s705ms 2s838ms 10 16 49s153ms 3s72ms 11 11 32s981ms 2s998ms 12 10 29s425ms 2s942ms 13 8 16s533ms 2s66ms 14 9 23s965ms 2s662ms 15 11 30s344ms 2s758ms 16 12 46s967ms 3s913ms 17 7 15s65ms 2s152ms 18 21 49s563ms 2s360ms 19 10 26s430ms 2s643ms 20 32 1m9s 2s183ms 21 17 42s986ms 2s528ms 22 11 26s215ms 2s383ms 23 14 34s394ms 2s456ms Feb 04 00 21 1m1s 2s941ms 01 10 21s896ms 2s189ms 02 11 25s460ms 2s314ms 03 13 38s913ms 2s993ms 04 13 33s640ms 2s587ms 05 17 32s560ms 1s915ms 06 11 29s291ms 2s662ms 07 12 35s941ms 2s995ms 08 10 23s957ms 2s395ms 09 7 12s457ms 1s779ms 10 15 34s857ms 2s323ms 11 9 29s768ms 3s307ms 12 7 19s820ms 2s831ms 13 14 29s779ms 2s127ms 14 9 20s523ms 2s280ms 15 16 45s612ms 2s850ms 16 23 59s432ms 2s584ms 17 18 49s310ms 2s739ms 18 11 36s689ms 3s335ms 19 21 1m 2s862ms 20 22 44s455ms 2s20ms 21 10 39s154ms 3s915ms 22 14 34s431ms 2s459ms 23 16 36s123ms 2s257ms Feb 05 00 12 32s91ms 2s674ms 01 14 42s226ms 3s16ms 02 14 30s594ms 2s185ms 03 17 45s185ms 2s657ms 04 12 32s19ms 2s668ms 05 15 38s839ms 2s589ms 06 6 15s837ms 2s639ms 07 16 37s716ms 2s357ms 08 6 16s812ms 2s802ms 09 9 26s985ms 2s998ms 10 7 13s765ms 1s966ms 11 24 1m9s 2s893ms 12 16 41s271ms 2s579ms 13 14 32s542ms 2s324ms 14 13 34s684ms 2s668ms 15 13 31s816ms 2s447ms 16 18 55s560ms 3s86ms 17 15 43s87ms 2s872ms 18 16 46s627ms 2s914ms 19 19 54s976ms 2s893ms 20 18 40s2ms 2s222ms 21 6 16s868ms 2s811ms 22 6 13s199ms 2s199ms 23 3 3s704ms 1s234ms Feb 06 00 3 9s957ms 3s319ms 01 3 8s610ms 2s870ms 02 5 15s116ms 3s23ms 03 6 15s362ms 2s560ms 04 5 13s897ms 2s779ms 05 7 17s597ms 2s513ms 06 3 9s288ms 3s96ms 07 1 2s555ms 2s555ms 08 1 2s301ms 2s301ms 09 5 10s334ms 2s66ms 10 5 13s14ms 2s602ms 11 6 16s528ms 2s754ms 12 4 9s155ms 2s288ms 13 7 15s131ms 2s161ms 14 8 19s670ms 2s458ms 15 6 16s460ms 2s743ms 16 6 11s821ms 1s970ms 17 7 18s254ms 2s607ms 18 4 12s731ms 3s182ms 19 6 16s871ms 2s811ms 20 20 52s16ms 2s600ms 21 8 21s614ms 2s701ms 22 6 11s636ms 1s939ms 23 7 24s188ms 3s455ms Feb 07 00 2 4s206ms 2s103ms 01 4 8s631ms 2s157ms 02 7 13s601ms 1s943ms 03 7 19s801ms 2s828ms 04 8 23s517ms 2s939ms 05 5 13s326ms 2s665ms 06 7 16s288ms 2s326ms 07 2 4s754ms 2s377ms 08 1 4s442ms 4s442ms 09 4 13s126ms 3s281ms 10 9 26s747ms 2s971ms 11 5 13s783ms 2s756ms 12 4 7s847ms 1s961ms 13 4 9s212ms 2s303ms 14 4 12s81ms 3s20ms 15 7 20s751ms 2s964ms 16 6 15s975ms 2s662ms 17 5 12s907ms 2s581ms 18 5 11s177ms 2s235ms 19 8 19s446ms 2s430ms 20 2 2s298ms 1s149ms 21 8 25s199ms 3s149ms 22 10 28s750ms 2s875ms 23 1 2s239ms 2s239ms Feb 08 00 3 4s293ms 1s431ms 01 9 22s196ms 2s466ms 02 4 9s237ms 2s309ms 03 7 13s917ms 1s988ms 04 3 3s377ms 1s125ms 05 17 40s11ms 2s353ms 06 8 20s282ms 2s535ms 07 2 5s593ms 2s796ms 08 4 9s82ms 2s270ms 09 4 5s138ms 1s284ms 12 1 4s328ms 4s328ms 13 3 7s692ms 2s564ms 14 6 14s782ms 2s463ms 15 6 13s200ms 2s200ms 16 6 11s638ms 1s939ms 17 3 8s205ms 2s735ms 18 7 14s411ms 2s58ms 19 6 12s791ms 2s131ms 20 1 1s213ms 1s213ms 21 3 6s732ms 2s244ms 22 1 1s302ms 1s302ms 23 5 11s639ms 2s327ms [ User: pubeu - Total duration: 18m4s - Times executed: 433 ]
-
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 = '1399342') 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 = '1399342') 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: 2025-02-04 18:00:02 Duration: 4s987ms 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 = '1399342') 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 = '1399342') 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: 2025-02-02 05:42:57 Duration: 4s824ms 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 = '1399342') 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 = '1399342') 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: 2025-02-05 18:47:40 Duration: 4s820ms Bind query: yes
4 711 19m24s 1s249ms 2s243ms 1s637ms 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 #4
Day Hour Count Duration Avg duration Feb 02 00 5 9s320ms 1s864ms 01 8 12s98ms 1s512ms 02 10 15s213ms 1s521ms 03 4 7s560ms 1s890ms 04 13 20s866ms 1s605ms 05 2 3s724ms 1s862ms 06 4 6s310ms 1s577ms 07 7 10s827ms 1s546ms 08 7 12s20ms 1s717ms 09 13 21s420ms 1s647ms 10 5 7s599ms 1s519ms 11 13 21s576ms 1s659ms 12 6 10s681ms 1s780ms 13 10 17s5ms 1s700ms 14 8 12s9ms 1s501ms 15 7 10s195ms 1s456ms 16 5 8s122ms 1s624ms 17 3 4s461ms 1s487ms 18 5 6s935ms 1s387ms 19 5 7s8ms 1s401ms 20 4 6s286ms 1s571ms 21 4 6s271ms 1s567ms 22 3 5s8ms 1s669ms 23 3 5s576ms 1s858ms Feb 03 00 5 6s997ms 1s399ms 01 5 9s290ms 1s858ms 02 6 10s89ms 1s681ms 03 4 5s738ms 1s434ms 04 13 21s323ms 1s640ms 05 4 6s882ms 1s720ms 06 5 7s567ms 1s513ms 07 5 8s202ms 1s640ms 08 2 3s746ms 1s873ms 09 3 5s31ms 1s677ms 10 3 5s13ms 1s671ms 11 1 1s938ms 1s938ms 13 4 5s723ms 1s430ms 14 6 9s434ms 1s572ms 15 6 10s667ms 1s777ms 16 7 13s124ms 1s874ms 17 8 11s986ms 1s498ms 18 8 13s833ms 1s729ms 19 5 8s121ms 1s624ms 20 9 15s68ms 1s674ms 21 10 16s982ms 1s698ms 22 9 15s696ms 1s744ms 23 7 12s502ms 1s786ms Feb 04 00 5 9s383ms 1s876ms 01 7 11s409ms 1s629ms 02 9 14s536ms 1s615ms 03 5 7s 1s400ms 04 2 3s193ms 1s596ms 05 7 11s423ms 1s631ms 06 7 11s927ms 1s703ms 07 4 6s436ms 1s609ms 08 8 14s461ms 1s807ms 09 3 5s18ms 1s672ms 10 7 12s259ms 1s751ms 11 4 6s943ms 1s735ms 12 5 6s522ms 1s304ms 13 5 8s293ms 1s658ms 14 6 9s81ms 1s513ms 15 5 7s674ms 1s534ms 16 7 10s734ms 1s533ms 17 4 6s285ms 1s571ms 18 7 11s226ms 1s603ms 19 9 15s65ms 1s673ms 20 4 7s449ms 1s862ms 21 10 16s457ms 1s645ms 22 6 9s428ms 1s571ms 23 8 12s594ms 1s574ms Feb 05 00 6 9s404ms 1s567ms 01 5 8s316ms 1s663ms 02 7 12s536ms 1s790ms 03 5 8s262ms 1s652ms 04 8 12s39ms 1s504ms 05 2 3s126ms 1s563ms 06 6 9s425ms 1s570ms 07 6 9s554ms 1s592ms 08 4 6s897ms 1s724ms 09 5 9s416ms 1s883ms 10 5 7s52ms 1s410ms 11 4 7s434ms 1s858ms 12 7 11s296ms 1s613ms 13 6 10s320ms 1s720ms 14 9 13s896ms 1s544ms 15 3 5s573ms 1s857ms 16 8 11s436ms 1s429ms 17 7 11s320ms 1s617ms 18 4 6s927ms 1s731ms 19 4 6s329ms 1s582ms 20 4 6s833ms 1s708ms 21 5 8s179ms 1s635ms 22 1 1s864ms 1s864ms 23 2 3s152ms 1s576ms Feb 06 00 4 6s331ms 1s582ms 01 3 4s469ms 1s489ms 02 2 3s725ms 1s862ms 03 3 5s49ms 1s683ms 04 3 5s31ms 1s677ms 05 2 3s686ms 1s843ms 06 1 1s296ms 1s296ms 08 5 8s102ms 1s620ms 09 5 7s547ms 1s509ms 10 3 4s409ms 1s469ms 12 1 1s281ms 1s281ms 13 2 3s736ms 1s868ms 16 1 1s874ms 1s874ms 17 1 1s278ms 1s278ms 18 3 5s17ms 1s672ms 19 3 4s962ms 1s654ms 20 5 8s129ms 1s625ms 21 3 4s365ms 1s455ms 22 2 3s126ms 1s563ms 23 3 4s999ms 1s666ms Feb 07 00 3 4s980ms 1s660ms 01 2 3s677ms 1s838ms 02 4 5s691ms 1s422ms 03 2 3s715ms 1s857ms 04 4 6s315ms 1s578ms 05 2 3s145ms 1s572ms 06 3 5s562ms 1s854ms 07 4 6s219ms 1s554ms 08 4 6s871ms 1s717ms 09 4 6s306ms 1s576ms 10 3 5s7ms 1s669ms 11 5 8s777ms 1s755ms 12 1 1s856ms 1s856ms 13 1 1s880ms 1s880ms 14 5 8s190ms 1s638ms 15 2 3s140ms 1s570ms 16 2 3s134ms 1s567ms 17 1 1s872ms 1s872ms 18 2 3s708ms 1s854ms 19 4 6s301ms 1s575ms 20 1 1s273ms 1s273ms 21 2 3s143ms 1s571ms 23 3 4s462ms 1s487ms Feb 08 00 1 1s855ms 1s855ms 02 3 5s620ms 1s873ms 04 4 7s490ms 1s872ms 05 4 6s885ms 1s721ms 06 1 1s836ms 1s836ms 07 2 3s153ms 1s576ms 08 2 3s136ms 1s568ms 10 2 3s867ms 1s933ms 13 2 3s186ms 1s593ms 14 2 3s151ms 1s575ms 15 2 3s142ms 1s571ms 16 1 1s281ms 1s281ms 18 2 3s654ms 1s827ms 19 1 1s856ms 1s856ms 20 2 3s149ms 1s574ms 21 2 3s129ms 1s564ms 22 3 6s20ms 2s6ms [ User: pubeu - Total duration: 5m3s - Times executed: 186 ]
-
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 = '1399342') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-02-08 22:17:41 Duration: 2s243ms Database: ctdprd51 User: pubeu 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 = '1399342') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-02-05 13:13:22 Duration: 2s159ms 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 = '1399342') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-02-04 10:33:16 Duration: 2s21ms Bind query: yes
5 572 12m11s 1s172ms 1s744ms 1s279ms 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 #5
Day Hour Count Duration Avg duration Feb 02 00 6 8s252ms 1s375ms 01 8 10s572ms 1s321ms 02 4 5s309ms 1s327ms 03 3 4s445ms 1s481ms 04 3 3s903ms 1s301ms 05 3 4s474ms 1s491ms 06 2 2s656ms 1s328ms 07 3 3s902ms 1s300ms 08 7 8s954ms 1s279ms 09 5 6s422ms 1s284ms 10 2 2s552ms 1s276ms 11 6 7s618ms 1s269ms 12 4 5s283ms 1s320ms 13 3 4s144ms 1s381ms 14 4 5s118ms 1s279ms 15 2 2s583ms 1s291ms 16 4 5s210ms 1s302ms 17 6 7s536ms 1s256ms 18 11 13s663ms 1s242ms 19 2 2s540ms 1s270ms 20 3 3s721ms 1s240ms 21 3 3s704ms 1s234ms 22 2 2s641ms 1s320ms 23 11 14s311ms 1s301ms Feb 03 00 5 6s427ms 1s285ms 01 3 3s820ms 1s273ms 02 7 9s141ms 1s305ms 03 4 5s99ms 1s274ms 04 3 3s929ms 1s309ms 05 4 5s296ms 1s324ms 06 2 2s577ms 1s288ms 07 6 7s743ms 1s290ms 08 4 5s235ms 1s308ms 09 3 3s940ms 1s313ms 10 4 5s41ms 1s260ms 11 1 1s282ms 1s282ms 12 5 6s522ms 1s304ms 13 6 7s760ms 1s293ms 14 2 2s596ms 1s298ms 15 7 8s918ms 1s274ms 16 6 7s498ms 1s249ms 17 1 1s257ms 1s257ms 18 2 2s492ms 1s246ms 19 3 3s729ms 1s243ms 20 4 4s998ms 1s249ms 21 4 5s109ms 1s277ms 22 4 5s231ms 1s307ms 23 6 7s840ms 1s306ms Feb 04 00 5 6s535ms 1s307ms 02 3 3s863ms 1s287ms 03 3 3s932ms 1s310ms 04 7 9s251ms 1s321ms 05 4 5s454ms 1s363ms 06 5 6s322ms 1s264ms 07 9 11s736ms 1s304ms 08 3 4s52ms 1s350ms 09 4 5s633ms 1s408ms 10 3 3s812ms 1s270ms 11 7 9s85ms 1s297ms 12 7 8s796ms 1s256ms 13 2 2s598ms 1s299ms 14 3 3s794ms 1s264ms 15 3 3s738ms 1s246ms 16 1 1s256ms 1s256ms 17 3 3s692ms 1s230ms 19 2 2s498ms 1s249ms 20 3 3s697ms 1s232ms 21 3 3s632ms 1s210ms 22 1 1s273ms 1s273ms 23 4 5s140ms 1s285ms Feb 05 00 1 1s287ms 1s287ms 01 3 3s884ms 1s294ms 02 1 1s237ms 1s237ms 03 6 7s680ms 1s280ms 04 1 1s269ms 1s269ms 05 4 5s378ms 1s344ms 06 8 10s159ms 1s269ms 07 3 3s867ms 1s289ms 08 5 6s405ms 1s281ms 09 1 1s276ms 1s276ms 11 8 9s938ms 1s242ms 12 1 1s254ms 1s254ms 13 5 6s66ms 1s213ms 14 2 2s542ms 1s271ms 15 2 2s544ms 1s272ms 18 2 2s456ms 1s228ms 19 1 1s284ms 1s284ms 20 3 3s739ms 1s246ms 21 4 4s950ms 1s237ms 22 4 5s195ms 1s298ms 23 4 5s78ms 1s269ms Feb 06 00 3 3s843ms 1s281ms 01 1 1s279ms 1s279ms 02 2 2s559ms 1s279ms 03 5 6s296ms 1s259ms 04 2 2s587ms 1s293ms 05 3 4s140ms 1s380ms 06 4 5s63ms 1s265ms 07 1 1s251ms 1s251ms 09 2 2s446ms 1s223ms 10 6 7s446ms 1s241ms 11 1 1s211ms 1s211ms 12 2 2s565ms 1s282ms 13 1 1s290ms 1s290ms 14 4 4s844ms 1s211ms 15 3 3s761ms 1s253ms 16 1 1s317ms 1s317ms 17 5 6s103ms 1s220ms 19 5 6s55ms 1s211ms 20 5 6s147ms 1s229ms 21 3 3s747ms 1s249ms 22 2 2s593ms 1s296ms 23 5 6s569ms 1s313ms Feb 07 00 4 5s74ms 1s268ms 01 2 2s521ms 1s260ms 02 3 3s798ms 1s266ms 03 9 11s311ms 1s256ms 04 2 2s688ms 1s344ms 05 4 5s368ms 1s342ms 06 1 1s240ms 1s240ms 07 3 3s795ms 1s265ms 08 6 7s476ms 1s246ms 09 1 1s281ms 1s281ms 12 1 1s201ms 1s201ms 13 1 1s246ms 1s246ms 14 2 2s501ms 1s250ms 15 5 6s169ms 1s233ms 16 4 4s933ms 1s233ms 17 1 1s252ms 1s252ms 18 2 2s502ms 1s251ms 19 3 3s806ms 1s268ms 20 8 9s972ms 1s246ms 21 10 12s378ms 1s237ms 22 2 2s498ms 1s249ms 23 8 10s68ms 1s258ms Feb 08 00 1 1s256ms 1s256ms 01 6 7s572ms 1s262ms 02 2 2s605ms 1s302ms 03 5 6s280ms 1s256ms 04 3 3s975ms 1s325ms 05 4 5s208ms 1s302ms 06 3 3s797ms 1s265ms 07 1 1s233ms 1s233ms 08 5 6s273ms 1s254ms 09 2 2s525ms 1s262ms 10 1 1s290ms 1s290ms 12 1 1s372ms 1s372ms 13 2 2s456ms 1s228ms 14 5 6s180ms 1s236ms 15 1 1s246ms 1s246ms 16 5 6s268ms 1s253ms 18 2 2s545ms 1s272ms 19 3 3s823ms 1s274ms 21 8 10s438ms 1s304ms 22 6 7s654ms 1s275ms 23 1 1s245ms 1s245ms [ User: pubeu - Total duration: 2m47s - Times executed: 130 ]
[ User: qaeu - Total duration: 8s467ms - Times executed: 6 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1253458') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1253458') 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: 2025-02-04 09:51:03 Duration: 1s744ms 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 = '1257149') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1257149') 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: 2025-02-02 03:19:34 Duration: 1s613ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1260534') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1260534') 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: 2025-02-02 00:41:54 Duration: 1s549ms Database: ctdprd51 User: pubeu Bind query: yes
6 470 11m44s 1s466ms 1s716ms 1s498ms 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 #6
Day Hour Count Duration Avg duration Feb 02 00 8 11s977ms 1s497ms 01 14 20s930ms 1s495ms 02 5 7s553ms 1s510ms 03 6 9s1ms 1s500ms 04 6 8s970ms 1s495ms 05 7 10s498ms 1s499ms 06 6 8s968ms 1s494ms 07 4 5s970ms 1s492ms 08 6 9s131ms 1s521ms 09 8 12s6ms 1s500ms 10 10 14s975ms 1s497ms 11 5 7s538ms 1s507ms 12 5 7s484ms 1s496ms 13 3 4s522ms 1s507ms 14 3 4s469ms 1s489ms 15 3 4s594ms 1s531ms 16 1 1s520ms 1s520ms 17 3 4s471ms 1s490ms 18 4 6s14ms 1s503ms 19 3 4s431ms 1s477ms 20 5 7s466ms 1s493ms 21 6 8s891ms 1s481ms 22 5 7s542ms 1s508ms 23 4 5s982ms 1s495ms Feb 03 00 5 7s455ms 1s491ms 01 1 1s483ms 1s483ms 02 6 8s990ms 1s498ms 03 1 1s477ms 1s477ms 04 4 5s973ms 1s493ms 05 5 7s583ms 1s516ms 06 6 9s9ms 1s501ms 07 4 5s958ms 1s489ms 09 4 6s115ms 1s528ms 10 1 1s497ms 1s497ms 11 6 8s948ms 1s491ms 12 3 4s472ms 1s490ms 13 2 3s37ms 1s518ms 14 3 4s489ms 1s496ms 15 1 1s496ms 1s496ms 16 3 4s489ms 1s496ms 17 1 1s497ms 1s497ms 18 1 1s503ms 1s503ms 19 3 4s461ms 1s487ms 20 1 1s495ms 1s495ms 21 4 5s964ms 1s491ms 22 4 5s981ms 1s495ms 23 3 4s475ms 1s491ms Feb 04 00 4 6s25ms 1s506ms 01 5 7s482ms 1s496ms 02 3 4s468ms 1s489ms 03 4 5s979ms 1s494ms 04 4 5s983ms 1s495ms 05 6 9s26ms 1s504ms 06 4 6s2ms 1s500ms 07 4 5s983ms 1s495ms 08 3 4s524ms 1s508ms 09 3 4s563ms 1s521ms 10 5 7s559ms 1s511ms 11 2 2s995ms 1s497ms 12 7 10s513ms 1s501ms 13 1 1s634ms 1s634ms 14 1 1s493ms 1s493ms 15 3 4s482ms 1s494ms 16 1 1s488ms 1s488ms 17 4 5s946ms 1s486ms 18 3 4s488ms 1s496ms 19 5 7s465ms 1s493ms 20 3 4s496ms 1s498ms 21 2 2s975ms 1s487ms 22 3 4s470ms 1s490ms 23 1 1s482ms 1s482ms Feb 05 00 2 2s966ms 1s483ms 01 7 10s476ms 1s496ms 02 8 11s960ms 1s495ms 03 5 7s692ms 1s538ms 04 4 5s948ms 1s487ms 05 5 7s483ms 1s496ms 06 4 6s16ms 1s504ms 07 3 4s455ms 1s485ms 08 3 4s535ms 1s511ms 09 2 2s977ms 1s488ms 10 2 2s969ms 1s484ms 11 2 3s67ms 1s533ms 12 2 2s976ms 1s488ms 13 5 7s460ms 1s492ms 14 4 5s956ms 1s489ms 15 3 4s477ms 1s492ms 16 2 2s967ms 1s483ms 17 2 2s985ms 1s492ms 18 3 4s475ms 1s491ms 19 3 4s512ms 1s504ms 20 1 1s487ms 1s487ms 22 2 2s975ms 1s487ms Feb 06 00 1 1s475ms 1s475ms 02 3 4s567ms 1s522ms 03 4 5s926ms 1s481ms 05 4 5s986ms 1s496ms 06 1 1s527ms 1s527ms 09 4 5s971ms 1s492ms 11 1 1s497ms 1s497ms 12 2 2s985ms 1s492ms 13 2 2s982ms 1s491ms 14 1 1s510ms 1s510ms 15 1 1s479ms 1s479ms 16 2 2s985ms 1s492ms 17 3 4s474ms 1s491ms 18 1 1s486ms 1s486ms 19 3 4s455ms 1s485ms 20 1 1s496ms 1s496ms 21 2 3s8ms 1s504ms 23 4 5s975ms 1s493ms Feb 07 00 2 2s974ms 1s487ms 01 1 1s539ms 1s539ms 02 1 1s485ms 1s485ms 04 3 4s469ms 1s489ms 05 5 7s541ms 1s508ms 06 1 1s492ms 1s492ms 09 2 2s994ms 1s497ms 10 2 2s967ms 1s483ms 11 2 2s987ms 1s493ms 12 3 4s462ms 1s487ms 14 2 3s10ms 1s505ms 16 3 4s485ms 1s495ms 17 4 6s30ms 1s507ms 18 3 4s426ms 1s475ms 19 1 1s474ms 1s474ms 20 2 2s958ms 1s479ms 21 3 4s443ms 1s481ms 22 3 4s489ms 1s496ms Feb 08 00 1 1s512ms 1s512ms 02 1 1s482ms 1s482ms 03 2 3s53ms 1s526ms 04 2 2s980ms 1s490ms 05 2 2s984ms 1s492ms 06 1 1s483ms 1s483ms 08 1 1s482ms 1s482ms 09 1 1s485ms 1s485ms 12 1 1s518ms 1s518ms 13 7 10s457ms 1s493ms 14 2 2s949ms 1s474ms 15 2 2s983ms 1s491ms 16 1 1s531ms 1s531ms 19 2 3s34ms 1s517ms 21 2 3s13ms 1s506ms 22 2 3s3ms 1s501ms [ User: pubeu - Total duration: 3m22s - Times executed: 135 ]
-
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: 2025-02-05 03:11:08 Duration: 1s716ms 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: 2025-02-04 13:01:44 Duration: 1s634ms 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: 2025-02-02 15:51:38 Duration: 1s620ms Bind query: yes
7 341 23m44s 3s905ms 16s564ms 4s177ms 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 #7
Day Hour Count Duration Avg duration Feb 02 00 1 4s65ms 4s65ms 01 1 4s40ms 4s40ms 02 4 16s226ms 4s56ms 04 3 12s166ms 4s55ms 05 1 4s172ms 4s172ms 06 1 4s18ms 4s18ms 08 1 4s124ms 4s124ms 09 12 48s484ms 4s40ms 16 1 4s524ms 4s524ms 17 1 4s40ms 4s40ms 18 1 4s51ms 4s51ms 19 5 19s968ms 3s993ms 20 2 8s291ms 4s145ms 21 5 20s260ms 4s52ms 22 3 12s126ms 4s42ms 23 1 4s386ms 4s386ms Feb 03 00 3 11s985ms 3s995ms 01 1 4s92ms 4s92ms 02 1 4s198ms 4s198ms 03 5 20s224ms 4s44ms 04 3 12s243ms 4s81ms 05 2 8s128ms 4s64ms 06 2 8s170ms 4s85ms 07 1 4s70ms 4s70ms 08 2 8s386ms 4s193ms 09 2 8s53ms 4s26ms 10 3 12s684ms 4s228ms 11 3 12s895ms 4s298ms 12 2 8s142ms 4s71ms 13 5 20s180ms 4s36ms 14 5 20s195ms 4s39ms 15 6 24s207ms 4s34ms 16 2 8s152ms 4s76ms 18 1 4s85ms 4s85ms 23 5 20s423ms 4s84ms Feb 04 00 5 20s267ms 4s53ms 01 7 28s846ms 4s120ms 02 1 4s37ms 4s37ms 03 5 21s865ms 4s373ms 04 3 12s131ms 4s43ms 05 1 4s119ms 4s119ms 07 1 4s333ms 4s333ms 08 2 8s253ms 4s126ms 09 1 4s183ms 4s183ms 11 11 57s99ms 5s190ms 12 3 12s512ms 4s170ms 14 1 4s306ms 4s306ms 15 3 12s538ms 4s179ms 16 2 8s176ms 4s88ms 17 1 3s990ms 3s990ms 18 1 3s989ms 3s989ms 19 4 16s242ms 4s60ms 20 2 8s989ms 4s494ms 22 6 24s458ms 4s76ms 23 1 4s174ms 4s174ms Feb 05 01 1 4s32ms 4s32ms 02 4 16s531ms 4s132ms 03 3 12s135ms 4s45ms 06 2 8s355ms 4s177ms 09 1 4s13ms 4s13ms 11 1 5s706ms 5s706ms 12 1 4s12ms 4s12ms 13 2 8s426ms 4s213ms 15 1 4s137ms 4s137ms 17 1 3s981ms 3s981ms 18 2 8s47ms 4s23ms 19 4 16s184ms 4s46ms 20 1 4s11ms 4s11ms 21 2 8s322ms 4s161ms 22 6 24s941ms 4s156ms 23 9 36s889ms 4s98ms Feb 06 00 2 8s31ms 4s15ms 01 2 8s560ms 4s280ms 02 2 20s536ms 10s268ms 03 2 8s191ms 4s95ms 04 1 3s987ms 3s987ms 05 4 16s245ms 4s61ms 06 1 4s20ms 4s20ms 07 1 4s16ms 4s16ms 08 4 15s981ms 3s995ms 09 3 11s977ms 3s992ms 10 4 16s374ms 4s93ms 11 6 24s342ms 4s57ms 12 9 36s447ms 4s49ms 13 7 28s871ms 4s124ms 14 15 1m2s 4s181ms 15 10 40s588ms 4s58ms 17 1 4s23ms 4s23ms 20 2 8s25ms 4s12ms 21 1 4s111ms 4s111ms 22 2 8s381ms 4s190ms 23 5 21s189ms 4s237ms Feb 07 00 1 4s147ms 4s147ms 04 3 12s385ms 4s128ms 05 1 4s174ms 4s174ms 07 2 8s30ms 4s15ms 09 1 4s22ms 4s22ms 10 2 8s40ms 4s20ms 11 4 18s441ms 4s610ms 12 2 8s89ms 4s44ms 13 5 20s618ms 4s123ms 14 6 24s506ms 4s84ms 15 2 8s144ms 4s72ms 16 3 12s176ms 4s58ms 17 1 3s995ms 3s995ms 22 1 4s132ms 4s132ms Feb 08 00 5 20s118ms 4s23ms 01 1 3s982ms 3s982ms 03 1 3s993ms 3s993ms 04 2 8s110ms 4s55ms 06 4 16s57ms 4s14ms 07 1 3s992ms 3s992ms 08 1 4s130ms 4s130ms 13 1 3s944ms 3s944ms 20 2 8s283ms 4s141ms 21 5 20s561ms 4s112ms 23 1 3s963ms 3s963ms [ User: pubeu - Total duration: 7m42s - Times executed: 112 ]
-
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 = '1399342') 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 = '1399342') 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: 2025-02-06 02:54:30 Duration: 16s564ms 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 = '1437508') 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 = '1437508') 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: 2025-02-04 11:29:02 Duration: 8s603ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1437508') 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 = '1437508') 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: 2025-02-04 11:29:10 Duration: 8s439ms Bind query: yes
8 304 15m30s 1s5ms 11s469ms 3s62ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Feb 02 00 3 5s848ms 1s949ms 01 4 19s268ms 4s817ms 02 2 4s195ms 2s97ms 03 1 1s702ms 1s702ms 04 1 5s281ms 5s281ms 05 3 12s926ms 4s308ms 06 1 1s672ms 1s672ms 07 1 3s322ms 3s322ms 08 2 6s32ms 3s16ms 09 1 2s680ms 2s680ms 11 2 5s688ms 2s844ms 12 2 8s432ms 4s216ms 13 2 5s626ms 2s813ms 14 2 7s186ms 3s593ms 15 1 1s229ms 1s229ms 16 3 6s163ms 2s54ms 17 1 3s839ms 3s839ms 18 3 8s635ms 2s878ms 19 1 2s446ms 2s446ms 20 2 6s133ms 3s66ms 21 2 7s106ms 3s553ms 22 1 4s872ms 4s872ms Feb 03 00 1 1s163ms 1s163ms 01 1 4s600ms 4s600ms 02 1 3s123ms 3s123ms 03 3 15s192ms 5s64ms 04 2 3s401ms 1s700ms 06 1 5s608ms 5s608ms 07 3 9s548ms 3s182ms 09 4 19s749ms 4s937ms 10 3 5s60ms 1s686ms 11 2 11s479ms 5s739ms 12 2 10s732ms 5s366ms 13 1 2s480ms 2s480ms 14 3 7s27ms 2s342ms 15 4 16s688ms 4s172ms 17 1 2s881ms 2s881ms 18 2 8s165ms 4s82ms 19 2 5s730ms 2s865ms 20 4 13s588ms 3s397ms 23 2 5s61ms 2s530ms Feb 04 01 2 2s739ms 1s369ms 02 4 23s153ms 5s788ms 03 3 9s927ms 3s309ms 04 3 15s188ms 5s62ms 05 1 2s439ms 2s439ms 06 3 9s978ms 3s326ms 07 4 8s999ms 2s249ms 08 2 2s276ms 1s138ms 09 3 6s371ms 2s123ms 10 3 4s213ms 1s404ms 11 3 7s453ms 2s484ms 12 4 13s113ms 3s278ms 13 3 6s602ms 2s200ms 14 2 10s866ms 5s433ms 15 2 3s838ms 1s919ms 16 2 4s424ms 2s212ms 17 3 15s218ms 5s72ms 19 3 5s284ms 1s761ms 20 5 8s828ms 1s765ms 21 1 5s683ms 5s683ms 22 2 3s232ms 1s616ms 23 2 8s189ms 4s94ms Feb 05 00 1 6s116ms 6s116ms 01 4 7s329ms 1s832ms 02 3 4s783ms 1s594ms 03 2 3s866ms 1s933ms 04 1 2s392ms 2s392ms 05 1 3s784ms 3s784ms 06 2 9s143ms 4s571ms 07 3 10s366ms 3s455ms 09 2 3s520ms 1s760ms 10 2 9s523ms 4s761ms 11 1 2s451ms 2s451ms 12 2 9s66ms 4s533ms 13 2 8s86ms 4s43ms 14 1 1s216ms 1s216ms 15 3 9s554ms 3s184ms 16 1 5s76ms 5s76ms 18 1 2s597ms 2s597ms 19 1 2s402ms 2s402ms 20 1 2s476ms 2s476ms 21 1 6s463ms 6s463ms 22 2 16s311ms 8s155ms Feb 06 00 1 2s615ms 2s615ms 01 1 6s179ms 6s179ms 02 3 5s11ms 1s670ms 03 9 27s220ms 3s24ms 04 1 2s379ms 2s379ms 05 2 7s457ms 3s728ms 07 1 2s601ms 2s601ms 09 6 14s396ms 2s399ms 10 2 7s408ms 3s704ms 11 2 5s505ms 2s752ms 12 1 1s51ms 1s51ms 13 4 11s965ms 2s991ms 14 3 6s121ms 2s40ms 16 4 12s586ms 3s146ms 18 2 2s617ms 1s308ms 19 1 5s612ms 5s612ms 20 1 5s347ms 5s347ms 21 3 11s891ms 3s963ms Feb 07 00 2 7s173ms 3s586ms 01 1 2s413ms 2s413ms 02 1 2s758ms 2s758ms 03 1 1s38ms 1s38ms 04 4 7s938ms 1s984ms 06 1 2s633ms 2s633ms 07 3 6s988ms 2s329ms 08 1 2s170ms 2s170ms 09 1 1s229ms 1s229ms 10 2 2s470ms 1s235ms 11 1 2s383ms 2s383ms 12 1 2s641ms 2s641ms 13 2 2s737ms 1s368ms 14 1 1s198ms 1s198ms 15 1 5s630ms 5s630ms 16 1 3s56ms 3s56ms 17 1 1s788ms 1s788ms 18 1 1s465ms 1s465ms 21 1 2s438ms 2s438ms 22 2 17s728ms 8s864ms 23 3 5s607ms 1s869ms Feb 08 00 2 2s164ms 1s82ms 01 5 8s714ms 1s742ms 02 1 2s189ms 2s189ms 03 4 11s714ms 2s928ms 04 2 2s286ms 1s143ms 05 3 8s700ms 2s900ms 06 5 14s174ms 2s834ms 07 2 4s172ms 2s86ms 08 3 7s427ms 2s475ms 09 4 8s932ms 2s233ms 13 1 2s581ms 2s581ms 16 2 8s65ms 4s32ms 17 3 13s498ms 4s499ms 19 1 6s486ms 6s486ms 21 1 6s13ms 6s13ms 22 2 5s95ms 2s547ms 23 4 11s133ms 2s783ms [ User: pubeu - Total duration: 4m15s - Times executed: 80 ]
-
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 = '2091965') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-02-07 22:17:55 Duration: 11s469ms 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 = '2091965') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-02-03 03:01:27 Duration: 11s300ms 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 = '2091965') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-02-03 09:07:30 Duration: 11s267ms Bind query: yes
9 290 6m16s 1s172ms 1s590ms 1s298ms 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 #9
Day Hour Count Duration Avg duration Feb 02 00 4 5s685ms 1s421ms 01 3 4s79ms 1s359ms 03 2 2s686ms 1s343ms 04 1 1s343ms 1s343ms 05 3 4s119ms 1s373ms 06 2 2s623ms 1s311ms 07 1 1s311ms 1s311ms 08 5 6s686ms 1s337ms 09 1 1s249ms 1s249ms 10 5 6s782ms 1s356ms 11 2 2s574ms 1s287ms 12 3 3s863ms 1s287ms 13 3 3s894ms 1s298ms 16 4 5s134ms 1s283ms 18 2 2s517ms 1s258ms 20 1 1s283ms 1s283ms 21 4 4s916ms 1s229ms 23 4 5s233ms 1s308ms Feb 03 00 3 3s914ms 1s304ms 01 1 1s309ms 1s309ms 02 1 1s248ms 1s248ms 03 1 1s277ms 1s277ms 04 2 2s577ms 1s288ms 05 3 4s99ms 1s366ms 06 1 1s311ms 1s311ms 07 1 1s282ms 1s282ms 08 1 1s265ms 1s265ms 09 1 1s342ms 1s342ms 10 1 1s306ms 1s306ms 11 2 2s654ms 1s327ms 12 4 5s128ms 1s282ms 13 3 4s83ms 1s361ms 14 7 8s956ms 1s279ms 15 3 3s664ms 1s221ms 16 1 1s534ms 1s534ms 20 3 3s857ms 1s285ms 21 2 2s615ms 1s307ms 22 4 5s285ms 1s321ms 23 2 2s546ms 1s273ms Feb 04 00 1 1s272ms 1s272ms 01 1 1s333ms 1s333ms 02 1 1s376ms 1s376ms 03 4 5s370ms 1s342ms 04 3 3s887ms 1s295ms 05 4 5s594ms 1s398ms 06 5 6s381ms 1s276ms 07 2 2s613ms 1s306ms 08 2 2s823ms 1s411ms 09 1 1s462ms 1s462ms 10 1 1s322ms 1s322ms 11 3 3s742ms 1s247ms 13 2 2s684ms 1s342ms 14 3 3s791ms 1s263ms 15 1 1s186ms 1s186ms 16 4 5s321ms 1s330ms 17 1 1s182ms 1s182ms 18 2 2s457ms 1s228ms 19 1 1s246ms 1s246ms 21 4 4s902ms 1s225ms 22 1 1s546ms 1s546ms Feb 05 00 1 1s283ms 1s283ms 02 1 1s288ms 1s288ms 04 5 6s393ms 1s278ms 05 3 4s51ms 1s350ms 06 5 6s419ms 1s283ms 07 3 3s901ms 1s300ms 08 6 7s739ms 1s289ms 09 3 4s108ms 1s369ms 10 1 1s226ms 1s226ms 11 3 3s724ms 1s241ms 13 2 2s501ms 1s250ms 14 5 6s455ms 1s291ms 15 1 1s262ms 1s262ms 16 1 1s205ms 1s205ms 19 2 2s512ms 1s256ms 20 1 1s265ms 1s265ms 21 1 1s247ms 1s247ms 22 4 5s356ms 1s339ms 23 3 3s727ms 1s242ms Feb 06 00 2 2s610ms 1s305ms 02 1 1s206ms 1s206ms 03 1 1s258ms 1s258ms 04 3 3s801ms 1s267ms 05 3 4s161ms 1s387ms 06 2 2s506ms 1s253ms 08 1 1s200ms 1s200ms 09 1 1s177ms 1s177ms 11 1 1s312ms 1s312ms 12 1 1s186ms 1s186ms 13 1 1s197ms 1s197ms 14 2 2s551ms 1s275ms 15 2 2s514ms 1s257ms 17 2 2s564ms 1s282ms 18 2 2s458ms 1s229ms 20 2 2s492ms 1s246ms 22 1 1s299ms 1s299ms 23 2 2s708ms 1s354ms Feb 07 00 1 1s323ms 1s323ms 01 1 1s308ms 1s308ms 02 4 5s147ms 1s286ms 04 3 3s906ms 1s302ms 05 3 4s34ms 1s344ms 06 1 1s289ms 1s289ms 07 1 1s281ms 1s281ms 08 3 3s740ms 1s246ms 09 1 1s279ms 1s279ms 11 1 1s253ms 1s253ms 17 1 1s318ms 1s318ms 18 1 1s254ms 1s254ms 19 1 1s245ms 1s245ms 21 2 2s519ms 1s259ms 22 2 2s623ms 1s311ms 23 3 3s811ms 1s270ms Feb 08 00 1 1s236ms 1s236ms 01 3 3s677ms 1s225ms 02 1 1s244ms 1s244ms 03 4 5s202ms 1s300ms 04 1 1s287ms 1s287ms 05 4 5s316ms 1s329ms 06 1 1s370ms 1s370ms 07 5 6s340ms 1s268ms 09 1 1s285ms 1s285ms 10 1 1s586ms 1s586ms 12 1 1s399ms 1s399ms 13 2 2s503ms 1s251ms 14 1 1s281ms 1s281ms 15 1 1s184ms 1s184ms 16 2 2s480ms 1s240ms 17 1 1s487ms 1s487ms 19 1 1s331ms 1s331ms 20 1 1s284ms 1s284ms 22 3 3s821ms 1s273ms 23 1 1s234ms 1s234ms [ User: pubeu - Total duration: 1m26s - Times executed: 66 ]
-
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 = '2091682') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2091682') 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: 2025-02-02 00:56:55 Duration: 1s590ms 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 = '2084367') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2084367') 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: 2025-02-08 10:54:57 Duration: 1s586ms 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 = '2086663') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2086663') 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: 2025-02-04 22:17:50 Duration: 1s546ms Bind query: yes
10 256 17m29s 1s 6s505ms 4s101ms 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 #10
Day Hour Count Duration Avg duration Feb 02 01 1 5s350ms 5s350ms 02 4 16s322ms 4s80ms 03 7 35s532ms 5s76ms 04 4 16s626ms 4s156ms 05 2 10s773ms 5s386ms 06 1 5s248ms 5s248ms 07 2 2s28ms 1s14ms 08 2 6s388ms 3s194ms 10 2 10s373ms 5s186ms 11 2 6s266ms 3s133ms 12 1 1s14ms 1s14ms 13 1 5s193ms 5s193ms 14 3 11s309ms 3s769ms 15 3 3s113ms 1s37ms 16 3 15s954ms 5s318ms 17 1 4s859ms 4s859ms 18 6 22s476ms 3s746ms 19 2 10s383ms 5s191ms 21 1 4s998ms 4s998ms 22 2 6s69ms 3s34ms Feb 03 01 1 5s91ms 5s91ms 02 2 10s367ms 5s183ms 03 4 20s745ms 5s186ms 04 1 5s66ms 5s66ms 05 1 5s399ms 5s399ms 06 2 6s606ms 3s303ms 07 1 5s90ms 5s90ms 09 1 5s172ms 5s172ms 11 1 5s7ms 5s7ms 12 2 5s840ms 2s920ms 14 1 5s265ms 5s265ms 15 4 20s744ms 5s186ms 16 1 6s421ms 6s421ms 17 1 1s30ms 1s30ms 18 2 6s237ms 3s118ms 19 4 16s393ms 4s98ms 20 10 39s230ms 3s923ms 21 1 1s40ms 1s40ms 22 2 10s517ms 5s258ms 23 4 16s295ms 4s73ms Feb 04 00 1 4s856ms 4s856ms 01 2 10s359ms 5s179ms 02 1 5s440ms 5s440ms 03 4 20s359ms 5s89ms 04 1 1s32ms 1s32ms 05 1 5s700ms 5s700ms 06 1 5s514ms 5s514ms 09 2 6s543ms 3s271ms 10 2 7s107ms 3s553ms 11 3 3s277ms 1s92ms 12 1 4s968ms 4s968ms 15 2 2s22ms 1s11ms 17 3 15s811ms 5s270ms 18 2 10s458ms 5s229ms 19 1 5s467ms 5s467ms 20 7 32s341ms 4s620ms 22 1 5s318ms 5s318ms Feb 05 00 2 10s608ms 5s304ms 01 1 5s376ms 5s376ms 02 2 10s56ms 5s28ms 04 1 5s404ms 5s404ms 05 2 10s325ms 5s162ms 06 1 4s814ms 4s814ms 08 4 20s751ms 5s187ms 09 3 15s190ms 5s63ms 11 1 5s140ms 5s140ms 12 3 11s299ms 3s766ms 13 2 10s673ms 5s336ms 14 2 6s141ms 3s70ms 15 1 5s161ms 5s161ms 16 1 4s870ms 4s870ms 17 1 1s2ms 1s2ms 18 2 5s975ms 2s987ms 19 2 2s45ms 1s22ms 20 6 22s628ms 3s771ms 22 6 23s383ms 3s897ms Feb 06 00 1 5s380ms 5s380ms 01 4 20s330ms 5s82ms 03 3 7s255ms 2s418ms 04 2 10s462ms 5s231ms 06 1 5s922ms 5s922ms 08 1 1s50ms 1s50ms 09 2 6s207ms 3s103ms 10 1 5s848ms 5s848ms 11 2 6s389ms 3s194ms 12 3 7s530ms 2s510ms 14 3 18s261ms 6s87ms 15 1 5s370ms 5s370ms 16 1 5s482ms 5s482ms 18 1 1s44ms 1s44ms 20 6 23s765ms 3s960ms 21 4 17s510ms 4s377ms 22 1 5s632ms 5s632ms 23 1 4s933ms 4s933ms Feb 07 04 4 16s268ms 4s67ms 05 1 1s27ms 1s27ms 10 3 11s437ms 3s812ms 13 1 5s127ms 5s127ms 15 1 5s163ms 5s163ms 16 2 2s70ms 1s35ms 19 1 1s29ms 1s29ms 20 1 5s430ms 5s430ms 23 1 5s3ms 5s3ms Feb 08 00 2 6s575ms 3s287ms 01 1 5s178ms 5s178ms 02 1 5s3ms 5s3ms 03 4 8s20ms 2s5ms 05 5 21s732ms 4s346ms 06 1 5s626ms 5s626ms 07 1 5s492ms 5s492ms 09 1 5s256ms 5s256ms 10 1 6s505ms 6s505ms 13 1 4s928ms 4s928ms 15 1 4s931ms 4s931ms 16 3 15s127ms 5s42ms 17 2 2s41ms 1s20ms 18 1 1s44ms 1s44ms 21 2 5s896ms 2s948ms 22 1 5s304ms 5s304ms 23 1 5s3ms 5s3ms [ User: pubeu - Total duration: 4m31s - Times executed: 67 ]
-
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 = '1388977' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-02-08 10:03:10 Duration: 6s505ms 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 = '1331060' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-02-06 14:52:18 Duration: 6s492ms 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 = '1442753' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-02-03 16:31:21 Duration: 6s421ms Database: ctdprd51 User: pubeu Bind query: yes
11 223 4h54m5s 1s413ms 17m55s 1m19s 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 #11
Day Hour Count Duration Avg duration Feb 02 00 1 1s644ms 1s644ms 01 3 10m22s 3m27s 02 2 5s284ms 2s642ms 03 2 3m36s 1m48s 04 2 3s266ms 1s633ms 05 1 3m31s 3m31s 06 2 5m26s 2m43s 07 2 6s658ms 3s329ms 08 2 4m1s 2m 09 3 6s789ms 2s263ms 10 4 4m49s 1m12s 11 1 1s619ms 1s619ms 12 3 4m10s 1m23s 13 2 3s375ms 1s687ms 14 1 1s665ms 1s665ms 15 1 1s519ms 1s519ms 16 1 1s758ms 1s758ms 17 2 1m18s 39s93ms 19 1 1s498ms 1s498ms Feb 03 00 3 5s256ms 1s752ms 03 2 5s69ms 2s534ms 04 4 3m50s 57s722ms 06 1 2s124ms 2s124ms 07 2 2m16s 1m8s 08 4 6m19s 1m34s 10 1 2s171ms 2s171ms 11 3 23m10s 7m43s 13 5 8m13s 1m38s 14 4 9s554ms 2s388ms 15 1 2m7s 2m7s 16 1 3s353ms 3s353ms 17 1 5m35s 5m35s 18 3 7s467ms 2s489ms 19 1 2s497ms 2s497ms 20 2 5s75ms 2s537ms 21 1 1s572ms 1s572ms Feb 04 00 5 9m 1m48s 01 4 5m29s 1m22s 02 1 3s361ms 3s361ms 03 4 5m45s 1m26s 04 1 17m49s 17m49s 05 3 1m52s 37s347ms 06 3 1m25s 28s449ms 07 2 3m4s 1m32s 08 2 3m18s 1m39s 09 2 3s357ms 1s678ms 10 3 11m34s 3m51s 11 1 1s499ms 1s499ms 14 2 4m44s 2m22s 15 1 1s529ms 1s529ms 16 1 2s37ms 2s37ms 17 1 3s270ms 3s270ms 18 5 4m14s 50s924ms 19 5 7m43s 1m32s 20 3 2m57s 59s223ms 21 1 3s268ms 3s268ms 22 1 3s304ms 3s304ms 23 1 5m17s 5m17s Feb 05 00 2 4s6ms 2s3ms 01 2 8m9s 4m4s 02 3 6s302ms 2s100ms 03 3 5s824ms 1s941ms 04 3 7m44s 2m34s 05 1 2s438ms 2s438ms 06 2 4s819ms 2s409ms 09 1 3s274ms 3s274ms 10 1 2s14ms 2s14ms 11 1 3m15s 3m15s 12 1 3s204ms 3s204ms 13 3 4m28s 1m29s 14 2 5s379ms 2s689ms 15 2 5m11s 2m35s 16 3 6s212ms 2s70ms 17 2 3s187ms 1s593ms 19 2 3s329ms 1s664ms 20 3 2m11s 43s987ms 22 2 4m48s 2m24s Feb 06 01 1 1s532ms 1s532ms 03 3 7s354ms 2s451ms 04 3 7m31s 2m30s 06 2 17m55s 8m57s 08 3 9m26s 3m8s 09 2 5m19s 2m39s 10 1 1s530ms 1s530ms 12 2 49s49ms 24s524ms 13 1 1s831ms 1s831ms 14 1 2s383ms 2s383ms 18 1 3s295ms 3s295ms 20 1 1s629ms 1s629ms 22 2 3s306ms 1s653ms 23 1 6m2s 6m2s Feb 07 03 2 4s971ms 2s485ms 04 1 3m45s 3m45s 05 1 1s453ms 1s453ms 06 1 3s358ms 3s358ms 10 1 1s608ms 1s608ms 11 3 6s256ms 2s85ms 12 1 4m23s 4m23s 13 1 1s472ms 1s472ms 15 2 4m41s 2m20s 20 1 1s961ms 1s961ms 23 2 4m16s 2m8s Feb 08 02 3 6s326ms 2s108ms 03 1 3m33s 3m33s 04 1 2s364ms 2s364ms 05 2 4s913ms 2s456ms 06 1 4m38s 4m38s 07 1 5m20s 5m20s 08 1 1s529ms 1s529ms 10 1 1s658ms 1s658ms 14 1 3m40s 3m40s 16 1 1s413ms 1s413ms 17 1 2s29ms 2s29ms 20 1 2s418ms 2s418ms 21 1 1s448ms 1s448ms 23 1 3s439ms 3s439ms [ User: pubeu - Total duration: 1h22m18s - Times executed: 60 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1245892') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-02-03 11:53:01 Duration: 17m55s 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 = '1245892') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-02-06 06:00:38 Duration: 17m51s 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 = '1245892') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-02-04 04:43:26 Duration: 17m49s Bind query: yes
12 222 8m43s 1s7ms 6s127ms 2s359ms 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 #12
Day Hour Count Duration Avg duration Feb 02 00 3 6s223ms 2s74ms 01 5 11s335ms 2s267ms 02 4 8s976ms 2s244ms 03 4 9s245ms 2s311ms 04 4 10s487ms 2s621ms 05 5 13s369ms 2s673ms 06 3 10s194ms 3s398ms 07 1 1s276ms 1s276ms 08 3 6s176ms 2s58ms 09 3 7s601ms 2s533ms 10 3 5s792ms 1s930ms 11 7 15s143ms 2s163ms 12 2 4s326ms 2s163ms 13 2 7s211ms 3s605ms 14 2 5s744ms 2s872ms 15 1 2s599ms 2s599ms 16 1 1s647ms 1s647ms 17 1 3s395ms 3s395ms 18 2 3s340ms 1s670ms 19 2 4s937ms 2s468ms 20 2 3s969ms 1s984ms 21 4 12s53ms 3s13ms 22 4 11s333ms 2s833ms 23 2 2s880ms 1s440ms Feb 03 00 2 4s768ms 2s384ms 01 1 2s591ms 2s591ms 02 1 2s279ms 2s279ms 04 1 2s74ms 2s74ms 05 1 2s244ms 2s244ms 07 1 1s538ms 1s538ms 08 1 5s798ms 5s798ms 09 3 5s225ms 1s741ms 11 2 3s800ms 1s900ms 12 2 3s546ms 1s773ms 15 2 4s366ms 2s183ms 16 1 1s716ms 1s716ms 17 2 2s328ms 1s164ms 18 3 6s138ms 2s46ms 19 1 2s714ms 2s714ms 20 3 5s444ms 1s814ms 21 2 3s702ms 1s851ms Feb 04 00 2 3s968ms 1s984ms 01 1 1s636ms 1s636ms 03 1 2s784ms 2s784ms 05 5 10s452ms 2s90ms 06 1 2s711ms 2s711ms 09 3 10s650ms 3s550ms 10 6 11s708ms 1s951ms 11 3 6s103ms 2s34ms 12 1 2s248ms 2s248ms 13 1 2s136ms 2s136ms 14 3 5s720ms 1s906ms 16 3 9s487ms 3s162ms 17 2 3s790ms 1s895ms 18 4 12s958ms 3s239ms 21 4 7s441ms 1s860ms 22 2 3s666ms 1s833ms 23 1 5s861ms 5s861ms Feb 05 00 2 3s333ms 1s666ms 02 1 1s661ms 1s661ms 03 1 1s585ms 1s585ms 05 2 4s325ms 2s162ms 06 2 7s979ms 3s989ms 08 2 3s740ms 1s870ms 09 3 6s841ms 2s280ms 11 3 10s701ms 3s567ms 13 1 2s90ms 2s90ms 16 3 4s616ms 1s538ms 17 3 10s227ms 3s409ms 18 1 1s621ms 1s621ms 19 3 5s896ms 1s965ms 20 2 4s911ms 2s455ms 21 1 1s290ms 1s290ms 22 1 2s784ms 2s784ms Feb 06 00 1 5s761ms 5s761ms 03 1 1s273ms 1s273ms 06 1 2s185ms 2s185ms 08 2 4s69ms 2s34ms 11 1 5s822ms 5s822ms 12 1 2s680ms 2s680ms 13 1 2s143ms 2s143ms 14 1 1s654ms 1s654ms 16 2 3s388ms 1s694ms 18 1 1s218ms 1s218ms 19 1 1s625ms 1s625ms 20 1 2s705ms 2s705ms 22 1 2s162ms 2s162ms Feb 07 00 3 9s379ms 3s126ms 01 2 4s728ms 2s364ms 05 1 1s587ms 1s587ms 07 2 3s778ms 1s889ms 09 1 2s804ms 2s804ms 13 1 1s626ms 1s626ms 14 1 5s937ms 5s937ms 16 1 2s171ms 2s171ms 19 1 2s763ms 2s763ms 20 1 2s744ms 2s744ms 22 1 2s70ms 2s70ms 23 1 1s161ms 1s161ms Feb 08 01 1 1s35ms 1s35ms 02 2 5s486ms 2s743ms 05 4 8s744ms 2s186ms 06 1 2s160ms 2s160ms 07 1 1s290ms 1s290ms 08 1 1s652ms 1s652ms 12 1 5s857ms 5s857ms 14 1 1s234ms 1s234ms 16 3 7s202ms 2s400ms 17 1 1s278ms 1s278ms 21 1 1s65ms 1s65ms 23 1 2s801ms 2s801ms [ User: pubeu - Total duration: 2m18s - Times executed: 60 ]
-
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 = '655185' 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 = '655185') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-02-04 09:39:57 Duration: 6s127ms 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 = '655185' 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 = '655185') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-02-04 18:54:57 Duration: 5s952ms 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 = '655185' 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 = '655185') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-02-02 06:17:50 Duration: 5s940ms Bind query: yes
13 214 23m55s 1s12ms 24s50ms 6s708ms select sq.*, count(*) over () fullrowcount from ( select distinct gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid from dag_node gt inner join gene_go_annot gga on gt.object_id = gga.go_term_id inner join term g on gga.gene_id = g.id where gt.id in ( select p.descendant_dag_node_id from dag_path p where p.ancestor_object_id = ?) and gga.is_not = false) sq order by sq.gonmsort, sq.genesymbolsort limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Feb 02 00 3 6s32ms 2s10ms 01 2 4s549ms 2s274ms 02 4 6s131ms 1s532ms 04 2 12s511ms 6s255ms 08 4 15s681ms 3s920ms 11 2 2s858ms 1s429ms 12 1 5s226ms 5s226ms 13 1 3s370ms 3s370ms 14 1 1s300ms 1s300ms 16 1 1s743ms 1s743ms 17 1 1s834ms 1s834ms 18 3 11s264ms 3s754ms 19 2 2s768ms 1s384ms 21 1 22s200ms 22s200ms 22 2 20s817ms 10s408ms 23 1 1s550ms 1s550ms Feb 03 00 3 35s892ms 11s964ms 02 3 26s496ms 8s832ms 03 2 21s307ms 10s653ms 04 1 1s12ms 1s12ms 05 2 12s942ms 6s471ms 06 3 29s777ms 9s925ms 07 1 21s949ms 21s949ms 08 1 1s603ms 1s603ms 09 4 46s904ms 11s726ms 10 5 17s821ms 3s564ms 12 1 17s993ms 17s993ms 14 1 2s226ms 2s226ms 15 4 29s882ms 7s470ms 18 1 3s934ms 3s934ms 21 3 11s664ms 3s888ms 23 3 25s524ms 8s508ms Feb 04 00 2 2s549ms 1s274ms 02 2 4s578ms 2s289ms 03 1 1s664ms 1s664ms 04 3 35s895ms 11s965ms 06 3 9s441ms 3s147ms 07 1 4s18ms 4s18ms 08 2 24s701ms 12s350ms 10 3 28s209ms 9s403ms 12 5 26s563ms 5s312ms 13 2 24s951ms 12s475ms 14 1 1s801ms 1s801ms 15 3 26s304ms 8s768ms 16 3 13s437ms 4s479ms 17 2 38s962ms 19s481ms 18 1 1s82ms 1s82ms 19 2 26s125ms 13s62ms 20 2 39s45ms 19s522ms 21 2 2s684ms 1s342ms 22 1 3s461ms 3s461ms 23 2 23s352ms 11s676ms Feb 05 00 2 4s508ms 2s254ms 01 2 23s436ms 11s718ms 02 2 11s972ms 5s986ms 03 5 23s14ms 4s602ms 04 2 18s689ms 9s344ms 05 4 40s694ms 10s173ms 06 3 41s732ms 13s910ms 07 5 48s527ms 9s705ms 08 1 1s345ms 1s345ms 09 1 1s260ms 1s260ms 10 1 3s370ms 3s370ms 11 3 26s685ms 8s895ms 13 1 2s70ms 2s70ms 14 2 2s836ms 1s418ms 16 1 1s356ms 1s356ms 17 1 1s34ms 1s34ms 18 1 3s455ms 3s455ms 19 1 1s266ms 1s266ms 20 1 1s989ms 1s989ms 21 1 1s508ms 1s508ms Feb 06 00 2 4s351ms 2s175ms 01 1 3s53ms 3s53ms 02 2 34s856ms 17s428ms 03 2 8s686ms 4s343ms 05 1 1s438ms 1s438ms 11 1 7s378ms 7s378ms 13 2 22s625ms 11s312ms 14 2 7s681ms 3s840ms 16 2 2s981ms 1s490ms 20 3 8s374ms 2s791ms 22 1 17s594ms 17s594ms 23 1 21s437ms 21s437ms Feb 07 01 2 6s465ms 3s232ms 02 1 1s514ms 1s514ms 03 1 3s878ms 3s878ms 05 1 1s32ms 1s32ms 06 1 17s406ms 17s406ms 08 1 1s285ms 1s285ms 13 1 3s105ms 3s105ms 14 1 2s91ms 2s91ms 17 1 3s878ms 3s878ms 18 1 1s531ms 1s531ms 19 1 4s547ms 4s547ms 20 1 1s110ms 1s110ms 21 1 1s33ms 1s33ms 22 3 9s111ms 3s37ms 23 1 1s297ms 1s297ms Feb 08 00 1 1s954ms 1s954ms 03 2 24s710ms 12s355ms 04 1 4s528ms 4s528ms 05 3 20s960ms 6s986ms 06 1 1s518ms 1s518ms 07 3 33s998ms 11s332ms 08 1 21s639ms 21s639ms 14 5 45s959ms 9s191ms 15 1 20s997ms 20s997ms 16 1 1s104ms 1s104ms 17 1 10s924ms 10s924ms 19 3 17s535ms 5s845ms 22 1 3s588ms 3s588ms [ User: pubeu - Total duration: 6m36s - Times executed: 52 ]
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1222080') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-02-04 04:33:37 Duration: 24s50ms Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1222080') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-02-04 08:35:45 Duration: 23s639ms Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1222080') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-02-03 09:36:53 Duration: 23s452ms Bind query: yes
14 177 1h39m30s 1s59ms 17m19s 33s732ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Feb 02 04 2 6s783ms 3s391ms 10 1 12s25ms 12s25ms 15 1 3s339ms 3s339ms Feb 03 04 1 1s327ms 1s327ms 07 1 1s833ms 1s833ms 14 1 1s73ms 1s73ms 15 2 2s228ms 1s114ms Feb 04 00 1 7s369ms 7s369ms 02 1 14s138ms 14s138ms 07 3 2m21s 47s186ms 08 4 2m36s 39s205ms 16 1 1s555ms 1s555ms 18 1 1s410ms 1s410ms 20 6 3m51s 38s627ms 21 3 2m13s 44s386ms 23 2 5s112ms 2s556ms Feb 05 00 1 9s425ms 9s425ms 01 7 19s569ms 2s795ms 02 2 3s214ms 1s607ms 03 11 17s776ms 1s616ms 05 1 9s628ms 9s628ms 07 1 5s690ms 5s690ms 08 1 1s206ms 1s206ms 13 2 5s815ms 2s907ms 18 1 5s604ms 5s604ms 22 1 1s585ms 1s585ms Feb 06 01 2 2s517ms 1s258ms 02 4 4s318ms 1s79ms 06 1 16s409ms 16s409ms 07 1 1s379ms 1s379ms 11 2 5s365ms 2s682ms 21 4 30s485ms 7s621ms 22 3 24s85ms 8s28ms Feb 07 07 1 1s774ms 1s774ms 16 1 7s747ms 7s747ms Feb 08 02 1 1s59ms 1s59ms 03 4 15s230ms 3s807ms 04 2 21s19ms 10s509ms 09 30 5m8s 10s267ms 10 15 1h12m13s 4m48s 15 2 11s485ms 5s742ms 16 1 9s613ms 9s613ms 22 41 5m54s 8s634ms 23 3 21s969ms 7s323ms [ User: pubeu - Total duration: 1h25m51s - Times executed: 94 ]
-
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 = '2082608') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-02-08 10:01:47 Duration: 17m19s 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 = '2082608') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-02-08 10:01:54 Duration: 17m8s 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 = '2082608') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-02-08 10:09:52 Duration: 7m58s Database: ctdprd51 User: pubeu Bind query: yes
15 174 17m6s 1s13ms 17s637ms 5s899ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where phenotypeterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and associatedterm.object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Feb 02 00 2 3s742ms 1s871ms 01 3 19s944ms 6s648ms 02 2 5s814ms 2s907ms 03 1 2s635ms 2s635ms 04 1 16s343ms 16s343ms 05 5 14s596ms 2s919ms 06 1 3s643ms 3s643ms 07 1 10s964ms 10s964ms 08 4 14s716ms 3s679ms 09 4 51s801ms 12s950ms 10 2 18s881ms 9s440ms 11 2 7s77ms 3s538ms 12 1 1s370ms 1s370ms 13 1 1s186ms 1s186ms 14 1 3s435ms 3s435ms 15 1 5s467ms 5s467ms 16 1 1s51ms 1s51ms 17 1 1s331ms 1s331ms 18 2 18s521ms 9s260ms 19 1 2s559ms 2s559ms 20 1 16s517ms 16s517ms 23 2 2s412ms 1s206ms Feb 03 01 4 26s945ms 6s736ms 05 1 1s133ms 1s133ms 06 1 16s696ms 16s696ms 07 1 1s116ms 1s116ms 08 1 1s116ms 1s116ms 09 2 15s423ms 7s711ms 10 3 6s993ms 2s331ms 11 3 49s233ms 16s411ms 12 1 11s70ms 11s70ms 14 5 7s322ms 1s464ms 15 3 21s992ms 7s330ms 16 1 5s820ms 5s820ms 17 2 8s407ms 4s203ms 18 1 1s144ms 1s144ms 19 4 18s828ms 4s707ms 20 2 2s420ms 1s210ms 21 1 1s135ms 1s135ms 22 3 18s417ms 6s139ms 23 2 7s268ms 3s634ms Feb 04 01 1 5s858ms 5s858ms 02 1 5s861ms 5s861ms 04 1 16s493ms 16s493ms 06 2 3s721ms 1s860ms 07 2 22s81ms 11s40ms 08 1 1s584ms 1s584ms 10 2 2s666ms 1s333ms 12 3 11s140ms 3s713ms 14 2 12s155ms 6s77ms 15 4 9s572ms 2s393ms 16 2 17s608ms 8s804ms 17 1 1s126ms 1s126ms 19 1 1s270ms 1s270ms 21 3 43s859ms 14s619ms Feb 05 00 1 3s996ms 3s996ms 01 1 16s642ms 16s642ms 02 2 2s101ms 1s50ms 04 2 5s465ms 2s732ms 05 2 15s397ms 7s698ms 06 1 5s425ms 5s425ms 08 1 1s89ms 1s89ms 09 3 35s974ms 11s991ms 11 2 17s205ms 8s602ms 13 2 14s409ms 7s204ms 14 3 17s971ms 5s990ms 18 1 16s105ms 16s105ms 19 2 18s856ms 9s428ms 20 2 20s125ms 10s62ms 21 1 5s843ms 5s843ms 23 1 1s129ms 1s129ms Feb 06 02 1 1s363ms 1s363ms 05 1 16s209ms 16s209ms 08 2 8s32ms 4s16ms 09 1 1s22ms 1s22ms 10 1 2s242ms 2s242ms 11 2 3s322ms 1s661ms 12 1 5s826ms 5s826ms 13 4 8s326ms 2s81ms 14 1 10s899ms 10s899ms 16 1 1s13ms 1s13ms 20 1 1s135ms 1s135ms 21 2 2s398ms 1s199ms 23 1 11s143ms 11s143ms Feb 07 00 1 1s22ms 1s22ms 01 1 17s637ms 17s637ms 05 2 12s715ms 6s357ms 07 1 3s460ms 3s460ms 12 2 17s571ms 8s785ms 14 1 16s312ms 16s312ms 15 1 4s536ms 4s536ms 16 1 4s475ms 4s475ms 17 1 5s456ms 5s456ms 23 1 5s824ms 5s824ms Feb 08 01 1 2s494ms 2s494ms 02 1 5s823ms 5s823ms 06 1 3s985ms 3s985ms 07 2 17s636ms 8s818ms 13 1 15s879ms 15s879ms 14 1 1s22ms 1s22ms 16 1 16s191ms 16s191ms 23 1 2s235ms 2s235ms [ User: pubeu - Total duration: 4m56s - Times executed: 48 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1222080'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-02-07 01:33:46 Duration: 17s637ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1222080'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-02-02 09:11:45 Duration: 17s174ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1222080'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-02-02 09:11:46 Duration: 17s139ms Bind query: yes
16 112 6m21s 1s4ms 40s149ms 3s406ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Feb 02 01 1 1s380ms 1s380ms 14 1 2s708ms 2s708ms 20 1 5s153ms 5s153ms Feb 03 03 1 1s670ms 1s670ms 04 1 2s670ms 2s670ms 16 1 2s82ms 2s82ms 20 1 6s979ms 6s979ms Feb 04 04 1 2s638ms 2s638ms 07 2 3s881ms 1s940ms 08 1 2s134ms 2s134ms 11 2 6s880ms 3s440ms 14 1 2s432ms 2s432ms 15 2 29s146ms 14s573ms 19 9 12s869ms 1s429ms 20 24 1m31s 3s792ms 21 13 32s754ms 2s519ms Feb 05 03 1 2s651ms 2s651ms 05 1 1s452ms 1s452ms 06 1 2s625ms 2s625ms 11 1 1s21ms 1s21ms 15 1 1s63ms 1s63ms 16 1 1s94ms 1s94ms Feb 06 06 6 6s888ms 1s148ms 10 1 2s566ms 2s566ms 13 4 8s742ms 2s185ms 14 1 2s159ms 2s159ms 23 2 4s214ms 2s107ms Feb 07 00 1 1s10ms 1s10ms 04 2 4s403ms 2s201ms 10 1 2s173ms 2s173ms 14 1 1s621ms 1s621ms 20 1 2s306ms 2s306ms 21 1 39s509ms 39s509ms Feb 08 01 1 1s690ms 1s690ms 02 1 2s294ms 2s294ms 08 4 10s791ms 2s697ms 13 1 38s931ms 38s931ms 14 1 1s668ms 1s668ms 15 1 2s133ms 2s133ms 16 1 2s309ms 2s309ms 18 1 2s170ms 2s170ms 20 4 8s764ms 2s191ms 21 2 4s28ms 2s14ms 22 6 14s880ms 2s480ms [ User: pubeu - Total duration: 46s529ms - Times executed: 23 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2086420') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 6331850;
Date: 2025-02-04 20:59:35 Duration: 40s149ms 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 = '2086420') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 6331850;
Date: 2025-02-07 21:07:25 Duration: 39s509ms 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 = '2086420') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 6331850;
Date: 2025-02-08 13:15:48 Duration: 38s931ms Bind query: yes
17 110 4m28s 1s32ms 3s578ms 2s437ms with recursive sub_node ( object_id, id, path, lvl ) as ( select n.object_id, n.id, array[n.nm_sort], ? from dag_node n where n.object_id = ? union all select n.object_id, n.id, cast(path || n.nm_sort as varchar(?)[]), sn.lvl + ? from dag_node n inner join sub_node sn on (n.parent_id = sn.id)) select distinct t.nm prinm, t.nm_html prinmhtml, t.secondary_nm secondarynm, t.acc_db_cd accdbcd, t.acc_txt termacc, t.is_leaf isleaf, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, t.has_genes hasgenes, sn.lvl, sn.path, max(sn.lvl) over () maxlvl, t.has_phenotypes hasphenotypes from sub_node sn inner join term t on sn.object_id = t.id where sn.lvl <= ? order by sn.path;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Feb 02 00 1 2s449ms 2s449ms 01 1 3s473ms 3s473ms 04 1 1s977ms 1s977ms 05 5 10s888ms 2s177ms 06 1 2s595ms 2s595ms 07 1 2s655ms 2s655ms 09 3 8s385ms 2s795ms 11 1 1s984ms 1s984ms 12 4 9s78ms 2s269ms 15 2 4s13ms 2s6ms 17 1 1s925ms 1s925ms 23 1 2s588ms 2s588ms Feb 03 01 1 3s266ms 3s266ms 03 3 7s603ms 2s534ms 05 5 11s297ms 2s259ms 06 1 1s863ms 1s863ms 08 2 5s551ms 2s775ms 11 1 2s893ms 2s893ms 13 1 2s655ms 2s655ms 14 1 1s913ms 1s913ms 15 2 4s6ms 2s3ms 16 2 5s95ms 2s547ms 17 1 3s341ms 3s341ms 19 2 6s685ms 3s342ms 20 1 2s137ms 2s137ms 21 1 2s475ms 2s475ms 22 1 1s944ms 1s944ms 23 1 1s969ms 1s969ms Feb 04 02 1 1s927ms 1s927ms 03 1 3s319ms 3s319ms 05 5 10s826ms 2s165ms 06 1 2s455ms 2s455ms 08 4 9s505ms 2s376ms 09 3 7s226ms 2s408ms 15 1 3s307ms 3s307ms 17 1 3s325ms 3s325ms 20 3 7s302ms 2s434ms 22 1 3s338ms 3s338ms Feb 05 00 1 1s934ms 1s934ms 04 1 3s357ms 3s357ms 05 7 15s128ms 2s161ms 07 1 1s956ms 1s956ms 08 1 1s954ms 1s954ms 10 1 1s871ms 1s871ms 11 3 10s224ms 3s408ms 13 1 1s809ms 1s809ms 14 1 2s182ms 2s182ms 16 1 3s357ms 3s357ms 19 1 3s355ms 3s355ms 21 1 2s444ms 2s444ms Feb 06 03 1 2s200ms 2s200ms 04 1 3s377ms 3s377ms 05 5 12s398ms 2s479ms 14 1 1s978ms 1s978ms 19 1 3s286ms 3s286ms Feb 07 01 1 1s832ms 1s832ms 05 5 10s767ms 2s153ms Feb 08 05 4 8s908ms 2s227ms 12 2 4s595ms 2s297ms [ User: pubeu - Total duration: 1m29s - Times executed: 30 ]
[ User: qaeu - Total duration: 24s95ms - 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 = '594557' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2025-02-04 08:10:53 Duration: 3s578ms 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 = '594557' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2025-02-04 09:14:48 Duration: 3s573ms 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 = '594557' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2025-02-08 12:56:46 Duration: 3s539ms Database: ctdprd51 User: pubeu Bind query: yes
18 78 1m50s 1s308ms 1s584ms 1s417ms 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 #18
Day Hour Count Duration Avg duration Feb 02 04 1 1s394ms 1s394ms 05 2 2s865ms 1s432ms 15 1 1s345ms 1s345ms 21 1 1s308ms 1s308ms Feb 03 00 1 1s503ms 1s503ms 01 2 2s771ms 1s385ms 05 1 1s450ms 1s450ms 07 1 1s467ms 1s467ms 13 7 10s161ms 1s451ms 20 1 1s326ms 1s326ms Feb 04 05 2 2s900ms 1s450ms 07 3 4s321ms 1s440ms 08 1 1s573ms 1s573ms 09 3 4s274ms 1s424ms 13 1 1s455ms 1s455ms 21 1 1s378ms 1s378ms Feb 05 01 1 1s453ms 1s453ms 04 1 1s434ms 1s434ms 05 2 2s832ms 1s416ms 08 3 4s190ms 1s396ms 09 4 5s858ms 1s464ms 21 1 1s368ms 1s368ms Feb 06 00 1 1s446ms 1s446ms 03 1 1s440ms 1s440ms 04 1 1s422ms 1s422ms 05 2 2s724ms 1s362ms 07 2 2s790ms 1s395ms 11 1 1s480ms 1s480ms 15 2 2s754ms 1s377ms 18 1 1s360ms 1s360ms 22 1 1s363ms 1s363ms Feb 07 02 4 5s595ms 1s398ms 04 1 1s388ms 1s388ms 05 2 2s815ms 1s407ms 07 2 2s797ms 1s398ms 09 4 5s534ms 1s383ms 10 1 1s414ms 1s414ms 20 1 1s373ms 1s373ms 22 1 1s422ms 1s422ms Feb 08 00 1 1s386ms 1s386ms 05 2 2s782ms 1s391ms 09 1 1s584ms 1s584ms 12 1 1s460ms 1s460ms 14 1 1s390ms 1s390ms 17 2 2s810ms 1s405ms 21 1 1s394ms 1s394ms [ User: pubeu - Total duration: 28s592ms - Times executed: 20 ]
-
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: 2025-02-08 09:11:50 Duration: 1s584ms 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: 2025-02-04 08:11:10 Duration: 1s573ms 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]', '#') = 'T' ORDER BY t.nm_sort LIMIT 100;
Date: 2025-02-05 09:18:50 Duration: 1s513ms Bind query: yes
19 69 1m51s 1s32ms 2s589ms 1s613ms 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 Feb 02 06 1 2s382ms 2s382ms 11 1 1s659ms 1s659ms 13 1 2s420ms 2s420ms 14 1 1s664ms 1s664ms 15 1 1s153ms 1s153ms 20 1 1s667ms 1s667ms Feb 03 01 1 2s377ms 2s377ms 03 1 1s658ms 1s658ms 04 1 1s450ms 1s450ms 07 1 1s653ms 1s653ms 08 3 5s114ms 1s704ms 12 1 1s628ms 1s628ms 15 1 2s414ms 2s414ms 20 1 1s129ms 1s129ms 23 2 2s805ms 1s402ms Feb 04 01 1 1s158ms 1s158ms 02 1 1s158ms 1s158ms 04 3 5s29ms 1s676ms 08 1 1s310ms 1s310ms 09 1 1s188ms 1s188ms 15 1 1s862ms 1s862ms 16 2 3s872ms 1s936ms 17 1 1s43ms 1s43ms 21 1 1s58ms 1s58ms 22 2 3s149ms 1s574ms 23 2 3s108ms 1s554ms Feb 05 03 2 3s833ms 1s916ms 08 1 1s60ms 1s60ms 09 2 4s673ms 2s336ms 13 1 1s158ms 1s158ms 14 1 1s639ms 1s639ms Feb 06 08 1 1s436ms 1s436ms 17 1 1s668ms 1s668ms Feb 07 00 1 1s188ms 1s188ms 01 1 1s432ms 1s432ms 03 3 3s767ms 1s255ms 06 1 2s274ms 2s274ms 08 1 2s274ms 2s274ms 09 1 1s425ms 1s425ms 10 1 1s141ms 1s141ms 11 1 1s625ms 1s625ms 12 2 2s223ms 1s111ms 13 1 1s437ms 1s437ms 15 1 1s122ms 1s122ms 16 1 2s395ms 2s395ms 17 1 1s212ms 1s212ms 18 1 1s611ms 1s611ms 22 1 1s143ms 1s143ms Feb 08 01 3 5s120ms 1s706ms 03 1 1s646ms 1s646ms 10 1 2s589ms 2s589ms 13 2 3s502ms 1s751ms 17 1 1s608ms 1s608ms [ User: pubeu - Total duration: 21s880ms - Times executed: 15 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2081644') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-02-08 10:17:16 Duration: 2s589ms 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 = '2081644') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-02-04 16:54:43 Duration: 2s434ms 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 = '2081644') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-02-02 13:36:34 Duration: 2s420ms Database: ctdprd51 User: pubeu Bind query: yes
20 58 1m15s 1s268ms 1s374ms 1s297ms select ? "Input", chemicalname AS "ChemicalName", chemicalid AS "ChemicalID", casrn AS "CasRN", phenotypename AS "PhenotypeName", phenotypeid AS "PhenotypeID", interaction AS "Interaction", interactionactions AS "InteractionActions", organismnameandid AS "OrganismName^ID", anatomynameandidandseqnbr AS "AnatomyName^ID^SeqNbr", inferencenetworkterms AS "InferenceNetworkTerms", pubmedids AS "PubMedIDs" from ( select distinct associatedterm.nm as chemicalname, associatedterm.acc_txt as chemicalid, coalesce(associatedterm.secondary_nm, ?) as casrn, phenotypeterm.nm as phenotypename, phenotypeterm.acc_txt as phenotypeid, i.ixn_prose_txt as interaction, i.actions_txt as interactionactions, ( select string_agg(distinct taxonterm.nm || ? || taxonterm.acc_txt, ?)) as organismnameandid, ( select string_agg(distinct anatomyterm.nm || ? || anatomyterm.acc_txt || ? || ia.level_seq, ?)) as anatomynameandidandseqnbr, ( select string_agg(distinct r.acc_txt, ?)) as pubmedids, i.id, ( select string_agg(distinct t.nm, ?) from phenotype_term_reference ptr2, term t where ptr2.via_term_id = t.id and ptr.phenotype_id = ptr2.phenotype_id and ptr.term_id = ptr2.term_id and ptr2.source_cd = ?) as inferencenetworkterms from phenotype_term_reference ptr 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 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 = ?) and ptr.source_cd = ? and ptr.term_object_type_id = ? group by chemicalname, chemicalid, casrn, phenotypename, phenotypeid, i.id, interaction, inferencenetworkterms) as baseline order by chemicalname, phenotypename;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Feb 02 17 24 31s218ms 1s300ms Feb 06 15 10 12s968ms 1s296ms 16 12 15s535ms 1s294ms Feb 08 06 12 15s527ms 1s293ms [ User: pubeu - Total duration: 9s78ms - Times executed: 7 ]
-
select 'resveratrol' "Input", ChemicalName as "ChemicalName", ChemicalID as "ChemicalID", CasRN as "CasRN", PhenotypeName as "PhenotypeName", PhenotypeID as "PhenotypeID", Interaction as "Interaction", InteractionActions as "InteractionActions", OrganismNameAndID as "OrganismName^ID", AnatomyNameAndIDAndSeqNbr as "AnatomyName^ID^SeqNbr", InferenceNetworkTerms as "InferenceNetworkTerms", PubMedIDs as "PubMedIDs" from ( SELECT distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm AS ChemicalName, associatedTerm.acc_txt as ChemicalID, COALESCE(associatedTerm.secondary_nm, '') AS CasRN, phenotypeTerm.nm AS PhenotypeName, phenotypeTerm.acc_txt AS PhenotypeID, i.ixn_prose_txt AS Interaction, i.actions_txt AS InteractionActions, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || taxonTerm.acc_txt, '|')) AS OrganismNameAndID, ( SELECT STRING_AGG(distinct anatomyTerm.nm || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq, '|')) AS AnatomyNameAndIDAndSeqNbr, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) AS PubMedIDs, i.id, ( SELECT STRING_AGG(distinct t.nm, '|') from phenotype_term_reference ptr2, term t where ptr2.via_term_id = t.id and ptr.phenotype_id = ptr2.phenotype_id and ptr.term_id = ptr2.term_id and ptr2.source_cd = 'I') AS InferenceNetworkTerms from phenotype_term_reference ptr 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 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 = 1389219) and ptr.source_cd = 'C' and ptr.term_object_type_id = 2 group by ChemicalName, ChemicalID, CasRN, PhenotypeName, PhenotypeID, i.id, Interaction, InferenceNetworkTerms) as baseline ORDER BY ChemicalName, PhenotypeName;
Date: 2025-02-06 16:14:47 Duration: 1s374ms Bind query: yes
-
select 'resveratrol' "Input", ChemicalName as "ChemicalName", ChemicalID as "ChemicalID", CasRN as "CasRN", PhenotypeName as "PhenotypeName", PhenotypeID as "PhenotypeID", Interaction as "Interaction", InteractionActions as "InteractionActions", OrganismNameAndID as "OrganismName^ID", AnatomyNameAndIDAndSeqNbr as "AnatomyName^ID^SeqNbr", InferenceNetworkTerms as "InferenceNetworkTerms", PubMedIDs as "PubMedIDs" from ( SELECT distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm AS ChemicalName, associatedTerm.acc_txt as ChemicalID, COALESCE(associatedTerm.secondary_nm, '') AS CasRN, phenotypeTerm.nm AS PhenotypeName, phenotypeTerm.acc_txt AS PhenotypeID, i.ixn_prose_txt AS Interaction, i.actions_txt AS InteractionActions, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || taxonTerm.acc_txt, '|')) AS OrganismNameAndID, ( SELECT STRING_AGG(distinct anatomyTerm.nm || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq, '|')) AS AnatomyNameAndIDAndSeqNbr, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) AS PubMedIDs, i.id, ( SELECT STRING_AGG(distinct t.nm, '|') from phenotype_term_reference ptr2, term t where ptr2.via_term_id = t.id and ptr.phenotype_id = ptr2.phenotype_id and ptr.term_id = ptr2.term_id and ptr2.source_cd = 'I') AS InferenceNetworkTerms from phenotype_term_reference ptr 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 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 = 1389219) and ptr.source_cd = 'C' and ptr.term_object_type_id = 2 group by ChemicalName, ChemicalID, CasRN, PhenotypeName, PhenotypeID, i.id, Interaction, InferenceNetworkTerms) as baseline ORDER BY ChemicalName, PhenotypeName;
Date: 2025-02-06 15:46:53 Duration: 1s372ms Bind query: yes
-
select 'resveratrol' "Input", ChemicalName as "ChemicalName", ChemicalID as "ChemicalID", CasRN as "CasRN", PhenotypeName as "PhenotypeName", PhenotypeID as "PhenotypeID", Interaction as "Interaction", InteractionActions as "InteractionActions", OrganismNameAndID as "OrganismName^ID", AnatomyNameAndIDAndSeqNbr as "AnatomyName^ID^SeqNbr", InferenceNetworkTerms as "InferenceNetworkTerms", PubMedIDs as "PubMedIDs" from ( SELECT distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm AS ChemicalName, associatedTerm.acc_txt as ChemicalID, COALESCE(associatedTerm.secondary_nm, '') AS CasRN, phenotypeTerm.nm AS PhenotypeName, phenotypeTerm.acc_txt AS PhenotypeID, i.ixn_prose_txt AS Interaction, i.actions_txt AS InteractionActions, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || taxonTerm.acc_txt, '|')) AS OrganismNameAndID, ( SELECT STRING_AGG(distinct anatomyTerm.nm || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq, '|')) AS AnatomyNameAndIDAndSeqNbr, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) AS PubMedIDs, i.id, ( SELECT STRING_AGG(distinct t.nm, '|') from phenotype_term_reference ptr2, term t where ptr2.via_term_id = t.id and ptr.phenotype_id = ptr2.phenotype_id and ptr.term_id = ptr2.term_id and ptr2.source_cd = 'I') AS InferenceNetworkTerms from phenotype_term_reference ptr 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 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 = 1389219) and ptr.source_cd = 'C' and ptr.term_object_type_id = 2 group by ChemicalName, ChemicalID, CasRN, PhenotypeName, PhenotypeID, i.id, Interaction, InferenceNetworkTerms) as baseline ORDER BY ChemicalName, PhenotypeName;
Date: 2025-02-02 17:40:44 Duration: 1s366ms Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 7h44m30s 7h44m30s 7h44m30s 1 7h44m30s select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in ( select gcr.gene_id from gene_chem_reference gcr where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ? and gd.curated_reference_qty > ?)))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Feb 04 15 1 7h44m30s 7h44m30s -
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'HEART DISEASES' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0)))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2025-02-04 15:16:57 Duration: 7h44m30s Bind query: yes
2 24m21s 24m21s 24m21s 1 24m21s 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 #2
Day Hour Count Duration Avg duration Feb 08 19 1 24m21s 24m21s -
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: 2025-02-08 19:01:24 Duration: 24m21s
3 24m11s 24m11s 24m11s 1 24m11s 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 #3
Day Hour Count Duration Avg duration Feb 08 19 1 24m11s 24m11s -
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: 2025-02-08 19:43:48 Duration: 24m11s
4 23m46s 24m1s 23m54s 7 2h47m19s select maint_query_logs_archive ();Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Feb 02 00 1 23m52s 23m52s Feb 03 00 1 23m46s 23m46s Feb 04 00 1 23m59s 23m59s Feb 05 00 1 24m1s 24m1s Feb 06 00 1 23m53s 23m53s Feb 07 00 1 23m52s 23m52s Feb 08 00 1 23m54s 23m54s -
/* * 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: 2025-02-05 00:24:02 Duration: 24m1s
-
/* * 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: 2025-02-04 00:24:01 Duration: 23m59s
-
/* * 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: 2025-02-08 00:23:56 Duration: 23m54s
5 7m43s 7m43s 7m43s 1 7m43s drop table load.ixn_prose; create table load.ixn_prose as select edit.get_ixn_prose (ri.ixn_id) as ixn_prose_txt, ri.reference_acc_txt, ri.taxon_acc_txt, ri.mod_tm, t.nm from edit.reference_ixn ri, edit.ixn i, edit.ixn_type t where ri.ixn_id = i.id and i.ixn_type_id = t.id;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Feb 04 11 1 7m43s 7m43s [ User: load - Total duration: 7m43s - Times executed: 1 ]
[ Application: pgAdmin 4 - CONN:6812968 - Total duration: 7m43s - Times executed: 1 ]
-
drop table load.ixn_prose; create table load.ixn_prose as select edit.get_ixn_prose (ri.ixn_id) as ixn_prose_txt, ri.reference_acc_txt, ri.taxon_acc_txt, ri.mod_tm, t.nm from edit.reference_ixn ri, edit.ixn i, edit.ixn_type t where ri.ixn_id = i.id and i.ixn_type_id = t.id;
Date: 2025-02-04 11:08:32 Duration: 7m43s Database: ctdprd51 User: load Application: pgAdmin 4 - CONN:6812968
6 1s413ms 17m55s 1m19s 223 4h54m5s 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 Feb 02 00 1 1s644ms 1s644ms 01 3 10m22s 3m27s 02 2 5s284ms 2s642ms 03 2 3m36s 1m48s 04 2 3s266ms 1s633ms 05 1 3m31s 3m31s 06 2 5m26s 2m43s 07 2 6s658ms 3s329ms 08 2 4m1s 2m 09 3 6s789ms 2s263ms 10 4 4m49s 1m12s 11 1 1s619ms 1s619ms 12 3 4m10s 1m23s 13 2 3s375ms 1s687ms 14 1 1s665ms 1s665ms 15 1 1s519ms 1s519ms 16 1 1s758ms 1s758ms 17 2 1m18s 39s93ms 19 1 1s498ms 1s498ms Feb 03 00 3 5s256ms 1s752ms 03 2 5s69ms 2s534ms 04 4 3m50s 57s722ms 06 1 2s124ms 2s124ms 07 2 2m16s 1m8s 08 4 6m19s 1m34s 10 1 2s171ms 2s171ms 11 3 23m10s 7m43s 13 5 8m13s 1m38s 14 4 9s554ms 2s388ms 15 1 2m7s 2m7s 16 1 3s353ms 3s353ms 17 1 5m35s 5m35s 18 3 7s467ms 2s489ms 19 1 2s497ms 2s497ms 20 2 5s75ms 2s537ms 21 1 1s572ms 1s572ms Feb 04 00 5 9m 1m48s 01 4 5m29s 1m22s 02 1 3s361ms 3s361ms 03 4 5m45s 1m26s 04 1 17m49s 17m49s 05 3 1m52s 37s347ms 06 3 1m25s 28s449ms 07 2 3m4s 1m32s 08 2 3m18s 1m39s 09 2 3s357ms 1s678ms 10 3 11m34s 3m51s 11 1 1s499ms 1s499ms 14 2 4m44s 2m22s 15 1 1s529ms 1s529ms 16 1 2s37ms 2s37ms 17 1 3s270ms 3s270ms 18 5 4m14s 50s924ms 19 5 7m43s 1m32s 20 3 2m57s 59s223ms 21 1 3s268ms 3s268ms 22 1 3s304ms 3s304ms 23 1 5m17s 5m17s Feb 05 00 2 4s6ms 2s3ms 01 2 8m9s 4m4s 02 3 6s302ms 2s100ms 03 3 5s824ms 1s941ms 04 3 7m44s 2m34s 05 1 2s438ms 2s438ms 06 2 4s819ms 2s409ms 09 1 3s274ms 3s274ms 10 1 2s14ms 2s14ms 11 1 3m15s 3m15s 12 1 3s204ms 3s204ms 13 3 4m28s 1m29s 14 2 5s379ms 2s689ms 15 2 5m11s 2m35s 16 3 6s212ms 2s70ms 17 2 3s187ms 1s593ms 19 2 3s329ms 1s664ms 20 3 2m11s 43s987ms 22 2 4m48s 2m24s Feb 06 01 1 1s532ms 1s532ms 03 3 7s354ms 2s451ms 04 3 7m31s 2m30s 06 2 17m55s 8m57s 08 3 9m26s 3m8s 09 2 5m19s 2m39s 10 1 1s530ms 1s530ms 12 2 49s49ms 24s524ms 13 1 1s831ms 1s831ms 14 1 2s383ms 2s383ms 18 1 3s295ms 3s295ms 20 1 1s629ms 1s629ms 22 2 3s306ms 1s653ms 23 1 6m2s 6m2s Feb 07 03 2 4s971ms 2s485ms 04 1 3m45s 3m45s 05 1 1s453ms 1s453ms 06 1 3s358ms 3s358ms 10 1 1s608ms 1s608ms 11 3 6s256ms 2s85ms 12 1 4m23s 4m23s 13 1 1s472ms 1s472ms 15 2 4m41s 2m20s 20 1 1s961ms 1s961ms 23 2 4m16s 2m8s Feb 08 02 3 6s326ms 2s108ms 03 1 3m33s 3m33s 04 1 2s364ms 2s364ms 05 2 4s913ms 2s456ms 06 1 4m38s 4m38s 07 1 5m20s 5m20s 08 1 1s529ms 1s529ms 10 1 1s658ms 1s658ms 14 1 3m40s 3m40s 16 1 1s413ms 1s413ms 17 1 2s29ms 2s29ms 20 1 2s418ms 2s418ms 21 1 1s448ms 1s448ms 23 1 3s439ms 3s439ms [ User: pubeu - Total duration: 1h22m18s - Times executed: 60 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1245892') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-02-03 11:53:01 Duration: 17m55s 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 = '1245892') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-02-06 06:00:38 Duration: 17m51s 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 = '1245892') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-02-04 04:43:26 Duration: 17m49s Bind query: yes
7 47s446ms 48s609ms 48s99ms 25 20m2s copy pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) to stdout;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Feb 02 06 1 47s957ms 47s957ms 10 1 48s194ms 48s194ms 14 1 47s916ms 47s916ms 18 1 47s446ms 47s446ms Feb 03 06 1 48s249ms 48s249ms 10 1 47s958ms 47s958ms 14 1 47s795ms 47s795ms 18 1 47s878ms 47s878ms Feb 04 06 1 47s953ms 47s953ms 10 1 47s951ms 47s951ms 14 1 48s24ms 48s24ms 18 1 47s864ms 47s864ms Feb 05 06 1 48s206ms 48s206ms 10 1 48s170ms 48s170ms 14 1 48s43ms 48s43ms 18 1 47s962ms 47s962ms Feb 06 06 1 48s179ms 48s179ms 10 1 48s408ms 48s408ms 14 1 48s609ms 48s609ms 18 1 48s485ms 48s485ms Feb 07 06 1 48s255ms 48s255ms 10 1 48s216ms 48s216ms 14 1 48s324ms 48s324ms 18 1 48s109ms 48s109ms Feb 08 19 1 48s322ms 48s322ms [ User: postgres - Total duration: 19m14s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 19m14s - 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: 2025-02-06 14:05:50 Duration: 48s609ms 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: 2025-02-06 18:05:50 Duration: 48s485ms 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: 2025-02-06 10:05:49 Duration: 48s408ms Database: ctdprd51 User: postgres Application: pg_dump
8 1s59ms 17m19s 33s732ms 177 1h39m30s 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 Feb 02 04 2 6s783ms 3s391ms 10 1 12s25ms 12s25ms 15 1 3s339ms 3s339ms Feb 03 04 1 1s327ms 1s327ms 07 1 1s833ms 1s833ms 14 1 1s73ms 1s73ms 15 2 2s228ms 1s114ms Feb 04 00 1 7s369ms 7s369ms 02 1 14s138ms 14s138ms 07 3 2m21s 47s186ms 08 4 2m36s 39s205ms 16 1 1s555ms 1s555ms 18 1 1s410ms 1s410ms 20 6 3m51s 38s627ms 21 3 2m13s 44s386ms 23 2 5s112ms 2s556ms Feb 05 00 1 9s425ms 9s425ms 01 7 19s569ms 2s795ms 02 2 3s214ms 1s607ms 03 11 17s776ms 1s616ms 05 1 9s628ms 9s628ms 07 1 5s690ms 5s690ms 08 1 1s206ms 1s206ms 13 2 5s815ms 2s907ms 18 1 5s604ms 5s604ms 22 1 1s585ms 1s585ms Feb 06 01 2 2s517ms 1s258ms 02 4 4s318ms 1s79ms 06 1 16s409ms 16s409ms 07 1 1s379ms 1s379ms 11 2 5s365ms 2s682ms 21 4 30s485ms 7s621ms 22 3 24s85ms 8s28ms Feb 07 07 1 1s774ms 1s774ms 16 1 7s747ms 7s747ms Feb 08 02 1 1s59ms 1s59ms 03 4 15s230ms 3s807ms 04 2 21s19ms 10s509ms 09 30 5m8s 10s267ms 10 15 1h12m13s 4m48s 15 2 11s485ms 5s742ms 16 1 9s613ms 9s613ms 22 41 5m54s 8s634ms 23 3 21s969ms 7s323ms [ User: pubeu - Total duration: 1h25m51s - Times executed: 94 ]
-
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 = '2082608') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-02-08 10:01:47 Duration: 17m19s 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 = '2082608') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-02-08 10:01:54 Duration: 17m8s 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 = '2082608') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-02-08 10:09:52 Duration: 7m58s Database: ctdprd51 User: pubeu Bind query: yes
9 1s12ms 24s50ms 6s708ms 214 23m55s select sq.*, count(*) over () fullrowcount from ( select distinct gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid from dag_node gt inner join gene_go_annot gga on gt.object_id = gga.go_term_id inner join term g on gga.gene_id = g.id where gt.id in ( select p.descendant_dag_node_id from dag_path p where p.ancestor_object_id = ?) and gga.is_not = false) sq order by sq.gonmsort, sq.genesymbolsort limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Feb 02 00 3 6s32ms 2s10ms 01 2 4s549ms 2s274ms 02 4 6s131ms 1s532ms 04 2 12s511ms 6s255ms 08 4 15s681ms 3s920ms 11 2 2s858ms 1s429ms 12 1 5s226ms 5s226ms 13 1 3s370ms 3s370ms 14 1 1s300ms 1s300ms 16 1 1s743ms 1s743ms 17 1 1s834ms 1s834ms 18 3 11s264ms 3s754ms 19 2 2s768ms 1s384ms 21 1 22s200ms 22s200ms 22 2 20s817ms 10s408ms 23 1 1s550ms 1s550ms Feb 03 00 3 35s892ms 11s964ms 02 3 26s496ms 8s832ms 03 2 21s307ms 10s653ms 04 1 1s12ms 1s12ms 05 2 12s942ms 6s471ms 06 3 29s777ms 9s925ms 07 1 21s949ms 21s949ms 08 1 1s603ms 1s603ms 09 4 46s904ms 11s726ms 10 5 17s821ms 3s564ms 12 1 17s993ms 17s993ms 14 1 2s226ms 2s226ms 15 4 29s882ms 7s470ms 18 1 3s934ms 3s934ms 21 3 11s664ms 3s888ms 23 3 25s524ms 8s508ms Feb 04 00 2 2s549ms 1s274ms 02 2 4s578ms 2s289ms 03 1 1s664ms 1s664ms 04 3 35s895ms 11s965ms 06 3 9s441ms 3s147ms 07 1 4s18ms 4s18ms 08 2 24s701ms 12s350ms 10 3 28s209ms 9s403ms 12 5 26s563ms 5s312ms 13 2 24s951ms 12s475ms 14 1 1s801ms 1s801ms 15 3 26s304ms 8s768ms 16 3 13s437ms 4s479ms 17 2 38s962ms 19s481ms 18 1 1s82ms 1s82ms 19 2 26s125ms 13s62ms 20 2 39s45ms 19s522ms 21 2 2s684ms 1s342ms 22 1 3s461ms 3s461ms 23 2 23s352ms 11s676ms Feb 05 00 2 4s508ms 2s254ms 01 2 23s436ms 11s718ms 02 2 11s972ms 5s986ms 03 5 23s14ms 4s602ms 04 2 18s689ms 9s344ms 05 4 40s694ms 10s173ms 06 3 41s732ms 13s910ms 07 5 48s527ms 9s705ms 08 1 1s345ms 1s345ms 09 1 1s260ms 1s260ms 10 1 3s370ms 3s370ms 11 3 26s685ms 8s895ms 13 1 2s70ms 2s70ms 14 2 2s836ms 1s418ms 16 1 1s356ms 1s356ms 17 1 1s34ms 1s34ms 18 1 3s455ms 3s455ms 19 1 1s266ms 1s266ms 20 1 1s989ms 1s989ms 21 1 1s508ms 1s508ms Feb 06 00 2 4s351ms 2s175ms 01 1 3s53ms 3s53ms 02 2 34s856ms 17s428ms 03 2 8s686ms 4s343ms 05 1 1s438ms 1s438ms 11 1 7s378ms 7s378ms 13 2 22s625ms 11s312ms 14 2 7s681ms 3s840ms 16 2 2s981ms 1s490ms 20 3 8s374ms 2s791ms 22 1 17s594ms 17s594ms 23 1 21s437ms 21s437ms Feb 07 01 2 6s465ms 3s232ms 02 1 1s514ms 1s514ms 03 1 3s878ms 3s878ms 05 1 1s32ms 1s32ms 06 1 17s406ms 17s406ms 08 1 1s285ms 1s285ms 13 1 3s105ms 3s105ms 14 1 2s91ms 2s91ms 17 1 3s878ms 3s878ms 18 1 1s531ms 1s531ms 19 1 4s547ms 4s547ms 20 1 1s110ms 1s110ms 21 1 1s33ms 1s33ms 22 3 9s111ms 3s37ms 23 1 1s297ms 1s297ms Feb 08 00 1 1s954ms 1s954ms 03 2 24s710ms 12s355ms 04 1 4s528ms 4s528ms 05 3 20s960ms 6s986ms 06 1 1s518ms 1s518ms 07 3 33s998ms 11s332ms 08 1 21s639ms 21s639ms 14 5 45s959ms 9s191ms 15 1 20s997ms 20s997ms 16 1 1s104ms 1s104ms 17 1 10s924ms 10s924ms 19 3 17s535ms 5s845ms 22 1 3s588ms 3s588ms [ User: pubeu - Total duration: 6m36s - Times executed: 52 ]
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1222080') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-02-04 04:33:37 Duration: 24s50ms Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1222080') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-02-04 08:35:45 Duration: 23s639ms Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1222080') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-02-03 09:36:53 Duration: 23s452ms Bind query: yes
10 1s13ms 17s637ms 5s899ms 174 17m6s select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where phenotypeterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and associatedterm.object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Feb 02 00 2 3s742ms 1s871ms 01 3 19s944ms 6s648ms 02 2 5s814ms 2s907ms 03 1 2s635ms 2s635ms 04 1 16s343ms 16s343ms 05 5 14s596ms 2s919ms 06 1 3s643ms 3s643ms 07 1 10s964ms 10s964ms 08 4 14s716ms 3s679ms 09 4 51s801ms 12s950ms 10 2 18s881ms 9s440ms 11 2 7s77ms 3s538ms 12 1 1s370ms 1s370ms 13 1 1s186ms 1s186ms 14 1 3s435ms 3s435ms 15 1 5s467ms 5s467ms 16 1 1s51ms 1s51ms 17 1 1s331ms 1s331ms 18 2 18s521ms 9s260ms 19 1 2s559ms 2s559ms 20 1 16s517ms 16s517ms 23 2 2s412ms 1s206ms Feb 03 01 4 26s945ms 6s736ms 05 1 1s133ms 1s133ms 06 1 16s696ms 16s696ms 07 1 1s116ms 1s116ms 08 1 1s116ms 1s116ms 09 2 15s423ms 7s711ms 10 3 6s993ms 2s331ms 11 3 49s233ms 16s411ms 12 1 11s70ms 11s70ms 14 5 7s322ms 1s464ms 15 3 21s992ms 7s330ms 16 1 5s820ms 5s820ms 17 2 8s407ms 4s203ms 18 1 1s144ms 1s144ms 19 4 18s828ms 4s707ms 20 2 2s420ms 1s210ms 21 1 1s135ms 1s135ms 22 3 18s417ms 6s139ms 23 2 7s268ms 3s634ms Feb 04 01 1 5s858ms 5s858ms 02 1 5s861ms 5s861ms 04 1 16s493ms 16s493ms 06 2 3s721ms 1s860ms 07 2 22s81ms 11s40ms 08 1 1s584ms 1s584ms 10 2 2s666ms 1s333ms 12 3 11s140ms 3s713ms 14 2 12s155ms 6s77ms 15 4 9s572ms 2s393ms 16 2 17s608ms 8s804ms 17 1 1s126ms 1s126ms 19 1 1s270ms 1s270ms 21 3 43s859ms 14s619ms Feb 05 00 1 3s996ms 3s996ms 01 1 16s642ms 16s642ms 02 2 2s101ms 1s50ms 04 2 5s465ms 2s732ms 05 2 15s397ms 7s698ms 06 1 5s425ms 5s425ms 08 1 1s89ms 1s89ms 09 3 35s974ms 11s991ms 11 2 17s205ms 8s602ms 13 2 14s409ms 7s204ms 14 3 17s971ms 5s990ms 18 1 16s105ms 16s105ms 19 2 18s856ms 9s428ms 20 2 20s125ms 10s62ms 21 1 5s843ms 5s843ms 23 1 1s129ms 1s129ms Feb 06 02 1 1s363ms 1s363ms 05 1 16s209ms 16s209ms 08 2 8s32ms 4s16ms 09 1 1s22ms 1s22ms 10 1 2s242ms 2s242ms 11 2 3s322ms 1s661ms 12 1 5s826ms 5s826ms 13 4 8s326ms 2s81ms 14 1 10s899ms 10s899ms 16 1 1s13ms 1s13ms 20 1 1s135ms 1s135ms 21 2 2s398ms 1s199ms 23 1 11s143ms 11s143ms Feb 07 00 1 1s22ms 1s22ms 01 1 17s637ms 17s637ms 05 2 12s715ms 6s357ms 07 1 3s460ms 3s460ms 12 2 17s571ms 8s785ms 14 1 16s312ms 16s312ms 15 1 4s536ms 4s536ms 16 1 4s475ms 4s475ms 17 1 5s456ms 5s456ms 23 1 5s824ms 5s824ms Feb 08 01 1 2s494ms 2s494ms 02 1 5s823ms 5s823ms 06 1 3s985ms 3s985ms 07 2 17s636ms 8s818ms 13 1 15s879ms 15s879ms 14 1 1s22ms 1s22ms 16 1 16s191ms 16s191ms 23 1 2s235ms 2s235ms [ User: pubeu - Total duration: 4m56s - Times executed: 48 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1222080'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-02-07 01:33:46 Duration: 17s637ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1222080'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-02-02 09:11:45 Duration: 17s174ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1222080'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-02-02 09:11:46 Duration: 17s139ms Bind query: yes
11 3s905ms 16s564ms 4s177ms 341 23m44s 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 #11
Day Hour Count Duration Avg duration Feb 02 00 1 4s65ms 4s65ms 01 1 4s40ms 4s40ms 02 4 16s226ms 4s56ms 04 3 12s166ms 4s55ms 05 1 4s172ms 4s172ms 06 1 4s18ms 4s18ms 08 1 4s124ms 4s124ms 09 12 48s484ms 4s40ms 16 1 4s524ms 4s524ms 17 1 4s40ms 4s40ms 18 1 4s51ms 4s51ms 19 5 19s968ms 3s993ms 20 2 8s291ms 4s145ms 21 5 20s260ms 4s52ms 22 3 12s126ms 4s42ms 23 1 4s386ms 4s386ms Feb 03 00 3 11s985ms 3s995ms 01 1 4s92ms 4s92ms 02 1 4s198ms 4s198ms 03 5 20s224ms 4s44ms 04 3 12s243ms 4s81ms 05 2 8s128ms 4s64ms 06 2 8s170ms 4s85ms 07 1 4s70ms 4s70ms 08 2 8s386ms 4s193ms 09 2 8s53ms 4s26ms 10 3 12s684ms 4s228ms 11 3 12s895ms 4s298ms 12 2 8s142ms 4s71ms 13 5 20s180ms 4s36ms 14 5 20s195ms 4s39ms 15 6 24s207ms 4s34ms 16 2 8s152ms 4s76ms 18 1 4s85ms 4s85ms 23 5 20s423ms 4s84ms Feb 04 00 5 20s267ms 4s53ms 01 7 28s846ms 4s120ms 02 1 4s37ms 4s37ms 03 5 21s865ms 4s373ms 04 3 12s131ms 4s43ms 05 1 4s119ms 4s119ms 07 1 4s333ms 4s333ms 08 2 8s253ms 4s126ms 09 1 4s183ms 4s183ms 11 11 57s99ms 5s190ms 12 3 12s512ms 4s170ms 14 1 4s306ms 4s306ms 15 3 12s538ms 4s179ms 16 2 8s176ms 4s88ms 17 1 3s990ms 3s990ms 18 1 3s989ms 3s989ms 19 4 16s242ms 4s60ms 20 2 8s989ms 4s494ms 22 6 24s458ms 4s76ms 23 1 4s174ms 4s174ms Feb 05 01 1 4s32ms 4s32ms 02 4 16s531ms 4s132ms 03 3 12s135ms 4s45ms 06 2 8s355ms 4s177ms 09 1 4s13ms 4s13ms 11 1 5s706ms 5s706ms 12 1 4s12ms 4s12ms 13 2 8s426ms 4s213ms 15 1 4s137ms 4s137ms 17 1 3s981ms 3s981ms 18 2 8s47ms 4s23ms 19 4 16s184ms 4s46ms 20 1 4s11ms 4s11ms 21 2 8s322ms 4s161ms 22 6 24s941ms 4s156ms 23 9 36s889ms 4s98ms Feb 06 00 2 8s31ms 4s15ms 01 2 8s560ms 4s280ms 02 2 20s536ms 10s268ms 03 2 8s191ms 4s95ms 04 1 3s987ms 3s987ms 05 4 16s245ms 4s61ms 06 1 4s20ms 4s20ms 07 1 4s16ms 4s16ms 08 4 15s981ms 3s995ms 09 3 11s977ms 3s992ms 10 4 16s374ms 4s93ms 11 6 24s342ms 4s57ms 12 9 36s447ms 4s49ms 13 7 28s871ms 4s124ms 14 15 1m2s 4s181ms 15 10 40s588ms 4s58ms 17 1 4s23ms 4s23ms 20 2 8s25ms 4s12ms 21 1 4s111ms 4s111ms 22 2 8s381ms 4s190ms 23 5 21s189ms 4s237ms Feb 07 00 1 4s147ms 4s147ms 04 3 12s385ms 4s128ms 05 1 4s174ms 4s174ms 07 2 8s30ms 4s15ms 09 1 4s22ms 4s22ms 10 2 8s40ms 4s20ms 11 4 18s441ms 4s610ms 12 2 8s89ms 4s44ms 13 5 20s618ms 4s123ms 14 6 24s506ms 4s84ms 15 2 8s144ms 4s72ms 16 3 12s176ms 4s58ms 17 1 3s995ms 3s995ms 22 1 4s132ms 4s132ms Feb 08 00 5 20s118ms 4s23ms 01 1 3s982ms 3s982ms 03 1 3s993ms 3s993ms 04 2 8s110ms 4s55ms 06 4 16s57ms 4s14ms 07 1 3s992ms 3s992ms 08 1 4s130ms 4s130ms 13 1 3s944ms 3s944ms 20 2 8s283ms 4s141ms 21 5 20s561ms 4s112ms 23 1 3s963ms 3s963ms [ User: pubeu - Total duration: 7m42s - Times executed: 112 ]
-
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 = '1399342') 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 = '1399342') 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: 2025-02-06 02:54:30 Duration: 16s564ms 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 = '1437508') 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 = '1437508') 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: 2025-02-04 11:29:02 Duration: 8s603ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1437508') 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 = '1437508') 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: 2025-02-04 11:29:10 Duration: 8s439ms Bind query: yes
12 1s 6s505ms 4s101ms 256 17m29s 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 #12
Day Hour Count Duration Avg duration Feb 02 01 1 5s350ms 5s350ms 02 4 16s322ms 4s80ms 03 7 35s532ms 5s76ms 04 4 16s626ms 4s156ms 05 2 10s773ms 5s386ms 06 1 5s248ms 5s248ms 07 2 2s28ms 1s14ms 08 2 6s388ms 3s194ms 10 2 10s373ms 5s186ms 11 2 6s266ms 3s133ms 12 1 1s14ms 1s14ms 13 1 5s193ms 5s193ms 14 3 11s309ms 3s769ms 15 3 3s113ms 1s37ms 16 3 15s954ms 5s318ms 17 1 4s859ms 4s859ms 18 6 22s476ms 3s746ms 19 2 10s383ms 5s191ms 21 1 4s998ms 4s998ms 22 2 6s69ms 3s34ms Feb 03 01 1 5s91ms 5s91ms 02 2 10s367ms 5s183ms 03 4 20s745ms 5s186ms 04 1 5s66ms 5s66ms 05 1 5s399ms 5s399ms 06 2 6s606ms 3s303ms 07 1 5s90ms 5s90ms 09 1 5s172ms 5s172ms 11 1 5s7ms 5s7ms 12 2 5s840ms 2s920ms 14 1 5s265ms 5s265ms 15 4 20s744ms 5s186ms 16 1 6s421ms 6s421ms 17 1 1s30ms 1s30ms 18 2 6s237ms 3s118ms 19 4 16s393ms 4s98ms 20 10 39s230ms 3s923ms 21 1 1s40ms 1s40ms 22 2 10s517ms 5s258ms 23 4 16s295ms 4s73ms Feb 04 00 1 4s856ms 4s856ms 01 2 10s359ms 5s179ms 02 1 5s440ms 5s440ms 03 4 20s359ms 5s89ms 04 1 1s32ms 1s32ms 05 1 5s700ms 5s700ms 06 1 5s514ms 5s514ms 09 2 6s543ms 3s271ms 10 2 7s107ms 3s553ms 11 3 3s277ms 1s92ms 12 1 4s968ms 4s968ms 15 2 2s22ms 1s11ms 17 3 15s811ms 5s270ms 18 2 10s458ms 5s229ms 19 1 5s467ms 5s467ms 20 7 32s341ms 4s620ms 22 1 5s318ms 5s318ms Feb 05 00 2 10s608ms 5s304ms 01 1 5s376ms 5s376ms 02 2 10s56ms 5s28ms 04 1 5s404ms 5s404ms 05 2 10s325ms 5s162ms 06 1 4s814ms 4s814ms 08 4 20s751ms 5s187ms 09 3 15s190ms 5s63ms 11 1 5s140ms 5s140ms 12 3 11s299ms 3s766ms 13 2 10s673ms 5s336ms 14 2 6s141ms 3s70ms 15 1 5s161ms 5s161ms 16 1 4s870ms 4s870ms 17 1 1s2ms 1s2ms 18 2 5s975ms 2s987ms 19 2 2s45ms 1s22ms 20 6 22s628ms 3s771ms 22 6 23s383ms 3s897ms Feb 06 00 1 5s380ms 5s380ms 01 4 20s330ms 5s82ms 03 3 7s255ms 2s418ms 04 2 10s462ms 5s231ms 06 1 5s922ms 5s922ms 08 1 1s50ms 1s50ms 09 2 6s207ms 3s103ms 10 1 5s848ms 5s848ms 11 2 6s389ms 3s194ms 12 3 7s530ms 2s510ms 14 3 18s261ms 6s87ms 15 1 5s370ms 5s370ms 16 1 5s482ms 5s482ms 18 1 1s44ms 1s44ms 20 6 23s765ms 3s960ms 21 4 17s510ms 4s377ms 22 1 5s632ms 5s632ms 23 1 4s933ms 4s933ms Feb 07 04 4 16s268ms 4s67ms 05 1 1s27ms 1s27ms 10 3 11s437ms 3s812ms 13 1 5s127ms 5s127ms 15 1 5s163ms 5s163ms 16 2 2s70ms 1s35ms 19 1 1s29ms 1s29ms 20 1 5s430ms 5s430ms 23 1 5s3ms 5s3ms Feb 08 00 2 6s575ms 3s287ms 01 1 5s178ms 5s178ms 02 1 5s3ms 5s3ms 03 4 8s20ms 2s5ms 05 5 21s732ms 4s346ms 06 1 5s626ms 5s626ms 07 1 5s492ms 5s492ms 09 1 5s256ms 5s256ms 10 1 6s505ms 6s505ms 13 1 4s928ms 4s928ms 15 1 4s931ms 4s931ms 16 3 15s127ms 5s42ms 17 2 2s41ms 1s20ms 18 1 1s44ms 1s44ms 21 2 5s896ms 2s948ms 22 1 5s304ms 5s304ms 23 1 5s3ms 5s3ms [ User: pubeu - Total duration: 4m31s - Times executed: 67 ]
-
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 = '1388977' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-02-08 10:03:10 Duration: 6s505ms 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 = '1331060' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-02-06 14:52:18 Duration: 6s492ms 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 = '1442753' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-02-03 16:31:21 Duration: 6s421ms Database: ctdprd51 User: pubeu Bind query: yes
13 1s4ms 40s149ms 3s406ms 112 6m21s 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 Feb 02 01 1 1s380ms 1s380ms 14 1 2s708ms 2s708ms 20 1 5s153ms 5s153ms Feb 03 03 1 1s670ms 1s670ms 04 1 2s670ms 2s670ms 16 1 2s82ms 2s82ms 20 1 6s979ms 6s979ms Feb 04 04 1 2s638ms 2s638ms 07 2 3s881ms 1s940ms 08 1 2s134ms 2s134ms 11 2 6s880ms 3s440ms 14 1 2s432ms 2s432ms 15 2 29s146ms 14s573ms 19 9 12s869ms 1s429ms 20 24 1m31s 3s792ms 21 13 32s754ms 2s519ms Feb 05 03 1 2s651ms 2s651ms 05 1 1s452ms 1s452ms 06 1 2s625ms 2s625ms 11 1 1s21ms 1s21ms 15 1 1s63ms 1s63ms 16 1 1s94ms 1s94ms Feb 06 06 6 6s888ms 1s148ms 10 1 2s566ms 2s566ms 13 4 8s742ms 2s185ms 14 1 2s159ms 2s159ms 23 2 4s214ms 2s107ms Feb 07 00 1 1s10ms 1s10ms 04 2 4s403ms 2s201ms 10 1 2s173ms 2s173ms 14 1 1s621ms 1s621ms 20 1 2s306ms 2s306ms 21 1 39s509ms 39s509ms Feb 08 01 1 1s690ms 1s690ms 02 1 2s294ms 2s294ms 08 4 10s791ms 2s697ms 13 1 38s931ms 38s931ms 14 1 1s668ms 1s668ms 15 1 2s133ms 2s133ms 16 1 2s309ms 2s309ms 18 1 2s170ms 2s170ms 20 4 8s764ms 2s191ms 21 2 4s28ms 2s14ms 22 6 14s880ms 2s480ms [ User: pubeu - Total duration: 46s529ms - Times executed: 23 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2086420') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 6331850;
Date: 2025-02-04 20:59:35 Duration: 40s149ms 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 = '2086420') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 6331850;
Date: 2025-02-07 21:07:25 Duration: 39s509ms 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 = '2086420') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 6331850;
Date: 2025-02-08 13:15:48 Duration: 38s931ms Bind query: yes
14 1s17ms 6s945ms 3s130ms 1,977 1h43m8s 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 #14
Day Hour Count Duration Avg duration Feb 02 00 28 1m31s 3s256ms 01 28 1m25s 3s70ms 02 20 1m11s 3s571ms 03 14 44s961ms 3s211ms 04 25 1m27s 3s514ms 05 20 1m7s 3s379ms 06 15 46s510ms 3s100ms 07 16 36s927ms 2s307ms 08 29 1m29s 3s72ms 09 27 1m23s 3s78ms 10 28 1m17s 2s766ms 11 25 1m16s 3s49ms 12 23 1m13s 3s192ms 13 12 40s784ms 3s398ms 14 9 22s759ms 2s528ms 15 16 49s974ms 3s123ms 16 11 37s216ms 3s383ms 17 13 37s615ms 2s893ms 18 16 42s372ms 2s648ms 19 5 22s266ms 4s453ms 20 16 52s439ms 3s277ms 21 11 38s762ms 3s523ms 22 14 37s565ms 2s683ms 23 10 32s133ms 3s213ms Feb 03 00 18 47s559ms 2s642ms 01 27 1m34s 3s500ms 02 19 1m1s 3s216ms 03 10 26s237ms 2s623ms 04 11 34s596ms 3s145ms 05 17 50s176ms 2s951ms 06 18 58s14ms 3s223ms 07 15 34s436ms 2s295ms 08 15 44s224ms 2s948ms 09 18 58s280ms 3s237ms 10 18 1m8s 3s803ms 11 13 36s807ms 2s831ms 12 17 58s547ms 3s443ms 13 15 50s290ms 3s352ms 14 18 49s249ms 2s736ms 15 16 55s836ms 3s489ms 16 20 1m6s 3s309ms 17 10 34s152ms 3s415ms 18 12 28s616ms 2s384ms 19 19 1m5s 3s467ms 20 21 53s66ms 2s526ms 21 13 37s587ms 2s891ms 22 20 1m3s 3s185ms 23 16 46s257ms 2s891ms Feb 04 00 13 32s294ms 2s484ms 01 17 55s703ms 3s276ms 02 15 50s356ms 3s357ms 03 17 46s652ms 2s744ms 04 17 55s558ms 3s268ms 05 21 1m9s 3s292ms 06 11 29s920ms 2s720ms 07 16 48s968ms 3s60ms 08 12 36s2ms 3s 09 9 34s632ms 3s848ms 10 16 54s825ms 3s426ms 11 9 31s290ms 3s476ms 12 14 44s247ms 3s160ms 13 22 1m6s 3s12ms 14 21 1m23s 3s965ms 15 12 34s825ms 2s902ms 16 19 58s459ms 3s76ms 17 22 1m22s 3s768ms 18 21 1m3s 3s10ms 19 13 49s643ms 3s818ms 20 17 47s564ms 2s797ms 21 18 46s509ms 2s583ms 22 9 28s799ms 3s199ms 23 20 1m10s 3s531ms Feb 05 00 17 56s785ms 3s340ms 01 10 34s19ms 3s401ms 02 16 53s433ms 3s339ms 03 14 47s836ms 3s416ms 04 20 48s235ms 2s411ms 05 13 41s154ms 3s165ms 06 15 38s887ms 2s592ms 07 13 44s127ms 3s394ms 08 10 20s968ms 2s96ms 09 16 1m2s 3s879ms 10 13 34s490ms 2s653ms 11 15 43s59ms 2s870ms 12 16 43s989ms 2s749ms 13 14 45s763ms 3s268ms 14 20 49s313ms 2s465ms 15 11 38s296ms 3s481ms 16 14 53s103ms 3s793ms 17 18 53s304ms 2s961ms 18 11 28s940ms 2s630ms 19 21 57s985ms 2s761ms 20 13 38s306ms 2s946ms 21 11 37s497ms 3s408ms 22 7 23s185ms 3s312ms 23 5 14s782ms 2s956ms Feb 06 00 13 41s576ms 3s198ms 01 11 35s938ms 3s267ms 02 13 41s640ms 3s203ms 03 4 10s895ms 2s723ms 04 11 35s801ms 3s254ms 05 2 8s762ms 4s381ms 06 1 3s308ms 3s308ms 07 6 19s483ms 3s247ms 08 6 13s670ms 2s278ms 09 6 10s636ms 1s772ms 10 9 29s211ms 3s245ms 11 7 21s397ms 3s56ms 12 5 18s223ms 3s644ms 13 6 18s371ms 3s61ms 14 6 20s636ms 3s439ms 15 12 37s296ms 3s108ms 16 3 11s818ms 3s939ms 17 5 19s554ms 3s910ms 18 4 9s39ms 2s259ms 19 2 7s979ms 3s989ms 20 14 54s998ms 3s928ms 21 6 17s120ms 2s853ms 22 6 16s402ms 2s733ms 23 8 22s951ms 2s868ms Feb 07 00 5 17s445ms 3s489ms 01 6 12s395ms 2s65ms 02 12 48s392ms 4s32ms 03 12 44s40ms 3s670ms 04 11 35s90ms 3s190ms 05 4 7s682ms 1s920ms 06 5 16s175ms 3s235ms 07 5 19s334ms 3s866ms 08 6 17s282ms 2s880ms 09 9 23s692ms 2s632ms 10 7 24s648ms 3s521ms 11 9 27s358ms 3s39ms 12 6 23s592ms 3s932ms 13 2 8s228ms 4s114ms 14 6 19s12ms 3s168ms 15 6 19s770ms 3s295ms 16 4 10s169ms 2s542ms 17 5 17s545ms 3s509ms 18 5 16s276ms 3s255ms 19 9 35s910ms 3s990ms 20 4 12s914ms 3s228ms 21 7 18s985ms 2s712ms 22 6 16s105ms 2s684ms 23 2 3s776ms 1s888ms Feb 08 00 4 13s181ms 3s295ms 01 4 12s852ms 3s213ms 02 4 17s276ms 4s319ms 03 9 26s918ms 2s990ms 04 4 11s807ms 2s951ms 05 10 27s897ms 2s789ms 06 4 8s690ms 2s172ms 07 7 23s626ms 3s375ms 08 6 24s164ms 4s27ms 09 3 6s840ms 2s280ms 10 1 6s945ms 6s945ms 13 7 19s69ms 2s724ms 14 6 22s217ms 3s702ms 15 6 23s708ms 3s951ms 16 8 19s740ms 2s467ms 17 3 9s535ms 3s178ms 18 7 18s297ms 2s613ms 19 5 18s847ms 3s769ms 20 7 17s662ms 2s523ms 21 3 7s690ms 2s563ms 22 4 15s586ms 3s896ms 23 5 12s803ms 2s560ms [ User: pubeu - Total duration: 28m32s - Times executed: 537 ]
-
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 = '1399342'))) 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: 2025-02-08 10:02:00 Duration: 6s945ms 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 = '1399342'))) 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: 2025-02-03 21:43:02 Duration: 6s847ms 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 = '1399342'))) 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: 2025-02-04 21:27:17 Duration: 6s833ms Bind query: yes
15 1s5ms 11s469ms 3s62ms 304 15m30s 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 #15
Day Hour Count Duration Avg duration Feb 02 00 3 5s848ms 1s949ms 01 4 19s268ms 4s817ms 02 2 4s195ms 2s97ms 03 1 1s702ms 1s702ms 04 1 5s281ms 5s281ms 05 3 12s926ms 4s308ms 06 1 1s672ms 1s672ms 07 1 3s322ms 3s322ms 08 2 6s32ms 3s16ms 09 1 2s680ms 2s680ms 11 2 5s688ms 2s844ms 12 2 8s432ms 4s216ms 13 2 5s626ms 2s813ms 14 2 7s186ms 3s593ms 15 1 1s229ms 1s229ms 16 3 6s163ms 2s54ms 17 1 3s839ms 3s839ms 18 3 8s635ms 2s878ms 19 1 2s446ms 2s446ms 20 2 6s133ms 3s66ms 21 2 7s106ms 3s553ms 22 1 4s872ms 4s872ms Feb 03 00 1 1s163ms 1s163ms 01 1 4s600ms 4s600ms 02 1 3s123ms 3s123ms 03 3 15s192ms 5s64ms 04 2 3s401ms 1s700ms 06 1 5s608ms 5s608ms 07 3 9s548ms 3s182ms 09 4 19s749ms 4s937ms 10 3 5s60ms 1s686ms 11 2 11s479ms 5s739ms 12 2 10s732ms 5s366ms 13 1 2s480ms 2s480ms 14 3 7s27ms 2s342ms 15 4 16s688ms 4s172ms 17 1 2s881ms 2s881ms 18 2 8s165ms 4s82ms 19 2 5s730ms 2s865ms 20 4 13s588ms 3s397ms 23 2 5s61ms 2s530ms Feb 04 01 2 2s739ms 1s369ms 02 4 23s153ms 5s788ms 03 3 9s927ms 3s309ms 04 3 15s188ms 5s62ms 05 1 2s439ms 2s439ms 06 3 9s978ms 3s326ms 07 4 8s999ms 2s249ms 08 2 2s276ms 1s138ms 09 3 6s371ms 2s123ms 10 3 4s213ms 1s404ms 11 3 7s453ms 2s484ms 12 4 13s113ms 3s278ms 13 3 6s602ms 2s200ms 14 2 10s866ms 5s433ms 15 2 3s838ms 1s919ms 16 2 4s424ms 2s212ms 17 3 15s218ms 5s72ms 19 3 5s284ms 1s761ms 20 5 8s828ms 1s765ms 21 1 5s683ms 5s683ms 22 2 3s232ms 1s616ms 23 2 8s189ms 4s94ms Feb 05 00 1 6s116ms 6s116ms 01 4 7s329ms 1s832ms 02 3 4s783ms 1s594ms 03 2 3s866ms 1s933ms 04 1 2s392ms 2s392ms 05 1 3s784ms 3s784ms 06 2 9s143ms 4s571ms 07 3 10s366ms 3s455ms 09 2 3s520ms 1s760ms 10 2 9s523ms 4s761ms 11 1 2s451ms 2s451ms 12 2 9s66ms 4s533ms 13 2 8s86ms 4s43ms 14 1 1s216ms 1s216ms 15 3 9s554ms 3s184ms 16 1 5s76ms 5s76ms 18 1 2s597ms 2s597ms 19 1 2s402ms 2s402ms 20 1 2s476ms 2s476ms 21 1 6s463ms 6s463ms 22 2 16s311ms 8s155ms Feb 06 00 1 2s615ms 2s615ms 01 1 6s179ms 6s179ms 02 3 5s11ms 1s670ms 03 9 27s220ms 3s24ms 04 1 2s379ms 2s379ms 05 2 7s457ms 3s728ms 07 1 2s601ms 2s601ms 09 6 14s396ms 2s399ms 10 2 7s408ms 3s704ms 11 2 5s505ms 2s752ms 12 1 1s51ms 1s51ms 13 4 11s965ms 2s991ms 14 3 6s121ms 2s40ms 16 4 12s586ms 3s146ms 18 2 2s617ms 1s308ms 19 1 5s612ms 5s612ms 20 1 5s347ms 5s347ms 21 3 11s891ms 3s963ms Feb 07 00 2 7s173ms 3s586ms 01 1 2s413ms 2s413ms 02 1 2s758ms 2s758ms 03 1 1s38ms 1s38ms 04 4 7s938ms 1s984ms 06 1 2s633ms 2s633ms 07 3 6s988ms 2s329ms 08 1 2s170ms 2s170ms 09 1 1s229ms 1s229ms 10 2 2s470ms 1s235ms 11 1 2s383ms 2s383ms 12 1 2s641ms 2s641ms 13 2 2s737ms 1s368ms 14 1 1s198ms 1s198ms 15 1 5s630ms 5s630ms 16 1 3s56ms 3s56ms 17 1 1s788ms 1s788ms 18 1 1s465ms 1s465ms 21 1 2s438ms 2s438ms 22 2 17s728ms 8s864ms 23 3 5s607ms 1s869ms Feb 08 00 2 2s164ms 1s82ms 01 5 8s714ms 1s742ms 02 1 2s189ms 2s189ms 03 4 11s714ms 2s928ms 04 2 2s286ms 1s143ms 05 3 8s700ms 2s900ms 06 5 14s174ms 2s834ms 07 2 4s172ms 2s86ms 08 3 7s427ms 2s475ms 09 4 8s932ms 2s233ms 13 1 2s581ms 2s581ms 16 2 8s65ms 4s32ms 17 3 13s498ms 4s499ms 19 1 6s486ms 6s486ms 21 1 6s13ms 6s13ms 22 2 5s95ms 2s547ms 23 4 11s133ms 2s783ms [ User: pubeu - Total duration: 4m15s - Times executed: 80 ]
-
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 = '2091965') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-02-07 22:17:55 Duration: 11s469ms 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 = '2091965') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-02-03 03:01:27 Duration: 11s300ms 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 = '2091965') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-02-03 09:07:30 Duration: 11s267ms Bind query: yes
16 1s 4s987ms 2s607ms 1,728 1h15m6s 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 #16
Day Hour Count Duration Avg duration Feb 02 00 24 1m5s 2s725ms 01 16 35s942ms 2s246ms 02 20 52s18ms 2s600ms 03 33 1m21s 2s482ms 04 14 29s664ms 2s118ms 05 22 1m 2s764ms 06 20 44s815ms 2s240ms 07 14 33s352ms 2s382ms 08 29 1m20s 2s765ms 09 21 58s648ms 2s792ms 10 15 42s602ms 2s840ms 11 25 1m4s 2s599ms 12 11 34s955ms 3s177ms 13 16 43s225ms 2s701ms 14 13 35s263ms 2s712ms 15 9 24s550ms 2s727ms 16 17 59s949ms 3s526ms 17 7 20s150ms 2s878ms 18 27 1m9s 2s587ms 19 11 28s161ms 2s560ms 20 14 35s75ms 2s505ms 21 14 47s832ms 3s416ms 22 11 31s521ms 2s865ms 23 13 27s182ms 2s90ms Feb 03 00 14 31s886ms 2s277ms 01 11 33s469ms 3s42ms 02 13 35s492ms 2s730ms 03 11 27s699ms 2s518ms 04 11 30s27ms 2s729ms 05 8 19s569ms 2s446ms 06 12 37s987ms 3s165ms 07 14 37s126ms 2s651ms 08 9 20s941ms 2s326ms 09 8 22s705ms 2s838ms 10 16 49s153ms 3s72ms 11 11 32s981ms 2s998ms 12 10 29s425ms 2s942ms 13 8 16s533ms 2s66ms 14 9 23s965ms 2s662ms 15 11 30s344ms 2s758ms 16 12 46s967ms 3s913ms 17 7 15s65ms 2s152ms 18 21 49s563ms 2s360ms 19 10 26s430ms 2s643ms 20 32 1m9s 2s183ms 21 17 42s986ms 2s528ms 22 11 26s215ms 2s383ms 23 14 34s394ms 2s456ms Feb 04 00 21 1m1s 2s941ms 01 10 21s896ms 2s189ms 02 11 25s460ms 2s314ms 03 13 38s913ms 2s993ms 04 13 33s640ms 2s587ms 05 17 32s560ms 1s915ms 06 11 29s291ms 2s662ms 07 12 35s941ms 2s995ms 08 10 23s957ms 2s395ms 09 7 12s457ms 1s779ms 10 15 34s857ms 2s323ms 11 9 29s768ms 3s307ms 12 7 19s820ms 2s831ms 13 14 29s779ms 2s127ms 14 9 20s523ms 2s280ms 15 16 45s612ms 2s850ms 16 23 59s432ms 2s584ms 17 18 49s310ms 2s739ms 18 11 36s689ms 3s335ms 19 21 1m 2s862ms 20 22 44s455ms 2s20ms 21 10 39s154ms 3s915ms 22 14 34s431ms 2s459ms 23 16 36s123ms 2s257ms Feb 05 00 12 32s91ms 2s674ms 01 14 42s226ms 3s16ms 02 14 30s594ms 2s185ms 03 17 45s185ms 2s657ms 04 12 32s19ms 2s668ms 05 15 38s839ms 2s589ms 06 6 15s837ms 2s639ms 07 16 37s716ms 2s357ms 08 6 16s812ms 2s802ms 09 9 26s985ms 2s998ms 10 7 13s765ms 1s966ms 11 24 1m9s 2s893ms 12 16 41s271ms 2s579ms 13 14 32s542ms 2s324ms 14 13 34s684ms 2s668ms 15 13 31s816ms 2s447ms 16 18 55s560ms 3s86ms 17 15 43s87ms 2s872ms 18 16 46s627ms 2s914ms 19 19 54s976ms 2s893ms 20 18 40s2ms 2s222ms 21 6 16s868ms 2s811ms 22 6 13s199ms 2s199ms 23 3 3s704ms 1s234ms Feb 06 00 3 9s957ms 3s319ms 01 3 8s610ms 2s870ms 02 5 15s116ms 3s23ms 03 6 15s362ms 2s560ms 04 5 13s897ms 2s779ms 05 7 17s597ms 2s513ms 06 3 9s288ms 3s96ms 07 1 2s555ms 2s555ms 08 1 2s301ms 2s301ms 09 5 10s334ms 2s66ms 10 5 13s14ms 2s602ms 11 6 16s528ms 2s754ms 12 4 9s155ms 2s288ms 13 7 15s131ms 2s161ms 14 8 19s670ms 2s458ms 15 6 16s460ms 2s743ms 16 6 11s821ms 1s970ms 17 7 18s254ms 2s607ms 18 4 12s731ms 3s182ms 19 6 16s871ms 2s811ms 20 20 52s16ms 2s600ms 21 8 21s614ms 2s701ms 22 6 11s636ms 1s939ms 23 7 24s188ms 3s455ms Feb 07 00 2 4s206ms 2s103ms 01 4 8s631ms 2s157ms 02 7 13s601ms 1s943ms 03 7 19s801ms 2s828ms 04 8 23s517ms 2s939ms 05 5 13s326ms 2s665ms 06 7 16s288ms 2s326ms 07 2 4s754ms 2s377ms 08 1 4s442ms 4s442ms 09 4 13s126ms 3s281ms 10 9 26s747ms 2s971ms 11 5 13s783ms 2s756ms 12 4 7s847ms 1s961ms 13 4 9s212ms 2s303ms 14 4 12s81ms 3s20ms 15 7 20s751ms 2s964ms 16 6 15s975ms 2s662ms 17 5 12s907ms 2s581ms 18 5 11s177ms 2s235ms 19 8 19s446ms 2s430ms 20 2 2s298ms 1s149ms 21 8 25s199ms 3s149ms 22 10 28s750ms 2s875ms 23 1 2s239ms 2s239ms Feb 08 00 3 4s293ms 1s431ms 01 9 22s196ms 2s466ms 02 4 9s237ms 2s309ms 03 7 13s917ms 1s988ms 04 3 3s377ms 1s125ms 05 17 40s11ms 2s353ms 06 8 20s282ms 2s535ms 07 2 5s593ms 2s796ms 08 4 9s82ms 2s270ms 09 4 5s138ms 1s284ms 12 1 4s328ms 4s328ms 13 3 7s692ms 2s564ms 14 6 14s782ms 2s463ms 15 6 13s200ms 2s200ms 16 6 11s638ms 1s939ms 17 3 8s205ms 2s735ms 18 7 14s411ms 2s58ms 19 6 12s791ms 2s131ms 20 1 1s213ms 1s213ms 21 3 6s732ms 2s244ms 22 1 1s302ms 1s302ms 23 5 11s639ms 2s327ms [ User: pubeu - Total duration: 18m4s - Times executed: 433 ]
-
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 = '1399342') 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 = '1399342') 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: 2025-02-04 18:00:02 Duration: 4s987ms 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 = '1399342') 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 = '1399342') 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: 2025-02-02 05:42:57 Duration: 4s824ms 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 = '1399342') 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 = '1399342') 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: 2025-02-05 18:47:40 Duration: 4s820ms Bind query: yes
17 1s32ms 3s578ms 2s437ms 110 4m28s with recursive sub_node ( object_id, id, path, lvl ) as ( select n.object_id, n.id, array[n.nm_sort], ? from dag_node n where n.object_id = ? union all select n.object_id, n.id, cast(path || n.nm_sort as varchar(?)[]), sn.lvl + ? from dag_node n inner join sub_node sn on (n.parent_id = sn.id)) select distinct t.nm prinm, t.nm_html prinmhtml, t.secondary_nm secondarynm, t.acc_db_cd accdbcd, t.acc_txt termacc, t.is_leaf isleaf, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, t.has_genes hasgenes, sn.lvl, sn.path, max(sn.lvl) over () maxlvl, t.has_phenotypes hasphenotypes from sub_node sn inner join term t on sn.object_id = t.id where sn.lvl <= ? order by sn.path;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Feb 02 00 1 2s449ms 2s449ms 01 1 3s473ms 3s473ms 04 1 1s977ms 1s977ms 05 5 10s888ms 2s177ms 06 1 2s595ms 2s595ms 07 1 2s655ms 2s655ms 09 3 8s385ms 2s795ms 11 1 1s984ms 1s984ms 12 4 9s78ms 2s269ms 15 2 4s13ms 2s6ms 17 1 1s925ms 1s925ms 23 1 2s588ms 2s588ms Feb 03 01 1 3s266ms 3s266ms 03 3 7s603ms 2s534ms 05 5 11s297ms 2s259ms 06 1 1s863ms 1s863ms 08 2 5s551ms 2s775ms 11 1 2s893ms 2s893ms 13 1 2s655ms 2s655ms 14 1 1s913ms 1s913ms 15 2 4s6ms 2s3ms 16 2 5s95ms 2s547ms 17 1 3s341ms 3s341ms 19 2 6s685ms 3s342ms 20 1 2s137ms 2s137ms 21 1 2s475ms 2s475ms 22 1 1s944ms 1s944ms 23 1 1s969ms 1s969ms Feb 04 02 1 1s927ms 1s927ms 03 1 3s319ms 3s319ms 05 5 10s826ms 2s165ms 06 1 2s455ms 2s455ms 08 4 9s505ms 2s376ms 09 3 7s226ms 2s408ms 15 1 3s307ms 3s307ms 17 1 3s325ms 3s325ms 20 3 7s302ms 2s434ms 22 1 3s338ms 3s338ms Feb 05 00 1 1s934ms 1s934ms 04 1 3s357ms 3s357ms 05 7 15s128ms 2s161ms 07 1 1s956ms 1s956ms 08 1 1s954ms 1s954ms 10 1 1s871ms 1s871ms 11 3 10s224ms 3s408ms 13 1 1s809ms 1s809ms 14 1 2s182ms 2s182ms 16 1 3s357ms 3s357ms 19 1 3s355ms 3s355ms 21 1 2s444ms 2s444ms Feb 06 03 1 2s200ms 2s200ms 04 1 3s377ms 3s377ms 05 5 12s398ms 2s479ms 14 1 1s978ms 1s978ms 19 1 3s286ms 3s286ms Feb 07 01 1 1s832ms 1s832ms 05 5 10s767ms 2s153ms Feb 08 05 4 8s908ms 2s227ms 12 2 4s595ms 2s297ms [ User: pubeu - Total duration: 1m29s - Times executed: 30 ]
[ User: qaeu - Total duration: 24s95ms - 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 = '594557' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2025-02-04 08:10:53 Duration: 3s578ms 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 = '594557' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2025-02-04 09:14:48 Duration: 3s573ms 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 = '594557' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2025-02-08 12:56:46 Duration: 3s539ms Database: ctdprd51 User: pubeu Bind query: yes
18 1s7ms 6s127ms 2s359ms 222 8m43s 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 #18
Day Hour Count Duration Avg duration Feb 02 00 3 6s223ms 2s74ms 01 5 11s335ms 2s267ms 02 4 8s976ms 2s244ms 03 4 9s245ms 2s311ms 04 4 10s487ms 2s621ms 05 5 13s369ms 2s673ms 06 3 10s194ms 3s398ms 07 1 1s276ms 1s276ms 08 3 6s176ms 2s58ms 09 3 7s601ms 2s533ms 10 3 5s792ms 1s930ms 11 7 15s143ms 2s163ms 12 2 4s326ms 2s163ms 13 2 7s211ms 3s605ms 14 2 5s744ms 2s872ms 15 1 2s599ms 2s599ms 16 1 1s647ms 1s647ms 17 1 3s395ms 3s395ms 18 2 3s340ms 1s670ms 19 2 4s937ms 2s468ms 20 2 3s969ms 1s984ms 21 4 12s53ms 3s13ms 22 4 11s333ms 2s833ms 23 2 2s880ms 1s440ms Feb 03 00 2 4s768ms 2s384ms 01 1 2s591ms 2s591ms 02 1 2s279ms 2s279ms 04 1 2s74ms 2s74ms 05 1 2s244ms 2s244ms 07 1 1s538ms 1s538ms 08 1 5s798ms 5s798ms 09 3 5s225ms 1s741ms 11 2 3s800ms 1s900ms 12 2 3s546ms 1s773ms 15 2 4s366ms 2s183ms 16 1 1s716ms 1s716ms 17 2 2s328ms 1s164ms 18 3 6s138ms 2s46ms 19 1 2s714ms 2s714ms 20 3 5s444ms 1s814ms 21 2 3s702ms 1s851ms Feb 04 00 2 3s968ms 1s984ms 01 1 1s636ms 1s636ms 03 1 2s784ms 2s784ms 05 5 10s452ms 2s90ms 06 1 2s711ms 2s711ms 09 3 10s650ms 3s550ms 10 6 11s708ms 1s951ms 11 3 6s103ms 2s34ms 12 1 2s248ms 2s248ms 13 1 2s136ms 2s136ms 14 3 5s720ms 1s906ms 16 3 9s487ms 3s162ms 17 2 3s790ms 1s895ms 18 4 12s958ms 3s239ms 21 4 7s441ms 1s860ms 22 2 3s666ms 1s833ms 23 1 5s861ms 5s861ms Feb 05 00 2 3s333ms 1s666ms 02 1 1s661ms 1s661ms 03 1 1s585ms 1s585ms 05 2 4s325ms 2s162ms 06 2 7s979ms 3s989ms 08 2 3s740ms 1s870ms 09 3 6s841ms 2s280ms 11 3 10s701ms 3s567ms 13 1 2s90ms 2s90ms 16 3 4s616ms 1s538ms 17 3 10s227ms 3s409ms 18 1 1s621ms 1s621ms 19 3 5s896ms 1s965ms 20 2 4s911ms 2s455ms 21 1 1s290ms 1s290ms 22 1 2s784ms 2s784ms Feb 06 00 1 5s761ms 5s761ms 03 1 1s273ms 1s273ms 06 1 2s185ms 2s185ms 08 2 4s69ms 2s34ms 11 1 5s822ms 5s822ms 12 1 2s680ms 2s680ms 13 1 2s143ms 2s143ms 14 1 1s654ms 1s654ms 16 2 3s388ms 1s694ms 18 1 1s218ms 1s218ms 19 1 1s625ms 1s625ms 20 1 2s705ms 2s705ms 22 1 2s162ms 2s162ms Feb 07 00 3 9s379ms 3s126ms 01 2 4s728ms 2s364ms 05 1 1s587ms 1s587ms 07 2 3s778ms 1s889ms 09 1 2s804ms 2s804ms 13 1 1s626ms 1s626ms 14 1 5s937ms 5s937ms 16 1 2s171ms 2s171ms 19 1 2s763ms 2s763ms 20 1 2s744ms 2s744ms 22 1 2s70ms 2s70ms 23 1 1s161ms 1s161ms Feb 08 01 1 1s35ms 1s35ms 02 2 5s486ms 2s743ms 05 4 8s744ms 2s186ms 06 1 2s160ms 2s160ms 07 1 1s290ms 1s290ms 08 1 1s652ms 1s652ms 12 1 5s857ms 5s857ms 14 1 1s234ms 1s234ms 16 3 7s202ms 2s400ms 17 1 1s278ms 1s278ms 21 1 1s65ms 1s65ms 23 1 2s801ms 2s801ms [ User: pubeu - Total duration: 2m18s - Times executed: 60 ]
-
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 = '655185' 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 = '655185') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-02-04 09:39:57 Duration: 6s127ms 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 = '655185' 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 = '655185') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-02-04 18:54:57 Duration: 5s952ms 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 = '655185' 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 = '655185') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-02-02 06:17:50 Duration: 5s940ms Bind query: yes
19 1s249ms 2s243ms 1s637ms 711 19m24s 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 #19
Day Hour Count Duration Avg duration Feb 02 00 5 9s320ms 1s864ms 01 8 12s98ms 1s512ms 02 10 15s213ms 1s521ms 03 4 7s560ms 1s890ms 04 13 20s866ms 1s605ms 05 2 3s724ms 1s862ms 06 4 6s310ms 1s577ms 07 7 10s827ms 1s546ms 08 7 12s20ms 1s717ms 09 13 21s420ms 1s647ms 10 5 7s599ms 1s519ms 11 13 21s576ms 1s659ms 12 6 10s681ms 1s780ms 13 10 17s5ms 1s700ms 14 8 12s9ms 1s501ms 15 7 10s195ms 1s456ms 16 5 8s122ms 1s624ms 17 3 4s461ms 1s487ms 18 5 6s935ms 1s387ms 19 5 7s8ms 1s401ms 20 4 6s286ms 1s571ms 21 4 6s271ms 1s567ms 22 3 5s8ms 1s669ms 23 3 5s576ms 1s858ms Feb 03 00 5 6s997ms 1s399ms 01 5 9s290ms 1s858ms 02 6 10s89ms 1s681ms 03 4 5s738ms 1s434ms 04 13 21s323ms 1s640ms 05 4 6s882ms 1s720ms 06 5 7s567ms 1s513ms 07 5 8s202ms 1s640ms 08 2 3s746ms 1s873ms 09 3 5s31ms 1s677ms 10 3 5s13ms 1s671ms 11 1 1s938ms 1s938ms 13 4 5s723ms 1s430ms 14 6 9s434ms 1s572ms 15 6 10s667ms 1s777ms 16 7 13s124ms 1s874ms 17 8 11s986ms 1s498ms 18 8 13s833ms 1s729ms 19 5 8s121ms 1s624ms 20 9 15s68ms 1s674ms 21 10 16s982ms 1s698ms 22 9 15s696ms 1s744ms 23 7 12s502ms 1s786ms Feb 04 00 5 9s383ms 1s876ms 01 7 11s409ms 1s629ms 02 9 14s536ms 1s615ms 03 5 7s 1s400ms 04 2 3s193ms 1s596ms 05 7 11s423ms 1s631ms 06 7 11s927ms 1s703ms 07 4 6s436ms 1s609ms 08 8 14s461ms 1s807ms 09 3 5s18ms 1s672ms 10 7 12s259ms 1s751ms 11 4 6s943ms 1s735ms 12 5 6s522ms 1s304ms 13 5 8s293ms 1s658ms 14 6 9s81ms 1s513ms 15 5 7s674ms 1s534ms 16 7 10s734ms 1s533ms 17 4 6s285ms 1s571ms 18 7 11s226ms 1s603ms 19 9 15s65ms 1s673ms 20 4 7s449ms 1s862ms 21 10 16s457ms 1s645ms 22 6 9s428ms 1s571ms 23 8 12s594ms 1s574ms Feb 05 00 6 9s404ms 1s567ms 01 5 8s316ms 1s663ms 02 7 12s536ms 1s790ms 03 5 8s262ms 1s652ms 04 8 12s39ms 1s504ms 05 2 3s126ms 1s563ms 06 6 9s425ms 1s570ms 07 6 9s554ms 1s592ms 08 4 6s897ms 1s724ms 09 5 9s416ms 1s883ms 10 5 7s52ms 1s410ms 11 4 7s434ms 1s858ms 12 7 11s296ms 1s613ms 13 6 10s320ms 1s720ms 14 9 13s896ms 1s544ms 15 3 5s573ms 1s857ms 16 8 11s436ms 1s429ms 17 7 11s320ms 1s617ms 18 4 6s927ms 1s731ms 19 4 6s329ms 1s582ms 20 4 6s833ms 1s708ms 21 5 8s179ms 1s635ms 22 1 1s864ms 1s864ms 23 2 3s152ms 1s576ms Feb 06 00 4 6s331ms 1s582ms 01 3 4s469ms 1s489ms 02 2 3s725ms 1s862ms 03 3 5s49ms 1s683ms 04 3 5s31ms 1s677ms 05 2 3s686ms 1s843ms 06 1 1s296ms 1s296ms 08 5 8s102ms 1s620ms 09 5 7s547ms 1s509ms 10 3 4s409ms 1s469ms 12 1 1s281ms 1s281ms 13 2 3s736ms 1s868ms 16 1 1s874ms 1s874ms 17 1 1s278ms 1s278ms 18 3 5s17ms 1s672ms 19 3 4s962ms 1s654ms 20 5 8s129ms 1s625ms 21 3 4s365ms 1s455ms 22 2 3s126ms 1s563ms 23 3 4s999ms 1s666ms Feb 07 00 3 4s980ms 1s660ms 01 2 3s677ms 1s838ms 02 4 5s691ms 1s422ms 03 2 3s715ms 1s857ms 04 4 6s315ms 1s578ms 05 2 3s145ms 1s572ms 06 3 5s562ms 1s854ms 07 4 6s219ms 1s554ms 08 4 6s871ms 1s717ms 09 4 6s306ms 1s576ms 10 3 5s7ms 1s669ms 11 5 8s777ms 1s755ms 12 1 1s856ms 1s856ms 13 1 1s880ms 1s880ms 14 5 8s190ms 1s638ms 15 2 3s140ms 1s570ms 16 2 3s134ms 1s567ms 17 1 1s872ms 1s872ms 18 2 3s708ms 1s854ms 19 4 6s301ms 1s575ms 20 1 1s273ms 1s273ms 21 2 3s143ms 1s571ms 23 3 4s462ms 1s487ms Feb 08 00 1 1s855ms 1s855ms 02 3 5s620ms 1s873ms 04 4 7s490ms 1s872ms 05 4 6s885ms 1s721ms 06 1 1s836ms 1s836ms 07 2 3s153ms 1s576ms 08 2 3s136ms 1s568ms 10 2 3s867ms 1s933ms 13 2 3s186ms 1s593ms 14 2 3s151ms 1s575ms 15 2 3s142ms 1s571ms 16 1 1s281ms 1s281ms 18 2 3s654ms 1s827ms 19 1 1s856ms 1s856ms 20 2 3s149ms 1s574ms 21 2 3s129ms 1s564ms 22 3 6s20ms 2s6ms [ User: pubeu - Total duration: 5m3s - Times executed: 186 ]
-
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 = '1399342') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-02-08 22:17:41 Duration: 2s243ms Database: ctdprd51 User: pubeu 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 = '1399342') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-02-05 13:13:22 Duration: 2s159ms 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 = '1399342') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-02-04 10:33:16 Duration: 2s21ms Bind query: yes
20 1s32ms 2s589ms 1s613ms 69 1m51s 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 #20
Day Hour Count Duration Avg duration Feb 02 06 1 2s382ms 2s382ms 11 1 1s659ms 1s659ms 13 1 2s420ms 2s420ms 14 1 1s664ms 1s664ms 15 1 1s153ms 1s153ms 20 1 1s667ms 1s667ms Feb 03 01 1 2s377ms 2s377ms 03 1 1s658ms 1s658ms 04 1 1s450ms 1s450ms 07 1 1s653ms 1s653ms 08 3 5s114ms 1s704ms 12 1 1s628ms 1s628ms 15 1 2s414ms 2s414ms 20 1 1s129ms 1s129ms 23 2 2s805ms 1s402ms Feb 04 01 1 1s158ms 1s158ms 02 1 1s158ms 1s158ms 04 3 5s29ms 1s676ms 08 1 1s310ms 1s310ms 09 1 1s188ms 1s188ms 15 1 1s862ms 1s862ms 16 2 3s872ms 1s936ms 17 1 1s43ms 1s43ms 21 1 1s58ms 1s58ms 22 2 3s149ms 1s574ms 23 2 3s108ms 1s554ms Feb 05 03 2 3s833ms 1s916ms 08 1 1s60ms 1s60ms 09 2 4s673ms 2s336ms 13 1 1s158ms 1s158ms 14 1 1s639ms 1s639ms Feb 06 08 1 1s436ms 1s436ms 17 1 1s668ms 1s668ms Feb 07 00 1 1s188ms 1s188ms 01 1 1s432ms 1s432ms 03 3 3s767ms 1s255ms 06 1 2s274ms 2s274ms 08 1 2s274ms 2s274ms 09 1 1s425ms 1s425ms 10 1 1s141ms 1s141ms 11 1 1s625ms 1s625ms 12 2 2s223ms 1s111ms 13 1 1s437ms 1s437ms 15 1 1s122ms 1s122ms 16 1 2s395ms 2s395ms 17 1 1s212ms 1s212ms 18 1 1s611ms 1s611ms 22 1 1s143ms 1s143ms Feb 08 01 3 5s120ms 1s706ms 03 1 1s646ms 1s646ms 10 1 2s589ms 2s589ms 13 2 3s502ms 1s751ms 17 1 1s608ms 1s608ms [ User: pubeu - Total duration: 21s880ms - Times executed: 15 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2081644') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-02-08 10:17:16 Duration: 2s589ms 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 = '2081644') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-02-04 16:54:43 Duration: 2s434ms 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 = '2081644') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-02-02 13:36:34 Duration: 2s420ms 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 666 0ms 0ms 0ms ;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Feb 01 15 1 0ms 0ms Feb 02 05 2 0ms 0ms 06 30 0ms 0ms 07 18 0ms 0ms Feb 03 05 12 0ms 0ms 06 14 0ms 0ms 07 12 0ms 0ms 08 12 0ms 0ms 09 12 0ms 0ms 10 10 0ms 0ms 11 20 0ms 0ms 12 16 0ms 0ms 13 30 0ms 0ms 14 8 0ms 0ms 15 8 0ms 0ms 16 12 0ms 0ms 17 24 0ms 0ms 18 2 0ms 0ms 21 2 0ms 0ms Feb 04 00 1 0ms 0ms 05 4 0ms 0ms 06 16 0ms 0ms 07 6 0ms 0ms 08 20 0ms 0ms 09 2 0ms 0ms 11 12 0ms 0ms 12 2 0ms 0ms 13 2 0ms 0ms Feb 05 00 2 0ms 0ms 05 2 0ms 0ms 06 16 0ms 0ms 07 12 0ms 0ms 08 4 0ms 0ms 09 2 0ms 0ms 10 2 0ms 0ms 11 6 0ms 0ms 12 8 0ms 0ms 14 18 0ms 0ms 15 6 0ms 0ms 17 8 0ms 0ms 18 12 0ms 0ms Feb 06 00 1 0ms 0ms 06 18 0ms 0ms 07 6 0ms 0ms 08 2 0ms 0ms 09 2 0ms 0ms 11 4 0ms 0ms 12 10 0ms 0ms 13 4 0ms 0ms 14 12 0ms 0ms 15 10 0ms 0ms 16 4 0ms 0ms Feb 07 06 18 0ms 0ms 07 18 0ms 0ms 08 54 0ms 0ms 09 21 0ms 0ms 11 12 0ms 0ms 12 12 0ms 0ms 13 12 0ms 0ms 14 9 0ms 0ms 15 24 0ms 0ms Feb 08 00 2 0ms 0ms 15 3 0ms 0ms [ User: pubeu - Total duration: 7m29s - Times executed: 220 ]
-
;
Date: Duration: 0ms Database: postgres parameters: $1 = '1622140', $2 = '1622140'
-
Events
Log levels
Key values
- 120,143 Log entries
Events distribution
Key values
- 0 PANIC entries
- 59 FATAL entries
- 972 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 948 Max number of times the same event was reported
- 1,031 Total events found
Rank Times reported Error 1 948 ERROR: syntax error in ts"..."
Times Reported Most Frequent Error / Event #1
Day Hour Count Feb 02 00 15 01 6 02 5 03 14 04 18 06 8 07 13 08 19 09 10 10 2 11 2 13 5 14 4 16 1 17 1 18 2 20 11 21 7 22 6 23 13 Feb 03 00 9 01 4 02 16 03 17 04 12 05 4 06 20 07 7 08 10 09 5 10 1 12 2 13 1 14 3 16 2 18 1 19 7 20 9 21 16 22 4 23 4 Feb 04 00 7 01 11 02 5 03 6 04 2 05 4 06 4 07 7 08 7 09 3 10 3 11 4 12 2 13 1 14 1 15 3 16 3 17 1 18 2 19 1 20 9 21 9 22 1 23 8 Feb 05 00 14 01 13 02 7 03 11 04 6 05 10 06 11 07 8 08 12 09 4 10 10 11 1 12 1 16 2 17 3 18 3 19 10 20 6 21 16 22 9 23 11 Feb 06 00 5 01 14 02 7 03 12 04 11 05 5 06 7 07 4 08 2 09 9 10 5 11 3 13 2 15 3 17 8 18 5 19 9 20 15 21 14 22 6 23 7 Feb 07 00 8 01 5 02 14 03 22 04 6 05 3 06 1 07 5 08 5 09 1 10 4 11 1 12 1 17 4 19 7 20 7 21 6 22 4 23 6 Feb 08 00 1 01 12 02 9 03 13 04 4 05 8 06 10 07 1 09 2 10 2 13 1 17 4 18 1 19 5 20 1 21 13 22 7 23 3 - ERROR: syntax error in ts"イラスト無料 ケーキ"
- ERROR: syntax error in ts"トヨトミ ストーブ 替え芯 & RB2"
- ERROR: syntax error in ts"神保町 DECAT"
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2025-02-02 03:56:51
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 OR upper( l.acc_txt ) = $4 OR upper( l.acc_txt ) = $5 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2025-02-02 04:13:03
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 ) ORDER BY 13,14 ) sq LIMIT 50SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 ) ORDER BY 13,14 ) sq LIMIT 50 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 = $1 ) ) ) 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: 2025-02-02 06:09:38
2 49 FATAL: canceling authentication due to timeout
Times Reported Most Frequent Error / Event #2
Day Hour Count Feb 04 08 2 09 3 Feb 08 09 3 10 34 11 7 3 8 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #3
Day Hour Count Feb 04 19 2 20 6 4 8 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #4
Day Hour Count Feb 03 11 1 Feb 04 04 1 09 1 10 1 11 1 15 1 Feb 06 06 1 Feb 08 10 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: 2025-02-04 09:07:14
Statement: SELECT r.ixn_id ,edit.get_ixn_prose(r.ixn_id) ,r.reference_acc_txt ,r.taxon_acc_txt ,r.internal_note ,r.field_cd ,edit.get_ixn_xml( r.ixn_id ) ,to_char ( r.create_tm, 'mm-dd-yyyy' ) , r.evidence_cd , i.create_by FROM edit.REFERENCE_IXN r ,edit.IXN i where r.ixn_id = i.id and i.ixn_type_id = ( select id from edit.IXN_TYPE where nm = 'PHENOTYPE')
Date: 2025-02-04 11:18:24
5 7 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #5
Day Hour Count Feb 03 11 1 Feb 04 04 1 09 1 10 1 15 1 Feb 06 06 1 Feb 08 10 1 - ERROR: could not send data to client: Broken pipe
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Date: 2025-02-04 09:07:14 Database: ctdprd51 Application: User: pubeu Remote:
6 3 LOG: could not send data to client: Connection reset by peer
Times Reported Most Frequent Error / Event #6
Day Hour Count Feb 04 08 2 11 1 - ERROR: could not send data to client: Connection reset by peer
- ERROR: could not send data to client: Connection reset by peer
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id
Date: 2025-02-04 08:10:47 Database: ctdprd51 Application: User: pubeu Remote:
Statement: SELECT r.ixn_id ,edit.get_ixn_prose(r.ixn_id) ,r.reference_acc_txt ,r.taxon_acc_txt ,r.internal_note ,r.field_cd ,edit.get_ixn_xml( r.ixn_id ) ,to_char ( r.create_tm, 'mm-dd-yyyy' ) , r.evidence_cd , i.create_by FROM edit.REFERENCE_IXN r ,edit.IXN i where r.ixn_id = i.id and i.ixn_type_id = ( select id from edit.IXN_TYPE where nm = 'PHENOTYPE')
Date: 2025-02-04 11:18:24 Database: ctdprd51 Application: User: pub2 Remote:
7 3 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #7
Day Hour Count Feb 04 08 1 09 1 11 1 8 2 ERROR: relation "..." does not exist
Times Reported Most Frequent Error / Event #8
Day Hour Count Feb 04 10 2 - ERROR: relation "pubx.reference" does not exist at character 407
- ERROR: relation "pubx.db_link" does not exist at character 180
Statement: SELECT r.acc_txt AS reference_acc_txt ,(SELECT id FROM db WHERE cd = r.acc_db_cd) AS reference_acc_db_id ,COALESCE(common.email_substr(r.affiliation_txt), common.email_substr(r.abstract_txt)) AS email_addr ,'D' AS source_cd ,'twiegers' AS create_by ,CURRENT_TIMESTAMP AS create_tm ,'twiegers' AS mod_by ,CURRENT_TIMESTAMP AS mod_tm -- !! CHANGE PUB SCHEMA QUALIFIER TO LIVE/QA SCHEMA !! FROM pubX.reference r WHERE NOT EXISTS (SELECT 1 FROM edit.reference_contact rc WHERE rc.reference_acc_txt = r.acc_txt) AND COALESCE(common.email_substr(r.affiliation_txt), common.email_substr(r.abstract_txt)) IS NOT NULL AND (r.has_diseases OR r.has_ixns OR r.has_exposures OR r.has_phenotypes) -- Curated only! (i.e., no BioGRID refs) ORDER BY email_addr;
Date: 2025-02-04 10:19:19 Database: ctdprd51 Application: pgAdmin 4 - CONN:3901552 User: edit Remote:
Statement: SELECT DISTINCT rc.email_addr FROM edit.reference_contact rc WHERE rc.sent_tm IS NULL AND EXISTS (SELECT 1 -- !! CHANGE PUB SCHEMA QUALIFIER TO LIVE/QA SCHEMA !! FROM pubX.db_link l WHERE l.acc_txt = rc.reference_acc_txt AND l.object_type_id = get_object_type_id('reference') AND l.type_cd = 'A' AND l.is_primary = true AND (SELECT r.has_ixns OR r.has_diseases OR r.has_exposures OR r.has_phenotypes -- !! CHANGE PUB SCHEMA QUALIFIER TO LIVE/QA SCHEMA !! FROM pubX.reference r WHERE r.id = l.object_id) ) ORDER BY 1;
Date: 2025-02-04 10:20:59
9 2 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 #9
Day Hour Count Feb 04 08 2 - 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: 2025-02-04 08:10:47
10 1 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #10
Day Hour Count Feb 03 10 1 - ERROR: duplicate key value violates unique constraint "ixn_action_pk"
Detail: Key (ixn_id, action_type_id, action_degree_type_id)=(8971169, 1, 1) already exists.
Context: SQL statement "INSERT INTO edit.ixn_action (ixn_id ,action_type_id ,action_degree_type_id ,position_seq ,create_by ,mod_by ,create_tm ,mod_tm ) VALUES (p_ixn_id ,p_action_type_id ,p_action_degree_type_id ,p_position_seq ,p_create_by ,p_mod_by ,p_create_tm ,p_mod_tm )" PL/pgSQL function ins_ixn_action(integer,integer,integer,smallint,character varying,character varying,timestamp without time zone,timestamp without time zone) line 9 at SQL statement
Statement: select * from edit.ins_ixn_action($1, $2, $3, $4, $5, $6, $7, $8) as resultDate: 2025-02-03 10:09:19