-
Global information
- Generated on Sun Mar 9 04:15:21 2025
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20250308
- Parsed 606,965 log entries in 20s
- Log start from 2025-03-02 00:00:01 to 2025-03-08 23:59:56
-
Overview
Global Stats
- 569 Number of unique normalized queries
- 22,385 Number of queries
- 1d16h7m57s Total query duration
- 2025-03-02 00:00:34 First query
- 2025-03-08 23:59:56 Last query
- 36 queries/s at 2025-03-08 07:30:50 Query peak
- 1d16h7m57s Total query duration
- 0ms Prepare/parse total duration
- 3s163ms Bind total duration
- 1d16h7m53s Execute total duration
- 1,112 Number of events
- 16 Number of unique normalized events
- 987 Max number of times the same event was reported
- 0 Number of cancellation
- 114 Total number of automatic vacuums
- 228 Total number of automatic analyzes
- 6 Number temporary file
- 2.07 MiB Max size of temporary file
- 1.20 MiB Average size of temporary file
- 21,265 Total number of sessions
- 98 sessions at 2025-03-04 21:42:59 Session peak
- 284d20h34m29s Total duration of sessions
- 19m17s Average duration of sessions
- 1 Average queries per session
- 6s794ms Average queries duration per session
- 19m10s Average idle time per session
- 21,265 Total number of connections
- 91 connections/s at 2025-03-04 08:02:19 Connection peak
- 3 Total number of databases
SQL Traffic
Key values
- 36 queries/s Query Peak
- 2025-03-08 07:30:50 Date
SELECT Traffic
Key values
- 36 queries/s Query Peak
- 2025-03-08 07:30:50 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2025-03-05 18:06:05 Date
Queries duration
Key values
- 1d16h7m57s Total query duration
Prepared queries ratio
Key values
- 0.00 Ratio of bind vs prepare
- 0.00 % Ratio between prepared and "usual" statements
General Activity
↑ Back to the top of the General Activity tableDay Hour Count Min duration Max duration Avg duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 02 00 79 0ms 25m16s 45s898ms 22s546ms 5m37s 25m24s 01 90 0ms 34s757ms 3s287ms 9s371ms 23s516ms 50s14ms 02 96 0ms 5m33s 6s449ms 13s348ms 35s370ms 5m35s 03 96 0ms 3m14s 4s835ms 13s198ms 19s241ms 3m17s 04 101 0ms 4m23s 5s182ms 13s252ms 19s919ms 4m29s 05 135 0ms 39s793ms 3s119ms 20s93ms 33s469ms 1m 06 89 0ms 50s991ms 3s312ms 10s469ms 29s474ms 52s292ms 07 55 0ms 2m8s 5s44ms 5s602ms 10s553ms 2m10s 08 137 0ms 1m37s 3s469ms 22s556ms 44s149ms 1m42s 09 52 0ms 3m44s 6s626ms 6s121ms 8s520ms 3m45s 10 103 0ms 1m46s 4s367ms 15s957ms 41s786ms 1m48s 11 104 0ms 21s544ms 2s462ms 10s93ms 17s494ms 27s264ms 12 122 0ms 23s343ms 2s759ms 14s13ms 22s876ms 59s454ms 13 85 0ms 20m31s 17s334ms 11s322ms 15s670ms 20m54s 14 110 0ms 50s946ms 3s379ms 13s662ms 47s41ms 52s181ms 15 256 0ms 3m38s 3s736ms 36s258ms 1m14s 3m39s 16 202 0ms 3m39s 4s628ms 18s741ms 1m11s 7m13s 17 87 0ms 18m5s 15s415ms 8s744ms 21s145ms 18m5s 18 141 0ms 50s806ms 2s759ms 11s465ms 34s225ms 55s139ms 19 89 0ms 17m46s 14s504ms 7s641ms 20s838ms 17m56s 20 122 0ms 1m13s 2s927ms 11s793ms 26s231ms 1m15s 21 96 0ms 4m47s 5s429ms 12s497ms 21s284ms 4m53s 22 107 0ms 17m45s 12s531ms 12s296ms 16s431ms 17m55s 23 89 0ms 57s236ms 3s825ms 16s779ms 26s235ms 58s375ms Mar 03 00 84 0ms 25m40s 28s411ms 16s184ms 4m46s 25m49s 01 96 0ms 21s749ms 2s365ms 9s696ms 18s79ms 29s558ms 02 91 0ms 16s359ms 2s742ms 10s209ms 13s336ms 18s984ms 03 98 0ms 4m31s 5s434ms 8s358ms 13s401ms 4m47s 04 89 0ms 3m4s 5s10ms 10s719ms 21s714ms 3m12s 05 127 0ms 4m38s 4s799ms 15s23ms 25s282ms 4m55s 06 131 0ms 5m8s 6s335ms 29s776ms 45s190ms 5m12s 07 81 0ms 21s985ms 2s726ms 11s200ms 21s266ms 28s357ms 08 129 0ms 18m52s 29s830ms 21s94ms 17m53s 19m30s 09 102 0ms 18m18s 14s862ms 10s477ms 17s111ms 18m18s 10 109 0ms 51s271ms 3s800ms 23s894ms 33s361ms 52s388ms 11 116 0ms 17m36s 12s92ms 18s902ms 26s419ms 17m37s 12 108 0ms 4m26s 4s693ms 13s987ms 19s103ms 4m32s 13 101 0ms 3m5s 5s932ms 14s372ms 18s256ms 3m6s 14 109 0ms 21m29s 19s753ms 26s731ms 1m23s 21m41s 15 81 0ms 16s260ms 2s734ms 11s158ms 14s570ms 18s606ms 16 86 0ms 4m11s 6s655ms 13s389ms 19s258ms 4m13s 17 95 0ms 6m41s 13s716ms 14s851ms 5m16s 6m57s 18 160 0ms 51s31ms 3s113ms 31s24ms 44s7ms 1m18s 19 92 0ms 8m13s 7s681ms 10s134ms 25s616ms 8m16s 20 119 0ms 1m50s 4s183ms 24s943ms 31s686ms 1m50s 21 94 0ms 21s387ms 2s696ms 10s403ms 13s119ms 23s128ms 22 106 0ms 4m19s 12s494ms 1m54s 2m24s 4m24s 23 77 0ms 6m43s 11s774ms 22s124ms 1m8s 6m44s Mar 04 00 88 0ms 25m31s 20s793ms 15s507ms 32s681ms 25m37s 01 136 0ms 2m6s 7s533ms 39s994ms 2m8s 2m22s 02 14 0ms 13s790ms 7s959ms 2s663ms 2s800ms 1m43s 03 0 0ms 0ms 0ms 0ms 0ms 0ms 04 0 0ms 0ms 0ms 0ms 0ms 0ms 05 99 0ms 18m13s 13s117ms 16s363ms 23s881ms 18m14s 06 135 0ms 4m27s 4s993ms 18s737ms 48s264ms 4m34s 07 81 0ms 17m51s 16s646ms 22s323ms 32s693ms 17m54s 08 112 0ms 25m35s 20s668ms 30s726ms 1m6s 25m47s 09 100 0ms 7m11s 6s421ms 10s488ms 20s773ms 7m21s 10 111 0ms 51s369ms 3s75ms 14s301ms 26s749ms 1m 11 49 0ms 14s945ms 2s275ms 5s438ms 8s803ms 18s352ms 12 61 0ms 21s183ms 2s413ms 7s833ms 10s847ms 23s12ms 13 70 0ms 13s764ms 2s52ms 6s95ms 9s311ms 18s484ms 14 97 0ms 51s384ms 3s84ms 13s99ms 25s578ms 52s656ms 15 49 0ms 20s126ms 2s243ms 3s852ms 9s130ms 21s352ms 16 57 0ms 44s840ms 3s463ms 4s586ms 10s497ms 54s553ms 17 54 0ms 10s746ms 1s988ms 6s558ms 7s801ms 10s746ms 18 59 0ms 51s219ms 3s856ms 8s945ms 27s51ms 51s219ms 19 55 0ms 10s216ms 2s221ms 6s873ms 7s714ms 16s60ms 20 117 0ms 7s682ms 2s485ms 11s678ms 21s744ms 34s171ms 21 91 0ms 18m10s 16s229ms 24s734ms 55s564ms 18m21s 22 104 0ms 16s246ms 1s824ms 7s295ms 9s22ms 16s246ms 23 104 0ms 31s365ms 2s99ms 8s332ms 13s675ms 32s850ms Mar 05 00 94 0ms 25m30s 21s378ms 12s371ms 1m1s 25m45s 01 115 0ms 11m31s 8s382ms 11s160ms 16s668ms 11m33s 02 155 0ms 18m9s 8s927ms 14s606ms 15s412ms 18m9s 03 159 0ms 2m8s 3s292ms 16s376ms 24s159ms 2m9s 04 192 0ms 3m32s 3s210ms 15s110ms 23s996ms 3m41s 05 243 0ms 12s958ms 2s410ms 24s888ms 30s687ms 37s388ms 06 179 0ms 1m41s 3s690ms 29s558ms 49s573ms 1m45s 07 182 0ms 4m49s 4s774ms 15s311ms 19s919ms 4m53s 08 162 0ms 6s423ms 1s953ms 10s656ms 11s769ms 20s359ms 09 146 0ms 2m9s 3s86ms 11s637ms 15s521ms 2m12s 10 129 0ms 53s803ms 3s739ms 14s580ms 50s241ms 1m47s 11 114 0ms 17s82ms 2s70ms 8s165ms 10s171ms 25s7ms 12 174 0ms 1m41s 2s889ms 16s304ms 34s554ms 1m43s 13 119 0ms 5m53s 4s989ms 9s18ms 11s548ms 5m54s 14 137 0ms 51s530ms 3s914ms 40s912ms 46s813ms 1m 15 118 0ms 4m13s 5s942ms 13s369ms 35s901ms 4m14s 16 143 0ms 17m49s 12s138ms 12s418ms 1m40s 17m52s 17 81 0ms 46s554ms 3s536ms 15s731ms 22s716ms 46s554ms 18 132 0ms 3m31s 6s54ms 14s95ms 1m7s 3m33s 19 146 0ms 18m4s 10s186ms 9s394ms 36s240ms 18m10s 20 123 0ms 4m12s 5s341ms 10s550ms 33s475ms 4m13s 21 125 0ms 3m35s 4s337ms 13s540ms 20s911ms 3m36s 22 152 0ms 5m21s 6s552ms 11s286ms 1m48s 5m36s 23 133 0ms 6m43s 5s813ms 16s375ms 18s419ms 6m52s Mar 06 00 121 0ms 25m43s 15s285ms 12s356ms 18s935ms 25m51s 01 233 0ms 5m10s 6s682ms 46s149ms 4m10s 6m 02 224 0ms 5m7s 4s369ms 37s4ms 1m19s 5m26s 03 481 1s1ms 20m31s 7s697ms 1m14s 2m42s 21m17s 04 333 0ms 4m48s 5s523ms 1m8s 1m25s 5m35s 05 342 0ms 4m15s 4s910ms 1m6s 1m28s 4m20s 06 154 0ms 17m52s 10s394ms 35s639ms 59s534ms 17m56s 07 198 0ms 2m14s 3s222ms 16s805ms 55s275ms 2m20s 08 149 0ms 3m34s 4s505ms 21s909ms 55s471ms 3m36s 09 179 0ms 4m45s 4s963ms 40s23ms 55s499ms 5m2s 10 183 0ms 4m38s 5s88ms 34s892ms 54s161ms 5m28s 11 98 0ms 9s259ms 2s290ms 10s36ms 10s328ms 15s487ms 12 128 0ms 3m33s 4s61ms 8s770ms 22s117ms 3m39s 13 135 0ms 13s574ms 2s145ms 12s476ms 14s389ms 33s948ms 14 137 0ms 51s600ms 3s218ms 17s378ms 24s186ms 52s819ms 15 135 0ms 5m20s 5s601ms 13s72ms 21s301ms 5m25s 16 141 0ms 5m 4s434ms 11s301ms 24s403ms 5m11s 17 105 0ms 31s236ms 2s835ms 11s853ms 18s937ms 40s238ms 18 126 0ms 1m58s 4s192ms 23s774ms 43s338ms 2m2s 19 126 0ms 4m16s 6s506ms 11s213ms 36s679ms 4m28s 20 131 0ms 17m52s 11s987ms 15s367ms 23s99ms 17m53s 21 105 0ms 16s20ms 2s258ms 8s301ms 9s737ms 17s528ms 22 120 0ms 11s760ms 2s62ms 9s722ms 14s712ms 16s898ms 23 111 0ms 5m1s 5s365ms 11s43ms 14s819ms 5m11s Mar 07 00 128 0ms 25m42s 14s661ms 13s573ms 22s276ms 25m50s 01 121 0ms 16s676ms 2s430ms 12s255ms 12s567ms 20s394ms 02 131 0ms 1m13s 2s737ms 11s154ms 15s663ms 1m13s 03 119 0ms 10s90ms 2s56ms 8s278ms 11s196ms 20s669ms 04 135 0ms 2m36s 3s301ms 9s855ms 18s412ms 2m44s 05 161 0ms 11m34s 8s775ms 31s43ms 48s595ms 11m37s 06 141 0ms 3m46s 7s591ms 31s305ms 3m22s 3m50s 07 133 0ms 5m10s 6s645ms 29s280ms 42s247ms 5m13s 08 103 0ms 4m22s 4s749ms 10s49ms 12s451ms 4m28s 09 109 0ms 6s592ms 2s120ms 7s722ms 10s125ms 35s699ms 10 134 0ms 4m7s 5s688ms 22s54ms 59s458ms 4m14s 11 187 0ms 24s718ms 2s204ms 17s698ms 20s418ms 36s771ms 12 219 0ms 4m47s 4s554ms 26s552ms 41s399ms 8m50s 13 125 0ms 5m53s 9s151ms 18s80ms 3m33s 5m56s 14 193 0ms 5m28s 4s767ms 27s20ms 51s516ms 5m36s 15 169 0ms 4m27s 6s377ms 28s947ms 2m56s 4m33s 16 125 0ms 12s811ms 1s901ms 8s532ms 11s149ms 15s623ms 17 118 0ms 16s447ms 1s963ms 7s909ms 10s70ms 25s519ms 18 133 0ms 17m50s 12s466ms 28s271ms 1m1s 17m52s 19 169 0ms 4m23s 3s920ms 18s867ms 33s75ms 4m37s 20 148 0ms 24s159ms 2s269ms 10s617ms 12s336ms 1m4s 21 110 0ms 5m19s 4s807ms 9s203ms 10s27ms 5m21s 22 115 0ms 4m28s 4s393ms 9s110ms 12s406ms 4m28s 23 133 0ms 5m53s 6s889ms 9s387ms 20s543ms 5m54s Mar 08 00 153 0ms 25m50s 13s841ms 11s225ms 18s540ms 26m7s 01 121 0ms 17s54ms 2s207ms 11s195ms 13s855ms 20s254ms 02 127 0ms 14m7s 12s252ms 11s118ms 3m32s 14m8s 03 146 0ms 7s667ms 2s44ms 11s353ms 13s956ms 22s69ms 04 141 0ms 17m53s 14s12ms 13s885ms 5m 17m55s 05 174 0ms 12m12s 6s580ms 20s316ms 29s449ms 12m25s 06 183 0ms 5m55s 7s433ms 34s496ms 3m34s 5m56s 07 440 0ms 12s259ms 1s922ms 14s93ms 15s691ms 9m30s 08 174 0ms 31s595ms 1s886ms 10s565ms 18s132ms 38s828ms 09 120 0ms 6s541ms 1s938ms 8s26ms 9s518ms 14s834ms 10 129 0ms 40s865ms 2s835ms 11s323ms 27s568ms 42s347ms 11 1,058 0ms 1m12s 5s327ms 3m14s 4m2s 5m15s 12 130 0ms 5m22s 6s523ms 12s416ms 24s858ms 5m28s 13 121 0ms 17m51s 13s48ms 14s334ms 33s424ms 18m2s 14 92 0ms 11m35s 9s554ms 8s574ms 10s941ms 11m37s 15 129 0ms 3m16s 4s846ms 8s864ms 14s938ms 5m12s 16 120 0ms 4m58s 4s638ms 10s609ms 13s808ms 5m 17 111 0ms 4m49s 4s831ms 9s650ms 12s513ms 4m53s 18 126 0ms 11m33s 11s823ms 1m6s 2m11s 11m36s 19 143 0ms 24m39s 38s544ms 1m53s 7m25s 24m44s 20 115 0ms 11m33s 8s438ms 16s430ms 18s40ms 11m42s 21 105 0ms 3m29s 7s586ms 12s498ms 2m28s 3m36s 22 111 0ms 3m46s 4s460ms 12s371ms 20s302ms 3m48s 23 142 0ms 6m41s 7s81ms 17s152ms 33s614ms 6m44s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 02 00 77 0 46s965ms 5s960ms 22s546ms 20m38s 01 89 0 3s286ms 5s991ms 9s371ms 37s968ms 02 96 0 6s449ms 5s300ms 13s348ms 37s738ms 03 95 0 4s850ms 7s409ms 13s198ms 38s130ms 04 101 0 5s182ms 7s476ms 13s252ms 22s424ms 05 131 0 3s144ms 12s416ms 20s93ms 36s191ms 06 79 10 3s312ms 6s452ms 10s469ms 42s86ms 07 55 0 5s44ms 4s411ms 5s602ms 42s904ms 08 137 0 3s469ms 9s776ms 22s556ms 1m7s 09 52 0 6s626ms 3s333ms 6s121ms 24s862ms 10 92 10 4s381ms 7s654ms 15s957ms 50s885ms 11 104 0 2s462ms 6s744ms 10s93ms 21s544ms 12 120 0 2s748ms 8s195ms 14s13ms 27s125ms 13 85 0 17s334ms 6s395ms 11s322ms 20s84ms 14 100 10 3s379ms 8s231ms 15s308ms 41s691ms 15 255 0 3s736ms 18s507ms 36s258ms 2m33s 16 201 0 4s634ms 14s715ms 18s741ms 1m14s 17 87 0 15s415ms 6s446ms 8s744ms 39s776ms 18 131 10 2s759ms 7s768ms 11s465ms 41s968ms 19 89 0 14s504ms 5s566ms 7s641ms 23s388ms 20 122 0 2s927ms 7s741ms 11s793ms 35s255ms 21 95 0 5s451ms 6s797ms 12s497ms 21s628ms 22 107 0 12s531ms 8s986ms 12s296ms 31s708ms 23 89 0 3s825ms 7s854ms 16s779ms 57s680ms Mar 03 00 83 0 28s679ms 10s232ms 16s184ms 5m25s 01 96 0 2s365ms 6s304ms 9s696ms 19s844ms 02 91 0 2s742ms 6s918ms 10s209ms 17s516ms 03 98 0 5s434ms 6s756ms 8s358ms 32s452ms 04 89 0 5s10ms 6s921ms 10s719ms 41s732ms 05 122 0 4s902ms 8s802ms 15s23ms 31s897ms 06 121 10 6s335ms 13s585ms 29s776ms 51s58ms 07 81 0 2s726ms 4s675ms 11s200ms 26s936ms 08 129 0 29s830ms 7s3ms 21s94ms 18m50s 09 102 0 14s862ms 6s793ms 10s477ms 3m9s 10 99 10 3s800ms 9s74ms 23s894ms 41s768ms 11 115 0 12s169ms 8s404ms 18s902ms 29s320ms 12 105 0 4s757ms 5s808ms 13s987ms 25s236ms 13 101 0 5s932ms 7s747ms 14s372ms 2m55s 14 98 10 19s904ms 9s885ms 24s244ms 7m9s 15 81 0 2s734ms 7s227ms 11s158ms 17s379ms 16 85 0 6s694ms 7s442ms 13s389ms 1m39s 17 95 0 13s716ms 9s154ms 14s851ms 5m37s 18 150 10 3s113ms 10s790ms 24s134ms 51s31ms 19 92 0 7s681ms 6s3ms 10s134ms 34s775ms 20 119 0 4s183ms 9s755ms 24s943ms 37s420ms 21 94 0 2s696ms 6s436ms 10s403ms 21s387ms 22 106 0 12s494ms 11s542ms 1m54s 3m55s 23 77 0 11s774ms 9s341ms 22s124ms 3m10s Mar 04 00 87 0 20s961ms 7s704ms 15s507ms 36s72ms 01 136 0 7s533ms 17s215ms 39s994ms 2m9s 02 14 0 7s959ms 0ms 2s663ms 1m43s 03 0 0 0ms 0ms 0ms 0ms 04 0 0 0ms 0ms 0ms 0ms 05 95 0 13s573ms 9s839ms 16s363ms 18m14s 06 125 10 4s993ms 10s356ms 18s737ms 51s840ms 07 81 0 16s646ms 8s37ms 22s323ms 17m54s 08 110 0 21s2ms 12s97ms 26s72ms 6m52s 09 97 0 6s538ms 7s216ms 10s488ms 7m21s 10 101 10 3s75ms 8s77ms 13s767ms 41s858ms 11 49 0 2s275ms 2s953ms 5s438ms 11s406ms 12 60 0 2s419ms 4s121ms 7s40ms 23s12ms 13 70 0 2s52ms 4s816ms 6s95ms 13s764ms 14 83 10 3s99ms 6s61ms 13s99ms 41s887ms 15 48 0 2s231ms 2s649ms 3s852ms 10s448ms 16 55 0 3s490ms 3s741ms 4s586ms 46s316ms 17 53 0 1s977ms 3s626ms 6s558ms 7s804ms 18 48 10 3s873ms 4s19ms 8s945ms 41s823ms 19 55 0 2s221ms 3s794ms 6s873ms 10s623ms 20 117 0 2s485ms 9s27ms 11s678ms 22s222ms 21 89 0 16s542ms 5s750ms 24s734ms 18m21s 22 104 0 1s824ms 5s440ms 7s295ms 10s640ms 23 104 0 2s99ms 5s147ms 8s332ms 16s133ms Mar 05 00 93 0 21s541ms 7s9ms 12s371ms 3m31s 01 115 0 8s382ms 6s655ms 11s160ms 1m11s 02 154 0 8s970ms 6s732ms 12s398ms 34s794ms 03 159 0 3s292ms 9s174ms 16s376ms 28s142ms 04 191 0 3s216ms 9s230ms 15s110ms 33s290ms 05 234 0 2s406ms 15s385ms 21s931ms 31s515ms 06 168 10 3s690ms 11s996ms 29s558ms 51s290ms 07 180 0 4s803ms 11s616ms 15s311ms 3m21s 08 162 0 1s953ms 8s621ms 10s656ms 12s418ms 09 146 0 3s86ms 9s227ms 11s637ms 36s165ms 10 119 9 3s749ms 9s269ms 16s363ms 55s666ms 11 112 0 2s59ms 6s722ms 8s165ms 11s177ms 12 170 0 2s903ms 9s595ms 16s304ms 1m1s 13 115 0 5s66ms 6s447ms 9s18ms 18s51ms 14 125 10 3s936ms 11s286ms 24s440ms 45s542ms 15 118 0 5s942ms 5s644ms 13s369ms 3m11s 16 141 0 12s281ms 7s531ms 12s418ms 4m55s 17 80 0 3s547ms 7s870ms 15s731ms 35s704ms 18 122 10 6s54ms 7s718ms 24s350ms 2m56s 19 140 0 10s517ms 6s543ms 9s394ms 2m11s 20 122 0 5s369ms 8s87ms 10s550ms 2m14s 21 125 0 4s337ms 6s790ms 13s540ms 1m13s 22 150 0 6s613ms 9s270ms 11s286ms 4m25s 23 132 0 5s840ms 10s2ms 16s375ms 51s79ms Mar 06 00 115 0 15s910ms 6s396ms 12s356ms 33s943ms 01 232 0 6s702ms 28s542ms 46s149ms 4m40s 02 222 0 4s388ms 12s37ms 37s4ms 3m2s 03 478 0 7s731ms 1m4s 1m14s 4m12s 04 332 0 5s532ms 54s976ms 1m8s 2m13s 05 336 0 4s958ms 43s943ms 1m4s 2m19s 06 139 10 10s667ms 11s746ms 29s2ms 59s534ms 07 197 0 3s229ms 11s28ms 16s579ms 1m18s 08 148 0 4s522ms 11s135ms 21s909ms 1m4s 09 177 0 4s994ms 13s124ms 40s23ms 1m47s 10 171 10 5s115ms 12s239ms 34s892ms 1m23s 11 97 0 2s295ms 6s349ms 10s36ms 11s999ms 12 126 0 4s91ms 7s70ms 8s770ms 49s741ms 13 134 0 2s146ms 6s715ms 11s65ms 14s980ms 14 125 10 3s231ms 9s578ms 14s577ms 41s942ms 15 132 0 5s669ms 7s499ms 13s72ms 2m14s 16 138 0 4s479ms 7s287ms 11s301ms 34s463ms 17 102 0 2s853ms 7s232ms 11s853ms 39s562ms 18 116 10 4s192ms 10s56ms 23s774ms 51s389ms 19 121 0 6s676ms 7s470ms 11s94ms 4m27s 20 131 0 11s987ms 9s233ms 15s367ms 3m1s 21 105 0 2s258ms 7s110ms 8s301ms 14s866ms 22 120 0 2s62ms 6s145ms 9s722ms 15s942ms 23 110 0 5s392ms 8s639ms 11s43ms 31s411ms Mar 07 00 124 0 15s26ms 7s916ms 13s573ms 1m4s 01 118 0 2s431ms 8s925ms 12s255ms 13s123ms 02 129 0 2s739ms 7s571ms 11s154ms 16s935ms 03 119 0 2s56ms 6s353ms 8s278ms 11s930ms 04 132 0 3s311ms 7s984ms 9s855ms 19s30ms 05 153 0 9s110ms 8s980ms 31s43ms 4m55s 06 129 10 7s652ms 10s355ms 31s305ms 3m32s 07 133 0 6s645ms 9s308ms 29s280ms 3m45s 08 102 0 4s774ms 6s259ms 10s49ms 13s414ms 09 108 0 2s108ms 5s887ms 7s722ms 11s378ms 10 119 10 5s815ms 11s776ms 24s186ms 51s726ms 11 187 0 2s204ms 11s540ms 17s698ms 33s494ms 12 217 0 4s577ms 13s820ms 26s552ms 57s576ms 13 124 0 9s209ms 9s634ms 18s80ms 4m16s 14 181 10 4s790ms 11s870ms 24s206ms 1m32s 15 168 0 6s401ms 9s762ms 28s947ms 4m10s 16 124 0 1s900ms 6s287ms 8s532ms 12s871ms 17 116 0 1s960ms 5s585ms 7s909ms 18s398ms 18 121 10 12s625ms 8s205ms 20s159ms 3m33s 19 167 0 3s935ms 12s113ms 18s867ms 39s326ms 20 144 0 2s248ms 7s192ms 10s205ms 12s336ms 21 109 0 4s829ms 5s929ms 9s203ms 11s956ms 22 111 0 4s458ms 6s800ms 8s421ms 13s294ms 23 132 0 6s925ms 7s198ms 9s387ms 5m9s Mar 08 00 150 0 14s44ms 8s537ms 11s225ms 4m21s 01 118 0 2s191ms 7s512ms 11s195ms 13s855ms 02 126 0 12s322ms 7s682ms 11s118ms 4m14s 03 144 0 2s40ms 7s698ms 11s353ms 14s27ms 04 141 0 14s12ms 8s659ms 13s885ms 5m37s 05 169 0 6s710ms 10s791ms 20s316ms 53s1ms 06 180 0 7s504ms 17s555ms 34s496ms 4m12s 07 439 0 1s919ms 7s304ms 14s93ms 21s41ms 08 173 0 1s880ms 8s844ms 10s565ms 20s532ms 09 118 0 1s934ms 6s274ms 8s26ms 9s859ms 10 126 0 2s841ms 7s610ms 11s323ms 31s471ms 11 1,058 0 5s327ms 2m32s 3m14s 4m36s 12 129 0 6s558ms 6s181ms 12s416ms 4m15s 13 120 0 13s139ms 7s309ms 14s334ms 3m42s 14 91 0 9s635ms 5s738ms 8s238ms 11s333ms 15 126 0 4s912ms 6s871ms 7s967ms 58s382ms 16 119 0 4s656ms 7s875ms 9s923ms 22s648ms 17 108 0 4s894ms 6s407ms 9s650ms 22s507ms 18 97 27 11s981ms 17s190ms 59s819ms 2m23s 19 92 48 39s306ms 1m7s 1m53s 24m24s 20 112 1 8s544ms 6s550ms 11s652ms 20s490ms 21 104 0 7s636ms 6s218ms 12s498ms 3m33s 22 105 0 4s591ms 7s685ms 12s371ms 22s156ms 23 140 0 7s147ms 8s306ms 17s152ms 4m41s Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 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 Mar 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 Mar 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 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Mar 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 Mar 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 Mar 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 Mar 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 Mar 02 00 0 78 78.00 0.00% 01 0 90 90.00 0.00% 02 0 96 96.00 0.00% 03 0 96 96.00 0.00% 04 0 101 101.00 0.00% 05 0 135 135.00 0.00% 06 0 98 98.00 0.00% 07 0 70 70.00 0.00% 08 0 163 163.00 0.00% 09 0 61 61.00 0.00% 10 0 93 93.00 0.00% 11 0 104 104.00 0.00% 12 0 122 122.00 0.00% 13 0 85 85.00 0.00% 14 0 100 100.00 0.00% 15 0 256 256.00 0.00% 16 0 202 202.00 0.00% 17 0 90 90.00 0.00% 18 0 131 131.00 0.00% 19 0 89 89.00 0.00% 20 0 122 122.00 0.00% 21 0 96 96.00 0.00% 22 0 107 107.00 0.00% 23 0 89 89.00 0.00% Mar 03 00 0 84 84.00 0.00% 01 0 96 96.00 0.00% 02 0 91 91.00 0.00% 03 0 98 98.00 0.00% 04 0 89 89.00 0.00% 05 0 126 126.00 0.00% 06 0 121 121.00 0.00% 07 0 81 81.00 0.00% 08 0 129 129.00 0.00% 09 0 103 103.00 0.00% 10 0 99 99.00 0.00% 11 0 120 120.00 0.00% 12 0 112 112.00 0.00% 13 0 110 110.00 0.00% 14 0 101 101.00 0.00% 15 0 88 88.00 0.00% 16 0 86 86.00 0.00% 17 0 95 95.00 0.00% 18 0 150 150.00 0.00% 19 0 92 92.00 0.00% 20 0 119 119.00 0.00% 21 0 94 94.00 0.00% 22 0 106 106.00 0.00% 23 0 77 77.00 0.00% Mar 04 00 0 87 87.00 0.00% 01 0 136 136.00 0.00% 02 0 14 14.00 0.00% 03 0 0 0.00 0.00% 04 0 0 0.00 0.00% 05 0 99 99.00 0.00% 06 0 131 131.00 0.00% 07 0 83 83.00 0.00% 08 0 117 117.00 0.00% 09 0 113 113.00 0.00% 10 0 115 115.00 0.00% 11 0 66 66.00 0.00% 12 0 62 62.00 0.00% 13 0 70 70.00 0.00% 14 0 88 88.00 0.00% 15 0 64 64.00 0.00% 16 0 62 62.00 0.00% 17 0 54 54.00 0.00% 18 0 49 49.00 0.00% 19 0 55 55.00 0.00% 20 0 117 117.00 0.00% 21 0 92 92.00 0.00% 22 0 104 104.00 0.00% 23 0 104 104.00 0.00% Mar 05 00 0 93 93.00 0.00% 01 0 115 115.00 0.00% 02 0 155 155.00 0.00% 03 0 159 159.00 0.00% 04 0 192 192.00 0.00% 05 0 243 243.00 0.00% 06 0 169 169.00 0.00% 07 0 182 182.00 0.00% 08 0 172 172.00 0.00% 09 0 158 158.00 0.00% 10 0 138 138.00 0.00% 11 0 132 132.00 0.00% 12 0 175 175.00 0.00% 13 0 134 134.00 0.00% 14 0 125 125.00 0.00% 15 0 118 118.00 0.00% 16 0 144 144.00 0.00% 17 0 132 132.00 0.00% 18 0 124 124.00 0.00% 19 0 146 146.00 0.00% 20 0 123 123.00 0.00% 21 0 125 125.00 0.00% 22 0 152 152.00 0.00% 23 0 133 133.00 0.00% Mar 06 00 0 119 119.00 0.00% 01 0 233 233.00 0.00% 02 0 224 224.00 0.00% 03 0 481 481.00 0.00% 04 0 333 333.00 0.00% 05 0 342 342.00 0.00% 06 0 166 166.00 0.00% 07 0 216 216.00 0.00% 08 0 173 173.00 0.00% 09 0 197 197.00 0.00% 10 0 196 196.00 0.00% 11 0 145 145.00 0.00% 12 0 160 160.00 0.00% 13 0 136 136.00 0.00% 14 0 133 133.00 0.00% 15 0 135 135.00 0.00% 16 0 141 141.00 0.00% 17 0 105 105.00 0.00% 18 0 116 116.00 0.00% 19 0 126 126.00 0.00% 20 0 131 131.00 0.00% 21 0 105 105.00 0.00% 22 0 120 120.00 0.00% 23 0 111 111.00 0.00% Mar 07 00 0 127 127.00 0.00% 01 0 121 121.00 0.00% 02 0 131 131.00 0.00% 03 0 119 119.00 0.00% 04 0 135 135.00 0.00% 05 0 161 161.00 0.00% 06 0 142 142.00 0.00% 07 0 151 151.00 0.00% 08 0 120 120.00 0.00% 09 0 126 126.00 0.00% 10 0 134 134.00 0.00% 11 0 189 189.00 0.00% 12 0 224 224.00 0.00% 13 0 129 129.00 0.00% 14 0 183 183.00 0.00% 15 0 169 169.00 0.00% 16 0 125 125.00 0.00% 17 0 118 118.00 0.00% 18 0 123 123.00 0.00% 19 0 169 169.00 0.00% 20 0 148 148.00 0.00% 21 0 111 111.00 0.00% 22 0 116 116.00 0.00% 23 0 133 133.00 0.00% Mar 08 00 0 154 154.00 0.00% 01 0 121 121.00 0.00% 02 0 127 127.00 0.00% 03 0 146 146.00 0.00% 04 0 141 141.00 0.00% 05 0 174 174.00 0.00% 06 0 183 183.00 0.00% 07 0 443 443.00 0.00% 08 0 174 174.00 0.00% 09 0 120 120.00 0.00% 10 0 129 129.00 0.00% 11 0 1,058 1,058.00 0.00% 12 0 130 130.00 0.00% 13 0 121 121.00 0.00% 14 0 92 92.00 0.00% 15 0 127 127.00 0.00% 16 0 120 120.00 0.00% 17 0 111 111.00 0.00% 18 0 99 99.00 0.00% 19 0 95 95.00 0.00% 20 0 114 114.00 0.00% 21 0 105 105.00 0.00% 22 0 111 111.00 0.00% 23 0 142 142.00 0.00% Day Hour Count Average / Second Mar 02 00 90 0.03/s 01 95 0.03/s 02 93 0.03/s 03 87 0.02/s 04 81 0.02/s 05 412 0.11/s 06 104 0.03/s 07 109 0.03/s 08 178 0.05/s 09 114 0.03/s 10 112 0.03/s 11 93 0.03/s 12 121 0.03/s 13 111 0.03/s 14 116 0.03/s 15 236 0.07/s 16 129 0.04/s 17 91 0.03/s 18 95 0.03/s 19 90 0.03/s 20 109 0.03/s 21 99 0.03/s 22 90 0.03/s 23 91 0.03/s Mar 03 00 99 0.03/s 01 90 0.03/s 02 89 0.02/s 03 109 0.03/s 04 109 0.03/s 05 116 0.03/s 06 102 0.03/s 07 109 0.03/s 08 164 0.05/s 09 100 0.03/s 10 104 0.03/s 11 99 0.03/s 12 122 0.03/s 13 89 0.02/s 14 91 0.03/s 15 96 0.03/s 16 101 0.03/s 17 95 0.03/s 18 336 0.09/s 19 88 0.02/s 20 128 0.04/s 21 101 0.03/s 22 120 0.03/s 23 98 0.03/s Mar 04 00 113 0.03/s 01 99 0.03/s 02 288 0.08/s 03 64 0.02/s 04 64 0.02/s 05 216 0.06/s 06 95 0.03/s 07 216 0.06/s 08 359 0.10/s 09 206 0.06/s 10 92 0.03/s 11 89 0.02/s 12 79 0.02/s 13 94 0.03/s 14 105 0.03/s 15 90 0.03/s 16 80 0.02/s 17 82 0.02/s 18 85 0.02/s 19 83 0.02/s 20 104 0.03/s 21 268 0.07/s 22 94 0.03/s 23 85 0.02/s Mar 05 00 117 0.03/s 01 588 0.16/s 02 502 0.14/s 03 106 0.03/s 04 109 0.03/s 05 126 0.04/s 06 97 0.03/s 07 103 0.03/s 08 101 0.03/s 09 112 0.03/s 10 96 0.03/s 11 89 0.02/s 12 88 0.02/s 13 88 0.02/s 14 95 0.03/s 15 90 0.03/s 16 94 0.03/s 17 86 0.02/s 18 107 0.03/s 19 101 0.03/s 20 97 0.03/s 21 93 0.03/s 22 110 0.03/s 23 150 0.04/s Mar 06 00 92 0.03/s 01 140 0.04/s 02 138 0.04/s 03 154 0.04/s 04 144 0.04/s 05 146 0.04/s 06 144 0.04/s 07 142 0.04/s 08 130 0.04/s 09 120 0.03/s 10 97 0.03/s 11 84 0.02/s 12 102 0.03/s 13 85 0.02/s 14 93 0.03/s 15 86 0.02/s 16 93 0.03/s 17 91 0.03/s 18 98 0.03/s 19 88 0.02/s 20 82 0.02/s 21 77 0.02/s 22 81 0.02/s 23 96 0.03/s Mar 07 00 94 0.03/s 01 128 0.04/s 02 117 0.03/s 03 90 0.03/s 04 112 0.03/s 05 111 0.03/s 06 107 0.03/s 07 98 0.03/s 08 94 0.03/s 09 91 0.03/s 10 103 0.03/s 11 131 0.04/s 12 192 0.05/s 13 94 0.03/s 14 116 0.03/s 15 128 0.04/s 16 98 0.03/s 17 88 0.02/s 18 104 0.03/s 19 123 0.03/s 20 111 0.03/s 21 84 0.02/s 22 96 0.03/s 23 96 0.03/s Mar 08 00 106 0.03/s 01 107 0.03/s 02 98 0.03/s 03 106 0.03/s 04 116 0.03/s 05 125 0.03/s 06 373 0.10/s 07 428 0.12/s 08 712 0.20/s 09 109 0.03/s 10 99 0.03/s 11 268 0.07/s 12 112 0.03/s 13 95 0.03/s 14 84 0.02/s 15 137 0.04/s 16 94 0.03/s 17 102 0.03/s 18 99 0.03/s 19 93 0.03/s 20 89 0.02/s 21 108 0.03/s 22 97 0.03/s 23 103 0.03/s Day Hour Count Average Duration Average idle time Mar 02 00 91 26m21s 25m41s 01 95 27m14s 27m11s 02 93 25m52s 25m46s 03 86 24m28s 24m22s 04 82 29m3s 28m56s 05 412 6m20s 6m19s 06 104 21m4s 21m1s 07 109 22m41s 22m38s 08 178 13m59s 13m56s 09 114 21m20s 21m17s 10 112 21m30s 21m26s 11 93 26m1s 25m59s 12 120 20m26s 20m23s 13 112 21m37s 21m24s 14 116 21m45s 21m42s 15 233 10m16s 10m12s 16 132 17m5s 16m57s 17 91 27m13s 26m58s 18 95 25m54s 25m50s 19 90 27m10s 26m55s 20 109 21m26s 21m23s 21 98 24m21s 24m16s 22 91 24m34s 24m19s 23 91 26m57s 26m54s Mar 03 00 99 25m15s 24m51s 01 90 26m15s 26m12s 02 89 25m58s 25m56s 03 109 22m4s 21m59s 04 109 22m9s 22m5s 05 116 20m45s 20m40s 06 102 23m23s 23m15s 07 109 22m22s 22m20s 08 164 14m56s 14m33s 09 100 24m6s 23m51s 10 104 23m30s 23m26s 11 99 24m48s 24m34s 12 122 20m35s 20m31s 13 88 27m37s 27m31s 14 92 26m48s 26m25s 15 96 24m54s 24m52s 16 101 24m44s 24m38s 17 95 25m41s 25m28s 18 336 7m4s 7m3s 19 88 26m27s 26m19s 20 128 18m47s 18m43s 21 101 22m40s 22m38s 22 120 19m42s 19m31s 23 98 25m28s 25m19s Mar 04 00 113 21m46s 21m30s 01 98 22m12s 22m2s 02 289 8m18s 8m18s 03 64 30m42s 30m42s 04 64 30m38s 30m38s 05 216 16m42s 16m36s 06 95 24m58s 24m51s 07 194 12m17s 12m10s 08 379 8m45s 8m39s 09 208 12m49s 12m46s 10 92 25m48s 25m44s 11 89 27m26s 27m25s 12 79 30m12s 30m10s 13 94 23m58s 23m56s 14 105 22m37s 22m34s 15 86 28m51s 28m50s 16 81 28m52s 28m50s 17 84 32m31s 32m30s 18 86 30m29s 30m26s 19 83 29m18s 29m16s 20 103 23m36s 23m33s 21 269 9m39s 9m34s 22 94 25m8s 25m6s 23 85 27m26s 27m24s Mar 05 00 116 19m58s 19m40s 01 589 4m20s 4m18s 02 502 4m39s 4m37s 03 106 22m38s 22m33s 04 109 22m29s 22m23s 05 126 18m24s 18m20s 06 97 24m29s 24m22s 07 103 24m30s 24m22s 08 99 23m16s 23m13s 09 112 22m34s 22m30s 10 96 25m10s 25m5s 11 89 26m33s 26m31s 12 88 26m50s 26m44s 13 87 27m36s 27m29s 14 95 25m42s 25m36s 15 89 27m35s 27m27s 16 95 25m50s 25m32s 17 86 28m7s 28m4s 18 110 36m8s 36m1s 19 101 23m48s 23m33s 20 96 24m49s 24m42s 21 93 24m26s 24m20s 22 111 22m 21m51s 23 150 15m14s 15m9s Mar 06 00 92 26m5s 25m45s 01 140 18m1s 17m50s 02 138 17m5s 16m58s 03 154 15m45s 15m21s 04 144 16m57s 16m44s 05 145 16m42s 16m30s 06 145 17m8s 16m57s 07 142 16m42s 16m38s 08 130 18m51s 18m46s 09 117 19m40s 19m32s 10 95 26m21s 26m11s 11 85 28m38s 28m35s 12 102 24m15s 24m10s 13 85 27m31s 27m28s 14 93 28m3s 27m59s 15 86 26m57s 26m48s 16 93 26m14s 26m7s 17 91 26m9s 26m6s 18 102 43m16s 43m11s 19 88 25m58s 25m49s 20 82 29m19s 29m 21 77 29m59s 29m56s 22 81 28m38s 28m35s 23 96 24m37s 24m31s Mar 07 00 94 27m8s 26m48s 01 128 19m17s 19m15s 02 117 20m12s 20m9s 03 90 25m2s 25m 04 112 21m10s 21m6s 05 111 22m56s 22m43s 06 107 23m17s 23m7s 07 98 24m8s 23m59s 08 94 25m30s 25m24s 09 90 27m51s 27m49s 10 104 23m 22m53s 11 131 19m18s 19m15s 12 190 12m36s 12m30s 13 96 25m50s 25m39s 14 116 20m40s 20m32s 15 127 19m5s 18m57s 16 99 24m59s 24m57s 17 88 27m36s 27m33s 18 103 23m52s 23m36s 19 124 19m13s 19m8s 20 111 20m27s 20m24s 21 84 25m45s 25m38s 22 96 25m36s 25m30s 23 96 24m31s 24m21s Mar 08 00 106 23m18s 22m58s 01 107 22m42s 22m39s 02 98 24m6s 23m50s 03 106 22m56s 22m53s 04 115 21m8s 20m51s 05 126 19m12s 19m2s 06 373 6m41s 6m37s 07 428 5m32s 5m30s 08 712 3m37s 3m36s 09 109 21m15s 21m13s 10 99 24m39s 24m35s 11 268 9m29s 9m8s 12 111 21m37s 21m30s 13 95 25m34s 25m17s 14 85 28m9s 27m58s 15 137 18m56s 18m52s 16 94 25m17s 25m11s 17 101 23m54s 23m49s 18 99 24m10s 23m55s 19 93 25m1s 24m1s 20 90 26m21s 26m10s 21 108 20m19s 20m12s 22 97 25m6s 25m 23 102 23m34s 23m24s -
Connections
Established Connections
Key values
- 91 connections Connection Peak
- 2025-03-04 08:02:19 Date
Connections per database
Key values
- ctdprd51 Main Database
- 21,265 connections Total
Connections per user
Key values
- pubeu Main User
- 21,265 connections Total
-
Sessions
Simultaneous sessions
Key values
- 98 sessions Session Peak
- 2025-03-04 21:42:59 Date
Histogram of session times
Key values
- 11,624 1800000-3600000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 21,265 sessions Total
Sessions per user
Key values
- pubeu Main User
- 21,265 sessions Total
Sessions per host
Key values
- 10.12.5.37 Main Host
- 21,265 sessions Total
Host Count Total Duration Average Duration 10.12.5.170 12 1h2m22s 5m11s 10.12.5.36 1 1s535ms 1s535ms 10.12.5.37 10,641 57d23h53m50s 7m50s 10.12.5.38 2,642 55d23h50m11s 30m31s 10.12.5.39 2,600 56d39m57s 31m1s 10.12.5.40 7 24m31s 3m30s 10.12.5.45 2,674 55d23h53m53s 30m9s 10.12.5.46 2,624 55d21h12m12s 30m40s 192.168.201.10 11 2d19h10m54s 6h6m26s ::1 51 2h25m33s 2m51s [local] 2 59s420ms 29s710ms -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 165,544 buffers Checkpoint Peak
- 2025-03-04 06:57:40 Date
- 1619.862 seconds Highest write time
- 0.009 seconds Sync time
Checkpoints Wal files
Key values
- 0 files Wal files usage Peak
- 2025-03-05 01:03:48 Date
Checkpoints distance
Key values
- 1,273.05 Mo Distance Peak
- 2025-03-03 10:27:39 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Mar 02 00 8,098 811.083s 0.003s 811.222s 01 8,595 860.424s 0.004s 860.512s 02 1,115 111.797s 0.004s 111.829s 03 1,089 109.227s 0.002s 109.259s 04 2,186 218.351s 0.003s 218.431s 05 6,308 631.389s 0.004s 631.486s 06 2,573 257.425s 0.004s 257.457s 07 2,390 238.989s 0.004s 239.071s 08 2,632 263.548s 0.003s 263.626s 09 6,306 631.639s 0.004s 631.776s 10 57,183 1,670.624s 0.004s 1,670.827s 11 6,507 651.675s 0.004s 651.707s 12 2,018 202.161s 0.003s 202.246s 13 2,711 271.618s 0.003s 271.652s 14 1,677 168.089s 0.004s 168.132s 15 1,902 190.605s 0.004s 190.685s 16 3,160 316.682s 0.004s 316.774s 17 1,557 156.042s 0.002s 156.072s 18 4,485 449.269s 0.003s 449.326s 19 1,507 151.02s 0.004s 151.05s 20 1,583 158.672s 0.003s 158.715s 21 1,748 175.192s 0.004s 175.223s 22 3,025 303s 0.004s 303.085s 23 2,313 231.785s 0.002s 231.864s Mar 03 00 12,564 1,257.963s 0.003s 1,258.117s 01 1,431 143.434s 0.003s 143.515s 02 775 77.717s 0.003s 77.748s 03 2,520 252.411s 0.003s 252.493s 04 10,079 1,009.029s 0.003s 1,009.082s 05 939 94.16s 0.004s 94.202s 06 1,431 143.392s 0.004s 143.423s 07 3,598 360.686s 0.004s 360.771s 08 885 88.764s 0.004s 88.806s 09 1,284 128.73s 0.004s 128.763s 10 61,705 1,636.386s 0.003s 1,636.599s 11 1,231 123.404s 0.003s 123.435s 12 1,988 199.039s 0.004s 199.081s 13 3,364 337.036s 0.002s 337.067s 14 3,725 373.002s 0.004s 373.081s 15 3,786 379.199s 0.004s 379.278s 16 5,124 513.207s 0.004s 513.252s 17 2,367 237.156s 0.004s 237.186s 18 2,136 214.214s 0.003s 214.301s 19 2,099 210.387s 0.004s 210.418s 20 1,753 175.634s 0.004s 175.677s 21 2,607 261.105s 0.004s 261.136s 22 1,993 199.621s 0.004s 199.698s 23 2,341 234.614s 0.004s 234.645s Mar 04 00 52,952 1,869.791s 0.004s 1,870.02s 01 1,420 142.367s 0.003s 142.397s 02 1,025 102.818s 0.003s 102.851s 03 48 4.894s 0.001s 4.909s 04 0 0s 0s 0s 05 0 0s 0s 0s 06 167,096 1,775.14s 0.004s 1,775.324s 07 1,550 155.398s 0.003s 155.44s 08 1,289 129.358s 0.003s 129.388s 09 1,412 141.705s 0.004s 141.737s 10 2,149 215.36s 0.004s 215.441s 11 55,234 1,984.171s 0.004s 1,984.37s 12 1,552 155.63s 0.004s 155.661s 13 4,212 421.74s 0.003s 421.786s 14 1,707 171.111s 0.004s 171.143s 15 1,940 194.42s 0.004s 194.5s 16 1,663 166.691s 0.004s 166.767s 17 1,120 112.355s 0.003s 112.385s 18 986 98.835s 0.002s 98.876s 19 1,871 187.466s 0.003s 187.497s 20 1,120 112.295s 0.004s 112.336s 21 61,096 1,756.322s 0.004s 1,756.518s 22 82,319 1,673.634s 0.003s 1,673.82s 23 4,510 451.725s 0.003s 451.765s Mar 05 00 5,121 512.995s 0.004s 513.167s 01 5,137 514.429s 0.003s 514.519s 02 3,218 322.505s 0.003s 322.582s 03 10,262 1,027.844s 0.003s 1,027.982s 04 1,154 115.691s 0.004s 115.722s 05 6,385 639.375s 0.004s 639.469s 06 1,710 171.38s 0.004s 171.457s 07 13,056 1,307.366s 0.003s 1,307.408s 08 1,627 163.053s 0.004s 163.084s 09 1,692 169.571s 0.004s 169.65s 10 1,498 150.153s 0.004s 150.185s 11 2,371 237.571s 0.004s 237.651s 12 1,122 112.473s 0.003s 112.505s 13 2,642 264.622s 0.003s 264.697s 14 1,318 132.108s 0.004s 132.139s 15 1,829 183.281s 0.004s 183.324s 16 1,532 153.531s 0.004s 153.563s 17 2,782 278.73s 0.004s 278.817s 18 1,982 198.673s 0.003s 198.725s 19 2,189 219.344s 0.002s 219.385s 20 1,734 173.667s 0.004s 173.747s 21 5,457 546.443s 0.003s 546.529s 22 1,564 156.646s 0.003s 156.678s 23 1,689 169.277s 0.004s 169.357s Mar 06 00 5,200 520.767s 0.003s 520.89s 01 2,759 276.347s 0.004s 276.427s 02 807 80.923s 0.003s 80.963s 03 943 94.566s 0.004s 94.597s 04 994 99.681s 0.002s 99.71s 05 1,180 118.296s 0.003s 118.327s 06 6,925 693.684s 0.004s 693.817s 07 2,123 212.896s 0.004s 212.975s 08 1,793 179.638s 0.003s 179.678s 09 1,638 164.416s 0.004s 164.447s 10 2,372 237.701s 0.002s 237.778s 11 2,233 223.668s 0.004s 223.744s 12 3,005 301.097s 0.004s 301.178s 13 2,437 243.807s 0.004s 243.888s 14 1,136 113.907s 0.004s 113.942s 15 1,300 130.373s 0.003s 130.412s 16 1,970 197.446s 0.005s 197.478s 17 1,271 127.407s 0.004s 127.447s 18 1,548 155.146s 0.004s 155.177s 19 1,457 146.034s 0.004s 146.074s 20 2,161 216.634s 0.004s 216.667s 21 2,927 293.341s 0.003s 293.416s 22 3,878 388.316s 0.004s 388.447s 23 2,909 291.56s 0.004s 291.641s Mar 07 00 5,348 535.831s 0.004s 536.056s 01 47,491 1,645.49s 0.003s 1,645.52s 02 2,680 268.461s 0.004s 268.542s 03 1,463 146.651s 0.003s 146.726s 04 1,836 184.048s 0.003s 184.079s 05 1,869 187.333s 0.004s 187.41s 06 1,522 152.652s 0.003s 152.683s 07 1,766 176.93s 0.004s 177.012s 08 1,255 125.858s 0.004s 125.888s 09 1,198 120.134s 0.003s 120.213s 10 19,995 2,001.675s 0.003s 2,001.832s 11 1,008 100.975s 0.004s 101.014s 12 2,355 235.903s 0.004s 235.979s 13 1,695 169.922s 0.003s 169.954s 14 1,427 143.083s 0.004s 143.116s 15 2,453 245.421s 0.002s 245.546s 16 118,989 3,239.497s 0.004s 3,239.815s 17 2,875 288.102s 0.003s 288.179s 18 1,429 143.254s 0.004s 143.286s 19 1,264 126.858s 0.011s 126.915s 20 1,307 130.902s 0.003s 130.931s 21 1,913 191.718s 0.003s 191.798s 22 2,448 245.289s 0.003s 245.32s 23 1,493 149.616s 0.003s 149.693s Mar 08 00 6,442 645.394s 0.004s 645.562s 01 1,272 127.497s 0.003s 127.527s 02 765 76.538s 0.003s 76.57s 03 825 82.766s 0.003s 82.805s 04 1,520 152.46s 0.003s 152.492s 05 1,309 131.217s 0.004s 131.249s 06 8,917 893.204s 0.004s 893.335s 07 5,383 539.303s 0.004s 539.385s 08 884 88.652s 0.003s 88.69s 09 78,358 1,675.448s 0.003s 1,675.622s 10 1,042 104.48s 0.004s 104.513s 11 898 90.075s 0.002s 90.112s 12 1,389 139.222s 0.004s 139.253s 13 7,450 746.217s 0.004s 746.3s 14 956 95.839s 0.004s 95.871s 15 1,603 160.633s 0.004s 160.792s 16 989 99.067s 0.004s 99.097s 17 1,553 155.707s 0.006s 155.741s 18 5,331 534s 0.004s 534.088s 19 673 67.52s 0.002s 67.581s 20 31,742 2,091.19s 0.005s 2,091.236s 21 1,256 125.901s 0.004s 125.975s 22 1,869 187.265s 0.002s 187.295s 23 1,355 135.843s 0.004s 135.925s Day Hour Added Removed Recycled Synced files Longest sync Average sync Mar 02 00 0 5 0 67 0.001s 0.002s 01 0 3 0 59 0.001s 0.002s 02 0 0 0 32 0.001s 0.002s 03 0 0 0 31 0.001s 0.002s 04 0 1 0 45 0.001s 0.002s 05 0 3 0 51 0.001s 0.002s 06 0 0 0 82 0.001s 0.002s 07 0 1 0 127 0.001s 0.002s 08 0 1 0 146 0.001s 0.002s 09 0 4 0 140 0.001s 0.002s 10 0 41 0 43 0.001s 0.002s 11 0 0 0 83 0.001s 0.002s 12 0 1 0 22 0.001s 0.002s 13 0 0 0 29 0.001s 0.002s 14 0 1 0 24 0.001s 0.002s 15 0 1 0 23 0.001s 0.002s 16 0 1 0 55 0.001s 0.002s 17 0 0 0 22 0.001s 0.002s 18 0 3 0 76 0.001s 0.002s 19 0 0 0 18 0.001s 0.002s 20 0 1 0 23 0.001s 0.002s 21 0 0 0 29 0.001s 0.002s 22 0 1 0 123 0.001s 0.002s 23 0 1 0 33 0.001s 0.002s Mar 03 00 0 9 0 85 0.001s 0.002s 01 0 1 0 47 0.001s 0.002s 02 0 0 0 38 0.001s 0.002s 03 0 1 0 56 0.001s 0.002s 04 0 5 0 50 0.001s 0.002s 05 0 1 0 30 0.001s 0.002s 06 0 0 0 48 0.001s 0.002s 07 0 1 0 46 0.001s 0.002s 08 0 1 0 31 0.001s 0.002s 09 0 0 0 95 0.001s 0.002s 10 0 40 0 54 0.001s 0.002s 11 0 0 0 81 0.001s 0.002s 12 0 1 0 154 0.001s 0.002s 13 0 0 0 123 0.001s 0.002s 14 0 1 0 144 0.001s 0.002s 15 0 1 0 138 0.001s 0.002s 16 0 2 0 53 0.001s 0.002s 17 0 0 0 32 0.001s 0.002s 18 0 1 0 34 0.001s 0.002s 19 0 0 0 40 0.001s 0.002s 20 0 1 0 21 0.001s 0.002s 21 0 0 0 49 0.001s 0.002s 22 0 1 0 29 0.001s 0.002s 23 0 0 0 31 0.001s 0.002s Mar 04 00 0 36 0 105 0.001s 0.002s 01 0 0 0 50 0.001s 0.002s 02 0 0 0 29 0.001s 0.002s 03 0 0 0 9 0.001s 0.001s 04 0 0 0 0 0s 0s 05 0 0 0 0 0s 0s 06 0 18 0 102 0.001s 0.002s 07 0 1 0 140 0.001s 0.002s 08 0 0 0 135 0.001s 0.002s 09 0 0 0 198 0.001s 0.002s 10 0 1 0 93 0.001s 0.002s 11 0 36 0 166 0.001s 0.002s 12 0 0 0 149 0.001s 0.002s 13 0 3 0 63 0.001s 0.002s 14 0 0 0 62 0.001s 0.002s 15 0 1 0 215 0.001s 0.002s 16 0 2 0 195 0.001s 0.002s 17 0 0 0 26 0.001s 0.002s 18 0 1 0 36 0.001s 0.002s 19 0 0 0 31 0.001s 0.002s 20 0 1 0 30 0.001s 0.002s 21 0 40 0 48 0.001s 0.002s 22 0 40 0 43 0.001s 0.002s 23 0 1 0 49 0.001s 0.002s Mar 05 00 0 2 0 86 0.002s 0.002s 01 0 4 0 57 0.001s 0.002s 02 0 1 0 59 0.001s 0.002s 03 0 6 0 58 0.001s 0.002s 04 0 0 0 37 0.001s 0.002s 05 0 4 0 48 0.001s 0.002s 06 0 1 0 41 0.001s 0.002s 07 0 2 0 51 0.001s 0.002s 08 0 0 0 82 0.001s 0.002s 09 0 1 0 142 0.001s 0.002s 10 0 0 0 134 0.001s 0.002s 11 0 1 0 139 0.001s 0.002s 12 0 0 0 32 0.001s 0.002s 13 0 1 0 83 0.001s 0.002s 14 0 0 0 67 0.001s 0.002s 15 0 1 0 49 0.001s 0.002s 16 0 0 0 32 0.001s 0.002s 17 0 1 0 132 0.001s 0.002s 18 0 0 0 82 0.001s 0.002s 19 0 1 0 42 0.001s 0.002s 20 0 1 0 23 0.001s 0.002s 21 0 3 0 39 0.001s 0.002s 22 0 0 0 29 0.001s 0.002s 23 0 1 0 31 0.001s 0.002s Mar 06 00 0 2 0 82 0.001s 0.002s 01 0 1 0 61 0.001s 0.002s 02 0 1 0 36 0.001s 0.002s 03 0 0 0 42 0.001s 0.002s 04 0 0 0 44 0.001s 0.002s 05 0 0 0 50 0.001s 0.002s 06 0 4 0 108 0.001s 0.002s 07 0 1 0 153 0.001s 0.002s 08 0 1 0 153 0.001s 0.002s 09 0 0 0 146 0.001s 0.002s 10 0 1 0 95 0.001s 0.002s 11 0 1 0 155 0.001s 0.002s 12 0 1 0 156 0.001s 0.002s 13 0 1 0 106 0.001s 0.002s 14 0 0 0 27 0.001s 0.002s 15 0 1 0 71 0.001s 0.002s 16 0 0 0 32 0.001s 0.002s 17 0 1 0 31 0.001s 0.002s 18 0 0 0 40 0.001s 0.002s 19 0 1 0 48 0.001s 0.002s 20 0 0 0 39 0.001s 0.002s 21 0 1 0 49 0.001s 0.002s 22 0 2 0 40 0.001s 0.002s 23 0 1 0 36 0.001s 0.002s Mar 07 00 0 24 0 97 0.001s 0.002s 01 0 0 0 50 0.001s 0.002s 02 0 1 0 46 0.001s 0.002s 03 0 1 0 46 0.002s 0.002s 04 0 0 0 36 0.001s 0.002s 05 0 1 0 50 0.001s 0.002s 06 0 0 0 80 0.001s 0.002s 07 0 1 0 139 0.001s 0.002s 08 0 0 0 146 0.001s 0.002s 09 0 1 0 123 0.001s 0.002s 10 0 12 0 108 0.001s 0.002s 11 0 1 0 126 0.001s 0.002s 12 0 1 0 134 0.001s 0.002s 13 0 0 0 117 0.001s 0.002s 14 0 0 0 39 0.001s 0.002s 15 0 2 0 62 0.001s 0.002s 16 0 72 0 102 0.001s 0.002s 17 0 1 0 44 0.001s 0.002s 18 0 0 0 24 0.001s 0.002s 19 0 1 0 28 0.008s 0.002s 20 0 0 0 23 0.001s 0.002s 21 0 1 0 43 0.001s 0.002s 22 0 0 0 33 0.001s 0.002s 23 0 1 0 28 0.001s 0.002s Mar 08 00 0 3 0 100 0.001s 0.002s 01 0 0 0 50 0.001s 0.002s 02 0 0 0 41 0.001s 0.002s 03 0 1 0 40 0.001s 0.002s 04 0 0 0 37 0.001s 0.002s 05 0 0 0 56 0.001s 0.002s 06 0 6 0 51 0.001s 0.002s 07 0 2 0 52 0.001s 0.002s 08 0 1 0 28 0.001s 0.002s 09 0 34 0 50 0.001s 0.002s 10 0 0 0 32 0.001s 0.002s 11 0 1 0 23 0.001s 0.002s 12 0 0 0 44 0.001s 0.002s 13 0 4 0 53 0.001s 0.002s 14 0 0 0 21 0.001s 0.002s 15 0 3 0 40 0.001s 0.003s 16 0 0 0 21 0.001s 0.002s 17 0 0 0 31 0.003s 0.002s 18 0 3 0 43 0.001s 0.002s 19 0 1 0 11 0.001s 0.001s 20 0 0 0 43 0.001s 0.003s 21 0 1 0 23 0.001s 0.002s 22 0 0 0 30 0.001s 0.002s 23 0 1 0 20 0.001s 0.002s Day Hour Count Avg time (sec) Mar 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 Mar 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 Mar 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 Mar 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 Mar 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 Mar 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 Mar 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 Mar 02 00 33,769.50 kB 35,734.50 kB 01 28,747.50 kB 38,220.00 kB 02 1,600.50 kB 37,010.50 kB 03 1,554.00 kB 30,296.50 kB 04 6,204.50 kB 25,491.50 kB 05 20,496.50 kB 32,911.00 kB 06 5,905.00 kB 27,735.00 kB 07 8,292.00 kB 24,020.50 kB 08 8,326.00 kB 21,086.00 kB 09 28,567.50 kB 34,686.50 kB 10 304,233.00 kB 325,360.00 kB 11 33,373.00 kB 523,448.50 kB 12 5,908.50 kB 425,048.00 kB 13 6,038.50 kB 345,401.50 kB 14 4,608.00 kB 280,726.50 kB 15 5,439.00 kB 228,404.00 kB 16 8,198.50 kB 186,509.00 kB 17 4,508.50 kB 152,030.00 kB 18 19,213.50 kB 126,780.50 kB 19 4,542.50 kB 103,532.00 kB 20 4,824.50 kB 84,774.50 kB 21 4,759.00 kB 69,607.00 kB 22 6,476.00 kB 57,511.50 kB 23 7,413.50 kB 48,054.00 kB Mar 03 00 72,869.00 kB 79,837.00 kB 01 4,847.00 kB 99,246.50 kB 02 2,368.50 kB 81,089.50 kB 03 7,752.00 kB 67,143.00 kB 04 44,983.00 kB 83,564.50 kB 05 2,555.00 kB 68,171.50 kB 06 3,073.00 kB 55,779.00 kB 07 10,704.50 kB 47,206.00 kB 08 2,580.00 kB 38,744.50 kB 09 3,378.50 kB 32,006.50 kB 10 327,355.00 kB 619,355.50 kB 11 3,833.00 kB 502,299.00 kB 12 3,911.50 kB 407,628.50 kB 13 4,261.50 kB 331,017.50 kB 14 6,583.00 kB 269,168.00 kB 15 8,392.50 kB 219,509.50 kB 16 13,259.00 kB 180,644.50 kB 17 3,692.50 kB 147,043.00 kB 18 4,064.00 kB 119,814.00 kB 19 4,213.50 kB 97,911.50 kB 20 3,886.00 kB 80,028.50 kB 21 4,281.50 kB 65,627.50 kB 22 4,301.00 kB 53,980.50 kB 23 4,665.50 kB 44,578.00 kB Mar 04 00 292,107.00 kB 546,304.50 kB 01 2,287.50 kB 443,240.00 kB 02 1,064.50 kB 359,343.00 kB 03 132.00 kB 306,421.00 kB 04 0.00 kB 0.00 kB 05 0.00 kB 0.00 kB 06 143,307.00 kB 280,091.00 kB 07 4,687.00 kB 243,746.00 kB 08 3,638.00 kB 197,938.50 kB 09 2,416.50 kB 160,971.50 kB 10 2,543.00 kB 130,858.00 kB 11 294,722.00 kB 334,508.50 kB 12 5,283.50 kB 474,364.50 kB 13 19,106.50 kB 386,343.50 kB 14 4,676.50 kB 315,214.50 kB 15 5,587.50 kB 256,373.50 kB 16 17,745.50 kB 211,007.00 kB 17 2,241.00 kB 171,504.00 kB 18 2,375.50 kB 139,382.00 kB 19 6,838.50 kB 114,190.00 kB 20 2,734.50 kB 93,003.00 kB 21 325,069.00 kB 360,418.50 kB 22 320,216.00 kB 607,071.50 kB 23 20,300.50 kB 548,539.50 kB Mar 05 00 19,400.00 kB 447,689.00 kB 01 23,374.00 kB 366,300.50 kB 02 12,697.50 kB 300,166.50 kB 03 52,642.00 kB 251,515.00 kB 04 2,334.00 kB 206,058.00 kB 05 30,845.50 kB 170,218.00 kB 06 3,011.00 kB 140,976.50 kB 07 18,107.00 kB 116,235.50 kB 08 3,003.50 kB 96,066.00 kB 09 3,829.50 kB 78,549.50 kB 10 3,232.00 kB 64,238.00 kB 11 5,884.00 kB 53,122.50 kB 12 2,566.50 kB 43,611.00 kB 13 4,785.50 kB 36,005.50 kB 14 3,066.00 kB 29,943.50 kB 15 5,030.00 kB 25,210.50 kB 16 3,047.00 kB 20,997.50 kB 17 8,456.50 kB 18,154.00 kB 18 3,971.50 kB 15,904.50 kB 19 6,211.50 kB 13,786.00 kB 20 3,554.50 kB 12,097.00 kB 21 24,878.50 kB 43,483.50 kB 22 3,833.00 kB 35,957.00 kB 23 4,056.00 kB 29,885.50 kB Mar 06 00 19,851.00 kB 32,244.00 kB 01 10,368.50 kB 27,670.50 kB 02 1,898.00 kB 23,373.50 kB 03 2,091.00 kB 19,325.00 kB 04 2,195.50 kB 16,064.50 kB 05 2,667.00 kB 13,487.50 kB 06 31,410.50 kB 35,033.00 kB 07 4,978.00 kB 50,318.50 kB 08 4,971.00 kB 41,706.00 kB 09 3,962.50 kB 34,514.00 kB 10 7,148.50 kB 28,959.00 kB 11 6,683.00 kB 24,847.00 kB 12 8,861.50 kB 21,725.50 kB 13 8,607.50 kB 19,129.50 kB 14 2,769.00 kB 16,497.00 kB 15 3,341.00 kB 14,001.50 kB 16 5,112.50 kB 12,262.50 kB 17 3,254.00 kB 10,592.00 kB 18 4,042.50 kB 9,348.50 kB 19 4,033.50 kB 8,303.50 kB 20 6,342.50 kB 7,826.00 kB 21 7,305.00 kB 7,669.50 kB 22 14,403.50 kB 14,403.50 kB 23 9,175.00 kB 18,302.00 kB Mar 07 00 20,335.00 kB 32,683.00 kB 01 176,509.50 kB 333,676.50 kB 02 9,730.00 kB 271,426.00 kB 03 4,177.50 kB 221,332.00 kB 04 2,430.00 kB 179,720.50 kB 05 5,300.50 kB 146,587.50 kB 06 2,985.00 kB 119,320.50 kB 07 4,739.50 kB 97,382.50 kB 08 3,756.00 kB 79,666.50 kB 09 3,254.50 kB 65,175.00 kB 10 103,299.00 kB 103,299.00 kB 11 3,118.00 kB 108,640.50 kB 12 9,129.00 kB 89,428.50 kB 13 3,316.00 kB 73,341.50 kB 14 3,418.00 kB 60,059.00 kB 15 8,515.00 kB 49,848.50 kB 16 593,414.50 kB 593,414.50 kB 17 5,975.00 kB 535,382.50 kB 18 3,256.50 kB 434,275.00 kB 19 3,732.00 kB 352,456.50 kB 20 3,826.00 kB 286,200.50 kB 21 5,206.50 kB 232,706.00 kB 22 6,152.50 kB 189,567.50 kB 23 4,165.50 kB 154,542.50 kB Mar 08 00 24,378.00 kB 129,628.00 kB 01 3,244.50 kB 105,754.50 kB 02 1,776.00 kB 86,137.50 kB 03 2,092.00 kB 70,154.00 kB 04 2,113.50 kB 57,227.50 kB 05 3,164.00 kB 46,918.00 kB 06 41,740.50 kB 47,884.50 kB 07 22,915.50 kB 49,141.50 kB 08 2,487.50 kB 40,279.50 kB 09 282,461.50 kB 533,878.50 kB 10 2,586.50 kB 432,952.50 kB 11 2,466.50 kB 351,166.00 kB 12 3,681.50 kB 285,063.50 kB 13 32,590.50 kB 236,420.00 kB 14 2,669.50 kB 192,759.00 kB 15 12,184.33 kB 150,400.67 kB 16 2,922.50 kB 117,282.50 kB 17 3,465.50 kB 95,645.50 kB 18 24,091.00 kB 82,028.50 kB 19 3,401.00 kB 70,456.00 kB 20 3,599.67 kB 57,938.33 kB 21 3,693.50 kB 45,287.50 kB 22 4,304.00 kB 37,469.50 kB 23 3,904.50 kB 31,112.00 kB -
Temporary Files
Size of temporary files
Key values
- 7.19 MiB Temp Files size Peak
- 2025-03-02 00:25:18 Date
Number of temporary files
Key values
- 6 per second Temp Files Peak
- 2025-03-02 00:25:18 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Mar 02 00 6 7.19 MiB 1.20 MiB 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Mar 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 Mar 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 Mar 05 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Mar 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 Mar 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 Mar 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 6 7.19 MiB 488.00 KiB 2.07 MiB 1.20 MiB vacuum full analyze log_query;-
VACUUM FULL ANALYZE log_query;
Date: 2025-03-02 00:25:18 Duration: 0ms
Queries generating the largest temporary files
Rank Size Query 1 2.07 MiB VACUUM FULL ANALYZE log_query;[ Date: 2025-03-02 00:25:18 ]
2 1.64 MiB VACUUM FULL ANALYZE log_query;[ Date: 2025-03-02 00:25:18 ]
3 1.45 MiB VACUUM FULL ANALYZE log_query;[ Date: 2025-03-02 00:25:18 ]
4 816.00 KiB VACUUM FULL ANALYZE log_query;[ Date: 2025-03-02 00:25:18 ]
5 776.00 KiB VACUUM FULL ANALYZE log_query;[ Date: 2025-03-02 00:25:18 ]
6 488.00 KiB VACUUM FULL ANALYZE log_query;[ Date: 2025-03-02 00:25:18 ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 22.44 sec Highest CPU-cost vacuum
Table edit.ixn_actor
Database ctdprd51 - 2025-03-04 06:21:47 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 22.44 sec Highest CPU-cost vacuum
Table edit.ixn_actor
Database ctdprd51 - 2025-03-04 06:21:47 Date
Analyzes per table
Key values
- pubc.log_query (191) Main table analyzed (database ctdprd51)
- 228 analyzes Total
Table Number of analyzes ctdprd51.pubc.log_query 191 ctdprd51.pub2.term_set_enrichment 13 ctdprd51.pub2.term_set_enrichment_agent 10 ctdprd51.edit.tm_reference_term 3 ctdprd51.pub2.term_comp_agent 2 ctdprd51.edit.tm_reference 2 ctdprd51.pub1.term_comp_agent 1 ctdprd51.edit.term_label 1 ctdprd51.pg_catalog.pg_attribute 1 ctdprd51.edit.exp_stressor_stressor_src 1 ctdprd51.edit.ixn_action 1 ctdprd51.pub1.term_set_enrichment_agent 1 ctdprd51.pub2.term_comp 1 Total 228 Vacuums per table
Key values
- pubc.log_query (85) Main table vacuumed on database ctdprd51
- 114 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 85 43 176,825 0 21,767 0 14,328 31,075 4,497 19,511,357 ctdprd51.pub2.term_set_enrichment 8 0 10,843 0 2,851 0 0 4,637 15 360,787 ctdprd51.pub2.term_set_enrichment_agent 7 0 419,540 0 78,520 0 0 196,231 13 11,685,744 ctdprd51.pg_toast.pg_toast_2619 4 4 14,693 0 4,271 0 40,450 11,070 3,574 2,128,876 ctdprd51.edit.tm_reference_term 2 2 3,986 0 802 0 0 1,749 285 1,683,959 ctdprd51.pg_catalog.pg_statistic 2 2 1,399 0 353 0 232 893 311 1,231,134 ctdprd51.pg_toast.pg_toast_486223 2 0 52 0 0 0 0 2 0 376 ctdprd51.edit.ixn 1 1 84,527 0 42,461 0 0 45,020 3,231 26,725,959 ctdprd51.edit.ixn_actor 1 0 196,135 0 97,428 0 0 97,787 7 5,848,072 ctdprd51.pub2.term_comp_agent 1 0 164 0 41 0 0 37 2 13,438 ctdprd51.edit.reference_ixn 1 1 73,681 0 22,158 0 0 38,669 19,366 104,621,435 Total 114 53 981,845 99,903 270,652 0 55,010 427,170 31,301 173,811,137 Tuples removed per table
Key values
- pubc.log_query (61862) Main table with removed tuples on database ctdprd51
- 115246 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pubc.log_query 85 43 61,862 2,678,749 859,167 0 111,415 ctdprd51.edit.ixn_actor 1 0 13,646 6,874,573 0 0 98,392 ctdprd51.pg_toast.pg_toast_2619 4 4 13,439 69,611 56 0 50,368 ctdprd51.edit.ixn 1 1 12,141 3,756,532 0 0 40,324 ctdprd51.edit.reference_ixn 1 1 9,911 2,836,277 0 0 49,364 ctdprd51.edit.tm_reference_term 2 2 3,264 121,999 0 0 1,640 ctdprd51.pg_catalog.pg_statistic 2 2 983 6,395 0 0 820 ctdprd51.pub2.term_set_enrichment_agent 7 0 0 61,997,506 0 0 704,521 ctdprd51.pub2.term_set_enrichment 8 0 0 1,134,608 0 0 18,697 ctdprd51.pub2.term_comp_agent 1 0 0 7,882 0 0 71 ctdprd51.pg_toast.pg_toast_486223 2 0 0 0 0 0 0 Total 114 53 115,246 79,484,132 859,223 0 1,075,612 Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Pages removed per tables
NO DATASET
Table Number of vacuums Index scans Tuples removed Pages removed ctdprd51.edit.ixn 1 1 12141 0 ctdprd51.edit.ixn_actor 1 0 13646 0 ctdprd51.pub2.term_set_enrichment_agent 7 0 0 0 ctdprd51.pub2.term_set_enrichment 8 0 0 0 ctdprd51.pub2.term_comp_agent 1 0 0 0 ctdprd51.edit.tm_reference_term 2 2 3264 0 ctdprd51.pg_catalog.pg_statistic 2 2 983 0 ctdprd51.pg_toast.pg_toast_486223 2 0 0 0 ctdprd51.edit.reference_ixn 1 1 9911 0 ctdprd51.pg_toast.pg_toast_2619 4 4 13439 0 ctdprd51.pubc.log_query 85 43 61862 0 Total 114 53 115,246 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Mar 02 00 17 9 01 1 1 02 0 2 03 2 3 04 4 4 05 1 2 06 1 3 07 1 2 08 0 0 09 0 0 10 0 2 11 0 0 12 0 0 13 1 1 14 0 0 15 0 0 16 0 1 17 0 0 18 0 0 19 0 0 20 0 1 21 0 0 22 1 0 23 0 0 Mar 03 00 1 2 01 1 4 02 1 3 03 1 2 04 0 2 05 1 1 06 0 2 07 1 1 08 0 1 09 1 1 10 0 0 11 0 2 12 1 1 13 0 1 14 0 1 15 0 0 16 1 1 17 0 0 18 0 1 19 0 0 20 0 1 21 1 0 22 0 0 23 2 3 Mar 04 00 1 2 01 1 4 02 0 0 03 0 0 04 0 0 05 1 1 06 4 3 07 0 1 08 1 2 09 0 1 10 0 1 11 3 4 12 0 1 13 0 1 14 1 2 15 0 1 16 0 2 17 1 1 18 0 0 19 0 1 20 0 0 21 3 3 22 2 4 23 0 0 Mar 05 00 1 3 01 1 5 02 1 3 03 1 2 04 1 3 05 0 1 06 1 2 07 0 3 08 1 1 09 0 1 10 0 1 11 1 1 12 0 0 13 1 1 14 0 0 15 1 3 16 0 1 17 1 0 18 0 0 19 0 1 20 1 0 21 0 1 22 0 0 23 0 1 Mar 06 00 2 3 01 2 5 02 1 3 03 1 2 04 1 2 05 0 2 06 1 1 07 0 2 08 1 1 09 0 0 10 0 1 11 0 1 12 1 1 13 1 3 14 0 1 15 0 0 16 1 1 17 0 0 18 0 1 19 0 0 20 0 1 21 1 0 22 0 1 23 0 0 Mar 07 00 4 6 01 1 3 02 1 3 03 1 2 04 2 2 05 1 2 06 0 1 07 1 1 08 0 1 09 1 1 10 0 2 11 0 0 12 0 1 13 1 1 14 0 0 15 2 3 16 1 5 17 1 0 18 0 1 19 0 0 20 0 1 21 1 0 22 0 1 23 0 0 Mar 08 00 1 2 01 1 4 02 1 3 03 1 2 04 0 2 05 1 2 06 1 1 07 0 1 08 2 3 09 1 1 10 0 1 11 0 1 12 1 0 13 0 1 14 0 0 15 0 1 16 0 1 17 1 0 18 0 1 19 0 0 20 0 1 21 1 0 22 0 1 23 0 0 - 22.44 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
- 21,828 Total read queries
- 550 Total write queries
Queries by database
Key values
- unknown Main database
- 17,336 Requests
- 1d8h12m (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 39,899 Requests
User Request type Count Duration edit Total 2 4s672ms select 2 4s672ms editeu Total 56 2m46s select 56 2m46s load Total 28 4m2s select 28 4m2s postgres Total 114 1h1m43s copy to 108 58m45s select 6 2m58s pubc Total 3 3s563ms others 1 1s303ms select 2 2s259ms pubeu Total 11,397 17h36m59s cte 109 5m9s select 11,288 17h31m49s qaeu Total 90 3m32s cte 17 58s787ms select 73 2m34s unknown Total 39,899 3d20m28s copy to 712 6h49m56s cte 427 16m47s others 9 57s418ms select 38,751 2d17h12m47s Duration by user
Key values
- 3d20m28s (unknown) Main time consuming user
User Request type Count Duration edit Total 2 4s672ms select 2 4s672ms editeu Total 56 2m46s select 56 2m46s load Total 28 4m2s select 28 4m2s postgres Total 114 1h1m43s copy to 108 58m45s select 6 2m58s pubc Total 3 3s563ms others 1 1s303ms select 2 2s259ms pubeu Total 11,397 17h36m59s cte 109 5m9s select 11,288 17h31m49s qaeu Total 90 3m32s cte 17 58s787ms select 73 2m34s unknown Total 39,899 3d20m28s copy to 712 6h49m56s cte 427 16m47s others 9 57s418ms select 38,751 2d17h12m47s Queries by host
Key values
- unknown Main host
- 51,589 Requests
- 3d19h9m40s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 22,332 Requests
- 1d15h39m57s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2025-03-04 12:46:03 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 22,001 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 25m50s /* * 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-03-08 00:25:51 ]
2 25m43s /* * 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-03-06 00:25:45 ]
3 25m42s /* * 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-03-07 00:25:43 ]
4 25m40s /* * 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-03-03 00:25:42 ]
5 25m35s 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 = '2093936') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2025-03-04 08:02:32 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
6 25m31s /* * 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-03-04 00:25:33 ]
7 25m30s /* * 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-03-05 00:25:31 ]
8 25m16s /* * 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-03-02 00:25:18 ]
9 24m39s 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-03-08 19:45:38 ]
10 24m22s 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-03-08 19:01:28 ]
11 21m29s 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 = '1252233') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-03-03 14:06:07 - Bind query: yes ]
12 20m38s 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-03-02 00:39:03 - Bind query: yes ]
13 20m31s 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 = '1252233') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-03-06 03:42:51 - Bind query: yes ]
14 20m31s 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-03-02 13:11:00 - Bind query: yes ]
15 18m52s 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-03-03 08:35:16 - Bind query: yes ]
16 18m45s 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-03-03 08:26:14 - Bind query: yes ]
17 18m18s 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-03-03 09:47:30 - Bind query: yes ]
18 18m13s 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 = '1252233') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-03-04 05:55:33 - Bind query: yes ]
19 18m10s 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 = '1252233') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-03-04 21:14:08 - Bind query: yes ]
20 18m9s 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 = '1252233') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-03-05 02:27:35 - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 16h52m7s 475 1s417ms 21m29s 2m7s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 02 23 5 31m38s 6m19s 00 1 2s402ms 2s402ms 01 2 3s941ms 1s970ms 02 2 3m17s 1m38s 03 4 4m28s 1m7s 04 1 2s51ms 2s51ms 05 2 3s197ms 1s598ms 06 1 2m8s 2m8s 07 3 1m41s 33s761ms 08 2 3m47s 1m53s 09 3 1m49s 36s634ms 12 1 20m31s 20m31s 13 2 4s131ms 2s65ms 14 4 6m12s 1m33s 15 3 7m11s 2m23s 16 2 18m8s 9m4s 17 2 4s863ms 2s431ms 18 2 17m49s 8m54s 19 1 2s29ms 2s29ms 20 2 4m49s 2m24s 21 1 17m45s 17m45s 22 1 1s888ms 1s888ms Mar 03 23 2 10m6s 5m3s 00 1 1s646ms 1s646ms 01 2 5s279ms 2s639ms 02 1 1s417ms 1s417ms 03 4 3m10s 47s746ms 04 1 4m38s 4m38s 05 2 5m11s 2m35s 06 1 3s290ms 3s290ms 07 5 59m18s 11m51s 08 4 21m27s 5m21s 09 1 2s348ms 2s348ms 10 3 17m41s 5m53s 11 1 4m26s 4m26s 12 2 5m42s 2m51s 13 3 28m38s 9m32s 15 4 5m55s 1m28s 16 5 17m7s 3m25s 17 2 3s197ms 1s598ms 19 2 1m53s 56s820ms 21 5 10m18s 2m3s 22 7 10m5s 1m26s Mar 04 23 1 2s452ms 2s452ms 00 3 6s773ms 2s257ms 04 1 18m13s 18m13s 05 3 4m30s 1m30s 06 1 17m51s 17m51s 07 3 6m54s 2m18s 08 2 7m12s 3m36s 09 2 3s501ms 1s750ms 10 1 1s790ms 1s790ms 17 1 3s320ms 3s320ms 19 1 2s491ms 2s491ms 20 2 18m12s 9m6s Mar 05 23 1 3m29s 3m29s 00 1 11m31s 11m31s 01 1 18m9s 18m9s 02 1 2m8s 2m8s 03 7 3m43s 31s977ms 04 2 2s981ms 1s490ms 05 1 1m41s 1m41s 06 3 8m9s 2m43s 07 2 5s161ms 2s580ms 08 4 2m15s 33s920ms 09 2 4s459ms 2s229ms 10 2 3s678ms 1s839ms 11 4 1m46s 26s559ms 12 2 5m56s 2m58s 13 1 2s486ms 2s486ms 14 4 7m27s 1m51s 15 5 22m45s 4m33s 16 2 48s120ms 24s60ms 17 3 6m31s 2m10s 18 2 19m58s 9m59s 19 5 6m28s 1m17s 20 3 3m39s 1m13s 21 5 11m28s 2m17s 22 3 7m32s 2m30s Mar 06 23 2 4s414ms 2s207ms 00 4 5m16s 1m19s 01 6 8m16s 1m22s 02 5 24m9s 4m49s 03 5 4m57s 59s416ms 04 4 6m8s 1m32s 05 5 18m 3m36s 06 4 2m20s 35s167ms 07 4 3m38s 54s716ms 08 4 4m50s 1m12s 09 4 4m44s 1m11s 10 1 2s57ms 2s57ms 11 4 3m40s 55s102ms 12 1 1s800ms 1s800ms 14 4 7m33s 1m53s 15 6 5m11s 51s949ms 16 2 5s437ms 2s718ms 17 5 2m7s 25s504ms 18 6 8m39s 1m26s 19 4 20m56s 5m14s 20 1 1s844ms 1s844ms 21 4 11s379ms 2s844ms 22 4 5m8s 1m17s Mar 07 23 2 3s840ms 1s920ms 00 2 3s884ms 1s942ms 01 3 5s127ms 1s709ms 02 1 1s798ms 1s798ms 03 3 2m40s 53s487ms 04 6 16m31s 2m45s 05 7 10m41s 1m31s 06 5 8m59s 1m47s 07 7 4m33s 39s20ms 08 4 10s337ms 2s584ms 09 7 4m20s 37s165ms 10 5 11s502ms 2s300ms 11 4 8m50s 2m12s 12 6 13m48s 2m18s 13 3 5m33s 1m51s 14 5 11m33s 2m18s 15 5 9s137ms 1s827ms 16 5 9s84ms 1s816ms 17 4 21m26s 5m21s 18 4 4m28s 1m7s 19 6 12s146ms 2s24ms 20 2 5m20s 2m40s 21 6 4m37s 46s217ms 22 2 5m56s 2m58s Mar 08 23 3 4m12s 1m24s 01 6 7m48s 1m18s 02 4 6s836ms 1s709ms 03 6 28m18s 4m43s 04 4 12m19s 3m4s 05 4 13m35s 3m23s 06 1 1s722ms 1s722ms 08 4 6s596ms 1s649ms 09 2 5s149ms 2s574ms 10 6 13s704ms 2s284ms 11 6 9m42s 1m37s 12 4 21m34s 5m23s 13 4 11m40s 2m55s 14 6 5m19s 53s215ms 15 2 5m2s 2m31s 16 2 4m51s 2m25s 17 4 13m55s 3m28s 18 3 5m44s 1m54s 19 3 11m37s 3m52s 20 8 7m13s 54s187ms 21 3 3m50s 1m16s 22 5 11m19s 2m15s [ User: pubeu - Total duration: 3h1m14s - Times executed: 117 ]
-
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 = '1252233') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-03-03 14:06:07 Duration: 21m29s 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-03-02 00:39:03 Duration: 20m38s 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 = '1252233') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-03-06 03:42:51 Duration: 20m31s Bind query: yes
2 2h59m16s 7 25m16s 25m50s 25m36s select maint_query_logs_archive ();Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 02 23 1 25m16s 25m16s Mar 03 23 1 25m40s 25m40s Mar 04 23 1 25m31s 25m31s Mar 05 23 1 25m30s 25m30s Mar 06 23 1 25m43s 25m43s Mar 07 23 1 25m42s 25m42s Mar 08 23 1 25m50s 25m50s -
/* * 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-03-08 00:25:51 Duration: 25m50s
-
/* * 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-03-06 00:25:45 Duration: 25m43s
-
/* * 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-03-07 00:25:43 Duration: 25m42s
3 2h28m15s 1,453 1s 1m12s 6s122ms select ? AS "Input", phenotypeterm.nm AS "PhenotypeName", phenotypeterm.acc_txt AS "PhenotypeID", diseaseterm.nm AS "DiseaseName", diseaseterm.acc_db_cd || ? || diseaseterm.acc_txt "DiseaseID", ( select string_agg(distinct geneterm.nm, ?) from term geneterm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneterm.id and ptr.via_term_object_type_id = ?) AS "GeneInferenceNetwork", ( select string_agg(distinct chemterm.nm, ?) from term chemterm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemterm.id and ptr.via_term_object_type_id = ?) AS "ChemInferenceNetwork", ( select string_agg(distinct r.acc_txt, ?) from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" 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 = ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Mar 06 00 4 15s468ms 3s867ms 02 331 32m20s 5s861ms 03 164 18m50s 6s896ms 04 146 14m2s 5s773ms Mar 07 03 1 3s972ms 3s972ms Mar 08 10 805 1h22m35s 6s156ms 11 2 6s777ms 3s388ms [ User: pubeu - Total duration: 23m23s - Times executed: 212 ]
-
SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'signs and symptoms' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" 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 = 2089995) and diseaseTerm.object_type_id = 3;
Date: 2025-03-08 11:27:09 Duration: 1m12s Bind query: yes
-
SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'cardiovascular diseases' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" 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 = 2100762) and diseaseTerm.object_type_id = 3;
Date: 2025-03-08 11:22:14 Duration: 1m9s Bind query: yes
-
SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'cardiovascular diseases' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" 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 = 2100762) and diseaseTerm.object_type_id = 3;
Date: 2025-03-08 11:31:51 Duration: 1m8s Bind query: yes
4 1h37m21s 4,767 1s102ms 4s766ms 1s225ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where exposuremarkerterm.id = ? or receptorterm.id = ? group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Mar 02 23 12 14s844ms 1s237ms 00 33 39s410ms 1s194ms 01 20 24s236ms 1s211ms 02 18 21s759ms 1s208ms 03 25 29s901ms 1s196ms 04 30 38s237ms 1s274ms 05 15 17s795ms 1s186ms 06 15 18s55ms 1s203ms 07 44 56s174ms 1s276ms 08 13 15s265ms 1s174ms 09 18 21s606ms 1s200ms 10 32 38s909ms 1s215ms 11 40 49s890ms 1s247ms 12 26 31s919ms 1s227ms 13 28 33s358ms 1s191ms 14 88 1m58s 1s342ms 15 68 1m21s 1s203ms 16 16 18s756ms 1s172ms 17 55 1m4s 1s175ms 18 20 23s818ms 1s190ms 19 31 36s809ms 1s187ms 20 32 37s718ms 1s178ms 21 26 31s388ms 1s207ms 22 19 23s57ms 1s213ms Mar 03 23 20 24s183ms 1s209ms 00 29 34s438ms 1s187ms 01 22 26s423ms 1s201ms 02 21 25s120ms 1s196ms 03 28 33s606ms 1s200ms 04 25 30s224ms 1s208ms 05 31 37s843ms 1s220ms 06 15 17s829ms 1s188ms 07 51 1m5s 1s292ms 08 32 38s285ms 1s196ms 09 21 25s16ms 1s191ms 10 25 29s415ms 1s176ms 11 32 38s537ms 1s204ms 12 32 38s579ms 1s205ms 13 32 38s406ms 1s200ms 14 17 20s455ms 1s203ms 15 21 25s576ms 1s217ms 16 24 28s986ms 1s207ms 17 42 52s86ms 1s240ms 18 31 37s948ms 1s224ms 19 20 25s104ms 1s255ms 20 21 25s779ms 1s227ms 21 26 32s461ms 1s248ms 22 18 21s922ms 1s217ms Mar 04 23 22 27s382ms 1s244ms 00 25 30s818ms 1s232ms 01 2 2s614ms 1s307ms 04 15 19s31ms 1s268ms 05 33 40s815ms 1s236ms 06 15 18s307ms 1s220ms 07 12 15s35ms 1s252ms 08 18 21s835ms 1s213ms 09 25 30s342ms 1s213ms 10 7 8s613ms 1s230ms 11 25 30s371ms 1s214ms 12 24 29s70ms 1s211ms 13 20 24s264ms 1s213ms 14 20 24s182ms 1s209ms 15 18 21s926ms 1s218ms 16 22 26s669ms 1s212ms 17 9 10s854ms 1s206ms 18 13 15s686ms 1s206ms 19 14 16s975ms 1s212ms 20 10 12s275ms 1s227ms 21 22 27s309ms 1s241ms 22 21 25s824ms 1s229ms Mar 05 23 12 14s841ms 1s236ms 00 26 32s922ms 1s266ms 01 25 30s240ms 1s209ms 02 23 28s120ms 1s222ms 03 40 48s188ms 1s204ms 04 45 54s962ms 1s221ms 05 44 53s360ms 1s212ms 06 45 54s297ms 1s206ms 07 40 48s499ms 1s212ms 08 38 46s188ms 1s215ms 09 18 21s643ms 1s202ms 10 28 34s33ms 1s215ms 11 48 57s876ms 1s205ms 12 36 43s223ms 1s200ms 13 38 46s46ms 1s211ms 14 35 42s370ms 1s210ms 15 35 42s56ms 1s201ms 16 20 24s93ms 1s204ms 17 32 38s573ms 1s205ms 18 59 1m11s 1s203ms 19 26 31s319ms 1s204ms 20 31 37s219ms 1s200ms 21 51 1m2s 1s216ms 22 28 34s65ms 1s216ms Mar 06 23 31 37s400ms 1s206ms 00 32 38s961ms 1s217ms 01 40 48s738ms 1s218ms 02 35 42s869ms 1s224ms 03 41 49s758ms 1s213ms 04 25 30s808ms 1s232ms 05 35 42s335ms 1s209ms 06 59 1m14s 1s269ms 07 34 41s194ms 1s211ms 08 34 40s991ms 1s205ms 09 46 55s299ms 1s202ms 10 19 22s831ms 1s201ms 11 23 27s779ms 1s207ms 12 32 39s686ms 1s240ms 13 37 45s685ms 1s234ms 14 31 38s185ms 1s231ms 15 36 44s216ms 1s228ms 16 27 32s364ms 1s198ms 17 25 30s18ms 1s200ms 18 29 35s24ms 1s207ms 19 20 24s179ms 1s208ms 20 20 23s872ms 1s193ms 21 33 40s79ms 1s214ms 22 16 19s966ms 1s247ms Mar 07 23 38 46s948ms 1s235ms 00 29 36s831ms 1s270ms 01 26 32s316ms 1s242ms 02 27 33s178ms 1s228ms 03 31 37s750ms 1s217ms 04 26 31s861ms 1s225ms 05 27 34s208ms 1s266ms 06 18 21s910ms 1s217ms 07 18 21s774ms 1s209ms 08 23 27s844ms 1s210ms 09 20 25s162ms 1s258ms 10 49 1m1s 1s261ms 11 77 1m41s 1s314ms 12 19 23s997ms 1s263ms 13 50 1m2s 1s241ms 14 50 1m1s 1s233ms 15 30 37s97ms 1s236ms 16 31 38s53ms 1s227ms 17 36 43s865ms 1s218ms 18 52 1m4s 1s246ms 19 30 36s384ms 1s212ms 20 25 30s228ms 1s209ms 21 27 33s450ms 1s238ms 22 32 39s467ms 1s233ms Mar 08 23 43 53s103ms 1s234ms 00 20 24s671ms 1s233ms 01 27 32s835ms 1s216ms 02 35 42s864ms 1s224ms 03 39 48s722ms 1s249ms 04 28 34s324ms 1s225ms 05 17 21s107ms 1s241ms 06 38 50s187ms 1s320ms 07 51 1m3s 1s245ms 08 26 31s493ms 1s211ms 09 23 27s523ms 1s196ms 10 25 30s143ms 1s205ms 11 39 47s30ms 1s205ms 12 19 22s586ms 1s188ms 13 24 28s801ms 1s200ms 14 22 26s722ms 1s214ms 15 37 44s421ms 1s200ms 16 19 22s891ms 1s204ms 17 16 20s156ms 1s259ms 18 18 23s146ms 1s285ms 19 16 20s659ms 1s291ms 20 23 28s644ms 1s245ms 21 17 21s637ms 1s272ms 22 19 24s424ms 1s285ms [ User: pubeu - Total duration: 21m35s - Times executed: 1040 ]
[ User: qaeu - Total duration: 1s132ms - Times executed: 1 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '1755154' or receptorTerm.id = '1755154' 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-03-08 07:31:00 Duration: 4s766ms 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 = '1456194' or receptorTerm.id = '1456194' 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-03-03 08:34:57 Duration: 4s396ms 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 = '2029807' or receptorTerm.id = '2029807' 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-03-02 15:59:56 Duration: 3s675ms Database: ctdprd51 User: pubeu Bind query: yes
5 1h35m14s 1,775 1s 7s396ms 3s219ms 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 #5
Day Hour Count Duration Avg duration Mar 02 00 8 26s208ms 3s276ms 01 5 9s922ms 1s984ms 02 9 32s821ms 3s646ms 03 10 31s73ms 3s107ms 04 6 26s782ms 4s463ms 05 8 19s307ms 2s413ms 06 5 12s61ms 2s412ms 07 7 26s186ms 3s740ms 08 5 11s146ms 2s229ms 09 10 31s867ms 3s186ms 10 7 17s837ms 2s548ms 11 2 3s733ms 1s866ms 12 10 34s519ms 3s451ms 13 8 22s458ms 2s807ms 14 13 39s194ms 3s14ms 15 6 20s790ms 3s465ms 16 9 32s423ms 3s602ms 17 6 15s252ms 2s542ms 18 6 12s797ms 2s132ms 19 13 44s237ms 3s402ms 20 6 16s804ms 2s800ms 21 13 28s578ms 2s198ms 22 1 1s874ms 1s874ms Mar 03 23 8 33s225ms 4s153ms 00 7 25s546ms 3s649ms 01 6 24s609ms 4s101ms 02 9 31s603ms 3s511ms 03 5 20s80ms 4s16ms 04 5 10s328ms 2s65ms 05 9 34s574ms 3s841ms 06 6 21s735ms 3s622ms 07 2 8s8ms 4s4ms 08 7 25s282ms 3s611ms 09 11 27s213ms 2s473ms 10 6 23s956ms 3s992ms 11 8 20s90ms 2s511ms 12 5 18s20ms 3s604ms 13 6 20s479ms 3s413ms 14 6 21s188ms 3s531ms 15 6 17s674ms 2s945ms 16 8 23s414ms 2s926ms 17 3 11s667ms 3s889ms 18 8 23s701ms 2s962ms 19 10 36s99ms 3s609ms 20 12 30s293ms 2s524ms 21 6 16s39ms 2s673ms 22 9 32s997ms 3s666ms Mar 04 23 11 34s58ms 3s96ms 00 8 27s206ms 3s400ms 01 1 1s31ms 1s31ms 04 4 9s85ms 2s271ms 05 7 31s193ms 4s456ms 06 6 23s541ms 3s923ms 07 3 4s778ms 1s592ms 08 3 5s693ms 1s897ms 09 10 35s142ms 3s514ms 10 2 5s426ms 2s713ms 11 4 9s145ms 2s286ms 13 3 5s406ms 1s802ms 15 3 4s606ms 1s535ms 16 3 10s945ms 3s648ms 17 1 1s339ms 1s339ms 18 3 6s367ms 2s122ms 19 7 21s58ms 3s8ms 21 2 8s729ms 4s364ms 22 1 2s954ms 2s954ms Mar 05 23 4 13s339ms 3s334ms 00 2 8s214ms 4s107ms 01 4 12s575ms 3s143ms 02 11 40s852ms 3s713ms 03 13 35s780ms 2s752ms 04 14 55s642ms 3s974ms 05 21 54s241ms 2s582ms 06 24 1m21s 3s394ms 07 16 48s732ms 3s45ms 08 18 1m 3s364ms 09 16 51s594ms 3s224ms 10 7 23s163ms 3s309ms 11 16 47s622ms 2s976ms 12 10 23s181ms 2s318ms 13 8 22s602ms 2s825ms 14 8 20s277ms 2s534ms 15 16 1m2s 3s930ms 16 7 31s578ms 4s511ms 17 15 46s797ms 3s119ms 18 13 34s754ms 2s673ms 19 14 42s13ms 3s 20 8 28s930ms 3s616ms 21 15 54s937ms 3s662ms 22 10 42s586ms 4s258ms Mar 06 23 13 38s679ms 2s975ms 00 27 1m22s 3s46ms 01 14 40s695ms 2s906ms 02 14 47s268ms 3s376ms 03 16 44s737ms 2s796ms 04 20 47s586ms 2s379ms 05 11 35s342ms 3s212ms 06 17 46s338ms 2s725ms 07 21 1m10s 3s378ms 08 19 1m2s 3s287ms 09 18 51s400ms 2s855ms 10 11 39s955ms 3s632ms 11 15 48s477ms 3s231ms 12 11 34s579ms 3s143ms 13 12 30s694ms 2s557ms 14 15 53s488ms 3s565ms 15 15 38s986ms 2s599ms 16 10 31s834ms 3s183ms 17 15 48s143ms 3s209ms 18 18 1m9s 3s845ms 19 16 55s289ms 3s455ms 20 12 42s228ms 3s519ms 21 8 18s883ms 2s360ms 22 13 44s111ms 3s393ms Mar 07 23 11 32s523ms 2s956ms 00 12 41s129ms 3s427ms 01 18 1m17s 4s305ms 02 18 53s885ms 2s993ms 03 12 34s178ms 2s848ms 04 20 1m2s 3s139ms 05 17 54s29ms 3s178ms 06 17 55s88ms 3s240ms 07 15 51s624ms 3s441ms 08 18 56s988ms 3s166ms 09 9 26s888ms 2s987ms 10 11 40s756ms 3s705ms 11 10 23s264ms 2s326ms 12 18 55s353ms 3s75ms 13 14 39s884ms 2s848ms 14 6 27s422ms 4s570ms 15 13 38s463ms 2s958ms 16 11 42s565ms 3s869ms 17 13 31s788ms 2s445ms 18 18 1m15s 4s194ms 19 14 37s579ms 2s684ms 20 15 54s171ms 3s611ms 21 14 44s137ms 3s152ms 22 23 59s522ms 2s587ms Mar 08 23 17 1m8s 4s18ms 00 19 52s804ms 2s779ms 01 16 45s700ms 2s856ms 02 17 52s224ms 3s72ms 03 14 42s905ms 3s64ms 04 15 57s812ms 3s854ms 05 16 1m 3s806ms 06 11 34s290ms 3s117ms 07 7 25s633ms 3s661ms 08 15 50s586ms 3s372ms 09 17 1m4s 3s784ms 10 15 54s483ms 3s632ms 11 12 43s951ms 3s662ms 12 7 19s962ms 2s851ms 13 14 53s680ms 3s834ms 14 18 56s882ms 3s160ms 15 10 34s951ms 3s495ms 16 17 54s990ms 3s234ms 17 15 40s894ms 2s726ms 18 12 47s431ms 3s952ms 19 21 1m20s 3s813ms 20 7 16s771ms 2s395ms 21 22 1m20s 3s674ms 22 20 1m5s 3s278ms [ User: pubeu - Total duration: 21m59s - Times executed: 406 ]
-
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-03-02 05:56:30 Duration: 7s396ms 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-03-02 15:59:57 Duration: 7s362ms 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 = '1405728'))) 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-03-08 06:39:32 Duration: 7s62ms Database: ctdprd51 User: pubeu Bind query: yes
6 1h8m21s 2,725 1s447ms 2s777ms 1s505ms 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 Mar 02 04 2 3s73ms 1s536ms 05 1 1s476ms 1s476ms 10 1 1s494ms 1s494ms 14 1 1s447ms 1s447ms 16 2 2s924ms 1s462ms 17 1 1s456ms 1s456ms 18 1 1s461ms 1s461ms 21 1 1s507ms 1s507ms 22 3 4s384ms 1s461ms Mar 03 23 4 5s867ms 1s466ms 00 1 1s448ms 1s448ms 02 3 4s445ms 1s481ms 03 4 5s883ms 1s470ms 04 3 4s429ms 1s476ms 05 1 1s545ms 1s545ms 10 5 7s334ms 1s466ms 11 1 1s496ms 1s496ms 12 3 4s503ms 1s501ms 13 3 4s522ms 1s507ms 14 1 1s476ms 1s476ms 15 1 1s601ms 1s601ms Mar 04 00 1 1s514ms 1s514ms 04 13 19s717ms 1s516ms 05 24 36s277ms 1s511ms 06 13 19s764ms 1s520ms 07 17 26s662ms 1s568ms 08 10 14s971ms 1s497ms 09 9 13s537ms 1s504ms 10 6 9s6ms 1s501ms 11 10 15s146ms 1s514ms 12 12 17s891ms 1s490ms 13 12 18s59ms 1s504ms 14 5 7s453ms 1s490ms 15 10 14s942ms 1s494ms 16 11 16s531ms 1s502ms 17 12 17s956ms 1s496ms 18 11 16s477ms 1s497ms 19 14 20s991ms 1s499ms 20 17 25s569ms 1s504ms 21 44 1m5s 1s499ms 22 42 1m2s 1s497ms Mar 05 23 39 58s419ms 1s497ms 00 42 1m3s 1s506ms 01 40 1m 1s510ms 02 51 1m16s 1s499ms 03 57 1m25s 1s493ms 04 48 1m12s 1s501ms 05 32 48s61ms 1s501ms 06 24 36s330ms 1s513ms 07 22 33s59ms 1s502ms 08 14 20s986ms 1s499ms 09 18 27s86ms 1s504ms 10 17 25s494ms 1s499ms 11 19 28s598ms 1s505ms 12 17 25s522ms 1s501ms 13 21 31s302ms 1s490ms 14 26 38s892ms 1s495ms 15 33 49s610ms 1s503ms 16 9 13s526ms 1s502ms 17 21 31s403ms 1s495ms 18 22 32s724ms 1s487ms 19 19 28s393ms 1s494ms 20 23 34s284ms 1s490ms 21 23 34s446ms 1s497ms 22 26 39s79ms 1s503ms Mar 06 23 25 37s323ms 1s492ms 00 25 38s19ms 1s520ms 01 20 30s140ms 1s507ms 02 27 40s746ms 1s509ms 03 23 34s526ms 1s501ms 04 23 34s330ms 1s492ms 05 17 25s328ms 1s489ms 06 23 34s689ms 1s508ms 07 17 25s521ms 1s501ms 08 17 25s389ms 1s493ms 09 14 21s238ms 1s517ms 10 13 19s611ms 1s508ms 11 16 23s895ms 1s493ms 12 25 37s445ms 1s497ms 13 18 26s916ms 1s495ms 14 23 34s563ms 1s502ms 15 29 43s679ms 1s506ms 16 20 30s115ms 1s505ms 17 22 32s974ms 1s498ms 18 21 31s761ms 1s512ms 19 23 34s423ms 1s496ms 20 19 28s509ms 1s500ms 21 29 43s465ms 1s498ms 22 26 39s207ms 1s507ms Mar 07 23 22 33s89ms 1s504ms 00 22 33s446ms 1s520ms 01 21 31s619ms 1s505ms 02 20 30s141ms 1s507ms 03 26 39s357ms 1s513ms 04 27 40s532ms 1s501ms 05 16 24s165ms 1s510ms 06 16 24s50ms 1s503ms 07 18 27s75ms 1s504ms 08 22 33s284ms 1s512ms 09 20 29s903ms 1s495ms 10 17 25s600ms 1s505ms 11 12 18s186ms 1s515ms 12 36 53s926ms 1s497ms 13 36 53s959ms 1s498ms 14 23 35s40ms 1s523ms 15 23 34s570ms 1s503ms 16 22 32s908ms 1s495ms 17 27 40s749ms 1s509ms 18 22 32s975ms 1s498ms 19 27 40s427ms 1s497ms 20 23 34s672ms 1s507ms 21 27 40s603ms 1s503ms 22 29 43s676ms 1s506ms Mar 08 23 29 43s716ms 1s507ms 00 30 44s969ms 1s498ms 01 22 32s907ms 1s495ms 02 30 45s83ms 1s502ms 03 26 39s642ms 1s524ms 04 31 47s165ms 1s521ms 05 32 50s186ms 1s568ms 06 26 39s567ms 1s521ms 07 23 35s537ms 1s545ms 08 26 39s159ms 1s506ms 09 25 37s335ms 1s493ms 10 30 45s292ms 1s509ms 11 25 37s660ms 1s506ms 12 29 43s445ms 1s498ms 13 22 32s841ms 1s492ms 14 31 46s546ms 1s501ms 15 31 46s694ms 1s506ms 16 27 40s763ms 1s509ms 17 24 36s233ms 1s509ms 18 25 38s9ms 1s520ms 19 27 40s639ms 1s505ms 20 30 45s675ms 1s522ms 21 26 39s450ms 1s517ms 22 30 45s240ms 1s508ms [ User: pubeu - Total duration: 14m43s - Times executed: 584 ]
-
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-03-08 06:40:23 Duration: 2s777ms 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-03-08 08:08:05 Duration: 2s444ms 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-03-08 06:40:03 Duration: 2s214ms Database: ctdprd51 User: pubeu Bind query: yes
7 1h7m56s 1,633 1s 4s893ms 2s496ms 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 #7
Day Hour Count Duration Avg duration Mar 02 23 9 16s522ms 1s835ms 00 7 15s583ms 2s226ms 01 11 22s911ms 2s82ms 02 7 13s138ms 1s876ms 03 8 25s392ms 3s174ms 04 5 11s364ms 2s272ms 05 6 14s171ms 2s361ms 06 1 4s411ms 4s411ms 07 5 10s424ms 2s84ms 08 5 15s743ms 3s148ms 09 10 16s247ms 1s624ms 10 4 11s249ms 2s812ms 11 12 33s93ms 2s757ms 12 5 10s551ms 2s110ms 13 11 33s102ms 3s9ms 14 7 16s294ms 2s327ms 15 9 18s678ms 2s75ms 16 12 27s947ms 2s328ms 17 10 22s703ms 2s270ms 18 15 35s300ms 2s353ms 19 14 31s300ms 2s235ms 20 6 11s586ms 1s931ms 21 8 20s52ms 2s506ms 22 12 26s475ms 2s206ms Mar 03 23 6 16s62ms 2s677ms 00 7 11s647ms 1s663ms 01 9 28s798ms 3s199ms 02 7 20s204ms 2s886ms 03 8 19s374ms 2s421ms 04 4 11s403ms 2s850ms 05 5 16s650ms 3s330ms 06 4 9s508ms 2s377ms 07 8 17s295ms 2s161ms 08 10 24s881ms 2s488ms 09 16 36s264ms 2s266ms 10 9 19s52ms 2s116ms 11 1 1s291ms 1s291ms 12 8 20s283ms 2s535ms 13 6 8s896ms 1s482ms 14 5 7s216ms 1s443ms 15 9 21s285ms 2s365ms 16 7 16s427ms 2s346ms 17 8 19s668ms 2s458ms 18 10 21s311ms 2s131ms 19 21 49s979ms 2s379ms 20 10 31s368ms 3s136ms 21 7 19s115ms 2s730ms 22 4 9s391ms 2s347ms Mar 04 23 7 15s427ms 2s203ms 00 9 25s492ms 2s832ms 04 1 1s108ms 1s108ms 05 5 11s739ms 2s347ms 06 6 18s538ms 3s89ms 07 3 5s248ms 1s749ms 08 4 14s901ms 3s725ms 09 9 23s285ms 2s587ms 10 3 3s980ms 1s326ms 11 1 4s189ms 4s189ms 12 4 12s248ms 3s62ms 13 3 8s71ms 2s690ms 15 1 4s122ms 4s122ms 17 3 7s425ms 2s475ms 18 2 8s348ms 4s174ms 19 13 27s934ms 2s148ms 21 1 1s28ms 1s28ms 22 5 11s473ms 2s294ms Mar 05 23 2 3s59ms 1s529ms 00 3 9s739ms 3s246ms 02 11 27s986ms 2s544ms 03 9 25s89ms 2s787ms 04 18 46s954ms 2s608ms 05 18 48s506ms 2s694ms 06 15 43s454ms 2s896ms 07 17 50s412ms 2s965ms 08 5 12s452ms 2s490ms 09 12 32s289ms 2s690ms 10 5 12s306ms 2s461ms 11 19 50s906ms 2s679ms 12 11 21s 1s909ms 13 15 37s849ms 2s523ms 14 6 13s362ms 2s227ms 15 11 31s549ms 2s868ms 16 2 5s172ms 2s586ms 17 12 39s646ms 3s303ms 18 7 18s493ms 2s641ms 19 11 28s152ms 2s559ms 20 12 31s680ms 2s640ms 21 14 35s387ms 2s527ms 22 15 44s495ms 2s966ms Mar 06 23 10 25s840ms 2s584ms 00 28 1m3s 2s282ms 01 13 40s52ms 3s80ms 02 18 43s36ms 2s390ms 03 14 25s795ms 1s842ms 04 9 18s922ms 2s102ms 05 12 24s195ms 2s16ms 06 12 27s965ms 2s330ms 07 15 33s110ms 2s207ms 08 14 39s482ms 2s820ms 09 13 41s770ms 3s213ms 10 4 15s438ms 3s859ms 11 8 15s658ms 1s957ms 12 17 43s589ms 2s564ms 13 15 46s516ms 3s101ms 14 13 37s69ms 2s851ms 15 8 20s820ms 2s602ms 16 13 28s984ms 2s229ms 17 15 42s153ms 2s810ms 18 10 30s369ms 3s36ms 19 15 43s925ms 2s928ms 20 19 48s624ms 2s559ms 21 8 18s850ms 2s356ms 22 13 35s730ms 2s748ms Mar 07 23 15 40s225ms 2s681ms 00 12 32s197ms 2s683ms 01 13 32s323ms 2s486ms 02 12 25s1ms 2s83ms 03 9 22s105ms 2s456ms 04 8 14s224ms 1s778ms 05 17 42s997ms 2s529ms 06 21 42s588ms 2s28ms 07 13 27s24ms 2s78ms 08 8 18s312ms 2s289ms 09 13 35s1ms 2s692ms 10 10 28s99ms 2s809ms 11 6 12s369ms 2s61ms 12 8 25s874ms 3s234ms 13 14 40s116ms 2s865ms 14 15 31s584ms 2s105ms 15 18 40s28ms 2s223ms 16 15 31s989ms 2s132ms 17 8 23s606ms 2s950ms 18 13 36s888ms 2s837ms 19 15 38s883ms 2s592ms 20 16 28s764ms 1s797ms 21 14 39s262ms 2s804ms 22 10 28s475ms 2s847ms Mar 08 23 9 21s260ms 2s362ms 00 12 25s195ms 2s99ms 01 7 15s921ms 2s274ms 02 12 31s370ms 2s614ms 03 8 16s160ms 2s20ms 04 16 33s768ms 2s110ms 05 22 1m2s 2s860ms 06 14 37s883ms 2s705ms 07 16 34s875ms 2s179ms 08 11 25s631ms 2s330ms 09 11 27s226ms 2s475ms 10 10 25s659ms 2s565ms 11 14 37s763ms 2s697ms 12 12 25s81ms 2s90ms 13 7 17s948ms 2s564ms 14 15 40s44ms 2s669ms 15 10 29s348ms 2s934ms 16 14 39s868ms 2s847ms 17 15 33s958ms 2s263ms 18 10 31s187ms 3s118ms 19 9 22s17ms 2s446ms 20 10 27s145ms 2s714ms 21 10 19s287ms 1s928ms 22 22 48s810ms 2s218ms [ User: pubeu - Total duration: 14m58s - Times executed: 361 ]
-
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-03-02 12:43:31 Duration: 4s893ms 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-03-02 12:47:35 Duration: 4s885ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '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-03-02 09:11:28 Duration: 4s752ms Database: ctdprd51 User: pubeu Bind query: yes
8 1h2m26s 561 1s 34s197ms 6s678ms 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 #8
Day Hour Count Duration Avg duration Mar 02 23 3 27s669ms 9s223ms 00 2 34s203ms 17s101ms 01 4 43s909ms 10s977ms 02 5 39s929ms 7s985ms 04 2 13s525ms 6s762ms 05 1 7s869ms 7s869ms 06 1 1s544ms 1s544ms 07 3 25s667ms 8s555ms 08 1 22s161ms 22s161ms 10 1 21s345ms 21s345ms 11 2 33s872ms 16s936ms 12 2 40s553ms 20s276ms 14 7 15s10ms 2s144ms 15 6 14s555ms 2s425ms 16 4 18s629ms 4s657ms 17 6 39s515ms 6s585ms 18 3 31s895ms 10s631ms 19 1 3s613ms 3s613ms 20 5 53s116ms 10s623ms 21 2 2s355ms 1s177ms 22 5 29s828ms 5s965ms Mar 03 23 2 28s265ms 14s132ms 00 4 27s18ms 6s754ms 01 3 6s488ms 2s162ms 02 6 52s145ms 8s690ms 03 5 29s826ms 5s965ms 04 1 7s769ms 7s769ms 05 3 27s642ms 9s214ms 06 1 21s985ms 21s985ms 07 3 32s779ms 10s926ms 08 2 7s208ms 3s604ms 09 5 54s174ms 10s834ms 10 4 42s176ms 10s544ms 11 1 4s483ms 4s483ms 12 2 7s787ms 3s893ms 13 2 9s144ms 4s572ms 14 1 2s37ms 2s37ms 15 5 5s958ms 1s191ms 16 3 1m3s 21s181ms 17 5 53s650ms 10s730ms 18 2 32s629ms 16s314ms 20 4 16s184ms 4s46ms 21 3 5s540ms 1s846ms 22 5 1m13s 14s787ms Mar 04 23 7 1m25s 12s147ms 00 2 2s137ms 1s68ms 05 5 39s719ms 7s943ms 06 3 22s209ms 7s403ms 10 1 1s349ms 1s349ms 14 4 14s646ms 3s661ms 15 2 4s878ms 2s439ms 16 1 2s878ms 2s878ms 18 1 10s216ms 10s216ms 19 1 7s682ms 7s682ms 21 1 1s46ms 1s46ms 22 1 31s365ms 31s365ms Mar 05 23 2 10s332ms 5s166ms 00 1 1s383ms 1s383ms 01 2 11s677ms 5s838ms 02 4 8s755ms 2s188ms 03 5 44s457ms 8s891ms 04 9 44s714ms 4s968ms 05 6 1m38s 16s421ms 06 3 6s426ms 2s142ms 07 9 25s394ms 2s821ms 08 5 26s186ms 5s237ms 09 1 7s875ms 7s875ms 10 3 8s417ms 2s805ms 11 3 37s522ms 12s507ms 12 6 11s348ms 1s891ms 13 4 1m14s 18s553ms 14 6 1m19s 13s184ms 15 2 3s311ms 1s655ms 16 6 49s509ms 8s251ms 17 4 37s692ms 9s423ms 18 4 39s962ms 9s990ms 19 3 35s846ms 11s948ms 20 2 4s927ms 2s463ms 21 7 35s587ms 5s83ms 22 3 4s520ms 1s506ms Mar 06 23 5 46s614ms 9s322ms 00 8 18s606ms 2s325ms 01 5 39s782ms 7s956ms 02 6 23s950ms 3s991ms 03 4 37s302ms 9s325ms 04 6 16s532ms 2s755ms 05 8 1m 7s597ms 06 5 14s376ms 2s875ms 07 6 41s585ms 6s930ms 08 6 40s859ms 6s809ms 09 5 1m11s 14s383ms 10 6 19s932ms 3s322ms 12 3 4s330ms 1s443ms 13 2 4s571ms 2s285ms 14 2 5s198ms 2s599ms 15 4 43s440ms 10s860ms 16 4 1m12s 18s145ms 17 4 54s692ms 13s673ms 18 5 28s831ms 5s766ms 19 5 21s62ms 4s212ms 20 2 5s109ms 2s554ms 21 4 4s998ms 1s249ms 22 8 1m4s 8s51ms Mar 07 23 1 2s344ms 2s344ms 00 1 2s93ms 2s93ms 01 4 5s386ms 1s346ms 02 3 19s619ms 6s539ms 03 1 3s642ms 3s642ms 04 3 14s169ms 4s723ms 05 8 1m6s 8s281ms 06 9 1m28s 9s827ms 07 3 20s40ms 6s680ms 08 3 7s537ms 2s512ms 09 3 22s231ms 7s410ms 10 4 20s462ms 5s115ms 11 2 2s482ms 1s241ms 12 7 1m16s 10s871ms 13 3 6s312ms 2s104ms 14 4 16s499ms 4s124ms 15 3 4s905ms 1s635ms 16 4 6s180ms 1s545ms 17 2 2s531ms 1s265ms 18 4 38s33ms 9s508ms 19 5 17s997ms 3s599ms 20 1 1s836ms 1s836ms 21 4 9s151ms 2s287ms 22 1 2s47ms 2s47ms Mar 08 23 3 3s989ms 1s329ms 00 3 6s653ms 2s217ms 01 5 7s405ms 1s481ms 02 3 3s607ms 1s202ms 03 5 28s384ms 5s676ms 04 3 44s55ms 14s685ms 05 4 15s58ms 3s764ms 06 2 2s90ms 1s45ms 07 7 46s325ms 6s617ms 08 3 6s340ms 2s113ms 09 10 57s391ms 5s739ms 10 11 1m27s 7s971ms 11 2 4s542ms 2s271ms 12 5 56s237ms 11s247ms 13 3 6s330ms 2s110ms 14 4 8s453ms 2s113ms 15 5 14s824ms 2s964ms 16 2 13s280ms 6s640ms 17 3 10s890ms 3s630ms 18 2 8s162ms 4s81ms 19 3 5s854ms 1s951ms 20 4 30s815ms 7s703ms 21 1 1s181ms 1s181ms 22 5 15s394ms 3s78ms [ User: pubeu - Total duration: 13m30s - Times executed: 117 ]
[ User: qaeu - Total duration: 1s418ms - Times executed: 1 ]
-
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 = '1228421') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-03-08 11:22:42 Duration: 34s197ms 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 = '1228421') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-03-08 05:37:31 Duration: 33s140ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1228421') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-03-05 06:54:30 Duration: 32s640ms Database: ctdprd51 User: pubeu Bind query: yes
9 46m41s 794 1s7ms 13s365ms 3s528ms 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 #9
Day Hour Count Duration Avg duration Mar 02 23 7 24s12ms 3s430ms 00 5 21s567ms 4s313ms 01 15 54s399ms 3s626ms 02 11 35s478ms 3s225ms 03 5 20s521ms 4s104ms 04 9 41s980ms 4s664ms 05 6 23s884ms 3s980ms 06 5 17s663ms 3s532ms 07 11 38s745ms 3s522ms 08 7 15s41ms 2s148ms 09 8 17s37ms 2s129ms 10 8 19s360ms 2s420ms 11 13 40s940ms 3s149ms 12 3 5s308ms 1s769ms 13 11 34s506ms 3s136ms 14 8 26s949ms 3s368ms 15 13 37s738ms 2s902ms 16 7 15s405ms 2s200ms 17 10 27s389ms 2s738ms 18 9 39s80ms 4s342ms 19 5 15s596ms 3s119ms 20 12 41s271ms 3s439ms 21 12 41s354ms 3s446ms 22 11 45s939ms 4s176ms Mar 03 23 7 19s326ms 2s760ms 00 6 16s461ms 2s743ms 01 8 23s20ms 2s877ms 02 7 18s8ms 2s572ms 03 7 26s241ms 3s748ms 04 8 24s939ms 3s117ms 05 11 35s213ms 3s201ms 06 7 23s500ms 3s357ms 07 8 20s805ms 2s600ms 08 10 30s606ms 3s60ms 09 8 22s979ms 2s872ms 10 9 36s952ms 4s105ms 11 5 14s809ms 2s961ms 12 8 18s49ms 2s256ms 13 10 42s171ms 4s217ms 14 9 37s230ms 4s136ms 15 7 31s486ms 4s498ms 16 13 1m 4s671ms 17 9 31s384ms 3s487ms 18 13 30s782ms 2s367ms 19 11 49s450ms 4s495ms 20 11 44s359ms 4s32ms 21 6 15s998ms 2s666ms 22 5 30s103ms 6s20ms Mar 04 23 7 24s950ms 3s564ms 00 15 53s611ms 3s574ms 01 2 7s766ms 3s883ms 04 2 11s61ms 5s530ms 05 11 46s80ms 4s189ms 06 3 6s264ms 2s88ms 07 9 30s353ms 3s372ms 08 9 27s129ms 3s14ms 09 5 11s547ms 2s309ms 10 2 8s465ms 4s232ms 11 2 13s14ms 6s507ms 12 4 12s140ms 3s35ms 13 1 2s187ms 2s187ms 14 2 3s246ms 1s623ms 15 3 15s447ms 5s149ms 16 3 12s748ms 4s249ms 17 4 7s512ms 1s878ms 18 3 13s377ms 4s459ms 19 5 11s955ms 2s391ms 20 9 47s728ms 5s303ms 21 6 18s831ms 3s138ms 22 6 26s95ms 4s349ms Mar 05 23 1 6s973ms 6s973ms 00 8 24s456ms 3s57ms 01 9 15s393ms 1s710ms 02 11 30s141ms 2s740ms 03 5 21s407ms 4s281ms 04 6 30s847ms 5s141ms 05 3 12s519ms 4s173ms 06 9 24s773ms 2s752ms 07 7 17s776ms 2s539ms 08 3 13s180ms 4s393ms 09 3 5s492ms 1s830ms 10 3 7s234ms 2s411ms 11 10 47s860ms 4s786ms 12 1 1s667ms 1s667ms 13 3 34s396ms 11s465ms 14 3 6s963ms 2s321ms 16 1 1s931ms 1s931ms 17 2 4s293ms 2s146ms 18 4 21s22ms 5s255ms 19 1 5s261ms 5s261ms 20 2 16s708ms 8s354ms 21 5 19s262ms 3s852ms Mar 06 23 2 11s573ms 5s786ms 00 1 4s667ms 4s667ms 01 3 5s515ms 1s838ms 02 3 5s573ms 1s857ms 03 2 6s818ms 3s409ms 04 4 20s357ms 5s89ms 05 3 8s298ms 2s766ms 06 3 17s542ms 5s847ms 07 2 7s354ms 3s677ms 08 2 6s114ms 3s57ms 09 1 1s510ms 1s510ms 10 1 2s175ms 2s175ms 11 3 15s844ms 5s281ms 12 1 1s771ms 1s771ms 13 1 5s345ms 5s345ms 14 3 5s371ms 1s790ms 15 3 12s293ms 4s97ms 16 2 18s541ms 9s270ms 17 1 1s272ms 1s272ms 18 2 5s918ms 2s959ms 19 4 13s369ms 3s342ms 20 1 2s801ms 2s801ms 21 5 32s200ms 6s440ms 22 3 6s729ms 2s243ms Mar 07 23 3 11s836ms 3s945ms 00 2 9s330ms 4s665ms 01 1 2s812ms 2s812ms 03 2 4s105ms 2s52ms 04 3 14s159ms 4s719ms 05 1 2s807ms 2s807ms 07 1 2s460ms 2s460ms 08 1 2s612ms 2s612ms 09 6 34s803ms 5s800ms 10 1 1s14ms 1s14ms 11 3 9s646ms 3s215ms 12 4 14s961ms 3s740ms 13 6 30s564ms 5s94ms 14 4 5s98ms 1s274ms 16 2 4s863ms 2s431ms 18 4 15s31ms 3s757ms 19 2 3s397ms 1s698ms 20 2 6s665ms 3s332ms 21 2 14s95ms 7s47ms 22 1 4s922ms 4s922ms Mar 08 23 2 14s589ms 7s294ms 00 4 16s872ms 4s218ms 01 4 5s829ms 1s457ms 02 3 12s872ms 4s290ms 03 1 1s765ms 1s765ms 04 4 7s223ms 1s805ms 05 6 24s253ms 4s42ms 06 2 6s18ms 3s9ms 07 1 3s212ms 3s212ms 09 3 5s596ms 1s865ms 10 5 11s141ms 2s228ms 11 3 8s932ms 2s977ms 12 4 9s286ms 2s321ms 14 3 5s255ms 1s751ms 15 2 13s661ms 6s830ms 16 2 2s685ms 1s342ms 18 2 2s949ms 1s474ms 19 2 7s628ms 3s814ms 20 1 3s208ms 3s208ms 21 3 18s963ms 6s321ms 22 3 18s608ms 6s202ms [ User: pubeu - Total duration: 11m49s - Times executed: 198 ]
-
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 = '2089995') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-03-03 23:16:37 Duration: 13s365ms 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 = '2089995') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-03-05 05:39:44 Duration: 12s958ms 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 = '2089995') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-03-06 17:18:47 Duration: 12s860ms Bind query: yes
10 45m52s 183 1s1ms 25m35s 15s38ms 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 #10
Day Hour Count Duration Avg duration Mar 02 23 1 27s153ms 27s153ms 01 1 7s388ms 7s388ms 04 3 54s841ms 18s280ms 09 1 9s649ms 9s649ms 13 1 3s343ms 3s343ms 14 3 17s815ms 5s938ms 15 1 3s396ms 3s396ms 18 1 1s521ms 1s521ms 19 1 2s571ms 2s571ms 22 1 1s511ms 1s511ms Mar 03 23 1 1s573ms 1s573ms 00 1 1s70ms 1s70ms 02 1 4s472ms 4s472ms 06 1 7s472ms 7s472ms 08 1 1s666ms 1s666ms 09 1 7s685ms 7s685ms 10 1 1s439ms 1s439ms 11 2 5s68ms 2s534ms 15 1 16s639ms 16s639ms 19 3 34s736ms 11s578ms 21 1 19s170ms 19s170ms Mar 04 23 1 16s536ms 16s536ms 01 8 1m37s 12s169ms 06 4 1m35s 23s773ms 07 5 27m55s 5m35s 09 1 1s84ms 1s84ms 12 1 13s764ms 13s764ms 15 1 44s840ms 44s840ms 17 1 1s86ms 1s86ms 19 1 4s487ms 4s487ms 20 7 2m15s 19s342ms 21 1 1s622ms 1s622ms Mar 05 23 1 1s96ms 1s96ms 00 1 1s37ms 1s37ms 01 19 55s475ms 2s919ms 02 2 9s827ms 4s913ms 06 1 16s269ms 16s269ms 08 1 2s457ms 2s457ms 09 1 44s311ms 44s311ms 10 1 3s494ms 3s494ms 19 1 4s568ms 4s568ms 21 3 10s368ms 3s456ms 22 6 46s313ms 7s718ms Mar 06 03 1 1s830ms 1s830ms 07 1 1s66ms 1s66ms 13 1 2s163ms 2s163ms 22 2 6s830ms 3s415ms Mar 07 23 3 16s542ms 5s514ms 01 4 7s763ms 1s940ms 06 2 3s119ms 1s559ms 14 1 1s169ms 1s169ms 17 1 1s58ms 1s58ms Mar 08 02 1 1s1ms 1s1ms 03 1 2s608ms 2s608ms 05 34 2m23s 4s231ms 06 3 10s144ms 3s381ms 07 27 32s934ms 1s219ms 12 4 5s844ms 1s461ms 20 1 1s713ms 1s713ms [ User: pubeu - Total duration: 30m53s - Times executed: 61 ]
-
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 = '2093936') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-03-04 08:02:32 Duration: 25m35s 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 = '2093936') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-03-04 08:03:09 Duration: 45s734ms 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 = '2093461') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-03-04 16:32:33 Duration: 44s840ms Bind query: yes
11 36m50s 381 1s 18s40ms 5s801ms 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 #11
Day Hour Count Duration Avg duration Mar 02 23 3 8s139ms 2s713ms 00 1 5s987ms 5s987ms 01 1 1s80ms 1s80ms 02 4 27s584ms 6s896ms 03 1 16s294ms 16s294ms 04 2 2s470ms 1s235ms 05 1 1s72ms 1s72ms 07 2 2s794ms 1s397ms 09 3 29s98ms 9s699ms 10 1 1s114ms 1s114ms 13 2 17s18ms 8s509ms 14 4 4s446ms 1s111ms 15 1 3s615ms 3s615ms 17 1 1s11ms 1s11ms 18 2 7s52ms 3s526ms 19 4 25s976ms 6s494ms 20 1 1s31ms 1s31ms 21 1 1s34ms 1s34ms 22 1 16s210ms 16s210ms Mar 03 23 1 1s83ms 1s83ms 01 2 32s412ms 16s206ms 03 1 1s295ms 1s295ms 04 1 16s607ms 16s607ms 05 3 20s840ms 6s946ms 07 2 3s423ms 1s711ms 10 3 48s282ms 16s94ms 11 1 1s372ms 1s372ms 12 4 35s354ms 8s838ms 13 1 16s167ms 16s167ms 14 3 20s862ms 6s954ms 15 3 34s305ms 11s435ms 16 4 11s195ms 2s798ms 17 2 2s113ms 1s56ms 18 3 25s817ms 8s605ms 19 2 12s261ms 6s130ms 20 1 17s135ms 17s135ms 21 4 26s941ms 6s735ms 22 1 1s302ms 1s302ms Mar 04 23 1 16s462ms 16s462ms 00 2 27s208ms 13s604ms 04 1 1s89ms 1s89ms 05 1 1s58ms 1s58ms 06 4 25s458ms 6s364ms 07 2 20s907ms 10s453ms 09 1 4s28ms 4s28ms 11 2 2s499ms 1s249ms 12 1 1s20ms 1s20ms 13 1 4s517ms 4s517ms 16 2 3s663ms 1s831ms 19 1 1s646ms 1s646ms 21 2 17s346ms 8s673ms 22 1 1s45ms 1s45ms Mar 05 23 2 18s245ms 9s122ms 00 1 3s964ms 3s964ms 01 1 1s667ms 1s667ms 02 4 25s169ms 6s292ms 03 7 38s848ms 5s549ms 04 2 12s818ms 6s409ms 05 5 42s663ms 8s532ms 06 2 5s102ms 2s551ms 07 3 4s728ms 1s576ms 08 1 1s217ms 1s217ms 09 3 22s149ms 7s383ms 10 2 18s450ms 9s225ms 11 3 27s355ms 9s118ms 12 2 21s164ms 10s582ms 13 3 17s684ms 5s894ms 14 2 2s484ms 1s242ms 15 5 13s765ms 2s753ms 16 4 33s97ms 8s274ms 18 4 10s482ms 2s620ms 19 3 11s623ms 3s874ms 20 1 1s602ms 1s602ms 21 2 9s88ms 4s544ms 22 2 12s172ms 6s86ms Mar 06 23 2 23s330ms 11s665ms 00 3 5s148ms 1s716ms 01 7 14s41ms 2s5ms 02 4 16s435ms 4s108ms 03 4 17s155ms 4s288ms 04 5 20s541ms 4s108ms 05 1 2s220ms 2s220ms 06 5 44s227ms 8s845ms 07 2 18s909ms 9s454ms 08 5 18s248ms 3s649ms 09 7 17s641ms 2s520ms 10 1 2s248ms 2s248ms 11 2 11s949ms 5s974ms 12 3 13s328ms 4s442ms 13 4 30s723ms 7s680ms 14 5 28s200ms 5s640ms 15 4 34s451ms 8s612ms 16 2 19s239ms 9s619ms 17 2 2s578ms 1s289ms 18 3 24s723ms 8s241ms 19 3 31s625ms 10s541ms 20 1 16s20ms 16s20ms 22 2 14s627ms 7s313ms Mar 07 23 1 16s658ms 16s658ms 00 4 36s924ms 9s231ms 01 3 13s738ms 4s579ms 02 2 10s461ms 5s230ms 03 8 49s796ms 6s224ms 04 3 24s928ms 8s309ms 05 1 1s137ms 1s137ms 06 1 2s350ms 2s350ms 07 2 8s536ms 4s268ms 09 3 26s301ms 8s767ms 10 3 21s150ms 7s50ms 11 1 6s36ms 6s36ms 12 2 6s583ms 3s291ms 13 2 14s920ms 7s460ms 15 5 10s642ms 2s128ms 16 6 27s482ms 4s580ms 17 5 42s89ms 8s417ms 18 2 12s37ms 6s18ms 19 4 8s96ms 2s24ms 20 2 3s378ms 1s689ms 21 3 3s944ms 1s314ms 22 4 8s5ms 2s1ms Mar 08 23 3 18s788ms 6s262ms 00 3 21s624ms 7s208ms 01 6 22s545ms 3s757ms 02 2 6s932ms 3s466ms 03 2 13s244ms 6s622ms 04 1 5s591ms 5s591ms 05 6 48s359ms 8s59ms 06 7 51s549ms 7s364ms 07 2 2s512ms 1s256ms 08 1 1s113ms 1s113ms 09 4 23s457ms 5s864ms 10 2 7s452ms 3s726ms 11 2 32s652ms 16s326ms 12 7 32s489ms 4s641ms 13 1 2s547ms 2s547ms 14 3 14s917ms 4s972ms 15 3 19s534ms 6s511ms 16 3 22s471ms 7s490ms 17 1 5s988ms 5s988ms 18 4 30s887ms 7s721ms 19 5 28s291ms 5s658ms 20 3 16s71ms 5s357ms 21 1 12s59ms 12s59ms 22 1 1s222ms 1s222ms [ User: pubeu - Total duration: 7m15s - Times executed: 71 ]
[ User: qaeu - Total duration: 1s625ms - Times executed: 1 ]
-
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 = '1228421'))) 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-03-08 20:32:41 Duration: 18s40ms 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 = '1228421'))) 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-03-08 06:33:41 Duration: 17s764ms 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 = '1228421'))) 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-03-06 00:56:37 Duration: 17s439ms Bind query: yes
12 36m44s 525 1s 8s334ms 4s199ms 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 Mar 02 23 4 20s469ms 5s117ms 00 4 21s944ms 5s486ms 01 3 14s884ms 4s961ms 02 3 11s407ms 3s802ms 03 1 1s21ms 1s21ms 04 5 21s94ms 4s218ms 05 4 12s58ms 3s14ms 06 2 9s832ms 4s916ms 07 2 11s168ms 5s584ms 08 1 4s870ms 4s870ms 09 4 16s449ms 4s112ms 10 4 16s396ms 4s99ms 11 4 20s491ms 5s122ms 12 2 10s242ms 5s121ms 13 4 15s932ms 3s983ms 14 5 25s222ms 5s44ms 15 4 16s288ms 4s72ms 16 3 14s161ms 4s720ms 17 4 16s373ms 4s93ms 18 4 16s478ms 4s119ms 19 9 32s688ms 3s632ms 20 3 15s972ms 5s324ms 21 6 30s513ms 5s85ms 22 2 11s557ms 5s778ms Mar 03 23 5 25s494ms 5s98ms 00 2 9s920ms 4s960ms 01 2 10s793ms 5s396ms 02 2 10s385ms 5s192ms 03 1 4s587ms 4s587ms 04 6 29s435ms 4s905ms 05 3 11s285ms 3s761ms 06 6 23s251ms 3s875ms 07 3 15s447ms 5s149ms 08 4 20s47ms 5s11ms 10 3 10s592ms 3s530ms 11 2 6s33ms 3s16ms 12 3 13s894ms 4s631ms 13 3 17s744ms 5s914ms 14 2 6s465ms 3s232ms 15 5 15s27ms 3s5ms 16 4 13s459ms 3s364ms 17 3 12s183ms 4s61ms 18 3 7s947ms 2s649ms 19 9 52s504ms 5s833ms 21 2 11s344ms 5s672ms 22 2 7s267ms 3s633ms Mar 04 23 5 15s494ms 3s98ms 00 5 29s50ms 5s810ms 04 2 6s541ms 3s270ms 05 2 6s841ms 3s420ms 07 2 12s23ms 6s11ms 08 1 6s18ms 6s18ms 09 4 18s100ms 4s525ms 10 2 6s842ms 3s421ms 11 4 22s970ms 5s742ms 12 1 5s405ms 5s405ms 13 2 7s165ms 3s582ms 14 1 5s371ms 5s371ms 15 1 1s84ms 1s84ms 16 1 5s443ms 5s443ms 18 3 8s331ms 2s777ms 19 11 48s261ms 4s387ms 20 1 6s543ms 6s543ms 21 1 5s449ms 5s449ms Mar 05 23 2 11s84ms 5s542ms 00 2 12s32ms 6s16ms 01 4 15s333ms 3s833ms 02 7 35s138ms 5s19ms 03 2 6s230ms 3s115ms 04 7 34s546ms 4s935ms 05 1 5s558ms 5s558ms 06 7 25s201ms 3s600ms 07 5 15s431ms 3s86ms 08 5 27s982ms 5s596ms 10 2 6s135ms 3s67ms 11 5 18s26ms 3s605ms 13 1 6s267ms 6s267ms 14 2 6s195ms 3s97ms 15 4 9s696ms 2s424ms 16 3 16s333ms 5s444ms 17 3 10s220ms 3s406ms 18 1 5s69ms 5s69ms 19 4 4s374ms 1s93ms 20 3 7s336ms 2s445ms 21 1 1s96ms 1s96ms 22 4 9s227ms 2s306ms Mar 06 23 1 5s629ms 5s629ms 00 8 39s90ms 4s886ms 01 6 30s109ms 5s18ms 02 4 18s186ms 4s546ms 03 1 1s139ms 1s139ms 04 3 13s481ms 4s493ms 05 6 20s976ms 3s496ms 06 6 23s977ms 3s996ms 07 4 18s619ms 4s654ms 08 4 12s353ms 3s88ms 09 1 5s863ms 5s863ms 10 7 24s449ms 3s492ms 12 1 4s974ms 4s974ms 13 6 31s438ms 5s239ms 14 5 25s73ms 5s14ms 15 3 12s870ms 4s290ms 16 2 2s232ms 1s116ms 18 2 6s950ms 3s475ms 19 4 13s890ms 3s472ms 20 2 7s30ms 3s515ms 21 4 19s694ms 4s923ms 22 3 17s280ms 5s760ms Mar 07 23 5 18s786ms 3s757ms 00 9 28s786ms 3s198ms 01 1 1s161ms 1s161ms 02 4 14s127ms 3s531ms 03 3 12s673ms 4s224ms 04 2 7s34ms 3s517ms 05 1 5s628ms 5s628ms 06 9 46s808ms 5s200ms 07 1 5s522ms 5s522ms 08 4 23s835ms 5s958ms 09 1 1s162ms 1s162ms 10 5 16s353ms 3s270ms 11 7 37s197ms 5s313ms 12 3 12s753ms 4s251ms 13 3 12s183ms 4s61ms 14 1 5s699ms 5s699ms 15 1 1s97ms 1s97ms 16 1 1s95ms 1s95ms 17 5 18s647ms 3s729ms 18 7 26s142ms 3s734ms 19 7 26s807ms 3s829ms 21 3 11s943ms 3s981ms 22 6 19s983ms 3s330ms Mar 08 23 4 13s123ms 3s280ms 00 7 27s129ms 3s875ms 01 4 18s325ms 4s581ms 02 3 8s435ms 2s811ms 03 2 7s316ms 3s658ms 04 5 20s203ms 4s40ms 05 3 12s995ms 4s331ms 06 4 14s52ms 3s513ms 07 2 12s1ms 6s 08 1 1s108ms 1s108ms 09 1 5s888ms 5s888ms 10 2 6s972ms 3s486ms 11 4 13s157ms 3s289ms 12 5 19s238ms 3s847ms 13 1 1s69ms 1s69ms 15 2 11s169ms 5s584ms 16 2 6s802ms 3s401ms 18 2 2s187ms 1s93ms 19 1 5s914ms 5s914ms 20 3 16s990ms 5s663ms 21 1 1s78ms 1s78ms 22 8 40s735ms 5s91ms [ User: pubeu - Total duration: 8m38s - Times executed: 127 ]
-
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 = '1285677' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-03-07 12:35:36 Duration: 8s334ms 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 = '1271284' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-03-05 18:29:14 Duration: 8s9ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1404495' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-03-02 15:04:03 Duration: 7s141ms Bind query: yes
13 28m2s 41 1s387ms 1m31s 41s31ms select r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refacc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, count(*) over () fullrowcount from reference r where r.id in ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?)) order by r.sort_txt limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Mar 02 00 1 34s757ms 34s757ms 01 3 54s11ms 18s3ms 07 2 1m23s 41s919ms 14 1 38s479ms 38s479ms 15 3 2m19s 46s652ms 16 1 39s776ms 39s776ms 19 1 1m13s 1m13s 22 2 1m52s 56s447ms Mar 03 01 1 1s970ms 1s970ms 05 2 1m10s 35s304ms 07 1 31s822ms 31s822ms 13 1 1m5s 1m5s 14 1 2s428ms 2s428ms 16 1 2s185ms 2s185ms 19 1 1s980ms 1s980ms 22 2 1m8s 34s379ms Mar 05 00 1 1m9s 1m9s 08 1 1s387ms 1s387ms 09 1 53s803ms 53s803ms 13 1 45s542ms 45s542ms Mar 06 01 1 1m13s 1m13s 03 1 1m6s 1m6s 07 1 1m3s 1m3s 09 1 39s345ms 39s345ms Mar 07 23 1 1m1s 1m1s 01 1 1m13s 1m13s 09 2 1m21s 40s571ms 10 1 24s718ms 24s718ms 13 1 1m31s 1m31s Mar 08 09 1 40s865ms 40s865ms 17 1 59s434ms 59s434ms 21 1 13s759ms 13s759ms [ User: pubeu - Total duration: 6m52s - Times executed: 12 ]
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1235612')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-03-07 14:25:13 Duration: 1m31s Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1253556')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-03-02 16:01:09 Duration: 1m14s Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1445404')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-03-07 02:57:04 Duration: 1m13s Bind query: yes
14 25m16s 367 3s851ms 8s398ms 4s130ms select coalesce(st.alt_nm, t.nm) slimtermnm, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.curated_reference_qty > ?) curatedcount, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.indirect_gene_qty > ?) inferredcount from slim_term st inner join term t on st.slim_term_id = t.id where st.slim_id = ? order by ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Mar 02 23 2 8s344ms 4s172ms 01 2 8s467ms 4s233ms 02 5 20s28ms 4s5ms 03 6 24s202ms 4s33ms 04 2 8s113ms 4s56ms 05 1 4s167ms 4s167ms 10 4 16s357ms 4s89ms 12 3 11s846ms 3s948ms 14 3 12s259ms 4s86ms 15 9 37s100ms 4s122ms 16 2 7s935ms 3s967ms 18 1 4s43ms 4s43ms 19 1 3s851ms 3s851ms 21 1 4s147ms 4s147ms 22 1 4s71ms 4s71ms Mar 03 23 2 8s208ms 4s104ms 00 2 8s77ms 4s38ms 01 4 16s535ms 4s133ms 02 6 24s163ms 4s27ms 04 9 36s811ms 4s90ms 05 8 33s8ms 4s126ms 07 2 8s276ms 4s138ms 08 9 36s892ms 4s99ms 09 4 16s491ms 4s122ms 10 11 44s172ms 4s15ms 11 1 3s890ms 3s890ms 12 3 12s711ms 4s237ms 13 4 16s251ms 4s62ms 14 3 11s881ms 3s960ms 15 1 4s37ms 4s37ms 17 1 4s53ms 4s53ms 19 4 16s57ms 4s14ms 20 1 4s209ms 4s209ms 21 2 8s114ms 4s57ms Mar 04 23 1 4s45ms 4s45ms 00 2 8s193ms 4s96ms 04 1 3s919ms 3s919ms 05 2 7s877ms 3s938ms 08 1 4s169ms 4s169ms 10 3 12s817ms 4s272ms 11 2 8s227ms 4s113ms 12 5 20s308ms 4s61ms 13 1 3s987ms 3s987ms 15 1 4s240ms 4s240ms 17 3 12s649ms 4s216ms 19 7 28s90ms 4s12ms 21 2 8s25ms 4s12ms 22 5 20s775ms 4s155ms Mar 05 23 1 4s166ms 4s166ms 00 1 3s929ms 3s929ms 01 1 4s302ms 4s302ms 02 6 24s745ms 4s124ms 04 8 32s491ms 4s61ms 05 1 4s179ms 4s179ms 06 2 8s223ms 4s111ms 08 7 28s141ms 4s20ms 09 3 12s402ms 4s134ms 10 7 30s216ms 4s316ms 11 2 8s239ms 4s119ms 12 8 32s345ms 4s43ms 14 2 8s226ms 4s113ms 15 1 4s73ms 4s73ms 17 4 16s492ms 4s123ms 18 1 4s29ms 4s29ms 19 2 8s129ms 4s64ms 21 1 4s234ms 4s234ms 22 3 13s62ms 4s354ms Mar 06 01 1 4s449ms 4s449ms 02 3 12s550ms 4s183ms 03 4 16s642ms 4s160ms 04 22 1m29s 4s66ms 05 2 8s196ms 4s98ms 06 3 12s208ms 4s69ms 07 2 8s159ms 4s79ms 08 2 8s387ms 4s193ms 09 6 25s480ms 4s246ms 10 1 4s169ms 4s169ms 11 2 8s307ms 4s153ms 12 3 12s357ms 4s119ms 13 1 4s430ms 4s430ms 14 4 16s658ms 4s164ms 15 2 8s692ms 4s346ms 16 3 12s257ms 4s85ms 18 1 4s108ms 4s108ms 19 1 4s267ms 4s267ms 20 3 12s312ms 4s104ms 21 1 4s290ms 4s290ms 22 2 8s105ms 4s52ms Mar 07 23 1 4s347ms 4s347ms 00 2 8s261ms 4s130ms 01 3 12s329ms 4s109ms 03 1 4s222ms 4s222ms 04 1 4s262ms 4s262ms 05 2 8s14ms 4s7ms 07 3 12s162ms 4s54ms 08 2 8s254ms 4s127ms 09 2 8s375ms 4s187ms 10 12 49s750ms 4s145ms 11 7 37s175ms 5s310ms 13 4 16s612ms 4s153ms 15 1 4s104ms 4s104ms 16 2 7s978ms 3s989ms 17 1 4s123ms 4s123ms 21 1 4s389ms 4s389ms 22 2 7s989ms 3s994ms Mar 08 23 2 8s206ms 4s103ms 02 3 12s499ms 4s166ms 03 4 16s915ms 4s228ms 04 3 12s212ms 4s70ms 05 3 12s283ms 4s94ms 07 1 4s24ms 4s24ms 08 1 4s127ms 4s127ms 10 1 4s209ms 4s209ms 11 1 4s71ms 4s71ms 12 1 3s972ms 3s972ms 14 1 4s82ms 4s82ms 17 1 4s78ms 4s78ms 18 2 8s224ms 4s112ms 19 1 4s88ms 4s88ms 20 1 4s190ms 4s190ms 21 1 4s115ms 4s115ms 22 7 29s120ms 4s160ms [ User: pubeu - Total duration: 4m48s - Times executed: 69 ]
[ User: qaeu - Total duration: 4s43ms - Times executed: 1 ]
-
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 = '1443894') 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 = '1443894') 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-03-07 12:00:40 Duration: 8s398ms 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 = '1443894') 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 = '1443894') 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-03-07 12:00:44 Duration: 8s148ms 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 = '1336748') 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 = '1336748') 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-03-05 11:42:59 Duration: 5s200ms Bind query: yes
15 24m39s 1 24m39s 24m39s 24m39s 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 #15
Day Hour Count Duration Avg duration Mar 08 18 1 24m39s 24m39s -
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-03-08 19:45:38 Duration: 24m39s
16 24m22s 1 24m22s 24m22s 24m22s copy pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Mar 08 18 1 24m22s 24m22s -
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-03-08 19:01:28 Duration: 24m22s
17 21m51s 493 1s10ms 6s215ms 2s660ms select * from ( select g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, count(*) over () fullrowcount from term g where g.id in ( select gt.gene_id from dag_path dp inner join gene_taxon gt on dp.descendant_object_id = gt.taxon_id where dp.ancestor_object_id = ? union all select gcr.gene_id from dag_path dp inner join gene_chem_reference gcr on dp.descendant_object_id = gcr.taxon_id where dp.ancestor_object_id = ?) offset ?) mq order by mq.genesymbolsort limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Mar 02 23 1 5s960ms 5s960ms 02 2 11s721ms 5s860ms 03 1 2s85ms 2s85ms 04 2 3s192ms 1s596ms 05 2 3s450ms 1s725ms 06 1 2s210ms 2s210ms 07 3 4s747ms 1s582ms 08 1 1s96ms 1s96ms 10 3 10s471ms 3s490ms 11 2 3s729ms 1s864ms 13 2 3s543ms 1s771ms 14 5 10s162ms 2s32ms 15 4 6s92ms 1s523ms 16 2 7s374ms 3s687ms 17 2 3s834ms 1s917ms 18 1 5s866ms 5s866ms 19 1 1s195ms 1s195ms 20 1 2s92ms 2s92ms 21 1 5s743ms 5s743ms 22 2 4s189ms 2s94ms Mar 03 23 1 2s5ms 2s5ms 00 5 6s948ms 1s389ms 01 2 3s927ms 1s963ms 02 3 5s270ms 1s756ms 03 2 4s365ms 2s182ms 04 1 2s159ms 2s159ms 05 1 2s63ms 2s63ms 06 3 9s463ms 3s154ms 07 3 4s367ms 1s455ms 09 3 5s811ms 1s937ms 10 2 3s484ms 1s742ms 11 4 8s878ms 2s219ms 12 1 2s245ms 2s245ms 14 2 3s424ms 1s712ms 16 1 1s285ms 1s285ms 17 6 15s267ms 2s544ms 19 1 5s806ms 5s806ms 20 1 5s850ms 5s850ms 21 2 3s896ms 1s948ms 22 1 1s276ms 1s276ms Mar 04 23 1 5s785ms 5s785ms 00 1 2s106ms 2s106ms 04 5 12s614ms 2s522ms 05 2 4s14ms 2s7ms 06 1 5s910ms 5s910ms 09 2 7s182ms 3s591ms 13 2 3s133ms 1s566ms 14 1 2s643ms 2s643ms 15 2 5s368ms 2s684ms 16 1 2s380ms 2s380ms 17 3 6s609ms 2s203ms 18 4 12s861ms 3s215ms 22 1 1s624ms 1s624ms Mar 05 23 2 7s939ms 3s969ms 01 1 2s33ms 2s33ms 02 6 23s625ms 3s937ms 03 4 9s327ms 2s331ms 04 6 12s664ms 2s110ms 05 6 14s354ms 2s392ms 06 2 8s168ms 4s84ms 07 6 16s997ms 2s832ms 08 5 12s930ms 2s586ms 09 4 13s175ms 3s293ms 10 3 10s143ms 3s381ms 11 2 5s485ms 2s742ms 12 1 2s154ms 2s154ms 13 2 5s92ms 2s546ms 14 3 6s161ms 2s53ms 15 7 22s224ms 3s174ms 17 7 17s560ms 2s508ms 18 1 2s713ms 2s713ms 19 5 13s734ms 2s746ms 20 4 12s50ms 3s12ms 21 5 11s749ms 2s349ms 22 4 10s289ms 2s572ms Mar 06 23 2 11s676ms 5s838ms 00 6 13s803ms 2s300ms 01 3 6s131ms 2s43ms 02 4 8s393ms 2s98ms 03 7 22s398ms 3s199ms 04 5 13s60ms 2s612ms 05 4 8s578ms 2s144ms 06 6 15s519ms 2s586ms 07 7 16s529ms 2s361ms 08 7 19s889ms 2s841ms 09 7 19s531ms 2s790ms 10 3 6s468ms 2s156ms 11 3 8s40ms 2s680ms 12 4 7s619ms 1s904ms 13 5 16s968ms 3s393ms 14 5 10s720ms 2s144ms 15 2 5s329ms 2s664ms 16 5 10s904ms 2s180ms 17 4 9s834ms 2s458ms 18 7 22s865ms 3s266ms 19 3 9s606ms 3s202ms 20 3 4s603ms 1s534ms 21 6 16s914ms 2s819ms 22 3 6s530ms 2s176ms Mar 07 23 4 8s451ms 2s112ms 00 5 11s8ms 2s201ms 01 3 11s997ms 3s999ms 02 7 17s845ms 2s549ms 03 5 9s867ms 1s973ms 04 4 14s311ms 3s577ms 05 6 14s208ms 2s368ms 06 1 3s343ms 3s343ms 07 3 5s672ms 1s890ms 08 2 7s458ms 3s729ms 09 3 6s725ms 2s241ms 10 7 15s360ms 2s194ms 11 3 10s787ms 3s595ms 12 5 12s539ms 2s507ms 13 3 7s575ms 2s525ms 14 1 4s89ms 4s89ms 15 6 17s77ms 2s846ms 16 2 4s143ms 2s71ms 17 1 2s710ms 2s710ms 18 2 5s329ms 2s664ms 19 6 15s149ms 2s524ms 20 5 16s205ms 3s241ms 21 2 4s749ms 2s374ms 22 2 6s46ms 3s23ms Mar 08 23 4 8s886ms 2s221ms 00 2 5s28ms 2s514ms 01 7 22s13ms 3s144ms 02 4 8s617ms 2s154ms 03 5 13s680ms 2s736ms 04 3 9s708ms 3s236ms 05 8 20s767ms 2s595ms 06 3 7s64ms 2s354ms 07 3 14s553ms 4s851ms 08 3 8s87ms 2s695ms 09 5 15s590ms 3s118ms 10 7 17s431ms 2s490ms 12 6 20s653ms 3s442ms 13 2 7s813ms 3s906ms 14 3 9s993ms 3s331ms 15 4 9s248ms 2s312ms 16 4 9s796ms 2s449ms 17 4 11s836ms 2s959ms 18 3 11s355ms 3s785ms 19 6 13s914ms 2s319ms 20 4 14s478ms 3s619ms 21 3 6s73ms 2s24ms 22 5 10s911ms 2s182ms [ User: pubeu - Total duration: 5m16s - Times executed: 119 ]
-
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 = '658110' 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 = '658110') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-03-05 03:36:39 Duration: 6s215ms 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 = '658110' 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 = '658110') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-03-08 10:32:52 Duration: 6s214ms 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 = '658110' 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 = '658110') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-03-04 05:36:51 Duration: 6s149ms Database: ctdprd51 User: pubeu Bind query: yes
18 21m24s 25 50s806ms 52s11ms 51s377ms 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 #18
Day Hour Count Duration Avg duration Mar 02 05 1 50s991ms 50s991ms 09 1 50s885ms 50s885ms 13 1 50s946ms 50s946ms 17 1 50s806ms 50s806ms Mar 03 05 1 51s58ms 51s58ms 09 1 51s271ms 51s271ms 13 1 51s124ms 51s124ms 17 1 51s31ms 51s31ms Mar 04 05 1 51s840ms 51s840ms 09 1 51s369ms 51s369ms 13 1 51s384ms 51s384ms 17 1 51s219ms 51s219ms Mar 05 05 1 51s290ms 51s290ms 09 1 51s813ms 51s813ms 13 1 51s530ms 51s530ms 17 1 51s174ms 51s174ms Mar 06 05 1 51s312ms 51s312ms 09 1 51s637ms 51s637ms 13 1 51s600ms 51s600ms 17 1 51s389ms 51s389ms Mar 07 05 1 51s796ms 51s796ms 09 1 51s726ms 51s726ms 13 1 51s516ms 51s516ms 17 1 52s11ms 52s11ms Mar 08 18 1 51s699ms 51s699ms [ User: postgres - Total duration: 20m32s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 20m32s - 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-03-07 18:05:53 Duration: 52s11ms 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-03-04 06:05:53 Duration: 51s840ms 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-03-05 10:05:53 Duration: 51s813ms Database: ctdprd51 User: postgres Application: pg_dump
19 18m46s 687 1s88ms 3s162ms 1s640ms 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 Mar 02 23 4 6s829ms 1s707ms 00 1 1s283ms 1s283ms 01 1 1s298ms 1s298ms 02 2 3s786ms 1s893ms 03 1 1s276ms 1s276ms 04 3 5s735ms 1s911ms 05 2 3s194ms 1s597ms 06 2 3s721ms 1s860ms 07 2 3s749ms 1s874ms 08 2 3s109ms 1s554ms 09 1 1s943ms 1s943ms 10 3 4s433ms 1s477ms 11 4 6s306ms 1s576ms 12 4 5s706ms 1s426ms 14 6 10s260ms 1s710ms 15 5 9s275ms 1s855ms 16 3 4s397ms 1s465ms 17 5 8s160ms 1s632ms 18 4 6s246ms 1s561ms 19 4 5s702ms 1s425ms 20 3 5s600ms 1s866ms 21 2 3s173ms 1s586ms 22 3 4s967ms 1s655ms Mar 03 00 2 3s150ms 1s575ms 01 3 4s983ms 1s661ms 02 1 1s862ms 1s862ms 04 1 1s871ms 1s871ms 05 4 6s840ms 1s710ms 06 3 5s576ms 1s858ms 07 2 3s773ms 1s886ms 08 2 3s664ms 1s832ms 10 3 5s578ms 1s859ms 11 1 1s276ms 1s276ms 12 2 3s131ms 1s565ms 13 2 2s555ms 1s277ms 14 3 5s76ms 1s692ms 15 1 1s838ms 1s838ms 16 2 3s129ms 1s564ms 17 8 11s608ms 1s451ms 18 4 6s857ms 1s714ms 19 2 3s682ms 1s841ms 20 1 1s872ms 1s872ms 21 6 10s698ms 1s783ms 22 3 5s645ms 1s881ms Mar 04 23 1 1s300ms 1s300ms 00 2 3s664ms 1s832ms 05 1 1s855ms 1s855ms 06 5 8s902ms 1s780ms 07 1 1s877ms 1s877ms 08 2 3s739ms 1s869ms 09 3 5s647ms 1s882ms 10 1 1s323ms 1s323ms 11 1 1s843ms 1s843ms 12 1 1s284ms 1s284ms 13 1 1s336ms 1s336ms 14 1 1s884ms 1s884ms 15 1 1s273ms 1s273ms 16 2 3s112ms 1s556ms 17 1 1s902ms 1s902ms 19 2 4s8ms 2s4ms Mar 05 23 2 3s712ms 1s856ms 00 2 3s256ms 1s628ms 01 1 2s111ms 2s111ms 02 3 5s37ms 1s679ms 03 8 13s845ms 1s730ms 04 6 10s35ms 1s672ms 05 6 9s581ms 1s596ms 06 11 18s252ms 1s659ms 07 9 12s729ms 1s414ms 08 4 6s912ms 1s728ms 09 7 11s305ms 1s615ms 10 6 9s422ms 1s570ms 11 6 9s490ms 1s581ms 12 2 3s193ms 1s596ms 13 8 14s315ms 1s789ms 14 3 4s454ms 1s484ms 15 6 8s811ms 1s468ms 16 4 7s551ms 1s887ms 17 3 5s691ms 1s897ms 18 9 13s940ms 1s548ms 19 7 10s775ms 1s539ms 20 9 13s357ms 1s484ms 21 2 3s739ms 1s869ms 22 9 16s92ms 1s788ms Mar 06 23 5 6s999ms 1s399ms 00 9 15s769ms 1s752ms 01 8 13s806ms 1s725ms 02 7 12s643ms 1s806ms 03 12 20s240ms 1s686ms 04 9 14s744ms 1s638ms 05 4 8s43ms 2s10ms 06 7 11s347ms 1s621ms 07 5 7s683ms 1s536ms 08 8 12s692ms 1s586ms 09 3 5s33ms 1s677ms 11 1 1s272ms 1s272ms 12 5 7s690ms 1s538ms 13 3 5s593ms 1s864ms 14 5 8s273ms 1s654ms 15 6 10s982ms 1s830ms 16 2 3s170ms 1s585ms 17 9 14s940ms 1s660ms 18 5 8s798ms 1s759ms 19 9 13s890ms 1s543ms 20 8 11s392ms 1s424ms 21 4 6s288ms 1s572ms 22 3 4s413ms 1s471ms Mar 07 23 6 10s772ms 1s795ms 00 7 12s117ms 1s731ms 01 8 13s226ms 1s653ms 02 5 8s138ms 1s627ms 03 11 17s635ms 1s603ms 04 8 14s461ms 1s807ms 05 5 6s455ms 1s291ms 06 15 25s865ms 1s724ms 07 6 10s662ms 1s777ms 08 4 6s862ms 1s715ms 09 5 8s765ms 1s753ms 10 6 9s504ms 1s584ms 11 5 8s198ms 1s639ms 12 2 3s789ms 1s894ms 13 3 4s434ms 1s478ms 14 4 7s63ms 1s765ms 15 2 3s815ms 1s907ms 16 7 10s715ms 1s530ms 17 4 7s446ms 1s861ms 18 5 8s173ms 1s634ms 19 6 9s459ms 1s576ms 20 4 6s874ms 1s718ms 21 2 2s577ms 1s288ms 22 7 10s733ms 1s533ms Mar 08 23 9 13s347ms 1s483ms 00 3 4s424ms 1s474ms 01 4 6s443ms 1s610ms 02 7 10s214ms 1s459ms 03 7 12s505ms 1s786ms 04 6 10s65ms 1s677ms 05 6 9s40ms 1s506ms 06 5 7s590ms 1s518ms 07 4 6s302ms 1s575ms 08 1 1s878ms 1s878ms 09 5 7s644ms 1s528ms 10 4 5s844ms 1s461ms 11 5 7s603ms 1s520ms 12 5 8s154ms 1s630ms 13 5 8s778ms 1s755ms 14 11 17s737ms 1s612ms 15 2 3s147ms 1s573ms 16 7 10s957ms 1s565ms 17 6 8s962ms 1s493ms 18 4 5s812ms 1s453ms 19 11 17s96ms 1s554ms 20 3 5s646ms 1s882ms 21 7 10s939ms 1s562ms 22 4 5s825ms 1s456ms [ User: pubeu - Total duration: 4m29s - Times executed: 162 ]
-
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-03-02 05:53:34 Duration: 3s162ms 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 = '1405728') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-03-06 06:44:17 Duration: 2s335ms 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 = '1405728') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-03-05 23:01:36 Duration: 2s262ms Bind query: yes
20 18m18s 4 1s295ms 8m13s 4m34s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where diseaseterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by phenotypeterm.nm_sort, diseaseterm.nm_sort limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Mar 02 01 1 5m33s 5m33s 22 1 1s295ms 1s295ms Mar 03 02 1 4m31s 4m31s 18 1 8m13s 8m13s [ User: pubeu - Total duration: 8m13s - Times executed: 1 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2093964') and diseaseTerm.object_type_id = 3 ORDER BY phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;
Date: 2025-03-03 19:31:29 Duration: 8m13s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2086420') and diseaseTerm.object_type_id = 3 ORDER BY phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;
Date: 2025-03-02 02:32:53 Duration: 5m33s 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 phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;
Date: 2025-03-03 03:13:42 Duration: 4m31s Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 4,767 1h37m21s 1s102ms 4s766ms 1s225ms 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 Mar 02 23 12 14s844ms 1s237ms 00 33 39s410ms 1s194ms 01 20 24s236ms 1s211ms 02 18 21s759ms 1s208ms 03 25 29s901ms 1s196ms 04 30 38s237ms 1s274ms 05 15 17s795ms 1s186ms 06 15 18s55ms 1s203ms 07 44 56s174ms 1s276ms 08 13 15s265ms 1s174ms 09 18 21s606ms 1s200ms 10 32 38s909ms 1s215ms 11 40 49s890ms 1s247ms 12 26 31s919ms 1s227ms 13 28 33s358ms 1s191ms 14 88 1m58s 1s342ms 15 68 1m21s 1s203ms 16 16 18s756ms 1s172ms 17 55 1m4s 1s175ms 18 20 23s818ms 1s190ms 19 31 36s809ms 1s187ms 20 32 37s718ms 1s178ms 21 26 31s388ms 1s207ms 22 19 23s57ms 1s213ms Mar 03 23 20 24s183ms 1s209ms 00 29 34s438ms 1s187ms 01 22 26s423ms 1s201ms 02 21 25s120ms 1s196ms 03 28 33s606ms 1s200ms 04 25 30s224ms 1s208ms 05 31 37s843ms 1s220ms 06 15 17s829ms 1s188ms 07 51 1m5s 1s292ms 08 32 38s285ms 1s196ms 09 21 25s16ms 1s191ms 10 25 29s415ms 1s176ms 11 32 38s537ms 1s204ms 12 32 38s579ms 1s205ms 13 32 38s406ms 1s200ms 14 17 20s455ms 1s203ms 15 21 25s576ms 1s217ms 16 24 28s986ms 1s207ms 17 42 52s86ms 1s240ms 18 31 37s948ms 1s224ms 19 20 25s104ms 1s255ms 20 21 25s779ms 1s227ms 21 26 32s461ms 1s248ms 22 18 21s922ms 1s217ms Mar 04 23 22 27s382ms 1s244ms 00 25 30s818ms 1s232ms 01 2 2s614ms 1s307ms 04 15 19s31ms 1s268ms 05 33 40s815ms 1s236ms 06 15 18s307ms 1s220ms 07 12 15s35ms 1s252ms 08 18 21s835ms 1s213ms 09 25 30s342ms 1s213ms 10 7 8s613ms 1s230ms 11 25 30s371ms 1s214ms 12 24 29s70ms 1s211ms 13 20 24s264ms 1s213ms 14 20 24s182ms 1s209ms 15 18 21s926ms 1s218ms 16 22 26s669ms 1s212ms 17 9 10s854ms 1s206ms 18 13 15s686ms 1s206ms 19 14 16s975ms 1s212ms 20 10 12s275ms 1s227ms 21 22 27s309ms 1s241ms 22 21 25s824ms 1s229ms Mar 05 23 12 14s841ms 1s236ms 00 26 32s922ms 1s266ms 01 25 30s240ms 1s209ms 02 23 28s120ms 1s222ms 03 40 48s188ms 1s204ms 04 45 54s962ms 1s221ms 05 44 53s360ms 1s212ms 06 45 54s297ms 1s206ms 07 40 48s499ms 1s212ms 08 38 46s188ms 1s215ms 09 18 21s643ms 1s202ms 10 28 34s33ms 1s215ms 11 48 57s876ms 1s205ms 12 36 43s223ms 1s200ms 13 38 46s46ms 1s211ms 14 35 42s370ms 1s210ms 15 35 42s56ms 1s201ms 16 20 24s93ms 1s204ms 17 32 38s573ms 1s205ms 18 59 1m11s 1s203ms 19 26 31s319ms 1s204ms 20 31 37s219ms 1s200ms 21 51 1m2s 1s216ms 22 28 34s65ms 1s216ms Mar 06 23 31 37s400ms 1s206ms 00 32 38s961ms 1s217ms 01 40 48s738ms 1s218ms 02 35 42s869ms 1s224ms 03 41 49s758ms 1s213ms 04 25 30s808ms 1s232ms 05 35 42s335ms 1s209ms 06 59 1m14s 1s269ms 07 34 41s194ms 1s211ms 08 34 40s991ms 1s205ms 09 46 55s299ms 1s202ms 10 19 22s831ms 1s201ms 11 23 27s779ms 1s207ms 12 32 39s686ms 1s240ms 13 37 45s685ms 1s234ms 14 31 38s185ms 1s231ms 15 36 44s216ms 1s228ms 16 27 32s364ms 1s198ms 17 25 30s18ms 1s200ms 18 29 35s24ms 1s207ms 19 20 24s179ms 1s208ms 20 20 23s872ms 1s193ms 21 33 40s79ms 1s214ms 22 16 19s966ms 1s247ms Mar 07 23 38 46s948ms 1s235ms 00 29 36s831ms 1s270ms 01 26 32s316ms 1s242ms 02 27 33s178ms 1s228ms 03 31 37s750ms 1s217ms 04 26 31s861ms 1s225ms 05 27 34s208ms 1s266ms 06 18 21s910ms 1s217ms 07 18 21s774ms 1s209ms 08 23 27s844ms 1s210ms 09 20 25s162ms 1s258ms 10 49 1m1s 1s261ms 11 77 1m41s 1s314ms 12 19 23s997ms 1s263ms 13 50 1m2s 1s241ms 14 50 1m1s 1s233ms 15 30 37s97ms 1s236ms 16 31 38s53ms 1s227ms 17 36 43s865ms 1s218ms 18 52 1m4s 1s246ms 19 30 36s384ms 1s212ms 20 25 30s228ms 1s209ms 21 27 33s450ms 1s238ms 22 32 39s467ms 1s233ms Mar 08 23 43 53s103ms 1s234ms 00 20 24s671ms 1s233ms 01 27 32s835ms 1s216ms 02 35 42s864ms 1s224ms 03 39 48s722ms 1s249ms 04 28 34s324ms 1s225ms 05 17 21s107ms 1s241ms 06 38 50s187ms 1s320ms 07 51 1m3s 1s245ms 08 26 31s493ms 1s211ms 09 23 27s523ms 1s196ms 10 25 30s143ms 1s205ms 11 39 47s30ms 1s205ms 12 19 22s586ms 1s188ms 13 24 28s801ms 1s200ms 14 22 26s722ms 1s214ms 15 37 44s421ms 1s200ms 16 19 22s891ms 1s204ms 17 16 20s156ms 1s259ms 18 18 23s146ms 1s285ms 19 16 20s659ms 1s291ms 20 23 28s644ms 1s245ms 21 17 21s637ms 1s272ms 22 19 24s424ms 1s285ms [ User: pubeu - Total duration: 21m35s - Times executed: 1040 ]
[ User: qaeu - Total duration: 1s132ms - Times executed: 1 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '1755154' or receptorTerm.id = '1755154' 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-03-08 07:31:00 Duration: 4s766ms 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 = '1456194' or receptorTerm.id = '1456194' 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-03-03 08:34:57 Duration: 4s396ms 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 = '2029807' or receptorTerm.id = '2029807' 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-03-02 15:59:56 Duration: 3s675ms Database: ctdprd51 User: pubeu Bind query: yes
2 2,725 1h8m21s 1s447ms 2s777ms 1s505ms select coalesce(d.abbr_display, d.nm_display) nm # ?, d.description # ?, coalesce(d.abbr, d.nm) anchor # ?, get_homepage_url (d.id) url # ? from db d # ? where d.id in (# ? select l.db_id # ? from db_link l # ? where l.type_cd = ? # ? and l.object_type_id = ?) # ? order by ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 02 04 2 3s73ms 1s536ms 05 1 1s476ms 1s476ms 10 1 1s494ms 1s494ms 14 1 1s447ms 1s447ms 16 2 2s924ms 1s462ms 17 1 1s456ms 1s456ms 18 1 1s461ms 1s461ms 21 1 1s507ms 1s507ms 22 3 4s384ms 1s461ms Mar 03 23 4 5s867ms 1s466ms 00 1 1s448ms 1s448ms 02 3 4s445ms 1s481ms 03 4 5s883ms 1s470ms 04 3 4s429ms 1s476ms 05 1 1s545ms 1s545ms 10 5 7s334ms 1s466ms 11 1 1s496ms 1s496ms 12 3 4s503ms 1s501ms 13 3 4s522ms 1s507ms 14 1 1s476ms 1s476ms 15 1 1s601ms 1s601ms Mar 04 00 1 1s514ms 1s514ms 04 13 19s717ms 1s516ms 05 24 36s277ms 1s511ms 06 13 19s764ms 1s520ms 07 17 26s662ms 1s568ms 08 10 14s971ms 1s497ms 09 9 13s537ms 1s504ms 10 6 9s6ms 1s501ms 11 10 15s146ms 1s514ms 12 12 17s891ms 1s490ms 13 12 18s59ms 1s504ms 14 5 7s453ms 1s490ms 15 10 14s942ms 1s494ms 16 11 16s531ms 1s502ms 17 12 17s956ms 1s496ms 18 11 16s477ms 1s497ms 19 14 20s991ms 1s499ms 20 17 25s569ms 1s504ms 21 44 1m5s 1s499ms 22 42 1m2s 1s497ms Mar 05 23 39 58s419ms 1s497ms 00 42 1m3s 1s506ms 01 40 1m 1s510ms 02 51 1m16s 1s499ms 03 57 1m25s 1s493ms 04 48 1m12s 1s501ms 05 32 48s61ms 1s501ms 06 24 36s330ms 1s513ms 07 22 33s59ms 1s502ms 08 14 20s986ms 1s499ms 09 18 27s86ms 1s504ms 10 17 25s494ms 1s499ms 11 19 28s598ms 1s505ms 12 17 25s522ms 1s501ms 13 21 31s302ms 1s490ms 14 26 38s892ms 1s495ms 15 33 49s610ms 1s503ms 16 9 13s526ms 1s502ms 17 21 31s403ms 1s495ms 18 22 32s724ms 1s487ms 19 19 28s393ms 1s494ms 20 23 34s284ms 1s490ms 21 23 34s446ms 1s497ms 22 26 39s79ms 1s503ms Mar 06 23 25 37s323ms 1s492ms 00 25 38s19ms 1s520ms 01 20 30s140ms 1s507ms 02 27 40s746ms 1s509ms 03 23 34s526ms 1s501ms 04 23 34s330ms 1s492ms 05 17 25s328ms 1s489ms 06 23 34s689ms 1s508ms 07 17 25s521ms 1s501ms 08 17 25s389ms 1s493ms 09 14 21s238ms 1s517ms 10 13 19s611ms 1s508ms 11 16 23s895ms 1s493ms 12 25 37s445ms 1s497ms 13 18 26s916ms 1s495ms 14 23 34s563ms 1s502ms 15 29 43s679ms 1s506ms 16 20 30s115ms 1s505ms 17 22 32s974ms 1s498ms 18 21 31s761ms 1s512ms 19 23 34s423ms 1s496ms 20 19 28s509ms 1s500ms 21 29 43s465ms 1s498ms 22 26 39s207ms 1s507ms Mar 07 23 22 33s89ms 1s504ms 00 22 33s446ms 1s520ms 01 21 31s619ms 1s505ms 02 20 30s141ms 1s507ms 03 26 39s357ms 1s513ms 04 27 40s532ms 1s501ms 05 16 24s165ms 1s510ms 06 16 24s50ms 1s503ms 07 18 27s75ms 1s504ms 08 22 33s284ms 1s512ms 09 20 29s903ms 1s495ms 10 17 25s600ms 1s505ms 11 12 18s186ms 1s515ms 12 36 53s926ms 1s497ms 13 36 53s959ms 1s498ms 14 23 35s40ms 1s523ms 15 23 34s570ms 1s503ms 16 22 32s908ms 1s495ms 17 27 40s749ms 1s509ms 18 22 32s975ms 1s498ms 19 27 40s427ms 1s497ms 20 23 34s672ms 1s507ms 21 27 40s603ms 1s503ms 22 29 43s676ms 1s506ms Mar 08 23 29 43s716ms 1s507ms 00 30 44s969ms 1s498ms 01 22 32s907ms 1s495ms 02 30 45s83ms 1s502ms 03 26 39s642ms 1s524ms 04 31 47s165ms 1s521ms 05 32 50s186ms 1s568ms 06 26 39s567ms 1s521ms 07 23 35s537ms 1s545ms 08 26 39s159ms 1s506ms 09 25 37s335ms 1s493ms 10 30 45s292ms 1s509ms 11 25 37s660ms 1s506ms 12 29 43s445ms 1s498ms 13 22 32s841ms 1s492ms 14 31 46s546ms 1s501ms 15 31 46s694ms 1s506ms 16 27 40s763ms 1s509ms 17 24 36s233ms 1s509ms 18 25 38s9ms 1s520ms 19 27 40s639ms 1s505ms 20 30 45s675ms 1s522ms 21 26 39s450ms 1s517ms 22 30 45s240ms 1s508ms [ User: pubeu - Total duration: 14m43s - Times executed: 584 ]
-
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-03-08 06:40:23 Duration: 2s777ms 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-03-08 08:08:05 Duration: 2s444ms 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-03-08 06:40:03 Duration: 2s214ms Database: ctdprd51 User: pubeu Bind query: yes
3 1,775 1h35m14s 1s 7s396ms 3s219ms 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 #3
Day Hour Count Duration Avg duration Mar 02 00 8 26s208ms 3s276ms 01 5 9s922ms 1s984ms 02 9 32s821ms 3s646ms 03 10 31s73ms 3s107ms 04 6 26s782ms 4s463ms 05 8 19s307ms 2s413ms 06 5 12s61ms 2s412ms 07 7 26s186ms 3s740ms 08 5 11s146ms 2s229ms 09 10 31s867ms 3s186ms 10 7 17s837ms 2s548ms 11 2 3s733ms 1s866ms 12 10 34s519ms 3s451ms 13 8 22s458ms 2s807ms 14 13 39s194ms 3s14ms 15 6 20s790ms 3s465ms 16 9 32s423ms 3s602ms 17 6 15s252ms 2s542ms 18 6 12s797ms 2s132ms 19 13 44s237ms 3s402ms 20 6 16s804ms 2s800ms 21 13 28s578ms 2s198ms 22 1 1s874ms 1s874ms Mar 03 23 8 33s225ms 4s153ms 00 7 25s546ms 3s649ms 01 6 24s609ms 4s101ms 02 9 31s603ms 3s511ms 03 5 20s80ms 4s16ms 04 5 10s328ms 2s65ms 05 9 34s574ms 3s841ms 06 6 21s735ms 3s622ms 07 2 8s8ms 4s4ms 08 7 25s282ms 3s611ms 09 11 27s213ms 2s473ms 10 6 23s956ms 3s992ms 11 8 20s90ms 2s511ms 12 5 18s20ms 3s604ms 13 6 20s479ms 3s413ms 14 6 21s188ms 3s531ms 15 6 17s674ms 2s945ms 16 8 23s414ms 2s926ms 17 3 11s667ms 3s889ms 18 8 23s701ms 2s962ms 19 10 36s99ms 3s609ms 20 12 30s293ms 2s524ms 21 6 16s39ms 2s673ms 22 9 32s997ms 3s666ms Mar 04 23 11 34s58ms 3s96ms 00 8 27s206ms 3s400ms 01 1 1s31ms 1s31ms 04 4 9s85ms 2s271ms 05 7 31s193ms 4s456ms 06 6 23s541ms 3s923ms 07 3 4s778ms 1s592ms 08 3 5s693ms 1s897ms 09 10 35s142ms 3s514ms 10 2 5s426ms 2s713ms 11 4 9s145ms 2s286ms 13 3 5s406ms 1s802ms 15 3 4s606ms 1s535ms 16 3 10s945ms 3s648ms 17 1 1s339ms 1s339ms 18 3 6s367ms 2s122ms 19 7 21s58ms 3s8ms 21 2 8s729ms 4s364ms 22 1 2s954ms 2s954ms Mar 05 23 4 13s339ms 3s334ms 00 2 8s214ms 4s107ms 01 4 12s575ms 3s143ms 02 11 40s852ms 3s713ms 03 13 35s780ms 2s752ms 04 14 55s642ms 3s974ms 05 21 54s241ms 2s582ms 06 24 1m21s 3s394ms 07 16 48s732ms 3s45ms 08 18 1m 3s364ms 09 16 51s594ms 3s224ms 10 7 23s163ms 3s309ms 11 16 47s622ms 2s976ms 12 10 23s181ms 2s318ms 13 8 22s602ms 2s825ms 14 8 20s277ms 2s534ms 15 16 1m2s 3s930ms 16 7 31s578ms 4s511ms 17 15 46s797ms 3s119ms 18 13 34s754ms 2s673ms 19 14 42s13ms 3s 20 8 28s930ms 3s616ms 21 15 54s937ms 3s662ms 22 10 42s586ms 4s258ms Mar 06 23 13 38s679ms 2s975ms 00 27 1m22s 3s46ms 01 14 40s695ms 2s906ms 02 14 47s268ms 3s376ms 03 16 44s737ms 2s796ms 04 20 47s586ms 2s379ms 05 11 35s342ms 3s212ms 06 17 46s338ms 2s725ms 07 21 1m10s 3s378ms 08 19 1m2s 3s287ms 09 18 51s400ms 2s855ms 10 11 39s955ms 3s632ms 11 15 48s477ms 3s231ms 12 11 34s579ms 3s143ms 13 12 30s694ms 2s557ms 14 15 53s488ms 3s565ms 15 15 38s986ms 2s599ms 16 10 31s834ms 3s183ms 17 15 48s143ms 3s209ms 18 18 1m9s 3s845ms 19 16 55s289ms 3s455ms 20 12 42s228ms 3s519ms 21 8 18s883ms 2s360ms 22 13 44s111ms 3s393ms Mar 07 23 11 32s523ms 2s956ms 00 12 41s129ms 3s427ms 01 18 1m17s 4s305ms 02 18 53s885ms 2s993ms 03 12 34s178ms 2s848ms 04 20 1m2s 3s139ms 05 17 54s29ms 3s178ms 06 17 55s88ms 3s240ms 07 15 51s624ms 3s441ms 08 18 56s988ms 3s166ms 09 9 26s888ms 2s987ms 10 11 40s756ms 3s705ms 11 10 23s264ms 2s326ms 12 18 55s353ms 3s75ms 13 14 39s884ms 2s848ms 14 6 27s422ms 4s570ms 15 13 38s463ms 2s958ms 16 11 42s565ms 3s869ms 17 13 31s788ms 2s445ms 18 18 1m15s 4s194ms 19 14 37s579ms 2s684ms 20 15 54s171ms 3s611ms 21 14 44s137ms 3s152ms 22 23 59s522ms 2s587ms Mar 08 23 17 1m8s 4s18ms 00 19 52s804ms 2s779ms 01 16 45s700ms 2s856ms 02 17 52s224ms 3s72ms 03 14 42s905ms 3s64ms 04 15 57s812ms 3s854ms 05 16 1m 3s806ms 06 11 34s290ms 3s117ms 07 7 25s633ms 3s661ms 08 15 50s586ms 3s372ms 09 17 1m4s 3s784ms 10 15 54s483ms 3s632ms 11 12 43s951ms 3s662ms 12 7 19s962ms 2s851ms 13 14 53s680ms 3s834ms 14 18 56s882ms 3s160ms 15 10 34s951ms 3s495ms 16 17 54s990ms 3s234ms 17 15 40s894ms 2s726ms 18 12 47s431ms 3s952ms 19 21 1m20s 3s813ms 20 7 16s771ms 2s395ms 21 22 1m20s 3s674ms 22 20 1m5s 3s278ms [ User: pubeu - Total duration: 21m59s - Times executed: 406 ]
-
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-03-02 05:56:30 Duration: 7s396ms 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-03-02 15:59:57 Duration: 7s362ms 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 = '1405728'))) 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-03-08 06:39:32 Duration: 7s62ms Database: ctdprd51 User: pubeu Bind query: yes
4 1,633 1h7m56s 1s 4s893ms 2s496ms 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 #4
Day Hour Count Duration Avg duration Mar 02 23 9 16s522ms 1s835ms 00 7 15s583ms 2s226ms 01 11 22s911ms 2s82ms 02 7 13s138ms 1s876ms 03 8 25s392ms 3s174ms 04 5 11s364ms 2s272ms 05 6 14s171ms 2s361ms 06 1 4s411ms 4s411ms 07 5 10s424ms 2s84ms 08 5 15s743ms 3s148ms 09 10 16s247ms 1s624ms 10 4 11s249ms 2s812ms 11 12 33s93ms 2s757ms 12 5 10s551ms 2s110ms 13 11 33s102ms 3s9ms 14 7 16s294ms 2s327ms 15 9 18s678ms 2s75ms 16 12 27s947ms 2s328ms 17 10 22s703ms 2s270ms 18 15 35s300ms 2s353ms 19 14 31s300ms 2s235ms 20 6 11s586ms 1s931ms 21 8 20s52ms 2s506ms 22 12 26s475ms 2s206ms Mar 03 23 6 16s62ms 2s677ms 00 7 11s647ms 1s663ms 01 9 28s798ms 3s199ms 02 7 20s204ms 2s886ms 03 8 19s374ms 2s421ms 04 4 11s403ms 2s850ms 05 5 16s650ms 3s330ms 06 4 9s508ms 2s377ms 07 8 17s295ms 2s161ms 08 10 24s881ms 2s488ms 09 16 36s264ms 2s266ms 10 9 19s52ms 2s116ms 11 1 1s291ms 1s291ms 12 8 20s283ms 2s535ms 13 6 8s896ms 1s482ms 14 5 7s216ms 1s443ms 15 9 21s285ms 2s365ms 16 7 16s427ms 2s346ms 17 8 19s668ms 2s458ms 18 10 21s311ms 2s131ms 19 21 49s979ms 2s379ms 20 10 31s368ms 3s136ms 21 7 19s115ms 2s730ms 22 4 9s391ms 2s347ms Mar 04 23 7 15s427ms 2s203ms 00 9 25s492ms 2s832ms 04 1 1s108ms 1s108ms 05 5 11s739ms 2s347ms 06 6 18s538ms 3s89ms 07 3 5s248ms 1s749ms 08 4 14s901ms 3s725ms 09 9 23s285ms 2s587ms 10 3 3s980ms 1s326ms 11 1 4s189ms 4s189ms 12 4 12s248ms 3s62ms 13 3 8s71ms 2s690ms 15 1 4s122ms 4s122ms 17 3 7s425ms 2s475ms 18 2 8s348ms 4s174ms 19 13 27s934ms 2s148ms 21 1 1s28ms 1s28ms 22 5 11s473ms 2s294ms Mar 05 23 2 3s59ms 1s529ms 00 3 9s739ms 3s246ms 02 11 27s986ms 2s544ms 03 9 25s89ms 2s787ms 04 18 46s954ms 2s608ms 05 18 48s506ms 2s694ms 06 15 43s454ms 2s896ms 07 17 50s412ms 2s965ms 08 5 12s452ms 2s490ms 09 12 32s289ms 2s690ms 10 5 12s306ms 2s461ms 11 19 50s906ms 2s679ms 12 11 21s 1s909ms 13 15 37s849ms 2s523ms 14 6 13s362ms 2s227ms 15 11 31s549ms 2s868ms 16 2 5s172ms 2s586ms 17 12 39s646ms 3s303ms 18 7 18s493ms 2s641ms 19 11 28s152ms 2s559ms 20 12 31s680ms 2s640ms 21 14 35s387ms 2s527ms 22 15 44s495ms 2s966ms Mar 06 23 10 25s840ms 2s584ms 00 28 1m3s 2s282ms 01 13 40s52ms 3s80ms 02 18 43s36ms 2s390ms 03 14 25s795ms 1s842ms 04 9 18s922ms 2s102ms 05 12 24s195ms 2s16ms 06 12 27s965ms 2s330ms 07 15 33s110ms 2s207ms 08 14 39s482ms 2s820ms 09 13 41s770ms 3s213ms 10 4 15s438ms 3s859ms 11 8 15s658ms 1s957ms 12 17 43s589ms 2s564ms 13 15 46s516ms 3s101ms 14 13 37s69ms 2s851ms 15 8 20s820ms 2s602ms 16 13 28s984ms 2s229ms 17 15 42s153ms 2s810ms 18 10 30s369ms 3s36ms 19 15 43s925ms 2s928ms 20 19 48s624ms 2s559ms 21 8 18s850ms 2s356ms 22 13 35s730ms 2s748ms Mar 07 23 15 40s225ms 2s681ms 00 12 32s197ms 2s683ms 01 13 32s323ms 2s486ms 02 12 25s1ms 2s83ms 03 9 22s105ms 2s456ms 04 8 14s224ms 1s778ms 05 17 42s997ms 2s529ms 06 21 42s588ms 2s28ms 07 13 27s24ms 2s78ms 08 8 18s312ms 2s289ms 09 13 35s1ms 2s692ms 10 10 28s99ms 2s809ms 11 6 12s369ms 2s61ms 12 8 25s874ms 3s234ms 13 14 40s116ms 2s865ms 14 15 31s584ms 2s105ms 15 18 40s28ms 2s223ms 16 15 31s989ms 2s132ms 17 8 23s606ms 2s950ms 18 13 36s888ms 2s837ms 19 15 38s883ms 2s592ms 20 16 28s764ms 1s797ms 21 14 39s262ms 2s804ms 22 10 28s475ms 2s847ms Mar 08 23 9 21s260ms 2s362ms 00 12 25s195ms 2s99ms 01 7 15s921ms 2s274ms 02 12 31s370ms 2s614ms 03 8 16s160ms 2s20ms 04 16 33s768ms 2s110ms 05 22 1m2s 2s860ms 06 14 37s883ms 2s705ms 07 16 34s875ms 2s179ms 08 11 25s631ms 2s330ms 09 11 27s226ms 2s475ms 10 10 25s659ms 2s565ms 11 14 37s763ms 2s697ms 12 12 25s81ms 2s90ms 13 7 17s948ms 2s564ms 14 15 40s44ms 2s669ms 15 10 29s348ms 2s934ms 16 14 39s868ms 2s847ms 17 15 33s958ms 2s263ms 18 10 31s187ms 3s118ms 19 9 22s17ms 2s446ms 20 10 27s145ms 2s714ms 21 10 19s287ms 1s928ms 22 22 48s810ms 2s218ms [ User: pubeu - Total duration: 14m58s - Times executed: 361 ]
-
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-03-02 12:43:31 Duration: 4s893ms 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-03-02 12:47:35 Duration: 4s885ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '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-03-02 09:11:28 Duration: 4s752ms Database: ctdprd51 User: pubeu Bind query: yes
5 1,453 2h28m15s 1s 1m12s 6s122ms select ? AS "Input", phenotypeterm.nm AS "PhenotypeName", phenotypeterm.acc_txt AS "PhenotypeID", diseaseterm.nm AS "DiseaseName", diseaseterm.acc_db_cd || ? || diseaseterm.acc_txt "DiseaseID", ( select string_agg(distinct geneterm.nm, ?) from term geneterm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneterm.id and ptr.via_term_object_type_id = ?) AS "GeneInferenceNetwork", ( select string_agg(distinct chemterm.nm, ?) from term chemterm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemterm.id and ptr.via_term_object_type_id = ?) AS "ChemInferenceNetwork", ( select string_agg(distinct r.acc_txt, ?) from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" 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 = ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Mar 06 00 4 15s468ms 3s867ms 02 331 32m20s 5s861ms 03 164 18m50s 6s896ms 04 146 14m2s 5s773ms Mar 07 03 1 3s972ms 3s972ms Mar 08 10 805 1h22m35s 6s156ms 11 2 6s777ms 3s388ms [ User: pubeu - Total duration: 23m23s - Times executed: 212 ]
-
SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'signs and symptoms' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" 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 = 2089995) and diseaseTerm.object_type_id = 3;
Date: 2025-03-08 11:27:09 Duration: 1m12s Bind query: yes
-
SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'cardiovascular diseases' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" 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 = 2100762) and diseaseTerm.object_type_id = 3;
Date: 2025-03-08 11:22:14 Duration: 1m9s Bind query: yes
-
SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'cardiovascular diseases' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" 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 = 2100762) and diseaseTerm.object_type_id = 3;
Date: 2025-03-08 11:31:51 Duration: 1m8s Bind query: yes
6 794 46m41s 1s7ms 13s365ms 3s528ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Mar 02 23 7 24s12ms 3s430ms 00 5 21s567ms 4s313ms 01 15 54s399ms 3s626ms 02 11 35s478ms 3s225ms 03 5 20s521ms 4s104ms 04 9 41s980ms 4s664ms 05 6 23s884ms 3s980ms 06 5 17s663ms 3s532ms 07 11 38s745ms 3s522ms 08 7 15s41ms 2s148ms 09 8 17s37ms 2s129ms 10 8 19s360ms 2s420ms 11 13 40s940ms 3s149ms 12 3 5s308ms 1s769ms 13 11 34s506ms 3s136ms 14 8 26s949ms 3s368ms 15 13 37s738ms 2s902ms 16 7 15s405ms 2s200ms 17 10 27s389ms 2s738ms 18 9 39s80ms 4s342ms 19 5 15s596ms 3s119ms 20 12 41s271ms 3s439ms 21 12 41s354ms 3s446ms 22 11 45s939ms 4s176ms Mar 03 23 7 19s326ms 2s760ms 00 6 16s461ms 2s743ms 01 8 23s20ms 2s877ms 02 7 18s8ms 2s572ms 03 7 26s241ms 3s748ms 04 8 24s939ms 3s117ms 05 11 35s213ms 3s201ms 06 7 23s500ms 3s357ms 07 8 20s805ms 2s600ms 08 10 30s606ms 3s60ms 09 8 22s979ms 2s872ms 10 9 36s952ms 4s105ms 11 5 14s809ms 2s961ms 12 8 18s49ms 2s256ms 13 10 42s171ms 4s217ms 14 9 37s230ms 4s136ms 15 7 31s486ms 4s498ms 16 13 1m 4s671ms 17 9 31s384ms 3s487ms 18 13 30s782ms 2s367ms 19 11 49s450ms 4s495ms 20 11 44s359ms 4s32ms 21 6 15s998ms 2s666ms 22 5 30s103ms 6s20ms Mar 04 23 7 24s950ms 3s564ms 00 15 53s611ms 3s574ms 01 2 7s766ms 3s883ms 04 2 11s61ms 5s530ms 05 11 46s80ms 4s189ms 06 3 6s264ms 2s88ms 07 9 30s353ms 3s372ms 08 9 27s129ms 3s14ms 09 5 11s547ms 2s309ms 10 2 8s465ms 4s232ms 11 2 13s14ms 6s507ms 12 4 12s140ms 3s35ms 13 1 2s187ms 2s187ms 14 2 3s246ms 1s623ms 15 3 15s447ms 5s149ms 16 3 12s748ms 4s249ms 17 4 7s512ms 1s878ms 18 3 13s377ms 4s459ms 19 5 11s955ms 2s391ms 20 9 47s728ms 5s303ms 21 6 18s831ms 3s138ms 22 6 26s95ms 4s349ms Mar 05 23 1 6s973ms 6s973ms 00 8 24s456ms 3s57ms 01 9 15s393ms 1s710ms 02 11 30s141ms 2s740ms 03 5 21s407ms 4s281ms 04 6 30s847ms 5s141ms 05 3 12s519ms 4s173ms 06 9 24s773ms 2s752ms 07 7 17s776ms 2s539ms 08 3 13s180ms 4s393ms 09 3 5s492ms 1s830ms 10 3 7s234ms 2s411ms 11 10 47s860ms 4s786ms 12 1 1s667ms 1s667ms 13 3 34s396ms 11s465ms 14 3 6s963ms 2s321ms 16 1 1s931ms 1s931ms 17 2 4s293ms 2s146ms 18 4 21s22ms 5s255ms 19 1 5s261ms 5s261ms 20 2 16s708ms 8s354ms 21 5 19s262ms 3s852ms Mar 06 23 2 11s573ms 5s786ms 00 1 4s667ms 4s667ms 01 3 5s515ms 1s838ms 02 3 5s573ms 1s857ms 03 2 6s818ms 3s409ms 04 4 20s357ms 5s89ms 05 3 8s298ms 2s766ms 06 3 17s542ms 5s847ms 07 2 7s354ms 3s677ms 08 2 6s114ms 3s57ms 09 1 1s510ms 1s510ms 10 1 2s175ms 2s175ms 11 3 15s844ms 5s281ms 12 1 1s771ms 1s771ms 13 1 5s345ms 5s345ms 14 3 5s371ms 1s790ms 15 3 12s293ms 4s97ms 16 2 18s541ms 9s270ms 17 1 1s272ms 1s272ms 18 2 5s918ms 2s959ms 19 4 13s369ms 3s342ms 20 1 2s801ms 2s801ms 21 5 32s200ms 6s440ms 22 3 6s729ms 2s243ms Mar 07 23 3 11s836ms 3s945ms 00 2 9s330ms 4s665ms 01 1 2s812ms 2s812ms 03 2 4s105ms 2s52ms 04 3 14s159ms 4s719ms 05 1 2s807ms 2s807ms 07 1 2s460ms 2s460ms 08 1 2s612ms 2s612ms 09 6 34s803ms 5s800ms 10 1 1s14ms 1s14ms 11 3 9s646ms 3s215ms 12 4 14s961ms 3s740ms 13 6 30s564ms 5s94ms 14 4 5s98ms 1s274ms 16 2 4s863ms 2s431ms 18 4 15s31ms 3s757ms 19 2 3s397ms 1s698ms 20 2 6s665ms 3s332ms 21 2 14s95ms 7s47ms 22 1 4s922ms 4s922ms Mar 08 23 2 14s589ms 7s294ms 00 4 16s872ms 4s218ms 01 4 5s829ms 1s457ms 02 3 12s872ms 4s290ms 03 1 1s765ms 1s765ms 04 4 7s223ms 1s805ms 05 6 24s253ms 4s42ms 06 2 6s18ms 3s9ms 07 1 3s212ms 3s212ms 09 3 5s596ms 1s865ms 10 5 11s141ms 2s228ms 11 3 8s932ms 2s977ms 12 4 9s286ms 2s321ms 14 3 5s255ms 1s751ms 15 2 13s661ms 6s830ms 16 2 2s685ms 1s342ms 18 2 2s949ms 1s474ms 19 2 7s628ms 3s814ms 20 1 3s208ms 3s208ms 21 3 18s963ms 6s321ms 22 3 18s608ms 6s202ms [ User: pubeu - Total duration: 11m49s - Times executed: 198 ]
-
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 = '2089995') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-03-03 23:16:37 Duration: 13s365ms 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 = '2089995') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-03-05 05:39:44 Duration: 12s958ms 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 = '2089995') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-03-06 17:18:47 Duration: 12s860ms Bind query: yes
7 697 15m47s 1s176ms 3s279ms 1s359ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or receptorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 02 23 2 2s676ms 1s338ms 00 4 5s20ms 1s255ms 01 7 9s344ms 1s334ms 02 3 3s938ms 1s312ms 03 1 1s349ms 1s349ms 04 5 8s467ms 1s693ms 05 1 1s342ms 1s342ms 07 6 7s976ms 1s329ms 09 5 7s121ms 1s424ms 10 4 5s283ms 1s320ms 11 6 8s21ms 1s336ms 12 3 3s928ms 1s309ms 13 2 2s525ms 1s262ms 14 21 27s958ms 1s331ms 15 15 21s197ms 1s413ms 16 2 2s417ms 1s208ms 17 6 7s935ms 1s322ms 18 2 2s473ms 1s236ms 19 4 5s173ms 1s293ms 20 3 3s752ms 1s250ms 21 5 6s433ms 1s286ms 22 1 1s275ms 1s275ms Mar 03 23 4 5s345ms 1s336ms 00 6 7s651ms 1s275ms 01 5 6s541ms 1s308ms 02 1 1s226ms 1s226ms 03 4 5s112ms 1s278ms 04 4 5s382ms 1s345ms 05 8 10s378ms 1s297ms 06 2 2s447ms 1s223ms 07 5 6s862ms 1s372ms 08 4 5s94ms 1s273ms 09 5 6s402ms 1s280ms 10 3 3s760ms 1s253ms 11 2 2s754ms 1s377ms 12 2 2s568ms 1s284ms 13 5 6s602ms 1s320ms 15 2 2s621ms 1s310ms 16 3 4s68ms 1s356ms 17 7 9s331ms 1s333ms 18 3 3s921ms 1s307ms 19 3 3s962ms 1s320ms 20 2 2s703ms 1s351ms 22 2 2s763ms 1s381ms Mar 04 23 1 1s376ms 1s376ms 00 2 2s727ms 1s363ms 04 7 9s754ms 1s393ms 05 1 1s265ms 1s265ms 06 1 1s453ms 1s453ms 07 3 4s323ms 1s441ms 08 4 5s505ms 1s376ms 09 3 3s979ms 1s326ms 10 1 1s376ms 1s376ms 11 3 3s965ms 1s321ms 12 3 4s35ms 1s345ms 13 7 9s442ms 1s348ms 14 2 2s671ms 1s335ms 15 3 4s101ms 1s367ms 18 4 7s298ms 1s824ms 19 4 5s359ms 1s339ms 20 4 5s337ms 1s334ms 21 10 13s607ms 1s360ms 22 7 9s215ms 1s316ms Mar 05 23 2 2s768ms 1s384ms 00 5 6s711ms 1s342ms 01 4 5s446ms 1s361ms 02 2 2s711ms 1s355ms 03 7 9s415ms 1s345ms 04 7 9s747ms 1s392ms 05 4 5s443ms 1s360ms 06 8 10s501ms 1s312ms 07 7 9s408ms 1s344ms 08 9 12s176ms 1s352ms 09 3 4s194ms 1s398ms 10 5 6s726ms 1s345ms 11 13 17s240ms 1s326ms 12 6 8s57ms 1s342ms 13 7 9s427ms 1s346ms 14 8 10s633ms 1s329ms 15 6 8s28ms 1s338ms 16 3 3s948ms 1s316ms 17 2 2s617ms 1s308ms 18 5 6s626ms 1s325ms 19 6 8s235ms 1s372ms 20 6 8s13ms 1s335ms 21 6 7s939ms 1s323ms 22 6 8s110ms 1s351ms Mar 06 23 2 2s695ms 1s347ms 00 6 8s168ms 1s361ms 01 9 12s129ms 1s347ms 02 2 2s727ms 1s363ms 03 6 8s159ms 1s359ms 04 6 8s481ms 1s413ms 05 2 2s729ms 1s364ms 06 8 10s794ms 1s349ms 07 2 2s620ms 1s310ms 08 2 2s653ms 1s326ms 09 5 6s624ms 1s324ms 10 2 2s525ms 1s262ms 11 4 5s433ms 1s358ms 12 6 8s106ms 1s351ms 13 4 5s510ms 1s377ms 14 3 4s125ms 1s375ms 15 4 5s362ms 1s340ms 16 1 1s304ms 1s304ms 17 5 6s522ms 1s304ms 18 5 6s569ms 1s313ms 19 3 4s85ms 1s361ms 20 3 3s962ms 1s320ms 21 3 4s84ms 1s361ms Mar 07 00 3 4s127ms 1s375ms 01 8 10s917ms 1s364ms 02 5 7s231ms 1s446ms 03 2 2s719ms 1s359ms 04 7 9s967ms 1s423ms 05 5 7s216ms 1s443ms 06 3 3s922ms 1s307ms 08 2 2s719ms 1s359ms 09 2 2s693ms 1s346ms 10 10 14s332ms 1s433ms 11 17 25s771ms 1s515ms 12 4 5s527ms 1s381ms 13 8 10s921ms 1s365ms 14 10 13s666ms 1s366ms 15 2 2s924ms 1s462ms 16 4 5s432ms 1s358ms 17 8 10s799ms 1s349ms 18 13 17s919ms 1s378ms 19 7 11s280ms 1s611ms 20 3 4s15ms 1s338ms 21 1 1s364ms 1s364ms 22 4 5s528ms 1s382ms Mar 08 23 7 9s415ms 1s345ms 00 2 2s705ms 1s352ms 01 5 6s751ms 1s350ms 02 5 6s828ms 1s365ms 03 8 10s639ms 1s329ms 04 7 9s686ms 1s383ms 05 5 6s674ms 1s334ms 06 4 5s523ms 1s380ms 07 7 9s831ms 1s404ms 08 1 1s331ms 1s331ms 09 2 2s752ms 1s376ms 10 1 1s347ms 1s347ms 11 6 7s826ms 1s304ms 12 3 3s913ms 1s304ms 13 2 2s544ms 1s272ms 14 1 1s360ms 1s360ms 15 2 2s527ms 1s263ms 16 5 6s757ms 1s351ms 17 1 1s466ms 1s466ms 18 1 1s394ms 1s394ms 19 1 1s393ms 1s393ms 20 1 1s404ms 1s404ms 21 1 1s412ms 1s412ms 22 1 1s400ms 1s400ms [ User: pubeu - Total duration: 3m46s - Times executed: 165 ]
[ User: qaeu - Total duration: 10s805ms - Times executed: 7 ]
-
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 = '1228421') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1228421') 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-03-04 19:13:11 Duration: 3s279ms 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 = '1258990') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1258990') 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-03-07 12:35:35 Duration: 2s806ms 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 = '1263520') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1263520') 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-03-07 20:03:35 Duration: 2s758ms Database: ctdprd51 User: pubeu Bind query: yes
8 687 18m46s 1s88ms 3s162ms 1s640ms 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 #8
Day Hour Count Duration Avg duration Mar 02 23 4 6s829ms 1s707ms 00 1 1s283ms 1s283ms 01 1 1s298ms 1s298ms 02 2 3s786ms 1s893ms 03 1 1s276ms 1s276ms 04 3 5s735ms 1s911ms 05 2 3s194ms 1s597ms 06 2 3s721ms 1s860ms 07 2 3s749ms 1s874ms 08 2 3s109ms 1s554ms 09 1 1s943ms 1s943ms 10 3 4s433ms 1s477ms 11 4 6s306ms 1s576ms 12 4 5s706ms 1s426ms 14 6 10s260ms 1s710ms 15 5 9s275ms 1s855ms 16 3 4s397ms 1s465ms 17 5 8s160ms 1s632ms 18 4 6s246ms 1s561ms 19 4 5s702ms 1s425ms 20 3 5s600ms 1s866ms 21 2 3s173ms 1s586ms 22 3 4s967ms 1s655ms Mar 03 00 2 3s150ms 1s575ms 01 3 4s983ms 1s661ms 02 1 1s862ms 1s862ms 04 1 1s871ms 1s871ms 05 4 6s840ms 1s710ms 06 3 5s576ms 1s858ms 07 2 3s773ms 1s886ms 08 2 3s664ms 1s832ms 10 3 5s578ms 1s859ms 11 1 1s276ms 1s276ms 12 2 3s131ms 1s565ms 13 2 2s555ms 1s277ms 14 3 5s76ms 1s692ms 15 1 1s838ms 1s838ms 16 2 3s129ms 1s564ms 17 8 11s608ms 1s451ms 18 4 6s857ms 1s714ms 19 2 3s682ms 1s841ms 20 1 1s872ms 1s872ms 21 6 10s698ms 1s783ms 22 3 5s645ms 1s881ms Mar 04 23 1 1s300ms 1s300ms 00 2 3s664ms 1s832ms 05 1 1s855ms 1s855ms 06 5 8s902ms 1s780ms 07 1 1s877ms 1s877ms 08 2 3s739ms 1s869ms 09 3 5s647ms 1s882ms 10 1 1s323ms 1s323ms 11 1 1s843ms 1s843ms 12 1 1s284ms 1s284ms 13 1 1s336ms 1s336ms 14 1 1s884ms 1s884ms 15 1 1s273ms 1s273ms 16 2 3s112ms 1s556ms 17 1 1s902ms 1s902ms 19 2 4s8ms 2s4ms Mar 05 23 2 3s712ms 1s856ms 00 2 3s256ms 1s628ms 01 1 2s111ms 2s111ms 02 3 5s37ms 1s679ms 03 8 13s845ms 1s730ms 04 6 10s35ms 1s672ms 05 6 9s581ms 1s596ms 06 11 18s252ms 1s659ms 07 9 12s729ms 1s414ms 08 4 6s912ms 1s728ms 09 7 11s305ms 1s615ms 10 6 9s422ms 1s570ms 11 6 9s490ms 1s581ms 12 2 3s193ms 1s596ms 13 8 14s315ms 1s789ms 14 3 4s454ms 1s484ms 15 6 8s811ms 1s468ms 16 4 7s551ms 1s887ms 17 3 5s691ms 1s897ms 18 9 13s940ms 1s548ms 19 7 10s775ms 1s539ms 20 9 13s357ms 1s484ms 21 2 3s739ms 1s869ms 22 9 16s92ms 1s788ms Mar 06 23 5 6s999ms 1s399ms 00 9 15s769ms 1s752ms 01 8 13s806ms 1s725ms 02 7 12s643ms 1s806ms 03 12 20s240ms 1s686ms 04 9 14s744ms 1s638ms 05 4 8s43ms 2s10ms 06 7 11s347ms 1s621ms 07 5 7s683ms 1s536ms 08 8 12s692ms 1s586ms 09 3 5s33ms 1s677ms 11 1 1s272ms 1s272ms 12 5 7s690ms 1s538ms 13 3 5s593ms 1s864ms 14 5 8s273ms 1s654ms 15 6 10s982ms 1s830ms 16 2 3s170ms 1s585ms 17 9 14s940ms 1s660ms 18 5 8s798ms 1s759ms 19 9 13s890ms 1s543ms 20 8 11s392ms 1s424ms 21 4 6s288ms 1s572ms 22 3 4s413ms 1s471ms Mar 07 23 6 10s772ms 1s795ms 00 7 12s117ms 1s731ms 01 8 13s226ms 1s653ms 02 5 8s138ms 1s627ms 03 11 17s635ms 1s603ms 04 8 14s461ms 1s807ms 05 5 6s455ms 1s291ms 06 15 25s865ms 1s724ms 07 6 10s662ms 1s777ms 08 4 6s862ms 1s715ms 09 5 8s765ms 1s753ms 10 6 9s504ms 1s584ms 11 5 8s198ms 1s639ms 12 2 3s789ms 1s894ms 13 3 4s434ms 1s478ms 14 4 7s63ms 1s765ms 15 2 3s815ms 1s907ms 16 7 10s715ms 1s530ms 17 4 7s446ms 1s861ms 18 5 8s173ms 1s634ms 19 6 9s459ms 1s576ms 20 4 6s874ms 1s718ms 21 2 2s577ms 1s288ms 22 7 10s733ms 1s533ms Mar 08 23 9 13s347ms 1s483ms 00 3 4s424ms 1s474ms 01 4 6s443ms 1s610ms 02 7 10s214ms 1s459ms 03 7 12s505ms 1s786ms 04 6 10s65ms 1s677ms 05 6 9s40ms 1s506ms 06 5 7s590ms 1s518ms 07 4 6s302ms 1s575ms 08 1 1s878ms 1s878ms 09 5 7s644ms 1s528ms 10 4 5s844ms 1s461ms 11 5 7s603ms 1s520ms 12 5 8s154ms 1s630ms 13 5 8s778ms 1s755ms 14 11 17s737ms 1s612ms 15 2 3s147ms 1s573ms 16 7 10s957ms 1s565ms 17 6 8s962ms 1s493ms 18 4 5s812ms 1s453ms 19 11 17s96ms 1s554ms 20 3 5s646ms 1s882ms 21 7 10s939ms 1s562ms 22 4 5s825ms 1s456ms [ User: pubeu - Total duration: 4m29s - Times executed: 162 ]
-
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-03-02 05:53:34 Duration: 3s162ms 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 = '1405728') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-03-06 06:44:17 Duration: 2s335ms 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 = '1405728') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-03-05 23:01:36 Duration: 2s262ms Bind query: yes
9 561 1h2m26s 1s 34s197ms 6s678ms 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 Mar 02 23 3 27s669ms 9s223ms 00 2 34s203ms 17s101ms 01 4 43s909ms 10s977ms 02 5 39s929ms 7s985ms 04 2 13s525ms 6s762ms 05 1 7s869ms 7s869ms 06 1 1s544ms 1s544ms 07 3 25s667ms 8s555ms 08 1 22s161ms 22s161ms 10 1 21s345ms 21s345ms 11 2 33s872ms 16s936ms 12 2 40s553ms 20s276ms 14 7 15s10ms 2s144ms 15 6 14s555ms 2s425ms 16 4 18s629ms 4s657ms 17 6 39s515ms 6s585ms 18 3 31s895ms 10s631ms 19 1 3s613ms 3s613ms 20 5 53s116ms 10s623ms 21 2 2s355ms 1s177ms 22 5 29s828ms 5s965ms Mar 03 23 2 28s265ms 14s132ms 00 4 27s18ms 6s754ms 01 3 6s488ms 2s162ms 02 6 52s145ms 8s690ms 03 5 29s826ms 5s965ms 04 1 7s769ms 7s769ms 05 3 27s642ms 9s214ms 06 1 21s985ms 21s985ms 07 3 32s779ms 10s926ms 08 2 7s208ms 3s604ms 09 5 54s174ms 10s834ms 10 4 42s176ms 10s544ms 11 1 4s483ms 4s483ms 12 2 7s787ms 3s893ms 13 2 9s144ms 4s572ms 14 1 2s37ms 2s37ms 15 5 5s958ms 1s191ms 16 3 1m3s 21s181ms 17 5 53s650ms 10s730ms 18 2 32s629ms 16s314ms 20 4 16s184ms 4s46ms 21 3 5s540ms 1s846ms 22 5 1m13s 14s787ms Mar 04 23 7 1m25s 12s147ms 00 2 2s137ms 1s68ms 05 5 39s719ms 7s943ms 06 3 22s209ms 7s403ms 10 1 1s349ms 1s349ms 14 4 14s646ms 3s661ms 15 2 4s878ms 2s439ms 16 1 2s878ms 2s878ms 18 1 10s216ms 10s216ms 19 1 7s682ms 7s682ms 21 1 1s46ms 1s46ms 22 1 31s365ms 31s365ms Mar 05 23 2 10s332ms 5s166ms 00 1 1s383ms 1s383ms 01 2 11s677ms 5s838ms 02 4 8s755ms 2s188ms 03 5 44s457ms 8s891ms 04 9 44s714ms 4s968ms 05 6 1m38s 16s421ms 06 3 6s426ms 2s142ms 07 9 25s394ms 2s821ms 08 5 26s186ms 5s237ms 09 1 7s875ms 7s875ms 10 3 8s417ms 2s805ms 11 3 37s522ms 12s507ms 12 6 11s348ms 1s891ms 13 4 1m14s 18s553ms 14 6 1m19s 13s184ms 15 2 3s311ms 1s655ms 16 6 49s509ms 8s251ms 17 4 37s692ms 9s423ms 18 4 39s962ms 9s990ms 19 3 35s846ms 11s948ms 20 2 4s927ms 2s463ms 21 7 35s587ms 5s83ms 22 3 4s520ms 1s506ms Mar 06 23 5 46s614ms 9s322ms 00 8 18s606ms 2s325ms 01 5 39s782ms 7s956ms 02 6 23s950ms 3s991ms 03 4 37s302ms 9s325ms 04 6 16s532ms 2s755ms 05 8 1m 7s597ms 06 5 14s376ms 2s875ms 07 6 41s585ms 6s930ms 08 6 40s859ms 6s809ms 09 5 1m11s 14s383ms 10 6 19s932ms 3s322ms 12 3 4s330ms 1s443ms 13 2 4s571ms 2s285ms 14 2 5s198ms 2s599ms 15 4 43s440ms 10s860ms 16 4 1m12s 18s145ms 17 4 54s692ms 13s673ms 18 5 28s831ms 5s766ms 19 5 21s62ms 4s212ms 20 2 5s109ms 2s554ms 21 4 4s998ms 1s249ms 22 8 1m4s 8s51ms Mar 07 23 1 2s344ms 2s344ms 00 1 2s93ms 2s93ms 01 4 5s386ms 1s346ms 02 3 19s619ms 6s539ms 03 1 3s642ms 3s642ms 04 3 14s169ms 4s723ms 05 8 1m6s 8s281ms 06 9 1m28s 9s827ms 07 3 20s40ms 6s680ms 08 3 7s537ms 2s512ms 09 3 22s231ms 7s410ms 10 4 20s462ms 5s115ms 11 2 2s482ms 1s241ms 12 7 1m16s 10s871ms 13 3 6s312ms 2s104ms 14 4 16s499ms 4s124ms 15 3 4s905ms 1s635ms 16 4 6s180ms 1s545ms 17 2 2s531ms 1s265ms 18 4 38s33ms 9s508ms 19 5 17s997ms 3s599ms 20 1 1s836ms 1s836ms 21 4 9s151ms 2s287ms 22 1 2s47ms 2s47ms Mar 08 23 3 3s989ms 1s329ms 00 3 6s653ms 2s217ms 01 5 7s405ms 1s481ms 02 3 3s607ms 1s202ms 03 5 28s384ms 5s676ms 04 3 44s55ms 14s685ms 05 4 15s58ms 3s764ms 06 2 2s90ms 1s45ms 07 7 46s325ms 6s617ms 08 3 6s340ms 2s113ms 09 10 57s391ms 5s739ms 10 11 1m27s 7s971ms 11 2 4s542ms 2s271ms 12 5 56s237ms 11s247ms 13 3 6s330ms 2s110ms 14 4 8s453ms 2s113ms 15 5 14s824ms 2s964ms 16 2 13s280ms 6s640ms 17 3 10s890ms 3s630ms 18 2 8s162ms 4s81ms 19 3 5s854ms 1s951ms 20 4 30s815ms 7s703ms 21 1 1s181ms 1s181ms 22 5 15s394ms 3s78ms [ User: pubeu - Total duration: 13m30s - Times executed: 117 ]
[ User: qaeu - Total duration: 1s418ms - Times executed: 1 ]
-
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 = '1228421') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-03-08 11:22:42 Duration: 34s197ms 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 = '1228421') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-03-08 05:37:31 Duration: 33s140ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1228421') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-03-05 06:54:30 Duration: 32s640ms Database: ctdprd51 User: pubeu Bind query: yes
10 557 12m44s 1s183ms 1s969ms 1s373ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or receptorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 02 23 8 10s868ms 1s358ms 00 5 6s335ms 1s267ms 01 4 5s609ms 1s402ms 02 3 4s90ms 1s363ms 03 7 10s53ms 1s436ms 04 5 7s50ms 1s410ms 05 5 6s615ms 1s323ms 07 11 15s498ms 1s408ms 08 1 1s380ms 1s380ms 09 4 5s246ms 1s311ms 10 6 8s72ms 1s345ms 11 7 9s657ms 1s379ms 12 3 3s954ms 1s318ms 13 6 8s281ms 1s380ms 14 20 28s59ms 1s402ms 15 12 15s932ms 1s327ms 16 2 2s495ms 1s247ms 17 4 5s254ms 1s313ms 18 3 3s691ms 1s230ms 19 5 6s692ms 1s338ms 20 5 6s909ms 1s381ms 21 4 5s404ms 1s351ms 22 4 5s526ms 1s381ms Mar 03 23 1 1s652ms 1s652ms 00 6 8s27ms 1s337ms 01 2 2s814ms 1s407ms 02 5 6s744ms 1s348ms 03 2 2s845ms 1s422ms 04 6 8s98ms 1s349ms 05 4 5s138ms 1s284ms 06 6 8s416ms 1s402ms 07 3 3s830ms 1s276ms 08 3 3s893ms 1s297ms 09 2 2s626ms 1s313ms 10 2 2s745ms 1s372ms 11 1 1s405ms 1s405ms 13 2 3s19ms 1s509ms 14 2 2s939ms 1s469ms 15 3 4s62ms 1s354ms 16 3 4s139ms 1s379ms 17 6 8s8ms 1s334ms 19 2 2s822ms 1s411ms 20 5 7s232ms 1s446ms 21 6 8s839ms 1s473ms 22 5 6s924ms 1s384ms Mar 04 23 1 1s512ms 1s512ms 00 4 5s485ms 1s371ms 04 6 8s529ms 1s421ms 05 4 5s392ms 1s348ms 06 1 1s357ms 1s357ms 07 2 2s958ms 1s479ms 08 3 4s117ms 1s372ms 09 1 1s531ms 1s531ms 10 1 1s491ms 1s491ms 11 1 1s382ms 1s382ms 12 2 2s693ms 1s346ms 13 6 8s219ms 1s369ms 14 2 2s693ms 1s346ms 15 1 1s403ms 1s403ms 16 1 1s299ms 1s299ms 17 4 5s497ms 1s374ms 18 2 2s660ms 1s330ms 20 1 1s445ms 1s445ms 21 2 2s851ms 1s425ms 22 1 1s261ms 1s261ms Mar 05 23 1 1s400ms 1s400ms 00 7 9s696ms 1s385ms 01 4 5s892ms 1s473ms 02 5 6s576ms 1s315ms 03 6 7s999ms 1s333ms 04 4 5s672ms 1s418ms 05 4 5s481ms 1s370ms 06 5 6s629ms 1s325ms 07 3 3s811ms 1s270ms 08 4 5s421ms 1s355ms 09 3 3s987ms 1s329ms 10 3 4s96ms 1s365ms 11 1 1s382ms 1s382ms 12 1 1s285ms 1s285ms 13 2 2s694ms 1s347ms 14 4 5s469ms 1s367ms 15 3 4s91ms 1s363ms 16 1 1s357ms 1s357ms 17 5 7s261ms 1s452ms 18 4 5s419ms 1s354ms 19 5 6s631ms 1s326ms 20 3 4s130ms 1s376ms 21 3 4s107ms 1s369ms 22 4 5s360ms 1s340ms Mar 06 23 6 8s8ms 1s334ms 00 3 3s822ms 1s274ms 01 4 5s407ms 1s351ms 02 2 2s761ms 1s380ms 03 8 10s847ms 1s355ms 04 4 5s685ms 1s421ms 05 1 1s312ms 1s312ms 06 6 8s680ms 1s446ms 07 1 1s346ms 1s346ms 08 3 3s811ms 1s270ms 09 2 2s641ms 1s320ms 10 1 1s277ms 1s277ms 11 3 4s46ms 1s348ms 12 3 4s243ms 1s414ms 13 3 4s275ms 1s425ms 14 1 1s336ms 1s336ms 15 2 2s584ms 1s292ms 16 4 5s384ms 1s346ms 17 3 4s72ms 1s357ms 18 2 2s694ms 1s347ms 19 1 1s408ms 1s408ms 20 3 4s95ms 1s365ms 21 1 1s341ms 1s341ms 22 3 4s334ms 1s444ms Mar 07 23 2 2s550ms 1s275ms 00 3 4s197ms 1s399ms 01 1 1s380ms 1s380ms 03 3 4s125ms 1s375ms 04 3 4s394ms 1s464ms 05 1 1s390ms 1s390ms 06 1 1s269ms 1s269ms 07 1 1s354ms 1s354ms 08 2 2s689ms 1s344ms 09 2 2s853ms 1s426ms 10 11 15s103ms 1s373ms 11 9 12s739ms 1s415ms 13 11 15s392ms 1s399ms 14 14 19s919ms 1s422ms 15 2 2s820ms 1s410ms 16 1 1s414ms 1s414ms 17 3 3s897ms 1s299ms 18 2 2s708ms 1s354ms 19 1 1s421ms 1s421ms 20 5 6s738ms 1s347ms 21 1 1s332ms 1s332ms 22 1 1s398ms 1s398ms Mar 08 23 2 2s766ms 1s383ms 00 2 2s877ms 1s438ms 01 2 2s678ms 1s339ms 02 3 4s147ms 1s382ms 03 7 9s971ms 1s424ms 04 4 5s822ms 1s455ms 05 2 2s680ms 1s340ms 06 4 5s456ms 1s364ms 07 5 6s728ms 1s345ms 08 4 5s435ms 1s358ms 09 3 3s975ms 1s325ms 10 3 3s959ms 1s319ms 11 3 3s924ms 1s308ms 12 2 2s856ms 1s428ms 13 3 3s959ms 1s319ms 14 1 1s245ms 1s245ms 15 3 3s983ms 1s327ms 17 2 3s47ms 1s523ms 19 3 4s329ms 1s443ms 20 3 4s163ms 1s387ms 21 2 2s883ms 1s441ms 22 2 2s831ms 1s415ms [ User: pubeu - Total duration: 3m35s - Times executed: 156 ]
-
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 = '2093969') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2093969') 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-03-02 15:21:33 Duration: 1s969ms 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 = '2088685') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2088685') 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-03-05 18:54:10 Duration: 1s800ms 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 = '2091785') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2091785') 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-03-02 08:32:48 Duration: 1s793ms Database: ctdprd51 User: pubeu Bind query: yes
11 525 36m44s 1s 8s334ms 4s199ms select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Mar 02 23 4 20s469ms 5s117ms 00 4 21s944ms 5s486ms 01 3 14s884ms 4s961ms 02 3 11s407ms 3s802ms 03 1 1s21ms 1s21ms 04 5 21s94ms 4s218ms 05 4 12s58ms 3s14ms 06 2 9s832ms 4s916ms 07 2 11s168ms 5s584ms 08 1 4s870ms 4s870ms 09 4 16s449ms 4s112ms 10 4 16s396ms 4s99ms 11 4 20s491ms 5s122ms 12 2 10s242ms 5s121ms 13 4 15s932ms 3s983ms 14 5 25s222ms 5s44ms 15 4 16s288ms 4s72ms 16 3 14s161ms 4s720ms 17 4 16s373ms 4s93ms 18 4 16s478ms 4s119ms 19 9 32s688ms 3s632ms 20 3 15s972ms 5s324ms 21 6 30s513ms 5s85ms 22 2 11s557ms 5s778ms Mar 03 23 5 25s494ms 5s98ms 00 2 9s920ms 4s960ms 01 2 10s793ms 5s396ms 02 2 10s385ms 5s192ms 03 1 4s587ms 4s587ms 04 6 29s435ms 4s905ms 05 3 11s285ms 3s761ms 06 6 23s251ms 3s875ms 07 3 15s447ms 5s149ms 08 4 20s47ms 5s11ms 10 3 10s592ms 3s530ms 11 2 6s33ms 3s16ms 12 3 13s894ms 4s631ms 13 3 17s744ms 5s914ms 14 2 6s465ms 3s232ms 15 5 15s27ms 3s5ms 16 4 13s459ms 3s364ms 17 3 12s183ms 4s61ms 18 3 7s947ms 2s649ms 19 9 52s504ms 5s833ms 21 2 11s344ms 5s672ms 22 2 7s267ms 3s633ms Mar 04 23 5 15s494ms 3s98ms 00 5 29s50ms 5s810ms 04 2 6s541ms 3s270ms 05 2 6s841ms 3s420ms 07 2 12s23ms 6s11ms 08 1 6s18ms 6s18ms 09 4 18s100ms 4s525ms 10 2 6s842ms 3s421ms 11 4 22s970ms 5s742ms 12 1 5s405ms 5s405ms 13 2 7s165ms 3s582ms 14 1 5s371ms 5s371ms 15 1 1s84ms 1s84ms 16 1 5s443ms 5s443ms 18 3 8s331ms 2s777ms 19 11 48s261ms 4s387ms 20 1 6s543ms 6s543ms 21 1 5s449ms 5s449ms Mar 05 23 2 11s84ms 5s542ms 00 2 12s32ms 6s16ms 01 4 15s333ms 3s833ms 02 7 35s138ms 5s19ms 03 2 6s230ms 3s115ms 04 7 34s546ms 4s935ms 05 1 5s558ms 5s558ms 06 7 25s201ms 3s600ms 07 5 15s431ms 3s86ms 08 5 27s982ms 5s596ms 10 2 6s135ms 3s67ms 11 5 18s26ms 3s605ms 13 1 6s267ms 6s267ms 14 2 6s195ms 3s97ms 15 4 9s696ms 2s424ms 16 3 16s333ms 5s444ms 17 3 10s220ms 3s406ms 18 1 5s69ms 5s69ms 19 4 4s374ms 1s93ms 20 3 7s336ms 2s445ms 21 1 1s96ms 1s96ms 22 4 9s227ms 2s306ms Mar 06 23 1 5s629ms 5s629ms 00 8 39s90ms 4s886ms 01 6 30s109ms 5s18ms 02 4 18s186ms 4s546ms 03 1 1s139ms 1s139ms 04 3 13s481ms 4s493ms 05 6 20s976ms 3s496ms 06 6 23s977ms 3s996ms 07 4 18s619ms 4s654ms 08 4 12s353ms 3s88ms 09 1 5s863ms 5s863ms 10 7 24s449ms 3s492ms 12 1 4s974ms 4s974ms 13 6 31s438ms 5s239ms 14 5 25s73ms 5s14ms 15 3 12s870ms 4s290ms 16 2 2s232ms 1s116ms 18 2 6s950ms 3s475ms 19 4 13s890ms 3s472ms 20 2 7s30ms 3s515ms 21 4 19s694ms 4s923ms 22 3 17s280ms 5s760ms Mar 07 23 5 18s786ms 3s757ms 00 9 28s786ms 3s198ms 01 1 1s161ms 1s161ms 02 4 14s127ms 3s531ms 03 3 12s673ms 4s224ms 04 2 7s34ms 3s517ms 05 1 5s628ms 5s628ms 06 9 46s808ms 5s200ms 07 1 5s522ms 5s522ms 08 4 23s835ms 5s958ms 09 1 1s162ms 1s162ms 10 5 16s353ms 3s270ms 11 7 37s197ms 5s313ms 12 3 12s753ms 4s251ms 13 3 12s183ms 4s61ms 14 1 5s699ms 5s699ms 15 1 1s97ms 1s97ms 16 1 1s95ms 1s95ms 17 5 18s647ms 3s729ms 18 7 26s142ms 3s734ms 19 7 26s807ms 3s829ms 21 3 11s943ms 3s981ms 22 6 19s983ms 3s330ms Mar 08 23 4 13s123ms 3s280ms 00 7 27s129ms 3s875ms 01 4 18s325ms 4s581ms 02 3 8s435ms 2s811ms 03 2 7s316ms 3s658ms 04 5 20s203ms 4s40ms 05 3 12s995ms 4s331ms 06 4 14s52ms 3s513ms 07 2 12s1ms 6s 08 1 1s108ms 1s108ms 09 1 5s888ms 5s888ms 10 2 6s972ms 3s486ms 11 4 13s157ms 3s289ms 12 5 19s238ms 3s847ms 13 1 1s69ms 1s69ms 15 2 11s169ms 5s584ms 16 2 6s802ms 3s401ms 18 2 2s187ms 1s93ms 19 1 5s914ms 5s914ms 20 3 16s990ms 5s663ms 21 1 1s78ms 1s78ms 22 8 40s735ms 5s91ms [ User: pubeu - Total duration: 8m38s - Times executed: 127 ]
-
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 = '1285677' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-03-07 12:35:36 Duration: 8s334ms 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 = '1271284' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-03-05 18:29:14 Duration: 8s9ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1404495' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-03-02 15:04:03 Duration: 7s141ms Bind query: yes
12 493 21m51s 1s10ms 6s215ms 2s660ms 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 Mar 02 23 1 5s960ms 5s960ms 02 2 11s721ms 5s860ms 03 1 2s85ms 2s85ms 04 2 3s192ms 1s596ms 05 2 3s450ms 1s725ms 06 1 2s210ms 2s210ms 07 3 4s747ms 1s582ms 08 1 1s96ms 1s96ms 10 3 10s471ms 3s490ms 11 2 3s729ms 1s864ms 13 2 3s543ms 1s771ms 14 5 10s162ms 2s32ms 15 4 6s92ms 1s523ms 16 2 7s374ms 3s687ms 17 2 3s834ms 1s917ms 18 1 5s866ms 5s866ms 19 1 1s195ms 1s195ms 20 1 2s92ms 2s92ms 21 1 5s743ms 5s743ms 22 2 4s189ms 2s94ms Mar 03 23 1 2s5ms 2s5ms 00 5 6s948ms 1s389ms 01 2 3s927ms 1s963ms 02 3 5s270ms 1s756ms 03 2 4s365ms 2s182ms 04 1 2s159ms 2s159ms 05 1 2s63ms 2s63ms 06 3 9s463ms 3s154ms 07 3 4s367ms 1s455ms 09 3 5s811ms 1s937ms 10 2 3s484ms 1s742ms 11 4 8s878ms 2s219ms 12 1 2s245ms 2s245ms 14 2 3s424ms 1s712ms 16 1 1s285ms 1s285ms 17 6 15s267ms 2s544ms 19 1 5s806ms 5s806ms 20 1 5s850ms 5s850ms 21 2 3s896ms 1s948ms 22 1 1s276ms 1s276ms Mar 04 23 1 5s785ms 5s785ms 00 1 2s106ms 2s106ms 04 5 12s614ms 2s522ms 05 2 4s14ms 2s7ms 06 1 5s910ms 5s910ms 09 2 7s182ms 3s591ms 13 2 3s133ms 1s566ms 14 1 2s643ms 2s643ms 15 2 5s368ms 2s684ms 16 1 2s380ms 2s380ms 17 3 6s609ms 2s203ms 18 4 12s861ms 3s215ms 22 1 1s624ms 1s624ms Mar 05 23 2 7s939ms 3s969ms 01 1 2s33ms 2s33ms 02 6 23s625ms 3s937ms 03 4 9s327ms 2s331ms 04 6 12s664ms 2s110ms 05 6 14s354ms 2s392ms 06 2 8s168ms 4s84ms 07 6 16s997ms 2s832ms 08 5 12s930ms 2s586ms 09 4 13s175ms 3s293ms 10 3 10s143ms 3s381ms 11 2 5s485ms 2s742ms 12 1 2s154ms 2s154ms 13 2 5s92ms 2s546ms 14 3 6s161ms 2s53ms 15 7 22s224ms 3s174ms 17 7 17s560ms 2s508ms 18 1 2s713ms 2s713ms 19 5 13s734ms 2s746ms 20 4 12s50ms 3s12ms 21 5 11s749ms 2s349ms 22 4 10s289ms 2s572ms Mar 06 23 2 11s676ms 5s838ms 00 6 13s803ms 2s300ms 01 3 6s131ms 2s43ms 02 4 8s393ms 2s98ms 03 7 22s398ms 3s199ms 04 5 13s60ms 2s612ms 05 4 8s578ms 2s144ms 06 6 15s519ms 2s586ms 07 7 16s529ms 2s361ms 08 7 19s889ms 2s841ms 09 7 19s531ms 2s790ms 10 3 6s468ms 2s156ms 11 3 8s40ms 2s680ms 12 4 7s619ms 1s904ms 13 5 16s968ms 3s393ms 14 5 10s720ms 2s144ms 15 2 5s329ms 2s664ms 16 5 10s904ms 2s180ms 17 4 9s834ms 2s458ms 18 7 22s865ms 3s266ms 19 3 9s606ms 3s202ms 20 3 4s603ms 1s534ms 21 6 16s914ms 2s819ms 22 3 6s530ms 2s176ms Mar 07 23 4 8s451ms 2s112ms 00 5 11s8ms 2s201ms 01 3 11s997ms 3s999ms 02 7 17s845ms 2s549ms 03 5 9s867ms 1s973ms 04 4 14s311ms 3s577ms 05 6 14s208ms 2s368ms 06 1 3s343ms 3s343ms 07 3 5s672ms 1s890ms 08 2 7s458ms 3s729ms 09 3 6s725ms 2s241ms 10 7 15s360ms 2s194ms 11 3 10s787ms 3s595ms 12 5 12s539ms 2s507ms 13 3 7s575ms 2s525ms 14 1 4s89ms 4s89ms 15 6 17s77ms 2s846ms 16 2 4s143ms 2s71ms 17 1 2s710ms 2s710ms 18 2 5s329ms 2s664ms 19 6 15s149ms 2s524ms 20 5 16s205ms 3s241ms 21 2 4s749ms 2s374ms 22 2 6s46ms 3s23ms Mar 08 23 4 8s886ms 2s221ms 00 2 5s28ms 2s514ms 01 7 22s13ms 3s144ms 02 4 8s617ms 2s154ms 03 5 13s680ms 2s736ms 04 3 9s708ms 3s236ms 05 8 20s767ms 2s595ms 06 3 7s64ms 2s354ms 07 3 14s553ms 4s851ms 08 3 8s87ms 2s695ms 09 5 15s590ms 3s118ms 10 7 17s431ms 2s490ms 12 6 20s653ms 3s442ms 13 2 7s813ms 3s906ms 14 3 9s993ms 3s331ms 15 4 9s248ms 2s312ms 16 4 9s796ms 2s449ms 17 4 11s836ms 2s959ms 18 3 11s355ms 3s785ms 19 6 13s914ms 2s319ms 20 4 14s478ms 3s619ms 21 3 6s73ms 2s24ms 22 5 10s911ms 2s182ms [ User: pubeu - Total duration: 5m16s - Times executed: 119 ]
-
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 = '658110' 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 = '658110') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-03-05 03:36:39 Duration: 6s215ms 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 = '658110' 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 = '658110') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-03-08 10:32:52 Duration: 6s214ms 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 = '658110' 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 = '658110') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-03-04 05:36:51 Duration: 6s149ms Database: ctdprd51 User: pubeu Bind query: yes
13 475 16h52m7s 1s417ms 21m29s 2m7s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Mar 02 23 5 31m38s 6m19s 00 1 2s402ms 2s402ms 01 2 3s941ms 1s970ms 02 2 3m17s 1m38s 03 4 4m28s 1m7s 04 1 2s51ms 2s51ms 05 2 3s197ms 1s598ms 06 1 2m8s 2m8s 07 3 1m41s 33s761ms 08 2 3m47s 1m53s 09 3 1m49s 36s634ms 12 1 20m31s 20m31s 13 2 4s131ms 2s65ms 14 4 6m12s 1m33s 15 3 7m11s 2m23s 16 2 18m8s 9m4s 17 2 4s863ms 2s431ms 18 2 17m49s 8m54s 19 1 2s29ms 2s29ms 20 2 4m49s 2m24s 21 1 17m45s 17m45s 22 1 1s888ms 1s888ms Mar 03 23 2 10m6s 5m3s 00 1 1s646ms 1s646ms 01 2 5s279ms 2s639ms 02 1 1s417ms 1s417ms 03 4 3m10s 47s746ms 04 1 4m38s 4m38s 05 2 5m11s 2m35s 06 1 3s290ms 3s290ms 07 5 59m18s 11m51s 08 4 21m27s 5m21s 09 1 2s348ms 2s348ms 10 3 17m41s 5m53s 11 1 4m26s 4m26s 12 2 5m42s 2m51s 13 3 28m38s 9m32s 15 4 5m55s 1m28s 16 5 17m7s 3m25s 17 2 3s197ms 1s598ms 19 2 1m53s 56s820ms 21 5 10m18s 2m3s 22 7 10m5s 1m26s Mar 04 23 1 2s452ms 2s452ms 00 3 6s773ms 2s257ms 04 1 18m13s 18m13s 05 3 4m30s 1m30s 06 1 17m51s 17m51s 07 3 6m54s 2m18s 08 2 7m12s 3m36s 09 2 3s501ms 1s750ms 10 1 1s790ms 1s790ms 17 1 3s320ms 3s320ms 19 1 2s491ms 2s491ms 20 2 18m12s 9m6s Mar 05 23 1 3m29s 3m29s 00 1 11m31s 11m31s 01 1 18m9s 18m9s 02 1 2m8s 2m8s 03 7 3m43s 31s977ms 04 2 2s981ms 1s490ms 05 1 1m41s 1m41s 06 3 8m9s 2m43s 07 2 5s161ms 2s580ms 08 4 2m15s 33s920ms 09 2 4s459ms 2s229ms 10 2 3s678ms 1s839ms 11 4 1m46s 26s559ms 12 2 5m56s 2m58s 13 1 2s486ms 2s486ms 14 4 7m27s 1m51s 15 5 22m45s 4m33s 16 2 48s120ms 24s60ms 17 3 6m31s 2m10s 18 2 19m58s 9m59s 19 5 6m28s 1m17s 20 3 3m39s 1m13s 21 5 11m28s 2m17s 22 3 7m32s 2m30s Mar 06 23 2 4s414ms 2s207ms 00 4 5m16s 1m19s 01 6 8m16s 1m22s 02 5 24m9s 4m49s 03 5 4m57s 59s416ms 04 4 6m8s 1m32s 05 5 18m 3m36s 06 4 2m20s 35s167ms 07 4 3m38s 54s716ms 08 4 4m50s 1m12s 09 4 4m44s 1m11s 10 1 2s57ms 2s57ms 11 4 3m40s 55s102ms 12 1 1s800ms 1s800ms 14 4 7m33s 1m53s 15 6 5m11s 51s949ms 16 2 5s437ms 2s718ms 17 5 2m7s 25s504ms 18 6 8m39s 1m26s 19 4 20m56s 5m14s 20 1 1s844ms 1s844ms 21 4 11s379ms 2s844ms 22 4 5m8s 1m17s Mar 07 23 2 3s840ms 1s920ms 00 2 3s884ms 1s942ms 01 3 5s127ms 1s709ms 02 1 1s798ms 1s798ms 03 3 2m40s 53s487ms 04 6 16m31s 2m45s 05 7 10m41s 1m31s 06 5 8m59s 1m47s 07 7 4m33s 39s20ms 08 4 10s337ms 2s584ms 09 7 4m20s 37s165ms 10 5 11s502ms 2s300ms 11 4 8m50s 2m12s 12 6 13m48s 2m18s 13 3 5m33s 1m51s 14 5 11m33s 2m18s 15 5 9s137ms 1s827ms 16 5 9s84ms 1s816ms 17 4 21m26s 5m21s 18 4 4m28s 1m7s 19 6 12s146ms 2s24ms 20 2 5m20s 2m40s 21 6 4m37s 46s217ms 22 2 5m56s 2m58s Mar 08 23 3 4m12s 1m24s 01 6 7m48s 1m18s 02 4 6s836ms 1s709ms 03 6 28m18s 4m43s 04 4 12m19s 3m4s 05 4 13m35s 3m23s 06 1 1s722ms 1s722ms 08 4 6s596ms 1s649ms 09 2 5s149ms 2s574ms 10 6 13s704ms 2s284ms 11 6 9m42s 1m37s 12 4 21m34s 5m23s 13 4 11m40s 2m55s 14 6 5m19s 53s215ms 15 2 5m2s 2m31s 16 2 4m51s 2m25s 17 4 13m55s 3m28s 18 3 5m44s 1m54s 19 3 11m37s 3m52s 20 8 7m13s 54s187ms 21 3 3m50s 1m16s 22 5 11m19s 2m15s [ User: pubeu - Total duration: 3h1m14s - Times executed: 117 ]
-
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 = '1252233') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-03-03 14:06:07 Duration: 21m29s 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-03-02 00:39:03 Duration: 20m38s 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 = '1252233') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-03-06 03:42:51 Duration: 20m31s Bind query: yes
14 381 36m50s 1s 18s40ms 5s801ms 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 #14
Day Hour Count Duration Avg duration Mar 02 23 3 8s139ms 2s713ms 00 1 5s987ms 5s987ms 01 1 1s80ms 1s80ms 02 4 27s584ms 6s896ms 03 1 16s294ms 16s294ms 04 2 2s470ms 1s235ms 05 1 1s72ms 1s72ms 07 2 2s794ms 1s397ms 09 3 29s98ms 9s699ms 10 1 1s114ms 1s114ms 13 2 17s18ms 8s509ms 14 4 4s446ms 1s111ms 15 1 3s615ms 3s615ms 17 1 1s11ms 1s11ms 18 2 7s52ms 3s526ms 19 4 25s976ms 6s494ms 20 1 1s31ms 1s31ms 21 1 1s34ms 1s34ms 22 1 16s210ms 16s210ms Mar 03 23 1 1s83ms 1s83ms 01 2 32s412ms 16s206ms 03 1 1s295ms 1s295ms 04 1 16s607ms 16s607ms 05 3 20s840ms 6s946ms 07 2 3s423ms 1s711ms 10 3 48s282ms 16s94ms 11 1 1s372ms 1s372ms 12 4 35s354ms 8s838ms 13 1 16s167ms 16s167ms 14 3 20s862ms 6s954ms 15 3 34s305ms 11s435ms 16 4 11s195ms 2s798ms 17 2 2s113ms 1s56ms 18 3 25s817ms 8s605ms 19 2 12s261ms 6s130ms 20 1 17s135ms 17s135ms 21 4 26s941ms 6s735ms 22 1 1s302ms 1s302ms Mar 04 23 1 16s462ms 16s462ms 00 2 27s208ms 13s604ms 04 1 1s89ms 1s89ms 05 1 1s58ms 1s58ms 06 4 25s458ms 6s364ms 07 2 20s907ms 10s453ms 09 1 4s28ms 4s28ms 11 2 2s499ms 1s249ms 12 1 1s20ms 1s20ms 13 1 4s517ms 4s517ms 16 2 3s663ms 1s831ms 19 1 1s646ms 1s646ms 21 2 17s346ms 8s673ms 22 1 1s45ms 1s45ms Mar 05 23 2 18s245ms 9s122ms 00 1 3s964ms 3s964ms 01 1 1s667ms 1s667ms 02 4 25s169ms 6s292ms 03 7 38s848ms 5s549ms 04 2 12s818ms 6s409ms 05 5 42s663ms 8s532ms 06 2 5s102ms 2s551ms 07 3 4s728ms 1s576ms 08 1 1s217ms 1s217ms 09 3 22s149ms 7s383ms 10 2 18s450ms 9s225ms 11 3 27s355ms 9s118ms 12 2 21s164ms 10s582ms 13 3 17s684ms 5s894ms 14 2 2s484ms 1s242ms 15 5 13s765ms 2s753ms 16 4 33s97ms 8s274ms 18 4 10s482ms 2s620ms 19 3 11s623ms 3s874ms 20 1 1s602ms 1s602ms 21 2 9s88ms 4s544ms 22 2 12s172ms 6s86ms Mar 06 23 2 23s330ms 11s665ms 00 3 5s148ms 1s716ms 01 7 14s41ms 2s5ms 02 4 16s435ms 4s108ms 03 4 17s155ms 4s288ms 04 5 20s541ms 4s108ms 05 1 2s220ms 2s220ms 06 5 44s227ms 8s845ms 07 2 18s909ms 9s454ms 08 5 18s248ms 3s649ms 09 7 17s641ms 2s520ms 10 1 2s248ms 2s248ms 11 2 11s949ms 5s974ms 12 3 13s328ms 4s442ms 13 4 30s723ms 7s680ms 14 5 28s200ms 5s640ms 15 4 34s451ms 8s612ms 16 2 19s239ms 9s619ms 17 2 2s578ms 1s289ms 18 3 24s723ms 8s241ms 19 3 31s625ms 10s541ms 20 1 16s20ms 16s20ms 22 2 14s627ms 7s313ms Mar 07 23 1 16s658ms 16s658ms 00 4 36s924ms 9s231ms 01 3 13s738ms 4s579ms 02 2 10s461ms 5s230ms 03 8 49s796ms 6s224ms 04 3 24s928ms 8s309ms 05 1 1s137ms 1s137ms 06 1 2s350ms 2s350ms 07 2 8s536ms 4s268ms 09 3 26s301ms 8s767ms 10 3 21s150ms 7s50ms 11 1 6s36ms 6s36ms 12 2 6s583ms 3s291ms 13 2 14s920ms 7s460ms 15 5 10s642ms 2s128ms 16 6 27s482ms 4s580ms 17 5 42s89ms 8s417ms 18 2 12s37ms 6s18ms 19 4 8s96ms 2s24ms 20 2 3s378ms 1s689ms 21 3 3s944ms 1s314ms 22 4 8s5ms 2s1ms Mar 08 23 3 18s788ms 6s262ms 00 3 21s624ms 7s208ms 01 6 22s545ms 3s757ms 02 2 6s932ms 3s466ms 03 2 13s244ms 6s622ms 04 1 5s591ms 5s591ms 05 6 48s359ms 8s59ms 06 7 51s549ms 7s364ms 07 2 2s512ms 1s256ms 08 1 1s113ms 1s113ms 09 4 23s457ms 5s864ms 10 2 7s452ms 3s726ms 11 2 32s652ms 16s326ms 12 7 32s489ms 4s641ms 13 1 2s547ms 2s547ms 14 3 14s917ms 4s972ms 15 3 19s534ms 6s511ms 16 3 22s471ms 7s490ms 17 1 5s988ms 5s988ms 18 4 30s887ms 7s721ms 19 5 28s291ms 5s658ms 20 3 16s71ms 5s357ms 21 1 12s59ms 12s59ms 22 1 1s222ms 1s222ms [ User: pubeu - Total duration: 7m15s - Times executed: 71 ]
[ User: qaeu - Total duration: 1s625ms - Times executed: 1 ]
-
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 = '1228421'))) 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-03-08 20:32:41 Duration: 18s40ms 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 = '1228421'))) 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-03-08 06:33:41 Duration: 17s764ms 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 = '1228421'))) 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-03-06 00:56:37 Duration: 17s439ms Bind query: yes
15 367 25m16s 3s851ms 8s398ms 4s130ms select coalesce(st.alt_nm, t.nm) slimtermnm, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.curated_reference_qty > ?) curatedcount, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.indirect_gene_qty > ?) inferredcount from slim_term st inner join term t on st.slim_term_id = t.id where st.slim_id = ? order by ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Mar 02 23 2 8s344ms 4s172ms 01 2 8s467ms 4s233ms 02 5 20s28ms 4s5ms 03 6 24s202ms 4s33ms 04 2 8s113ms 4s56ms 05 1 4s167ms 4s167ms 10 4 16s357ms 4s89ms 12 3 11s846ms 3s948ms 14 3 12s259ms 4s86ms 15 9 37s100ms 4s122ms 16 2 7s935ms 3s967ms 18 1 4s43ms 4s43ms 19 1 3s851ms 3s851ms 21 1 4s147ms 4s147ms 22 1 4s71ms 4s71ms Mar 03 23 2 8s208ms 4s104ms 00 2 8s77ms 4s38ms 01 4 16s535ms 4s133ms 02 6 24s163ms 4s27ms 04 9 36s811ms 4s90ms 05 8 33s8ms 4s126ms 07 2 8s276ms 4s138ms 08 9 36s892ms 4s99ms 09 4 16s491ms 4s122ms 10 11 44s172ms 4s15ms 11 1 3s890ms 3s890ms 12 3 12s711ms 4s237ms 13 4 16s251ms 4s62ms 14 3 11s881ms 3s960ms 15 1 4s37ms 4s37ms 17 1 4s53ms 4s53ms 19 4 16s57ms 4s14ms 20 1 4s209ms 4s209ms 21 2 8s114ms 4s57ms Mar 04 23 1 4s45ms 4s45ms 00 2 8s193ms 4s96ms 04 1 3s919ms 3s919ms 05 2 7s877ms 3s938ms 08 1 4s169ms 4s169ms 10 3 12s817ms 4s272ms 11 2 8s227ms 4s113ms 12 5 20s308ms 4s61ms 13 1 3s987ms 3s987ms 15 1 4s240ms 4s240ms 17 3 12s649ms 4s216ms 19 7 28s90ms 4s12ms 21 2 8s25ms 4s12ms 22 5 20s775ms 4s155ms Mar 05 23 1 4s166ms 4s166ms 00 1 3s929ms 3s929ms 01 1 4s302ms 4s302ms 02 6 24s745ms 4s124ms 04 8 32s491ms 4s61ms 05 1 4s179ms 4s179ms 06 2 8s223ms 4s111ms 08 7 28s141ms 4s20ms 09 3 12s402ms 4s134ms 10 7 30s216ms 4s316ms 11 2 8s239ms 4s119ms 12 8 32s345ms 4s43ms 14 2 8s226ms 4s113ms 15 1 4s73ms 4s73ms 17 4 16s492ms 4s123ms 18 1 4s29ms 4s29ms 19 2 8s129ms 4s64ms 21 1 4s234ms 4s234ms 22 3 13s62ms 4s354ms Mar 06 01 1 4s449ms 4s449ms 02 3 12s550ms 4s183ms 03 4 16s642ms 4s160ms 04 22 1m29s 4s66ms 05 2 8s196ms 4s98ms 06 3 12s208ms 4s69ms 07 2 8s159ms 4s79ms 08 2 8s387ms 4s193ms 09 6 25s480ms 4s246ms 10 1 4s169ms 4s169ms 11 2 8s307ms 4s153ms 12 3 12s357ms 4s119ms 13 1 4s430ms 4s430ms 14 4 16s658ms 4s164ms 15 2 8s692ms 4s346ms 16 3 12s257ms 4s85ms 18 1 4s108ms 4s108ms 19 1 4s267ms 4s267ms 20 3 12s312ms 4s104ms 21 1 4s290ms 4s290ms 22 2 8s105ms 4s52ms Mar 07 23 1 4s347ms 4s347ms 00 2 8s261ms 4s130ms 01 3 12s329ms 4s109ms 03 1 4s222ms 4s222ms 04 1 4s262ms 4s262ms 05 2 8s14ms 4s7ms 07 3 12s162ms 4s54ms 08 2 8s254ms 4s127ms 09 2 8s375ms 4s187ms 10 12 49s750ms 4s145ms 11 7 37s175ms 5s310ms 13 4 16s612ms 4s153ms 15 1 4s104ms 4s104ms 16 2 7s978ms 3s989ms 17 1 4s123ms 4s123ms 21 1 4s389ms 4s389ms 22 2 7s989ms 3s994ms Mar 08 23 2 8s206ms 4s103ms 02 3 12s499ms 4s166ms 03 4 16s915ms 4s228ms 04 3 12s212ms 4s70ms 05 3 12s283ms 4s94ms 07 1 4s24ms 4s24ms 08 1 4s127ms 4s127ms 10 1 4s209ms 4s209ms 11 1 4s71ms 4s71ms 12 1 3s972ms 3s972ms 14 1 4s82ms 4s82ms 17 1 4s78ms 4s78ms 18 2 8s224ms 4s112ms 19 1 4s88ms 4s88ms 20 1 4s190ms 4s190ms 21 1 4s115ms 4s115ms 22 7 29s120ms 4s160ms [ User: pubeu - Total duration: 4m48s - Times executed: 69 ]
[ User: qaeu - Total duration: 4s43ms - Times executed: 1 ]
-
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 = '1443894') 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 = '1443894') 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-03-07 12:00:40 Duration: 8s398ms 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 = '1443894') 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 = '1443894') 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-03-07 12:00:44 Duration: 8s148ms 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 = '1336748') 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 = '1336748') 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-03-05 11:42:59 Duration: 5s200ms Bind query: yes
16 339 9m48s 1s4ms 2s424ms 1s737ms select g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, i.id ixnid, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where gcr.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by g.nm_sort, c.nm_sort, i.sort_txt limit ? offset ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Mar 02 05 2 2s93ms 1s46ms 09 2 2s193ms 1s96ms 12 2 2s98ms 1s49ms 13 2 2s62ms 1s31ms 17 1 1s4ms 1s4ms Mar 03 05 1 1s72ms 1s72ms 06 1 1s63ms 1s63ms 08 1 1s36ms 1s36ms 10 1 1s50ms 1s50ms Mar 04 09 2 3s223ms 1s611ms 12 1 1s40ms 1s40ms 19 1 2s424ms 2s424ms Mar 05 06 1 1s111ms 1s111ms 08 1 1s25ms 1s25ms 09 1 1s7ms 1s7ms 10 1 1s79ms 1s79ms 17 1 1s15ms 1s15ms 18 1 1s989ms 1s989ms 21 3 3s98ms 1s32ms Mar 06 00 1 1s101ms 1s101ms 02 1 1s8ms 1s8ms 11 3 3s138ms 1s46ms 14 1 1s9ms 1s9ms Mar 07 02 1 1s62ms 1s62ms 08 1 1s36ms 1s36ms 10 2 2s137ms 1s68ms Mar 08 01 1 1s62ms 1s62ms 05 1 1s58ms 1s58ms 06 301 9m5s 1s812ms [ User: pubeu - Total duration: 1m50s - Times executed: 71 ]
-
SELECT /* ChemGeneIxnsDAO */ g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, i.id ixnId, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1443883') GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY g.nm_sort, c.nm_sort, i.sort_txt LIMIT 50 OFFSET 150;
Date: 2025-03-04 20:30:27 Duration: 2s424ms Bind query: yes
-
SELECT /* ChemGeneIxnsDAO */ g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, i.id ixnId, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1423069') GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY g.nm_sort, c.nm_sort, i.sort_txt LIMIT 50 OFFSET 24300;
Date: 2025-03-08 07:30:52 Duration: 2s405ms Bind query: yes
-
SELECT /* ChemGeneIxnsDAO */ g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, i.id ixnId, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1423069') GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY g.nm_sort, c.nm_sort, i.sort_txt LIMIT 50 OFFSET 19150;
Date: 2025-03-08 07:30:50 Duration: 2s398ms Database: ctdprd51 User: pubeu Bind query: yes
17 273 7m1s 1s261ms 39s793ms 1s542ms 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 #17
Day Hour Count Duration Avg duration Mar 02 23 3 4s108ms 1s369ms 00 4 5s724ms 1s431ms 01 4 5s673ms 1s418ms 02 3 4s214ms 1s404ms 03 8 11s83ms 1s385ms 04 6 46s851ms 7s808ms 05 1 1s402ms 1s402ms 06 5 7s60ms 1s412ms 07 4 6s62ms 1s515ms 08 2 2s783ms 1s391ms 09 5 7s79ms 1s415ms 10 3 4s215ms 1s405ms 11 3 4s232ms 1s410ms 12 2 2s810ms 1s405ms 13 3 4s140ms 1s380ms 14 3 4s107ms 1s369ms 15 5 7s107ms 1s421ms 16 1 1s482ms 1s482ms 17 2 2s612ms 1s306ms 18 3 4s34ms 1s344ms 19 4 5s601ms 1s400ms 20 3 4s193ms 1s397ms 21 4 5s696ms 1s424ms 22 5 6s740ms 1s348ms Mar 03 23 4 5s764ms 1s441ms 00 2 2s745ms 1s372ms 01 2 2s823ms 1s411ms 02 8 11s69ms 1s383ms 03 3 4s25ms 1s341ms 04 4 5s509ms 1s377ms 05 1 1s469ms 1s469ms 06 4 5s588ms 1s397ms 07 5 7s262ms 1s452ms 08 1 1s470ms 1s470ms 09 5 6s880ms 1s376ms 10 2 2s586ms 1s293ms 11 3 4s222ms 1s407ms 12 4 5s443ms 1s360ms 13 2 2s623ms 1s311ms 15 1 1s424ms 1s424ms 16 4 5s844ms 1s461ms 17 2 2s816ms 1s408ms 18 2 2s827ms 1s413ms 19 3 4s238ms 1s412ms 20 2 2s607ms 1s303ms 21 1 1s330ms 1s330ms 22 2 2s657ms 1s328ms Mar 04 23 1 1s300ms 1s300ms 00 8 10s600ms 1s325ms 04 2 2s924ms 1s462ms 05 6 8s446ms 1s407ms 06 8 11s438ms 1s429ms 07 10 14s365ms 1s436ms 08 3 4s331ms 1s443ms 09 8 11s259ms 1s407ms 10 2 2s784ms 1s392ms 13 2 2s687ms 1s343ms 15 2 2s665ms 1s332ms 16 1 1s439ms 1s439ms 17 1 1s471ms 1s471ms 19 2 2s802ms 1s401ms 20 1 1s529ms 1s529ms 21 1 1s431ms 1s431ms 22 3 4s224ms 1s408ms Mar 05 23 2 2s788ms 1s394ms 01 3 4s175ms 1s391ms 03 1 1s479ms 1s479ms 04 3 4s251ms 1s417ms 05 1 1s556ms 1s556ms 06 3 4s76ms 1s358ms 07 1 1s518ms 1s518ms 08 1 1s309ms 1s309ms 11 7 9s919ms 1s417ms 21 1 1s268ms 1s268ms 22 3 4s336ms 1s445ms Mar 06 23 1 1s363ms 1s363ms 00 1 1s308ms 1s308ms 02 2 2s838ms 1s419ms 04 5 7s80ms 1s416ms 06 2 3s5ms 1s502ms 14 1 1s276ms 1s276ms 21 2 2s931ms 1s465ms Mar 07 02 1 1s459ms 1s459ms 04 3 4s123ms 1s374ms 05 3 4s195ms 1s398ms 08 1 1s328ms 1s328ms 09 2 2s850ms 1s425ms 11 1 1s435ms 1s435ms 13 1 1s437ms 1s437ms 14 1 1s403ms 1s403ms 19 2 2s811ms 1s405ms Mar 08 04 2 2s923ms 1s461ms 05 1 1s328ms 1s328ms 11 1 1s437ms 1s437ms [ User: pubeu - Total duration: 1m43s - Times executed: 73 ]
-
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-03-02 05:42:47 Duration: 39s793ms 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]', '#') = 'F' ORDER BY t.nm_sort LIMIT 100;
Date: 2025-03-02 08:52:43 Duration: 1s782ms 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]', '#') = 'L' ORDER BY t.nm_sort LIMIT 100;
Date: 2025-03-02 16:41:15 Duration: 1s588ms Database: ctdprd51 User: pubeu Bind query: yes
18 234 9m41s 1s21ms 3s614ms 2s483ms 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 #18
Day Hour Count Duration Avg duration Mar 02 23 1 3s365ms 3s365ms 00 1 3s321ms 3s321ms 02 1 3s356ms 3s356ms 04 4 9s164ms 2s291ms 09 1 2s915ms 2s915ms 11 2 6s845ms 3s422ms 14 1 3s550ms 3s550ms 15 1 3s614ms 3s614ms 20 1 3s366ms 3s366ms Mar 03 04 5 11s493ms 2s298ms 10 1 3s328ms 3s328ms 11 3 7s363ms 2s454ms 13 1 3s478ms 3s478ms 15 1 3s363ms 3s363ms Mar 04 04 4 9s202ms 2s300ms 07 2 4s653ms 2s326ms 08 3 7s937ms 2s645ms 11 1 2s13ms 2s13ms 13 4 10s913ms 2s728ms 14 1 2s834ms 2s834ms 15 2 5s406ms 2s703ms 16 1 2s593ms 2s593ms 17 1 2s835ms 2s835ms 20 2 4s601ms 2s300ms Mar 05 01 1 2s207ms 2s207ms 03 1 2s87ms 2s87ms 04 9 22s605ms 2s511ms 05 1 3s552ms 3s552ms 06 2 4s393ms 2s196ms 09 1 2s524ms 2s524ms 10 2 5s310ms 2s655ms 11 4 9s214ms 2s303ms 12 4 11s126ms 2s781ms 13 2 4s897ms 2s448ms 15 2 4s103ms 2s51ms 16 1 2s646ms 2s646ms 18 6 14s763ms 2s460ms 19 1 1s893ms 1s893ms 21 2 4s9ms 2s4ms 22 1 2s228ms 2s228ms Mar 06 23 5 13s109ms 2s621ms 00 1 1s833ms 1s833ms 01 2 4s580ms 2s290ms 02 3 7s155ms 2s385ms 03 1 2s525ms 2s525ms 04 6 13s200ms 2s200ms 05 4 8s771ms 2s192ms 06 1 1s881ms 1s881ms 07 1 1s985ms 1s985ms 08 2 4s502ms 2s251ms 09 2 5s230ms 2s615ms 10 1 1s773ms 1s773ms 11 2 4s367ms 2s183ms 12 1 2s62ms 2s62ms 13 2 4s704ms 2s352ms 14 3 7s793ms 2s597ms 15 3 7s181ms 2s393ms 16 3 6s702ms 2s234ms 18 5 11s967ms 2s393ms 22 1 2s469ms 2s469ms Mar 07 23 3 7s123ms 2s374ms 00 3 7s187ms 2s395ms 01 2 5s210ms 2s605ms 03 3 8s572ms 2s857ms 04 8 18s929ms 2s366ms 05 2 6s780ms 3s390ms 07 1 2s200ms 2s200ms 08 1 3s415ms 3s415ms 09 5 12s115ms 2s423ms 11 2 4s136ms 2s68ms 12 1 2s8ms 2s8ms 13 2 5s128ms 2s564ms 14 1 2s295ms 2s295ms 15 1 1s912ms 1s912ms 16 2 4s203ms 2s101ms 17 2 4s71ms 2s35ms 18 2 5s327ms 2s663ms 19 4 12s57ms 3s14ms 20 1 2s434ms 2s434ms 21 4 10s312ms 2s578ms 22 1 2s208ms 2s208ms Mar 08 23 2 4s559ms 2s279ms 00 3 8s451ms 2s817ms 01 1 3s396ms 3s396ms 02 2 4s645ms 2s322ms 04 5 10s942ms 2s188ms 05 3 9s464ms 3s154ms 06 1 3s339ms 3s339ms 07 1 2s877ms 2s877ms 08 2 4s392ms 2s196ms 09 3 7s720ms 2s573ms 11 1 1s946ms 1s946ms 12 1 2s53ms 2s53ms 13 1 2s193ms 2s193ms 14 3 6s219ms 2s73ms 15 1 2s445ms 2s445ms 16 3 7s726ms 2s575ms 17 2 4s54ms 2s27ms 18 3 8s928ms 2s976ms 19 2 4s947ms 2s473ms 20 1 2s328ms 2s328ms 21 6 13s60ms 2s176ms 22 2 4s880ms 2s440ms [ User: pubeu - Total duration: 2m19s - Times executed: 49 ]
[ User: qaeu - Total duration: 24s233ms - 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 = '655185' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 4 ORDER BY sn.path;
Date: 2025-03-02 16:33:56 Duration: 3s614ms 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 = '597156' 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-03-04 08:24:31 Duration: 3s601ms 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 = '597156' 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-03-04 14:33:55 Duration: 3s565ms Database: ctdprd51 User: pubeu Bind query: yes
19 183 45m52s 1s1ms 25m35s 15s38ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 02 23 1 27s153ms 27s153ms 01 1 7s388ms 7s388ms 04 3 54s841ms 18s280ms 09 1 9s649ms 9s649ms 13 1 3s343ms 3s343ms 14 3 17s815ms 5s938ms 15 1 3s396ms 3s396ms 18 1 1s521ms 1s521ms 19 1 2s571ms 2s571ms 22 1 1s511ms 1s511ms Mar 03 23 1 1s573ms 1s573ms 00 1 1s70ms 1s70ms 02 1 4s472ms 4s472ms 06 1 7s472ms 7s472ms 08 1 1s666ms 1s666ms 09 1 7s685ms 7s685ms 10 1 1s439ms 1s439ms 11 2 5s68ms 2s534ms 15 1 16s639ms 16s639ms 19 3 34s736ms 11s578ms 21 1 19s170ms 19s170ms Mar 04 23 1 16s536ms 16s536ms 01 8 1m37s 12s169ms 06 4 1m35s 23s773ms 07 5 27m55s 5m35s 09 1 1s84ms 1s84ms 12 1 13s764ms 13s764ms 15 1 44s840ms 44s840ms 17 1 1s86ms 1s86ms 19 1 4s487ms 4s487ms 20 7 2m15s 19s342ms 21 1 1s622ms 1s622ms Mar 05 23 1 1s96ms 1s96ms 00 1 1s37ms 1s37ms 01 19 55s475ms 2s919ms 02 2 9s827ms 4s913ms 06 1 16s269ms 16s269ms 08 1 2s457ms 2s457ms 09 1 44s311ms 44s311ms 10 1 3s494ms 3s494ms 19 1 4s568ms 4s568ms 21 3 10s368ms 3s456ms 22 6 46s313ms 7s718ms Mar 06 03 1 1s830ms 1s830ms 07 1 1s66ms 1s66ms 13 1 2s163ms 2s163ms 22 2 6s830ms 3s415ms Mar 07 23 3 16s542ms 5s514ms 01 4 7s763ms 1s940ms 06 2 3s119ms 1s559ms 14 1 1s169ms 1s169ms 17 1 1s58ms 1s58ms Mar 08 02 1 1s1ms 1s1ms 03 1 2s608ms 2s608ms 05 34 2m23s 4s231ms 06 3 10s144ms 3s381ms 07 27 32s934ms 1s219ms 12 4 5s844ms 1s461ms 20 1 1s713ms 1s713ms [ User: pubeu - Total duration: 30m53s - Times executed: 61 ]
-
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 = '2093936') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-03-04 08:02:32 Duration: 25m35s 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 = '2093936') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-03-04 08:03:09 Duration: 45s734ms 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 = '2093461') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-03-04 16:32:33 Duration: 44s840ms Bind query: yes
20 143 3m46s 1s5ms 2s843ms 1s581ms 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 Mar 02 23 3 4s928ms 1s642ms 00 1 2s843ms 2s843ms 01 1 1s143ms 1s143ms 02 1 1s468ms 1s468ms 03 4 5s355ms 1s338ms 04 4 5s347ms 1s336ms 05 2 3s845ms 1s922ms 06 1 1s55ms 1s55ms 07 2 2s903ms 1s451ms 08 1 1s622ms 1s622ms 09 2 3s473ms 1s736ms 10 3 5s8ms 1s669ms 11 1 1s407ms 1s407ms 12 1 2s310ms 2s310ms 14 2 2s111ms 1s55ms 15 2 2s849ms 1s424ms 16 2 4s264ms 2s132ms 18 1 1s21ms 1s21ms 19 1 2s249ms 2s249ms 20 3 3s521ms 1s173ms 21 2 2s774ms 1s387ms 22 1 1s390ms 1s390ms Mar 03 00 1 2s291ms 2s291ms 01 2 3s908ms 1s954ms 02 1 2s508ms 2s508ms 03 1 2s379ms 2s379ms 04 2 2s727ms 1s363ms 05 1 2s386ms 2s386ms 06 1 1s9ms 1s9ms 07 1 1s714ms 1s714ms 08 1 1s84ms 1s84ms 09 1 1s59ms 1s59ms 10 1 2s289ms 2s289ms 11 2 4s658ms 2s329ms 13 1 1s291ms 1s291ms 14 2 3s263ms 1s631ms 16 5 7s897ms 1s579ms 17 6 8s256ms 1s376ms 18 2 3s594ms 1s797ms 19 2 2s719ms 1s359ms 20 2 3s368ms 1s684ms 21 4 4s819ms 1s204ms Mar 04 23 2 2s61ms 1s30ms 00 3 6s208ms 2s69ms 01 1 2s663ms 2s663ms 05 3 5s740ms 1s913ms 06 5 7s196ms 1s439ms 07 1 1s12ms 1s12ms 09 1 2s358ms 2s358ms 10 1 1s482ms 1s482ms 16 1 1s734ms 1s734ms 17 1 1s43ms 1s43ms 19 2 4s33ms 2s16ms 20 1 1s172ms 1s172ms 21 1 1s606ms 1s606ms Mar 05 23 2 2s976ms 1s488ms 02 1 1s36ms 1s36ms 03 1 1s607ms 1s607ms 04 1 1s530ms 1s530ms 09 2 3s402ms 1s701ms 10 1 1s169ms 1s169ms 14 1 1s57ms 1s57ms 20 1 1s97ms 1s97ms Mar 06 23 1 1s622ms 1s622ms 03 1 2s512ms 2s512ms 05 1 1s593ms 1s593ms 13 2 2s503ms 1s251ms 14 1 1s522ms 1s522ms 18 1 2s390ms 2s390ms 19 2 2s300ms 1s150ms 22 1 1s423ms 1s423ms Mar 07 02 1 1s150ms 1s150ms 03 1 2s310ms 2s310ms 07 2 2s227ms 1s113ms 12 1 1s452ms 1s452ms 15 1 1s46ms 1s46ms 18 2 3s67ms 1s533ms 19 1 1s624ms 1s624ms 20 1 2s499ms 2s499ms Mar 08 09 2 4s656ms 2s328ms 10 1 1s111ms 1s111ms 12 2 2s673ms 1s336ms 14 1 1s95ms 1s95ms 15 1 1s111ms 1s111ms 16 1 2s409ms 2s409ms 18 2 3s531ms 1s765ms [ User: pubeu - Total duration: 54s663ms - Times executed: 36 ]
-
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-03-02 01:44:38 Duration: 2s843ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2088685') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-03-04 07:30:52 Duration: 2s739ms 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 = '2088685') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-03-04 02:03:17 Duration: 2s663ms Database: ctdprd51 User: pubeu Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 25m16s 25m50s 25m36s 7 2h59m16s select maint_query_logs_archive ();Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 02 23 1 25m16s 25m16s Mar 03 23 1 25m40s 25m40s Mar 04 23 1 25m31s 25m31s Mar 05 23 1 25m30s 25m30s Mar 06 23 1 25m43s 25m43s Mar 07 23 1 25m42s 25m42s Mar 08 23 1 25m50s 25m50s -
/* * 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-03-08 00:25:51 Duration: 25m50s
-
/* * 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-03-06 00:25:45 Duration: 25m43s
-
/* * 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-03-07 00:25:43 Duration: 25m42s
2 24m39s 24m39s 24m39s 1 24m39s copy pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 08 18 1 24m39s 24m39s -
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-03-08 19:45:38 Duration: 24m39s
3 24m22s 24m22s 24m22s 1 24m22s 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 #3
Day Hour Count Duration Avg duration Mar 08 18 1 24m22s 24m22s -
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-03-08 19:01:28 Duration: 24m22s
4 1s295ms 8m13s 4m34s 4 18m18s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where diseaseterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by phenotypeterm.nm_sort, diseaseterm.nm_sort limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Mar 02 01 1 5m33s 5m33s 22 1 1s295ms 1s295ms Mar 03 02 1 4m31s 4m31s 18 1 8m13s 8m13s [ User: pubeu - Total duration: 8m13s - Times executed: 1 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2093964') and diseaseTerm.object_type_id = 3 ORDER BY phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;
Date: 2025-03-03 19:31:29 Duration: 8m13s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2086420') and diseaseTerm.object_type_id = 3 ORDER BY phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;
Date: 2025-03-02 02:32:53 Duration: 5m33s 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 phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;
Date: 2025-03-03 03:13:42 Duration: 4m31s Bind query: yes
5 1s417ms 21m29s 2m7s 475 16h52m7s 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 #5
Day Hour Count Duration Avg duration Mar 02 23 5 31m38s 6m19s 00 1 2s402ms 2s402ms 01 2 3s941ms 1s970ms 02 2 3m17s 1m38s 03 4 4m28s 1m7s 04 1 2s51ms 2s51ms 05 2 3s197ms 1s598ms 06 1 2m8s 2m8s 07 3 1m41s 33s761ms 08 2 3m47s 1m53s 09 3 1m49s 36s634ms 12 1 20m31s 20m31s 13 2 4s131ms 2s65ms 14 4 6m12s 1m33s 15 3 7m11s 2m23s 16 2 18m8s 9m4s 17 2 4s863ms 2s431ms 18 2 17m49s 8m54s 19 1 2s29ms 2s29ms 20 2 4m49s 2m24s 21 1 17m45s 17m45s 22 1 1s888ms 1s888ms Mar 03 23 2 10m6s 5m3s 00 1 1s646ms 1s646ms 01 2 5s279ms 2s639ms 02 1 1s417ms 1s417ms 03 4 3m10s 47s746ms 04 1 4m38s 4m38s 05 2 5m11s 2m35s 06 1 3s290ms 3s290ms 07 5 59m18s 11m51s 08 4 21m27s 5m21s 09 1 2s348ms 2s348ms 10 3 17m41s 5m53s 11 1 4m26s 4m26s 12 2 5m42s 2m51s 13 3 28m38s 9m32s 15 4 5m55s 1m28s 16 5 17m7s 3m25s 17 2 3s197ms 1s598ms 19 2 1m53s 56s820ms 21 5 10m18s 2m3s 22 7 10m5s 1m26s Mar 04 23 1 2s452ms 2s452ms 00 3 6s773ms 2s257ms 04 1 18m13s 18m13s 05 3 4m30s 1m30s 06 1 17m51s 17m51s 07 3 6m54s 2m18s 08 2 7m12s 3m36s 09 2 3s501ms 1s750ms 10 1 1s790ms 1s790ms 17 1 3s320ms 3s320ms 19 1 2s491ms 2s491ms 20 2 18m12s 9m6s Mar 05 23 1 3m29s 3m29s 00 1 11m31s 11m31s 01 1 18m9s 18m9s 02 1 2m8s 2m8s 03 7 3m43s 31s977ms 04 2 2s981ms 1s490ms 05 1 1m41s 1m41s 06 3 8m9s 2m43s 07 2 5s161ms 2s580ms 08 4 2m15s 33s920ms 09 2 4s459ms 2s229ms 10 2 3s678ms 1s839ms 11 4 1m46s 26s559ms 12 2 5m56s 2m58s 13 1 2s486ms 2s486ms 14 4 7m27s 1m51s 15 5 22m45s 4m33s 16 2 48s120ms 24s60ms 17 3 6m31s 2m10s 18 2 19m58s 9m59s 19 5 6m28s 1m17s 20 3 3m39s 1m13s 21 5 11m28s 2m17s 22 3 7m32s 2m30s Mar 06 23 2 4s414ms 2s207ms 00 4 5m16s 1m19s 01 6 8m16s 1m22s 02 5 24m9s 4m49s 03 5 4m57s 59s416ms 04 4 6m8s 1m32s 05 5 18m 3m36s 06 4 2m20s 35s167ms 07 4 3m38s 54s716ms 08 4 4m50s 1m12s 09 4 4m44s 1m11s 10 1 2s57ms 2s57ms 11 4 3m40s 55s102ms 12 1 1s800ms 1s800ms 14 4 7m33s 1m53s 15 6 5m11s 51s949ms 16 2 5s437ms 2s718ms 17 5 2m7s 25s504ms 18 6 8m39s 1m26s 19 4 20m56s 5m14s 20 1 1s844ms 1s844ms 21 4 11s379ms 2s844ms 22 4 5m8s 1m17s Mar 07 23 2 3s840ms 1s920ms 00 2 3s884ms 1s942ms 01 3 5s127ms 1s709ms 02 1 1s798ms 1s798ms 03 3 2m40s 53s487ms 04 6 16m31s 2m45s 05 7 10m41s 1m31s 06 5 8m59s 1m47s 07 7 4m33s 39s20ms 08 4 10s337ms 2s584ms 09 7 4m20s 37s165ms 10 5 11s502ms 2s300ms 11 4 8m50s 2m12s 12 6 13m48s 2m18s 13 3 5m33s 1m51s 14 5 11m33s 2m18s 15 5 9s137ms 1s827ms 16 5 9s84ms 1s816ms 17 4 21m26s 5m21s 18 4 4m28s 1m7s 19 6 12s146ms 2s24ms 20 2 5m20s 2m40s 21 6 4m37s 46s217ms 22 2 5m56s 2m58s Mar 08 23 3 4m12s 1m24s 01 6 7m48s 1m18s 02 4 6s836ms 1s709ms 03 6 28m18s 4m43s 04 4 12m19s 3m4s 05 4 13m35s 3m23s 06 1 1s722ms 1s722ms 08 4 6s596ms 1s649ms 09 2 5s149ms 2s574ms 10 6 13s704ms 2s284ms 11 6 9m42s 1m37s 12 4 21m34s 5m23s 13 4 11m40s 2m55s 14 6 5m19s 53s215ms 15 2 5m2s 2m31s 16 2 4m51s 2m25s 17 4 13m55s 3m28s 18 3 5m44s 1m54s 19 3 11m37s 3m52s 20 8 7m13s 54s187ms 21 3 3m50s 1m16s 22 5 11m19s 2m15s [ User: pubeu - Total duration: 3h1m14s - Times executed: 117 ]
-
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 = '1252233') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-03-03 14:06:07 Duration: 21m29s 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-03-02 00:39:03 Duration: 20m38s 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 = '1252233') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-03-06 03:42:51 Duration: 20m31s Bind query: yes
6 50s806ms 52s11ms 51s377ms 25 21m24s 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 #6
Day Hour Count Duration Avg duration Mar 02 05 1 50s991ms 50s991ms 09 1 50s885ms 50s885ms 13 1 50s946ms 50s946ms 17 1 50s806ms 50s806ms Mar 03 05 1 51s58ms 51s58ms 09 1 51s271ms 51s271ms 13 1 51s124ms 51s124ms 17 1 51s31ms 51s31ms Mar 04 05 1 51s840ms 51s840ms 09 1 51s369ms 51s369ms 13 1 51s384ms 51s384ms 17 1 51s219ms 51s219ms Mar 05 05 1 51s290ms 51s290ms 09 1 51s813ms 51s813ms 13 1 51s530ms 51s530ms 17 1 51s174ms 51s174ms Mar 06 05 1 51s312ms 51s312ms 09 1 51s637ms 51s637ms 13 1 51s600ms 51s600ms 17 1 51s389ms 51s389ms Mar 07 05 1 51s796ms 51s796ms 09 1 51s726ms 51s726ms 13 1 51s516ms 51s516ms 17 1 52s11ms 52s11ms Mar 08 18 1 51s699ms 51s699ms [ User: postgres - Total duration: 20m32s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 20m32s - 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-03-07 18:05:53 Duration: 52s11ms 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-03-04 06:05:53 Duration: 51s840ms 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-03-05 10:05:53 Duration: 51s813ms Database: ctdprd51 User: postgres Application: pg_dump
7 1s387ms 1m31s 41s31ms 41 28m2s select r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refacc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, count(*) over () fullrowcount from reference r where r.id in ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?)) order by r.sort_txt limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 02 00 1 34s757ms 34s757ms 01 3 54s11ms 18s3ms 07 2 1m23s 41s919ms 14 1 38s479ms 38s479ms 15 3 2m19s 46s652ms 16 1 39s776ms 39s776ms 19 1 1m13s 1m13s 22 2 1m52s 56s447ms Mar 03 01 1 1s970ms 1s970ms 05 2 1m10s 35s304ms 07 1 31s822ms 31s822ms 13 1 1m5s 1m5s 14 1 2s428ms 2s428ms 16 1 2s185ms 2s185ms 19 1 1s980ms 1s980ms 22 2 1m8s 34s379ms Mar 05 00 1 1m9s 1m9s 08 1 1s387ms 1s387ms 09 1 53s803ms 53s803ms 13 1 45s542ms 45s542ms Mar 06 01 1 1m13s 1m13s 03 1 1m6s 1m6s 07 1 1m3s 1m3s 09 1 39s345ms 39s345ms Mar 07 23 1 1m1s 1m1s 01 1 1m13s 1m13s 09 2 1m21s 40s571ms 10 1 24s718ms 24s718ms 13 1 1m31s 1m31s Mar 08 09 1 40s865ms 40s865ms 17 1 59s434ms 59s434ms 21 1 13s759ms 13s759ms [ User: pubeu - Total duration: 6m52s - Times executed: 12 ]
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1235612')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-03-07 14:25:13 Duration: 1m31s Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1253556')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-03-02 16:01:09 Duration: 1m14s Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1445404')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-03-07 02:57:04 Duration: 1m13s Bind query: yes
8 1s1ms 25m35s 15s38ms 183 45m52s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Mar 02 23 1 27s153ms 27s153ms 01 1 7s388ms 7s388ms 04 3 54s841ms 18s280ms 09 1 9s649ms 9s649ms 13 1 3s343ms 3s343ms 14 3 17s815ms 5s938ms 15 1 3s396ms 3s396ms 18 1 1s521ms 1s521ms 19 1 2s571ms 2s571ms 22 1 1s511ms 1s511ms Mar 03 23 1 1s573ms 1s573ms 00 1 1s70ms 1s70ms 02 1 4s472ms 4s472ms 06 1 7s472ms 7s472ms 08 1 1s666ms 1s666ms 09 1 7s685ms 7s685ms 10 1 1s439ms 1s439ms 11 2 5s68ms 2s534ms 15 1 16s639ms 16s639ms 19 3 34s736ms 11s578ms 21 1 19s170ms 19s170ms Mar 04 23 1 16s536ms 16s536ms 01 8 1m37s 12s169ms 06 4 1m35s 23s773ms 07 5 27m55s 5m35s 09 1 1s84ms 1s84ms 12 1 13s764ms 13s764ms 15 1 44s840ms 44s840ms 17 1 1s86ms 1s86ms 19 1 4s487ms 4s487ms 20 7 2m15s 19s342ms 21 1 1s622ms 1s622ms Mar 05 23 1 1s96ms 1s96ms 00 1 1s37ms 1s37ms 01 19 55s475ms 2s919ms 02 2 9s827ms 4s913ms 06 1 16s269ms 16s269ms 08 1 2s457ms 2s457ms 09 1 44s311ms 44s311ms 10 1 3s494ms 3s494ms 19 1 4s568ms 4s568ms 21 3 10s368ms 3s456ms 22 6 46s313ms 7s718ms Mar 06 03 1 1s830ms 1s830ms 07 1 1s66ms 1s66ms 13 1 2s163ms 2s163ms 22 2 6s830ms 3s415ms Mar 07 23 3 16s542ms 5s514ms 01 4 7s763ms 1s940ms 06 2 3s119ms 1s559ms 14 1 1s169ms 1s169ms 17 1 1s58ms 1s58ms Mar 08 02 1 1s1ms 1s1ms 03 1 2s608ms 2s608ms 05 34 2m23s 4s231ms 06 3 10s144ms 3s381ms 07 27 32s934ms 1s219ms 12 4 5s844ms 1s461ms 20 1 1s713ms 1s713ms [ User: pubeu - Total duration: 30m53s - Times executed: 61 ]
-
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 = '2093936') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-03-04 08:02:32 Duration: 25m35s 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 = '2093936') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-03-04 08:03:09 Duration: 45s734ms 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 = '2093461') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-03-04 16:32:33 Duration: 44s840ms Bind query: yes
9 1s 34s197ms 6s678ms 561 1h2m26s 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 Mar 02 23 3 27s669ms 9s223ms 00 2 34s203ms 17s101ms 01 4 43s909ms 10s977ms 02 5 39s929ms 7s985ms 04 2 13s525ms 6s762ms 05 1 7s869ms 7s869ms 06 1 1s544ms 1s544ms 07 3 25s667ms 8s555ms 08 1 22s161ms 22s161ms 10 1 21s345ms 21s345ms 11 2 33s872ms 16s936ms 12 2 40s553ms 20s276ms 14 7 15s10ms 2s144ms 15 6 14s555ms 2s425ms 16 4 18s629ms 4s657ms 17 6 39s515ms 6s585ms 18 3 31s895ms 10s631ms 19 1 3s613ms 3s613ms 20 5 53s116ms 10s623ms 21 2 2s355ms 1s177ms 22 5 29s828ms 5s965ms Mar 03 23 2 28s265ms 14s132ms 00 4 27s18ms 6s754ms 01 3 6s488ms 2s162ms 02 6 52s145ms 8s690ms 03 5 29s826ms 5s965ms 04 1 7s769ms 7s769ms 05 3 27s642ms 9s214ms 06 1 21s985ms 21s985ms 07 3 32s779ms 10s926ms 08 2 7s208ms 3s604ms 09 5 54s174ms 10s834ms 10 4 42s176ms 10s544ms 11 1 4s483ms 4s483ms 12 2 7s787ms 3s893ms 13 2 9s144ms 4s572ms 14 1 2s37ms 2s37ms 15 5 5s958ms 1s191ms 16 3 1m3s 21s181ms 17 5 53s650ms 10s730ms 18 2 32s629ms 16s314ms 20 4 16s184ms 4s46ms 21 3 5s540ms 1s846ms 22 5 1m13s 14s787ms Mar 04 23 7 1m25s 12s147ms 00 2 2s137ms 1s68ms 05 5 39s719ms 7s943ms 06 3 22s209ms 7s403ms 10 1 1s349ms 1s349ms 14 4 14s646ms 3s661ms 15 2 4s878ms 2s439ms 16 1 2s878ms 2s878ms 18 1 10s216ms 10s216ms 19 1 7s682ms 7s682ms 21 1 1s46ms 1s46ms 22 1 31s365ms 31s365ms Mar 05 23 2 10s332ms 5s166ms 00 1 1s383ms 1s383ms 01 2 11s677ms 5s838ms 02 4 8s755ms 2s188ms 03 5 44s457ms 8s891ms 04 9 44s714ms 4s968ms 05 6 1m38s 16s421ms 06 3 6s426ms 2s142ms 07 9 25s394ms 2s821ms 08 5 26s186ms 5s237ms 09 1 7s875ms 7s875ms 10 3 8s417ms 2s805ms 11 3 37s522ms 12s507ms 12 6 11s348ms 1s891ms 13 4 1m14s 18s553ms 14 6 1m19s 13s184ms 15 2 3s311ms 1s655ms 16 6 49s509ms 8s251ms 17 4 37s692ms 9s423ms 18 4 39s962ms 9s990ms 19 3 35s846ms 11s948ms 20 2 4s927ms 2s463ms 21 7 35s587ms 5s83ms 22 3 4s520ms 1s506ms Mar 06 23 5 46s614ms 9s322ms 00 8 18s606ms 2s325ms 01 5 39s782ms 7s956ms 02 6 23s950ms 3s991ms 03 4 37s302ms 9s325ms 04 6 16s532ms 2s755ms 05 8 1m 7s597ms 06 5 14s376ms 2s875ms 07 6 41s585ms 6s930ms 08 6 40s859ms 6s809ms 09 5 1m11s 14s383ms 10 6 19s932ms 3s322ms 12 3 4s330ms 1s443ms 13 2 4s571ms 2s285ms 14 2 5s198ms 2s599ms 15 4 43s440ms 10s860ms 16 4 1m12s 18s145ms 17 4 54s692ms 13s673ms 18 5 28s831ms 5s766ms 19 5 21s62ms 4s212ms 20 2 5s109ms 2s554ms 21 4 4s998ms 1s249ms 22 8 1m4s 8s51ms Mar 07 23 1 2s344ms 2s344ms 00 1 2s93ms 2s93ms 01 4 5s386ms 1s346ms 02 3 19s619ms 6s539ms 03 1 3s642ms 3s642ms 04 3 14s169ms 4s723ms 05 8 1m6s 8s281ms 06 9 1m28s 9s827ms 07 3 20s40ms 6s680ms 08 3 7s537ms 2s512ms 09 3 22s231ms 7s410ms 10 4 20s462ms 5s115ms 11 2 2s482ms 1s241ms 12 7 1m16s 10s871ms 13 3 6s312ms 2s104ms 14 4 16s499ms 4s124ms 15 3 4s905ms 1s635ms 16 4 6s180ms 1s545ms 17 2 2s531ms 1s265ms 18 4 38s33ms 9s508ms 19 5 17s997ms 3s599ms 20 1 1s836ms 1s836ms 21 4 9s151ms 2s287ms 22 1 2s47ms 2s47ms Mar 08 23 3 3s989ms 1s329ms 00 3 6s653ms 2s217ms 01 5 7s405ms 1s481ms 02 3 3s607ms 1s202ms 03 5 28s384ms 5s676ms 04 3 44s55ms 14s685ms 05 4 15s58ms 3s764ms 06 2 2s90ms 1s45ms 07 7 46s325ms 6s617ms 08 3 6s340ms 2s113ms 09 10 57s391ms 5s739ms 10 11 1m27s 7s971ms 11 2 4s542ms 2s271ms 12 5 56s237ms 11s247ms 13 3 6s330ms 2s110ms 14 4 8s453ms 2s113ms 15 5 14s824ms 2s964ms 16 2 13s280ms 6s640ms 17 3 10s890ms 3s630ms 18 2 8s162ms 4s81ms 19 3 5s854ms 1s951ms 20 4 30s815ms 7s703ms 21 1 1s181ms 1s181ms 22 5 15s394ms 3s78ms [ User: pubeu - Total duration: 13m30s - Times executed: 117 ]
[ User: qaeu - Total duration: 1s418ms - Times executed: 1 ]
-
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 = '1228421') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-03-08 11:22:42 Duration: 34s197ms 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 = '1228421') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-03-08 05:37:31 Duration: 33s140ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1228421') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-03-05 06:54:30 Duration: 32s640ms Database: ctdprd51 User: pubeu Bind query: yes
10 1s 1m12s 6s122ms 1,453 2h28m15s select ? AS "Input", phenotypeterm.nm AS "PhenotypeName", phenotypeterm.acc_txt AS "PhenotypeID", diseaseterm.nm AS "DiseaseName", diseaseterm.acc_db_cd || ? || diseaseterm.acc_txt "DiseaseID", ( select string_agg(distinct geneterm.nm, ?) from term geneterm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneterm.id and ptr.via_term_object_type_id = ?) AS "GeneInferenceNetwork", ( select string_agg(distinct chemterm.nm, ?) from term chemterm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemterm.id and ptr.via_term_object_type_id = ?) AS "ChemInferenceNetwork", ( select string_agg(distinct r.acc_txt, ?) from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" 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 = ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 06 00 4 15s468ms 3s867ms 02 331 32m20s 5s861ms 03 164 18m50s 6s896ms 04 146 14m2s 5s773ms Mar 07 03 1 3s972ms 3s972ms Mar 08 10 805 1h22m35s 6s156ms 11 2 6s777ms 3s388ms [ User: pubeu - Total duration: 23m23s - Times executed: 212 ]
-
SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'signs and symptoms' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" 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 = 2089995) and diseaseTerm.object_type_id = 3;
Date: 2025-03-08 11:27:09 Duration: 1m12s Bind query: yes
-
SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'cardiovascular diseases' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" 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 = 2100762) and diseaseTerm.object_type_id = 3;
Date: 2025-03-08 11:22:14 Duration: 1m9s Bind query: yes
-
SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'cardiovascular diseases' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" 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 = 2100762) and diseaseTerm.object_type_id = 3;
Date: 2025-03-08 11:31:51 Duration: 1m8s Bind query: yes
11 1s 18s40ms 5s801ms 381 36m50s 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 #11
Day Hour Count Duration Avg duration Mar 02 23 3 8s139ms 2s713ms 00 1 5s987ms 5s987ms 01 1 1s80ms 1s80ms 02 4 27s584ms 6s896ms 03 1 16s294ms 16s294ms 04 2 2s470ms 1s235ms 05 1 1s72ms 1s72ms 07 2 2s794ms 1s397ms 09 3 29s98ms 9s699ms 10 1 1s114ms 1s114ms 13 2 17s18ms 8s509ms 14 4 4s446ms 1s111ms 15 1 3s615ms 3s615ms 17 1 1s11ms 1s11ms 18 2 7s52ms 3s526ms 19 4 25s976ms 6s494ms 20 1 1s31ms 1s31ms 21 1 1s34ms 1s34ms 22 1 16s210ms 16s210ms Mar 03 23 1 1s83ms 1s83ms 01 2 32s412ms 16s206ms 03 1 1s295ms 1s295ms 04 1 16s607ms 16s607ms 05 3 20s840ms 6s946ms 07 2 3s423ms 1s711ms 10 3 48s282ms 16s94ms 11 1 1s372ms 1s372ms 12 4 35s354ms 8s838ms 13 1 16s167ms 16s167ms 14 3 20s862ms 6s954ms 15 3 34s305ms 11s435ms 16 4 11s195ms 2s798ms 17 2 2s113ms 1s56ms 18 3 25s817ms 8s605ms 19 2 12s261ms 6s130ms 20 1 17s135ms 17s135ms 21 4 26s941ms 6s735ms 22 1 1s302ms 1s302ms Mar 04 23 1 16s462ms 16s462ms 00 2 27s208ms 13s604ms 04 1 1s89ms 1s89ms 05 1 1s58ms 1s58ms 06 4 25s458ms 6s364ms 07 2 20s907ms 10s453ms 09 1 4s28ms 4s28ms 11 2 2s499ms 1s249ms 12 1 1s20ms 1s20ms 13 1 4s517ms 4s517ms 16 2 3s663ms 1s831ms 19 1 1s646ms 1s646ms 21 2 17s346ms 8s673ms 22 1 1s45ms 1s45ms Mar 05 23 2 18s245ms 9s122ms 00 1 3s964ms 3s964ms 01 1 1s667ms 1s667ms 02 4 25s169ms 6s292ms 03 7 38s848ms 5s549ms 04 2 12s818ms 6s409ms 05 5 42s663ms 8s532ms 06 2 5s102ms 2s551ms 07 3 4s728ms 1s576ms 08 1 1s217ms 1s217ms 09 3 22s149ms 7s383ms 10 2 18s450ms 9s225ms 11 3 27s355ms 9s118ms 12 2 21s164ms 10s582ms 13 3 17s684ms 5s894ms 14 2 2s484ms 1s242ms 15 5 13s765ms 2s753ms 16 4 33s97ms 8s274ms 18 4 10s482ms 2s620ms 19 3 11s623ms 3s874ms 20 1 1s602ms 1s602ms 21 2 9s88ms 4s544ms 22 2 12s172ms 6s86ms Mar 06 23 2 23s330ms 11s665ms 00 3 5s148ms 1s716ms 01 7 14s41ms 2s5ms 02 4 16s435ms 4s108ms 03 4 17s155ms 4s288ms 04 5 20s541ms 4s108ms 05 1 2s220ms 2s220ms 06 5 44s227ms 8s845ms 07 2 18s909ms 9s454ms 08 5 18s248ms 3s649ms 09 7 17s641ms 2s520ms 10 1 2s248ms 2s248ms 11 2 11s949ms 5s974ms 12 3 13s328ms 4s442ms 13 4 30s723ms 7s680ms 14 5 28s200ms 5s640ms 15 4 34s451ms 8s612ms 16 2 19s239ms 9s619ms 17 2 2s578ms 1s289ms 18 3 24s723ms 8s241ms 19 3 31s625ms 10s541ms 20 1 16s20ms 16s20ms 22 2 14s627ms 7s313ms Mar 07 23 1 16s658ms 16s658ms 00 4 36s924ms 9s231ms 01 3 13s738ms 4s579ms 02 2 10s461ms 5s230ms 03 8 49s796ms 6s224ms 04 3 24s928ms 8s309ms 05 1 1s137ms 1s137ms 06 1 2s350ms 2s350ms 07 2 8s536ms 4s268ms 09 3 26s301ms 8s767ms 10 3 21s150ms 7s50ms 11 1 6s36ms 6s36ms 12 2 6s583ms 3s291ms 13 2 14s920ms 7s460ms 15 5 10s642ms 2s128ms 16 6 27s482ms 4s580ms 17 5 42s89ms 8s417ms 18 2 12s37ms 6s18ms 19 4 8s96ms 2s24ms 20 2 3s378ms 1s689ms 21 3 3s944ms 1s314ms 22 4 8s5ms 2s1ms Mar 08 23 3 18s788ms 6s262ms 00 3 21s624ms 7s208ms 01 6 22s545ms 3s757ms 02 2 6s932ms 3s466ms 03 2 13s244ms 6s622ms 04 1 5s591ms 5s591ms 05 6 48s359ms 8s59ms 06 7 51s549ms 7s364ms 07 2 2s512ms 1s256ms 08 1 1s113ms 1s113ms 09 4 23s457ms 5s864ms 10 2 7s452ms 3s726ms 11 2 32s652ms 16s326ms 12 7 32s489ms 4s641ms 13 1 2s547ms 2s547ms 14 3 14s917ms 4s972ms 15 3 19s534ms 6s511ms 16 3 22s471ms 7s490ms 17 1 5s988ms 5s988ms 18 4 30s887ms 7s721ms 19 5 28s291ms 5s658ms 20 3 16s71ms 5s357ms 21 1 12s59ms 12s59ms 22 1 1s222ms 1s222ms [ User: pubeu - Total duration: 7m15s - Times executed: 71 ]
[ User: qaeu - Total duration: 1s625ms - Times executed: 1 ]
-
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 = '1228421'))) 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-03-08 20:32:41 Duration: 18s40ms 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 = '1228421'))) 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-03-08 06:33:41 Duration: 17s764ms 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 = '1228421'))) 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-03-06 00:56:37 Duration: 17s439ms Bind query: yes
12 1s 8s334ms 4s199ms 525 36m44s 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 Mar 02 23 4 20s469ms 5s117ms 00 4 21s944ms 5s486ms 01 3 14s884ms 4s961ms 02 3 11s407ms 3s802ms 03 1 1s21ms 1s21ms 04 5 21s94ms 4s218ms 05 4 12s58ms 3s14ms 06 2 9s832ms 4s916ms 07 2 11s168ms 5s584ms 08 1 4s870ms 4s870ms 09 4 16s449ms 4s112ms 10 4 16s396ms 4s99ms 11 4 20s491ms 5s122ms 12 2 10s242ms 5s121ms 13 4 15s932ms 3s983ms 14 5 25s222ms 5s44ms 15 4 16s288ms 4s72ms 16 3 14s161ms 4s720ms 17 4 16s373ms 4s93ms 18 4 16s478ms 4s119ms 19 9 32s688ms 3s632ms 20 3 15s972ms 5s324ms 21 6 30s513ms 5s85ms 22 2 11s557ms 5s778ms Mar 03 23 5 25s494ms 5s98ms 00 2 9s920ms 4s960ms 01 2 10s793ms 5s396ms 02 2 10s385ms 5s192ms 03 1 4s587ms 4s587ms 04 6 29s435ms 4s905ms 05 3 11s285ms 3s761ms 06 6 23s251ms 3s875ms 07 3 15s447ms 5s149ms 08 4 20s47ms 5s11ms 10 3 10s592ms 3s530ms 11 2 6s33ms 3s16ms 12 3 13s894ms 4s631ms 13 3 17s744ms 5s914ms 14 2 6s465ms 3s232ms 15 5 15s27ms 3s5ms 16 4 13s459ms 3s364ms 17 3 12s183ms 4s61ms 18 3 7s947ms 2s649ms 19 9 52s504ms 5s833ms 21 2 11s344ms 5s672ms 22 2 7s267ms 3s633ms Mar 04 23 5 15s494ms 3s98ms 00 5 29s50ms 5s810ms 04 2 6s541ms 3s270ms 05 2 6s841ms 3s420ms 07 2 12s23ms 6s11ms 08 1 6s18ms 6s18ms 09 4 18s100ms 4s525ms 10 2 6s842ms 3s421ms 11 4 22s970ms 5s742ms 12 1 5s405ms 5s405ms 13 2 7s165ms 3s582ms 14 1 5s371ms 5s371ms 15 1 1s84ms 1s84ms 16 1 5s443ms 5s443ms 18 3 8s331ms 2s777ms 19 11 48s261ms 4s387ms 20 1 6s543ms 6s543ms 21 1 5s449ms 5s449ms Mar 05 23 2 11s84ms 5s542ms 00 2 12s32ms 6s16ms 01 4 15s333ms 3s833ms 02 7 35s138ms 5s19ms 03 2 6s230ms 3s115ms 04 7 34s546ms 4s935ms 05 1 5s558ms 5s558ms 06 7 25s201ms 3s600ms 07 5 15s431ms 3s86ms 08 5 27s982ms 5s596ms 10 2 6s135ms 3s67ms 11 5 18s26ms 3s605ms 13 1 6s267ms 6s267ms 14 2 6s195ms 3s97ms 15 4 9s696ms 2s424ms 16 3 16s333ms 5s444ms 17 3 10s220ms 3s406ms 18 1 5s69ms 5s69ms 19 4 4s374ms 1s93ms 20 3 7s336ms 2s445ms 21 1 1s96ms 1s96ms 22 4 9s227ms 2s306ms Mar 06 23 1 5s629ms 5s629ms 00 8 39s90ms 4s886ms 01 6 30s109ms 5s18ms 02 4 18s186ms 4s546ms 03 1 1s139ms 1s139ms 04 3 13s481ms 4s493ms 05 6 20s976ms 3s496ms 06 6 23s977ms 3s996ms 07 4 18s619ms 4s654ms 08 4 12s353ms 3s88ms 09 1 5s863ms 5s863ms 10 7 24s449ms 3s492ms 12 1 4s974ms 4s974ms 13 6 31s438ms 5s239ms 14 5 25s73ms 5s14ms 15 3 12s870ms 4s290ms 16 2 2s232ms 1s116ms 18 2 6s950ms 3s475ms 19 4 13s890ms 3s472ms 20 2 7s30ms 3s515ms 21 4 19s694ms 4s923ms 22 3 17s280ms 5s760ms Mar 07 23 5 18s786ms 3s757ms 00 9 28s786ms 3s198ms 01 1 1s161ms 1s161ms 02 4 14s127ms 3s531ms 03 3 12s673ms 4s224ms 04 2 7s34ms 3s517ms 05 1 5s628ms 5s628ms 06 9 46s808ms 5s200ms 07 1 5s522ms 5s522ms 08 4 23s835ms 5s958ms 09 1 1s162ms 1s162ms 10 5 16s353ms 3s270ms 11 7 37s197ms 5s313ms 12 3 12s753ms 4s251ms 13 3 12s183ms 4s61ms 14 1 5s699ms 5s699ms 15 1 1s97ms 1s97ms 16 1 1s95ms 1s95ms 17 5 18s647ms 3s729ms 18 7 26s142ms 3s734ms 19 7 26s807ms 3s829ms 21 3 11s943ms 3s981ms 22 6 19s983ms 3s330ms Mar 08 23 4 13s123ms 3s280ms 00 7 27s129ms 3s875ms 01 4 18s325ms 4s581ms 02 3 8s435ms 2s811ms 03 2 7s316ms 3s658ms 04 5 20s203ms 4s40ms 05 3 12s995ms 4s331ms 06 4 14s52ms 3s513ms 07 2 12s1ms 6s 08 1 1s108ms 1s108ms 09 1 5s888ms 5s888ms 10 2 6s972ms 3s486ms 11 4 13s157ms 3s289ms 12 5 19s238ms 3s847ms 13 1 1s69ms 1s69ms 15 2 11s169ms 5s584ms 16 2 6s802ms 3s401ms 18 2 2s187ms 1s93ms 19 1 5s914ms 5s914ms 20 3 16s990ms 5s663ms 21 1 1s78ms 1s78ms 22 8 40s735ms 5s91ms [ User: pubeu - Total duration: 8m38s - Times executed: 127 ]
-
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 = '1285677' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-03-07 12:35:36 Duration: 8s334ms 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 = '1271284' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-03-05 18:29:14 Duration: 8s9ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1404495' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-03-02 15:04:03 Duration: 7s141ms Bind query: yes
13 3s851ms 8s398ms 4s130ms 367 25m16s 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 #13
Day Hour Count Duration Avg duration Mar 02 23 2 8s344ms 4s172ms 01 2 8s467ms 4s233ms 02 5 20s28ms 4s5ms 03 6 24s202ms 4s33ms 04 2 8s113ms 4s56ms 05 1 4s167ms 4s167ms 10 4 16s357ms 4s89ms 12 3 11s846ms 3s948ms 14 3 12s259ms 4s86ms 15 9 37s100ms 4s122ms 16 2 7s935ms 3s967ms 18 1 4s43ms 4s43ms 19 1 3s851ms 3s851ms 21 1 4s147ms 4s147ms 22 1 4s71ms 4s71ms Mar 03 23 2 8s208ms 4s104ms 00 2 8s77ms 4s38ms 01 4 16s535ms 4s133ms 02 6 24s163ms 4s27ms 04 9 36s811ms 4s90ms 05 8 33s8ms 4s126ms 07 2 8s276ms 4s138ms 08 9 36s892ms 4s99ms 09 4 16s491ms 4s122ms 10 11 44s172ms 4s15ms 11 1 3s890ms 3s890ms 12 3 12s711ms 4s237ms 13 4 16s251ms 4s62ms 14 3 11s881ms 3s960ms 15 1 4s37ms 4s37ms 17 1 4s53ms 4s53ms 19 4 16s57ms 4s14ms 20 1 4s209ms 4s209ms 21 2 8s114ms 4s57ms Mar 04 23 1 4s45ms 4s45ms 00 2 8s193ms 4s96ms 04 1 3s919ms 3s919ms 05 2 7s877ms 3s938ms 08 1 4s169ms 4s169ms 10 3 12s817ms 4s272ms 11 2 8s227ms 4s113ms 12 5 20s308ms 4s61ms 13 1 3s987ms 3s987ms 15 1 4s240ms 4s240ms 17 3 12s649ms 4s216ms 19 7 28s90ms 4s12ms 21 2 8s25ms 4s12ms 22 5 20s775ms 4s155ms Mar 05 23 1 4s166ms 4s166ms 00 1 3s929ms 3s929ms 01 1 4s302ms 4s302ms 02 6 24s745ms 4s124ms 04 8 32s491ms 4s61ms 05 1 4s179ms 4s179ms 06 2 8s223ms 4s111ms 08 7 28s141ms 4s20ms 09 3 12s402ms 4s134ms 10 7 30s216ms 4s316ms 11 2 8s239ms 4s119ms 12 8 32s345ms 4s43ms 14 2 8s226ms 4s113ms 15 1 4s73ms 4s73ms 17 4 16s492ms 4s123ms 18 1 4s29ms 4s29ms 19 2 8s129ms 4s64ms 21 1 4s234ms 4s234ms 22 3 13s62ms 4s354ms Mar 06 01 1 4s449ms 4s449ms 02 3 12s550ms 4s183ms 03 4 16s642ms 4s160ms 04 22 1m29s 4s66ms 05 2 8s196ms 4s98ms 06 3 12s208ms 4s69ms 07 2 8s159ms 4s79ms 08 2 8s387ms 4s193ms 09 6 25s480ms 4s246ms 10 1 4s169ms 4s169ms 11 2 8s307ms 4s153ms 12 3 12s357ms 4s119ms 13 1 4s430ms 4s430ms 14 4 16s658ms 4s164ms 15 2 8s692ms 4s346ms 16 3 12s257ms 4s85ms 18 1 4s108ms 4s108ms 19 1 4s267ms 4s267ms 20 3 12s312ms 4s104ms 21 1 4s290ms 4s290ms 22 2 8s105ms 4s52ms Mar 07 23 1 4s347ms 4s347ms 00 2 8s261ms 4s130ms 01 3 12s329ms 4s109ms 03 1 4s222ms 4s222ms 04 1 4s262ms 4s262ms 05 2 8s14ms 4s7ms 07 3 12s162ms 4s54ms 08 2 8s254ms 4s127ms 09 2 8s375ms 4s187ms 10 12 49s750ms 4s145ms 11 7 37s175ms 5s310ms 13 4 16s612ms 4s153ms 15 1 4s104ms 4s104ms 16 2 7s978ms 3s989ms 17 1 4s123ms 4s123ms 21 1 4s389ms 4s389ms 22 2 7s989ms 3s994ms Mar 08 23 2 8s206ms 4s103ms 02 3 12s499ms 4s166ms 03 4 16s915ms 4s228ms 04 3 12s212ms 4s70ms 05 3 12s283ms 4s94ms 07 1 4s24ms 4s24ms 08 1 4s127ms 4s127ms 10 1 4s209ms 4s209ms 11 1 4s71ms 4s71ms 12 1 3s972ms 3s972ms 14 1 4s82ms 4s82ms 17 1 4s78ms 4s78ms 18 2 8s224ms 4s112ms 19 1 4s88ms 4s88ms 20 1 4s190ms 4s190ms 21 1 4s115ms 4s115ms 22 7 29s120ms 4s160ms [ User: pubeu - Total duration: 4m48s - Times executed: 69 ]
[ User: qaeu - Total duration: 4s43ms - Times executed: 1 ]
-
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 = '1443894') 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 = '1443894') 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-03-07 12:00:40 Duration: 8s398ms 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 = '1443894') 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 = '1443894') 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-03-07 12:00:44 Duration: 8s148ms 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 = '1336748') 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 = '1336748') 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-03-05 11:42:59 Duration: 5s200ms Bind query: yes
14 1s7ms 13s365ms 3s528ms 794 46m41s 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 #14
Day Hour Count Duration Avg duration Mar 02 23 7 24s12ms 3s430ms 00 5 21s567ms 4s313ms 01 15 54s399ms 3s626ms 02 11 35s478ms 3s225ms 03 5 20s521ms 4s104ms 04 9 41s980ms 4s664ms 05 6 23s884ms 3s980ms 06 5 17s663ms 3s532ms 07 11 38s745ms 3s522ms 08 7 15s41ms 2s148ms 09 8 17s37ms 2s129ms 10 8 19s360ms 2s420ms 11 13 40s940ms 3s149ms 12 3 5s308ms 1s769ms 13 11 34s506ms 3s136ms 14 8 26s949ms 3s368ms 15 13 37s738ms 2s902ms 16 7 15s405ms 2s200ms 17 10 27s389ms 2s738ms 18 9 39s80ms 4s342ms 19 5 15s596ms 3s119ms 20 12 41s271ms 3s439ms 21 12 41s354ms 3s446ms 22 11 45s939ms 4s176ms Mar 03 23 7 19s326ms 2s760ms 00 6 16s461ms 2s743ms 01 8 23s20ms 2s877ms 02 7 18s8ms 2s572ms 03 7 26s241ms 3s748ms 04 8 24s939ms 3s117ms 05 11 35s213ms 3s201ms 06 7 23s500ms 3s357ms 07 8 20s805ms 2s600ms 08 10 30s606ms 3s60ms 09 8 22s979ms 2s872ms 10 9 36s952ms 4s105ms 11 5 14s809ms 2s961ms 12 8 18s49ms 2s256ms 13 10 42s171ms 4s217ms 14 9 37s230ms 4s136ms 15 7 31s486ms 4s498ms 16 13 1m 4s671ms 17 9 31s384ms 3s487ms 18 13 30s782ms 2s367ms 19 11 49s450ms 4s495ms 20 11 44s359ms 4s32ms 21 6 15s998ms 2s666ms 22 5 30s103ms 6s20ms Mar 04 23 7 24s950ms 3s564ms 00 15 53s611ms 3s574ms 01 2 7s766ms 3s883ms 04 2 11s61ms 5s530ms 05 11 46s80ms 4s189ms 06 3 6s264ms 2s88ms 07 9 30s353ms 3s372ms 08 9 27s129ms 3s14ms 09 5 11s547ms 2s309ms 10 2 8s465ms 4s232ms 11 2 13s14ms 6s507ms 12 4 12s140ms 3s35ms 13 1 2s187ms 2s187ms 14 2 3s246ms 1s623ms 15 3 15s447ms 5s149ms 16 3 12s748ms 4s249ms 17 4 7s512ms 1s878ms 18 3 13s377ms 4s459ms 19 5 11s955ms 2s391ms 20 9 47s728ms 5s303ms 21 6 18s831ms 3s138ms 22 6 26s95ms 4s349ms Mar 05 23 1 6s973ms 6s973ms 00 8 24s456ms 3s57ms 01 9 15s393ms 1s710ms 02 11 30s141ms 2s740ms 03 5 21s407ms 4s281ms 04 6 30s847ms 5s141ms 05 3 12s519ms 4s173ms 06 9 24s773ms 2s752ms 07 7 17s776ms 2s539ms 08 3 13s180ms 4s393ms 09 3 5s492ms 1s830ms 10 3 7s234ms 2s411ms 11 10 47s860ms 4s786ms 12 1 1s667ms 1s667ms 13 3 34s396ms 11s465ms 14 3 6s963ms 2s321ms 16 1 1s931ms 1s931ms 17 2 4s293ms 2s146ms 18 4 21s22ms 5s255ms 19 1 5s261ms 5s261ms 20 2 16s708ms 8s354ms 21 5 19s262ms 3s852ms Mar 06 23 2 11s573ms 5s786ms 00 1 4s667ms 4s667ms 01 3 5s515ms 1s838ms 02 3 5s573ms 1s857ms 03 2 6s818ms 3s409ms 04 4 20s357ms 5s89ms 05 3 8s298ms 2s766ms 06 3 17s542ms 5s847ms 07 2 7s354ms 3s677ms 08 2 6s114ms 3s57ms 09 1 1s510ms 1s510ms 10 1 2s175ms 2s175ms 11 3 15s844ms 5s281ms 12 1 1s771ms 1s771ms 13 1 5s345ms 5s345ms 14 3 5s371ms 1s790ms 15 3 12s293ms 4s97ms 16 2 18s541ms 9s270ms 17 1 1s272ms 1s272ms 18 2 5s918ms 2s959ms 19 4 13s369ms 3s342ms 20 1 2s801ms 2s801ms 21 5 32s200ms 6s440ms 22 3 6s729ms 2s243ms Mar 07 23 3 11s836ms 3s945ms 00 2 9s330ms 4s665ms 01 1 2s812ms 2s812ms 03 2 4s105ms 2s52ms 04 3 14s159ms 4s719ms 05 1 2s807ms 2s807ms 07 1 2s460ms 2s460ms 08 1 2s612ms 2s612ms 09 6 34s803ms 5s800ms 10 1 1s14ms 1s14ms 11 3 9s646ms 3s215ms 12 4 14s961ms 3s740ms 13 6 30s564ms 5s94ms 14 4 5s98ms 1s274ms 16 2 4s863ms 2s431ms 18 4 15s31ms 3s757ms 19 2 3s397ms 1s698ms 20 2 6s665ms 3s332ms 21 2 14s95ms 7s47ms 22 1 4s922ms 4s922ms Mar 08 23 2 14s589ms 7s294ms 00 4 16s872ms 4s218ms 01 4 5s829ms 1s457ms 02 3 12s872ms 4s290ms 03 1 1s765ms 1s765ms 04 4 7s223ms 1s805ms 05 6 24s253ms 4s42ms 06 2 6s18ms 3s9ms 07 1 3s212ms 3s212ms 09 3 5s596ms 1s865ms 10 5 11s141ms 2s228ms 11 3 8s932ms 2s977ms 12 4 9s286ms 2s321ms 14 3 5s255ms 1s751ms 15 2 13s661ms 6s830ms 16 2 2s685ms 1s342ms 18 2 2s949ms 1s474ms 19 2 7s628ms 3s814ms 20 1 3s208ms 3s208ms 21 3 18s963ms 6s321ms 22 3 18s608ms 6s202ms [ User: pubeu - Total duration: 11m49s - Times executed: 198 ]
-
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 = '2089995') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-03-03 23:16:37 Duration: 13s365ms 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 = '2089995') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-03-05 05:39:44 Duration: 12s958ms 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 = '2089995') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-03-06 17:18:47 Duration: 12s860ms Bind query: yes
15 1s 7s396ms 3s219ms 1,775 1h35m14s select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where associatedterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Mar 02 00 8 26s208ms 3s276ms 01 5 9s922ms 1s984ms 02 9 32s821ms 3s646ms 03 10 31s73ms 3s107ms 04 6 26s782ms 4s463ms 05 8 19s307ms 2s413ms 06 5 12s61ms 2s412ms 07 7 26s186ms 3s740ms 08 5 11s146ms 2s229ms 09 10 31s867ms 3s186ms 10 7 17s837ms 2s548ms 11 2 3s733ms 1s866ms 12 10 34s519ms 3s451ms 13 8 22s458ms 2s807ms 14 13 39s194ms 3s14ms 15 6 20s790ms 3s465ms 16 9 32s423ms 3s602ms 17 6 15s252ms 2s542ms 18 6 12s797ms 2s132ms 19 13 44s237ms 3s402ms 20 6 16s804ms 2s800ms 21 13 28s578ms 2s198ms 22 1 1s874ms 1s874ms Mar 03 23 8 33s225ms 4s153ms 00 7 25s546ms 3s649ms 01 6 24s609ms 4s101ms 02 9 31s603ms 3s511ms 03 5 20s80ms 4s16ms 04 5 10s328ms 2s65ms 05 9 34s574ms 3s841ms 06 6 21s735ms 3s622ms 07 2 8s8ms 4s4ms 08 7 25s282ms 3s611ms 09 11 27s213ms 2s473ms 10 6 23s956ms 3s992ms 11 8 20s90ms 2s511ms 12 5 18s20ms 3s604ms 13 6 20s479ms 3s413ms 14 6 21s188ms 3s531ms 15 6 17s674ms 2s945ms 16 8 23s414ms 2s926ms 17 3 11s667ms 3s889ms 18 8 23s701ms 2s962ms 19 10 36s99ms 3s609ms 20 12 30s293ms 2s524ms 21 6 16s39ms 2s673ms 22 9 32s997ms 3s666ms Mar 04 23 11 34s58ms 3s96ms 00 8 27s206ms 3s400ms 01 1 1s31ms 1s31ms 04 4 9s85ms 2s271ms 05 7 31s193ms 4s456ms 06 6 23s541ms 3s923ms 07 3 4s778ms 1s592ms 08 3 5s693ms 1s897ms 09 10 35s142ms 3s514ms 10 2 5s426ms 2s713ms 11 4 9s145ms 2s286ms 13 3 5s406ms 1s802ms 15 3 4s606ms 1s535ms 16 3 10s945ms 3s648ms 17 1 1s339ms 1s339ms 18 3 6s367ms 2s122ms 19 7 21s58ms 3s8ms 21 2 8s729ms 4s364ms 22 1 2s954ms 2s954ms Mar 05 23 4 13s339ms 3s334ms 00 2 8s214ms 4s107ms 01 4 12s575ms 3s143ms 02 11 40s852ms 3s713ms 03 13 35s780ms 2s752ms 04 14 55s642ms 3s974ms 05 21 54s241ms 2s582ms 06 24 1m21s 3s394ms 07 16 48s732ms 3s45ms 08 18 1m 3s364ms 09 16 51s594ms 3s224ms 10 7 23s163ms 3s309ms 11 16 47s622ms 2s976ms 12 10 23s181ms 2s318ms 13 8 22s602ms 2s825ms 14 8 20s277ms 2s534ms 15 16 1m2s 3s930ms 16 7 31s578ms 4s511ms 17 15 46s797ms 3s119ms 18 13 34s754ms 2s673ms 19 14 42s13ms 3s 20 8 28s930ms 3s616ms 21 15 54s937ms 3s662ms 22 10 42s586ms 4s258ms Mar 06 23 13 38s679ms 2s975ms 00 27 1m22s 3s46ms 01 14 40s695ms 2s906ms 02 14 47s268ms 3s376ms 03 16 44s737ms 2s796ms 04 20 47s586ms 2s379ms 05 11 35s342ms 3s212ms 06 17 46s338ms 2s725ms 07 21 1m10s 3s378ms 08 19 1m2s 3s287ms 09 18 51s400ms 2s855ms 10 11 39s955ms 3s632ms 11 15 48s477ms 3s231ms 12 11 34s579ms 3s143ms 13 12 30s694ms 2s557ms 14 15 53s488ms 3s565ms 15 15 38s986ms 2s599ms 16 10 31s834ms 3s183ms 17 15 48s143ms 3s209ms 18 18 1m9s 3s845ms 19 16 55s289ms 3s455ms 20 12 42s228ms 3s519ms 21 8 18s883ms 2s360ms 22 13 44s111ms 3s393ms Mar 07 23 11 32s523ms 2s956ms 00 12 41s129ms 3s427ms 01 18 1m17s 4s305ms 02 18 53s885ms 2s993ms 03 12 34s178ms 2s848ms 04 20 1m2s 3s139ms 05 17 54s29ms 3s178ms 06 17 55s88ms 3s240ms 07 15 51s624ms 3s441ms 08 18 56s988ms 3s166ms 09 9 26s888ms 2s987ms 10 11 40s756ms 3s705ms 11 10 23s264ms 2s326ms 12 18 55s353ms 3s75ms 13 14 39s884ms 2s848ms 14 6 27s422ms 4s570ms 15 13 38s463ms 2s958ms 16 11 42s565ms 3s869ms 17 13 31s788ms 2s445ms 18 18 1m15s 4s194ms 19 14 37s579ms 2s684ms 20 15 54s171ms 3s611ms 21 14 44s137ms 3s152ms 22 23 59s522ms 2s587ms Mar 08 23 17 1m8s 4s18ms 00 19 52s804ms 2s779ms 01 16 45s700ms 2s856ms 02 17 52s224ms 3s72ms 03 14 42s905ms 3s64ms 04 15 57s812ms 3s854ms 05 16 1m 3s806ms 06 11 34s290ms 3s117ms 07 7 25s633ms 3s661ms 08 15 50s586ms 3s372ms 09 17 1m4s 3s784ms 10 15 54s483ms 3s632ms 11 12 43s951ms 3s662ms 12 7 19s962ms 2s851ms 13 14 53s680ms 3s834ms 14 18 56s882ms 3s160ms 15 10 34s951ms 3s495ms 16 17 54s990ms 3s234ms 17 15 40s894ms 2s726ms 18 12 47s431ms 3s952ms 19 21 1m20s 3s813ms 20 7 16s771ms 2s395ms 21 22 1m20s 3s674ms 22 20 1m5s 3s278ms [ User: pubeu - Total duration: 21m59s - Times executed: 406 ]
-
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-03-02 05:56:30 Duration: 7s396ms 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-03-02 15:59:57 Duration: 7s362ms 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 = '1405728'))) 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-03-08 06:39:32 Duration: 7s62ms Database: ctdprd51 User: pubeu Bind query: yes
16 1s10ms 6s215ms 2s660ms 493 21m51s 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 #16
Day Hour Count Duration Avg duration Mar 02 23 1 5s960ms 5s960ms 02 2 11s721ms 5s860ms 03 1 2s85ms 2s85ms 04 2 3s192ms 1s596ms 05 2 3s450ms 1s725ms 06 1 2s210ms 2s210ms 07 3 4s747ms 1s582ms 08 1 1s96ms 1s96ms 10 3 10s471ms 3s490ms 11 2 3s729ms 1s864ms 13 2 3s543ms 1s771ms 14 5 10s162ms 2s32ms 15 4 6s92ms 1s523ms 16 2 7s374ms 3s687ms 17 2 3s834ms 1s917ms 18 1 5s866ms 5s866ms 19 1 1s195ms 1s195ms 20 1 2s92ms 2s92ms 21 1 5s743ms 5s743ms 22 2 4s189ms 2s94ms Mar 03 23 1 2s5ms 2s5ms 00 5 6s948ms 1s389ms 01 2 3s927ms 1s963ms 02 3 5s270ms 1s756ms 03 2 4s365ms 2s182ms 04 1 2s159ms 2s159ms 05 1 2s63ms 2s63ms 06 3 9s463ms 3s154ms 07 3 4s367ms 1s455ms 09 3 5s811ms 1s937ms 10 2 3s484ms 1s742ms 11 4 8s878ms 2s219ms 12 1 2s245ms 2s245ms 14 2 3s424ms 1s712ms 16 1 1s285ms 1s285ms 17 6 15s267ms 2s544ms 19 1 5s806ms 5s806ms 20 1 5s850ms 5s850ms 21 2 3s896ms 1s948ms 22 1 1s276ms 1s276ms Mar 04 23 1 5s785ms 5s785ms 00 1 2s106ms 2s106ms 04 5 12s614ms 2s522ms 05 2 4s14ms 2s7ms 06 1 5s910ms 5s910ms 09 2 7s182ms 3s591ms 13 2 3s133ms 1s566ms 14 1 2s643ms 2s643ms 15 2 5s368ms 2s684ms 16 1 2s380ms 2s380ms 17 3 6s609ms 2s203ms 18 4 12s861ms 3s215ms 22 1 1s624ms 1s624ms Mar 05 23 2 7s939ms 3s969ms 01 1 2s33ms 2s33ms 02 6 23s625ms 3s937ms 03 4 9s327ms 2s331ms 04 6 12s664ms 2s110ms 05 6 14s354ms 2s392ms 06 2 8s168ms 4s84ms 07 6 16s997ms 2s832ms 08 5 12s930ms 2s586ms 09 4 13s175ms 3s293ms 10 3 10s143ms 3s381ms 11 2 5s485ms 2s742ms 12 1 2s154ms 2s154ms 13 2 5s92ms 2s546ms 14 3 6s161ms 2s53ms 15 7 22s224ms 3s174ms 17 7 17s560ms 2s508ms 18 1 2s713ms 2s713ms 19 5 13s734ms 2s746ms 20 4 12s50ms 3s12ms 21 5 11s749ms 2s349ms 22 4 10s289ms 2s572ms Mar 06 23 2 11s676ms 5s838ms 00 6 13s803ms 2s300ms 01 3 6s131ms 2s43ms 02 4 8s393ms 2s98ms 03 7 22s398ms 3s199ms 04 5 13s60ms 2s612ms 05 4 8s578ms 2s144ms 06 6 15s519ms 2s586ms 07 7 16s529ms 2s361ms 08 7 19s889ms 2s841ms 09 7 19s531ms 2s790ms 10 3 6s468ms 2s156ms 11 3 8s40ms 2s680ms 12 4 7s619ms 1s904ms 13 5 16s968ms 3s393ms 14 5 10s720ms 2s144ms 15 2 5s329ms 2s664ms 16 5 10s904ms 2s180ms 17 4 9s834ms 2s458ms 18 7 22s865ms 3s266ms 19 3 9s606ms 3s202ms 20 3 4s603ms 1s534ms 21 6 16s914ms 2s819ms 22 3 6s530ms 2s176ms Mar 07 23 4 8s451ms 2s112ms 00 5 11s8ms 2s201ms 01 3 11s997ms 3s999ms 02 7 17s845ms 2s549ms 03 5 9s867ms 1s973ms 04 4 14s311ms 3s577ms 05 6 14s208ms 2s368ms 06 1 3s343ms 3s343ms 07 3 5s672ms 1s890ms 08 2 7s458ms 3s729ms 09 3 6s725ms 2s241ms 10 7 15s360ms 2s194ms 11 3 10s787ms 3s595ms 12 5 12s539ms 2s507ms 13 3 7s575ms 2s525ms 14 1 4s89ms 4s89ms 15 6 17s77ms 2s846ms 16 2 4s143ms 2s71ms 17 1 2s710ms 2s710ms 18 2 5s329ms 2s664ms 19 6 15s149ms 2s524ms 20 5 16s205ms 3s241ms 21 2 4s749ms 2s374ms 22 2 6s46ms 3s23ms Mar 08 23 4 8s886ms 2s221ms 00 2 5s28ms 2s514ms 01 7 22s13ms 3s144ms 02 4 8s617ms 2s154ms 03 5 13s680ms 2s736ms 04 3 9s708ms 3s236ms 05 8 20s767ms 2s595ms 06 3 7s64ms 2s354ms 07 3 14s553ms 4s851ms 08 3 8s87ms 2s695ms 09 5 15s590ms 3s118ms 10 7 17s431ms 2s490ms 12 6 20s653ms 3s442ms 13 2 7s813ms 3s906ms 14 3 9s993ms 3s331ms 15 4 9s248ms 2s312ms 16 4 9s796ms 2s449ms 17 4 11s836ms 2s959ms 18 3 11s355ms 3s785ms 19 6 13s914ms 2s319ms 20 4 14s478ms 3s619ms 21 3 6s73ms 2s24ms 22 5 10s911ms 2s182ms [ User: pubeu - Total duration: 5m16s - Times executed: 119 ]
-
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 = '658110' 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 = '658110') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-03-05 03:36:39 Duration: 6s215ms 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 = '658110' 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 = '658110') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-03-08 10:32:52 Duration: 6s214ms 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 = '658110' 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 = '658110') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-03-04 05:36:51 Duration: 6s149ms Database: ctdprd51 User: pubeu Bind query: yes
17 1s 4s893ms 2s496ms 1,633 1h7m56s 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 #17
Day Hour Count Duration Avg duration Mar 02 23 9 16s522ms 1s835ms 00 7 15s583ms 2s226ms 01 11 22s911ms 2s82ms 02 7 13s138ms 1s876ms 03 8 25s392ms 3s174ms 04 5 11s364ms 2s272ms 05 6 14s171ms 2s361ms 06 1 4s411ms 4s411ms 07 5 10s424ms 2s84ms 08 5 15s743ms 3s148ms 09 10 16s247ms 1s624ms 10 4 11s249ms 2s812ms 11 12 33s93ms 2s757ms 12 5 10s551ms 2s110ms 13 11 33s102ms 3s9ms 14 7 16s294ms 2s327ms 15 9 18s678ms 2s75ms 16 12 27s947ms 2s328ms 17 10 22s703ms 2s270ms 18 15 35s300ms 2s353ms 19 14 31s300ms 2s235ms 20 6 11s586ms 1s931ms 21 8 20s52ms 2s506ms 22 12 26s475ms 2s206ms Mar 03 23 6 16s62ms 2s677ms 00 7 11s647ms 1s663ms 01 9 28s798ms 3s199ms 02 7 20s204ms 2s886ms 03 8 19s374ms 2s421ms 04 4 11s403ms 2s850ms 05 5 16s650ms 3s330ms 06 4 9s508ms 2s377ms 07 8 17s295ms 2s161ms 08 10 24s881ms 2s488ms 09 16 36s264ms 2s266ms 10 9 19s52ms 2s116ms 11 1 1s291ms 1s291ms 12 8 20s283ms 2s535ms 13 6 8s896ms 1s482ms 14 5 7s216ms 1s443ms 15 9 21s285ms 2s365ms 16 7 16s427ms 2s346ms 17 8 19s668ms 2s458ms 18 10 21s311ms 2s131ms 19 21 49s979ms 2s379ms 20 10 31s368ms 3s136ms 21 7 19s115ms 2s730ms 22 4 9s391ms 2s347ms Mar 04 23 7 15s427ms 2s203ms 00 9 25s492ms 2s832ms 04 1 1s108ms 1s108ms 05 5 11s739ms 2s347ms 06 6 18s538ms 3s89ms 07 3 5s248ms 1s749ms 08 4 14s901ms 3s725ms 09 9 23s285ms 2s587ms 10 3 3s980ms 1s326ms 11 1 4s189ms 4s189ms 12 4 12s248ms 3s62ms 13 3 8s71ms 2s690ms 15 1 4s122ms 4s122ms 17 3 7s425ms 2s475ms 18 2 8s348ms 4s174ms 19 13 27s934ms 2s148ms 21 1 1s28ms 1s28ms 22 5 11s473ms 2s294ms Mar 05 23 2 3s59ms 1s529ms 00 3 9s739ms 3s246ms 02 11 27s986ms 2s544ms 03 9 25s89ms 2s787ms 04 18 46s954ms 2s608ms 05 18 48s506ms 2s694ms 06 15 43s454ms 2s896ms 07 17 50s412ms 2s965ms 08 5 12s452ms 2s490ms 09 12 32s289ms 2s690ms 10 5 12s306ms 2s461ms 11 19 50s906ms 2s679ms 12 11 21s 1s909ms 13 15 37s849ms 2s523ms 14 6 13s362ms 2s227ms 15 11 31s549ms 2s868ms 16 2 5s172ms 2s586ms 17 12 39s646ms 3s303ms 18 7 18s493ms 2s641ms 19 11 28s152ms 2s559ms 20 12 31s680ms 2s640ms 21 14 35s387ms 2s527ms 22 15 44s495ms 2s966ms Mar 06 23 10 25s840ms 2s584ms 00 28 1m3s 2s282ms 01 13 40s52ms 3s80ms 02 18 43s36ms 2s390ms 03 14 25s795ms 1s842ms 04 9 18s922ms 2s102ms 05 12 24s195ms 2s16ms 06 12 27s965ms 2s330ms 07 15 33s110ms 2s207ms 08 14 39s482ms 2s820ms 09 13 41s770ms 3s213ms 10 4 15s438ms 3s859ms 11 8 15s658ms 1s957ms 12 17 43s589ms 2s564ms 13 15 46s516ms 3s101ms 14 13 37s69ms 2s851ms 15 8 20s820ms 2s602ms 16 13 28s984ms 2s229ms 17 15 42s153ms 2s810ms 18 10 30s369ms 3s36ms 19 15 43s925ms 2s928ms 20 19 48s624ms 2s559ms 21 8 18s850ms 2s356ms 22 13 35s730ms 2s748ms Mar 07 23 15 40s225ms 2s681ms 00 12 32s197ms 2s683ms 01 13 32s323ms 2s486ms 02 12 25s1ms 2s83ms 03 9 22s105ms 2s456ms 04 8 14s224ms 1s778ms 05 17 42s997ms 2s529ms 06 21 42s588ms 2s28ms 07 13 27s24ms 2s78ms 08 8 18s312ms 2s289ms 09 13 35s1ms 2s692ms 10 10 28s99ms 2s809ms 11 6 12s369ms 2s61ms 12 8 25s874ms 3s234ms 13 14 40s116ms 2s865ms 14 15 31s584ms 2s105ms 15 18 40s28ms 2s223ms 16 15 31s989ms 2s132ms 17 8 23s606ms 2s950ms 18 13 36s888ms 2s837ms 19 15 38s883ms 2s592ms 20 16 28s764ms 1s797ms 21 14 39s262ms 2s804ms 22 10 28s475ms 2s847ms Mar 08 23 9 21s260ms 2s362ms 00 12 25s195ms 2s99ms 01 7 15s921ms 2s274ms 02 12 31s370ms 2s614ms 03 8 16s160ms 2s20ms 04 16 33s768ms 2s110ms 05 22 1m2s 2s860ms 06 14 37s883ms 2s705ms 07 16 34s875ms 2s179ms 08 11 25s631ms 2s330ms 09 11 27s226ms 2s475ms 10 10 25s659ms 2s565ms 11 14 37s763ms 2s697ms 12 12 25s81ms 2s90ms 13 7 17s948ms 2s564ms 14 15 40s44ms 2s669ms 15 10 29s348ms 2s934ms 16 14 39s868ms 2s847ms 17 15 33s958ms 2s263ms 18 10 31s187ms 3s118ms 19 9 22s17ms 2s446ms 20 10 27s145ms 2s714ms 21 10 19s287ms 1s928ms 22 22 48s810ms 2s218ms [ User: pubeu - Total duration: 14m58s - Times executed: 361 ]
-
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-03-02 12:43:31 Duration: 4s893ms 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-03-02 12:47:35 Duration: 4s885ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '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-03-02 09:11:28 Duration: 4s752ms Database: ctdprd51 User: pubeu Bind query: yes
18 1s21ms 3s614ms 2s483ms 234 9m41s 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 #18
Day Hour Count Duration Avg duration Mar 02 23 1 3s365ms 3s365ms 00 1 3s321ms 3s321ms 02 1 3s356ms 3s356ms 04 4 9s164ms 2s291ms 09 1 2s915ms 2s915ms 11 2 6s845ms 3s422ms 14 1 3s550ms 3s550ms 15 1 3s614ms 3s614ms 20 1 3s366ms 3s366ms Mar 03 04 5 11s493ms 2s298ms 10 1 3s328ms 3s328ms 11 3 7s363ms 2s454ms 13 1 3s478ms 3s478ms 15 1 3s363ms 3s363ms Mar 04 04 4 9s202ms 2s300ms 07 2 4s653ms 2s326ms 08 3 7s937ms 2s645ms 11 1 2s13ms 2s13ms 13 4 10s913ms 2s728ms 14 1 2s834ms 2s834ms 15 2 5s406ms 2s703ms 16 1 2s593ms 2s593ms 17 1 2s835ms 2s835ms 20 2 4s601ms 2s300ms Mar 05 01 1 2s207ms 2s207ms 03 1 2s87ms 2s87ms 04 9 22s605ms 2s511ms 05 1 3s552ms 3s552ms 06 2 4s393ms 2s196ms 09 1 2s524ms 2s524ms 10 2 5s310ms 2s655ms 11 4 9s214ms 2s303ms 12 4 11s126ms 2s781ms 13 2 4s897ms 2s448ms 15 2 4s103ms 2s51ms 16 1 2s646ms 2s646ms 18 6 14s763ms 2s460ms 19 1 1s893ms 1s893ms 21 2 4s9ms 2s4ms 22 1 2s228ms 2s228ms Mar 06 23 5 13s109ms 2s621ms 00 1 1s833ms 1s833ms 01 2 4s580ms 2s290ms 02 3 7s155ms 2s385ms 03 1 2s525ms 2s525ms 04 6 13s200ms 2s200ms 05 4 8s771ms 2s192ms 06 1 1s881ms 1s881ms 07 1 1s985ms 1s985ms 08 2 4s502ms 2s251ms 09 2 5s230ms 2s615ms 10 1 1s773ms 1s773ms 11 2 4s367ms 2s183ms 12 1 2s62ms 2s62ms 13 2 4s704ms 2s352ms 14 3 7s793ms 2s597ms 15 3 7s181ms 2s393ms 16 3 6s702ms 2s234ms 18 5 11s967ms 2s393ms 22 1 2s469ms 2s469ms Mar 07 23 3 7s123ms 2s374ms 00 3 7s187ms 2s395ms 01 2 5s210ms 2s605ms 03 3 8s572ms 2s857ms 04 8 18s929ms 2s366ms 05 2 6s780ms 3s390ms 07 1 2s200ms 2s200ms 08 1 3s415ms 3s415ms 09 5 12s115ms 2s423ms 11 2 4s136ms 2s68ms 12 1 2s8ms 2s8ms 13 2 5s128ms 2s564ms 14 1 2s295ms 2s295ms 15 1 1s912ms 1s912ms 16 2 4s203ms 2s101ms 17 2 4s71ms 2s35ms 18 2 5s327ms 2s663ms 19 4 12s57ms 3s14ms 20 1 2s434ms 2s434ms 21 4 10s312ms 2s578ms 22 1 2s208ms 2s208ms Mar 08 23 2 4s559ms 2s279ms 00 3 8s451ms 2s817ms 01 1 3s396ms 3s396ms 02 2 4s645ms 2s322ms 04 5 10s942ms 2s188ms 05 3 9s464ms 3s154ms 06 1 3s339ms 3s339ms 07 1 2s877ms 2s877ms 08 2 4s392ms 2s196ms 09 3 7s720ms 2s573ms 11 1 1s946ms 1s946ms 12 1 2s53ms 2s53ms 13 1 2s193ms 2s193ms 14 3 6s219ms 2s73ms 15 1 2s445ms 2s445ms 16 3 7s726ms 2s575ms 17 2 4s54ms 2s27ms 18 3 8s928ms 2s976ms 19 2 4s947ms 2s473ms 20 1 2s328ms 2s328ms 21 6 13s60ms 2s176ms 22 2 4s880ms 2s440ms [ User: pubeu - Total duration: 2m19s - Times executed: 49 ]
[ User: qaeu - Total duration: 24s233ms - 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 = '655185' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 4 ORDER BY sn.path;
Date: 2025-03-02 16:33:56 Duration: 3s614ms 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 = '597156' 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-03-04 08:24:31 Duration: 3s601ms 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 = '597156' 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-03-04 14:33:55 Duration: 3s565ms Database: ctdprd51 User: pubeu Bind query: yes
19 1s4ms 2s424ms 1s737ms 339 9m48s select g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, i.id ixnid, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where gcr.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by g.nm_sort, c.nm_sort, i.sort_txt limit ? offset ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 02 05 2 2s93ms 1s46ms 09 2 2s193ms 1s96ms 12 2 2s98ms 1s49ms 13 2 2s62ms 1s31ms 17 1 1s4ms 1s4ms Mar 03 05 1 1s72ms 1s72ms 06 1 1s63ms 1s63ms 08 1 1s36ms 1s36ms 10 1 1s50ms 1s50ms Mar 04 09 2 3s223ms 1s611ms 12 1 1s40ms 1s40ms 19 1 2s424ms 2s424ms Mar 05 06 1 1s111ms 1s111ms 08 1 1s25ms 1s25ms 09 1 1s7ms 1s7ms 10 1 1s79ms 1s79ms 17 1 1s15ms 1s15ms 18 1 1s989ms 1s989ms 21 3 3s98ms 1s32ms Mar 06 00 1 1s101ms 1s101ms 02 1 1s8ms 1s8ms 11 3 3s138ms 1s46ms 14 1 1s9ms 1s9ms Mar 07 02 1 1s62ms 1s62ms 08 1 1s36ms 1s36ms 10 2 2s137ms 1s68ms Mar 08 01 1 1s62ms 1s62ms 05 1 1s58ms 1s58ms 06 301 9m5s 1s812ms [ User: pubeu - Total duration: 1m50s - Times executed: 71 ]
-
SELECT /* ChemGeneIxnsDAO */ g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, i.id ixnId, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1443883') GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY g.nm_sort, c.nm_sort, i.sort_txt LIMIT 50 OFFSET 150;
Date: 2025-03-04 20:30:27 Duration: 2s424ms Bind query: yes
-
SELECT /* ChemGeneIxnsDAO */ g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, i.id ixnId, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1423069') GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY g.nm_sort, c.nm_sort, i.sort_txt LIMIT 50 OFFSET 24300;
Date: 2025-03-08 07:30:52 Duration: 2s405ms Bind query: yes
-
SELECT /* ChemGeneIxnsDAO */ g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, i.id ixnId, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1423069') GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY g.nm_sort, c.nm_sort, i.sort_txt LIMIT 50 OFFSET 19150;
Date: 2025-03-08 07:30:50 Duration: 2s398ms Database: ctdprd51 User: pubeu Bind query: yes
20 1s88ms 3s162ms 1s640ms 687 18m46s 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 #20
Day Hour Count Duration Avg duration Mar 02 23 4 6s829ms 1s707ms 00 1 1s283ms 1s283ms 01 1 1s298ms 1s298ms 02 2 3s786ms 1s893ms 03 1 1s276ms 1s276ms 04 3 5s735ms 1s911ms 05 2 3s194ms 1s597ms 06 2 3s721ms 1s860ms 07 2 3s749ms 1s874ms 08 2 3s109ms 1s554ms 09 1 1s943ms 1s943ms 10 3 4s433ms 1s477ms 11 4 6s306ms 1s576ms 12 4 5s706ms 1s426ms 14 6 10s260ms 1s710ms 15 5 9s275ms 1s855ms 16 3 4s397ms 1s465ms 17 5 8s160ms 1s632ms 18 4 6s246ms 1s561ms 19 4 5s702ms 1s425ms 20 3 5s600ms 1s866ms 21 2 3s173ms 1s586ms 22 3 4s967ms 1s655ms Mar 03 00 2 3s150ms 1s575ms 01 3 4s983ms 1s661ms 02 1 1s862ms 1s862ms 04 1 1s871ms 1s871ms 05 4 6s840ms 1s710ms 06 3 5s576ms 1s858ms 07 2 3s773ms 1s886ms 08 2 3s664ms 1s832ms 10 3 5s578ms 1s859ms 11 1 1s276ms 1s276ms 12 2 3s131ms 1s565ms 13 2 2s555ms 1s277ms 14 3 5s76ms 1s692ms 15 1 1s838ms 1s838ms 16 2 3s129ms 1s564ms 17 8 11s608ms 1s451ms 18 4 6s857ms 1s714ms 19 2 3s682ms 1s841ms 20 1 1s872ms 1s872ms 21 6 10s698ms 1s783ms 22 3 5s645ms 1s881ms Mar 04 23 1 1s300ms 1s300ms 00 2 3s664ms 1s832ms 05 1 1s855ms 1s855ms 06 5 8s902ms 1s780ms 07 1 1s877ms 1s877ms 08 2 3s739ms 1s869ms 09 3 5s647ms 1s882ms 10 1 1s323ms 1s323ms 11 1 1s843ms 1s843ms 12 1 1s284ms 1s284ms 13 1 1s336ms 1s336ms 14 1 1s884ms 1s884ms 15 1 1s273ms 1s273ms 16 2 3s112ms 1s556ms 17 1 1s902ms 1s902ms 19 2 4s8ms 2s4ms Mar 05 23 2 3s712ms 1s856ms 00 2 3s256ms 1s628ms 01 1 2s111ms 2s111ms 02 3 5s37ms 1s679ms 03 8 13s845ms 1s730ms 04 6 10s35ms 1s672ms 05 6 9s581ms 1s596ms 06 11 18s252ms 1s659ms 07 9 12s729ms 1s414ms 08 4 6s912ms 1s728ms 09 7 11s305ms 1s615ms 10 6 9s422ms 1s570ms 11 6 9s490ms 1s581ms 12 2 3s193ms 1s596ms 13 8 14s315ms 1s789ms 14 3 4s454ms 1s484ms 15 6 8s811ms 1s468ms 16 4 7s551ms 1s887ms 17 3 5s691ms 1s897ms 18 9 13s940ms 1s548ms 19 7 10s775ms 1s539ms 20 9 13s357ms 1s484ms 21 2 3s739ms 1s869ms 22 9 16s92ms 1s788ms Mar 06 23 5 6s999ms 1s399ms 00 9 15s769ms 1s752ms 01 8 13s806ms 1s725ms 02 7 12s643ms 1s806ms 03 12 20s240ms 1s686ms 04 9 14s744ms 1s638ms 05 4 8s43ms 2s10ms 06 7 11s347ms 1s621ms 07 5 7s683ms 1s536ms 08 8 12s692ms 1s586ms 09 3 5s33ms 1s677ms 11 1 1s272ms 1s272ms 12 5 7s690ms 1s538ms 13 3 5s593ms 1s864ms 14 5 8s273ms 1s654ms 15 6 10s982ms 1s830ms 16 2 3s170ms 1s585ms 17 9 14s940ms 1s660ms 18 5 8s798ms 1s759ms 19 9 13s890ms 1s543ms 20 8 11s392ms 1s424ms 21 4 6s288ms 1s572ms 22 3 4s413ms 1s471ms Mar 07 23 6 10s772ms 1s795ms 00 7 12s117ms 1s731ms 01 8 13s226ms 1s653ms 02 5 8s138ms 1s627ms 03 11 17s635ms 1s603ms 04 8 14s461ms 1s807ms 05 5 6s455ms 1s291ms 06 15 25s865ms 1s724ms 07 6 10s662ms 1s777ms 08 4 6s862ms 1s715ms 09 5 8s765ms 1s753ms 10 6 9s504ms 1s584ms 11 5 8s198ms 1s639ms 12 2 3s789ms 1s894ms 13 3 4s434ms 1s478ms 14 4 7s63ms 1s765ms 15 2 3s815ms 1s907ms 16 7 10s715ms 1s530ms 17 4 7s446ms 1s861ms 18 5 8s173ms 1s634ms 19 6 9s459ms 1s576ms 20 4 6s874ms 1s718ms 21 2 2s577ms 1s288ms 22 7 10s733ms 1s533ms Mar 08 23 9 13s347ms 1s483ms 00 3 4s424ms 1s474ms 01 4 6s443ms 1s610ms 02 7 10s214ms 1s459ms 03 7 12s505ms 1s786ms 04 6 10s65ms 1s677ms 05 6 9s40ms 1s506ms 06 5 7s590ms 1s518ms 07 4 6s302ms 1s575ms 08 1 1s878ms 1s878ms 09 5 7s644ms 1s528ms 10 4 5s844ms 1s461ms 11 5 7s603ms 1s520ms 12 5 8s154ms 1s630ms 13 5 8s778ms 1s755ms 14 11 17s737ms 1s612ms 15 2 3s147ms 1s573ms 16 7 10s957ms 1s565ms 17 6 8s962ms 1s493ms 18 4 5s812ms 1s453ms 19 11 17s96ms 1s554ms 20 3 5s646ms 1s882ms 21 7 10s939ms 1s562ms 22 4 5s825ms 1s456ms [ User: pubeu - Total duration: 4m29s - Times executed: 162 ]
-
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-03-02 05:53:34 Duration: 3s162ms 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 = '1405728') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-03-06 06:44:17 Duration: 2s335ms 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 = '1405728') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-03-05 23:01:36 Duration: 2s262ms 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 2s161ms 2 1s80ms 1s80ms 1s80ms 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 stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = $1) or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = $2) 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;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Mar 08 14 2 2s161ms 1s80ms -
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 stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = $1) or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = $2) 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-03-02 15:17:51 Duration: 1s80ms Database: postgres parameters: $1 = '1281598', $2 = '1281598'
2 2s57ms 2 1s28ms 1s28ms 1s28ms 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 = $1 or receptorTerm.id = $2 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;Times Reported Time consuming bind #2
Day Hour Count Duration Avg duration 14 2 2s57ms 1s28ms -
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 = $1 or receptorTerm.id = $2 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-03-02 15:59:50 Duration: 1s28ms Database: postgres parameters: $1 = '1628364', $2 = '1628364'
3 0ms 815 0ms 0ms 0ms ;Times Reported Time consuming bind #3
Day Hour Count Duration Avg duration Mar 01 21 1 0ms 0ms Mar 02 23 1 0ms 0ms 05 26 0ms 0ms 06 10 0ms 0ms 07 38 0ms 0ms 08 8 0ms 0ms 16 4 0ms 0ms Mar 03 23 2 0ms 0ms 00 1 0ms 0ms 08 2 0ms 0ms 10 8 0ms 0ms 11 6 0ms 0ms 12 16 0ms 0ms 13 4 0ms 0ms 14 12 0ms 0ms Mar 04 23 1 0ms 0ms 05 8 0ms 0ms 06 4 0ms 0ms 07 10 0ms 0ms 08 20 0ms 0ms 09 14 0ms 0ms 10 14 0ms 0ms 13 2 0ms 0ms 14 26 0ms 0ms 15 4 0ms 0ms 20 4 0ms 0ms Mar 05 07 16 0ms 0ms 08 14 0ms 0ms 09 28 0ms 0ms 10 20 0ms 0ms 11 2 0ms 0ms 12 18 0ms 0ms 15 2 0ms 0ms 16 40 0ms 0ms 17 4 0ms 0ms Mar 06 05 26 0ms 0ms 06 22 0ms 0ms 07 34 0ms 0ms 08 20 0ms 0ms 09 32 0ms 0ms 10 46 0ms 0ms 11 42 0ms 0ms 13 6 0ms 0ms Mar 07 23 1 0ms 0ms 05 18 0ms 0ms 06 30 0ms 0ms 07 33 0ms 0ms 08 39 0ms 0ms 09 24 0ms 0ms 10 3 0ms 0ms 11 6 0ms 0ms 12 6 0ms 0ms 20 3 0ms 0ms 21 6 0ms 0ms Mar 08 23 4 0ms 0ms 06 18 0ms 0ms 18 3 0ms 0ms 20 3 0ms 0ms [ User: pubeu - Total duration: 9m29s - Times executed: 248 ]
-
;
Date: Duration: 0ms Database: postgres parameters: $1 = '1500573', $2 = '1500573'
-
Events
Log levels
Key values
- 497,769 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 61 FATAL entries
- 1003 ERROR entries
- 0 WARNING entries
- 48 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 987 Max number of times the same event was reported
- 1,112 Total events found
Rank Times reported Error 1 987 ERROR: syntax error in ts"..."
Times Reported Most Frequent Error / Event #1
Day Hour Count Mar 02 23 3 00 8 01 10 02 9 03 19 04 6 05 8 06 13 07 7 08 2 10 2 11 1 12 1 13 1 15 4 17 2 18 10 19 8 20 10 21 5 22 3 Mar 03 23 1 00 9 01 5 02 4 03 2 04 4 05 4 06 4 07 3 08 2 09 2 10 3 11 1 13 2 14 1 16 2 17 9 18 10 19 11 20 3 21 7 22 21 Mar 04 23 8 00 7 05 7 06 1 07 2 08 2 09 4 10 5 11 1 12 3 13 1 15 1 17 1 18 8 19 6 20 15 21 5 22 8 Mar 05 23 11 00 7 01 16 02 7 03 7 04 3 05 9 06 7 07 9 08 8 10 2 11 3 12 4 15 1 16 1 17 5 18 23 19 11 20 12 21 13 22 17 Mar 06 23 10 00 21 01 20 02 10 03 16 04 9 05 5 06 9 07 5 08 1 09 3 10 2 12 1 13 1 14 1 15 2 16 1 17 2 18 10 19 7 20 10 21 6 22 3 Mar 07 23 15 00 22 01 6 02 16 03 19 04 5 06 5 07 4 08 8 10 6 11 1 12 4 13 1 14 2 16 1 17 6 18 8 19 19 20 15 21 14 22 4 Mar 08 23 4 00 6 01 14 02 8 03 13 04 9 05 10 06 8 07 10 08 12 09 3 10 4 11 2 12 1 13 3 14 1 15 3 17 3 18 5 19 9 20 8 21 6 22 6 - ERROR: syntax error in ts"初夏 おすすめ 関東 日帰り"
- ERROR: syntax error in ts"シモンズ マットレス ゴールデンバリュープレミアム & AA21223"
- ERROR: syntax error in ts"機種変更 & やること & IPHONEからIPHONE SUICA"
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-03-02 00:16:14
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-03-02 02:29:19
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 OR upper( l.acc_txt ) = $4 OR upper( l.acc_txt ) = $5 OR upper( l.acc_txt ) = $6 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2025-03-02 02:29:55
2 35 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #2
Day Hour Count Mar 02 23 1 12 1 16 1 18 1 21 1 Mar 03 07 3 08 1 10 1 13 1 Mar 04 01 1 04 1 06 1 07 1 08 1 20 1 Mar 05 00 1 01 1 12 1 15 1 18 1 Mar 06 02 1 05 1 19 1 Mar 07 04 2 17 1 Mar 08 01 1 03 1 04 1 12 1 13 1 17 1 19 1 - FATAL: connection to client lost
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Date: 2025-03-04 02:41:03
3 33 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #3
Day Hour Count Mar 02 23 1 12 1 16 1 18 1 21 1 Mar 03 07 3 08 1 10 1 13 1 Mar 04 01 1 04 1 06 1 20 1 Mar 05 00 1 01 1 12 1 15 1 18 1 Mar 06 02 1 05 1 19 1 Mar 07 04 2 17 1 Mar 08 01 1 03 1 04 1 12 1 13 1 17 1 19 1 - LOG: 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-03-04 02:41:03 Database: ctdprd51 Application: User: pubeu Remote:
4 20 FATAL: canceling authentication due to timeout
Times Reported Most Frequent Error / Event #4
Day Hour Count Mar 04 01 1 06 7 07 4 08 5 20 3 5 10 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #5
Day Hour Count Mar 04 16 2 Mar 05 17 3 Mar 06 03 1 17 4 6 7 ERROR: invalid byte sequence for encoding
Times Reported Most Frequent Error / Event #6
Day Hour Count Mar 05 09 7 - ERROR: invalid byte sequence for encoding "UTF8": 0x00
Context: unnamed portal parameter $1
Statement: SELECT /* ObjectIdDAOImpl.LabelsAndAccs */ t.id ,t.nm ,t.nm_sort nmSort ,t.acc_txt acc ,t.acc_db_cd accDbCd FROM term t ,(SELECT li.term_id FROM term_label li WHERE UPPER(li.nm) = $1 AND li.object_type_id = 2 UNION SELECT l.object_id FROM db_link l WHERE upper( l.acc_txt ) = $2 AND l.object_type_id = 2 AND l.type_cd = 'A') ids WHERE t.id = ids.term_id ORDER BY CASE WHEN UPPER(t.nm) = $3 THEN 1 ELSE 2 END ,t.nm_sortDate: 2025-03-05 10:22:42
7 6 FATAL: password authentication failed for user "..."
Times Reported Most Frequent Error / Event #7
Day Hour Count Mar 04 14 6 - FATAL: password authentication failed for user "load"
Detail: Connection matched pg_hba.conf line 85: "host all all 192.168.201.0/24 md5 "
Date: 2025-03-04 15:33:37
8 3 ERROR: no operand in ts"..."
Times Reported Most Frequent Error / Event #8
Day Hour Count Mar 06 01 2 Mar 08 01 1 - ERROR: no operand in ts"㈱環境産業新聞社 & (03-3437-0074 | 0334370074 ) & "
- ERROR: no operand in ts"㈱環境産業新聞社 & (03-3437-0074 | 0334370074 ) & "
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 OR upper( l.acc_txt ) = $4 OR upper( l.acc_txt ) = $5 OR upper( l.acc_txt ) = $6 OR upper( l.acc_txt ) = $7 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2025-03-06 02:32:48
Statement: SELECT /* BasicCountsDAO gen */ ii.cd ,COUNT(ii.id) cnt FROM (SELECT ot.cd ,tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops',$1) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',$2) OR r.id IN (SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $3 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $4 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $5 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $6 ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper( l.acc_txt ) LIKE $7 OR upper( l.acc_txt ) LIKE $8 OR upper( l.acc_txt ) LIKE $9 ) ) ii GROUP BY ii.cd
Date: 2025-03-06 02:54:04
9 2 LOG: could not send data to client: Connection reset by peer
Times Reported Most Frequent Error / Event #9
Day Hour Count Mar 04 07 1 08 1 - LOG: could not send data to client: Connection reset by peer
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Date: 2025-03-04 08:24:24 Database: ctdprd51 Application: User: pubeu Remote:
10 2 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #10
Day Hour Count Mar 05 12 1 Mar 06 00 1 - ERROR: syntax error at or near "amd" at character 112
- ERROR: syntax error at or near ")" at character 4938
Statement: select * from db ,db_report dbr ,db_report_site dbrs where db.id = dbr.db_id and dbr.id = 138 amd dbrs.db_report_id = dbr.id select * from db_link where db_id = 79 limit 100
Date: 2025-03-05 13:51:59 Database: ctdprd51 Application: pgAdmin 4 - CONN:1268256 User: edit Remote:
Statement: select distinct e.reference_acc_txt as "Reference", pref.abbr_authors_txt as "Author", referenceExp.author_summary as "AuthorSummary", (Select STRING_AGG( distinct eventproject.project_nm, '|')) as "AssociatedStudyTitles", eevent.collection_start_yr as "EnrollmentStartYear", eevent.collection_end_yr as "EnrollmentEndYear", (Select STRING_AGG( distinct studyFactor.nm, '|')) as "StudyFactors", (Select STRING_AGG(distinct stressorSrcType.nm, '|')) as "StressorSourceCategory", stressor.chem_term_nm as "ExposureStressorName", stressor.src_details as "StressorSourceDetails", stressor.sample_qty as "NumberOfStressorSamples", stressor.note as "StressorNotes", ereceptor.qty as "NumberOfReceptors", ereceptor.description as "Receptors", ereceptor.term_nm as "ReceptorDescription", ereceptor.term_acc_txt as "ReceptorID", ereceptor.note as "ReceptorNotes", (Select STRING_AGG(distinct COALESCE( COALESCE(NULLIF(CAST(receptorTobaccoUse.pct as int),0)) || '% ' || tobaccoUse.nm, COALESCE(COALESCE(NULLIF(CAST(receptorTobaccoUse.pct as int),0)) || '% ' , tobaccoUse.nm)), '|')) as "SmokingStatus", ereceptor.age || ' ' || age_uom.nm as "Age", age_qualifier.nm as "AgeQualifier", (Select STRING_AGG(distinct COALESCE( COALESCE(NULLIF(CAST(pct as int),0)) || '% ' || gender.nm, COALESCE(COALESCE(NULLIF(CAST(pct as int),0)) || '% ' , gender.nm)), '|') from exp_receptor_gender expgender left outer join gender on expgender.gender_id=gender.id where exp_receptor_id = ereceptor.id ) as "Sex", (Select STRING_AGG(distinct COALESCE( COALESCE(NULLIF(CAST(receptorRace.pct as int),0)) || '% ' || race.nm, COALESCE(COALESCE(NULLIF(CAST(receptorRace.pct as int),0)) || '% ' , race.nm)), '|')) as "Race", (Select STRING_AGG( distinct eventAssayMethod.nm, '|')) as "Methods" , eevent.detection_limit as "DetectionLimit", eevent.detection_limit_uom as "DetectionLimitUnitsOfMeasurement", eevent.detection_freq as "DetectionFrequency", emedium.nm as "Medium", eevent.exp_marker_term_nm as "ExposureMarker", eevent.exp_marker_lvl as "MarkerLevel", eevent.assay_uom as "MarkerUnitsOfMeasurement", eevent.assay_measurement_stat as "MarkerMeasurementStatistic", eevent.assay_note as "AssayNotes", (Select STRING_AGG( distinct country.nm, '|')) as "StudyCountries", (Select STRING_AGG( distinct eventLocation.geographic_region_nm, '|')) as "StateOrProvince", (Select STRING_AGG( distinct eventLocation.locality_txt, '|')) as "CityTownRegionOrArea", eevent.note as "ExposureEventNotes", eiot.description as "OutcomeRelationship", outcome.disease_term_nm as "DiseaseName", outcome.phenotype_action_degree_type_nm as "PhenotypeActionDegreeType", outcome.phenotype_term_nm as "PhenotypeName", (Select STRING_AGG( distinct expAnatomy.anatomy_term_nm, '|')) as "Anatomy", outcome.note as "ExposureOutcomeNotes" from exposure e left outer join reference pref on pref.acc_txt = e.reference_acc_txt left outer join reference_exp referenceExp on referenceExp.reference_acc_txt = e.reference_acc_txt left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id left outer join study_factor studyFactor on studyFactor.id = expStudyFactor.study_factor_id left outer join exp_event_project eventproject on eventproject.exp_event_id = e.exp_event_id inner join exp_stressor stressor on e.exp_stressor_id = stressor.id left outer join exp_receptor ereceptor on e.exp_receptor_id = ereceptor.id left outer join age_uom age_uom on ereceptor.age_uom_id = age_uom.id left outer join age_qualifier age_qualifier on ereceptor.age_qualifier_id = age_qualifier.id left outer join exp_event eevent on e.exp_event_id = eevent.id left outer join medium emedium on eevent.medium_id = emedium.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 ereceptor.id = receptorTobaccoUse.exp_receptor_id left outer join tobacco_use tobaccoUse on receptorTobaccoUse.tobacco_use_id = tobaccoUse.id left outer join exp_receptor_race receptorRace on ereceptor.id = receptorRace.exp_receptor_id left outer join race race on receptorRace.race_id = race.id left outer join exp_event_location eventLocation on eevent.id = eventLocation.exp_event_id left outer join country on eventLocation.country_id = country.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 exp_anatomy expAnatomy on outcome.id = expAnatomy.exp_outcome_id left outer join exp_event_assay_method eventAssayMethod on eevent.id = eventAssayMethod.exp_event_id where ereceptor.term_acc_txt in ( select acc_txt from term where id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( )))or outcome.disease_acc_txt in ( select acc_txt from term where id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( ))) group by "Reference", "Author", "AuthorSummary", "EnrollmentStartYear", "EnrollmentEndYear", "ExposureStressorName", "StressorSourceDetails", "NumberOfStressorSamples", "StressorNotes", "NumberOfReceptors", "Receptors", "ReceptorDescription", "ReceptorID", "ReceptorNotes", "Age", "AgeQualifier", "DetectionLimit", "DetectionLimitUnitsOfMeasurement", "DetectionFrequency", "Medium", "ExposureMarker", "MarkerLevel", "MarkerUnitsOfMeasurement", "MarkerMeasurementStatistic", "AssayNotes", "ExposureEventNotes", "OutcomeRelationship", "DiseaseName", "PhenotypeActionDegreeType", "PhenotypeName", "ExposureOutcomeNotes", ereceptor.id, eventLocation.exp_event_id
Date: 2025-03-06 01:37:12
11 2 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #11
Day Hour Count Mar 04 08 1 20 1 12 1 ERROR: syntax error in ts"..." sq.* ,COUNT(...) OVER() fullRowCount FROM (...) = 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(...) OVER(...) 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(...) ) 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 (...) = ) ORDER BY 13,14 ) sq LIMIT 50
Times Reported Most Frequent Error / Event #12
Day Hour Count Mar 07 21 1 - ERROR: syntax error in ts"ONODANI 圧力バルブ" 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) = 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', ) ) 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 ) = ) ORDER BY 13,14 ) sq LIMIT 50
Statement: SELECT /* GeneBasicQueryDAO */
Date: 2025-03-07 22:14:28 Database: ctdprd51 Application: User: pubeu Remote:
13 1 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #13
Day Hour Count Mar 04 07 1 - ERROR: duplicate key value violates unique constraint "ixn_action_pk"
Detail: Key (ixn_id, action_type_id, action_degree_type_id)=(9037140, 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-03-04 08:59:58
14 1 ERROR: unexpected EOF on client connection with an open transaction
Times Reported Most Frequent Error / Event #14
Day Hour Count Mar 03 10 1 15 1 ERROR: relation "..." does not exist
Times Reported Most Frequent Error / Event #15
Day Hour Count Mar 05 13 1 - ERROR: relation "disease_chem_gene" does not exist at character 369
Statement: SELECT /* DiseaseIxnsDAO */ dcg.chem_id chemid ,c.nm chemnm ,c.nm_html chemnmhtml ,c.acc_txt chemacc ,c.secondary_nm casRN ,dcg.gene_id geneid ,g.nm genesymbol ,g.acc_txt geneacc ,dcg.ixn_id ixnId ,i.ixn_prose_txt ixnProse ,i.ixn_prose_html ixnProseHtml ,i.actions_txt ixnActions ,dcg.reference_qty refCount ,dcg.taxon_qty taxonCount FROM disease_chem_gene dcg INNER JOIN ixn i ON dcg.ixn_id = i.id INNER JOIN term g ON dcg.gene_id = g.id INNER JOIN term c ON dcg.chem_id = c.id WHERE dcg.disease_id = $1 AND g.object_type_id = 4 AND c.object_type_id = 2 ORDER BY g.nm_sort ,c.nm_sort LIMIT 50
Date: 2025-03-05 14:43:42 Database: ctdprd51 Application: User: pubeu Remote:
16 1 ERROR: column reference "..." is ambiguous
Times Reported Most Frequent Error / Event #16
Day Hour Count Mar 05 12 1 - ERROR: column reference "object_type_id" is ambiguous at character 87
Statement: select dbl.* from pub2.term t ,pub2.db_link dbl where nm = 'Zinc' and object_type_id = 2 and t.id = dbl.object_type_id
Date: 2025-03-05 13:57:08