-
Global information
- Generated on Sun Mar 16 04:15:14 2025
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20250315
- Parsed 209,100 log entries in 12s
- Log start from 2025-03-09 00:00:01 to 2025-03-15 23:58:57
-
Overview
Global Stats
- 389 Number of unique normalized queries
- 14,023 Number of queries
- 1d1h13m39s Total query duration
- 2025-03-09 00:00:24 First query
- 2025-03-15 23:58:57 Last query
- 6 queries/s at 2025-03-15 02:50:50 Query peak
- 1d1h13m39s Total query duration
- 0ms Prepare/parse total duration
- 4s956ms Bind total duration
- 1d1h13m34s Execute total duration
- 865 Number of events
- 13 Number of unique normalized events
- 749 Max number of times the same event was reported
- 0 Number of cancellation
- 104 Total number of automatic vacuums
- 235 Total number of automatic analyzes
- 6 Number temporary file
- 1.91 MiB Max size of temporary file
- 1.15 MiB Average size of temporary file
- 18,396 Total number of sessions
- 87 sessions at 2025-03-13 07:40:52 Session peak
- 280d3h6m33s Total duration of sessions
- 21m55s Average duration of sessions
- 0 Average queries per session
- 4s936ms Average queries duration per session
- 21m50s Average idle time per session
- 18,395 Total number of connections
- 57 connections/s at 2025-03-13 02:22:36 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 6 queries/s Query Peak
- 2025-03-15 02:50:50 Date
SELECT Traffic
Key values
- 6 queries/s Query Peak
- 2025-03-15 02:50:50 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2025-03-10 23:00:51 Date
Queries duration
Key values
- 1d1h13m39s 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 09 00 106 0ms 25m55s 19s580ms 12s388ms 16s791ms 25m55s 01 109 0ms 5m11s 5s313ms 10s851ms 15s349ms 5m11s 03 111 0ms 6s656ms 1s909ms 8s101ms 9s151ms 10s834ms 04 114 0ms 32s16ms 2s677ms 11s474ms 18s734ms 33s649ms 05 158 0ms 34s466ms 2s920ms 23s248ms 37s882ms 39s720ms 06 137 0ms 5m12s 5s250ms 12s879ms 47s205ms 5m13s 07 103 0ms 4m37s 5s233ms 10s72ms 32s159ms 4m41s 08 93 0ms 4m7s 4s927ms 7s850ms 11s591ms 4m7s 09 164 0ms 4m39s 4s93ms 11s426ms 26s658ms 4m40s 10 157 0ms 51s749ms 2s968ms 15s859ms 30s74ms 56s861ms 11 110 0ms 1m 3s335ms 16s743ms 26s855ms 1m2s 12 127 0ms 4m25s 5s715ms 10s808ms 41s344ms 4m29s 13 137 0ms 3m17s 4s27ms 16s257ms 22s513ms 3m30s 14 120 0ms 4m8s 5s419ms 20s917ms 28s853ms 4m59s 15 116 0ms 21s155ms 2s427ms 11s185ms 14s841ms 28s641ms 16 95 0ms 12s250ms 2s141ms 7s531ms 9s827ms 20s361ms 17 115 0ms 5m30s 7s187ms 11s893ms 15s339ms 5m32s 18 115 0ms 51s735ms 3s370ms 11s841ms 34s59ms 1m10s 19 114 0ms 5m4s 4s866ms 13s664ms 16s942ms 5m7s 20 100 0ms 31s743ms 2s629ms 8s732ms 13s66ms 31s743ms 21 108 0ms 1m36s 2s886ms 8s617ms 15s156ms 1m41s 22 114 0ms 31s949ms 2s363ms 8s912ms 12s347ms 33s781ms 23 143 0ms 4m34s 6s41ms 28s914ms 35s502ms 4m41s Mar 10 00 112 0ms 25m43s 17s113ms 9s247ms 33s925ms 26m 01 130 0ms 5m15s 8s110ms 14s385ms 3m10s 5m26s 02 105 0ms 5m9s 5s308ms 11s377ms 18s853ms 5m10s 03 130 0ms 3m9s 4s301ms 13s268ms 21s613ms 3m11s 04 106 0ms 5m18s 11s181ms 16s363ms 3m43s 5m26s 05 148 0ms 4m45s 5s745ms 24s884ms 33s578ms 4m48s 06 127 0ms 3m10s 4s727ms 19s638ms 43s272ms 3m20s 07 100 0ms 11m40s 9s255ms 9s847ms 11s858ms 11m41s 08 110 0ms 31s940ms 2s961ms 9s802ms 28s34ms 38s156ms 09 99 0ms 34s387ms 3s68ms 12s409ms 16s195ms 1m10s 10 136 0ms 18m42s 16s327ms 19s147ms 1m 18m43s 11 100 0ms 31s414ms 2s381ms 9s328ms 12s151ms 31s414ms 12 136 0ms 48s590ms 4s433ms 45s937ms 47s196ms 51s749ms 13 89 0ms 3m21s 7s491ms 10s515ms 48s509ms 3m24s 14 164 0ms 51s753ms 4s855ms 51s380ms 54s517ms 1m41s 15 143 0ms 18m6s 11s878ms 46s326ms 56s566ms 18m15s 16 116 0ms 46s255ms 2s924ms 10s155ms 13s75ms 58s799ms 17 122 0ms 5m24s 8s759ms 15s389ms 3m15s 5m33s 18 120 0ms 3m33s 4s745ms 13s590ms 44s722ms 3m37s 19 125 0ms 2m14s 3s434ms 11s298ms 20s484ms 2m20s 20 125 0ms 8s818ms 2s338ms 10s457ms 16s280ms 20s37ms 21 98 0ms 3m9s 4s191ms 9s206ms 18s673ms 3m14s 22 86 0ms 16s842ms 2s434ms 8s743ms 11s2ms 28s893ms 23 86 0ms 3m31s 5s4ms 8s808ms 21s666ms 3m33s Mar 11 00 30 0ms 25m45s 53s210ms 2s492ms 5s708ms 25m52s 01 62 0ms 7m7s 10s632ms 12s970ms 18s440ms 7m9s 02 139 0ms 5m22s 4s678ms 14s400ms 26s300ms 5m30s 03 128 0ms 32s159ms 2s240ms 8s928ms 9s816ms 55s616ms 04 262 0ms 6m42s 3s785ms 25s303ms 32s942ms 6m44s 05 237 0ms 3m36s 4s918ms 35s108ms 3m19s 3m36s 06 132 0ms 52s643ms 3s488ms 11s870ms 53s29ms 55s266ms 07 122 0ms 5m18s 7s988ms 17s810ms 32s983ms 5m44s 08 120 0ms 4m40s 4s829ms 13s43ms 18s50ms 4m40s 09 142 0ms 5m5s 5s949ms 13s409ms 31s990ms 5m19s 10 108 0ms 4m14s 5s656ms 16s482ms 42s77ms 4m16s 11 149 0ms 4m47s 4s305ms 17s41ms 27s42ms 4m50s 12 127 0ms 4m24s 4s598ms 12s239ms 18s209ms 4m30s 13 128 0ms 11m33s 10s655ms 13s35ms 1m52s 11m39s 14 115 0ms 3m31s 8s210ms 28s269ms 2m11s 3m32s 15 116 0ms 32s579ms 2s914ms 10s703ms 20s487ms 59s250ms 16 142 0ms 1m41s 3s900ms 20s665ms 38s436ms 1m50s 17 105 0ms 4m59s 10s308ms 12s857ms 3m59s 5m 18 132 0ms 5m30s 9s778ms 22s912ms 4m15s 5m39s 19 132 0ms 5m23s 6s670ms 16s25ms 36s521ms 5m27s 20 109 0ms 12m35s 14s449ms 12s934ms 3m49s 12m41s 21 127 0ms 4m22s 5s550ms 19s239ms 45s752ms 4m22s 22 116 0ms 11m33s 15s208ms 20s342ms 3m36s 11m42s 23 117 0ms 3m32s 4s457ms 12s459ms 15s911ms 3m33s Mar 12 00 114 0ms 25m58s 19s497ms 16s814ms 37s399ms 26m12s 01 133 0ms 4m55s 11s138ms 34s719ms 4m31s 5m 02 110 0ms 17m50s 15s121ms 16s392ms 20s33ms 17m58s 03 144 0ms 4m12s 5s491ms 17s279ms 34s972ms 4m28s 04 124 0ms 31s916ms 2s644ms 13s639ms 15s963ms 31s916ms 05 151 0ms 3m47s 4s14ms 17s723ms 32s275ms 3m49s 06 167 0ms 6m48s 12s514ms 54s466ms 4m50s 6m55s 07 115 0ms 3m28s 4s926ms 14s444ms 45s29ms 3m28s 08 125 0ms 41s939ms 2s887ms 15s521ms 19s806ms 50s223ms 09 105 0ms 20s501ms 2s367ms 10s144ms 13s88ms 21s980ms 10 109 0ms 52s403ms 4s896ms 44s520ms 51s16ms 1m1s 11 106 0ms 5m35s 8s517ms 36s497ms 44s682ms 5m46s 12 117 0ms 5m24s 8s799ms 47s66ms 53s676ms 5m30s 13 110 0ms 5m53s 15s216ms 46s984ms 5m8s 5m57s 14 112 0ms 2m56s 6s541ms 46s431ms 52s197ms 2m56s 15 99 0ms 31s46ms 4s185ms 19s650ms 40s222ms 1m5s 16 46 0ms 44s391ms 3s703ms 5s635ms 7s917ms 44s391ms 17 33 0ms 42s809ms 4s958ms 5s689ms 13s573ms 43s825ms 18 52 0ms 52s29ms 5s303ms 16s77ms 33s360ms 52s29ms 19 50 0ms 6s413ms 1s990ms 4s121ms 6s413ms 7s784ms 20 39 0ms 16s594ms 2s529ms 4s573ms 7s96ms 16s594ms 21 40 0ms 10s460ms 3s90ms 5s873ms 11s41ms 11s788ms 22 158 0ms 1m52s 2s687ms 15s624ms 26s977ms 1m53s 23 112 0ms 1m5s 2s487ms 12s174ms 15s776ms 1m15s Mar 13 00 270 0ms 26m3s 9s497ms 45s156ms 55s234ms 26m27s 01 80 0ms 29s741ms 4s184ms 35s25ms 49s988ms 53s318ms 02 1 0ms 3s812ms 3s812ms 0ms 0ms 3s812ms 03 0 0ms 0ms 0ms 0ms 0ms 0ms 04 0 0ms 0ms 0ms 0ms 0ms 0ms 05 104 0ms 4m45s 5s281ms 22s762ms 29s130ms 4m48s 06 216 0ms 17m54s 9s502ms 36s862ms 3m6s 17m59s 07 180 0ms 5m1s 9s96ms 41s361ms 4m55s 8m20s 08 113 0ms 6s682ms 2s174ms 10s670ms 21s168ms 44s159ms 09 47 0ms 46s73ms 3s57ms 4s262ms 7s671ms 47s393ms 10 64 0ms 52s104ms 7s289ms 47s668ms 49s821ms 52s104ms 11 40 0ms 49s439ms 3s72ms 3s18ms 4s133ms 56s49ms 12 38 0ms 4s477ms 1s618ms 3s34ms 4s315ms 7s369ms 13 55 0ms 52s679ms 2s636ms 4s327ms 6s833ms 58s419ms 14 56 0ms 52s297ms 5s83ms 13s476ms 42s95ms 56s675ms 15 36 0ms 4s29ms 1s543ms 2s985ms 2s991ms 5s528ms 16 39 0ms 53s182ms 7s717ms 44s825ms 50s881ms 57s141ms 17 41 0ms 50s200ms 4s845ms 3s971ms 43s629ms 51s714ms 18 70 0ms 52s101ms 3s982ms 20s944ms 24s117ms 52s101ms 19 38 0ms 5s341ms 1s808ms 3s908ms 4s394ms 6s721ms 20 42 0ms 5s574ms 1s594ms 2s994ms 3s989ms 7s78ms 21 45 0ms 39s614ms 4s726ms 7s40ms 23s215ms 45s732ms 22 28 0ms 4s58ms 1s678ms 3s63ms 4s58ms 4s634ms 23 23 0ms 5s765ms 1s575ms 1s533ms 2s151ms 5s765ms Mar 14 00 28 0ms 26m6s 57s580ms 2s667ms 2s882ms 26m13s 01 21 0ms 2s873ms 1s476ms 1s512ms 2s648ms 2s873ms 02 24 0ms 5s500ms 1s679ms 1s554ms 2s846ms 6s984ms 03 45 0ms 5s13ms 2s73ms 5s13ms 7s309ms 10s353ms 04 30 0ms 3s361ms 1s566ms 1s595ms 3s930ms 5s60ms 05 58 0ms 4s764ms 2s157ms 6s56ms 16s140ms 27s731ms 06 24 0ms 52s494ms 6s442ms 5s765ms 24s118ms 52s494ms 07 24 0ms 4s273ms 1s624ms 1s538ms 2s857ms 4s273ms 08 21 0ms 5s985ms 1s775ms 2s118ms 3s612ms 5s985ms 09 32 0ms 4s146ms 1s830ms 4s146ms 5s160ms 7s922ms 10 28 0ms 52s276ms 6s567ms 7s237ms 28s42ms 52s276ms 11 30 0ms 43s532ms 3s36ms 2s897ms 4s488ms 45s42ms 12 37 0ms 4s128ms 1s595ms 2s662ms 3s998ms 6s550ms 13 21 0ms 5s675ms 1s716ms 1s553ms 2s762ms 6s977ms 14 30 0ms 52s398ms 8s564ms 21s91ms 34s131ms 53s916ms 15 22 0ms 34s531ms 8s688ms 10s591ms 33s985ms 34s794ms 16 32 0ms 6s122ms 2s789ms 4s160ms 15s33ms 26s278ms 17 14 0ms 5s129ms 1s854ms 1s470ms 3s895ms 6s384ms 18 24 0ms 52s947ms 6s444ms 2s817ms 24s346ms 52s947ms 19 18 0ms 3s929ms 1s527ms 1s353ms 1s410ms 5s165ms 20 13 0ms 5s704ms 2s219ms 1s496ms 5s635ms 7s553ms 21 9 0ms 4s178ms 1s541ms 1s293ms 2s407ms 4s178ms 22 23 0ms 2s166ms 1s330ms 2s166ms 2s497ms 2s828ms 23 13 0ms 4s822ms 1s678ms 1s483ms 2s438ms 4s822ms Mar 15 00 12 0ms 25m55s 2m12s 4s131ms 6s246ms 25m55s 01 16 0ms 3s904ms 1s484ms 1s515ms 2s481ms 3s904ms 02 29 0ms 4s232ms 2s862ms 3s923ms 5s81ms 45s904ms 03 24 0ms 5s194ms 2s340ms 4s130ms 4s217ms 12s589ms 04 9 0ms 3s932ms 1s661ms 1s459ms 1s515ms 3s932ms 05 47 0ms 4s754ms 2s268ms 4s528ms 15s793ms 24s711ms 06 22 0ms 9s724ms 4s72ms 3s969ms 8s780ms 28s142ms 07 24 0ms 7s794ms 2s888ms 7s435ms 7s794ms 10s310ms 08 27 0ms 7s512ms 2s712ms 4s882ms 7s512ms 11s583ms 09 15 0ms 7s964ms 2s467ms 1s576ms 2s441ms 13s503ms 10 20 0ms 5s652ms 1s843ms 2s539ms 4s86ms 6s899ms 11 27 0ms 18s932ms 2s299ms 5s302ms 7s625ms 24s989ms 12 19 0ms 16s100ms 2s894ms 2s491ms 5s451ms 16s100ms 13 50 0ms 6s427ms 2s144ms 2s656ms 19s404ms 24s952ms 14 21 0ms 5s527ms 1s534ms 1s528ms 3s939ms 8s1ms 15 20 0ms 2s148ms 1s320ms 1s455ms 2s490ms 3s710ms 16 30 0ms 5s520ms 1s441ms 2s391ms 2s638ms 5s520ms 17 30 0ms 5s648ms 1s413ms 2s577ms 3s617ms 5s648ms 18 45 0ms 1m11s 9s892ms 41s804ms 1m6s 1m12s 19 72 0ms 24m41s 1m8s 1m34s 7m22s 24m44s 20 23 0ms 52s214ms 4s47ms 2s579ms 4s128ms 1m4s 21 18 0ms 29s946ms 3s344ms 2s790ms 5s542ms 29s946ms 22 17 0ms 4s185ms 1s512ms 1s514ms 2s590ms 4s185ms 23 12 0ms 1s509ms 1s333ms 1s490ms 1s509ms 2s559ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 09 00 103 0 20s40ms 7s502ms 10s814ms 4m54s 01 108 0 5s343ms 7s714ms 10s851ms 36s149ms 03 109 0 1s903ms 5s400ms 8s101ms 9s884ms 04 111 0 2s685ms 8s584ms 11s474ms 22s721ms 05 149 0 2s948ms 9s340ms 23s248ms 38s51ms 06 127 10 5s250ms 8s615ms 12s879ms 52s248ms 07 103 0 5s233ms 6s587ms 10s72ms 38s663ms 08 90 0 5s6ms 5s390ms 7s850ms 36s165ms 09 163 0 4s98ms 8s908ms 11s426ms 52s731ms 10 142 10 2s986ms 11s283ms 15s859ms 42s69ms 11 107 0 3s358ms 7s481ms 16s743ms 40s820ms 12 123 0 5s817ms 8s10ms 9s353ms 2m49s 13 134 0 4s53ms 9s435ms 16s257ms 37s593ms 14 110 10 5s419ms 11s474ms 20s917ms 51s571ms 15 115 0 2s429ms 7s306ms 11s185ms 18s287ms 16 94 0 2s141ms 5s987ms 7s531ms 10s21ms 17 114 0 7s233ms 8s143ms 11s893ms 4m12s 18 104 10 3s369ms 8s729ms 16s733ms 42s238ms 19 111 0 4s917ms 6s839ms 13s664ms 17s24ms 20 99 0 2s636ms 7s20ms 8s732ms 21s986ms 21 102 0 2s910ms 5s563ms 8s392ms 15s511ms 22 112 0 2s364ms 7s141ms 8s912ms 14s988ms 23 141 0 6s87ms 10s878ms 28s914ms 3m34s Mar 10 00 109 0 17s479ms 6s574ms 9s247ms 2m12s 01 128 0 8s203ms 9s137ms 14s385ms 4m16s 02 104 0 5s339ms 7s583ms 11s377ms 22s758ms 03 126 0 4s367ms 7s881ms 13s268ms 1m13s 04 103 0 11s439ms 6s699ms 16s363ms 3m47s 05 143 0 5s865ms 15s655ms 24s884ms 2m59s 06 116 10 4s749ms 9s745ms 19s638ms 51s774ms 07 97 0 9s459ms 5s985ms 9s847ms 36s107ms 08 107 0 2s976ms 6s357ms 9s802ms 35s872ms 09 99 0 3s68ms 6s832ms 12s409ms 16s402ms 10 121 10 16s871ms 10s528ms 24s342ms 11m41s 11 98 0 2s378ms 5s825ms 9s328ms 12s151ms 12 136 0 4s433ms 16s529ms 45s937ms 47s570ms 13 86 0 7s663ms 6s486ms 10s501ms 3m23s 14 150 10 4s923ms 24s140ms 50s321ms 54s517ms 15 139 0 12s156ms 11s310ms 46s326ms 2m4s 16 115 0 2s932ms 7s147ms 10s155ms 47s780ms 17 121 0 8s810ms 9s662ms 15s389ms 4m13s 18 109 10 4s769ms 9s380ms 13s590ms 51s918ms 19 123 0 3s458ms 9s564ms 11s298ms 33s500ms 20 120 0 2s333ms 8s276ms 9s295ms 18s555ms 21 96 0 4s233ms 4s876ms 9s206ms 34s409ms 22 84 0 2s445ms 5s622ms 8s743ms 12s187ms 23 85 0 5s35ms 6s100ms 8s808ms 42s326ms Mar 11 00 29 0 54s827ms 1s416ms 2s492ms 25m45s 01 59 0 11s42ms 6s221ms 12s970ms 47s671ms 02 137 0 4s718ms 8s285ms 12s344ms 37s497ms 03 124 0 2s233ms 5s807ms 7s168ms 19s530ms 04 258 0 3s803ms 18s785ms 25s303ms 33s914ms 05 233 0 4s963ms 15s890ms 35s108ms 3m35s 06 120 10 3s511ms 9s3ms 13s406ms 41s860ms 07 119 0 8s140ms 8s632ms 17s810ms 4m49s 08 117 0 4s882ms 7s972ms 13s43ms 19s152ms 09 138 0 6s45ms 9s639ms 12s476ms 3m12s 10 93 10 5s815ms 7s21ms 15s602ms 52s792ms 11 144 0 4s367ms 7s885ms 17s41ms 27s42ms 12 121 0 4s703ms 7s897ms 11s381ms 32s867ms 13 126 0 10s789ms 8s644ms 13s35ms 4m15s 14 101 10 8s398ms 11s195ms 26s200ms 3m31s 15 111 0 2s933ms 6s777ms 10s703ms 20s487ms 16 141 0 3s904ms 9s511ms 20s665ms 46s82ms 17 103 0 10s469ms 7s894ms 12s857ms 4m54s 18 121 9 9s883ms 10s730ms 19s971ms 4m58s 19 129 0 6s764ms 7s667ms 16s25ms 3m14s 20 106 0 14s796ms 7s526ms 12s934ms 5m59s 21 120 0 5s729ms 9s99ms 19s239ms 1m38s 22 112 0 15s659ms 10s368ms 20s342ms 5m15s 23 114 0 4s503ms 9s210ms 11s487ms 35s236ms Mar 12 00 112 0 19s766ms 8s854ms 16s814ms 5m12s 01 133 0 11s138ms 11s117ms 34s719ms 4m57s 02 108 0 15s356ms 7s502ms 16s392ms 5m2s 03 144 0 5s491ms 11s68ms 17s279ms 2m40s 04 121 0 2s649ms 8s512ms 13s544ms 20s476ms 05 145 0 4s89ms 9s308ms 17s723ms 37s191ms 06 155 10 12s637ms 24s291ms 52s533ms 5m38s 07 113 0 4s967ms 8s627ms 14s444ms 53s804ms 08 123 0 2s884ms 9s542ms 15s521ms 39s244ms 09 102 0 2s359ms 6s290ms 9s267ms 17s235ms 10 95 10 4s985ms 8s971ms 42s17ms 51s278ms 11 102 0 8s761ms 8s43ms 36s497ms 3m5s 12 116 0 8s850ms 13s746ms 47s66ms 2m40s 13 104 0 15s928ms 10s776ms 46s984ms 5m19s 14 98 10 6s703ms 12s677ms 41s867ms 52s261ms 15 98 0 4s208ms 8s547ms 19s650ms 41s593ms 16 46 0 3s703ms 4s210ms 5s635ms 31s330ms 17 33 0 4s958ms 3s681ms 5s689ms 42s809ms 18 40 10 5s417ms 4s348ms 16s77ms 42s55ms 19 49 0 1s993ms 3s20ms 4s121ms 7s465ms 20 38 0 2s545ms 3s217ms 4s573ms 12s878ms 21 40 0 3s90ms 4s988ms 5s873ms 11s462ms 22 156 0 2s698ms 10s377ms 15s608ms 30s161ms 23 112 0 2s487ms 7s929ms 12s174ms 1m15s Mar 13 00 265 0 9s612ms 15s845ms 45s156ms 5m52s 01 80 0 4s184ms 17s342ms 35s25ms 53s318ms 02 0 0 0ms 0ms 0ms 0ms 03 0 0 0ms 0ms 0ms 0ms 04 0 0 0ms 0ms 0ms 0ms 05 99 0 5s434ms 15s685ms 22s762ms 4m48s 06 201 10 9s669ms 12s310ms 36s862ms 4m10s 07 174 0 9s325ms 24s28ms 39s399ms 5m17s 08 110 0 2s162ms 5s519ms 10s670ms 33s197ms 09 47 0 3s57ms 4s26ms 4s262ms 12s296ms 10 54 10 7s289ms 5s709ms 47s668ms 49s868ms 11 40 0 3s72ms 2s891ms 3s18ms 7s803ms 12 33 0 1s561ms 1s525ms 3s 7s369ms 13 55 0 2s636ms 2s948ms 4s327ms 58s419ms 14 46 10 5s83ms 3s35ms 11s961ms 52s297ms 15 36 0 1s543ms 1s528ms 2s985ms 5s528ms 16 38 0 7s845ms 1s544ms 44s825ms 57s141ms 17 41 0 4s845ms 2s699ms 3s971ms 51s714ms 18 60 10 3s982ms 6s987ms 20s944ms 52s101ms 19 38 0 1s808ms 1s523ms 3s908ms 5s341ms 20 42 0 1s594ms 2s509ms 2s994ms 4s258ms 21 45 0 4s726ms 3s927ms 7s40ms 42s601ms 22 28 0 1s678ms 1s516ms 3s63ms 4s634ms 23 23 0 1s575ms 1s513ms 1s533ms 5s765ms Mar 14 00 27 0 59s483ms 1s500ms 2s667ms 3s996ms 01 20 0 1s406ms 1s492ms 1s503ms 2s792ms 02 24 0 1s679ms 1s500ms 1s554ms 6s984ms 03 45 0 2s73ms 3s248ms 5s13ms 7s670ms 04 30 0 1s566ms 1s489ms 1s595ms 4s770ms 05 54 0 2s148ms 1s519ms 5s657ms 27s731ms 06 14 10 6s442ms 1s500ms 5s765ms 52s494ms 07 24 0 1s624ms 1s501ms 1s538ms 3s869ms 08 21 0 1s775ms 1s494ms 2s118ms 5s985ms 09 32 0 1s830ms 1s519ms 4s146ms 5s544ms 10 18 10 6s567ms 1s500ms 7s237ms 41s869ms 11 30 0 3s36ms 1s554ms 2s897ms 45s42ms 12 37 0 1s595ms 1s513ms 2s662ms 4s121ms 13 21 0 1s716ms 1s492ms 1s553ms 4s210ms 14 22 8 8s564ms 3s994ms 21s91ms 34s173ms 15 22 0 8s688ms 1s303ms 10s591ms 34s531ms 16 32 0 2s789ms 1s273ms 4s160ms 26s278ms 17 14 0 1s854ms 1s362ms 1s470ms 6s384ms 18 13 10 6s602ms 1s282ms 2s603ms 41s936ms 19 18 0 1s527ms 1s222ms 1s353ms 5s165ms 20 13 0 2s219ms 0ms 1s496ms 7s553ms 21 9 0 1s541ms 0ms 1s293ms 4s178ms 22 23 0 1s330ms 1s366ms 2s166ms 2s828ms 23 13 0 1s678ms 1s164ms 1s483ms 4s822ms Mar 15 00 11 0 2m24s 1s204ms 1s498ms 8s519ms 01 16 0 1s484ms 1s423ms 1s515ms 3s904ms 02 29 0 2s862ms 1s473ms 3s923ms 45s904ms 03 24 0 2s340ms 1s479ms 4s130ms 12s589ms 04 9 0 1s661ms 0ms 1s459ms 3s932ms 05 43 0 2s270ms 1s283ms 4s167ms 24s711ms 06 22 0 4s72ms 1s398ms 3s969ms 28s142ms 07 24 0 2s888ms 2s409ms 7s435ms 10s310ms 08 27 0 2s712ms 2s583ms 4s882ms 11s583ms 09 15 0 2s467ms 1s227ms 1s576ms 13s503ms 10 20 0 1s843ms 1s299ms 2s539ms 6s899ms 11 27 0 2s299ms 1s239ms 5s302ms 24s989ms 12 19 0 2s894ms 1s481ms 2s491ms 16s100ms 13 50 0 2s144ms 2s378ms 2s656ms 24s952ms 14 21 0 1s534ms 1s289ms 1s528ms 8s1ms 15 20 0 1s320ms 1s276ms 1s455ms 3s710ms 16 30 0 1s441ms 1s384ms 2s391ms 5s520ms 17 30 0 1s413ms 1s286ms 2s577ms 5s648ms 18 19 26 9s892ms 6s497ms 41s804ms 1m12s 19 24 48 1m8s 1m4s 1m34s 24m27s 20 21 2 4s47ms 1s415ms 2s579ms 1m4s 21 18 0 3s344ms 1s353ms 2s790ms 29s946ms 22 17 0 1s512ms 1s389ms 1s514ms 4s185ms 23 12 0 1s333ms 1s262ms 1s490ms 2s559ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 09 00 0 0 0 0 0ms 0ms 0ms 0ms 01 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 10 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Mar 11 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Mar 12 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Mar 13 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Mar 14 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Mar 15 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Mar 09 00 0 104 104.00 0.00% 01 0 109 109.00 0.00% 03 0 111 111.00 0.00% 04 0 114 114.00 0.00% 05 0 158 158.00 0.00% 06 0 131 131.00 0.00% 07 0 123 123.00 0.00% 08 0 122 122.00 0.00% 09 0 171 171.00 0.00% 10 0 147 147.00 0.00% 11 0 110 110.00 0.00% 12 0 127 127.00 0.00% 13 0 137 137.00 0.00% 14 0 110 110.00 0.00% 15 0 116 116.00 0.00% 16 0 95 95.00 0.00% 17 0 115 115.00 0.00% 18 0 105 105.00 0.00% 19 0 114 114.00 0.00% 20 0 100 100.00 0.00% 21 0 108 108.00 0.00% 22 0 114 114.00 0.00% 23 0 143 143.00 0.00% Mar 10 00 0 110 110.00 0.00% 01 0 130 130.00 0.00% 02 0 105 105.00 0.00% 03 0 130 130.00 0.00% 04 0 106 106.00 0.00% 05 0 147 147.00 0.00% 06 0 126 126.00 0.00% 07 0 100 100.00 0.00% 08 0 120 120.00 0.00% 09 0 119 119.00 0.00% 10 0 143 143.00 0.00% 11 0 121 121.00 0.00% 12 0 136 136.00 0.00% 13 0 93 93.00 0.00% 14 0 154 154.00 0.00% 15 0 145 145.00 0.00% 16 0 123 123.00 0.00% 17 0 122 122.00 0.00% 18 0 110 110.00 0.00% 19 0 125 125.00 0.00% 20 0 126 126.00 0.00% 21 0 98 98.00 0.00% 22 0 89 89.00 0.00% 23 0 86 86.00 0.00% Mar 11 00 0 28 28.00 0.00% 01 0 62 62.00 0.00% 02 0 139 139.00 0.00% 03 0 128 128.00 0.00% 04 0 262 262.00 0.00% 05 0 237 237.00 0.00% 06 0 138 138.00 0.00% 07 0 129 129.00 0.00% 08 0 120 120.00 0.00% 09 0 142 142.00 0.00% 10 0 110 110.00 0.00% 11 0 152 152.00 0.00% 12 0 126 126.00 0.00% 13 0 128 128.00 0.00% 14 0 105 105.00 0.00% 15 0 116 116.00 0.00% 16 0 142 142.00 0.00% 17 0 105 105.00 0.00% 18 0 126 126.00 0.00% 19 0 132 132.00 0.00% 20 0 109 109.00 0.00% 21 0 127 127.00 0.00% 22 0 116 116.00 0.00% 23 0 117 117.00 0.00% Mar 12 00 0 114 114.00 0.00% 01 0 133 133.00 0.00% 02 0 110 110.00 0.00% 03 0 144 144.00 0.00% 04 0 124 124.00 0.00% 05 0 151 151.00 0.00% 06 0 157 157.00 0.00% 07 0 115 115.00 0.00% 08 0 138 138.00 0.00% 09 0 120 120.00 0.00% 10 0 111 111.00 0.00% 11 0 111 111.00 0.00% 12 0 117 117.00 0.00% 13 0 110 110.00 0.00% 14 0 102 102.00 0.00% 15 0 104 104.00 0.00% 16 0 46 46.00 0.00% 17 0 33 33.00 0.00% 18 0 42 42.00 0.00% 19 0 50 50.00 0.00% 20 0 39 39.00 0.00% 21 0 40 40.00 0.00% 22 0 159 159.00 0.00% 23 0 112 112.00 0.00% Mar 13 00 0 268 268.00 0.00% 01 0 80 80.00 0.00% 02 0 1 1.00 0.00% 03 0 0 0.00 0.00% 04 0 0 0.00 0.00% 05 0 104 104.00 0.00% 06 0 206 206.00 0.00% 07 0 180 180.00 0.00% 08 0 121 121.00 0.00% 09 0 48 48.00 0.00% 10 0 59 59.00 0.00% 11 0 40 40.00 0.00% 12 0 38 38.00 0.00% 13 0 55 55.00 0.00% 14 0 46 46.00 0.00% 15 0 36 36.00 0.00% 16 0 40 40.00 0.00% 17 0 41 41.00 0.00% 18 0 60 60.00 0.00% 19 0 38 38.00 0.00% 20 0 42 42.00 0.00% 21 0 45 45.00 0.00% 22 0 28 28.00 0.00% 23 0 23 23.00 0.00% Mar 14 00 0 26 26.00 0.00% 01 0 21 21.00 0.00% 02 0 24 24.00 0.00% 03 0 45 45.00 0.00% 04 0 30 30.00 0.00% 05 0 58 58.00 0.00% 06 0 19 19.00 0.00% 07 0 27 27.00 0.00% 08 0 24 24.00 0.00% 09 0 33 33.00 0.00% 10 0 22 22.00 0.00% 11 0 31 31.00 0.00% 12 0 37 37.00 0.00% 13 0 23 23.00 0.00% 14 0 22 22.00 0.00% 15 0 22 22.00 0.00% 16 0 32 32.00 0.00% 17 0 14 14.00 0.00% 18 0 14 14.00 0.00% 19 0 18 18.00 0.00% 20 0 13 13.00 0.00% 21 0 9 9.00 0.00% 22 0 23 23.00 0.00% 23 0 13 13.00 0.00% Mar 15 00 0 10 10.00 0.00% 01 0 16 16.00 0.00% 02 0 29 29.00 0.00% 03 0 24 24.00 0.00% 04 0 9 9.00 0.00% 05 0 47 47.00 0.00% 06 0 22 22.00 0.00% 07 0 24 24.00 0.00% 08 0 27 27.00 0.00% 09 0 15 15.00 0.00% 10 0 20 20.00 0.00% 11 0 27 27.00 0.00% 12 0 19 19.00 0.00% 13 0 50 50.00 0.00% 14 0 21 21.00 0.00% 15 0 20 20.00 0.00% 16 0 30 30.00 0.00% 17 0 30 30.00 0.00% 18 0 19 19.00 0.00% 19 0 24 24.00 0.00% 20 0 21 21.00 0.00% 21 0 18 18.00 0.00% 22 0 17 17.00 0.00% 23 0 12 12.00 0.00% Day Hour Count Average / Second Mar 09 00 102 0.03/s 01 105 0.03/s 03 103 0.03/s 04 98 0.03/s 05 129 0.04/s 06 136 0.04/s 07 97 0.03/s 08 117 0.03/s 09 197 0.05/s 10 125 0.03/s 11 98 0.03/s 12 90 0.03/s 13 92 0.03/s 14 98 0.03/s 15 108 0.03/s 16 94 0.03/s 17 98 0.03/s 18 96 0.03/s 19 95 0.03/s 20 92 0.03/s 21 102 0.03/s 22 112 0.03/s 23 115 0.03/s Mar 10 00 105 0.03/s 01 114 0.03/s 02 109 0.03/s 03 148 0.04/s 04 110 0.03/s 05 125 0.03/s 06 109 0.03/s 07 107 0.03/s 08 108 0.03/s 09 100 0.03/s 10 120 0.03/s 11 99 0.03/s 12 173 0.05/s 13 96 0.03/s 14 121 0.03/s 15 95 0.03/s 16 98 0.03/s 17 93 0.03/s 18 108 0.03/s 19 95 0.03/s 20 94 0.03/s 21 105 0.03/s 22 101 0.03/s 23 117 0.03/s Mar 11 00 91 0.03/s 01 96 0.03/s 02 121 0.03/s 03 110 0.03/s 04 181 0.05/s 05 186 0.05/s 06 106 0.03/s 07 110 0.03/s 08 94 0.03/s 09 101 0.03/s 10 106 0.03/s 11 126 0.04/s 12 144 0.04/s 13 100 0.03/s 14 98 0.03/s 15 97 0.03/s 16 102 0.03/s 17 107 0.03/s 18 86 0.02/s 19 105 0.03/s 20 98 0.03/s 21 95 0.03/s 22 91 0.03/s 23 99 0.03/s Mar 12 00 107 0.03/s 01 135 0.04/s 02 99 0.03/s 03 113 0.03/s 04 116 0.03/s 05 197 0.05/s 06 120 0.03/s 07 214 0.06/s 08 184 0.05/s 09 89 0.02/s 10 101 0.03/s 11 106 0.03/s 12 110 0.03/s 13 111 0.03/s 14 113 0.03/s 15 103 0.03/s 16 88 0.02/s 17 90 0.03/s 18 110 0.03/s 19 86 0.02/s 20 79 0.02/s 21 90 0.03/s 22 131 0.04/s 23 100 0.03/s Mar 13 00 173 0.05/s 01 232 0.06/s 02 121 0.03/s 03 64 0.02/s 04 64 0.02/s 05 105 0.03/s 06 119 0.03/s 07 1,130 0.31/s 08 115 0.03/s 09 95 0.03/s 10 102 0.03/s 11 102 0.03/s 12 82 0.02/s 13 84 0.02/s 14 86 0.02/s 15 82 0.02/s 16 79 0.02/s 17 87 0.02/s 18 86 0.02/s 19 88 0.02/s 20 85 0.02/s 21 83 0.02/s 22 88 0.02/s 23 85 0.02/s Mar 14 00 89 0.02/s 01 84 0.02/s 02 88 0.02/s 03 156 0.04/s 04 92 0.03/s 05 96 0.03/s 06 82 0.02/s 07 82 0.02/s 08 89 0.02/s 09 90 0.03/s 10 84 0.02/s 11 87 0.02/s 12 79 0.02/s 13 75 0.02/s 14 131 0.04/s 15 198 0.06/s 16 84 0.02/s 17 79 0.02/s 18 86 0.02/s 19 86 0.02/s 20 81 0.02/s 21 83 0.02/s 22 87 0.02/s 23 81 0.02/s Mar 15 00 85 0.02/s 01 78 0.02/s 02 81 0.02/s 03 86 0.02/s 04 79 0.02/s 05 93 0.03/s 06 180 0.05/s 07 117 0.03/s 08 102 0.03/s 09 94 0.03/s 10 81 0.02/s 11 81 0.02/s 12 80 0.02/s 13 82 0.02/s 14 76 0.02/s 15 79 0.02/s 16 75 0.02/s 17 81 0.02/s 18 79 0.02/s 19 83 0.02/s 20 80 0.02/s 21 75 0.02/s 22 76 0.02/s 23 75 0.02/s Day Hour Count Average Duration Average idle time Mar 09 00 103 24m15s 23m55s 01 105 23m38s 23m32s 03 103 23m20s 23m18s 04 98 23m39s 23m36s 05 129 19m2s 18m58s 06 136 17m49s 17m44s 07 97 24m48s 24m42s 08 117 20m28s 20m25s 09 197 12m30s 12m27s 10 125 19m 18m56s 11 98 24m57s 24m54s 12 90 26m37s 26m29s 13 91 26m43s 26m37s 14 99 24m48s 24m41s 15 108 22m19s 22m16s 16 94 25m31s 25m29s 17 98 25m10s 25m2s 18 96 25m18s 25m14s 19 95 24m44s 24m38s 20 92 24m45s 24m42s 21 102 21m36s 21m33s 22 112 22m30s 22m28s 23 115 20m29s 20m21s Mar 10 00 104 23m38s 23m20s 01 115 21m8s 20m58s 02 109 21m49s 21m44s 03 148 16m26s 16m22s 04 110 21m58s 21m47s 05 125 19m20s 19m13s 06 109 21m6s 21m 07 107 22m33s 22m24s 08 108 23m33s 23m30s 09 100 23m20s 23m17s 10 120 20m39s 20m20s 11 99 25m6s 25m3s 12 173 14m55s 14m52s 13 96 23m56s 23m49s 14 121 21m6s 20m59s 15 94 24m23s 24m5s 16 99 25m20s 25m16s 17 93 25m1s 24m50s 18 108 21m46s 21m41s 19 95 24m7s 24m3s 20 94 24m50s 24m47s 21 105 21m12s 21m8s 22 101 24m23s 24m21s 23 117 20m30s 20m26s Mar 11 00 91 27m9s 26m52s 01 96 25m43s 25m36s 02 121 20m45s 20m40s 03 110 21m41s 21m38s 04 181 13m40s 13m35s 05 186 12m19s 12m12s 06 106 22m10s 22m5s 07 110 22m52s 22m43s 08 94 25m46s 25m40s 09 101 23m17s 23m8s 10 106 22m44s 22m39s 11 125 20m2s 19m57s 12 144 17m23s 17m19s 13 100 23m38s 23m25s 14 98 24m34s 24m24s 15 97 25m22s 25m18s 16 102 22m45s 22m40s 17 106 24m21s 24m11s 18 87 23m57s 23m42s 19 105 23m51s 23m43s 20 98 30m16s 30m 21 96 23m8s 23m 22 91 25m59s 25m39s 23 99 24m38s 24m33s Mar 12 00 106 23m38s 23m17s 01 136 17m54s 17m43s 02 99 24m15s 23m58s 03 113 21m54s 21m47s 04 116 21m8s 21m5s 05 197 12m8s 12m5s 06 120 20m54s 20m36s 07 214 11m44s 11m42s 08 184 12m21s 12m19s 09 89 26m50s 26m47s 10 100 24m43s 24m38s 11 107 22m45s 22m36s 12 109 22m8s 21m58s 13 112 21m40s 21m25s 14 113 21m28s 21m22s 15 102 23m29s 23m25s 16 89 27m47s 27m45s 17 90 24m6s 24m4s 18 110 22m23s 22m21s 19 86 27m45s 27m44s 20 79 29m45s 29m44s 21 90 25m48s 25m47s 22 131 18m59s 18m56s 23 100 22m51s 22m48s Mar 13 00 173 14m2s 13m47s 01 227 10m57s 10m55s 02 125 19m15s 19m15s 03 64 30m39s 30m39s 04 64 30m40s 30m40s 05 105 35m32s 35m27s 06 120 20m47s 20m30s 07 1,112 2m33s 2m31s 08 133 17m13s 17m11s 09 95 26m36s 26m34s 10 102 24m19s 24m15s 11 102 23m22s 23m21s 12 82 29m8s 29m7s 13 84 28m57s 28m56s 14 86 27m40s 27m37s 15 82 30m14s 30m13s 16 79 28m37s 28m33s 17 87 27m26s 27m24s 18 86 27m46s 27m43s 19 88 27m39s 27m38s 20 85 28m8s 28m7s 21 83 27m55s 27m52s 22 88 27m40s 27m40s 23 85 27m50s 27m49s Mar 14 00 89 27m53s 27m35s 01 84 27m35s 27m35s 02 88 27m36s 27m36s 03 156 16m33s 16m33s 04 92 26m10s 26m10s 05 96 23m13s 23m12s 06 82 28m50s 28m48s 07 82 29m14s 29m13s 08 89 28m5s 28m5s 09 90 27m26s 27m25s 10 84 28m38s 28m36s 11 87 27m22s 27m21s 12 79 30m27s 30m26s 13 75 31m24s 31m23s 14 131 19m23s 19m21s 15 198 11m2s 11m1s 16 84 28m31s 28m30s 17 79 30m4s 30m4s 18 86 28m31s 28m29s 19 86 28m46s 28m46s 20 81 28m48s 28m47s 21 83 28m3s 28m3s 22 87 27m26s 27m26s 23 81 29m48s 29m47s Mar 15 00 85 28m56s 28m37s 01 78 31m23s 31m23s 02 81 28m54s 28m53s 03 86 29m32s 29m32s 04 79 29m33s 29m33s 05 93 25m54s 25m53s 06 180 14m18s 14m18s 07 117 20m18s 20m17s 08 102 23m23s 23m22s 09 94 25m9s 25m9s 10 81 29m57s 29m56s 11 81 29m11s 29m10s 12 80 29m45s 29m44s 13 82 30m 29m59s 14 76 29m22s 29m22s 15 79 31m11s 31m10s 16 75 31m33s 31m32s 17 81 29m17s 29m16s 18 78 31m15s 31m9s 19 83 29m8s 28m8s 20 81 30m59s 30m58s 21 75 30m24s 30m23s 22 76 31m32s 31m31s 23 75 32m6s 32m5s -
Connections
Established Connections
Key values
- 57 connections Connection Peak
- 2025-03-13 02:22:36 Date
Connections per database
Key values
- ctdprd51 Main Database
- 18,395 connections Total
Connections per user
Key values
- pubeu Main User
- 18,395 connections Total
-
Sessions
Simultaneous sessions
Key values
- 87 sessions Session Peak
- 2025-03-13 07:40:52 Date
Histogram of session times
Key values
- 11,862 1800000-3600000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 18,396 sessions Total
Sessions per user
Key values
- pubeu Main User
- 18,396 sessions Total
Sessions per host
Key values
- 10.12.5.37 Main Host
- 18,396 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 123,438 buffers Checkpoint Peak
- 2025-03-13 18:40:19 Date
- 1620.021 seconds Highest write time
- 0.133 seconds Sync time
Checkpoints Wal files
Key values
- 41 files Wal files usage Peak
- 2025-03-10 07:10:06 Date
Checkpoints distance
Key values
- 1,401.45 Mo Distance Peak
- 2025-03-13 11:10:19 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Mar 09 00 5,972 598.363s 0.005s 598.493s 01 648 65.009s 0.002s 65.041s 03 1,116 111.785s 0.003s 111.863s 04 1,460 146.369s 0.002s 146.399s 05 1,054 105.612s 0.003s 105.689s 06 3,336 334.266s 0.003s 334.343s 07 5,806 558.017s 0.002s 558.202s 08 56,039 1,729.642s 0.005s 1,729.837s 09 5,268 527.672s 0.002s 527.767s 10 2,124 212.984s 0.002s 213.071s 11 2,830 283.629s 0.003s 283.676s 12 23,460 1,650.168s 0.003s 1,650.434s 13 1,553 155.651s 0.003s 155.682s 14 1,652 165.697s 0.002s 165.729s 15 1,138 114.086s 0.002s 114.169s 16 1,252 125.496s 0.003s 125.526s 17 1,098 109.991s 0.002s 110.072s 18 1,555 155.844s 0.002s 155.874s 19 1,046 104.767s 0.004s 104.798s 20 1,321 132.404s 0.002s 132.487s 21 1,157 115.984s 0.003s 116.014s 22 5,541 554.987s 0.002s 555.093s 23 1,765 176.955s 0.002s 177.034s Mar 10 00 4,756 476.23s 0.004s 476.363s 01 601 60.288s 0.003s 60.319s 02 683 68.534s 0.003s 68.615s 03 2,168 217.233s 0.003s 217.264s 04 744 74.528s 0.003s 74.61s 05 3,608 361.427s 0.003s 361.507s 06 6,994 700.21s 0.002s 700.317s 07 109,630 1,789.361s 0.006s 1,789.985s 08 3,518 352.272s 0.003s 352.364s 09 3,008 301.303s 0.004s 301.346s 10 5,304 531.238s 0.003s 531.333s 11 1,499 150.263s 0.004s 150.347s 12 1,765 176.804s 0.003s 176.834s 13 1,276 127.913s 0.003s 127.993s 14 1,277 128.011s 0.004s 128.041s 15 1,727 173.068s 0.004s 173.151s 16 2,713 271.854s 0.003s 271.934s 17 2,688 269.189s 0.003s 269.233s 18 5,764 577.292s 0.007s 577.401s 19 1,154 115.676s 0.003s 115.706s 20 2,996 300.185s 0.003s 300.229s 21 1,301 130.411s 0.004s 130.494s 22 1,622 162.459s 0.004s 162.49s 23 2,821 282.671s 0.002s 282.715s Mar 11 00 6,304 631.308s 0.009s 631.459s 01 538 53.967s 0.004s 53.999s 02 3,124 312.838s 0.003s 312.932s 03 15,124 1,514.098s 0.003s 1,514.307s 04 9,745 976.09s 0.004s 976.223s 05 1,142 114.3s 0.003s 114.329s 06 1,632 163.585s 0.004s 163.616s 07 1,521 152.351s 0.003s 152.431s 08 1,379 138.231s 0.004s 138.263s 09 1,573 157.704s 0.004s 157.783s 10 1,538 154.204s 0.002s 154.235s 11 1,675 167.79s 0.002s 167.873s 12 1,757 176.102s 0.004s 176.184s 13 1,549 155.164s 0.002s 155.18s 14 72,895 1,786.246s 0.006s 1,786.844s 15 1,501 150.428s 0.003s 150.46s 16 764 76.419s 0.002s 76.435s 17 52,646 2,273.382s 0.005s 2,273.872s 18 1,495 149.885s 0.004s 149.966s 19 1,101 110.387s 0.003s 110.419s 20 3,342 334.734s 0.004s 334.779s 21 1,570 157.348s 0.002s 157.43s 22 1,059 106.08s 0.001s 106.096s 23 109,944 1,790.761s 0.004s 1,791.312s Mar 12 00 8,513 852.746s 0.004s 852.943s 01 2,652 265.661s 0.004s 265.704s 02 7,094 710.629s 0.004s 710.725s 03 1,249 125.217s 0.003s 125.299s 04 1,386 138.922s 0.002s 138.953s 05 4,733 474.195s 0.004s 474.333s 06 1,675 167.802s 0.004s 167.833s 07 639 64.096s 0.002s 64.113s 08 28,830 1,880.313s 0.005s 1,880.653s 09 3,564 357.139s 0.003s 357.184s 10 10,968 1,098.039s 0.004s 1,098.237s 11 1,344 134.722s 0.003s 134.752s 12 4,559 456.731s 0.003s 456.823s 13 6,834 684.585s 0.003s 684.69s 14 1,438 144.149s 0.004s 144.234s 15 1,467 147.035s 0.004s 147.066s 16 1,367 137.017s 0.004s 137.1s 17 989 99.246s 0.002s 99.275s 18 1,132 113.379s 0.003s 113.41s 19 2,812 281.722s 0.004s 281.807s 20 1,044 104.677s 0.003s 104.708s 21 1,427 143.075s 0.003s 143.105s 22 2,168 217.354s 0.004s 217.436s 23 4,327 433.441s 0.004s 433.535s Mar 13 00 13,669 1,500.947s 0.008s 1,501.221s 01 603 60.533s 0.003s 60.564s 02 118 12.001s 0.002s 12.03s 03 0 0s 0s 0s 04 0 0s 0s 0s 05 233 23.45s 0.001s 23.464s 06 1,019 102.077s 0.004s 102.108s 07 667 67.046s 0.003s 67.135s 08 861 86.371s 0.003s 86.402s 09 6,197 620.536s 0.004s 620.656s 10 13,748 1,376.243s 0.002s 1,376.519s 11 88,110 1,713.937s 0.005s 1,714.16s 12 1,502 150.672s 0.003s 150.75s 13 51,003 1,634.564s 0.003s 1,635.025s 14 541 54.272s 0.003s 54.302s 15 583 58.575s 0.002s 58.604s 16 821 82.41s 0.003s 82.44s 17 483 48.455s 0.002s 48.53s 18 123,668 1,642.2s 0.003s 1,642.668s 19 788 79.114s 0.003s 79.144s 20 2,822 282.701s 0.003s 282.79s 21 1,261 126.54s 0.135s 127.117s 22 51,131 1,634.09s 0.003s 1,634.18s 23 521 52.26s 0.002s 52.293s Mar 14 00 2,691 269.734s 0.004s 269.831s 01 4,890 489.845s 0.004s 489.901s 02 1,452 145.617s 0.003s 145.694s 03 447 44.88s 0.003s 44.911s 04 449 45.158s 0.003s 45.187s 05 9,891 990.414s 0.003s 990.553s 06 939 94.155s 0.004s 94.235s 07 584 58.684s 0.003s 58.715s 08 865 86.616s 0.003s 86.648s 09 3,958 396.59s 0.004s 396.713s 10 12,614 1,262.57s 0.003s 1,262.721s 11 5,543 555.17s 0.004s 555.238s 12 1,930 193.525s 0.003s 193.603s 13 1,032 103.355s 0.004s 103.387s 14 1,874 187.767s 0.003s 187.843s 15 1,526 152.944s 0.003s 152.975s 16 6,483 649.116s 0.004s 649.231s 17 905 90.81s 0.004s 90.841s 18 625 62.675s 0.002s 62.752s 19 660 66.182s 0.002s 66.212s 20 1,052 105.535s 0.003s 105.566s 21 1,065 106.732s 0.003s 106.814s 22 903 90.614s 0.002s 90.643s 23 790 79.2s 0.004s 79.23s Mar 15 00 4,717 472.499s 0.005s 472.633s 01 5,876 588.262s 0.003s 588.374s 02 663 66.372s 0.004s 66.402s 03 734 73.593s 0.003s 73.623s 04 835 83.62s 0.003s 83.651s 05 913 91.559s 0.003s 91.636s 06 1,003 100.541s 0.004s 100.571s 07 845 84.715s 0.003s 84.746s 08 4,805 481.25s 0.002s 481.385s 09 568 56.877s 0.001s 56.891s 10 68,451 1,698.699s 0.005s 1,699.148s 11 5,089 509.739s 0.004s 509.807s 12 994 99.637s 0.003s 99.666s 13 1,014 101.642s 0.003s 101.672s 14 826 82.929s 0.003s 83.007s 15 1,034 103.65s 0.004s 103.681s 16 8,234 824.238s 0.004s 824.331s 17 1,163 116.478s 0.003s 116.509s 18 1,318 132.088s 0.004s 132.119s 19 5,273 536.976s 0.004s 537.047s 20 25,274 1,638.778s 0.003s 1,638.855s 21 1,281 128.421s 0.003s 128.45s 22 923 92.624s 0.003s 92.699s 23 963 96.526s 0.003s 96.555s Day Hour Added Removed Recycled Synced files Longest sync Average sync Mar 09 00 0 2 0 84 0.001s 0.002s 01 0 0 0 39 0.001s 0.002s 03 0 1 0 64 0.001s 0.002s 04 0 0 0 60 0.001s 0.002s 05 0 1 0 51 0.001s 0.002s 06 0 1 0 51 0.001s 0.002s 07 0 36 0 76 0.001s 0.001s 08 0 0 5 212 0.001s 0.003s 09 0 0 2 142 0.001s 0.002s 10 0 0 1 49 0.001s 0.002s 11 0 0 1 41 0.002s 0.002s 12 0 0 16 32 0.002s 0.002s 13 0 0 0 32 0.001s 0.002s 14 0 0 0 31 0.001s 0.002s 15 0 0 1 28 0.001s 0.002s 16 0 0 0 28 0.001s 0.002s 17 0 0 1 21 0.001s 0.002s 18 0 0 0 29 0.001s 0.002s 19 0 0 0 20 0.001s 0.002s 20 0 0 1 27 0.001s 0.002s 21 0 0 0 24 0.001s 0.002s 22 0 0 3 43 0.001s 0.002s 23 0 0 1 24 0.001s 0.002s Mar 10 00 0 0 2 81 0.001s 0.002s 01 0 0 0 40 0.001s 0.002s 02 0 0 1 37 0.001s 0.002s 03 0 0 0 44 0.001s 0.002s 04 0 0 1 41 0.001s 0.002s 05 0 0 1 56 0.001s 0.002s 06 0 0 4 38 0.001s 0.001s 07 0 0 43 172 0.001s 0.003s 08 0 0 1 144 0.001s 0.002s 09 0 0 1 144 0.001s 0.002s 10 0 0 2 153 0.001s 0.002s 11 0 0 1 139 0.001s 0.002s 12 0 0 0 166 0.001s 0.002s 13 0 0 1 98 0.001s 0.002s 14 0 0 0 87 0.001s 0.002s 15 0 0 1 159 0.001s 0.002s 16 0 0 1 142 0.001s 0.002s 17 0 0 1 34 0.001s 0.002s 18 0 0 3 105 0.004s 0.002s 19 0 0 0 21 0.001s 0.002s 20 0 0 1 32 0.001s 0.002s 21 0 0 1 21 0.001s 0.002s 22 0 0 0 50 0.001s 0.002s 23 0 0 1 83 0.001s 0.002s Mar 11 00 0 0 3 107 0.003s 0.002s 01 0 0 0 36 0.001s 0.002s 02 0 0 2 61 0.001s 0.002s 03 0 2 8 59 0.001s 0.002s 04 0 0 5 60 0.001s 0.002s 05 0 0 0 38 0.001s 0.002s 06 0 0 0 101 0.001s 0.002s 07 0 0 1 143 0.001s 0.002s 08 0 0 0 74 0.001s 0.002s 09 0 0 1 42 0.001s 0.002s 10 0 0 0 86 0.001s 0.002s 11 0 0 1 206 0.001s 0.002s 12 0 0 1 41 0.001s 0.002s 13 0 0 0 108 0.001s 0.001s 14 0 0 40 99 0.001s 0.003s 15 0 0 0 23 0.001s 0.002s 16 0 0 0 17 0.001s 0.001s 17 0 0 34 58 0.001s 0.003s 18 0 0 1 79 0.001s 0.002s 19 0 0 0 20 0.001s 0.002s 20 0 0 1 58 0.001s 0.002s 21 0 0 1 32 0.001s 0.002s 22 0 0 0 22 0.001s 0.001s 23 0 0 36 70 0.001s 0.003s Mar 12 00 0 0 4 84 0.001s 0.002s 01 0 0 1 51 0.001s 0.002s 02 0 0 2 68 0.001s 0.002s 03 0 0 1 45 0.001s 0.002s 04 0 0 0 33 0.001s 0.002s 05 0 0 2 61 0.001s 0.002s 06 0 0 0 47 0.001s 0.002s 07 0 0 0 21 0.001s 0.001s 08 0 0 18 130 0.001s 0.003s 09 0 0 1 168 0.001s 0.002s 10 0 0 7 140 0.001s 0.002s 11 0 0 0 124 0.001s 0.002s 12 0 0 2 109 0.001s 0.002s 13 0 0 3 113 0.001s 0.002s 14 0 0 1 39 0.001s 0.002s 15 0 0 0 154 0.001s 0.002s 16 0 0 1 85 0.001s 0.002s 17 0 0 0 29 0.001s 0.002s 18 0 0 0 30 0.001s 0.002s 19 0 0 1 36 0.001s 0.002s 20 0 0 0 23 0.001s 0.002s 21 0 0 0 33 0.001s 0.002s 22 0 0 1 36 0.001s 0.002s 23 0 0 2 55 0.001s 0.002s Mar 13 00 0 0 8 107 0.004s 0.002s 01 0 0 0 36 0.001s 0.002s 02 0 0 0 14 0.001s 0.002s 03 0 0 0 0 0s 0s 04 0 0 0 0 0s 0s 05 0 0 0 19 0.001s 0.001s 06 0 0 0 48 0.001s 0.002s 07 0 0 1 34 0.001s 0.002s 08 0 0 0 132 0.001s 0.002s 09 0 0 4 144 0.001s 0.002s 10 0 28 12 91 0.001s 0.001s 11 0 0 12 177 0.001s 0.003s 12 0 0 1 40 0.001s 0.002s 13 0 0 34 45 0.001s 0.002s 14 0 0 0 31 0.001s 0.002s 15 0 0 0 28 0.001s 0.002s 16 0 0 0 76 0.001s 0.002s 17 0 0 1 27 0.001s 0.002s 18 0 0 34 56 0.001s 0.002s 19 0 0 0 23 0.001s 0.002s 20 0 0 2 37 0.001s 0.002s 21 0 0 32 33 0.073s 0.007s 22 0 0 2 38 0.001s 0.002s 23 0 0 0 20 0.001s 0.002s Mar 14 00 0 0 2 82 0.001s 0.002s 01 0 0 2 51 0.001s 0.002s 02 0 0 1 51 0.001s 0.002s 03 0 0 0 43 0.001s 0.002s 04 0 0 0 39 0.001s 0.002s 05 0 0 6 48 0.001s 0.002s 06 0 0 1 135 0.001s 0.002s 07 0 0 0 132 0.001s 0.002s 08 0 0 0 130 0.001s 0.002s 09 0 0 2 159 0.001s 0.002s 10 0 0 7 155 0.001s 0.002s 11 0 0 3 90 0.001s 0.002s 12 0 0 1 43 0.001s 0.002s 13 0 0 0 144 0.001s 0.002s 14 0 0 1 93 0.001s 0.002s 15 0 0 0 45 0.001s 0.002s 16 0 0 4 42 0.001s 0.002s 17 0 0 0 31 0.001s 0.002s 18 0 0 1 23 0.001s 0.002s 19 0 0 0 20 0.001s 0.002s 20 0 0 0 29 0.001s 0.002s 21 0 0 1 38 0.001s 0.002s 22 0 0 0 28 0.001s 0.002s 23 0 0 0 22 0.001s 0.002s Mar 15 00 0 0 2 83 0.001s 0.002s 01 0 0 4 47 0.001s 0.002s 02 0 0 0 35 0.001s 0.002s 03 0 0 0 40 0.001s 0.002s 04 0 0 0 35 0.001s 0.002s 05 0 0 1 36 0.001s 0.002s 06 0 0 0 29 0.001s 0.002s 07 0 0 0 37 0.001s 0.002s 08 0 0 3 41 0.001s 0.002s 09 0 0 0 15 0.001s 0.001s 10 0 0 31 62 0.001s 0.003s 11 0 0 3 34 0.001s 0.002s 12 0 0 0 30 0.001s 0.002s 13 0 0 0 23 0.001s 0.002s 14 0 0 1 22 0.001s 0.002s 15 0 0 0 29 0.001s 0.002s 16 0 0 5 34 0.001s 0.002s 17 0 0 0 28 0.001s 0.002s 18 0 0 0 30 0.001s 0.002s 19 0 0 3 38 0.001s 0.002s 20 0 0 1 25 0.001s 0.002s 21 0 0 0 29 0.001s 0.002s 22 0 0 1 21 0.001s 0.002s 23 0 0 0 25 0.001s 0.002s Day Hour Count Avg time (sec) Mar 09 00 0 0s 01 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 10 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Mar 11 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Mar 12 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Mar 13 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Mar 14 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Mar 15 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate Mar 09 00 19,766.00 kB 31,719.00 kB 01 1,780.50 kB 26,239.00 kB 03 3,031.50 kB 21,783.00 kB 04 4,027.00 kB 18,350.50 kB 05 3,343.50 kB 15,543.00 kB 06 11,037.00 kB 18,959.50 kB 07 60,067.00 kB 60,067.00 kB 08 201,544.67 kB 540,302.33 kB 09 22,029.50 kB 416,908.00 kB 10 5,834.50 kB 340,227.50 kB 11 9,138.50 kB 277,580.50 kB 12 126,806.00 kB 248,948.50 kB 13 3,008.00 kB 202,207.50 kB 14 4,544.50 kB 164,673.50 kB 15 2,859.50 kB 133,917.50 kB 16 3,101.00 kB 109,031.00 kB 17 2,945.00 kB 88,896.50 kB 18 3,474.50 kB 72,623.50 kB 19 3,182.50 kB 59,455.50 kB 20 3,640.00 kB 48,821.50 kB 21 3,573.00 kB 40,239.50 kB 22 25,692.50 kB 44,882.00 kB 23 4,154.50 kB 37,155.00 kB Mar 10 00 18,628.00 kB 33,552.50 kB 01 1,686.00 kB 27,685.00 kB 02 2,020.50 kB 22,805.00 kB 03 6,928.00 kB 19,334.50 kB 04 2,333.50 kB 16,534.50 kB 05 11,779.00 kB 16,235.50 kB 06 66,581.00 kB 66,581.00 kB 07 227,865.00 kB 606,973.00 kB 08 13,958.50 kB 468,491.00 kB 09 10,184.00 kB 380,815.50 kB 10 18,684.00 kB 311,251.00 kB 11 3,759.50 kB 254,161.50 kB 12 4,339.00 kB 206,656.50 kB 13 2,967.50 kB 168,020.50 kB 14 3,176.50 kB 136,687.00 kB 15 7,521.00 kB 111,747.00 kB 16 7,280.50 kB 91,990.50 kB 17 9,073.00 kB 76,543.00 kB 18 26,037.50 kB 64,949.50 kB 19 3,577.50 kB 55,277.50 kB 20 4,464.00 kB 45,599.00 kB 21 3,996.00 kB 37,703.50 kB 22 4,349.50 kB 31,356.00 kB 23 9,588.50 kB 27,223.50 kB Mar 11 00 24,030.00 kB 33,958.50 kB 01 1,710.00 kB 28,334.50 kB 02 11,747.00 kB 25,130.00 kB 03 79,859.50 kB 79,859.50 kB 04 42,538.50 kB 93,397.50 kB 05 3,257.00 kB 77,753.00 kB 06 3,149.00 kB 63,588.50 kB 07 4,482.50 kB 52,372.00 kB 08 3,363.50 kB 43,034.00 kB 09 4,061.50 kB 35,536.00 kB 10 4,029.50 kB 29,627.50 kB 11 5,479.00 kB 24,907.50 kB 12 4,855.50 kB 21,297.00 kB 13 9,228.00 kB 19,187.00 kB 14 215,203.67 kB 568,933.00 kB 15 3,568.50 kB 437,295.00 kB 16 3,572.00 kB 373,366.00 kB 17 186,335.33 kB 448,788.33 kB 18 4,083.00 kB 346,663.00 kB 19 3,429.00 kB 281,465.00 kB 20 8,929.50 kB 229,491.50 kB 21 4,786.00 kB 186,887.00 kB 22 6,304.00 kB 160,250.00 kB 23 193,260.67 kB 512,162.67 kB Mar 12 00 33,332.50 kB 398,257.50 kB 01 6,230.50 kB 324,697.00 kB 02 22,554.00 kB 266,515.00 kB 03 1,725.50 kB 217,390.00 kB 04 1,814.50 kB 176,424.50 kB 05 14,645.00 kB 145,617.50 kB 06 2,170.50 kB 118,418.00 kB 07 2,212.00 kB 101,295.00 kB 08 97,100.67 kB 250,077.00 kB 09 9,688.50 kB 194,057.00 kB 10 53,720.50 kB 167,569.50 kB 11 2,917.50 kB 136,332.00 kB 12 14,891.00 kB 113,297.50 kB 13 30,811.00 kB 97,601.50 kB 14 2,433.00 kB 79,502.50 kB 15 3,411.00 kB 65,004.00 kB 16 3,028.00 kB 53,256.50 kB 17 2,496.50 kB 43,629.00 kB 18 2,729.00 kB 35,852.50 kB 19 3,820.00 kB 29,712.00 kB 20 3,089.50 kB 24,691.50 kB 21 3,297.50 kB 20,603.50 kB 22 7,030.50 kB 17,693.00 kB 23 14,016.50 kB 17,390.50 kB Mar 13 00 63,808.00 kB 85,410.00 kB 01 1,610.00 kB 71,226.50 kB 02 378.00 kB 57,809.00 kB 03 0.00 kB 0.00 kB 04 0.00 kB 0.00 kB 05 1,528.00 kB 49,452.00 kB 06 2,004.50 kB 42,571.00 kB 07 1,569.50 kB 34,820.50 kB 08 2,501.00 kB 28,621.00 kB 09 31,246.50 kB 56,924.50 kB 10 135,779.00 kB 135,779.00 kB 11 240,755.00 kB 648,415.00 kB 12 4,205.00 kB 498,034.50 kB 13 280,610.00 kB 531,966.50 kB 14 1,274.50 kB 431,137.50 kB 15 1,421.50 kB 349,472.00 kB 16 2,863.00 kB 283,486.50 kB 17 1,315.00 kB 230,024.00 kB 18 282,246.00 kB 534,553.00 kB 19 1,506.00 kB 433,287.50 kB 20 10,325.50 kB 352,140.50 kB 21 3,935.00 kB 286,552.00 kB 22 280,700.00 kB 531,671.50 kB 23 1,631.00 kB 430,971.50 kB Mar 14 00 10,008.00 kB 350,922.50 kB 01 19,945.00 kB 288,139.50 kB 02 4,634.00 kB 233,951.50 kB 03 1,228.50 kB 190,035.50 kB 04 1,327.50 kB 154,185.50 kB 05 51,237.50 kB 134,583.00 kB 06 2,205.00 kB 109,431.00 kB 07 1,679.00 kB 88,960.50 kB 08 2,219.50 kB 72,472.00 kB 09 13,123.50 kB 61,000.00 kB 10 61,651.00 kB 115,031.00 kB 11 22,149.50 kB 95,592.00 kB 12 5,817.50 kB 80,334.00 kB 13 3,037.50 kB 65,593.50 kB 14 5,418.50 kB 53,971.50 kB 15 4,436.50 kB 44,778.00 kB 16 31,663.50 kB 57,460.50 kB 17 2,454.00 kB 47,034.50 kB 18 1,790.50 kB 38,469.00 kB 19 1,989.00 kB 31,526.50 kB 20 2,393.50 kB 25,990.00 kB 21 3,715.50 kB 21,754.50 kB 22 2,449.50 kB 18,059.50 kB 23 2,442.50 kB 15,091.00 kB Mar 15 00 14,325.50 kB 21,519.50 kB 01 30,611.50 kB 56,481.50 kB 02 2,091.00 kB 46,141.00 kB 03 2,183.00 kB 37,778.00 kB 04 2,365.00 kB 31,041.00 kB 05 3,001.50 kB 25,659.00 kB 06 2,412.00 kB 21,286.50 kB 07 2,477.00 kB 17,718.00 kB 08 21,063.50 kB 27,699.50 kB 09 2,474.00 kB 36,206.00 kB 10 168,073.00 kB 451,031.67 kB 11 23,080.00 kB 348,441.00 kB 12 2,545.50 kB 284,570.00 kB 13 2,057.50 kB 230,902.00 kB 14 2,380.50 kB 187,484.00 kB 15 2,695.00 kB 152,370.50 kB 16 38,783.50 kB 130,783.00 kB 17 2,980.00 kB 106,497.00 kB 18 2,834.50 kB 86,794.50 kB 19 24,986.50 kB 75,052.00 kB 20 3,009.00 kB 61,363.50 kB 21 3,499.00 kB 50,332.00 kB 22 2,871.50 kB 41,352.00 kB 23 2,951.50 kB 34,053.50 kB -
Temporary Files
Size of temporary files
Key values
- 6.88 MiB Temp Files size Peak
- 2025-03-12 00:26:00 Date
Number of temporary files
Key values
- 6 per second Temp Files Peak
- 2025-03-12 00:26:00 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Mar 09 00 0 0 0 01 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 10 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Mar 11 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Mar 12 00 6 6.88 MiB 1.15 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 13 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Mar 14 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Mar 15 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Queries generating the most temporary files (N)
Rank Count Total size Min size Max size Avg size Query 1 6 6.88 MiB 376.00 KiB 1.91 MiB 1.15 MiB vacuum full analyze log_query;-
VACUUM FULL ANALYZE log_query;
Date: 2025-03-12 00:26:00 Duration: 0ms
Queries generating the largest temporary files
Rank Size Query 1 1.91 MiB VACUUM FULL ANALYZE log_query;[ Date: 2025-03-12 00:26:00 ]
2 1.64 MiB VACUUM FULL ANALYZE log_query;[ Date: 2025-03-12 00:26:00 ]
3 1.40 MiB VACUUM FULL ANALYZE log_query;[ Date: 2025-03-12 00:26:00 ]
4 808.00 KiB VACUUM FULL ANALYZE log_query;[ Date: 2025-03-12 00:26:00 ]
5 792.00 KiB VACUUM FULL ANALYZE log_query;[ Date: 2025-03-12 00:26:00 ]
6 376.00 KiB VACUUM FULL ANALYZE log_query;[ Date: 2025-03-12 00:26:00 ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 17.38 sec Highest CPU-cost vacuum
Table pub2.term_set_enrichment_agent
Database ctdprd51 - 2025-03-13 18:06:45 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 17.38 sec Highest CPU-cost vacuum
Table pub2.term_set_enrichment_agent
Database ctdprd51 - 2025-03-13 18:06:45 Date
Analyzes per table
Key values
- pubc.log_query (185) Main table analyzed (database ctdprd51)
- 235 analyzes Total
Table Number of analyzes ctdprd51.pubc.log_query 185 ctdprd51.pub2.term_set_enrichment 8 ctdprd51.pub2.term_set_enrichment_agent 7 ctdprd51.pub2.term_comp_agent 3 ctdprd51.edit.db_report_site 2 ctdprd51.edit.action_degree 2 ctdprd51.edit.list_db_report 2 ctdprd51.edit.db_report 2 ctdprd51.edit.db 2 ctdprd51.edit.action_type 2 ctdprd51.edit.action_type_path 2 ctdprd51.edit.country 2 ctdprd51.edit.slim_term 1 ctdprd51.load.dag_edge_type 1 ctdprd51.edit.exposure 1 ctdprd51.pg_catalog.pg_class 1 ctdprd51.edit.exp_event_assay_method 1 ctdprd51.edit.race 1 ctdprd51.load.img 1 ctdprd51.edit.exp_outcome 1 ctdprd51.edit.exp_event_project 1 ctdprd51.edit.exp_study_factor 1 ctdprd51.edit.ixn_qualifier 1 ctdprd51.pub2.term_comp 1 ctdprd51.edit.study_factor 1 ctdprd51.edit.geographic_region 1 ctdprd51.load.data_load 1 ctdprd51.edit.term_label_type 1 Total 235 Vacuums per table
Key values
- pubc.log_query (68) Main table vacuumed on database ctdprd51
- 104 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 68 38 111,742 0 17,111 0 15,841 27,014 1,904 15,570,249 ctdprd51.pg_toast.pg_toast_2619 4 4 16,648 0 4,383 0 39,967 12,557 3,936 2,168,412 ctdprd51.pub2.term_set_enrichment 3 0 10,288 0 3,865 0 0 4,986 6 327,939 ctdprd51.pg_toast.pg_toast_486223 3 0 111 0 3 0 0 3 0 564 ctdprd51.pub2.term_set_enrichment_agent 3 0 477,640 0 175,228 0 0 238,589 11 14,162,223 ctdprd51.edit.action_degree 2 1 104 0 3 0 0 28 2 19,652 ctdprd51.edit.list_db_report 2 0 109 0 0 0 0 12 2 18,284 ctdprd51.edit.db_report 2 1 217 0 2 0 0 23 3 25,355 ctdprd51.edit.action_type_path 2 0 99 0 6 0 0 8 2 18,046 ctdprd51.edit.country 2 1 151 0 4 0 0 20 2 18,852 ctdprd51.edit.db_report_site 1 1 78 0 4 0 0 18 2 11,203 ctdprd51.edit.evidence 1 0 32 0 2 0 0 3 2 15,595 ctdprd51.pg_catalog.pg_statistic 1 1 742 0 179 0 116 448 162 658,735 ctdprd51.edit.race 1 0 57 0 5 0 0 3 2 13,137 ctdprd51.edit.db 1 1 116 0 4 0 0 23 2 11,676 ctdprd51.pub2.term_comp_agent 1 0 148 0 33 0 0 29 2 12,966 ctdprd51.edit.exp_marker_type 1 0 43 0 4 0 0 3 1 8,679 ctdprd51.edit.action_type 1 1 135 0 4 0 0 13 2 14,493 ctdprd51.pub2.term_comp 1 0 145 0 5 0 0 23 2 12,612 ctdprd51.edit.geographic_region 1 0 64 0 5 0 0 3 2 12,305 ctdprd51.edit.action_degree_type 1 0 82 0 2 0 0 3 2 8,993 ctdprd51.edit.exp_outcome_ixn_type 1 0 44 0 5 0 0 3 2 12,191 ctdprd51.edit.actor_form_type 1 0 82 0 1 0 0 3 1 8,747 Total 104 49 618,877 2,908 200,858 0 55,924 283,815 6,052 33,130,908 Tuples removed per table
Key values
- pubc.log_query (57575) Main table with removed tuples on database ctdprd51
- 75473 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pubc.log_query 68 38 57,575 1,449,529 228,441 0 71,767 ctdprd51.pg_toast.pg_toast_2619 4 4 15,452 76,829 0 0 50,368 ctdprd51.pg_catalog.pg_statistic 1 1 486 3,290 43 0 410 ctdprd51.edit.action_degree 2 1 297 438 0 0 12 ctdprd51.edit.db_report 2 1 248 320 0 0 8 ctdprd51.edit.country 2 1 216 498 0 0 8 ctdprd51.edit.list_db_report 2 0 212 366 0 0 6 ctdprd51.edit.action_type_path 2 0 212 212 0 0 4 ctdprd51.edit.db_report_site 1 1 162 162 0 0 5 ctdprd51.edit.db 1 1 116 132 0 0 8 ctdprd51.edit.race 1 0 81 27 0 0 1 ctdprd51.edit.action_type 1 1 72 60 0 0 3 ctdprd51.edit.geographic_region 1 0 67 51 0 0 1 ctdprd51.edit.action_degree_type 1 0 65 13 0 0 1 ctdprd51.edit.evidence 1 0 54 18 0 0 1 ctdprd51.edit.actor_form_type 1 0 54 18 0 0 1 ctdprd51.edit.exp_marker_type 1 0 52 4 0 0 1 ctdprd51.edit.exp_outcome_ixn_type 1 0 52 4 0 0 1 ctdprd51.pub2.term_set_enrichment 3 0 0 1,404,618 0 0 23,223 ctdprd51.pub2.term_comp_agent 1 0 0 11,175 0 0 98 ctdprd51.pg_toast.pg_toast_486223 3 0 0 74 0 0 16 ctdprd51.pub2.term_comp 1 0 0 2,287 0 0 22 ctdprd51.pub2.term_set_enrichment_agent 3 0 0 91,553,016 0 0 1,040,378 Total 104 49 75,473 94,503,141 228,484 0 1,186,343 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.db_report_site 1 1 162 0 ctdprd51.edit.evidence 1 0 54 0 ctdprd51.pg_catalog.pg_statistic 1 1 486 0 ctdprd51.edit.action_degree 2 1 297 0 ctdprd51.edit.race 1 0 81 0 ctdprd51.edit.list_db_report 2 0 212 0 ctdprd51.pub2.term_set_enrichment 3 0 0 0 ctdprd51.edit.db_report 2 1 248 0 ctdprd51.edit.db 1 1 116 0 ctdprd51.pub2.term_comp_agent 1 0 0 0 ctdprd51.edit.exp_marker_type 1 0 52 0 ctdprd51.edit.action_type 1 1 72 0 ctdprd51.pg_toast.pg_toast_2619 4 4 15452 0 ctdprd51.pg_toast.pg_toast_486223 3 0 0 0 ctdprd51.pub2.term_comp 1 0 0 0 ctdprd51.edit.action_type_path 2 0 212 0 ctdprd51.pubc.log_query 68 38 57575 0 ctdprd51.edit.geographic_region 1 0 67 0 ctdprd51.edit.action_degree_type 1 0 65 0 ctdprd51.edit.exp_outcome_ixn_type 1 0 52 0 ctdprd51.edit.country 2 1 216 0 ctdprd51.edit.actor_form_type 1 0 54 0 ctdprd51.pub2.term_set_enrichment_agent 3 0 0 0 Total 104 49 75,473 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Mar 09 00 2 2 01 1 4 03 1 3 04 1 2 05 1 2 06 0 2 07 1 3 08 0 1 09 0 1 10 1 1 11 0 1 12 0 1 13 1 0 14 0 1 15 0 0 16 0 1 17 0 0 18 1 1 19 0 0 20 0 1 21 0 0 22 0 1 23 1 0 Mar 10 00 2 3 01 1 4 02 1 3 03 1 2 04 1 2 05 0 3 06 3 2 07 0 2 08 1 0 09 0 2 10 0 1 11 1 1 12 9 10 13 0 0 14 0 1 15 0 5 16 1 1 17 0 0 18 0 1 19 0 1 20 2 0 21 0 1 22 0 0 23 0 0 Mar 11 00 1 4 01 1 4 02 1 3 03 1 3 04 1 2 05 1 2 06 0 2 07 1 1 08 0 1 09 0 1 10 1 1 11 0 0 12 11 16 13 0 2 14 1 1 15 0 0 16 1 1 17 0 0 18 0 1 19 1 0 20 0 1 21 0 0 22 1 3 23 0 0 Mar 12 00 6 3 01 1 4 02 2 2 03 1 2 04 0 2 05 1 1 06 0 1 07 1 1 08 0 1 09 1 1 10 0 1 11 0 0 12 1 3 13 0 0 14 1 2 15 0 0 16 0 1 17 0 0 18 1 1 19 1 0 20 0 0 21 0 1 22 0 0 23 0 2 Mar 13 00 2 3 01 0 2 02 0 0 03 0 0 04 0 0 05 1 2 06 0 2 07 1 2 08 0 1 09 1 1 10 1 3 11 1 0 12 0 1 13 0 1 14 0 0 15 0 1 16 0 0 17 0 0 18 1 2 19 1 0 20 0 0 21 0 1 22 0 0 23 0 0 Mar 14 00 1 3 01 0 3 02 1 4 03 1 2 04 0 2 05 1 2 06 0 1 07 0 1 08 1 1 09 1 2 10 0 1 11 0 1 12 1 2 13 1 1 14 0 2 15 1 1 16 0 1 17 0 1 18 0 0 19 1 0 20 0 1 21 0 1 22 0 1 23 0 0 Mar 15 00 3 4 01 1 4 02 1 3 03 1 3 04 1 1 05 0 2 06 1 1 07 0 1 08 0 1 09 1 2 10 0 1 11 0 0 12 0 1 13 1 0 14 0 1 15 0 0 16 0 1 17 0 0 18 1 0 19 0 1 20 0 0 21 0 1 22 0 0 23 0 0 - 17.38 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
- 13,424 Total read queries
- 592 Total write queries
Queries by database
Key values
- unknown Main database
- 10,212 Requests
- 19h1m12s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 22,958 Requests
User Request type Count Duration editeu Total 2 6s43ms select 2 6s43ms load Total 122 1h33m8s select 122 1h33m8s postgres Total 110 1h27s copy to 108 59m28s select 2 59s416ms pubc Total 2 2s302ms select 2 2s302ms pubeu Total 8,131 10h52m29s cte 148 6m45s select 7,983 10h45m44s qaeu Total 77 3m25s cte 17 58s840ms select 60 2m26s unknown Total 22,958 1d17h55m22s copy to 708 6h51m8s cte 419 15m55s others 9 56s839ms select 21,822 1d10h47m20s Duration by user
Key values
- 1d17h55m22s (unknown) Main time consuming user
User Request type Count Duration editeu Total 2 6s43ms select 2 6s43ms load Total 122 1h33m8s select 122 1h33m8s postgres Total 110 1h27s copy to 108 59m28s select 2 59s416ms pubc Total 2 2s302ms select 2 2s302ms pubeu Total 8,131 10h52m29s cte 148 6m45s select 7,983 10h45m44s qaeu Total 77 3m25s cte 17 58s840ms select 60 2m26s unknown Total 22,958 1d17h55m22s copy to 708 6h51m8s cte 419 15m55s others 9 56s839ms select 21,822 1d10h47m20s Queries by host
Key values
- unknown Main host
- 31,402 Requests
- 2d7h25m1s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 13,973 Requests
- 1d46m19s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2025-03-10 14:50:23 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 13,649 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 26m6s /* * 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-14 00:26:08 ]
2 26m3s /* * 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-13 00:26:05 ]
3 25m58s /* * 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-12 00:26:00 ]
4 25m55s /* * 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-15 00:25:56 ]
5 25m55s /* * 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-09 00:25:56 ]
6 25m45s /* * 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-11 00:25:47 ]
7 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-10 00:25:44 ]
8 24m41s 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-15 19:45:40 ]
9 24m24s 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-15 19:01:29 ]
10 18m42s 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-10 10:49:26 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
11 18m6s 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-10 15:24:03 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
12 17m54s 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-13 06:09:04 - Bind query: yes ]
13 17m50s 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-12 02:53:12 - Bind query: yes ]
14 12m35s 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 = '1251189') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-03-11 20:46:09 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
15 11m40s 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 = '1251189') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-03-10 07:12:26 - Bind query: yes ]
16 11m33s 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 = '1251189') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-03-11 13:51:14 - Bind query: yes ]
17 11m33s 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 = '1251189') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-03-11 22:13:50 - Bind query: yes ]
18 11m26s SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'TNF') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'AMINO ACIDS' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) AND exists ( SELECT 1 FROM gene_chem_reference_axn gcra WHERE gcr.id = gcra.gene_chem_reference_id AND gcra.action_type_nm IN ( SELECT ac.nm FROM action_type ap, action_type ac WHERE ac.subset_left_no BETWEEN ap.subset_left_no AND ap.subset_right_no AND (ap.nm = 'activity'))) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;[ Date: 2025-03-10 10:31:11 - Bind query: yes ]
19 7m7s 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 = '1270048') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-03-11 01:52:44 - Bind query: yes ]
20 7m5s COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;[ Date: 2025-03-15 19:57:53 ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 9h13m32s 385 1s469ms 18m42s 1m26s 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 09 23 1 4m46s 4m46s 00 2 5m15s 2m37s 03 2 4s176ms 2s88ms 04 3 5s321ms 1s773ms 05 2 4s361ms 2s180ms 06 1 5m12s 5m12s 07 1 1s815ms 1s815ms 08 2 4m9s 2m4s 09 4 4m45s 1m11s 10 7 15s147ms 2s163ms 11 2 3s672ms 1s836ms 12 2 4m26s 2m13s 13 5 3m26s 41s288ms 14 4 4m15s 1m3s 15 3 5s971ms 1s990ms 16 1 3s386ms 3s386ms 17 3 9m45s 3m15s 18 3 5s628ms 1s876ms 19 3 5m9s 1m43s 20 1 3s433ms 3s433ms 21 8 1m51s 13s933ms 22 3 5s804ms 1s934ms 23 4 8m10s 2m2s Mar 10 00 2 2m8s 1m4s 01 3 12m30s 4m10s 02 1 5m9s 5m9s 03 4 3m17s 49s251ms 04 8 15m33s 1m56s 05 4 4m52s 1m13s 06 4 3m15s 48s996ms 07 3 11m44s 3m54s 08 6 16s14ms 2s669ms 09 3 5s660ms 1s886ms 10 2 18m44s 9m22s 11 4 6s621ms 1s655ms 12 3 7s218ms 2s406ms 13 4 6m44s 1m41s 14 1 2s409ms 2s409ms 15 4 20m5s 5m1s 16 3 7s574ms 2s524ms 17 4 12m47s 3m11s 18 5 3m41s 44s349ms 19 3 2m18s 46s307ms 20 4 8s408ms 2s102ms 21 5 3m20s 40s32ms 22 1 2s3ms 2s3ms 23 1 3m31s 3m31s Mar 11 01 2 7m9s 3m34s 02 8 5m37s 42s174ms 03 3 4s782ms 1s594ms 04 3 6m47s 2m15s 05 6 10m30s 1m45s 06 4 7s769ms 1s942ms 07 5 10m9s 2m1s 08 2 4m42s 2m21s 09 6 8m21s 1m23s 10 2 4m17s 2m8s 11 7 4m59s 42s779ms 12 4 4m29s 1m7s 13 6 17m30s 2m55s 14 5 9m9s 1m49s 15 4 12s178ms 3s44ms 16 7 1m55s 16s542ms 17 6 13m51s 2m18s 18 7 14m44s 2m6s 19 3 8m36s 2m52s 20 8 22m24s 2m48s 21 12 6m17s 31s488ms 22 7 23m53s 3m24s 23 2 3m34s 1m47s Mar 12 00 5 5m20s 1m4s 01 8 17m23s 2m10s 02 5 22m56s 4m35s 03 9 4m27s 29s737ms 04 2 5s316ms 2s658ms 05 2 3m48s 1m54s 06 7 26m24s 3m46s 07 4 3m36s 54s169ms 08 3 9s456ms 3s152ms 09 3 6s554ms 2s184ms 10 6 11s766ms 1s961ms 11 5 8m45s 1m45s 12 6 8m11s 1m21s 13 7 15m28s 2m12s 14 4 3m3s 45s838ms 15 3 7s375ms 2s458ms 17 1 1s782ms 1s782ms 19 2 5s170ms 2s585ms 20 2 4s236ms 2s118ms 22 4 1m58s 29s745ms 23 1 2s27ms 2s27ms Mar 13 00 5 6m39s 1m19s 05 2 4m47s 2m23s 06 12 25m17s 2m6s 07 7 11m56s 1m42s 08 2 5s933ms 2s966ms [ User: pubeu - Total duration: 2h15m43s - Times executed: 91 ]
-
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-10 10:49:26 Duration: 18m42s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1252233') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-03-10 15:24:03 Duration: 18m6s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1252233') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-03-13 06:09:04 Duration: 17m54s Bind query: yes
2 3h1m28s 7 25m43s 26m6s 25m55s select maint_query_logs_archive ();Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 09 23 1 25m55s 25m55s Mar 10 00 1 25m43s 25m43s Mar 11 00 1 25m45s 25m45s Mar 12 00 1 25m58s 25m58s Mar 13 00 1 26m3s 26m3s Mar 14 00 1 26m6s 26m6s Mar 15 00 1 25m55s 25m55s -
/* * 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-14 00:26:08 Duration: 26m6s
-
/* * 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-13 00:26:05 Duration: 26m3s
-
/* * 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-12 00:26:00 Duration: 25m58s
3 1h22m41s 1,579 1s6ms 7s570ms 3s142ms 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 09 23 17 59s219ms 3s483ms 00 15 55s521ms 3s701ms 03 18 58s669ms 3s259ms 04 13 29s895ms 2s299ms 05 21 1m6s 3s170ms 06 17 50s784ms 2s987ms 07 16 45s125ms 2s820ms 08 9 36s479ms 4s53ms 09 13 46s506ms 3s577ms 10 15 42s353ms 2s823ms 11 7 22s670ms 3s238ms 12 19 48s942ms 2s575ms 13 14 52s2ms 3s714ms 14 14 51s687ms 3s691ms 15 14 48s270ms 3s447ms 16 14 56s89ms 4s6ms 17 19 1m6s 3s521ms 18 19 54s944ms 2s891ms 19 17 46s886ms 2s758ms 20 16 53s300ms 3s331ms 21 15 41s922ms 2s794ms 22 17 55s718ms 3s277ms 23 17 46s496ms 2s735ms Mar 10 00 11 31s52ms 2s822ms 01 30 1m55s 3s838ms 02 13 40s886ms 3s145ms 03 13 43s122ms 3s317ms 04 10 31s902ms 3s190ms 05 16 48s736ms 3s46ms 06 11 36s945ms 3s358ms 07 10 31s13ms 3s101ms 08 16 43s841ms 2s740ms 09 11 34s882ms 3s171ms 10 12 39s780ms 3s315ms 11 9 22s821ms 2s535ms 12 18 54s967ms 3s53ms 13 14 36s157ms 2s582ms 14 19 45s826ms 2s411ms 15 19 1m5s 3s425ms 16 16 46s843ms 2s927ms 17 17 1m9s 4s114ms 18 10 29s615ms 2s961ms 19 14 53s714ms 3s836ms 20 16 1m6s 4s167ms 21 15 38s624ms 2s574ms 22 9 37s993ms 4s221ms 23 3 6s58ms 2s19ms Mar 11 01 5 12s440ms 2s488ms 02 19 50s812ms 2s674ms 03 13 26s519ms 2s39ms 04 13 33s36ms 2s541ms 05 14 42s822ms 3s58ms 06 29 1m37s 3s356ms 07 19 58s400ms 3s73ms 08 30 1m40s 3s334ms 09 19 59s6ms 3s105ms 10 17 51s464ms 3s27ms 11 18 46s938ms 2s607ms 12 20 1m3s 3s158ms 13 24 1m22s 3s436ms 14 16 51s682ms 3s230ms 15 25 1m4s 2s591ms 16 18 57s832ms 3s212ms 17 11 31s23ms 2s820ms 18 26 1m22s 3s183ms 19 20 1m1s 3s52ms 20 14 42s575ms 3s41ms 21 15 55s629ms 3s708ms 22 20 1m1s 3s60ms 23 25 1m25s 3s405ms Mar 12 00 22 1m22s 3s766ms 01 23 1m4s 2s795ms 02 15 48s22ms 3s201ms 03 15 45s629ms 3s41ms 04 19 54s727ms 2s880ms 05 22 1m12s 3s315ms 06 27 1m9s 2s572ms 07 25 1m21s 3s264ms 08 15 40s76ms 2s671ms 09 12 43s135ms 3s594ms 10 23 1m4s 2s800ms 11 15 50s634ms 3s375ms 12 22 1m2s 2s830ms 13 17 47s821ms 2s813ms 14 16 1m1s 3s847ms 15 16 47s292ms 2s955ms 16 6 19s270ms 3s211ms 17 4 12s996ms 3s249ms 18 5 18s556ms 3s711ms 19 10 27s951ms 2s795ms 20 7 19s349ms 2s764ms 21 6 21s313ms 3s552ms 22 11 36s35ms 3s275ms 23 4 10s580ms 2s645ms Mar 13 00 11 38s620ms 3s510ms 01 9 26s40ms 2s893ms 05 10 32s326ms 3s232ms 06 27 1m26s 3s204ms 07 18 51s298ms 2s849ms 08 9 34s178ms 3s797ms 10 2 5s437ms 2s718ms 11 2 7s679ms 3s839ms 18 4 13s453ms 3s363ms Mar 14 04 1 3s361ms 3s361ms 14 1 2s927ms 2s927ms 16 4 13s105ms 3s276ms Mar 15 13 4 13s606ms 3s401ms 16 1 2s74ms 2s74ms 19 1 1s717ms 1s717ms [ User: pubeu - Total duration: 22m38s - Times executed: 426 ]
-
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-13 01:41:13 Duration: 7s570ms 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-10 03:32:57 Duration: 7s154ms 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-10 17:53:59 Duration: 6s999ms Bind query: yes
4 58m17s 2,776 1s87ms 3s225ms 1s259ms 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 09 23 22 29s491ms 1s340ms 00 28 35s319ms 1s261ms 03 27 34s81ms 1s262ms 04 21 27s360ms 1s302ms 05 25 31s591ms 1s263ms 06 26 32s848ms 1s263ms 07 20 25s151ms 1s257ms 08 24 29s786ms 1s241ms 09 26 33s237ms 1s278ms 10 26 34s984ms 1s345ms 11 18 23s13ms 1s278ms 12 25 31s81ms 1s243ms 13 21 26s287ms 1s251ms 14 20 25s137ms 1s256ms 15 31 38s769ms 1s250ms 16 20 25s27ms 1s251ms 17 25 31s141ms 1s245ms 18 24 29s761ms 1s240ms 19 30 37s327ms 1s244ms 20 21 26s141ms 1s244ms 21 16 19s740ms 1s233ms 22 24 30s11ms 1s250ms 23 24 30s43ms 1s251ms Mar 10 00 21 26s3ms 1s238ms 01 19 24s58ms 1s266ms 02 20 25s598ms 1s279ms 03 24 31s351ms 1s306ms 04 32 39s854ms 1s245ms 05 23 28s906ms 1s256ms 06 29 35s971ms 1s240ms 07 29 35s981ms 1s240ms 08 26 32s196ms 1s238ms 09 18 22s465ms 1s248ms 10 25 31s240ms 1s249ms 11 21 26s105ms 1s243ms 12 16 19s668ms 1s229ms 13 21 26s207ms 1s247ms 14 36 44s520ms 1s236ms 15 36 44s527ms 1s236ms 16 28 34s741ms 1s240ms 17 25 30s997ms 1s239ms 18 32 40s2ms 1s250ms 19 40 49s299ms 1s232ms 20 29 35s562ms 1s226ms 21 17 21s101ms 1s241ms 22 25 31s531ms 1s261ms 23 28 34s688ms 1s238ms Mar 11 00 14 17s691ms 1s263ms 01 12 14s877ms 1s239ms 02 25 31s101ms 1s244ms 03 31 38s440ms 1s240ms 04 81 1m45s 1s300ms 05 81 1m43s 1s282ms 06 16 19s720ms 1s232ms 07 13 16s104ms 1s238ms 08 21 25s895ms 1s233ms 09 28 35s547ms 1s269ms 10 17 22s572ms 1s327ms 11 26 32s345ms 1s244ms 12 22 27s190ms 1s235ms 13 29 35s982ms 1s240ms 14 19 23s568ms 1s240ms 15 20 24s777ms 1s238ms 16 28 34s665ms 1s238ms 17 18 23s575ms 1s309ms 18 23 28s951ms 1s258ms 19 29 36s411ms 1s255ms 20 20 24s861ms 1s243ms 21 16 19s911ms 1s244ms 22 11 13s869ms 1s260ms 23 26 34s195ms 1s315ms Mar 12 00 16 20s465ms 1s279ms 01 14 17s531ms 1s252ms 02 22 27s683ms 1s258ms 03 21 26s148ms 1s245ms 04 23 28s595ms 1s243ms 05 24 31s324ms 1s305ms 06 16 20s156ms 1s259ms 07 24 29s990ms 1s249ms 08 23 29s117ms 1s265ms 09 20 25s809ms 1s290ms 10 10 12s482ms 1s248ms 11 17 21s162ms 1s244ms 12 19 23s547ms 1s239ms 13 12 14s792ms 1s232ms 14 15 18s811ms 1s254ms 15 19 23s524ms 1s238ms 16 9 11s535ms 1s281ms 17 6 7s776ms 1s296ms 18 14 17s890ms 1s277ms 19 8 10s104ms 1s263ms 20 7 8s857ms 1s265ms 21 7 9s296ms 1s328ms 22 52 1m6s 1s286ms 23 38 47s714ms 1s255ms Mar 13 00 97 2m3s 1s273ms 01 17 22s760ms 1s338ms 05 9 12s483ms 1s387ms 06 23 29s643ms 1s288ms 07 20 27s250ms 1s362ms 08 11 14s221ms 1s292ms 09 4 5s52ms 1s263ms 10 3 3s822ms 1s274ms 11 1 1s248ms 1s248ms 12 5 6s798ms 1s359ms 13 10 13s21ms 1s302ms 14 9 11s465ms 1s273ms 15 3 3s724ms 1s241ms 16 3 3s737ms 1s245ms 17 8 10s37ms 1s254ms 18 3 3s902ms 1s300ms 19 1 1s253ms 1s253ms 20 9 11s169ms 1s241ms 21 2 2s873ms 1s436ms 22 1 1s449ms 1s449ms 23 4 5s11ms 1s252ms Mar 14 00 5 6s256ms 1s251ms 01 3 3s725ms 1s241ms 02 1 1s259ms 1s259ms 03 6 7s485ms 1s247ms 04 9 11s79ms 1s231ms 05 3 4s34ms 1s344ms 06 1 1s228ms 1s228ms 07 8 9s936ms 1s242ms 08 2 2s463ms 1s231ms 09 9 11s130ms 1s236ms 10 1 1s172ms 1s172ms 11 7 8s752ms 1s250ms 12 9 11s130ms 1s236ms 13 1 1s173ms 1s173ms 14 3 3s662ms 1s220ms 15 1 1s164ms 1s164ms 16 3 3s754ms 1s251ms 17 3 3s722ms 1s240ms 18 4 4s929ms 1s232ms 19 10 11s901ms 1s190ms 20 2 2s439ms 1s219ms 21 6 7s103ms 1s183ms 22 12 14s721ms 1s226ms 23 6 7s303ms 1s217ms Mar 15 00 2 2s422ms 1s211ms 01 6 7s311ms 1s218ms 02 5 6s62ms 1s212ms 03 6 7s436ms 1s239ms 04 2 2s697ms 1s348ms 05 8 10s112ms 1s264ms 06 4 5s155ms 1s288ms 07 7 8s521ms 1s217ms 08 6 7s568ms 1s261ms 09 3 3s743ms 1s247ms 10 7 8s564ms 1s223ms 11 6 7s395ms 1s232ms 12 6 7s340ms 1s223ms 13 14 17s254ms 1s232ms 14 11 13s672ms 1s242ms 15 7 8s704ms 1s243ms 16 18 21s937ms 1s218ms 17 19 23s465ms 1s235ms 18 10 12s177ms 1s217ms 19 15 19s265ms 1s284ms 20 11 14s273ms 1s297ms 21 6 7s475ms 1s245ms 22 9 11s289ms 1s254ms 23 4 4s936ms 1s234ms [ User: pubeu - Total duration: 15m38s - Times executed: 741 ]
[ User: qaeu - Total duration: 1s377ms - 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 = '1873394' or receptorTerm.id = '1873394' 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-11 04:39:40 Duration: 3s225ms 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 = '1450109' or receptorTerm.id = '1450109' 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-13 07:53:54 Duration: 2s521ms 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 = '1466244' or receptorTerm.id = '1466244' 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-09 10:02:09 Duration: 1s924ms Bind query: yes
5 53m50s 2,140 1s455ms 2s195ms 1s509ms 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 #5
Day Hour Count Duration Avg duration Mar 09 23 24 36s224ms 1s509ms 00 25 37s637ms 1s505ms 03 26 39s483ms 1s518ms 04 28 42s331ms 1s511ms 05 28 42s362ms 1s512ms 06 32 48s686ms 1s521ms 07 19 28s818ms 1s516ms 08 17 25s616ms 1s506ms 09 27 40s901ms 1s514ms 10 24 36s910ms 1s537ms 11 23 34s717ms 1s509ms 12 26 39s95ms 1s503ms 13 27 40s719ms 1s508ms 14 20 30s239ms 1s511ms 15 25 37s857ms 1s514ms 16 26 39s78ms 1s503ms 17 18 27s65ms 1s503ms 18 21 31s543ms 1s502ms 19 24 36s130ms 1s505ms 20 18 27s226ms 1s512ms 21 25 37s678ms 1s507ms 22 27 40s507ms 1s500ms 23 24 36s56ms 1s502ms Mar 10 00 24 36s216ms 1s509ms 01 29 43s641ms 1s504ms 02 27 40s710ms 1s507ms 03 19 28s726ms 1s511ms 04 10 15s75ms 1s507ms 05 17 25s477ms 1s498ms 06 5 7s483ms 1s496ms 07 14 21s160ms 1s511ms 08 9 13s621ms 1s513ms 09 14 20s933ms 1s495ms 10 12 18s61ms 1s505ms 11 6 9s55ms 1s509ms 12 15 23s20ms 1s534ms 13 12 18s211ms 1s517ms 14 17 25s577ms 1s504ms 15 17 25s496ms 1s499ms 16 10 15s60ms 1s506ms 17 14 20s942ms 1s495ms 18 10 15s152ms 1s515ms 19 13 19s481ms 1s498ms 20 13 19s546ms 1s503ms 21 20 30s649ms 1s532ms 22 9 13s593ms 1s510ms 23 4 5s992ms 1s498ms Mar 11 01 1 1s493ms 1s493ms 02 13 19s659ms 1s512ms 03 13 19s588ms 1s506ms 04 6 9s91ms 1s515ms 05 12 18s262ms 1s521ms 06 14 21s100ms 1s507ms 07 15 22s527ms 1s501ms 08 4 5s997ms 1s499ms 09 12 18s142ms 1s511ms 10 10 15s1ms 1s500ms 11 9 13s576ms 1s508ms 12 11 16s563ms 1s505ms 13 11 16s573ms 1s506ms 14 9 13s589ms 1s509ms 15 10 15s21ms 1s502ms 16 14 21s200ms 1s514ms 17 11 16s603ms 1s509ms 18 12 18s41ms 1s503ms 19 13 19s896ms 1s530ms 20 8 12s250ms 1s531ms 21 13 19s681ms 1s513ms 22 14 21s142ms 1s510ms 23 8 12s121ms 1s515ms Mar 12 00 9 13s615ms 1s512ms 01 15 22s907ms 1s527ms 02 4 6s15ms 1s503ms 03 15 22s519ms 1s501ms 04 15 22s593ms 1s506ms 05 16 24s320ms 1s520ms 06 8 11s968ms 1s496ms 07 6 9s81ms 1s513ms 08 13 19s778ms 1s521ms 09 10 14s989ms 1s498ms 10 4 5s983ms 1s495ms 11 8 11s969ms 1s496ms 12 9 13s435ms 1s492ms 13 6 8s998ms 1s499ms 14 12 18s33ms 1s502ms 15 9 13s634ms 1s514ms 16 7 10s641ms 1s520ms 17 2 2s986ms 1s493ms 18 1 1s491ms 1s491ms 19 7 10s717ms 1s531ms 20 1 1s503ms 1s503ms 21 2 2s959ms 1s479ms 22 4 5s994ms 1s498ms 23 3 4s504ms 1s501ms Mar 13 00 14 21s134ms 1s509ms 01 10 15s197ms 1s519ms 05 25 37s593ms 1s503ms 06 57 1m26s 1s516ms 07 27 41s812ms 1s548ms 08 30 45s690ms 1s523ms 09 24 36s175ms 1s507ms 10 24 36s195ms 1s508ms 11 27 40s773ms 1s510ms 12 25 37s616ms 1s504ms 13 32 47s946ms 1s498ms 14 30 45s136ms 1s504ms 15 30 45s35ms 1s501ms 16 29 43s694ms 1s506ms 17 27 40s315ms 1s493ms 18 27 40s635ms 1s505ms 19 27 40s851ms 1s513ms 20 28 42s295ms 1s510ms 21 26 39s62ms 1s502ms 22 21 31s582ms 1s503ms 23 13 19s716ms 1s516ms Mar 14 00 14 21s302ms 1s521ms 01 13 19s482ms 1s498ms 02 13 19s617ms 1s509ms 03 14 21s933ms 1s566ms 04 13 19s491ms 1s499ms 05 16 24s20ms 1s501ms 06 8 12s95ms 1s511ms 07 11 16s574ms 1s506ms 08 11 16s572ms 1s506ms 09 14 20s975ms 1s498ms 10 8 12s105ms 1s513ms 11 13 19s461ms 1s497ms 12 14 20s993ms 1s499ms 13 10 15s20ms 1s502ms 14 3 4s553ms 1s517ms 15 3 4s522ms 1s507ms 16 1 1s478ms 1s478ms 17 1 1s470ms 1s470ms 20 3 4s512ms 1s504ms 22 1 1s481ms 1s481ms 23 3 4s492ms 1s497ms Mar 15 00 4 5s935ms 1s483ms 01 4 6s12ms 1s503ms 02 3 4s453ms 1s484ms 03 2 2s950ms 1s475ms 04 2 3s39ms 1s519ms 05 3 4s472ms 1s490ms 06 2 2s973ms 1s486ms 07 4 5s957ms 1s489ms 08 5 7s527ms 1s505ms 09 2 2s996ms 1s498ms 10 3 4s509ms 1s503ms 11 1 1s515ms 1s515ms 12 6 8s932ms 1s488ms 13 6 8s958ms 1s493ms 14 2 3s27ms 1s513ms 15 1 1s494ms 1s494ms 16 3 4s484ms 1s494ms 17 2 2s967ms 1s483ms 18 3 4s477ms 1s492ms 19 4 6s215ms 1s553ms 20 3 4s526ms 1s508ms 21 5 7s528ms 1s505ms 22 4 6s48ms 1s512ms 23 3 4s506ms 1s502ms [ User: pubeu - Total duration: 16m56s - Times executed: 671 ]
-
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-14 03:53:36 Duration: 2s195ms 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-10 21:13:15 Duration: 1s936ms 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-10 12:55:47 Duration: 1s903ms Database: ctdprd51 User: pubeu Bind query: yes
6 53m49s 1,323 1s 4s637ms 2s440ms select e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, ( select string_agg(distinct stressorterm.nm || ? || ( select cd from object_type where id = stressorterm.object_type_id) || ? || stressorterm.nm_html || ? || stressorterm.acc_txt || ? || stressorterm.acc_db_cd, ?)) as stressoragents, ( select string_agg(distinct coalesce(receptorterm.nm, ?) || ? || coalesce(( select cd from object_type where id = receptorterm.object_type_id), ?) || ? || coalesce(receptorterm.nm_html, ?) || ? || coalesce(receptorterm.acc_txt, ?) || ? || coalesce(receptorterm.acc_db_cd, ?) || ? || receptor.description, ?)) as receptors, ( select string_agg(distinct country.nm, ?)) as studycountries, ( select string_agg(distinct location.locality_txt, ?)) as localities, ( select string_agg(distinct event.medium_nm || ? || coalesce(event.medium_term_acc_txt, ?), ?)) as assaymediums, ( select string_agg(distinct exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd, ?)) as assayedmarkers, ( select string_agg(distinct diseaseterm.nm || ? || ( select cd from object_type where id = diseaseterm.object_type_id) || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd, ?)) as diseases, ( select string_agg(distinct phenotypeterm.nm || ? || ( select cd from object_type where id = phenotypeterm.object_type_id) || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd, ?)) as phenotypes, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, re.author_summary summary, count(*) over () fullrowcount from exposure e inner join reference r on e.reference_id = r.id inner join exp_stressor stressor on e.exp_stressor_id = stressor.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join term receptorterm on receptor.term_id = receptorterm.id left outer join exp_event event on e.exp_event_id = event.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join exp_event_location location on e.exp_event_id = location.exp_event_id left outer join country on location.country_id = country.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id inner join reference_exp re on e.reference_id = re.reference_id left outer join exp_study_factor expstudyfactor on re.id = expstudyfactor.reference_exp_id where e.reference_id = any (array ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like ?) and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressoragents limit ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Mar 09 23 12 25s79ms 2s89ms 00 10 27s471ms 2s747ms 03 10 19s545ms 1s954ms 04 7 12s240ms 1s748ms 05 13 34s989ms 2s691ms 06 16 39s61ms 2s441ms 07 10 23s893ms 2s389ms 08 4 8s269ms 2s67ms 09 15 36s718ms 2s447ms 10 19 49s677ms 2s614ms 11 14 39s992ms 2s856ms 12 17 44s251ms 2s603ms 13 22 57s421ms 2s610ms 14 19 48s575ms 2s556ms 15 7 19s946ms 2s849ms 16 12 25s404ms 2s117ms 17 14 37s50ms 2s646ms 18 12 37s934ms 3s161ms 19 5 13s375ms 2s675ms 20 12 33s32ms 2s752ms 21 10 29s122ms 2s912ms 22 11 26s450ms 2s404ms 23 9 25s285ms 2s809ms Mar 10 00 11 21s980ms 1s998ms 01 15 35s64ms 2s337ms 02 11 26s969ms 2s451ms 03 12 22s785ms 1s898ms 04 12 32s841ms 2s736ms 05 11 22s959ms 2s87ms 06 15 42s601ms 2s840ms 07 12 20s239ms 1s686ms 08 5 12s309ms 2s461ms 09 9 25s177ms 2s797ms 10 8 18s978ms 2s372ms 11 8 18s800ms 2s350ms 12 23 47s641ms 2s71ms 13 8 17s555ms 2s194ms 14 15 40s639ms 2s709ms 15 13 29s749ms 2s288ms 16 15 29s785ms 1s985ms 17 23 58s597ms 2s547ms 18 19 45s548ms 2s397ms 19 15 41s95ms 2s739ms 20 18 46s717ms 2s595ms 21 14 30s990ms 2s213ms 22 11 27s975ms 2s543ms 23 5 13s571ms 2s714ms Mar 11 01 6 19s668ms 3s278ms 02 22 49s679ms 2s258ms 03 16 36s931ms 2s308ms 04 8 19s851ms 2s481ms 05 11 26s787ms 2s435ms 06 17 37s449ms 2s202ms 07 13 34s856ms 2s681ms 08 20 38s299ms 1s914ms 09 13 33s404ms 2s569ms 10 11 23s231ms 2s111ms 11 12 26s589ms 2s215ms 12 9 26s404ms 2s933ms 13 18 40s200ms 2s233ms 14 10 24s740ms 2s474ms 15 15 42s900ms 2s860ms 16 18 47s769ms 2s653ms 17 15 46s41ms 3s69ms 18 17 48s74ms 2s827ms 19 18 41s569ms 2s309ms 20 11 25s879ms 2s352ms 21 18 36s569ms 2s31ms 22 14 39s37ms 2s788ms 23 12 27s51ms 2s254ms Mar 12 00 12 29s300ms 2s441ms 01 24 58s998ms 2s458ms 02 14 36s823ms 2s630ms 03 17 41s254ms 2s426ms 04 14 32s274ms 2s305ms 05 12 33s924ms 2s827ms 06 31 1m12s 2s345ms 07 15 36s219ms 2s414ms 08 18 39s95ms 2s171ms 09 13 29s527ms 2s271ms 10 9 17s672ms 1s963ms 11 16 43s690ms 2s730ms 12 13 38s225ms 2s940ms 13 16 39s389ms 2s461ms 14 19 49s8ms 2s579ms 15 13 31s515ms 2s424ms 16 7 19s276ms 2s753ms 17 2 5s171ms 2s585ms 18 8 18s297ms 2s287ms 19 7 19s970ms 2s852ms 20 7 13s837ms 1s976ms 21 5 13s395ms 2s679ms 22 4 9s346ms 2s336ms 23 6 16s269ms 2s711ms Mar 13 00 11 28s511ms 2s591ms 01 5 10s973ms 2s194ms 05 5 11s222ms 2s244ms 06 29 1m6s 2s285ms 07 15 41s247ms 2s749ms 08 6 14s268ms 2s378ms 18 12 22s981ms 1s915ms Mar 14 08 1 1s47ms 1s47ms 15 1 1s282ms 1s282ms 16 11 21s618ms 1s965ms 23 1 3s69ms 3s69ms Mar 15 13 12 23s94ms 1s924ms [ User: pubeu - Total duration: 14m8s - Times executed: 339 ]
-
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 = '1405728') 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 = '1405728') 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-11 05:37:49 Duration: 4s637ms 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 = '1405728') 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 = '1405728') 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-12 07:52:06 Duration: 4s620ms 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 = '1405728') 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 = '1405728') 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-13 08:08:43 Duration: 4s545ms Bind query: yes
7 53m25s 403 1s16ms 35s467ms 7s955ms 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 #7
Day Hour Count Duration Avg duration Mar 09 23 2 10s935ms 5s467ms 00 6 57s659ms 9s609ms 04 4 40s184ms 10s46ms 05 6 2m3s 20s661ms 06 5 32s527ms 6s505ms 07 5 1m7s 13s543ms 08 2 35s353ms 17s676ms 09 2 8s951ms 4s475ms 10 6 37s216ms 6s202ms 11 1 32s139ms 32s139ms 12 3 14s250ms 4s750ms 13 5 52s667ms 10s533ms 14 3 6s616ms 2s205ms 15 8 42s634ms 5s329ms 16 5 12s988ms 2s597ms 17 5 13s198ms 2s639ms 18 4 38s175ms 9s543ms 19 2 10s946ms 5s473ms 20 5 44s210ms 8s842ms 21 1 2s75ms 2s75ms 22 3 36s401ms 12s133ms 23 4 1m40s 25s138ms Mar 10 00 4 46s731ms 11s682ms 01 3 18s145ms 6s48ms 02 3 8s931ms 2s977ms 03 4 16s966ms 4s241ms 04 2 35s266ms 17s633ms 05 5 34s803ms 6s960ms 06 3 11s817ms 3s939ms 07 5 49s469ms 9s893ms 08 2 33s975ms 16s987ms 09 4 52s16ms 13s4ms 10 3 9s74ms 3s24ms 11 8 1m 7s601ms 12 5 41s182ms 8s236ms 13 3 15s980ms 5s326ms 14 3 8s876ms 2s958ms 15 5 12s55ms 2s411ms 16 5 13s802ms 2s760ms 17 4 15s310ms 3s827ms 18 5 6s134ms 1s226ms 19 5 45s255ms 9s51ms 20 3 5s348ms 1s782ms 21 1 3s175ms 3s175ms 22 2 10s736ms 5s368ms 23 1 3s537ms 3s537ms Mar 11 01 1 1s422ms 1s422ms 02 7 59s221ms 8s460ms 03 3 37s134ms 12s378ms 04 4 16s135ms 4s33ms 05 7 48s363ms 6s909ms 06 4 38s167ms 9s541ms 07 8 1m32s 11s540ms 08 7 17s581ms 2s511ms 09 6 32s52ms 5s342ms 10 1 9s162ms 9s162ms 11 7 16s759ms 2s394ms 12 10 1m7s 6s755ms 13 3 35s534ms 11s844ms 14 4 33s896ms 8s474ms 15 5 43s460ms 8s692ms 16 5 1m13s 14s730ms 17 5 9s231ms 1s846ms 18 1 1s39ms 1s39ms 19 9 1m53s 12s558ms 20 5 21s78ms 4s215ms 21 4 21s788ms 5s447ms 22 11 1m26s 7s830ms 23 3 45s85ms 15s28ms Mar 12 00 3 40s174ms 13s391ms 01 11 2m31s 13s754ms 02 3 4s547ms 1s515ms 03 6 16s554ms 2s759ms 04 4 43s832ms 10s958ms 05 3 23s3ms 7s667ms 06 6 42s262ms 7s43ms 07 6 16s638ms 2s773ms 08 4 8s407ms 2s101ms 09 3 27s813ms 9s271ms 10 4 8s309ms 2s77ms 11 5 40s435ms 8s87ms 12 4 29s685ms 7s421ms 13 4 1m27s 21s855ms 14 3 53s479ms 17s826ms 15 6 56s539ms 9s423ms 16 3 36s29ms 12s9ms 17 3 16s713ms 5s571ms 18 3 39s131ms 13s43ms 19 1 1s593ms 1s593ms 21 3 14s689ms 4s896ms 23 4 6s792ms 1s698ms Mar 13 00 3 8s139ms 2s713ms 05 2 23s583ms 11s791ms 06 6 40s644ms 6s774ms 07 4 1m6s 16s567ms 08 1 1s344ms 1s344ms [ User: pubeu - Total duration: 12m32s - Times executed: 104 ]
-
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-09 13:58:28 Duration: 35s467ms 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-13 07:25:14 Duration: 35s276ms 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-12 01:10:18 Duration: 34s719ms Bind query: yes
8 46m34s 61 37s210ms 53s182ms 45s806ms select t.id, t.object_type_id, t.acc_txt, db.cd, t.nm, t.nm_sort, t.secondary_nm, t.description, t.note, l.nm from load.term t, load.term_label l, edit.db db where t.object_type_id = ? and t.id = l.term_id and t.acc_db_id = db.id;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Mar 10 12 6 4m31s 45s213ms 13 2 1m31s 45s520ms 14 8 6m15s 46s971ms 15 4 2m58s 44s544ms 16 2 1m28s 44s497ms Mar 12 08 1 41s939ms 41s939ms 10 4 3m8s 47s225ms 11 3 2m2s 40s976ms 12 5 3m39s 43s878ms 13 3 2m12s 44s255ms 14 3 2m18s 46s153ms 16 1 44s391ms 44s391ms 17 2 1m24s 42s426ms Mar 13 09 1 46s73ms 46s73ms 10 5 3m54s 46s920ms 11 1 49s439ms 49s439ms 13 1 52s679ms 52s679ms 14 1 49s366ms 49s366ms 16 5 4m6s 49s346ms 17 3 2m16s 45s474ms [ User: load - Total duration: 46m34s - Times executed: 61 ]
-
select t.ID, t.OBJECT_TYPE_ID, t.ACC_TXT, db.CD, t.NM, t.NM_SORT, t.SECONDARY_NM, t.DESCRIPTION, t.NOTE, l.NM from load.TERM t, load.TERM_LABEL l, edit.DB db where t.object_type_id = 2 and t.id = l.term_id and t.acc_db_id = db.id;
Date: 2025-03-13 16:42:46 Duration: 53s182ms Database: ctdprd51 User: load Bind query: yes
-
select t.ID, t.OBJECT_TYPE_ID, t.ACC_TXT, db.CD, t.NM, t.NM_SORT, t.SECONDARY_NM, t.DESCRIPTION, t.NOTE, l.NM from load.TERM t, load.TERM_LABEL l, edit.DB db where t.object_type_id = 2 and t.id = l.term_id and t.acc_db_id = db.id;
Date: 2025-03-13 16:46:59 Duration: 53s98ms Database: ctdprd51 User: load Bind query: yes
-
select t.ID, t.OBJECT_TYPE_ID, t.ACC_TXT, db.CD, t.NM, t.NM_SORT, t.SECONDARY_NM, t.DESCRIPTION, t.NOTE, l.NM from load.TERM t, load.TERM_LABEL l, edit.DB db where t.object_type_id = 2 and t.id = l.term_id and t.acc_db_id = db.id;
Date: 2025-03-13 13:38:20 Duration: 52s679ms Database: ctdprd51 User: load Bind query: yes
9 31m18s 332 1s 18s239ms 5s658ms 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 #9
Day Hour Count Duration Avg duration Mar 09 23 2 10s154ms 5s77ms 00 1 4s576ms 4s576ms 03 4 9s682ms 2s420ms 04 1 2s604ms 2s604ms 05 3 6s814ms 2s271ms 06 4 18s553ms 4s638ms 07 3 13s652ms 4s550ms 08 2 9s863ms 4s931ms 09 4 27s576ms 6s894ms 10 7 25s305ms 3s615ms 11 4 49s886ms 12s471ms 12 7 21s982ms 3s140ms 13 4 37s282ms 9s320ms 14 3 34s746ms 11s582ms 15 3 23s679ms 7s893ms 16 1 1s107ms 1s107ms 17 2 4s232ms 2s116ms 18 2 17s762ms 8s881ms 19 2 7s81ms 3s540ms 20 3 14s807ms 4s935ms 21 4 10s324ms 2s581ms 22 2 3s40ms 1s520ms 23 4 32s550ms 8s137ms Mar 10 00 2 8s265ms 4s132ms 01 5 10s59ms 2s11ms 02 4 33s164ms 8s291ms 03 7 52s339ms 7s477ms 04 2 20s971ms 10s485ms 05 2 17s685ms 8s842ms 06 5 21s547ms 4s309ms 07 1 3s456ms 3s456ms 08 2 5s600ms 2s800ms 09 6 44s538ms 7s423ms 10 3 22s369ms 7s456ms 11 3 9s33ms 3s11ms 12 6 29s75ms 4s845ms 14 2 18s181ms 9s90ms 15 4 41s793ms 10s448ms 16 3 8s36ms 2s678ms 17 7 43s184ms 6s169ms 18 4 10s205ms 2s551ms 19 3 14s271ms 4s757ms 20 3 10s667ms 3s555ms 21 4 23s778ms 5s944ms 22 1 16s842ms 16s842ms 23 1 5s608ms 5s608ms Mar 11 01 6 35s307ms 5s884ms 02 2 15s594ms 7s797ms 03 4 6s444ms 1s611ms 04 5 21s285ms 4s257ms 05 3 3s526ms 1s175ms 06 4 28s837ms 7s209ms 07 5 55s927ms 11s185ms 08 3 28s947ms 9s649ms 09 5 20s829ms 4s165ms 10 1 2s318ms 2s318ms 11 5 44s405ms 8s881ms 12 2 4s30ms 2s15ms 13 5 29s234ms 5s846ms 14 5 39s525ms 7s905ms 15 5 38s644ms 7s728ms 16 1 16s661ms 16s661ms 17 6 38s66ms 6s344ms 18 2 10s112ms 5s56ms 19 4 9s598ms 2s399ms 20 5 20s77ms 4s15ms 21 6 25s369ms 4s228ms 22 5 39s61ms 7s812ms 23 2 4s64ms 2s32ms Mar 12 00 8 1m6s 8s350ms 01 5 13s347ms 2s669ms 02 6 58s912ms 9s818ms 03 2 14s143ms 7s71ms 04 4 30s306ms 7s576ms 05 2 10s521ms 5s260ms 06 4 8s535ms 2s133ms 07 4 10s953ms 2s738ms 08 5 25s236ms 5s47ms 09 3 4s766ms 1s588ms 10 5 23s141ms 4s628ms 11 2 7s371ms 3s685ms 12 3 22s431ms 7s477ms 13 4 11s31ms 2s757ms 14 3 20s681ms 6s893ms 15 1 16s326ms 16s326ms 16 3 3s924ms 1s308ms 17 1 1s990ms 1s990ms 18 1 16s77ms 16s77ms 20 1 16s594ms 16s594ms 22 1 5s583ms 5s583ms Mar 13 00 2 4s55ms 2s27ms 01 3 26s72ms 8s690ms 05 4 26s758ms 6s689ms 06 7 11s771ms 1s681ms 07 3 19s717ms 6s572ms 08 2 5s655ms 2s827ms [ User: pubeu - Total duration: 6m33s - Times executed: 74 ]
-
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-09 09:32:16 Duration: 18s239ms 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-10 03:56:16 Duration: 18s32ms 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-12 00:04:29 Duration: 17s654ms Bind query: yes
10 25m11s 165 1s64ms 44s279ms 9s158ms 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 09 08 6 9s748ms 1s624ms 09 22 37s212ms 1s691ms 21 2 3s281ms 1s640ms Mar 10 03 4 6s146ms 1s536ms 05 1 1s388ms 1s388ms 12 9 10s695ms 1s188ms 13 1 3s727ms 3s727ms 21 1 16s769ms 16s769ms 23 3 20s140ms 6s713ms Mar 11 01 3 1m6s 22s164ms 02 5 6s266ms 1s253ms 03 5 5s528ms 1s105ms 04 1 1s112ms 1s112ms 05 1 1s771ms 1s771ms 11 2 3s109ms 1s554ms 17 1 4s541ms 4s541ms 19 2 7s840ms 3s920ms 20 1 7s473ms 7s473ms Mar 12 01 1 29s792ms 29s792ms 03 1 2s563ms 2s563ms 06 3 7s15ms 2s338ms 07 4 1m26s 21s711ms 08 4 55s735ms 13s933ms 11 1 1s529ms 1s529ms 12 1 1s940ms 1s940ms 18 1 16s782ms 16s782ms 21 1 1s257ms 1s257ms Mar 13 01 6 1m43s 17s273ms 06 1 2s101ms 2s101ms 07 20 8m22s 25s131ms 08 3 5s12ms 1s670ms 19 1 2s236ms 2s236ms 22 1 1s625ms 1s625ms Mar 14 03 10 30s132ms 3s13ms 04 3 7s687ms 2s562ms 09 1 1s514ms 1s514ms 10 2 2s234ms 1s117ms 11 1 43s532ms 43s532ms 14 5 1m48s 21s603ms 15 4 2m14s 33s735ms Mar 15 06 8 1m5s 8s170ms 07 6 44s775ms 7s462ms 08 4 29s455ms 7s363ms 09 2 9s541ms 4s770ms [ User: pubeu - Total duration: 11m57s - Times executed: 59 ]
-
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-11 01:27:13 Duration: 44s279ms 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-14 11:06:43 Duration: 43s532ms 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 = '2093394') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-03-13 07:54:23 Duration: 42s672ms Bind query: yes
11 24m41s 1 24m41s 24m41s 24m41s 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 #11
Day Hour Count Duration Avg duration Mar 15 19 1 24m41s 24m41s -
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-15 19:45:40 Duration: 24m41s
12 24m24s 1 24m24s 24m24s 24m24s 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 #12
Day Hour Count Duration Avg duration Mar 15 19 1 24m24s 24m24s -
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-15 19:01:29 Duration: 24m24s
13 21m44s 25 51s571ms 52s947ms 52s191ms 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 #13
Day Hour Count Duration Avg duration Mar 09 06 1 52s248ms 52s248ms 10 1 51s749ms 51s749ms 14 1 51s571ms 51s571ms 18 1 51s735ms 51s735ms Mar 10 06 1 51s774ms 51s774ms 10 1 52s54ms 52s54ms 14 1 51s753ms 51s753ms 18 1 51s918ms 51s918ms Mar 11 06 1 52s643ms 52s643ms 10 1 52s792ms 52s792ms 14 1 51s868ms 51s868ms 18 1 52s592ms 52s592ms Mar 12 06 1 52s533ms 52s533ms 10 1 52s403ms 52s403ms 14 1 52s261ms 52s261ms 18 1 52s29ms 52s29ms Mar 13 06 1 52s18ms 52s18ms 10 1 52s104ms 52s104ms 14 1 52s297ms 52s297ms 18 1 52s101ms 52s101ms Mar 14 06 1 52s494ms 52s494ms 10 1 52s276ms 52s276ms 14 1 52s398ms 52s398ms 18 1 52s947ms 52s947ms Mar 15 20 1 52s214ms 52s214ms [ User: postgres - Total duration: 20m52s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 20m52s - 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-14 18:05:54 Duration: 52s947ms 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-11 10:05:55 Duration: 52s792ms 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-11 06:05:54 Duration: 52s643ms Database: ctdprd51 User: postgres Application: pg_dump
14 21m34s 473 1s7ms 6s469ms 2s737ms 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 #14
Day Hour Count Duration Avg duration Mar 09 23 4 7s828ms 1s957ms 00 2 8s454ms 4s227ms 03 5 13s384ms 2s676ms 05 2 8s192ms 4s96ms 07 3 7s357ms 2s452ms 08 1 2s122ms 2s122ms 09 6 15s780ms 2s630ms 10 8 22s703ms 2s837ms 11 3 7s643ms 2s547ms 12 1 5s783ms 5s783ms 13 6 16s823ms 2s803ms 14 5 15s121ms 3s24ms 15 3 7s791ms 2s597ms 16 1 2s178ms 2s178ms 17 10 24s641ms 2s464ms 18 4 9s480ms 2s370ms 19 4 9s712ms 2s428ms 20 3 7s351ms 2s450ms 21 5 12s108ms 2s421ms 22 2 4s817ms 2s408ms 23 6 16s785ms 2s797ms Mar 10 00 1 2s82ms 2s82ms 01 3 8s407ms 2s802ms 02 3 7s290ms 2s430ms 03 2 4s271ms 2s135ms 04 6 18s64ms 3s10ms 05 6 12s357ms 2s59ms 06 3 7s829ms 2s609ms 07 5 19s309ms 3s861ms 08 5 11s277ms 2s255ms 09 4 9s491ms 2s372ms 10 3 10s63ms 3s354ms 11 4 13s96ms 3s274ms 12 6 17s79ms 2s846ms 13 3 6s378ms 2s126ms 14 4 9s667ms 2s416ms 15 6 21s356ms 3s559ms 16 5 10s658ms 2s131ms 17 7 15s479ms 2s211ms 18 4 13s58ms 3s264ms 19 6 15s13ms 2s502ms 20 6 21s788ms 3s631ms 21 2 4s880ms 2s440ms 22 3 7s171ms 2s390ms 23 1 2s122ms 2s122ms Mar 11 02 4 9s309ms 2s327ms 03 5 13s538ms 2s707ms 04 9 19s745ms 2s193ms 05 3 7s536ms 2s512ms 06 6 15s927ms 2s654ms 07 8 19s394ms 2s424ms 08 5 13s975ms 2s795ms 09 5 14s305ms 2s861ms 10 6 20s205ms 3s367ms 11 6 14s673ms 2s445ms 12 1 2s292ms 2s292ms 13 6 21s193ms 3s532ms 14 3 6s40ms 2s13ms 15 4 11s808ms 2s952ms 16 9 27s209ms 3s23ms 17 9 20s44ms 2s227ms 18 9 24s314ms 2s701ms 19 6 23s89ms 3s848ms 20 6 16s866ms 2s811ms 21 6 18s655ms 3s109ms 22 10 24s621ms 2s462ms 23 7 22s383ms 3s197ms Mar 12 00 5 13s374ms 2s674ms 01 8 20s621ms 2s577ms 02 8 20s701ms 2s587ms 03 6 20s661ms 3s443ms 04 10 27s231ms 2s723ms 05 9 32s245ms 3s582ms 06 7 22s796ms 3s256ms 07 3 7s102ms 2s367ms 08 7 16s601ms 2s371ms 09 3 11s435ms 3s811ms 10 6 13s391ms 2s231ms 11 3 6s296ms 2s98ms 12 6 13s240ms 2s206ms 13 12 28s708ms 2s392ms 14 4 9s679ms 2s419ms 15 9 23s663ms 2s629ms 16 1 2s129ms 2s129ms 17 4 13s145ms 3s286ms 18 1 1s45ms 1s45ms 19 2 4s237ms 2s118ms 20 4 9s157ms 2s289ms 21 2 9s640ms 4s820ms 22 3 7s360ms 2s453ms 23 2 9s179ms 4s589ms Mar 13 00 6 13s910ms 2s318ms 01 3 8s684ms 2s894ms 05 3 9s757ms 3s252ms 06 4 8s834ms 2s208ms 07 10 28s885ms 2s888ms 08 1 2s741ms 2s741ms 21 1 1s29ms 1s29ms 23 2 6s844ms 3s422ms Mar 14 20 1 5s704ms 5s704ms Mar 15 01 1 1s82ms 1s82ms 14 1 2s95ms 2s95ms [ User: pubeu - Total duration: 5m39s - Times executed: 128 ]
-
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-10 07:32:58 Duration: 6s469ms 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-10 18:33:03 Duration: 6s259ms 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-11 16:47:08 Duration: 6s255ms Database: ctdprd51 User: pubeu Bind query: yes
15 19m40s 288 3s775ms 5s708ms 4s99ms 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 09 23 3 12s196ms 4s65ms 03 1 4s45ms 4s45ms 04 4 16s123ms 4s30ms 05 1 4s227ms 4s227ms 06 2 8s103ms 4s51ms 09 1 4s337ms 4s337ms 10 4 16s795ms 4s198ms 11 2 8s231ms 4s115ms 12 1 3s949ms 3s949ms 13 1 4s190ms 4s190ms 14 2 7s925ms 3s962ms 15 2 8s41ms 4s20ms 16 1 4s112ms 4s112ms 19 3 12s20ms 4s6ms 22 2 7s773ms 3s886ms 23 2 8s303ms 4s151ms Mar 10 00 2 8s123ms 4s61ms 01 1 4s476ms 4s476ms 02 6 24s106ms 4s17ms 03 6 23s706ms 3s951ms 04 1 4s468ms 4s468ms 05 4 15s671ms 3s917ms 06 6 23s893ms 3s982ms 07 1 3s962ms 3s962ms 08 5 19s855ms 3s971ms 09 1 4s420ms 4s420ms 10 3 12s508ms 4s169ms 11 1 3s888ms 3s888ms 12 1 4s5ms 4s5ms 13 1 4s107ms 4s107ms 15 2 8s454ms 4s227ms 16 8 31s476ms 3s934ms 17 2 8s175ms 4s87ms 19 1 4s192ms 4s192ms 22 3 12s421ms 4s140ms 23 1 4s28ms 4s28ms Mar 11 00 1 4s89ms 4s89ms 03 2 8s92ms 4s46ms 04 1 4s105ms 4s105ms 05 3 12s488ms 4s162ms 06 1 3s934ms 3s934ms 08 2 8s401ms 4s200ms 09 4 16s398ms 4s99ms 10 5 20s373ms 4s74ms 11 2 9s756ms 4s878ms 12 6 24s214ms 4s35ms 13 4 17s86ms 4s271ms 14 1 3s992ms 3s992ms 16 4 16s647ms 4s161ms 17 1 4s454ms 4s454ms 18 2 7s906ms 3s953ms 21 2 8s440ms 4s220ms 22 2 8s587ms 4s293ms 23 4 17s880ms 4s470ms Mar 12 00 2 8s410ms 4s205ms 01 2 7s799ms 3s899ms 02 3 12s667ms 4s222ms 03 1 4s140ms 4s140ms 04 6 24s66ms 4s11ms 05 1 3s953ms 3s953ms 06 5 21s242ms 4s248ms 08 2 8s294ms 4s147ms 09 5 20s412ms 4s82ms 11 3 12s912ms 4s304ms 12 4 16s387ms 4s96ms 13 3 12s393ms 4s131ms 14 2 9s96ms 4s548ms 16 2 8s446ms 4s223ms 17 1 3s844ms 3s844ms 18 1 3s867ms 3s867ms 21 3 12s174ms 4s58ms 22 4 16s388ms 4s97ms 23 3 12s150ms 4s50ms Mar 13 00 5 20s529ms 4s105ms 06 1 4s174ms 4s174ms 08 2 8s643ms 4s321ms 09 8 33s825ms 4s228ms 10 6 26s525ms 4s420ms 11 1 4s46ms 4s46ms 13 4 16s165ms 4s41ms 14 1 4s34ms 4s34ms 15 1 4s29ms 4s29ms 16 1 3s959ms 3s959ms 17 2 7s992ms 3s996ms 18 2 8s213ms 4s106ms 19 1 4s20ms 4s20ms 20 1 3s989ms 3s989ms 21 9 35s837ms 3s981ms 22 2 8s80ms 4s40ms Mar 14 00 1 3s996ms 3s996ms 02 1 3s984ms 3s984ms 03 2 8s237ms 4s118ms 05 2 8s23ms 4s11ms 06 1 4s218ms 4s218ms 07 1 4s273ms 4s273ms 08 1 4s111ms 4s111ms 09 5 19s947ms 3s989ms 10 1 4s419ms 4s419ms 12 3 12s248ms 4s82ms 14 2 8s81ms 4s40ms 16 3 12s19ms 4s6ms 17 1 3s895ms 3s895ms 19 2 7s777ms 3s888ms 20 1 4s103ms 4s103ms 21 1 4s178ms 4s178ms Mar 15 01 1 3s904ms 3s904ms 02 6 23s811ms 3s968ms 03 6 25s32ms 4s172ms 04 1 3s932ms 3s932ms 05 2 8s15ms 4s7ms 06 1 3s969ms 3s969ms 08 3 12s36ms 4s12ms 10 1 4s86ms 4s86ms 12 2 7s900ms 3s950ms 21 1 4s313ms 4s313ms 22 1 4s185ms 4s185ms [ User: pubeu - Total duration: 5m57s - Times executed: 86 ]
-
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 = '1350325') 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 = '1350325') 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-13 10:19:17 Duration: 5s708ms 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 = '1350325') 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 = '1350325') 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-11 11:37:23 Duration: 5s682ms 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 = '1350325') 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 = '1350325') 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-11 23:16:37 Duration: 5s603ms Bind query: yes
16 18m2s 257 1s27ms 7s689ms 4s212ms 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 #16
Day Hour Count Duration Avg duration Mar 09 23 2 7s901ms 3s950ms 00 1 1s81ms 1s81ms 03 2 2s153ms 1s76ms 04 2 7s185ms 3s592ms 05 2 10s532ms 5s266ms 06 3 13s233ms 4s411ms 07 1 5s229ms 5s229ms 09 3 13s51ms 4s350ms 10 2 6s374ms 3s187ms 11 3 17s678ms 5s892ms 13 3 3s193ms 1s64ms 14 2 6s395ms 3s197ms 15 1 5s343ms 5s343ms 17 2 11s559ms 5s779ms 18 1 6s74ms 6s74ms 19 3 8s114ms 2s704ms 20 3 12s398ms 4s132ms 21 1 1s52ms 1s52ms 22 1 5s498ms 5s498ms 23 1 1s92ms 1s92ms Mar 10 00 2 10s811ms 5s405ms 01 2 2s120ms 1s60ms 02 3 16s763ms 5s587ms 03 3 13s77ms 4s359ms 04 2 7s273ms 3s636ms 05 7 34s419ms 4s917ms 06 1 6s99ms 6s99ms 07 1 1s43ms 1s43ms 08 2 6s520ms 3s260ms 09 2 6s248ms 3s124ms 10 6 23s529ms 3s921ms 11 2 6s230ms 3s115ms 12 8 34s268ms 4s283ms 13 1 5s464ms 5s464ms 14 6 25s858ms 4s309ms 15 5 19s220ms 3s844ms 16 4 14s133ms 3s533ms 17 2 6s392ms 3s196ms 19 3 12s287ms 4s95ms 20 2 7s62ms 3s531ms 21 2 6s407ms 3s203ms 22 5 23s716ms 4s743ms 23 2 6s628ms 3s314ms Mar 11 04 3 13s399ms 4s466ms 05 7 35s503ms 5s71ms 06 2 11s908ms 5s954ms 07 2 2s285ms 1s142ms 08 2 7s45ms 3s522ms 09 3 13s235ms 4s411ms 10 1 5s528ms 5s528ms 11 3 12s134ms 4s44ms 12 3 12s107ms 4s35ms 14 1 5s430ms 5s430ms 16 3 12s440ms 4s146ms 17 1 1s58ms 1s58ms 19 1 5s724ms 5s724ms 21 1 5s768ms 5s768ms 23 1 5s581ms 5s581ms Mar 12 00 3 12s771ms 4s257ms 02 2 11s622ms 5s811ms 03 2 2s132ms 1s66ms 04 2 11s392ms 5s696ms 05 2 13s232ms 6s616ms 06 8 35s352ms 4s419ms 07 2 11s838ms 5s919ms 08 1 5s474ms 5s474ms 10 1 5s541ms 5s541ms 11 3 16s717ms 5s572ms 12 1 5s635ms 5s635ms 13 2 2s154ms 1s77ms 14 1 5s536ms 5s536ms 15 1 5s525ms 5s525ms 16 1 6s608ms 6s608ms 18 1 1s333ms 1s333ms 20 1 1s65ms 1s65ms 21 2 11s41ms 5s520ms 22 6 25s324ms 4s220ms 23 5 19s757ms 3s951ms Mar 13 00 4 18s557ms 4s639ms 01 3 18s533ms 6s177ms 05 1 5s709ms 5s709ms 06 2 2s242ms 1s121ms 07 2 6s667ms 3s333ms 08 1 5s318ms 5s318ms 09 2 6s715ms 3s357ms 14 1 5s854ms 5s854ms 18 6 33s254ms 5s542ms 19 2 10s563ms 5s281ms 20 1 5s574ms 5s574ms Mar 14 02 3 7s628ms 2s542ms 08 1 5s985ms 5s985ms 11 1 5s240ms 5s240ms 12 1 1s41ms 1s41ms 13 1 5s675ms 5s675ms 16 6 31s625ms 5s270ms 17 1 5s129ms 5s129ms 18 1 5s213ms 5s213ms 23 1 1s53ms 1s53ms Mar 15 03 3 11s426ms 3s808ms 06 1 1s103ms 1s103ms 09 3 12s329ms 4s109ms 10 1 5s103ms 5s103ms 13 7 33s827ms 4s832ms 14 1 5s527ms 5s527ms 15 1 1s123ms 1s123ms 16 1 5s520ms 5s520ms 17 2 6s713ms 3s356ms 19 2 6s942ms 3s471ms 21 1 5s542ms 5s542ms [ User: pubeu - Total duration: 4m15s - Times executed: 63 ]
-
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 = '1351593' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-03-12 05:25:26 Duration: 7s689ms 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 = '1296986' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-03-11 05:11:19 Duration: 6s882ms 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 = '1351513' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-03-09 00:18:49 Duration: 6s789ms Bind query: yes
17 16m52s 279 1s7ms 12s978ms 3s628ms 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 #17
Day Hour Count Duration Avg duration Mar 09 23 1 6s611ms 6s611ms 00 1 1s437ms 1s437ms 04 3 12s396ms 4s132ms 05 1 5s376ms 5s376ms 06 2 4s147ms 2s73ms 08 2 6s634ms 3s317ms 10 4 6s453ms 1s613ms 11 4 17s60ms 4s265ms 12 3 8s669ms 2s889ms 13 1 4s944ms 4s944ms 14 3 15s474ms 5s158ms 15 4 20s514ms 5s128ms 16 3 17s882ms 5s960ms 17 1 1s339ms 1s339ms 18 1 1s13ms 1s13ms 19 7 37s805ms 5s400ms 20 1 1s280ms 1s280ms 21 1 5s49ms 5s49ms 22 5 18s782ms 3s756ms 23 1 2s500ms 2s500ms Mar 10 00 2 6s71ms 3s35ms 01 2 14s515ms 7s257ms 02 3 6s394ms 2s131ms 03 4 5s972ms 1s493ms 04 2 2s130ms 1s65ms 05 2 12s713ms 6s356ms 06 4 15s547ms 3s886ms 07 1 6s178ms 6s178ms 08 4 13s846ms 3s461ms 09 1 1s438ms 1s438ms 10 6 19s408ms 3s234ms 11 3 11s386ms 3s795ms 12 1 12s542ms 12s542ms 13 1 1s803ms 1s803ms 14 1 1s547ms 1s547ms 15 1 1s383ms 1s383ms 16 2 5s966ms 2s983ms 17 1 5s433ms 5s433ms 18 3 14s995ms 4s998ms 19 2 6s149ms 3s74ms 20 2 4s237ms 2s118ms 21 2 3s829ms 1s914ms 22 1 2s210ms 2s210ms 23 14 44s432ms 3s173ms Mar 11 00 1 1s255ms 1s255ms 01 8 27s662ms 3s457ms 02 2 4s706ms 2s353ms 03 5 10s669ms 2s133ms 04 1 5s365ms 5s365ms 05 2 5s261ms 2s630ms 06 1 10s617ms 10s617ms 07 4 17s694ms 4s423ms 08 3 10s869ms 3s623ms 09 2 13s279ms 6s639ms 10 1 1s753ms 1s753ms 11 2 11s534ms 5s767ms 13 2 4s161ms 2s80ms 14 4 13s389ms 3s347ms 15 1 1s263ms 1s263ms 16 3 16s965ms 5s655ms 17 2 14s177ms 7s88ms 18 4 25s54ms 6s263ms 19 2 3s544ms 1s772ms 20 4 15s153ms 3s788ms 21 3 5s582ms 1s860ms 22 1 3s156ms 3s156ms 23 3 11s132ms 3s710ms Mar 12 00 5 14s13ms 2s802ms 01 4 22s321ms 5s580ms 02 2 14s15ms 7s7ms 03 4 17s308ms 4s327ms 04 1 5s775ms 5s775ms 05 1 2s452ms 2s452ms 06 8 21s882ms 2s735ms 07 5 24s196ms 4s839ms 08 4 18s475ms 4s618ms 09 1 4s892ms 4s892ms 10 2 5s602ms 2s801ms 11 2 3s354ms 1s677ms 12 6 25s809ms 4s301ms 13 2 8s882ms 4s441ms 14 2 3s630ms 1s815ms 15 1 6s488ms 6s488ms 17 2 5s86ms 2s543ms 20 1 11s421ms 11s421ms 21 1 10s460ms 10s460ms 23 1 1s608ms 1s608ms Mar 13 00 1 1s258ms 1s258ms 01 1 1s820ms 1s820ms 05 2 7s705ms 3s852ms 06 3 9s689ms 3s229ms 07 4 8s71ms 2s17ms 08 1 6s682ms 6s682ms 10 3 7s824ms 2s608ms 11 1 1s996ms 1s996ms 13 1 1s197ms 1s197ms 14 1 1s178ms 1s178ms 17 1 3s879ms 3s879ms 19 1 2s518ms 2s518ms Mar 14 03 2 2s577ms 1s288ms 09 2 2s158ms 1s79ms 11 4 8s379ms 2s94ms 14 2 11s804ms 5s902ms 15 4 10s749ms 2s687ms 17 1 2s505ms 2s505ms 19 1 1s89ms 1s89ms 20 3 7s553ms 2s517ms Mar 15 06 2 4s384ms 2s192ms 07 1 2s482ms 2s482ms 08 1 1s173ms 1s173ms 09 1 1s650ms 1s650ms 10 1 5s652ms 5s652ms 11 1 5s302ms 5s302ms 12 1 10s479ms 10s479ms 15 1 2s148ms 2s148ms 16 1 1s7ms 1s7ms [ User: pubeu - Total duration: 4m7s - Times executed: 74 ]
-
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-10 01:10:53 Duration: 12s978ms 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-11 16:21:02 Duration: 12s817ms 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-12 01:40:17 Duration: 12s768ms Database: ctdprd51 User: pubeu Bind query: yes
18 15m59s 579 1s244ms 2s431ms 1s657ms 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 #18
Day Hour Count Duration Avg duration Mar 09 23 4 5s123ms 1s280ms 00 6 10s680ms 1s780ms 03 5 9s57ms 1s811ms 04 7 11s391ms 1s627ms 05 11 19s162ms 1s742ms 06 8 12s551ms 1s568ms 07 4 6s357ms 1s589ms 08 6 10s768ms 1s794ms 09 8 11s557ms 1s444ms 10 7 11s938ms 1s705ms 11 8 13s928ms 1s741ms 12 6 10s605ms 1s767ms 13 7 11s427ms 1s632ms 14 6 9s478ms 1s579ms 15 6 9s483ms 1s580ms 16 2 3s130ms 1s565ms 17 4 7s454ms 1s863ms 18 3 5s9ms 1s669ms 19 4 6s929ms 1s732ms 20 4 6s286ms 1s571ms 21 4 6s287ms 1s571ms 22 5 9s368ms 1s873ms 23 6 9s481ms 1s580ms Mar 10 00 13 20s123ms 1s547ms 01 4 6s952ms 1s738ms 03 3 5s640ms 1s880ms 04 7 11s943ms 1s706ms 05 2 3s695ms 1s847ms 06 3 4s411ms 1s470ms 07 2 3s689ms 1s844ms 08 8 12s832ms 1s604ms 09 5 8s178ms 1s635ms 10 5 7s618ms 1s523ms 11 3 5s590ms 1s863ms 12 10 16s869ms 1s686ms 13 5 8s204ms 1s640ms 14 11 18s461ms 1s678ms 15 6 10s619ms 1s769ms 16 8 13s268ms 1s658ms 17 4 6s980ms 1s745ms 18 6 10s762ms 1s793ms 19 5 8s163ms 1s632ms 20 6 10s52ms 1s675ms 21 4 7s521ms 1s880ms 22 1 1s269ms 1s269ms 23 2 3s130ms 1s565ms Mar 11 01 3 5s645ms 1s881ms 02 8 12s269ms 1s533ms 03 5 9s506ms 1s901ms 04 4 6s838ms 1s709ms 05 7 10s970ms 1s567ms 06 5 8s201ms 1s640ms 07 14 22s279ms 1s591ms 08 10 17s26ms 1s702ms 09 2 3s742ms 1s871ms 10 9 13s901ms 1s544ms 11 7 11s316ms 1s616ms 12 7 12s540ms 1s791ms 13 6 9s520ms 1s586ms 14 11 17s681ms 1s607ms 15 2 3s163ms 1s581ms 16 9 13s938ms 1s548ms 17 8 13s148ms 1s643ms 18 5 6s995ms 1s399ms 19 10 17s485ms 1s748ms 20 12 19s572ms 1s631ms 21 11 17s889ms 1s626ms 22 2 3s188ms 1s594ms 23 6 11s255ms 1s875ms Mar 12 00 10 15s271ms 1s527ms 01 4 5s844ms 1s461ms 02 12 20s136ms 1s678ms 03 11 19s971ms 1s815ms 04 8 13s153ms 1s644ms 05 7 12s612ms 1s801ms 06 12 19s40ms 1s586ms 07 3 5s103ms 1s701ms 08 13 21s526ms 1s655ms 09 9 14s577ms 1s619ms 10 4 6s285ms 1s571ms 11 6 10s40ms 1s673ms 12 9 13s387ms 1s487ms 13 5 8s213ms 1s642ms 14 2 3s259ms 1s629ms 15 2 3s838ms 1s919ms 16 2 3s129ms 1s564ms 18 1 1s278ms 1s278ms 19 4 6s347ms 1s586ms 20 3 5s30ms 1s676ms 21 1 1s283ms 1s283ms 23 2 3s167ms 1s583ms Mar 13 00 4 5s711ms 1s427ms 01 3 5s724ms 1s908ms 05 1 1s277ms 1s277ms 06 10 17s136ms 1s713ms 07 6 11s722ms 1s953ms 08 4 6s946ms 1s736ms 18 1 1s853ms 1s853ms Mar 14 13 1 1s859ms 1s859ms 16 1 1s858ms 1s858ms Mar 15 13 1 1s862ms 1s862ms [ User: pubeu - Total duration: 3m48s - Times executed: 134 ]
-
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-13 01:40:07 Duration: 2s431ms 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-13 07:44:36 Duration: 2s106ms 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-12 05:20:53 Duration: 2s98ms Database: ctdprd51 User: pubeu Bind query: yes
19 11m26s 1 11m26s 11m26s 11m26s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?)) and exists ( select ? from gene_chem_reference_axn gcra where gcr.id = gcra.gene_chem_reference_id and gcra.action_type_nm in ( select ac.nm from action_type ap, action_type ac where ac.subset_left_no between ap.subset_left_no and ap.subset_right_no and (ap.nm = ?))) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 10 10 1 11m26s 11m26s -
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'TNF') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'AMINO ACIDS' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) AND exists ( SELECT 1 FROM gene_chem_reference_axn gcra WHERE gcr.id = gcra.gene_chem_reference_id AND gcra.action_type_nm IN ( SELECT ac.nm FROM action_type ap, action_type ac WHERE ac.subset_left_no BETWEEN ap.subset_left_no AND ap.subset_right_no AND (ap.nm = 'activity'))) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2025-03-10 10:31:11 Duration: 11m26s Bind query: yes
20 11m18s 279 1s3ms 3s918ms 2s433ms with recursive sub_node ( object_id, id, path, lvl ) as ( select n.object_id, n.id, array[n.nm_sort], ? from dag_node n where n.object_id = ? union all select n.object_id, n.id, cast(path || n.nm_sort as varchar(?)[]), sn.lvl + ? from dag_node n inner join sub_node sn on (n.parent_id = sn.id)) select distinct t.nm prinm, t.nm_html prinmhtml, t.secondary_nm secondarynm, t.acc_db_cd accdbcd, t.acc_txt termacc, t.is_leaf isleaf, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, t.has_genes hasgenes, sn.lvl, sn.path, max(sn.lvl) over () maxlvl, t.has_phenotypes hasphenotypes from sub_node sn inner join term t on sn.object_id = t.id where sn.lvl <= ? order by sn.path;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Mar 09 23 2 4s597ms 2s298ms 00 1 2s37ms 2s37ms 03 2 4s435ms 2s217ms 04 3 7s172ms 2s390ms 05 9 22s107ms 2s456ms 08 3 7s724ms 2s574ms 09 1 3s317ms 3s317ms 10 5 12s60ms 2s412ms 11 3 7s466ms 2s488ms 12 4 10s402ms 2s600ms 13 3 8s520ms 2s840ms 15 1 2s232ms 2s232ms 16 1 2s160ms 2s160ms 17 1 1s887ms 1s887ms 18 1 3s456ms 3s456ms 19 3 8s944ms 2s981ms 20 1 1s931ms 1s931ms 21 6 14s857ms 2s476ms 22 2 4s678ms 2s339ms 23 2 5s632ms 2s816ms Mar 10 00 2 5s240ms 2s620ms 01 2 4s420ms 2s210ms 02 1 2s90ms 2s90ms 03 4 8s894ms 2s223ms 04 3 7s31ms 2s343ms 05 5 11s496ms 2s299ms 06 1 1s955ms 1s955ms 07 3 7s976ms 2s658ms 08 3 7s286ms 2s428ms 10 5 10s425ms 2s85ms 11 2 5s98ms 2s549ms 13 3 7s745ms 2s581ms 14 4 8s519ms 2s129ms 15 4 8s933ms 2s233ms 16 1 1s971ms 1s971ms 17 1 2s643ms 2s643ms 18 1 1s960ms 1s960ms 19 2 3s852ms 1s926ms 20 5 12s354ms 2s470ms 21 2 4s353ms 2s176ms 22 2 3s953ms 1s976ms 23 1 2s332ms 2s332ms Mar 11 01 3 7s725ms 2s575ms 02 2 3s871ms 1s935ms 03 4 9s898ms 2s474ms 04 4 10s579ms 2s644ms 05 4 9s65ms 2s266ms 06 2 3s997ms 1s998ms 07 3 5s966ms 1s988ms 08 3 8s354ms 2s784ms 09 4 10s416ms 2s604ms 10 5 11s884ms 2s376ms 11 5 12s534ms 2s506ms 12 6 14s803ms 2s467ms 13 2 4s488ms 2s244ms 14 4 11s947ms 2s986ms 15 5 12s369ms 2s473ms 16 1 3s359ms 3s359ms 17 2 3s995ms 1s997ms 18 2 5s924ms 2s962ms 19 3 7s865ms 2s621ms 20 3 6s587ms 2s195ms 21 7 17s346ms 2s478ms 22 4 10s379ms 2s594ms 23 3 8s148ms 2s716ms Mar 12 00 1 2s568ms 2s568ms 02 2 4s845ms 2s422ms 04 3 7s394ms 2s464ms 05 6 13s151ms 2s191ms 06 2 4s729ms 2s364ms 07 2 5s209ms 2s604ms 08 2 6s124ms 3s62ms 09 3 7s880ms 2s626ms 10 4 10s253ms 2s563ms 11 4 9s199ms 2s299ms 12 1 2s893ms 2s893ms 13 6 17s150ms 2s858ms 14 4 8s668ms 2s167ms 15 1 1s952ms 1s952ms 18 2 4s919ms 2s459ms 19 1 1s847ms 1s847ms 20 1 1s925ms 1s925ms 22 2 3s525ms 1s762ms Mar 13 00 4 10s706ms 2s676ms 02 1 3s812ms 3s812ms 05 5 11s169ms 2s233ms 06 5 12s175ms 2s435ms 07 6 14s680ms 2s446ms 08 3 7s878ms 2s626ms 12 5 9s944ms 1s988ms 16 1 2s858ms 2s858ms Mar 14 01 1 2s873ms 2s873ms 05 4 9s71ms 2s267ms 18 1 2s817ms 2s817ms Mar 15 05 4 9s1ms 2s250ms [ User: pubeu - Total duration: 3m18s - Times executed: 73 ]
[ User: qaeu - Total duration: 24s285ms - 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 = '658110' 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-11 11:09:41 Duration: 3s918ms 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 = '658110' 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-13 02:22:40 Duration: 3s812ms 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-13 05:35:24 Duration: 3s737ms Database: ctdprd51 User: pubeu Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 2,776 58m17s 1s87ms 3s225ms 1s259ms 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 09 23 22 29s491ms 1s340ms 00 28 35s319ms 1s261ms 03 27 34s81ms 1s262ms 04 21 27s360ms 1s302ms 05 25 31s591ms 1s263ms 06 26 32s848ms 1s263ms 07 20 25s151ms 1s257ms 08 24 29s786ms 1s241ms 09 26 33s237ms 1s278ms 10 26 34s984ms 1s345ms 11 18 23s13ms 1s278ms 12 25 31s81ms 1s243ms 13 21 26s287ms 1s251ms 14 20 25s137ms 1s256ms 15 31 38s769ms 1s250ms 16 20 25s27ms 1s251ms 17 25 31s141ms 1s245ms 18 24 29s761ms 1s240ms 19 30 37s327ms 1s244ms 20 21 26s141ms 1s244ms 21 16 19s740ms 1s233ms 22 24 30s11ms 1s250ms 23 24 30s43ms 1s251ms Mar 10 00 21 26s3ms 1s238ms 01 19 24s58ms 1s266ms 02 20 25s598ms 1s279ms 03 24 31s351ms 1s306ms 04 32 39s854ms 1s245ms 05 23 28s906ms 1s256ms 06 29 35s971ms 1s240ms 07 29 35s981ms 1s240ms 08 26 32s196ms 1s238ms 09 18 22s465ms 1s248ms 10 25 31s240ms 1s249ms 11 21 26s105ms 1s243ms 12 16 19s668ms 1s229ms 13 21 26s207ms 1s247ms 14 36 44s520ms 1s236ms 15 36 44s527ms 1s236ms 16 28 34s741ms 1s240ms 17 25 30s997ms 1s239ms 18 32 40s2ms 1s250ms 19 40 49s299ms 1s232ms 20 29 35s562ms 1s226ms 21 17 21s101ms 1s241ms 22 25 31s531ms 1s261ms 23 28 34s688ms 1s238ms Mar 11 00 14 17s691ms 1s263ms 01 12 14s877ms 1s239ms 02 25 31s101ms 1s244ms 03 31 38s440ms 1s240ms 04 81 1m45s 1s300ms 05 81 1m43s 1s282ms 06 16 19s720ms 1s232ms 07 13 16s104ms 1s238ms 08 21 25s895ms 1s233ms 09 28 35s547ms 1s269ms 10 17 22s572ms 1s327ms 11 26 32s345ms 1s244ms 12 22 27s190ms 1s235ms 13 29 35s982ms 1s240ms 14 19 23s568ms 1s240ms 15 20 24s777ms 1s238ms 16 28 34s665ms 1s238ms 17 18 23s575ms 1s309ms 18 23 28s951ms 1s258ms 19 29 36s411ms 1s255ms 20 20 24s861ms 1s243ms 21 16 19s911ms 1s244ms 22 11 13s869ms 1s260ms 23 26 34s195ms 1s315ms Mar 12 00 16 20s465ms 1s279ms 01 14 17s531ms 1s252ms 02 22 27s683ms 1s258ms 03 21 26s148ms 1s245ms 04 23 28s595ms 1s243ms 05 24 31s324ms 1s305ms 06 16 20s156ms 1s259ms 07 24 29s990ms 1s249ms 08 23 29s117ms 1s265ms 09 20 25s809ms 1s290ms 10 10 12s482ms 1s248ms 11 17 21s162ms 1s244ms 12 19 23s547ms 1s239ms 13 12 14s792ms 1s232ms 14 15 18s811ms 1s254ms 15 19 23s524ms 1s238ms 16 9 11s535ms 1s281ms 17 6 7s776ms 1s296ms 18 14 17s890ms 1s277ms 19 8 10s104ms 1s263ms 20 7 8s857ms 1s265ms 21 7 9s296ms 1s328ms 22 52 1m6s 1s286ms 23 38 47s714ms 1s255ms Mar 13 00 97 2m3s 1s273ms 01 17 22s760ms 1s338ms 05 9 12s483ms 1s387ms 06 23 29s643ms 1s288ms 07 20 27s250ms 1s362ms 08 11 14s221ms 1s292ms 09 4 5s52ms 1s263ms 10 3 3s822ms 1s274ms 11 1 1s248ms 1s248ms 12 5 6s798ms 1s359ms 13 10 13s21ms 1s302ms 14 9 11s465ms 1s273ms 15 3 3s724ms 1s241ms 16 3 3s737ms 1s245ms 17 8 10s37ms 1s254ms 18 3 3s902ms 1s300ms 19 1 1s253ms 1s253ms 20 9 11s169ms 1s241ms 21 2 2s873ms 1s436ms 22 1 1s449ms 1s449ms 23 4 5s11ms 1s252ms Mar 14 00 5 6s256ms 1s251ms 01 3 3s725ms 1s241ms 02 1 1s259ms 1s259ms 03 6 7s485ms 1s247ms 04 9 11s79ms 1s231ms 05 3 4s34ms 1s344ms 06 1 1s228ms 1s228ms 07 8 9s936ms 1s242ms 08 2 2s463ms 1s231ms 09 9 11s130ms 1s236ms 10 1 1s172ms 1s172ms 11 7 8s752ms 1s250ms 12 9 11s130ms 1s236ms 13 1 1s173ms 1s173ms 14 3 3s662ms 1s220ms 15 1 1s164ms 1s164ms 16 3 3s754ms 1s251ms 17 3 3s722ms 1s240ms 18 4 4s929ms 1s232ms 19 10 11s901ms 1s190ms 20 2 2s439ms 1s219ms 21 6 7s103ms 1s183ms 22 12 14s721ms 1s226ms 23 6 7s303ms 1s217ms Mar 15 00 2 2s422ms 1s211ms 01 6 7s311ms 1s218ms 02 5 6s62ms 1s212ms 03 6 7s436ms 1s239ms 04 2 2s697ms 1s348ms 05 8 10s112ms 1s264ms 06 4 5s155ms 1s288ms 07 7 8s521ms 1s217ms 08 6 7s568ms 1s261ms 09 3 3s743ms 1s247ms 10 7 8s564ms 1s223ms 11 6 7s395ms 1s232ms 12 6 7s340ms 1s223ms 13 14 17s254ms 1s232ms 14 11 13s672ms 1s242ms 15 7 8s704ms 1s243ms 16 18 21s937ms 1s218ms 17 19 23s465ms 1s235ms 18 10 12s177ms 1s217ms 19 15 19s265ms 1s284ms 20 11 14s273ms 1s297ms 21 6 7s475ms 1s245ms 22 9 11s289ms 1s254ms 23 4 4s936ms 1s234ms [ User: pubeu - Total duration: 15m38s - Times executed: 741 ]
[ User: qaeu - Total duration: 1s377ms - 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 = '1873394' or receptorTerm.id = '1873394' 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-11 04:39:40 Duration: 3s225ms 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 = '1450109' or receptorTerm.id = '1450109' 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-13 07:53:54 Duration: 2s521ms 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 = '1466244' or receptorTerm.id = '1466244' 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-09 10:02:09 Duration: 1s924ms Bind query: yes
2 2,140 53m50s 1s455ms 2s195ms 1s509ms 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 09 23 24 36s224ms 1s509ms 00 25 37s637ms 1s505ms 03 26 39s483ms 1s518ms 04 28 42s331ms 1s511ms 05 28 42s362ms 1s512ms 06 32 48s686ms 1s521ms 07 19 28s818ms 1s516ms 08 17 25s616ms 1s506ms 09 27 40s901ms 1s514ms 10 24 36s910ms 1s537ms 11 23 34s717ms 1s509ms 12 26 39s95ms 1s503ms 13 27 40s719ms 1s508ms 14 20 30s239ms 1s511ms 15 25 37s857ms 1s514ms 16 26 39s78ms 1s503ms 17 18 27s65ms 1s503ms 18 21 31s543ms 1s502ms 19 24 36s130ms 1s505ms 20 18 27s226ms 1s512ms 21 25 37s678ms 1s507ms 22 27 40s507ms 1s500ms 23 24 36s56ms 1s502ms Mar 10 00 24 36s216ms 1s509ms 01 29 43s641ms 1s504ms 02 27 40s710ms 1s507ms 03 19 28s726ms 1s511ms 04 10 15s75ms 1s507ms 05 17 25s477ms 1s498ms 06 5 7s483ms 1s496ms 07 14 21s160ms 1s511ms 08 9 13s621ms 1s513ms 09 14 20s933ms 1s495ms 10 12 18s61ms 1s505ms 11 6 9s55ms 1s509ms 12 15 23s20ms 1s534ms 13 12 18s211ms 1s517ms 14 17 25s577ms 1s504ms 15 17 25s496ms 1s499ms 16 10 15s60ms 1s506ms 17 14 20s942ms 1s495ms 18 10 15s152ms 1s515ms 19 13 19s481ms 1s498ms 20 13 19s546ms 1s503ms 21 20 30s649ms 1s532ms 22 9 13s593ms 1s510ms 23 4 5s992ms 1s498ms Mar 11 01 1 1s493ms 1s493ms 02 13 19s659ms 1s512ms 03 13 19s588ms 1s506ms 04 6 9s91ms 1s515ms 05 12 18s262ms 1s521ms 06 14 21s100ms 1s507ms 07 15 22s527ms 1s501ms 08 4 5s997ms 1s499ms 09 12 18s142ms 1s511ms 10 10 15s1ms 1s500ms 11 9 13s576ms 1s508ms 12 11 16s563ms 1s505ms 13 11 16s573ms 1s506ms 14 9 13s589ms 1s509ms 15 10 15s21ms 1s502ms 16 14 21s200ms 1s514ms 17 11 16s603ms 1s509ms 18 12 18s41ms 1s503ms 19 13 19s896ms 1s530ms 20 8 12s250ms 1s531ms 21 13 19s681ms 1s513ms 22 14 21s142ms 1s510ms 23 8 12s121ms 1s515ms Mar 12 00 9 13s615ms 1s512ms 01 15 22s907ms 1s527ms 02 4 6s15ms 1s503ms 03 15 22s519ms 1s501ms 04 15 22s593ms 1s506ms 05 16 24s320ms 1s520ms 06 8 11s968ms 1s496ms 07 6 9s81ms 1s513ms 08 13 19s778ms 1s521ms 09 10 14s989ms 1s498ms 10 4 5s983ms 1s495ms 11 8 11s969ms 1s496ms 12 9 13s435ms 1s492ms 13 6 8s998ms 1s499ms 14 12 18s33ms 1s502ms 15 9 13s634ms 1s514ms 16 7 10s641ms 1s520ms 17 2 2s986ms 1s493ms 18 1 1s491ms 1s491ms 19 7 10s717ms 1s531ms 20 1 1s503ms 1s503ms 21 2 2s959ms 1s479ms 22 4 5s994ms 1s498ms 23 3 4s504ms 1s501ms Mar 13 00 14 21s134ms 1s509ms 01 10 15s197ms 1s519ms 05 25 37s593ms 1s503ms 06 57 1m26s 1s516ms 07 27 41s812ms 1s548ms 08 30 45s690ms 1s523ms 09 24 36s175ms 1s507ms 10 24 36s195ms 1s508ms 11 27 40s773ms 1s510ms 12 25 37s616ms 1s504ms 13 32 47s946ms 1s498ms 14 30 45s136ms 1s504ms 15 30 45s35ms 1s501ms 16 29 43s694ms 1s506ms 17 27 40s315ms 1s493ms 18 27 40s635ms 1s505ms 19 27 40s851ms 1s513ms 20 28 42s295ms 1s510ms 21 26 39s62ms 1s502ms 22 21 31s582ms 1s503ms 23 13 19s716ms 1s516ms Mar 14 00 14 21s302ms 1s521ms 01 13 19s482ms 1s498ms 02 13 19s617ms 1s509ms 03 14 21s933ms 1s566ms 04 13 19s491ms 1s499ms 05 16 24s20ms 1s501ms 06 8 12s95ms 1s511ms 07 11 16s574ms 1s506ms 08 11 16s572ms 1s506ms 09 14 20s975ms 1s498ms 10 8 12s105ms 1s513ms 11 13 19s461ms 1s497ms 12 14 20s993ms 1s499ms 13 10 15s20ms 1s502ms 14 3 4s553ms 1s517ms 15 3 4s522ms 1s507ms 16 1 1s478ms 1s478ms 17 1 1s470ms 1s470ms 20 3 4s512ms 1s504ms 22 1 1s481ms 1s481ms 23 3 4s492ms 1s497ms Mar 15 00 4 5s935ms 1s483ms 01 4 6s12ms 1s503ms 02 3 4s453ms 1s484ms 03 2 2s950ms 1s475ms 04 2 3s39ms 1s519ms 05 3 4s472ms 1s490ms 06 2 2s973ms 1s486ms 07 4 5s957ms 1s489ms 08 5 7s527ms 1s505ms 09 2 2s996ms 1s498ms 10 3 4s509ms 1s503ms 11 1 1s515ms 1s515ms 12 6 8s932ms 1s488ms 13 6 8s958ms 1s493ms 14 2 3s27ms 1s513ms 15 1 1s494ms 1s494ms 16 3 4s484ms 1s494ms 17 2 2s967ms 1s483ms 18 3 4s477ms 1s492ms 19 4 6s215ms 1s553ms 20 3 4s526ms 1s508ms 21 5 7s528ms 1s505ms 22 4 6s48ms 1s512ms 23 3 4s506ms 1s502ms [ User: pubeu - Total duration: 16m56s - Times executed: 671 ]
-
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-14 03:53:36 Duration: 2s195ms 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-10 21:13:15 Duration: 1s936ms 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-10 12:55:47 Duration: 1s903ms Database: ctdprd51 User: pubeu Bind query: yes
3 1,579 1h22m41s 1s6ms 7s570ms 3s142ms 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 09 23 17 59s219ms 3s483ms 00 15 55s521ms 3s701ms 03 18 58s669ms 3s259ms 04 13 29s895ms 2s299ms 05 21 1m6s 3s170ms 06 17 50s784ms 2s987ms 07 16 45s125ms 2s820ms 08 9 36s479ms 4s53ms 09 13 46s506ms 3s577ms 10 15 42s353ms 2s823ms 11 7 22s670ms 3s238ms 12 19 48s942ms 2s575ms 13 14 52s2ms 3s714ms 14 14 51s687ms 3s691ms 15 14 48s270ms 3s447ms 16 14 56s89ms 4s6ms 17 19 1m6s 3s521ms 18 19 54s944ms 2s891ms 19 17 46s886ms 2s758ms 20 16 53s300ms 3s331ms 21 15 41s922ms 2s794ms 22 17 55s718ms 3s277ms 23 17 46s496ms 2s735ms Mar 10 00 11 31s52ms 2s822ms 01 30 1m55s 3s838ms 02 13 40s886ms 3s145ms 03 13 43s122ms 3s317ms 04 10 31s902ms 3s190ms 05 16 48s736ms 3s46ms 06 11 36s945ms 3s358ms 07 10 31s13ms 3s101ms 08 16 43s841ms 2s740ms 09 11 34s882ms 3s171ms 10 12 39s780ms 3s315ms 11 9 22s821ms 2s535ms 12 18 54s967ms 3s53ms 13 14 36s157ms 2s582ms 14 19 45s826ms 2s411ms 15 19 1m5s 3s425ms 16 16 46s843ms 2s927ms 17 17 1m9s 4s114ms 18 10 29s615ms 2s961ms 19 14 53s714ms 3s836ms 20 16 1m6s 4s167ms 21 15 38s624ms 2s574ms 22 9 37s993ms 4s221ms 23 3 6s58ms 2s19ms Mar 11 01 5 12s440ms 2s488ms 02 19 50s812ms 2s674ms 03 13 26s519ms 2s39ms 04 13 33s36ms 2s541ms 05 14 42s822ms 3s58ms 06 29 1m37s 3s356ms 07 19 58s400ms 3s73ms 08 30 1m40s 3s334ms 09 19 59s6ms 3s105ms 10 17 51s464ms 3s27ms 11 18 46s938ms 2s607ms 12 20 1m3s 3s158ms 13 24 1m22s 3s436ms 14 16 51s682ms 3s230ms 15 25 1m4s 2s591ms 16 18 57s832ms 3s212ms 17 11 31s23ms 2s820ms 18 26 1m22s 3s183ms 19 20 1m1s 3s52ms 20 14 42s575ms 3s41ms 21 15 55s629ms 3s708ms 22 20 1m1s 3s60ms 23 25 1m25s 3s405ms Mar 12 00 22 1m22s 3s766ms 01 23 1m4s 2s795ms 02 15 48s22ms 3s201ms 03 15 45s629ms 3s41ms 04 19 54s727ms 2s880ms 05 22 1m12s 3s315ms 06 27 1m9s 2s572ms 07 25 1m21s 3s264ms 08 15 40s76ms 2s671ms 09 12 43s135ms 3s594ms 10 23 1m4s 2s800ms 11 15 50s634ms 3s375ms 12 22 1m2s 2s830ms 13 17 47s821ms 2s813ms 14 16 1m1s 3s847ms 15 16 47s292ms 2s955ms 16 6 19s270ms 3s211ms 17 4 12s996ms 3s249ms 18 5 18s556ms 3s711ms 19 10 27s951ms 2s795ms 20 7 19s349ms 2s764ms 21 6 21s313ms 3s552ms 22 11 36s35ms 3s275ms 23 4 10s580ms 2s645ms Mar 13 00 11 38s620ms 3s510ms 01 9 26s40ms 2s893ms 05 10 32s326ms 3s232ms 06 27 1m26s 3s204ms 07 18 51s298ms 2s849ms 08 9 34s178ms 3s797ms 10 2 5s437ms 2s718ms 11 2 7s679ms 3s839ms 18 4 13s453ms 3s363ms Mar 14 04 1 3s361ms 3s361ms 14 1 2s927ms 2s927ms 16 4 13s105ms 3s276ms Mar 15 13 4 13s606ms 3s401ms 16 1 2s74ms 2s74ms 19 1 1s717ms 1s717ms [ User: pubeu - Total duration: 22m38s - Times executed: 426 ]
-
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-13 01:41:13 Duration: 7s570ms 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-10 03:32:57 Duration: 7s154ms 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-10 17:53:59 Duration: 6s999ms Bind query: yes
4 1,323 53m49s 1s 4s637ms 2s440ms 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 09 23 12 25s79ms 2s89ms 00 10 27s471ms 2s747ms 03 10 19s545ms 1s954ms 04 7 12s240ms 1s748ms 05 13 34s989ms 2s691ms 06 16 39s61ms 2s441ms 07 10 23s893ms 2s389ms 08 4 8s269ms 2s67ms 09 15 36s718ms 2s447ms 10 19 49s677ms 2s614ms 11 14 39s992ms 2s856ms 12 17 44s251ms 2s603ms 13 22 57s421ms 2s610ms 14 19 48s575ms 2s556ms 15 7 19s946ms 2s849ms 16 12 25s404ms 2s117ms 17 14 37s50ms 2s646ms 18 12 37s934ms 3s161ms 19 5 13s375ms 2s675ms 20 12 33s32ms 2s752ms 21 10 29s122ms 2s912ms 22 11 26s450ms 2s404ms 23 9 25s285ms 2s809ms Mar 10 00 11 21s980ms 1s998ms 01 15 35s64ms 2s337ms 02 11 26s969ms 2s451ms 03 12 22s785ms 1s898ms 04 12 32s841ms 2s736ms 05 11 22s959ms 2s87ms 06 15 42s601ms 2s840ms 07 12 20s239ms 1s686ms 08 5 12s309ms 2s461ms 09 9 25s177ms 2s797ms 10 8 18s978ms 2s372ms 11 8 18s800ms 2s350ms 12 23 47s641ms 2s71ms 13 8 17s555ms 2s194ms 14 15 40s639ms 2s709ms 15 13 29s749ms 2s288ms 16 15 29s785ms 1s985ms 17 23 58s597ms 2s547ms 18 19 45s548ms 2s397ms 19 15 41s95ms 2s739ms 20 18 46s717ms 2s595ms 21 14 30s990ms 2s213ms 22 11 27s975ms 2s543ms 23 5 13s571ms 2s714ms Mar 11 01 6 19s668ms 3s278ms 02 22 49s679ms 2s258ms 03 16 36s931ms 2s308ms 04 8 19s851ms 2s481ms 05 11 26s787ms 2s435ms 06 17 37s449ms 2s202ms 07 13 34s856ms 2s681ms 08 20 38s299ms 1s914ms 09 13 33s404ms 2s569ms 10 11 23s231ms 2s111ms 11 12 26s589ms 2s215ms 12 9 26s404ms 2s933ms 13 18 40s200ms 2s233ms 14 10 24s740ms 2s474ms 15 15 42s900ms 2s860ms 16 18 47s769ms 2s653ms 17 15 46s41ms 3s69ms 18 17 48s74ms 2s827ms 19 18 41s569ms 2s309ms 20 11 25s879ms 2s352ms 21 18 36s569ms 2s31ms 22 14 39s37ms 2s788ms 23 12 27s51ms 2s254ms Mar 12 00 12 29s300ms 2s441ms 01 24 58s998ms 2s458ms 02 14 36s823ms 2s630ms 03 17 41s254ms 2s426ms 04 14 32s274ms 2s305ms 05 12 33s924ms 2s827ms 06 31 1m12s 2s345ms 07 15 36s219ms 2s414ms 08 18 39s95ms 2s171ms 09 13 29s527ms 2s271ms 10 9 17s672ms 1s963ms 11 16 43s690ms 2s730ms 12 13 38s225ms 2s940ms 13 16 39s389ms 2s461ms 14 19 49s8ms 2s579ms 15 13 31s515ms 2s424ms 16 7 19s276ms 2s753ms 17 2 5s171ms 2s585ms 18 8 18s297ms 2s287ms 19 7 19s970ms 2s852ms 20 7 13s837ms 1s976ms 21 5 13s395ms 2s679ms 22 4 9s346ms 2s336ms 23 6 16s269ms 2s711ms Mar 13 00 11 28s511ms 2s591ms 01 5 10s973ms 2s194ms 05 5 11s222ms 2s244ms 06 29 1m6s 2s285ms 07 15 41s247ms 2s749ms 08 6 14s268ms 2s378ms 18 12 22s981ms 1s915ms Mar 14 08 1 1s47ms 1s47ms 15 1 1s282ms 1s282ms 16 11 21s618ms 1s965ms 23 1 3s69ms 3s69ms Mar 15 13 12 23s94ms 1s924ms [ User: pubeu - Total duration: 14m8s - Times executed: 339 ]
-
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 = '1405728') 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 = '1405728') 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-11 05:37:49 Duration: 4s637ms 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 = '1405728') 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 = '1405728') 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-12 07:52:06 Duration: 4s620ms 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 = '1405728') 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 = '1405728') 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-13 08:08:43 Duration: 4s545ms Bind query: yes
5 579 15m59s 1s244ms 2s431ms 1s657ms 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 #5
Day Hour Count Duration Avg duration Mar 09 23 4 5s123ms 1s280ms 00 6 10s680ms 1s780ms 03 5 9s57ms 1s811ms 04 7 11s391ms 1s627ms 05 11 19s162ms 1s742ms 06 8 12s551ms 1s568ms 07 4 6s357ms 1s589ms 08 6 10s768ms 1s794ms 09 8 11s557ms 1s444ms 10 7 11s938ms 1s705ms 11 8 13s928ms 1s741ms 12 6 10s605ms 1s767ms 13 7 11s427ms 1s632ms 14 6 9s478ms 1s579ms 15 6 9s483ms 1s580ms 16 2 3s130ms 1s565ms 17 4 7s454ms 1s863ms 18 3 5s9ms 1s669ms 19 4 6s929ms 1s732ms 20 4 6s286ms 1s571ms 21 4 6s287ms 1s571ms 22 5 9s368ms 1s873ms 23 6 9s481ms 1s580ms Mar 10 00 13 20s123ms 1s547ms 01 4 6s952ms 1s738ms 03 3 5s640ms 1s880ms 04 7 11s943ms 1s706ms 05 2 3s695ms 1s847ms 06 3 4s411ms 1s470ms 07 2 3s689ms 1s844ms 08 8 12s832ms 1s604ms 09 5 8s178ms 1s635ms 10 5 7s618ms 1s523ms 11 3 5s590ms 1s863ms 12 10 16s869ms 1s686ms 13 5 8s204ms 1s640ms 14 11 18s461ms 1s678ms 15 6 10s619ms 1s769ms 16 8 13s268ms 1s658ms 17 4 6s980ms 1s745ms 18 6 10s762ms 1s793ms 19 5 8s163ms 1s632ms 20 6 10s52ms 1s675ms 21 4 7s521ms 1s880ms 22 1 1s269ms 1s269ms 23 2 3s130ms 1s565ms Mar 11 01 3 5s645ms 1s881ms 02 8 12s269ms 1s533ms 03 5 9s506ms 1s901ms 04 4 6s838ms 1s709ms 05 7 10s970ms 1s567ms 06 5 8s201ms 1s640ms 07 14 22s279ms 1s591ms 08 10 17s26ms 1s702ms 09 2 3s742ms 1s871ms 10 9 13s901ms 1s544ms 11 7 11s316ms 1s616ms 12 7 12s540ms 1s791ms 13 6 9s520ms 1s586ms 14 11 17s681ms 1s607ms 15 2 3s163ms 1s581ms 16 9 13s938ms 1s548ms 17 8 13s148ms 1s643ms 18 5 6s995ms 1s399ms 19 10 17s485ms 1s748ms 20 12 19s572ms 1s631ms 21 11 17s889ms 1s626ms 22 2 3s188ms 1s594ms 23 6 11s255ms 1s875ms Mar 12 00 10 15s271ms 1s527ms 01 4 5s844ms 1s461ms 02 12 20s136ms 1s678ms 03 11 19s971ms 1s815ms 04 8 13s153ms 1s644ms 05 7 12s612ms 1s801ms 06 12 19s40ms 1s586ms 07 3 5s103ms 1s701ms 08 13 21s526ms 1s655ms 09 9 14s577ms 1s619ms 10 4 6s285ms 1s571ms 11 6 10s40ms 1s673ms 12 9 13s387ms 1s487ms 13 5 8s213ms 1s642ms 14 2 3s259ms 1s629ms 15 2 3s838ms 1s919ms 16 2 3s129ms 1s564ms 18 1 1s278ms 1s278ms 19 4 6s347ms 1s586ms 20 3 5s30ms 1s676ms 21 1 1s283ms 1s283ms 23 2 3s167ms 1s583ms Mar 13 00 4 5s711ms 1s427ms 01 3 5s724ms 1s908ms 05 1 1s277ms 1s277ms 06 10 17s136ms 1s713ms 07 6 11s722ms 1s953ms 08 4 6s946ms 1s736ms 18 1 1s853ms 1s853ms Mar 14 13 1 1s859ms 1s859ms 16 1 1s858ms 1s858ms Mar 15 13 1 1s862ms 1s862ms [ User: pubeu - Total duration: 3m48s - Times executed: 134 ]
-
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-13 01:40:07 Duration: 2s431ms 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-13 07:44:36 Duration: 2s106ms 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-12 05:20:53 Duration: 2s98ms Database: ctdprd51 User: pubeu Bind query: yes
6 473 21m34s 1s7ms 6s469ms 2s737ms 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 #6
Day Hour Count Duration Avg duration Mar 09 23 4 7s828ms 1s957ms 00 2 8s454ms 4s227ms 03 5 13s384ms 2s676ms 05 2 8s192ms 4s96ms 07 3 7s357ms 2s452ms 08 1 2s122ms 2s122ms 09 6 15s780ms 2s630ms 10 8 22s703ms 2s837ms 11 3 7s643ms 2s547ms 12 1 5s783ms 5s783ms 13 6 16s823ms 2s803ms 14 5 15s121ms 3s24ms 15 3 7s791ms 2s597ms 16 1 2s178ms 2s178ms 17 10 24s641ms 2s464ms 18 4 9s480ms 2s370ms 19 4 9s712ms 2s428ms 20 3 7s351ms 2s450ms 21 5 12s108ms 2s421ms 22 2 4s817ms 2s408ms 23 6 16s785ms 2s797ms Mar 10 00 1 2s82ms 2s82ms 01 3 8s407ms 2s802ms 02 3 7s290ms 2s430ms 03 2 4s271ms 2s135ms 04 6 18s64ms 3s10ms 05 6 12s357ms 2s59ms 06 3 7s829ms 2s609ms 07 5 19s309ms 3s861ms 08 5 11s277ms 2s255ms 09 4 9s491ms 2s372ms 10 3 10s63ms 3s354ms 11 4 13s96ms 3s274ms 12 6 17s79ms 2s846ms 13 3 6s378ms 2s126ms 14 4 9s667ms 2s416ms 15 6 21s356ms 3s559ms 16 5 10s658ms 2s131ms 17 7 15s479ms 2s211ms 18 4 13s58ms 3s264ms 19 6 15s13ms 2s502ms 20 6 21s788ms 3s631ms 21 2 4s880ms 2s440ms 22 3 7s171ms 2s390ms 23 1 2s122ms 2s122ms Mar 11 02 4 9s309ms 2s327ms 03 5 13s538ms 2s707ms 04 9 19s745ms 2s193ms 05 3 7s536ms 2s512ms 06 6 15s927ms 2s654ms 07 8 19s394ms 2s424ms 08 5 13s975ms 2s795ms 09 5 14s305ms 2s861ms 10 6 20s205ms 3s367ms 11 6 14s673ms 2s445ms 12 1 2s292ms 2s292ms 13 6 21s193ms 3s532ms 14 3 6s40ms 2s13ms 15 4 11s808ms 2s952ms 16 9 27s209ms 3s23ms 17 9 20s44ms 2s227ms 18 9 24s314ms 2s701ms 19 6 23s89ms 3s848ms 20 6 16s866ms 2s811ms 21 6 18s655ms 3s109ms 22 10 24s621ms 2s462ms 23 7 22s383ms 3s197ms Mar 12 00 5 13s374ms 2s674ms 01 8 20s621ms 2s577ms 02 8 20s701ms 2s587ms 03 6 20s661ms 3s443ms 04 10 27s231ms 2s723ms 05 9 32s245ms 3s582ms 06 7 22s796ms 3s256ms 07 3 7s102ms 2s367ms 08 7 16s601ms 2s371ms 09 3 11s435ms 3s811ms 10 6 13s391ms 2s231ms 11 3 6s296ms 2s98ms 12 6 13s240ms 2s206ms 13 12 28s708ms 2s392ms 14 4 9s679ms 2s419ms 15 9 23s663ms 2s629ms 16 1 2s129ms 2s129ms 17 4 13s145ms 3s286ms 18 1 1s45ms 1s45ms 19 2 4s237ms 2s118ms 20 4 9s157ms 2s289ms 21 2 9s640ms 4s820ms 22 3 7s360ms 2s453ms 23 2 9s179ms 4s589ms Mar 13 00 6 13s910ms 2s318ms 01 3 8s684ms 2s894ms 05 3 9s757ms 3s252ms 06 4 8s834ms 2s208ms 07 10 28s885ms 2s888ms 08 1 2s741ms 2s741ms 21 1 1s29ms 1s29ms 23 2 6s844ms 3s422ms Mar 14 20 1 5s704ms 5s704ms Mar 15 01 1 1s82ms 1s82ms 14 1 2s95ms 2s95ms [ User: pubeu - Total duration: 5m39s - Times executed: 128 ]
-
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-10 07:32:58 Duration: 6s469ms 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-10 18:33:03 Duration: 6s259ms 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-11 16:47:08 Duration: 6s255ms Database: ctdprd51 User: pubeu Bind query: yes
7 403 53m25s 1s16ms 35s467ms 7s955ms 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 #7
Day Hour Count Duration Avg duration Mar 09 23 2 10s935ms 5s467ms 00 6 57s659ms 9s609ms 04 4 40s184ms 10s46ms 05 6 2m3s 20s661ms 06 5 32s527ms 6s505ms 07 5 1m7s 13s543ms 08 2 35s353ms 17s676ms 09 2 8s951ms 4s475ms 10 6 37s216ms 6s202ms 11 1 32s139ms 32s139ms 12 3 14s250ms 4s750ms 13 5 52s667ms 10s533ms 14 3 6s616ms 2s205ms 15 8 42s634ms 5s329ms 16 5 12s988ms 2s597ms 17 5 13s198ms 2s639ms 18 4 38s175ms 9s543ms 19 2 10s946ms 5s473ms 20 5 44s210ms 8s842ms 21 1 2s75ms 2s75ms 22 3 36s401ms 12s133ms 23 4 1m40s 25s138ms Mar 10 00 4 46s731ms 11s682ms 01 3 18s145ms 6s48ms 02 3 8s931ms 2s977ms 03 4 16s966ms 4s241ms 04 2 35s266ms 17s633ms 05 5 34s803ms 6s960ms 06 3 11s817ms 3s939ms 07 5 49s469ms 9s893ms 08 2 33s975ms 16s987ms 09 4 52s16ms 13s4ms 10 3 9s74ms 3s24ms 11 8 1m 7s601ms 12 5 41s182ms 8s236ms 13 3 15s980ms 5s326ms 14 3 8s876ms 2s958ms 15 5 12s55ms 2s411ms 16 5 13s802ms 2s760ms 17 4 15s310ms 3s827ms 18 5 6s134ms 1s226ms 19 5 45s255ms 9s51ms 20 3 5s348ms 1s782ms 21 1 3s175ms 3s175ms 22 2 10s736ms 5s368ms 23 1 3s537ms 3s537ms Mar 11 01 1 1s422ms 1s422ms 02 7 59s221ms 8s460ms 03 3 37s134ms 12s378ms 04 4 16s135ms 4s33ms 05 7 48s363ms 6s909ms 06 4 38s167ms 9s541ms 07 8 1m32s 11s540ms 08 7 17s581ms 2s511ms 09 6 32s52ms 5s342ms 10 1 9s162ms 9s162ms 11 7 16s759ms 2s394ms 12 10 1m7s 6s755ms 13 3 35s534ms 11s844ms 14 4 33s896ms 8s474ms 15 5 43s460ms 8s692ms 16 5 1m13s 14s730ms 17 5 9s231ms 1s846ms 18 1 1s39ms 1s39ms 19 9 1m53s 12s558ms 20 5 21s78ms 4s215ms 21 4 21s788ms 5s447ms 22 11 1m26s 7s830ms 23 3 45s85ms 15s28ms Mar 12 00 3 40s174ms 13s391ms 01 11 2m31s 13s754ms 02 3 4s547ms 1s515ms 03 6 16s554ms 2s759ms 04 4 43s832ms 10s958ms 05 3 23s3ms 7s667ms 06 6 42s262ms 7s43ms 07 6 16s638ms 2s773ms 08 4 8s407ms 2s101ms 09 3 27s813ms 9s271ms 10 4 8s309ms 2s77ms 11 5 40s435ms 8s87ms 12 4 29s685ms 7s421ms 13 4 1m27s 21s855ms 14 3 53s479ms 17s826ms 15 6 56s539ms 9s423ms 16 3 36s29ms 12s9ms 17 3 16s713ms 5s571ms 18 3 39s131ms 13s43ms 19 1 1s593ms 1s593ms 21 3 14s689ms 4s896ms 23 4 6s792ms 1s698ms Mar 13 00 3 8s139ms 2s713ms 05 2 23s583ms 11s791ms 06 6 40s644ms 6s774ms 07 4 1m6s 16s567ms 08 1 1s344ms 1s344ms [ User: pubeu - Total duration: 12m32s - Times executed: 104 ]
-
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-09 13:58:28 Duration: 35s467ms 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-13 07:25:14 Duration: 35s276ms 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-12 01:10:18 Duration: 34s719ms Bind query: yes
8 385 9h13m32s 1s469ms 18m42s 1m26s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Mar 09 23 1 4m46s 4m46s 00 2 5m15s 2m37s 03 2 4s176ms 2s88ms 04 3 5s321ms 1s773ms 05 2 4s361ms 2s180ms 06 1 5m12s 5m12s 07 1 1s815ms 1s815ms 08 2 4m9s 2m4s 09 4 4m45s 1m11s 10 7 15s147ms 2s163ms 11 2 3s672ms 1s836ms 12 2 4m26s 2m13s 13 5 3m26s 41s288ms 14 4 4m15s 1m3s 15 3 5s971ms 1s990ms 16 1 3s386ms 3s386ms 17 3 9m45s 3m15s 18 3 5s628ms 1s876ms 19 3 5m9s 1m43s 20 1 3s433ms 3s433ms 21 8 1m51s 13s933ms 22 3 5s804ms 1s934ms 23 4 8m10s 2m2s Mar 10 00 2 2m8s 1m4s 01 3 12m30s 4m10s 02 1 5m9s 5m9s 03 4 3m17s 49s251ms 04 8 15m33s 1m56s 05 4 4m52s 1m13s 06 4 3m15s 48s996ms 07 3 11m44s 3m54s 08 6 16s14ms 2s669ms 09 3 5s660ms 1s886ms 10 2 18m44s 9m22s 11 4 6s621ms 1s655ms 12 3 7s218ms 2s406ms 13 4 6m44s 1m41s 14 1 2s409ms 2s409ms 15 4 20m5s 5m1s 16 3 7s574ms 2s524ms 17 4 12m47s 3m11s 18 5 3m41s 44s349ms 19 3 2m18s 46s307ms 20 4 8s408ms 2s102ms 21 5 3m20s 40s32ms 22 1 2s3ms 2s3ms 23 1 3m31s 3m31s Mar 11 01 2 7m9s 3m34s 02 8 5m37s 42s174ms 03 3 4s782ms 1s594ms 04 3 6m47s 2m15s 05 6 10m30s 1m45s 06 4 7s769ms 1s942ms 07 5 10m9s 2m1s 08 2 4m42s 2m21s 09 6 8m21s 1m23s 10 2 4m17s 2m8s 11 7 4m59s 42s779ms 12 4 4m29s 1m7s 13 6 17m30s 2m55s 14 5 9m9s 1m49s 15 4 12s178ms 3s44ms 16 7 1m55s 16s542ms 17 6 13m51s 2m18s 18 7 14m44s 2m6s 19 3 8m36s 2m52s 20 8 22m24s 2m48s 21 12 6m17s 31s488ms 22 7 23m53s 3m24s 23 2 3m34s 1m47s Mar 12 00 5 5m20s 1m4s 01 8 17m23s 2m10s 02 5 22m56s 4m35s 03 9 4m27s 29s737ms 04 2 5s316ms 2s658ms 05 2 3m48s 1m54s 06 7 26m24s 3m46s 07 4 3m36s 54s169ms 08 3 9s456ms 3s152ms 09 3 6s554ms 2s184ms 10 6 11s766ms 1s961ms 11 5 8m45s 1m45s 12 6 8m11s 1m21s 13 7 15m28s 2m12s 14 4 3m3s 45s838ms 15 3 7s375ms 2s458ms 17 1 1s782ms 1s782ms 19 2 5s170ms 2s585ms 20 2 4s236ms 2s118ms 22 4 1m58s 29s745ms 23 1 2s27ms 2s27ms Mar 13 00 5 6m39s 1m19s 05 2 4m47s 2m23s 06 12 25m17s 2m6s 07 7 11m56s 1m42s 08 2 5s933ms 2s966ms [ User: pubeu - Total duration: 2h15m43s - Times executed: 91 ]
-
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-10 10:49:26 Duration: 18m42s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1252233') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-03-10 15:24:03 Duration: 18m6s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1252233') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-03-13 06:09:04 Duration: 17m54s Bind query: yes
9 384 9m3s 1s252ms 3s222ms 1s414ms 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 #9
Day Hour Count Duration Avg duration Mar 09 23 2 3s118ms 1s559ms 00 2 2s613ms 1s306ms 03 1 1s458ms 1s458ms 04 1 1s486ms 1s486ms 05 2 2s980ms 1s490ms 06 1 1s500ms 1s500ms 07 1 1s435ms 1s435ms 08 1 1s393ms 1s393ms 09 1 1s504ms 1s504ms 10 4 5s634ms 1s408ms 11 1 1s389ms 1s389ms 12 2 2s755ms 1s377ms 13 4 5s711ms 1s427ms 15 3 4s140ms 1s380ms 16 1 1s409ms 1s409ms 17 2 2s878ms 1s439ms 18 4 5s473ms 1s368ms 19 1 1s363ms 1s363ms 20 1 1s409ms 1s409ms 21 3 4s170ms 1s390ms 22 2 2s766ms 1s383ms Mar 10 00 1 1s390ms 1s390ms 01 4 5s510ms 1s377ms 02 2 2s767ms 1s383ms 03 1 1s510ms 1s510ms 04 1 1s410ms 1s410ms 05 3 4s315ms 1s438ms 06 3 4s118ms 1s372ms 07 2 2s806ms 1s403ms 09 3 4s429ms 1s476ms 10 3 4s237ms 1s412ms 11 2 2s930ms 1s465ms 12 2 2s853ms 1s426ms 14 4 5s491ms 1s372ms 15 5 6s704ms 1s340ms 16 2 2s758ms 1s379ms 17 6 8s222ms 1s370ms 18 2 2s923ms 1s461ms 19 3 4s222ms 1s407ms 20 4 5s432ms 1s358ms 21 3 4s227ms 1s409ms 22 4 5s474ms 1s368ms 23 7 9s680ms 1s382ms Mar 11 00 6 8s382ms 1s397ms 01 2 2s855ms 1s427ms 02 2 2s719ms 1s359ms 03 6 8s16ms 1s336ms 04 13 18s522ms 1s424ms 05 16 22s383ms 1s398ms 06 4 5s438ms 1s359ms 08 3 3s994ms 1s331ms 09 5 7s66ms 1s413ms 10 2 2s867ms 1s433ms 11 4 5s811ms 1s452ms 12 3 4s55ms 1s351ms 13 2 2s820ms 1s410ms 14 3 4s74ms 1s358ms 15 8 10s963ms 1s370ms 16 3 4s229ms 1s409ms 18 2 2s781ms 1s390ms 19 2 2s815ms 1s407ms 20 3 4s114ms 1s371ms 21 2 2s953ms 1s476ms 22 1 1s381ms 1s381ms 23 1 1s386ms 1s386ms Mar 12 01 2 2s997ms 1s498ms 02 1 1s338ms 1s338ms 03 2 2s736ms 1s368ms 04 5 6s989ms 1s397ms 05 4 6s113ms 1s528ms 06 1 1s450ms 1s450ms 07 1 1s351ms 1s351ms 09 3 4s258ms 1s419ms 11 2 2s733ms 1s366ms 12 2 2s886ms 1s443ms 13 2 2s921ms 1s460ms 14 1 1s349ms 1s349ms 15 2 2s832ms 1s416ms 19 4 5s558ms 1s389ms 20 1 1s388ms 1s388ms 21 1 1s447ms 1s447ms 22 16 25s99ms 1s568ms 23 8 11s130ms 1s391ms Mar 13 00 23 33s66ms 1s437ms 01 2 2s794ms 1s397ms 05 2 3s184ms 1s592ms 06 4 6s315ms 1s578ms 07 2 4s617ms 2s308ms 08 4 5s674ms 1s418ms 09 3 4s106ms 1s368ms 10 1 1s433ms 1s433ms 11 1 1s375ms 1s375ms 13 1 1s447ms 1s447ms 14 1 1s403ms 1s403ms 15 1 1s390ms 1s390ms 18 1 1s395ms 1s395ms 19 4 5s915ms 1s478ms 20 1 1s375ms 1s375ms Mar 14 00 4 5s512ms 1s378ms 02 2 2s749ms 1s374ms 03 2 2s761ms 1s380ms 04 1 1s280ms 1s280ms 05 3 4s486ms 1s495ms 07 1 1s462ms 1s462ms 08 1 1s395ms 1s395ms 11 1 1s401ms 1s401ms 12 3 4s72ms 1s357ms 13 1 1s410ms 1s410ms 14 1 1s265ms 1s265ms 15 1 1s377ms 1s377ms 18 4 5s139ms 1s284ms 19 1 1s357ms 1s357ms 20 1 1s252ms 1s252ms 21 1 1s295ms 1s295ms 22 5 6s818ms 1s363ms Mar 15 01 4 5s446ms 1s361ms 03 1 1s479ms 1s479ms 04 1 1s299ms 1s299ms 05 2 3s27ms 1s513ms 06 1 1s398ms 1s398ms 07 1 1s313ms 1s313ms 08 2 2s828ms 1s414ms 10 1 1s356ms 1s356ms 11 1 1s283ms 1s283ms 12 2 2s783ms 1s391ms 14 1 1s392ms 1s392ms 15 4 5s521ms 1s380ms 16 2 2s676ms 1s338ms 17 5 6s841ms 1s368ms 18 3 3s931ms 1s310ms 19 2 3s93ms 1s546ms 20 5 7s336ms 1s467ms 22 2 2s742ms 1s371ms 23 2 2s775ms 1s387ms [ User: pubeu - Total duration: 2m18s - Times executed: 96 ]
[ User: qaeu - Total duration: 7s400ms - Times executed: 5 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1225940') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1225940') 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-12 22:01:35 Duration: 3s222ms 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 = '1228424') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1228424') 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-13 07:53:51 Duration: 3s27ms 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 = '1223729') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1223729') 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-13 06:01:24 Duration: 2s52ms Database: ctdprd51 User: pubeu Bind query: yes
10 340 8m1s 1s273ms 2s728ms 1s416ms 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 09 23 1 1s445ms 1s445ms 00 1 1s383ms 1s383ms 05 4 5s856ms 1s464ms 06 3 4s187ms 1s395ms 07 3 4s243ms 1s414ms 09 2 2s953ms 1s476ms 11 2 2s938ms 1s469ms 12 2 2s759ms 1s379ms 13 6 8s178ms 1s363ms 14 1 1s357ms 1s357ms 15 1 1s407ms 1s407ms 16 3 4s114ms 1s371ms 17 1 1s396ms 1s396ms 18 2 2s754ms 1s377ms 20 3 4s339ms 1s446ms 22 1 1s313ms 1s313ms 23 4 5s607ms 1s401ms Mar 10 00 3 4s76ms 1s358ms 02 3 4s51ms 1s350ms 03 1 1s490ms 1s490ms 05 4 5s865ms 1s466ms 06 6 8s373ms 1s395ms 07 3 4s486ms 1s495ms 09 2 2s849ms 1s424ms 10 4 5s515ms 1s378ms 11 1 1s444ms 1s444ms 12 1 1s364ms 1s364ms 13 1 1s361ms 1s361ms 15 5 6s952ms 1s390ms 17 1 1s406ms 1s406ms 19 5 6s996ms 1s399ms 20 6 8s136ms 1s356ms 21 4 5s594ms 1s398ms 22 2 2s779ms 1s389ms 23 2 2s817ms 1s408ms Mar 11 00 4 5s541ms 1s385ms 01 3 4s8ms 1s336ms 02 4 5s534ms 1s383ms 03 2 2s816ms 1s408ms 04 26 36s542ms 1s405ms 05 12 17s832ms 1s486ms 06 2 2s694ms 1s347ms 07 1 1s431ms 1s431ms 08 1 1s385ms 1s385ms 09 6 8s501ms 1s416ms 10 2 2s911ms 1s455ms 11 5 7s360ms 1s472ms 12 2 2s814ms 1s407ms 13 2 2s818ms 1s409ms 14 2 2s821ms 1s410ms 15 2 2s779ms 1s389ms 16 1 1s435ms 1s435ms 17 2 2s807ms 1s403ms 18 1 1s534ms 1s534ms 19 4 5s715ms 1s428ms 20 1 1s311ms 1s311ms 21 2 2s743ms 1s371ms 22 2 2s959ms 1s479ms 23 2 2s863ms 1s431ms Mar 12 01 4 5s641ms 1s410ms 02 3 4s243ms 1s414ms 03 4 5s578ms 1s394ms 04 3 4s262ms 1s420ms 05 4 6s239ms 1s559ms 07 1 1s400ms 1s400ms 08 1 1s330ms 1s330ms 10 4 5s859ms 1s464ms 11 2 2s954ms 1s477ms 12 1 1s452ms 1s452ms 13 2 2s824ms 1s412ms 14 1 1s402ms 1s402ms 15 3 4s5ms 1s335ms 17 1 1s516ms 1s516ms 18 2 2s747ms 1s373ms 19 1 1s381ms 1s381ms 20 3 4s289ms 1s429ms 21 1 1s450ms 1s450ms 22 15 21s711ms 1s447ms 23 10 13s952ms 1s395ms Mar 13 00 25 35s589ms 1s423ms 01 1 1s359ms 1s359ms 05 3 4s315ms 1s438ms 06 1 1s471ms 1s471ms 07 2 4s291ms 2s145ms 08 2 2s916ms 1s458ms 09 1 1s407ms 1s407ms 10 1 1s425ms 1s425ms 13 3 4s55ms 1s351ms 22 1 1s547ms 1s547ms Mar 14 01 2 2s644ms 1s322ms 02 3 4s22ms 1s340ms 05 2 3s24ms 1s512ms 07 1 1s395ms 1s395ms 11 1 1s421ms 1s421ms 12 1 1s398ms 1s398ms 13 2 2s638ms 1s319ms 14 1 1s318ms 1s318ms 15 1 1s303ms 1s303ms 19 2 2s764ms 1s382ms 20 1 1s337ms 1s337ms 21 1 1s293ms 1s293ms 22 2 2s825ms 1s412ms Mar 15 02 1 1s351ms 1s351ms 03 2 2s760ms 1s380ms 04 2 2s933ms 1s466ms 05 2 3s56ms 1s528ms 06 1 1s308ms 1s308ms 07 1 1s309ms 1s309ms 08 2 2s965ms 1s482ms 10 3 4s164ms 1s388ms 12 1 1s454ms 1s454ms 14 3 4s59ms 1s353ms 15 3 4s83ms 1s361ms 16 1 1s393ms 1s393ms 17 1 1s384ms 1s384ms 21 3 4s263ms 1s421ms 22 1 1s451ms 1s451ms 23 2 2s699ms 1s349ms [ User: pubeu - Total duration: 2m6s - Times executed: 89 ]
-
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 = '2090328') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2090328') 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-13 07:53:57 Duration: 2s728ms 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 = '2089646') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2089646') 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-11 05:09:40 Duration: 2s77ms 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 = '2094689') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2094689') 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-12 05:21:23 Duration: 1s798ms Database: ctdprd51 User: pubeu Bind query: yes
11 332 31m18s 1s 18s239ms 5s658ms 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 09 23 2 10s154ms 5s77ms 00 1 4s576ms 4s576ms 03 4 9s682ms 2s420ms 04 1 2s604ms 2s604ms 05 3 6s814ms 2s271ms 06 4 18s553ms 4s638ms 07 3 13s652ms 4s550ms 08 2 9s863ms 4s931ms 09 4 27s576ms 6s894ms 10 7 25s305ms 3s615ms 11 4 49s886ms 12s471ms 12 7 21s982ms 3s140ms 13 4 37s282ms 9s320ms 14 3 34s746ms 11s582ms 15 3 23s679ms 7s893ms 16 1 1s107ms 1s107ms 17 2 4s232ms 2s116ms 18 2 17s762ms 8s881ms 19 2 7s81ms 3s540ms 20 3 14s807ms 4s935ms 21 4 10s324ms 2s581ms 22 2 3s40ms 1s520ms 23 4 32s550ms 8s137ms Mar 10 00 2 8s265ms 4s132ms 01 5 10s59ms 2s11ms 02 4 33s164ms 8s291ms 03 7 52s339ms 7s477ms 04 2 20s971ms 10s485ms 05 2 17s685ms 8s842ms 06 5 21s547ms 4s309ms 07 1 3s456ms 3s456ms 08 2 5s600ms 2s800ms 09 6 44s538ms 7s423ms 10 3 22s369ms 7s456ms 11 3 9s33ms 3s11ms 12 6 29s75ms 4s845ms 14 2 18s181ms 9s90ms 15 4 41s793ms 10s448ms 16 3 8s36ms 2s678ms 17 7 43s184ms 6s169ms 18 4 10s205ms 2s551ms 19 3 14s271ms 4s757ms 20 3 10s667ms 3s555ms 21 4 23s778ms 5s944ms 22 1 16s842ms 16s842ms 23 1 5s608ms 5s608ms Mar 11 01 6 35s307ms 5s884ms 02 2 15s594ms 7s797ms 03 4 6s444ms 1s611ms 04 5 21s285ms 4s257ms 05 3 3s526ms 1s175ms 06 4 28s837ms 7s209ms 07 5 55s927ms 11s185ms 08 3 28s947ms 9s649ms 09 5 20s829ms 4s165ms 10 1 2s318ms 2s318ms 11 5 44s405ms 8s881ms 12 2 4s30ms 2s15ms 13 5 29s234ms 5s846ms 14 5 39s525ms 7s905ms 15 5 38s644ms 7s728ms 16 1 16s661ms 16s661ms 17 6 38s66ms 6s344ms 18 2 10s112ms 5s56ms 19 4 9s598ms 2s399ms 20 5 20s77ms 4s15ms 21 6 25s369ms 4s228ms 22 5 39s61ms 7s812ms 23 2 4s64ms 2s32ms Mar 12 00 8 1m6s 8s350ms 01 5 13s347ms 2s669ms 02 6 58s912ms 9s818ms 03 2 14s143ms 7s71ms 04 4 30s306ms 7s576ms 05 2 10s521ms 5s260ms 06 4 8s535ms 2s133ms 07 4 10s953ms 2s738ms 08 5 25s236ms 5s47ms 09 3 4s766ms 1s588ms 10 5 23s141ms 4s628ms 11 2 7s371ms 3s685ms 12 3 22s431ms 7s477ms 13 4 11s31ms 2s757ms 14 3 20s681ms 6s893ms 15 1 16s326ms 16s326ms 16 3 3s924ms 1s308ms 17 1 1s990ms 1s990ms 18 1 16s77ms 16s77ms 20 1 16s594ms 16s594ms 22 1 5s583ms 5s583ms Mar 13 00 2 4s55ms 2s27ms 01 3 26s72ms 8s690ms 05 4 26s758ms 6s689ms 06 7 11s771ms 1s681ms 07 3 19s717ms 6s572ms 08 2 5s655ms 2s827ms [ User: pubeu - Total duration: 6m33s - Times executed: 74 ]
-
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-09 09:32:16 Duration: 18s239ms 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-10 03:56:16 Duration: 18s32ms 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-12 00:04:29 Duration: 17s654ms Bind query: yes
12 288 19m40s 3s775ms 5s708ms 4s99ms 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 #12
Day Hour Count Duration Avg duration Mar 09 23 3 12s196ms 4s65ms 03 1 4s45ms 4s45ms 04 4 16s123ms 4s30ms 05 1 4s227ms 4s227ms 06 2 8s103ms 4s51ms 09 1 4s337ms 4s337ms 10 4 16s795ms 4s198ms 11 2 8s231ms 4s115ms 12 1 3s949ms 3s949ms 13 1 4s190ms 4s190ms 14 2 7s925ms 3s962ms 15 2 8s41ms 4s20ms 16 1 4s112ms 4s112ms 19 3 12s20ms 4s6ms 22 2 7s773ms 3s886ms 23 2 8s303ms 4s151ms Mar 10 00 2 8s123ms 4s61ms 01 1 4s476ms 4s476ms 02 6 24s106ms 4s17ms 03 6 23s706ms 3s951ms 04 1 4s468ms 4s468ms 05 4 15s671ms 3s917ms 06 6 23s893ms 3s982ms 07 1 3s962ms 3s962ms 08 5 19s855ms 3s971ms 09 1 4s420ms 4s420ms 10 3 12s508ms 4s169ms 11 1 3s888ms 3s888ms 12 1 4s5ms 4s5ms 13 1 4s107ms 4s107ms 15 2 8s454ms 4s227ms 16 8 31s476ms 3s934ms 17 2 8s175ms 4s87ms 19 1 4s192ms 4s192ms 22 3 12s421ms 4s140ms 23 1 4s28ms 4s28ms Mar 11 00 1 4s89ms 4s89ms 03 2 8s92ms 4s46ms 04 1 4s105ms 4s105ms 05 3 12s488ms 4s162ms 06 1 3s934ms 3s934ms 08 2 8s401ms 4s200ms 09 4 16s398ms 4s99ms 10 5 20s373ms 4s74ms 11 2 9s756ms 4s878ms 12 6 24s214ms 4s35ms 13 4 17s86ms 4s271ms 14 1 3s992ms 3s992ms 16 4 16s647ms 4s161ms 17 1 4s454ms 4s454ms 18 2 7s906ms 3s953ms 21 2 8s440ms 4s220ms 22 2 8s587ms 4s293ms 23 4 17s880ms 4s470ms Mar 12 00 2 8s410ms 4s205ms 01 2 7s799ms 3s899ms 02 3 12s667ms 4s222ms 03 1 4s140ms 4s140ms 04 6 24s66ms 4s11ms 05 1 3s953ms 3s953ms 06 5 21s242ms 4s248ms 08 2 8s294ms 4s147ms 09 5 20s412ms 4s82ms 11 3 12s912ms 4s304ms 12 4 16s387ms 4s96ms 13 3 12s393ms 4s131ms 14 2 9s96ms 4s548ms 16 2 8s446ms 4s223ms 17 1 3s844ms 3s844ms 18 1 3s867ms 3s867ms 21 3 12s174ms 4s58ms 22 4 16s388ms 4s97ms 23 3 12s150ms 4s50ms Mar 13 00 5 20s529ms 4s105ms 06 1 4s174ms 4s174ms 08 2 8s643ms 4s321ms 09 8 33s825ms 4s228ms 10 6 26s525ms 4s420ms 11 1 4s46ms 4s46ms 13 4 16s165ms 4s41ms 14 1 4s34ms 4s34ms 15 1 4s29ms 4s29ms 16 1 3s959ms 3s959ms 17 2 7s992ms 3s996ms 18 2 8s213ms 4s106ms 19 1 4s20ms 4s20ms 20 1 3s989ms 3s989ms 21 9 35s837ms 3s981ms 22 2 8s80ms 4s40ms Mar 14 00 1 3s996ms 3s996ms 02 1 3s984ms 3s984ms 03 2 8s237ms 4s118ms 05 2 8s23ms 4s11ms 06 1 4s218ms 4s218ms 07 1 4s273ms 4s273ms 08 1 4s111ms 4s111ms 09 5 19s947ms 3s989ms 10 1 4s419ms 4s419ms 12 3 12s248ms 4s82ms 14 2 8s81ms 4s40ms 16 3 12s19ms 4s6ms 17 1 3s895ms 3s895ms 19 2 7s777ms 3s888ms 20 1 4s103ms 4s103ms 21 1 4s178ms 4s178ms Mar 15 01 1 3s904ms 3s904ms 02 6 23s811ms 3s968ms 03 6 25s32ms 4s172ms 04 1 3s932ms 3s932ms 05 2 8s15ms 4s7ms 06 1 3s969ms 3s969ms 08 3 12s36ms 4s12ms 10 1 4s86ms 4s86ms 12 2 7s900ms 3s950ms 21 1 4s313ms 4s313ms 22 1 4s185ms 4s185ms [ User: pubeu - Total duration: 5m57s - Times executed: 86 ]
-
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 = '1350325') 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 = '1350325') 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-13 10:19:17 Duration: 5s708ms 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 = '1350325') 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 = '1350325') 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-11 11:37:23 Duration: 5s682ms 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 = '1350325') 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 = '1350325') 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-11 23:16:37 Duration: 5s603ms Bind query: yes
13 279 16m52s 1s7ms 12s978ms 3s628ms 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 #13
Day Hour Count Duration Avg duration Mar 09 23 1 6s611ms 6s611ms 00 1 1s437ms 1s437ms 04 3 12s396ms 4s132ms 05 1 5s376ms 5s376ms 06 2 4s147ms 2s73ms 08 2 6s634ms 3s317ms 10 4 6s453ms 1s613ms 11 4 17s60ms 4s265ms 12 3 8s669ms 2s889ms 13 1 4s944ms 4s944ms 14 3 15s474ms 5s158ms 15 4 20s514ms 5s128ms 16 3 17s882ms 5s960ms 17 1 1s339ms 1s339ms 18 1 1s13ms 1s13ms 19 7 37s805ms 5s400ms 20 1 1s280ms 1s280ms 21 1 5s49ms 5s49ms 22 5 18s782ms 3s756ms 23 1 2s500ms 2s500ms Mar 10 00 2 6s71ms 3s35ms 01 2 14s515ms 7s257ms 02 3 6s394ms 2s131ms 03 4 5s972ms 1s493ms 04 2 2s130ms 1s65ms 05 2 12s713ms 6s356ms 06 4 15s547ms 3s886ms 07 1 6s178ms 6s178ms 08 4 13s846ms 3s461ms 09 1 1s438ms 1s438ms 10 6 19s408ms 3s234ms 11 3 11s386ms 3s795ms 12 1 12s542ms 12s542ms 13 1 1s803ms 1s803ms 14 1 1s547ms 1s547ms 15 1 1s383ms 1s383ms 16 2 5s966ms 2s983ms 17 1 5s433ms 5s433ms 18 3 14s995ms 4s998ms 19 2 6s149ms 3s74ms 20 2 4s237ms 2s118ms 21 2 3s829ms 1s914ms 22 1 2s210ms 2s210ms 23 14 44s432ms 3s173ms Mar 11 00 1 1s255ms 1s255ms 01 8 27s662ms 3s457ms 02 2 4s706ms 2s353ms 03 5 10s669ms 2s133ms 04 1 5s365ms 5s365ms 05 2 5s261ms 2s630ms 06 1 10s617ms 10s617ms 07 4 17s694ms 4s423ms 08 3 10s869ms 3s623ms 09 2 13s279ms 6s639ms 10 1 1s753ms 1s753ms 11 2 11s534ms 5s767ms 13 2 4s161ms 2s80ms 14 4 13s389ms 3s347ms 15 1 1s263ms 1s263ms 16 3 16s965ms 5s655ms 17 2 14s177ms 7s88ms 18 4 25s54ms 6s263ms 19 2 3s544ms 1s772ms 20 4 15s153ms 3s788ms 21 3 5s582ms 1s860ms 22 1 3s156ms 3s156ms 23 3 11s132ms 3s710ms Mar 12 00 5 14s13ms 2s802ms 01 4 22s321ms 5s580ms 02 2 14s15ms 7s7ms 03 4 17s308ms 4s327ms 04 1 5s775ms 5s775ms 05 1 2s452ms 2s452ms 06 8 21s882ms 2s735ms 07 5 24s196ms 4s839ms 08 4 18s475ms 4s618ms 09 1 4s892ms 4s892ms 10 2 5s602ms 2s801ms 11 2 3s354ms 1s677ms 12 6 25s809ms 4s301ms 13 2 8s882ms 4s441ms 14 2 3s630ms 1s815ms 15 1 6s488ms 6s488ms 17 2 5s86ms 2s543ms 20 1 11s421ms 11s421ms 21 1 10s460ms 10s460ms 23 1 1s608ms 1s608ms Mar 13 00 1 1s258ms 1s258ms 01 1 1s820ms 1s820ms 05 2 7s705ms 3s852ms 06 3 9s689ms 3s229ms 07 4 8s71ms 2s17ms 08 1 6s682ms 6s682ms 10 3 7s824ms 2s608ms 11 1 1s996ms 1s996ms 13 1 1s197ms 1s197ms 14 1 1s178ms 1s178ms 17 1 3s879ms 3s879ms 19 1 2s518ms 2s518ms Mar 14 03 2 2s577ms 1s288ms 09 2 2s158ms 1s79ms 11 4 8s379ms 2s94ms 14 2 11s804ms 5s902ms 15 4 10s749ms 2s687ms 17 1 2s505ms 2s505ms 19 1 1s89ms 1s89ms 20 3 7s553ms 2s517ms Mar 15 06 2 4s384ms 2s192ms 07 1 2s482ms 2s482ms 08 1 1s173ms 1s173ms 09 1 1s650ms 1s650ms 10 1 5s652ms 5s652ms 11 1 5s302ms 5s302ms 12 1 10s479ms 10s479ms 15 1 2s148ms 2s148ms 16 1 1s7ms 1s7ms [ User: pubeu - Total duration: 4m7s - Times executed: 74 ]
-
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-10 01:10:53 Duration: 12s978ms 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-11 16:21:02 Duration: 12s817ms 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-12 01:40:17 Duration: 12s768ms Database: ctdprd51 User: pubeu Bind query: yes
14 279 11m18s 1s3ms 3s918ms 2s433ms 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 #14
Day Hour Count Duration Avg duration Mar 09 23 2 4s597ms 2s298ms 00 1 2s37ms 2s37ms 03 2 4s435ms 2s217ms 04 3 7s172ms 2s390ms 05 9 22s107ms 2s456ms 08 3 7s724ms 2s574ms 09 1 3s317ms 3s317ms 10 5 12s60ms 2s412ms 11 3 7s466ms 2s488ms 12 4 10s402ms 2s600ms 13 3 8s520ms 2s840ms 15 1 2s232ms 2s232ms 16 1 2s160ms 2s160ms 17 1 1s887ms 1s887ms 18 1 3s456ms 3s456ms 19 3 8s944ms 2s981ms 20 1 1s931ms 1s931ms 21 6 14s857ms 2s476ms 22 2 4s678ms 2s339ms 23 2 5s632ms 2s816ms Mar 10 00 2 5s240ms 2s620ms 01 2 4s420ms 2s210ms 02 1 2s90ms 2s90ms 03 4 8s894ms 2s223ms 04 3 7s31ms 2s343ms 05 5 11s496ms 2s299ms 06 1 1s955ms 1s955ms 07 3 7s976ms 2s658ms 08 3 7s286ms 2s428ms 10 5 10s425ms 2s85ms 11 2 5s98ms 2s549ms 13 3 7s745ms 2s581ms 14 4 8s519ms 2s129ms 15 4 8s933ms 2s233ms 16 1 1s971ms 1s971ms 17 1 2s643ms 2s643ms 18 1 1s960ms 1s960ms 19 2 3s852ms 1s926ms 20 5 12s354ms 2s470ms 21 2 4s353ms 2s176ms 22 2 3s953ms 1s976ms 23 1 2s332ms 2s332ms Mar 11 01 3 7s725ms 2s575ms 02 2 3s871ms 1s935ms 03 4 9s898ms 2s474ms 04 4 10s579ms 2s644ms 05 4 9s65ms 2s266ms 06 2 3s997ms 1s998ms 07 3 5s966ms 1s988ms 08 3 8s354ms 2s784ms 09 4 10s416ms 2s604ms 10 5 11s884ms 2s376ms 11 5 12s534ms 2s506ms 12 6 14s803ms 2s467ms 13 2 4s488ms 2s244ms 14 4 11s947ms 2s986ms 15 5 12s369ms 2s473ms 16 1 3s359ms 3s359ms 17 2 3s995ms 1s997ms 18 2 5s924ms 2s962ms 19 3 7s865ms 2s621ms 20 3 6s587ms 2s195ms 21 7 17s346ms 2s478ms 22 4 10s379ms 2s594ms 23 3 8s148ms 2s716ms Mar 12 00 1 2s568ms 2s568ms 02 2 4s845ms 2s422ms 04 3 7s394ms 2s464ms 05 6 13s151ms 2s191ms 06 2 4s729ms 2s364ms 07 2 5s209ms 2s604ms 08 2 6s124ms 3s62ms 09 3 7s880ms 2s626ms 10 4 10s253ms 2s563ms 11 4 9s199ms 2s299ms 12 1 2s893ms 2s893ms 13 6 17s150ms 2s858ms 14 4 8s668ms 2s167ms 15 1 1s952ms 1s952ms 18 2 4s919ms 2s459ms 19 1 1s847ms 1s847ms 20 1 1s925ms 1s925ms 22 2 3s525ms 1s762ms Mar 13 00 4 10s706ms 2s676ms 02 1 3s812ms 3s812ms 05 5 11s169ms 2s233ms 06 5 12s175ms 2s435ms 07 6 14s680ms 2s446ms 08 3 7s878ms 2s626ms 12 5 9s944ms 1s988ms 16 1 2s858ms 2s858ms Mar 14 01 1 2s873ms 2s873ms 05 4 9s71ms 2s267ms 18 1 2s817ms 2s817ms Mar 15 05 4 9s1ms 2s250ms [ User: pubeu - Total duration: 3m18s - Times executed: 73 ]
[ User: qaeu - Total duration: 24s285ms - 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 = '658110' 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-11 11:09:41 Duration: 3s918ms 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 = '658110' 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-13 02:22:40 Duration: 3s812ms 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-13 05:35:24 Duration: 3s737ms Database: ctdprd51 User: pubeu Bind query: yes
15 257 18m2s 1s27ms 7s689ms 4s212ms select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Mar 09 23 2 7s901ms 3s950ms 00 1 1s81ms 1s81ms 03 2 2s153ms 1s76ms 04 2 7s185ms 3s592ms 05 2 10s532ms 5s266ms 06 3 13s233ms 4s411ms 07 1 5s229ms 5s229ms 09 3 13s51ms 4s350ms 10 2 6s374ms 3s187ms 11 3 17s678ms 5s892ms 13 3 3s193ms 1s64ms 14 2 6s395ms 3s197ms 15 1 5s343ms 5s343ms 17 2 11s559ms 5s779ms 18 1 6s74ms 6s74ms 19 3 8s114ms 2s704ms 20 3 12s398ms 4s132ms 21 1 1s52ms 1s52ms 22 1 5s498ms 5s498ms 23 1 1s92ms 1s92ms Mar 10 00 2 10s811ms 5s405ms 01 2 2s120ms 1s60ms 02 3 16s763ms 5s587ms 03 3 13s77ms 4s359ms 04 2 7s273ms 3s636ms 05 7 34s419ms 4s917ms 06 1 6s99ms 6s99ms 07 1 1s43ms 1s43ms 08 2 6s520ms 3s260ms 09 2 6s248ms 3s124ms 10 6 23s529ms 3s921ms 11 2 6s230ms 3s115ms 12 8 34s268ms 4s283ms 13 1 5s464ms 5s464ms 14 6 25s858ms 4s309ms 15 5 19s220ms 3s844ms 16 4 14s133ms 3s533ms 17 2 6s392ms 3s196ms 19 3 12s287ms 4s95ms 20 2 7s62ms 3s531ms 21 2 6s407ms 3s203ms 22 5 23s716ms 4s743ms 23 2 6s628ms 3s314ms Mar 11 04 3 13s399ms 4s466ms 05 7 35s503ms 5s71ms 06 2 11s908ms 5s954ms 07 2 2s285ms 1s142ms 08 2 7s45ms 3s522ms 09 3 13s235ms 4s411ms 10 1 5s528ms 5s528ms 11 3 12s134ms 4s44ms 12 3 12s107ms 4s35ms 14 1 5s430ms 5s430ms 16 3 12s440ms 4s146ms 17 1 1s58ms 1s58ms 19 1 5s724ms 5s724ms 21 1 5s768ms 5s768ms 23 1 5s581ms 5s581ms Mar 12 00 3 12s771ms 4s257ms 02 2 11s622ms 5s811ms 03 2 2s132ms 1s66ms 04 2 11s392ms 5s696ms 05 2 13s232ms 6s616ms 06 8 35s352ms 4s419ms 07 2 11s838ms 5s919ms 08 1 5s474ms 5s474ms 10 1 5s541ms 5s541ms 11 3 16s717ms 5s572ms 12 1 5s635ms 5s635ms 13 2 2s154ms 1s77ms 14 1 5s536ms 5s536ms 15 1 5s525ms 5s525ms 16 1 6s608ms 6s608ms 18 1 1s333ms 1s333ms 20 1 1s65ms 1s65ms 21 2 11s41ms 5s520ms 22 6 25s324ms 4s220ms 23 5 19s757ms 3s951ms Mar 13 00 4 18s557ms 4s639ms 01 3 18s533ms 6s177ms 05 1 5s709ms 5s709ms 06 2 2s242ms 1s121ms 07 2 6s667ms 3s333ms 08 1 5s318ms 5s318ms 09 2 6s715ms 3s357ms 14 1 5s854ms 5s854ms 18 6 33s254ms 5s542ms 19 2 10s563ms 5s281ms 20 1 5s574ms 5s574ms Mar 14 02 3 7s628ms 2s542ms 08 1 5s985ms 5s985ms 11 1 5s240ms 5s240ms 12 1 1s41ms 1s41ms 13 1 5s675ms 5s675ms 16 6 31s625ms 5s270ms 17 1 5s129ms 5s129ms 18 1 5s213ms 5s213ms 23 1 1s53ms 1s53ms Mar 15 03 3 11s426ms 3s808ms 06 1 1s103ms 1s103ms 09 3 12s329ms 4s109ms 10 1 5s103ms 5s103ms 13 7 33s827ms 4s832ms 14 1 5s527ms 5s527ms 15 1 1s123ms 1s123ms 16 1 5s520ms 5s520ms 17 2 6s713ms 3s356ms 19 2 6s942ms 3s471ms 21 1 5s542ms 5s542ms [ User: pubeu - Total duration: 4m15s - Times executed: 63 ]
-
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 = '1351593' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-03-12 05:25:26 Duration: 7s689ms 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 = '1296986' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-03-11 05:11:19 Duration: 6s882ms 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 = '1351513' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-03-09 00:18:49 Duration: 6s789ms Bind query: yes
16 165 25m11s 1s64ms 44s279ms 9s158ms 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 #16
Day Hour Count Duration Avg duration Mar 09 08 6 9s748ms 1s624ms 09 22 37s212ms 1s691ms 21 2 3s281ms 1s640ms Mar 10 03 4 6s146ms 1s536ms 05 1 1s388ms 1s388ms 12 9 10s695ms 1s188ms 13 1 3s727ms 3s727ms 21 1 16s769ms 16s769ms 23 3 20s140ms 6s713ms Mar 11 01 3 1m6s 22s164ms 02 5 6s266ms 1s253ms 03 5 5s528ms 1s105ms 04 1 1s112ms 1s112ms 05 1 1s771ms 1s771ms 11 2 3s109ms 1s554ms 17 1 4s541ms 4s541ms 19 2 7s840ms 3s920ms 20 1 7s473ms 7s473ms Mar 12 01 1 29s792ms 29s792ms 03 1 2s563ms 2s563ms 06 3 7s15ms 2s338ms 07 4 1m26s 21s711ms 08 4 55s735ms 13s933ms 11 1 1s529ms 1s529ms 12 1 1s940ms 1s940ms 18 1 16s782ms 16s782ms 21 1 1s257ms 1s257ms Mar 13 01 6 1m43s 17s273ms 06 1 2s101ms 2s101ms 07 20 8m22s 25s131ms 08 3 5s12ms 1s670ms 19 1 2s236ms 2s236ms 22 1 1s625ms 1s625ms Mar 14 03 10 30s132ms 3s13ms 04 3 7s687ms 2s562ms 09 1 1s514ms 1s514ms 10 2 2s234ms 1s117ms 11 1 43s532ms 43s532ms 14 5 1m48s 21s603ms 15 4 2m14s 33s735ms Mar 15 06 8 1m5s 8s170ms 07 6 44s775ms 7s462ms 08 4 29s455ms 7s363ms 09 2 9s541ms 4s770ms [ User: pubeu - Total duration: 11m57s - Times executed: 59 ]
-
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-11 01:27:13 Duration: 44s279ms 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-14 11:06:43 Duration: 43s532ms 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 = '2093394') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-03-13 07:54:23 Duration: 42s672ms Bind query: yes
17 130 2m59s 1s237ms 1s675ms 1s382ms 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 09 00 2 2s877ms 1s438ms 04 2 2s639ms 1s319ms 05 2 2s833ms 1s416ms 08 1 1s675ms 1s675ms 10 1 1s336ms 1s336ms 17 2 2s762ms 1s381ms 18 1 1s398ms 1s398ms Mar 10 04 1 1s380ms 1s380ms 05 7 9s743ms 1s391ms 06 1 1s378ms 1s378ms 07 1 1s365ms 1s365ms 09 1 1s365ms 1s365ms 10 5 6s897ms 1s379ms 23 1 1s386ms 1s386ms Mar 11 02 7 9s575ms 1s367ms 05 4 5s575ms 1s393ms 07 2 2s742ms 1s371ms 09 2 2s741ms 1s370ms 11 2 2s732ms 1s366ms 12 3 4s113ms 1s371ms 13 3 4s186ms 1s395ms 21 1 1s355ms 1s355ms 22 2 2s736ms 1s368ms Mar 12 00 1 1s354ms 1s354ms 05 3 4s333ms 1s444ms 07 1 1s459ms 1s459ms 11 1 1s386ms 1s386ms 14 4 5s644ms 1s411ms 16 1 1s343ms 1s343ms 23 1 1s413ms 1s413ms Mar 13 01 1 1s484ms 1s484ms 05 4 5s443ms 1s360ms 06 6 8s448ms 1s408ms 07 5 7s179ms 1s435ms 08 3 4s193ms 1s397ms 09 1 1s364ms 1s364ms 10 2 2s781ms 1s390ms 11 1 1s357ms 1s357ms 12 1 1s389ms 1s389ms 13 2 2s743ms 1s371ms 19 1 1s366ms 1s366ms 20 1 1s365ms 1s365ms 21 1 1s385ms 1s385ms 22 2 2s721ms 1s360ms 23 1 1s361ms 1s361ms Mar 14 05 5 7s29ms 1s405ms 06 1 1s405ms 1s405ms 11 1 1s328ms 1s328ms 13 1 1s406ms 1s406ms 14 2 2s697ms 1s348ms 17 6 8s161ms 1s360ms 18 4 5s231ms 1s307ms 19 2 2s602ms 1s301ms 22 1 1s279ms 1s279ms Mar 15 03 3 4s22ms 1s340ms 05 2 2s719ms 1s359ms 08 1 1s493ms 1s493ms 13 1 1s408ms 1s408ms 14 1 1s402ms 1s402ms 20 1 1s237ms 1s237ms [ User: pubeu - Total duration: 1m2s - Times executed: 45 ]
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2025-03-09 08:07:24 Duration: 1s675ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2025-03-13 07:46:18 Duration: 1s640ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2025-03-12 05:27:45 Duration: 1s635ms Database: ctdprd51 User: pubeu Bind query: yes
18 74 2m16s 1s182ms 3s873ms 1s850ms select distinct childterm.acc_txt from term childterm, term baseterm, dag_path dag where baseterm.id = ? and baseterm.id = dag.ancestor_object_id and childterm.id = dag.descendant_object_id union select acc_txt from term where id = ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Mar 09 03 1 2s51ms 2s51ms 07 1 1s182ms 1s182ms 09 1 3s448ms 3s448ms 10 2 2s547ms 1s273ms 11 3 5s868ms 1s956ms 19 1 1s978ms 1s978ms 23 1 1s799ms 1s799ms Mar 10 03 2 3s238ms 1s619ms 07 1 1s829ms 1s829ms 08 1 1s983ms 1s983ms 09 1 1s876ms 1s876ms 13 1 1s264ms 1s264ms 14 2 3s167ms 1s583ms 15 1 1s871ms 1s871ms 18 1 1s892ms 1s892ms 19 1 1s962ms 1s962ms 20 1 1s865ms 1s865ms 22 1 1s247ms 1s247ms Mar 11 02 2 3s753ms 1s876ms 03 2 3s778ms 1s889ms 07 1 1s810ms 1s810ms 08 1 1s192ms 1s192ms 09 4 7s129ms 1s782ms 10 1 1s884ms 1s884ms 12 3 5s787ms 1s929ms 13 1 1s894ms 1s894ms 16 2 3s727ms 1s863ms 18 1 2s81ms 2s81ms 19 1 1s876ms 1s876ms 20 1 1s938ms 1s938ms 22 3 5s88ms 1s696ms 23 3 7s758ms 2s586ms Mar 12 00 2 3s158ms 1s579ms 01 1 1s898ms 1s898ms 02 2 3s258ms 1s629ms 03 2 3s244ms 1s622ms 05 1 1s368ms 1s368ms 06 2 3s186ms 1s593ms 08 2 3s875ms 1s937ms 09 2 5s88ms 2s544ms 11 2 3s794ms 1s897ms 12 1 1s254ms 1s254ms 14 2 5s97ms 2s548ms 15 1 1s957ms 1s957ms 17 1 1s852ms 1s852ms 23 1 1s909ms 1s909ms Mar 13 06 2 3s276ms 1s638ms 08 1 1s923ms 1s923ms [ User: pubeu - Total duration: 4s350ms - Times executed: 3 ]
-
select distinct childTerm.acc_txt from term childTerm, term baseTerm, dag_path dag where baseTerm.id = '1228421' and baseTerm.id = dag.ancestor_object_id and childTerm.id = dag.descendant_object_id union select acc_txt from term where id = '1228421';
Date: 2025-03-11 23:06:56 Duration: 3s873ms Bind query: yes
-
select distinct childTerm.acc_txt from term childTerm, term baseTerm, dag_path dag where baseTerm.id = '1228421' and baseTerm.id = dag.ancestor_object_id and childTerm.id = dag.descendant_object_id union select acc_txt from term where id = '1228421';
Date: 2025-03-12 14:02:23 Duration: 3s766ms Bind query: yes
-
select distinct childTerm.acc_txt from term childTerm, term baseTerm, dag_path dag where baseTerm.id = '1228421' and baseTerm.id = dag.ancestor_object_id and childTerm.id = dag.descendant_object_id union select acc_txt from term where id = '1228421';
Date: 2025-03-09 09:50:17 Duration: 3s448ms Bind query: yes
19 61 46m34s 37s210ms 53s182ms 45s806ms select t.id, t.object_type_id, t.acc_txt, db.cd, t.nm, t.nm_sort, t.secondary_nm, t.description, t.note, l.nm from load.term t, load.term_label l, edit.db db where t.object_type_id = ? and t.id = l.term_id and t.acc_db_id = db.id;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 10 12 6 4m31s 45s213ms 13 2 1m31s 45s520ms 14 8 6m15s 46s971ms 15 4 2m58s 44s544ms 16 2 1m28s 44s497ms Mar 12 08 1 41s939ms 41s939ms 10 4 3m8s 47s225ms 11 3 2m2s 40s976ms 12 5 3m39s 43s878ms 13 3 2m12s 44s255ms 14 3 2m18s 46s153ms 16 1 44s391ms 44s391ms 17 2 1m24s 42s426ms Mar 13 09 1 46s73ms 46s73ms 10 5 3m54s 46s920ms 11 1 49s439ms 49s439ms 13 1 52s679ms 52s679ms 14 1 49s366ms 49s366ms 16 5 4m6s 49s346ms 17 3 2m16s 45s474ms [ User: load - Total duration: 46m34s - Times executed: 61 ]
-
select t.ID, t.OBJECT_TYPE_ID, t.ACC_TXT, db.CD, t.NM, t.NM_SORT, t.SECONDARY_NM, t.DESCRIPTION, t.NOTE, l.NM from load.TERM t, load.TERM_LABEL l, edit.DB db where t.object_type_id = 2 and t.id = l.term_id and t.acc_db_id = db.id;
Date: 2025-03-13 16:42:46 Duration: 53s182ms Database: ctdprd51 User: load Bind query: yes
-
select t.ID, t.OBJECT_TYPE_ID, t.ACC_TXT, db.CD, t.NM, t.NM_SORT, t.SECONDARY_NM, t.DESCRIPTION, t.NOTE, l.NM from load.TERM t, load.TERM_LABEL l, edit.DB db where t.object_type_id = 2 and t.id = l.term_id and t.acc_db_id = db.id;
Date: 2025-03-13 16:46:59 Duration: 53s98ms Database: ctdprd51 User: load Bind query: yes
-
select t.ID, t.OBJECT_TYPE_ID, t.ACC_TXT, db.CD, t.NM, t.NM_SORT, t.SECONDARY_NM, t.DESCRIPTION, t.NOTE, l.NM from load.TERM t, load.TERM_LABEL l, edit.DB db where t.object_type_id = 2 and t.id = l.term_id and t.acc_db_id = db.id;
Date: 2025-03-13 13:38:20 Duration: 52s679ms Database: ctdprd51 User: load Bind query: yes
20 58 1m4s 1s52ms 1s245ms 1s116ms 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 goterm, exp_outcome o1 where goterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and goterm.id = o1.phenotype_id and o1.id = e1.exp_outcome_id union select reference_id from exposure e1, term t, exp_receptor r where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and t.id = r.term_id and r.id = e1.exp_receptor_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 #20
Day Hour Count Duration Avg duration Mar 09 03 1 1s138ms 1s138ms 09 1 1s130ms 1s130ms 11 3 3s333ms 1s111ms 19 1 1s116ms 1s116ms 23 1 1s105ms 1s105ms Mar 10 03 1 1s159ms 1s159ms 07 1 1s89ms 1s89ms 08 1 1s85ms 1s85ms 09 2 2s172ms 1s86ms 13 1 1s144ms 1s144ms 14 1 1s164ms 1s164ms 15 1 1s100ms 1s100ms 18 1 1s73ms 1s73ms 19 1 1s117ms 1s117ms 20 1 1s112ms 1s112ms Mar 11 02 2 2s413ms 1s206ms 03 2 2s201ms 1s100ms 07 1 1s98ms 1s98ms 09 3 3s291ms 1s97ms 12 3 3s442ms 1s147ms 13 1 1s92ms 1s92ms 16 2 2s248ms 1s124ms 18 1 1s165ms 1s165ms 19 1 1s108ms 1s108ms 20 1 1s115ms 1s115ms 22 2 2s210ms 1s105ms 23 3 3s288ms 1s96ms Mar 12 00 1 1s52ms 1s52ms 01 1 1s116ms 1s116ms 02 1 1s121ms 1s121ms 03 1 1s112ms 1s112ms 06 1 1s74ms 1s74ms 08 2 2s239ms 1s119ms 09 2 2s201ms 1s100ms 10 1 1s116ms 1s116ms 11 2 2s203ms 1s101ms 14 1 1s119ms 1s119ms 15 1 1s141ms 1s141ms 17 1 1s113ms 1s113ms 23 1 1s124ms 1s124ms Mar 13 06 1 1s184ms 1s184ms 08 1 1s137ms 1s137ms [ User: pubeu - Total duration: 9s155ms - Times executed: 8 ]
-
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 goTerm, exp_outcome o1 where goTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1228421') and goTerm.id = o1.phenotype_id and o1.id = e1.exp_outcome_id UNION select reference_id from exposure e1, term t, exp_receptor r where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1228421') and t.id = r.term_id and r.id = e1.exp_receptor_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-11 02:56:21 Duration: 1s245ms 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 goTerm, exp_outcome o1 where goTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1228421') and goTerm.id = o1.phenotype_id and o1.id = e1.exp_outcome_id UNION select reference_id from exposure e1, term t, exp_receptor r where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1228421') and t.id = r.term_id and r.id = e1.exp_receptor_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-11 12:26:31 Duration: 1s193ms 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 goTerm, exp_outcome o1 where goTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1228421') and goTerm.id = o1.phenotype_id and o1.id = e1.exp_outcome_id UNION select reference_id from exposure e1, term t, exp_receptor r where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1228421') and t.id = r.term_id and r.id = e1.exp_receptor_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-13 06:35:08 Duration: 1s184ms Database: ctdprd51 User: pubeu Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 25m43s 26m6s 25m55s 7 3h1m28s select maint_query_logs_archive ();Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 09 23 1 25m55s 25m55s Mar 10 00 1 25m43s 25m43s Mar 11 00 1 25m45s 25m45s Mar 12 00 1 25m58s 25m58s Mar 13 00 1 26m3s 26m3s Mar 14 00 1 26m6s 26m6s Mar 15 00 1 25m55s 25m55s -
/* * 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-14 00:26:08 Duration: 26m6s
-
/* * 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-13 00:26:05 Duration: 26m3s
-
/* * 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-12 00:26:00 Duration: 25m58s
2 24m41s 24m41s 24m41s 1 24m41s 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 15 19 1 24m41s 24m41s -
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-15 19:45:40 Duration: 24m41s
3 24m24s 24m24s 24m24s 1 24m24s 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 15 19 1 24m24s 24m24s -
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-15 19:01:29 Duration: 24m24s
4 11m26s 11m26s 11m26s 1 11m26s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?)) and exists ( select ? from gene_chem_reference_axn gcra where gcr.id = gcra.gene_chem_reference_id and gcra.action_type_nm in ( select ac.nm from action_type ap, action_type ac where ac.subset_left_no between ap.subset_left_no and ap.subset_right_no and (ap.nm = ?))) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Mar 10 10 1 11m26s 11m26s -
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'TNF') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'AMINO ACIDS' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) AND exists ( SELECT 1 FROM gene_chem_reference_axn gcra WHERE gcr.id = gcra.gene_chem_reference_id AND gcra.action_type_nm IN ( SELECT ac.nm FROM action_type ap, action_type ac WHERE ac.subset_left_no BETWEEN ap.subset_left_no AND ap.subset_right_no AND (ap.nm = 'activity'))) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2025-03-10 10:31:11 Duration: 11m26s Bind query: yes
5 1s469ms 18m42s 1m26s 385 9h13m32s 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 09 23 1 4m46s 4m46s 00 2 5m15s 2m37s 03 2 4s176ms 2s88ms 04 3 5s321ms 1s773ms 05 2 4s361ms 2s180ms 06 1 5m12s 5m12s 07 1 1s815ms 1s815ms 08 2 4m9s 2m4s 09 4 4m45s 1m11s 10 7 15s147ms 2s163ms 11 2 3s672ms 1s836ms 12 2 4m26s 2m13s 13 5 3m26s 41s288ms 14 4 4m15s 1m3s 15 3 5s971ms 1s990ms 16 1 3s386ms 3s386ms 17 3 9m45s 3m15s 18 3 5s628ms 1s876ms 19 3 5m9s 1m43s 20 1 3s433ms 3s433ms 21 8 1m51s 13s933ms 22 3 5s804ms 1s934ms 23 4 8m10s 2m2s Mar 10 00 2 2m8s 1m4s 01 3 12m30s 4m10s 02 1 5m9s 5m9s 03 4 3m17s 49s251ms 04 8 15m33s 1m56s 05 4 4m52s 1m13s 06 4 3m15s 48s996ms 07 3 11m44s 3m54s 08 6 16s14ms 2s669ms 09 3 5s660ms 1s886ms 10 2 18m44s 9m22s 11 4 6s621ms 1s655ms 12 3 7s218ms 2s406ms 13 4 6m44s 1m41s 14 1 2s409ms 2s409ms 15 4 20m5s 5m1s 16 3 7s574ms 2s524ms 17 4 12m47s 3m11s 18 5 3m41s 44s349ms 19 3 2m18s 46s307ms 20 4 8s408ms 2s102ms 21 5 3m20s 40s32ms 22 1 2s3ms 2s3ms 23 1 3m31s 3m31s Mar 11 01 2 7m9s 3m34s 02 8 5m37s 42s174ms 03 3 4s782ms 1s594ms 04 3 6m47s 2m15s 05 6 10m30s 1m45s 06 4 7s769ms 1s942ms 07 5 10m9s 2m1s 08 2 4m42s 2m21s 09 6 8m21s 1m23s 10 2 4m17s 2m8s 11 7 4m59s 42s779ms 12 4 4m29s 1m7s 13 6 17m30s 2m55s 14 5 9m9s 1m49s 15 4 12s178ms 3s44ms 16 7 1m55s 16s542ms 17 6 13m51s 2m18s 18 7 14m44s 2m6s 19 3 8m36s 2m52s 20 8 22m24s 2m48s 21 12 6m17s 31s488ms 22 7 23m53s 3m24s 23 2 3m34s 1m47s Mar 12 00 5 5m20s 1m4s 01 8 17m23s 2m10s 02 5 22m56s 4m35s 03 9 4m27s 29s737ms 04 2 5s316ms 2s658ms 05 2 3m48s 1m54s 06 7 26m24s 3m46s 07 4 3m36s 54s169ms 08 3 9s456ms 3s152ms 09 3 6s554ms 2s184ms 10 6 11s766ms 1s961ms 11 5 8m45s 1m45s 12 6 8m11s 1m21s 13 7 15m28s 2m12s 14 4 3m3s 45s838ms 15 3 7s375ms 2s458ms 17 1 1s782ms 1s782ms 19 2 5s170ms 2s585ms 20 2 4s236ms 2s118ms 22 4 1m58s 29s745ms 23 1 2s27ms 2s27ms Mar 13 00 5 6m39s 1m19s 05 2 4m47s 2m23s 06 12 25m17s 2m6s 07 7 11m56s 1m42s 08 2 5s933ms 2s966ms [ User: pubeu - Total duration: 2h15m43s - Times executed: 91 ]
-
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-10 10:49:26 Duration: 18m42s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1252233') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-03-10 15:24:03 Duration: 18m6s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1252233') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-03-13 06:09:04 Duration: 17m54s Bind query: yes
6 51s571ms 52s947ms 52s191ms 25 21m44s 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 09 06 1 52s248ms 52s248ms 10 1 51s749ms 51s749ms 14 1 51s571ms 51s571ms 18 1 51s735ms 51s735ms Mar 10 06 1 51s774ms 51s774ms 10 1 52s54ms 52s54ms 14 1 51s753ms 51s753ms 18 1 51s918ms 51s918ms Mar 11 06 1 52s643ms 52s643ms 10 1 52s792ms 52s792ms 14 1 51s868ms 51s868ms 18 1 52s592ms 52s592ms Mar 12 06 1 52s533ms 52s533ms 10 1 52s403ms 52s403ms 14 1 52s261ms 52s261ms 18 1 52s29ms 52s29ms Mar 13 06 1 52s18ms 52s18ms 10 1 52s104ms 52s104ms 14 1 52s297ms 52s297ms 18 1 52s101ms 52s101ms Mar 14 06 1 52s494ms 52s494ms 10 1 52s276ms 52s276ms 14 1 52s398ms 52s398ms 18 1 52s947ms 52s947ms Mar 15 20 1 52s214ms 52s214ms [ User: postgres - Total duration: 20m52s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 20m52s - 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-14 18:05:54 Duration: 52s947ms 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-11 10:05:55 Duration: 52s792ms 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-11 06:05:54 Duration: 52s643ms Database: ctdprd51 User: postgres Application: pg_dump
7 37s210ms 53s182ms 45s806ms 61 46m34s select t.id, t.object_type_id, t.acc_txt, db.cd, t.nm, t.nm_sort, t.secondary_nm, t.description, t.note, l.nm from load.term t, load.term_label l, edit.db db where t.object_type_id = ? and t.id = l.term_id and t.acc_db_id = db.id;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 10 12 6 4m31s 45s213ms 13 2 1m31s 45s520ms 14 8 6m15s 46s971ms 15 4 2m58s 44s544ms 16 2 1m28s 44s497ms Mar 12 08 1 41s939ms 41s939ms 10 4 3m8s 47s225ms 11 3 2m2s 40s976ms 12 5 3m39s 43s878ms 13 3 2m12s 44s255ms 14 3 2m18s 46s153ms 16 1 44s391ms 44s391ms 17 2 1m24s 42s426ms Mar 13 09 1 46s73ms 46s73ms 10 5 3m54s 46s920ms 11 1 49s439ms 49s439ms 13 1 52s679ms 52s679ms 14 1 49s366ms 49s366ms 16 5 4m6s 49s346ms 17 3 2m16s 45s474ms [ User: load - Total duration: 46m34s - Times executed: 61 ]
-
select t.ID, t.OBJECT_TYPE_ID, t.ACC_TXT, db.CD, t.NM, t.NM_SORT, t.SECONDARY_NM, t.DESCRIPTION, t.NOTE, l.NM from load.TERM t, load.TERM_LABEL l, edit.DB db where t.object_type_id = 2 and t.id = l.term_id and t.acc_db_id = db.id;
Date: 2025-03-13 16:42:46 Duration: 53s182ms Database: ctdprd51 User: load Bind query: yes
-
select t.ID, t.OBJECT_TYPE_ID, t.ACC_TXT, db.CD, t.NM, t.NM_SORT, t.SECONDARY_NM, t.DESCRIPTION, t.NOTE, l.NM from load.TERM t, load.TERM_LABEL l, edit.DB db where t.object_type_id = 2 and t.id = l.term_id and t.acc_db_id = db.id;
Date: 2025-03-13 16:46:59 Duration: 53s98ms Database: ctdprd51 User: load Bind query: yes
-
select t.ID, t.OBJECT_TYPE_ID, t.ACC_TXT, db.CD, t.NM, t.NM_SORT, t.SECONDARY_NM, t.DESCRIPTION, t.NOTE, l.NM from load.TERM t, load.TERM_LABEL l, edit.DB db where t.object_type_id = 2 and t.id = l.term_id and t.acc_db_id = db.id;
Date: 2025-03-13 13:38:20 Duration: 52s679ms Database: ctdprd51 User: load Bind query: yes
8 1s64ms 44s279ms 9s158ms 165 25m11s 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 09 08 6 9s748ms 1s624ms 09 22 37s212ms 1s691ms 21 2 3s281ms 1s640ms Mar 10 03 4 6s146ms 1s536ms 05 1 1s388ms 1s388ms 12 9 10s695ms 1s188ms 13 1 3s727ms 3s727ms 21 1 16s769ms 16s769ms 23 3 20s140ms 6s713ms Mar 11 01 3 1m6s 22s164ms 02 5 6s266ms 1s253ms 03 5 5s528ms 1s105ms 04 1 1s112ms 1s112ms 05 1 1s771ms 1s771ms 11 2 3s109ms 1s554ms 17 1 4s541ms 4s541ms 19 2 7s840ms 3s920ms 20 1 7s473ms 7s473ms Mar 12 01 1 29s792ms 29s792ms 03 1 2s563ms 2s563ms 06 3 7s15ms 2s338ms 07 4 1m26s 21s711ms 08 4 55s735ms 13s933ms 11 1 1s529ms 1s529ms 12 1 1s940ms 1s940ms 18 1 16s782ms 16s782ms 21 1 1s257ms 1s257ms Mar 13 01 6 1m43s 17s273ms 06 1 2s101ms 2s101ms 07 20 8m22s 25s131ms 08 3 5s12ms 1s670ms 19 1 2s236ms 2s236ms 22 1 1s625ms 1s625ms Mar 14 03 10 30s132ms 3s13ms 04 3 7s687ms 2s562ms 09 1 1s514ms 1s514ms 10 2 2s234ms 1s117ms 11 1 43s532ms 43s532ms 14 5 1m48s 21s603ms 15 4 2m14s 33s735ms Mar 15 06 8 1m5s 8s170ms 07 6 44s775ms 7s462ms 08 4 29s455ms 7s363ms 09 2 9s541ms 4s770ms [ User: pubeu - Total duration: 11m57s - Times executed: 59 ]
-
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-11 01:27:13 Duration: 44s279ms 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-14 11:06:43 Duration: 43s532ms 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 = '2093394') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-03-13 07:54:23 Duration: 42s672ms Bind query: yes
9 1s16ms 35s467ms 7s955ms 403 53m25s 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 09 23 2 10s935ms 5s467ms 00 6 57s659ms 9s609ms 04 4 40s184ms 10s46ms 05 6 2m3s 20s661ms 06 5 32s527ms 6s505ms 07 5 1m7s 13s543ms 08 2 35s353ms 17s676ms 09 2 8s951ms 4s475ms 10 6 37s216ms 6s202ms 11 1 32s139ms 32s139ms 12 3 14s250ms 4s750ms 13 5 52s667ms 10s533ms 14 3 6s616ms 2s205ms 15 8 42s634ms 5s329ms 16 5 12s988ms 2s597ms 17 5 13s198ms 2s639ms 18 4 38s175ms 9s543ms 19 2 10s946ms 5s473ms 20 5 44s210ms 8s842ms 21 1 2s75ms 2s75ms 22 3 36s401ms 12s133ms 23 4 1m40s 25s138ms Mar 10 00 4 46s731ms 11s682ms 01 3 18s145ms 6s48ms 02 3 8s931ms 2s977ms 03 4 16s966ms 4s241ms 04 2 35s266ms 17s633ms 05 5 34s803ms 6s960ms 06 3 11s817ms 3s939ms 07 5 49s469ms 9s893ms 08 2 33s975ms 16s987ms 09 4 52s16ms 13s4ms 10 3 9s74ms 3s24ms 11 8 1m 7s601ms 12 5 41s182ms 8s236ms 13 3 15s980ms 5s326ms 14 3 8s876ms 2s958ms 15 5 12s55ms 2s411ms 16 5 13s802ms 2s760ms 17 4 15s310ms 3s827ms 18 5 6s134ms 1s226ms 19 5 45s255ms 9s51ms 20 3 5s348ms 1s782ms 21 1 3s175ms 3s175ms 22 2 10s736ms 5s368ms 23 1 3s537ms 3s537ms Mar 11 01 1 1s422ms 1s422ms 02 7 59s221ms 8s460ms 03 3 37s134ms 12s378ms 04 4 16s135ms 4s33ms 05 7 48s363ms 6s909ms 06 4 38s167ms 9s541ms 07 8 1m32s 11s540ms 08 7 17s581ms 2s511ms 09 6 32s52ms 5s342ms 10 1 9s162ms 9s162ms 11 7 16s759ms 2s394ms 12 10 1m7s 6s755ms 13 3 35s534ms 11s844ms 14 4 33s896ms 8s474ms 15 5 43s460ms 8s692ms 16 5 1m13s 14s730ms 17 5 9s231ms 1s846ms 18 1 1s39ms 1s39ms 19 9 1m53s 12s558ms 20 5 21s78ms 4s215ms 21 4 21s788ms 5s447ms 22 11 1m26s 7s830ms 23 3 45s85ms 15s28ms Mar 12 00 3 40s174ms 13s391ms 01 11 2m31s 13s754ms 02 3 4s547ms 1s515ms 03 6 16s554ms 2s759ms 04 4 43s832ms 10s958ms 05 3 23s3ms 7s667ms 06 6 42s262ms 7s43ms 07 6 16s638ms 2s773ms 08 4 8s407ms 2s101ms 09 3 27s813ms 9s271ms 10 4 8s309ms 2s77ms 11 5 40s435ms 8s87ms 12 4 29s685ms 7s421ms 13 4 1m27s 21s855ms 14 3 53s479ms 17s826ms 15 6 56s539ms 9s423ms 16 3 36s29ms 12s9ms 17 3 16s713ms 5s571ms 18 3 39s131ms 13s43ms 19 1 1s593ms 1s593ms 21 3 14s689ms 4s896ms 23 4 6s792ms 1s698ms Mar 13 00 3 8s139ms 2s713ms 05 2 23s583ms 11s791ms 06 6 40s644ms 6s774ms 07 4 1m6s 16s567ms 08 1 1s344ms 1s344ms [ User: pubeu - Total duration: 12m32s - Times executed: 104 ]
-
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-09 13:58:28 Duration: 35s467ms 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-13 07:25:14 Duration: 35s276ms 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-12 01:10:18 Duration: 34s719ms Bind query: yes
10 1s 18s239ms 5s658ms 332 31m18s select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where phenotypeterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and associatedterm.object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 09 23 2 10s154ms 5s77ms 00 1 4s576ms 4s576ms 03 4 9s682ms 2s420ms 04 1 2s604ms 2s604ms 05 3 6s814ms 2s271ms 06 4 18s553ms 4s638ms 07 3 13s652ms 4s550ms 08 2 9s863ms 4s931ms 09 4 27s576ms 6s894ms 10 7 25s305ms 3s615ms 11 4 49s886ms 12s471ms 12 7 21s982ms 3s140ms 13 4 37s282ms 9s320ms 14 3 34s746ms 11s582ms 15 3 23s679ms 7s893ms 16 1 1s107ms 1s107ms 17 2 4s232ms 2s116ms 18 2 17s762ms 8s881ms 19 2 7s81ms 3s540ms 20 3 14s807ms 4s935ms 21 4 10s324ms 2s581ms 22 2 3s40ms 1s520ms 23 4 32s550ms 8s137ms Mar 10 00 2 8s265ms 4s132ms 01 5 10s59ms 2s11ms 02 4 33s164ms 8s291ms 03 7 52s339ms 7s477ms 04 2 20s971ms 10s485ms 05 2 17s685ms 8s842ms 06 5 21s547ms 4s309ms 07 1 3s456ms 3s456ms 08 2 5s600ms 2s800ms 09 6 44s538ms 7s423ms 10 3 22s369ms 7s456ms 11 3 9s33ms 3s11ms 12 6 29s75ms 4s845ms 14 2 18s181ms 9s90ms 15 4 41s793ms 10s448ms 16 3 8s36ms 2s678ms 17 7 43s184ms 6s169ms 18 4 10s205ms 2s551ms 19 3 14s271ms 4s757ms 20 3 10s667ms 3s555ms 21 4 23s778ms 5s944ms 22 1 16s842ms 16s842ms 23 1 5s608ms 5s608ms Mar 11 01 6 35s307ms 5s884ms 02 2 15s594ms 7s797ms 03 4 6s444ms 1s611ms 04 5 21s285ms 4s257ms 05 3 3s526ms 1s175ms 06 4 28s837ms 7s209ms 07 5 55s927ms 11s185ms 08 3 28s947ms 9s649ms 09 5 20s829ms 4s165ms 10 1 2s318ms 2s318ms 11 5 44s405ms 8s881ms 12 2 4s30ms 2s15ms 13 5 29s234ms 5s846ms 14 5 39s525ms 7s905ms 15 5 38s644ms 7s728ms 16 1 16s661ms 16s661ms 17 6 38s66ms 6s344ms 18 2 10s112ms 5s56ms 19 4 9s598ms 2s399ms 20 5 20s77ms 4s15ms 21 6 25s369ms 4s228ms 22 5 39s61ms 7s812ms 23 2 4s64ms 2s32ms Mar 12 00 8 1m6s 8s350ms 01 5 13s347ms 2s669ms 02 6 58s912ms 9s818ms 03 2 14s143ms 7s71ms 04 4 30s306ms 7s576ms 05 2 10s521ms 5s260ms 06 4 8s535ms 2s133ms 07 4 10s953ms 2s738ms 08 5 25s236ms 5s47ms 09 3 4s766ms 1s588ms 10 5 23s141ms 4s628ms 11 2 7s371ms 3s685ms 12 3 22s431ms 7s477ms 13 4 11s31ms 2s757ms 14 3 20s681ms 6s893ms 15 1 16s326ms 16s326ms 16 3 3s924ms 1s308ms 17 1 1s990ms 1s990ms 18 1 16s77ms 16s77ms 20 1 16s594ms 16s594ms 22 1 5s583ms 5s583ms Mar 13 00 2 4s55ms 2s27ms 01 3 26s72ms 8s690ms 05 4 26s758ms 6s689ms 06 7 11s771ms 1s681ms 07 3 19s717ms 6s572ms 08 2 5s655ms 2s827ms [ User: pubeu - Total duration: 6m33s - Times executed: 74 ]
-
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-09 09:32:16 Duration: 18s239ms 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-10 03:56:16 Duration: 18s32ms 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-12 00:04:29 Duration: 17s654ms Bind query: yes
11 1s27ms 7s689ms 4s212ms 257 18m2s 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 09 23 2 7s901ms 3s950ms 00 1 1s81ms 1s81ms 03 2 2s153ms 1s76ms 04 2 7s185ms 3s592ms 05 2 10s532ms 5s266ms 06 3 13s233ms 4s411ms 07 1 5s229ms 5s229ms 09 3 13s51ms 4s350ms 10 2 6s374ms 3s187ms 11 3 17s678ms 5s892ms 13 3 3s193ms 1s64ms 14 2 6s395ms 3s197ms 15 1 5s343ms 5s343ms 17 2 11s559ms 5s779ms 18 1 6s74ms 6s74ms 19 3 8s114ms 2s704ms 20 3 12s398ms 4s132ms 21 1 1s52ms 1s52ms 22 1 5s498ms 5s498ms 23 1 1s92ms 1s92ms Mar 10 00 2 10s811ms 5s405ms 01 2 2s120ms 1s60ms 02 3 16s763ms 5s587ms 03 3 13s77ms 4s359ms 04 2 7s273ms 3s636ms 05 7 34s419ms 4s917ms 06 1 6s99ms 6s99ms 07 1 1s43ms 1s43ms 08 2 6s520ms 3s260ms 09 2 6s248ms 3s124ms 10 6 23s529ms 3s921ms 11 2 6s230ms 3s115ms 12 8 34s268ms 4s283ms 13 1 5s464ms 5s464ms 14 6 25s858ms 4s309ms 15 5 19s220ms 3s844ms 16 4 14s133ms 3s533ms 17 2 6s392ms 3s196ms 19 3 12s287ms 4s95ms 20 2 7s62ms 3s531ms 21 2 6s407ms 3s203ms 22 5 23s716ms 4s743ms 23 2 6s628ms 3s314ms Mar 11 04 3 13s399ms 4s466ms 05 7 35s503ms 5s71ms 06 2 11s908ms 5s954ms 07 2 2s285ms 1s142ms 08 2 7s45ms 3s522ms 09 3 13s235ms 4s411ms 10 1 5s528ms 5s528ms 11 3 12s134ms 4s44ms 12 3 12s107ms 4s35ms 14 1 5s430ms 5s430ms 16 3 12s440ms 4s146ms 17 1 1s58ms 1s58ms 19 1 5s724ms 5s724ms 21 1 5s768ms 5s768ms 23 1 5s581ms 5s581ms Mar 12 00 3 12s771ms 4s257ms 02 2 11s622ms 5s811ms 03 2 2s132ms 1s66ms 04 2 11s392ms 5s696ms 05 2 13s232ms 6s616ms 06 8 35s352ms 4s419ms 07 2 11s838ms 5s919ms 08 1 5s474ms 5s474ms 10 1 5s541ms 5s541ms 11 3 16s717ms 5s572ms 12 1 5s635ms 5s635ms 13 2 2s154ms 1s77ms 14 1 5s536ms 5s536ms 15 1 5s525ms 5s525ms 16 1 6s608ms 6s608ms 18 1 1s333ms 1s333ms 20 1 1s65ms 1s65ms 21 2 11s41ms 5s520ms 22 6 25s324ms 4s220ms 23 5 19s757ms 3s951ms Mar 13 00 4 18s557ms 4s639ms 01 3 18s533ms 6s177ms 05 1 5s709ms 5s709ms 06 2 2s242ms 1s121ms 07 2 6s667ms 3s333ms 08 1 5s318ms 5s318ms 09 2 6s715ms 3s357ms 14 1 5s854ms 5s854ms 18 6 33s254ms 5s542ms 19 2 10s563ms 5s281ms 20 1 5s574ms 5s574ms Mar 14 02 3 7s628ms 2s542ms 08 1 5s985ms 5s985ms 11 1 5s240ms 5s240ms 12 1 1s41ms 1s41ms 13 1 5s675ms 5s675ms 16 6 31s625ms 5s270ms 17 1 5s129ms 5s129ms 18 1 5s213ms 5s213ms 23 1 1s53ms 1s53ms Mar 15 03 3 11s426ms 3s808ms 06 1 1s103ms 1s103ms 09 3 12s329ms 4s109ms 10 1 5s103ms 5s103ms 13 7 33s827ms 4s832ms 14 1 5s527ms 5s527ms 15 1 1s123ms 1s123ms 16 1 5s520ms 5s520ms 17 2 6s713ms 3s356ms 19 2 6s942ms 3s471ms 21 1 5s542ms 5s542ms [ User: pubeu - Total duration: 4m15s - Times executed: 63 ]
-
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 = '1351593' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-03-12 05:25:26 Duration: 7s689ms 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 = '1296986' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-03-11 05:11:19 Duration: 6s882ms 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 = '1351513' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-03-09 00:18:49 Duration: 6s789ms Bind query: yes
12 3s775ms 5s708ms 4s99ms 288 19m40s 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 #12
Day Hour Count Duration Avg duration Mar 09 23 3 12s196ms 4s65ms 03 1 4s45ms 4s45ms 04 4 16s123ms 4s30ms 05 1 4s227ms 4s227ms 06 2 8s103ms 4s51ms 09 1 4s337ms 4s337ms 10 4 16s795ms 4s198ms 11 2 8s231ms 4s115ms 12 1 3s949ms 3s949ms 13 1 4s190ms 4s190ms 14 2 7s925ms 3s962ms 15 2 8s41ms 4s20ms 16 1 4s112ms 4s112ms 19 3 12s20ms 4s6ms 22 2 7s773ms 3s886ms 23 2 8s303ms 4s151ms Mar 10 00 2 8s123ms 4s61ms 01 1 4s476ms 4s476ms 02 6 24s106ms 4s17ms 03 6 23s706ms 3s951ms 04 1 4s468ms 4s468ms 05 4 15s671ms 3s917ms 06 6 23s893ms 3s982ms 07 1 3s962ms 3s962ms 08 5 19s855ms 3s971ms 09 1 4s420ms 4s420ms 10 3 12s508ms 4s169ms 11 1 3s888ms 3s888ms 12 1 4s5ms 4s5ms 13 1 4s107ms 4s107ms 15 2 8s454ms 4s227ms 16 8 31s476ms 3s934ms 17 2 8s175ms 4s87ms 19 1 4s192ms 4s192ms 22 3 12s421ms 4s140ms 23 1 4s28ms 4s28ms Mar 11 00 1 4s89ms 4s89ms 03 2 8s92ms 4s46ms 04 1 4s105ms 4s105ms 05 3 12s488ms 4s162ms 06 1 3s934ms 3s934ms 08 2 8s401ms 4s200ms 09 4 16s398ms 4s99ms 10 5 20s373ms 4s74ms 11 2 9s756ms 4s878ms 12 6 24s214ms 4s35ms 13 4 17s86ms 4s271ms 14 1 3s992ms 3s992ms 16 4 16s647ms 4s161ms 17 1 4s454ms 4s454ms 18 2 7s906ms 3s953ms 21 2 8s440ms 4s220ms 22 2 8s587ms 4s293ms 23 4 17s880ms 4s470ms Mar 12 00 2 8s410ms 4s205ms 01 2 7s799ms 3s899ms 02 3 12s667ms 4s222ms 03 1 4s140ms 4s140ms 04 6 24s66ms 4s11ms 05 1 3s953ms 3s953ms 06 5 21s242ms 4s248ms 08 2 8s294ms 4s147ms 09 5 20s412ms 4s82ms 11 3 12s912ms 4s304ms 12 4 16s387ms 4s96ms 13 3 12s393ms 4s131ms 14 2 9s96ms 4s548ms 16 2 8s446ms 4s223ms 17 1 3s844ms 3s844ms 18 1 3s867ms 3s867ms 21 3 12s174ms 4s58ms 22 4 16s388ms 4s97ms 23 3 12s150ms 4s50ms Mar 13 00 5 20s529ms 4s105ms 06 1 4s174ms 4s174ms 08 2 8s643ms 4s321ms 09 8 33s825ms 4s228ms 10 6 26s525ms 4s420ms 11 1 4s46ms 4s46ms 13 4 16s165ms 4s41ms 14 1 4s34ms 4s34ms 15 1 4s29ms 4s29ms 16 1 3s959ms 3s959ms 17 2 7s992ms 3s996ms 18 2 8s213ms 4s106ms 19 1 4s20ms 4s20ms 20 1 3s989ms 3s989ms 21 9 35s837ms 3s981ms 22 2 8s80ms 4s40ms Mar 14 00 1 3s996ms 3s996ms 02 1 3s984ms 3s984ms 03 2 8s237ms 4s118ms 05 2 8s23ms 4s11ms 06 1 4s218ms 4s218ms 07 1 4s273ms 4s273ms 08 1 4s111ms 4s111ms 09 5 19s947ms 3s989ms 10 1 4s419ms 4s419ms 12 3 12s248ms 4s82ms 14 2 8s81ms 4s40ms 16 3 12s19ms 4s6ms 17 1 3s895ms 3s895ms 19 2 7s777ms 3s888ms 20 1 4s103ms 4s103ms 21 1 4s178ms 4s178ms Mar 15 01 1 3s904ms 3s904ms 02 6 23s811ms 3s968ms 03 6 25s32ms 4s172ms 04 1 3s932ms 3s932ms 05 2 8s15ms 4s7ms 06 1 3s969ms 3s969ms 08 3 12s36ms 4s12ms 10 1 4s86ms 4s86ms 12 2 7s900ms 3s950ms 21 1 4s313ms 4s313ms 22 1 4s185ms 4s185ms [ User: pubeu - Total duration: 5m57s - Times executed: 86 ]
-
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 = '1350325') 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 = '1350325') 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-13 10:19:17 Duration: 5s708ms 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 = '1350325') 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 = '1350325') 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-11 11:37:23 Duration: 5s682ms 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 = '1350325') 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 = '1350325') 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-11 23:16:37 Duration: 5s603ms Bind query: yes
13 1s7ms 12s978ms 3s628ms 279 16m52s 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 #13
Day Hour Count Duration Avg duration Mar 09 23 1 6s611ms 6s611ms 00 1 1s437ms 1s437ms 04 3 12s396ms 4s132ms 05 1 5s376ms 5s376ms 06 2 4s147ms 2s73ms 08 2 6s634ms 3s317ms 10 4 6s453ms 1s613ms 11 4 17s60ms 4s265ms 12 3 8s669ms 2s889ms 13 1 4s944ms 4s944ms 14 3 15s474ms 5s158ms 15 4 20s514ms 5s128ms 16 3 17s882ms 5s960ms 17 1 1s339ms 1s339ms 18 1 1s13ms 1s13ms 19 7 37s805ms 5s400ms 20 1 1s280ms 1s280ms 21 1 5s49ms 5s49ms 22 5 18s782ms 3s756ms 23 1 2s500ms 2s500ms Mar 10 00 2 6s71ms 3s35ms 01 2 14s515ms 7s257ms 02 3 6s394ms 2s131ms 03 4 5s972ms 1s493ms 04 2 2s130ms 1s65ms 05 2 12s713ms 6s356ms 06 4 15s547ms 3s886ms 07 1 6s178ms 6s178ms 08 4 13s846ms 3s461ms 09 1 1s438ms 1s438ms 10 6 19s408ms 3s234ms 11 3 11s386ms 3s795ms 12 1 12s542ms 12s542ms 13 1 1s803ms 1s803ms 14 1 1s547ms 1s547ms 15 1 1s383ms 1s383ms 16 2 5s966ms 2s983ms 17 1 5s433ms 5s433ms 18 3 14s995ms 4s998ms 19 2 6s149ms 3s74ms 20 2 4s237ms 2s118ms 21 2 3s829ms 1s914ms 22 1 2s210ms 2s210ms 23 14 44s432ms 3s173ms Mar 11 00 1 1s255ms 1s255ms 01 8 27s662ms 3s457ms 02 2 4s706ms 2s353ms 03 5 10s669ms 2s133ms 04 1 5s365ms 5s365ms 05 2 5s261ms 2s630ms 06 1 10s617ms 10s617ms 07 4 17s694ms 4s423ms 08 3 10s869ms 3s623ms 09 2 13s279ms 6s639ms 10 1 1s753ms 1s753ms 11 2 11s534ms 5s767ms 13 2 4s161ms 2s80ms 14 4 13s389ms 3s347ms 15 1 1s263ms 1s263ms 16 3 16s965ms 5s655ms 17 2 14s177ms 7s88ms 18 4 25s54ms 6s263ms 19 2 3s544ms 1s772ms 20 4 15s153ms 3s788ms 21 3 5s582ms 1s860ms 22 1 3s156ms 3s156ms 23 3 11s132ms 3s710ms Mar 12 00 5 14s13ms 2s802ms 01 4 22s321ms 5s580ms 02 2 14s15ms 7s7ms 03 4 17s308ms 4s327ms 04 1 5s775ms 5s775ms 05 1 2s452ms 2s452ms 06 8 21s882ms 2s735ms 07 5 24s196ms 4s839ms 08 4 18s475ms 4s618ms 09 1 4s892ms 4s892ms 10 2 5s602ms 2s801ms 11 2 3s354ms 1s677ms 12 6 25s809ms 4s301ms 13 2 8s882ms 4s441ms 14 2 3s630ms 1s815ms 15 1 6s488ms 6s488ms 17 2 5s86ms 2s543ms 20 1 11s421ms 11s421ms 21 1 10s460ms 10s460ms 23 1 1s608ms 1s608ms Mar 13 00 1 1s258ms 1s258ms 01 1 1s820ms 1s820ms 05 2 7s705ms 3s852ms 06 3 9s689ms 3s229ms 07 4 8s71ms 2s17ms 08 1 6s682ms 6s682ms 10 3 7s824ms 2s608ms 11 1 1s996ms 1s996ms 13 1 1s197ms 1s197ms 14 1 1s178ms 1s178ms 17 1 3s879ms 3s879ms 19 1 2s518ms 2s518ms Mar 14 03 2 2s577ms 1s288ms 09 2 2s158ms 1s79ms 11 4 8s379ms 2s94ms 14 2 11s804ms 5s902ms 15 4 10s749ms 2s687ms 17 1 2s505ms 2s505ms 19 1 1s89ms 1s89ms 20 3 7s553ms 2s517ms Mar 15 06 2 4s384ms 2s192ms 07 1 2s482ms 2s482ms 08 1 1s173ms 1s173ms 09 1 1s650ms 1s650ms 10 1 5s652ms 5s652ms 11 1 5s302ms 5s302ms 12 1 10s479ms 10s479ms 15 1 2s148ms 2s148ms 16 1 1s7ms 1s7ms [ User: pubeu - Total duration: 4m7s - Times executed: 74 ]
-
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-10 01:10:53 Duration: 12s978ms 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-11 16:21:02 Duration: 12s817ms 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-12 01:40:17 Duration: 12s768ms Database: ctdprd51 User: pubeu Bind query: yes
14 1s6ms 7s570ms 3s142ms 1,579 1h22m41s select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where associatedterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Mar 09 23 17 59s219ms 3s483ms 00 15 55s521ms 3s701ms 03 18 58s669ms 3s259ms 04 13 29s895ms 2s299ms 05 21 1m6s 3s170ms 06 17 50s784ms 2s987ms 07 16 45s125ms 2s820ms 08 9 36s479ms 4s53ms 09 13 46s506ms 3s577ms 10 15 42s353ms 2s823ms 11 7 22s670ms 3s238ms 12 19 48s942ms 2s575ms 13 14 52s2ms 3s714ms 14 14 51s687ms 3s691ms 15 14 48s270ms 3s447ms 16 14 56s89ms 4s6ms 17 19 1m6s 3s521ms 18 19 54s944ms 2s891ms 19 17 46s886ms 2s758ms 20 16 53s300ms 3s331ms 21 15 41s922ms 2s794ms 22 17 55s718ms 3s277ms 23 17 46s496ms 2s735ms Mar 10 00 11 31s52ms 2s822ms 01 30 1m55s 3s838ms 02 13 40s886ms 3s145ms 03 13 43s122ms 3s317ms 04 10 31s902ms 3s190ms 05 16 48s736ms 3s46ms 06 11 36s945ms 3s358ms 07 10 31s13ms 3s101ms 08 16 43s841ms 2s740ms 09 11 34s882ms 3s171ms 10 12 39s780ms 3s315ms 11 9 22s821ms 2s535ms 12 18 54s967ms 3s53ms 13 14 36s157ms 2s582ms 14 19 45s826ms 2s411ms 15 19 1m5s 3s425ms 16 16 46s843ms 2s927ms 17 17 1m9s 4s114ms 18 10 29s615ms 2s961ms 19 14 53s714ms 3s836ms 20 16 1m6s 4s167ms 21 15 38s624ms 2s574ms 22 9 37s993ms 4s221ms 23 3 6s58ms 2s19ms Mar 11 01 5 12s440ms 2s488ms 02 19 50s812ms 2s674ms 03 13 26s519ms 2s39ms 04 13 33s36ms 2s541ms 05 14 42s822ms 3s58ms 06 29 1m37s 3s356ms 07 19 58s400ms 3s73ms 08 30 1m40s 3s334ms 09 19 59s6ms 3s105ms 10 17 51s464ms 3s27ms 11 18 46s938ms 2s607ms 12 20 1m3s 3s158ms 13 24 1m22s 3s436ms 14 16 51s682ms 3s230ms 15 25 1m4s 2s591ms 16 18 57s832ms 3s212ms 17 11 31s23ms 2s820ms 18 26 1m22s 3s183ms 19 20 1m1s 3s52ms 20 14 42s575ms 3s41ms 21 15 55s629ms 3s708ms 22 20 1m1s 3s60ms 23 25 1m25s 3s405ms Mar 12 00 22 1m22s 3s766ms 01 23 1m4s 2s795ms 02 15 48s22ms 3s201ms 03 15 45s629ms 3s41ms 04 19 54s727ms 2s880ms 05 22 1m12s 3s315ms 06 27 1m9s 2s572ms 07 25 1m21s 3s264ms 08 15 40s76ms 2s671ms 09 12 43s135ms 3s594ms 10 23 1m4s 2s800ms 11 15 50s634ms 3s375ms 12 22 1m2s 2s830ms 13 17 47s821ms 2s813ms 14 16 1m1s 3s847ms 15 16 47s292ms 2s955ms 16 6 19s270ms 3s211ms 17 4 12s996ms 3s249ms 18 5 18s556ms 3s711ms 19 10 27s951ms 2s795ms 20 7 19s349ms 2s764ms 21 6 21s313ms 3s552ms 22 11 36s35ms 3s275ms 23 4 10s580ms 2s645ms Mar 13 00 11 38s620ms 3s510ms 01 9 26s40ms 2s893ms 05 10 32s326ms 3s232ms 06 27 1m26s 3s204ms 07 18 51s298ms 2s849ms 08 9 34s178ms 3s797ms 10 2 5s437ms 2s718ms 11 2 7s679ms 3s839ms 18 4 13s453ms 3s363ms Mar 14 04 1 3s361ms 3s361ms 14 1 2s927ms 2s927ms 16 4 13s105ms 3s276ms Mar 15 13 4 13s606ms 3s401ms 16 1 2s74ms 2s74ms 19 1 1s717ms 1s717ms [ User: pubeu - Total duration: 22m38s - Times executed: 426 ]
-
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-13 01:41:13 Duration: 7s570ms 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-10 03:32:57 Duration: 7s154ms 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-10 17:53:59 Duration: 6s999ms Bind query: yes
15 1s7ms 6s469ms 2s737ms 473 21m34s 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 #15
Day Hour Count Duration Avg duration Mar 09 23 4 7s828ms 1s957ms 00 2 8s454ms 4s227ms 03 5 13s384ms 2s676ms 05 2 8s192ms 4s96ms 07 3 7s357ms 2s452ms 08 1 2s122ms 2s122ms 09 6 15s780ms 2s630ms 10 8 22s703ms 2s837ms 11 3 7s643ms 2s547ms 12 1 5s783ms 5s783ms 13 6 16s823ms 2s803ms 14 5 15s121ms 3s24ms 15 3 7s791ms 2s597ms 16 1 2s178ms 2s178ms 17 10 24s641ms 2s464ms 18 4 9s480ms 2s370ms 19 4 9s712ms 2s428ms 20 3 7s351ms 2s450ms 21 5 12s108ms 2s421ms 22 2 4s817ms 2s408ms 23 6 16s785ms 2s797ms Mar 10 00 1 2s82ms 2s82ms 01 3 8s407ms 2s802ms 02 3 7s290ms 2s430ms 03 2 4s271ms 2s135ms 04 6 18s64ms 3s10ms 05 6 12s357ms 2s59ms 06 3 7s829ms 2s609ms 07 5 19s309ms 3s861ms 08 5 11s277ms 2s255ms 09 4 9s491ms 2s372ms 10 3 10s63ms 3s354ms 11 4 13s96ms 3s274ms 12 6 17s79ms 2s846ms 13 3 6s378ms 2s126ms 14 4 9s667ms 2s416ms 15 6 21s356ms 3s559ms 16 5 10s658ms 2s131ms 17 7 15s479ms 2s211ms 18 4 13s58ms 3s264ms 19 6 15s13ms 2s502ms 20 6 21s788ms 3s631ms 21 2 4s880ms 2s440ms 22 3 7s171ms 2s390ms 23 1 2s122ms 2s122ms Mar 11 02 4 9s309ms 2s327ms 03 5 13s538ms 2s707ms 04 9 19s745ms 2s193ms 05 3 7s536ms 2s512ms 06 6 15s927ms 2s654ms 07 8 19s394ms 2s424ms 08 5 13s975ms 2s795ms 09 5 14s305ms 2s861ms 10 6 20s205ms 3s367ms 11 6 14s673ms 2s445ms 12 1 2s292ms 2s292ms 13 6 21s193ms 3s532ms 14 3 6s40ms 2s13ms 15 4 11s808ms 2s952ms 16 9 27s209ms 3s23ms 17 9 20s44ms 2s227ms 18 9 24s314ms 2s701ms 19 6 23s89ms 3s848ms 20 6 16s866ms 2s811ms 21 6 18s655ms 3s109ms 22 10 24s621ms 2s462ms 23 7 22s383ms 3s197ms Mar 12 00 5 13s374ms 2s674ms 01 8 20s621ms 2s577ms 02 8 20s701ms 2s587ms 03 6 20s661ms 3s443ms 04 10 27s231ms 2s723ms 05 9 32s245ms 3s582ms 06 7 22s796ms 3s256ms 07 3 7s102ms 2s367ms 08 7 16s601ms 2s371ms 09 3 11s435ms 3s811ms 10 6 13s391ms 2s231ms 11 3 6s296ms 2s98ms 12 6 13s240ms 2s206ms 13 12 28s708ms 2s392ms 14 4 9s679ms 2s419ms 15 9 23s663ms 2s629ms 16 1 2s129ms 2s129ms 17 4 13s145ms 3s286ms 18 1 1s45ms 1s45ms 19 2 4s237ms 2s118ms 20 4 9s157ms 2s289ms 21 2 9s640ms 4s820ms 22 3 7s360ms 2s453ms 23 2 9s179ms 4s589ms Mar 13 00 6 13s910ms 2s318ms 01 3 8s684ms 2s894ms 05 3 9s757ms 3s252ms 06 4 8s834ms 2s208ms 07 10 28s885ms 2s888ms 08 1 2s741ms 2s741ms 21 1 1s29ms 1s29ms 23 2 6s844ms 3s422ms Mar 14 20 1 5s704ms 5s704ms Mar 15 01 1 1s82ms 1s82ms 14 1 2s95ms 2s95ms [ User: pubeu - Total duration: 5m39s - Times executed: 128 ]
-
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-10 07:32:58 Duration: 6s469ms 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-10 18:33:03 Duration: 6s259ms 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-11 16:47:08 Duration: 6s255ms Database: ctdprd51 User: pubeu Bind query: yes
16 1s 4s637ms 2s440ms 1,323 53m49s select e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, ( select string_agg(distinct stressorterm.nm || ? || ( select cd from object_type where id = stressorterm.object_type_id) || ? || stressorterm.nm_html || ? || stressorterm.acc_txt || ? || stressorterm.acc_db_cd, ?)) as stressoragents, ( select string_agg(distinct coalesce(receptorterm.nm, ?) || ? || coalesce(( select cd from object_type where id = receptorterm.object_type_id), ?) || ? || coalesce(receptorterm.nm_html, ?) || ? || coalesce(receptorterm.acc_txt, ?) || ? || coalesce(receptorterm.acc_db_cd, ?) || ? || receptor.description, ?)) as receptors, ( select string_agg(distinct country.nm, ?)) as studycountries, ( select string_agg(distinct location.locality_txt, ?)) as localities, ( select string_agg(distinct event.medium_nm || ? || coalesce(event.medium_term_acc_txt, ?), ?)) as assaymediums, ( select string_agg(distinct exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd, ?)) as assayedmarkers, ( select string_agg(distinct diseaseterm.nm || ? || ( select cd from object_type where id = diseaseterm.object_type_id) || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd, ?)) as diseases, ( select string_agg(distinct phenotypeterm.nm || ? || ( select cd from object_type where id = phenotypeterm.object_type_id) || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd, ?)) as phenotypes, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, re.author_summary summary, count(*) over () fullrowcount from exposure e inner join reference r on e.reference_id = r.id inner join exp_stressor stressor on e.exp_stressor_id = stressor.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join term receptorterm on receptor.term_id = receptorterm.id left outer join exp_event event on e.exp_event_id = event.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join exp_event_location location on e.exp_event_id = location.exp_event_id left outer join country on location.country_id = country.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id inner join reference_exp re on e.reference_id = re.reference_id left outer join exp_study_factor expstudyfactor on re.id = expstudyfactor.reference_exp_id where e.reference_id = any (array ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like ?) and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressoragents limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Mar 09 23 12 25s79ms 2s89ms 00 10 27s471ms 2s747ms 03 10 19s545ms 1s954ms 04 7 12s240ms 1s748ms 05 13 34s989ms 2s691ms 06 16 39s61ms 2s441ms 07 10 23s893ms 2s389ms 08 4 8s269ms 2s67ms 09 15 36s718ms 2s447ms 10 19 49s677ms 2s614ms 11 14 39s992ms 2s856ms 12 17 44s251ms 2s603ms 13 22 57s421ms 2s610ms 14 19 48s575ms 2s556ms 15 7 19s946ms 2s849ms 16 12 25s404ms 2s117ms 17 14 37s50ms 2s646ms 18 12 37s934ms 3s161ms 19 5 13s375ms 2s675ms 20 12 33s32ms 2s752ms 21 10 29s122ms 2s912ms 22 11 26s450ms 2s404ms 23 9 25s285ms 2s809ms Mar 10 00 11 21s980ms 1s998ms 01 15 35s64ms 2s337ms 02 11 26s969ms 2s451ms 03 12 22s785ms 1s898ms 04 12 32s841ms 2s736ms 05 11 22s959ms 2s87ms 06 15 42s601ms 2s840ms 07 12 20s239ms 1s686ms 08 5 12s309ms 2s461ms 09 9 25s177ms 2s797ms 10 8 18s978ms 2s372ms 11 8 18s800ms 2s350ms 12 23 47s641ms 2s71ms 13 8 17s555ms 2s194ms 14 15 40s639ms 2s709ms 15 13 29s749ms 2s288ms 16 15 29s785ms 1s985ms 17 23 58s597ms 2s547ms 18 19 45s548ms 2s397ms 19 15 41s95ms 2s739ms 20 18 46s717ms 2s595ms 21 14 30s990ms 2s213ms 22 11 27s975ms 2s543ms 23 5 13s571ms 2s714ms Mar 11 01 6 19s668ms 3s278ms 02 22 49s679ms 2s258ms 03 16 36s931ms 2s308ms 04 8 19s851ms 2s481ms 05 11 26s787ms 2s435ms 06 17 37s449ms 2s202ms 07 13 34s856ms 2s681ms 08 20 38s299ms 1s914ms 09 13 33s404ms 2s569ms 10 11 23s231ms 2s111ms 11 12 26s589ms 2s215ms 12 9 26s404ms 2s933ms 13 18 40s200ms 2s233ms 14 10 24s740ms 2s474ms 15 15 42s900ms 2s860ms 16 18 47s769ms 2s653ms 17 15 46s41ms 3s69ms 18 17 48s74ms 2s827ms 19 18 41s569ms 2s309ms 20 11 25s879ms 2s352ms 21 18 36s569ms 2s31ms 22 14 39s37ms 2s788ms 23 12 27s51ms 2s254ms Mar 12 00 12 29s300ms 2s441ms 01 24 58s998ms 2s458ms 02 14 36s823ms 2s630ms 03 17 41s254ms 2s426ms 04 14 32s274ms 2s305ms 05 12 33s924ms 2s827ms 06 31 1m12s 2s345ms 07 15 36s219ms 2s414ms 08 18 39s95ms 2s171ms 09 13 29s527ms 2s271ms 10 9 17s672ms 1s963ms 11 16 43s690ms 2s730ms 12 13 38s225ms 2s940ms 13 16 39s389ms 2s461ms 14 19 49s8ms 2s579ms 15 13 31s515ms 2s424ms 16 7 19s276ms 2s753ms 17 2 5s171ms 2s585ms 18 8 18s297ms 2s287ms 19 7 19s970ms 2s852ms 20 7 13s837ms 1s976ms 21 5 13s395ms 2s679ms 22 4 9s346ms 2s336ms 23 6 16s269ms 2s711ms Mar 13 00 11 28s511ms 2s591ms 01 5 10s973ms 2s194ms 05 5 11s222ms 2s244ms 06 29 1m6s 2s285ms 07 15 41s247ms 2s749ms 08 6 14s268ms 2s378ms 18 12 22s981ms 1s915ms Mar 14 08 1 1s47ms 1s47ms 15 1 1s282ms 1s282ms 16 11 21s618ms 1s965ms 23 1 3s69ms 3s69ms Mar 15 13 12 23s94ms 1s924ms [ User: pubeu - Total duration: 14m8s - Times executed: 339 ]
-
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 = '1405728') 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 = '1405728') 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-11 05:37:49 Duration: 4s637ms 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 = '1405728') 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 = '1405728') 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-12 07:52:06 Duration: 4s620ms 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 = '1405728') 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 = '1405728') 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-13 08:08:43 Duration: 4s545ms Bind query: yes
17 1s3ms 3s918ms 2s433ms 279 11m18s with recursive sub_node ( object_id, id, path, lvl ) as ( select n.object_id, n.id, array[n.nm_sort], ? from dag_node n where n.object_id = ? union all select n.object_id, n.id, cast(path || n.nm_sort as varchar(?)[]), sn.lvl + ? from dag_node n inner join sub_node sn on (n.parent_id = sn.id)) select distinct t.nm prinm, t.nm_html prinmhtml, t.secondary_nm secondarynm, t.acc_db_cd accdbcd, t.acc_txt termacc, t.is_leaf isleaf, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, t.has_genes hasgenes, sn.lvl, sn.path, max(sn.lvl) over () maxlvl, t.has_phenotypes hasphenotypes from sub_node sn inner join term t on sn.object_id = t.id where sn.lvl <= ? order by sn.path;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Mar 09 23 2 4s597ms 2s298ms 00 1 2s37ms 2s37ms 03 2 4s435ms 2s217ms 04 3 7s172ms 2s390ms 05 9 22s107ms 2s456ms 08 3 7s724ms 2s574ms 09 1 3s317ms 3s317ms 10 5 12s60ms 2s412ms 11 3 7s466ms 2s488ms 12 4 10s402ms 2s600ms 13 3 8s520ms 2s840ms 15 1 2s232ms 2s232ms 16 1 2s160ms 2s160ms 17 1 1s887ms 1s887ms 18 1 3s456ms 3s456ms 19 3 8s944ms 2s981ms 20 1 1s931ms 1s931ms 21 6 14s857ms 2s476ms 22 2 4s678ms 2s339ms 23 2 5s632ms 2s816ms Mar 10 00 2 5s240ms 2s620ms 01 2 4s420ms 2s210ms 02 1 2s90ms 2s90ms 03 4 8s894ms 2s223ms 04 3 7s31ms 2s343ms 05 5 11s496ms 2s299ms 06 1 1s955ms 1s955ms 07 3 7s976ms 2s658ms 08 3 7s286ms 2s428ms 10 5 10s425ms 2s85ms 11 2 5s98ms 2s549ms 13 3 7s745ms 2s581ms 14 4 8s519ms 2s129ms 15 4 8s933ms 2s233ms 16 1 1s971ms 1s971ms 17 1 2s643ms 2s643ms 18 1 1s960ms 1s960ms 19 2 3s852ms 1s926ms 20 5 12s354ms 2s470ms 21 2 4s353ms 2s176ms 22 2 3s953ms 1s976ms 23 1 2s332ms 2s332ms Mar 11 01 3 7s725ms 2s575ms 02 2 3s871ms 1s935ms 03 4 9s898ms 2s474ms 04 4 10s579ms 2s644ms 05 4 9s65ms 2s266ms 06 2 3s997ms 1s998ms 07 3 5s966ms 1s988ms 08 3 8s354ms 2s784ms 09 4 10s416ms 2s604ms 10 5 11s884ms 2s376ms 11 5 12s534ms 2s506ms 12 6 14s803ms 2s467ms 13 2 4s488ms 2s244ms 14 4 11s947ms 2s986ms 15 5 12s369ms 2s473ms 16 1 3s359ms 3s359ms 17 2 3s995ms 1s997ms 18 2 5s924ms 2s962ms 19 3 7s865ms 2s621ms 20 3 6s587ms 2s195ms 21 7 17s346ms 2s478ms 22 4 10s379ms 2s594ms 23 3 8s148ms 2s716ms Mar 12 00 1 2s568ms 2s568ms 02 2 4s845ms 2s422ms 04 3 7s394ms 2s464ms 05 6 13s151ms 2s191ms 06 2 4s729ms 2s364ms 07 2 5s209ms 2s604ms 08 2 6s124ms 3s62ms 09 3 7s880ms 2s626ms 10 4 10s253ms 2s563ms 11 4 9s199ms 2s299ms 12 1 2s893ms 2s893ms 13 6 17s150ms 2s858ms 14 4 8s668ms 2s167ms 15 1 1s952ms 1s952ms 18 2 4s919ms 2s459ms 19 1 1s847ms 1s847ms 20 1 1s925ms 1s925ms 22 2 3s525ms 1s762ms Mar 13 00 4 10s706ms 2s676ms 02 1 3s812ms 3s812ms 05 5 11s169ms 2s233ms 06 5 12s175ms 2s435ms 07 6 14s680ms 2s446ms 08 3 7s878ms 2s626ms 12 5 9s944ms 1s988ms 16 1 2s858ms 2s858ms Mar 14 01 1 2s873ms 2s873ms 05 4 9s71ms 2s267ms 18 1 2s817ms 2s817ms Mar 15 05 4 9s1ms 2s250ms [ User: pubeu - Total duration: 3m18s - Times executed: 73 ]
[ User: qaeu - Total duration: 24s285ms - 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 = '658110' 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-11 11:09:41 Duration: 3s918ms 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 = '658110' 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-13 02:22:40 Duration: 3s812ms 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-13 05:35:24 Duration: 3s737ms Database: ctdprd51 User: pubeu Bind query: yes
18 1s182ms 3s873ms 1s850ms 74 2m16s select distinct childterm.acc_txt from term childterm, term baseterm, dag_path dag where baseterm.id = ? and baseterm.id = dag.ancestor_object_id and childterm.id = dag.descendant_object_id union select acc_txt from term where id = ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Mar 09 03 1 2s51ms 2s51ms 07 1 1s182ms 1s182ms 09 1 3s448ms 3s448ms 10 2 2s547ms 1s273ms 11 3 5s868ms 1s956ms 19 1 1s978ms 1s978ms 23 1 1s799ms 1s799ms Mar 10 03 2 3s238ms 1s619ms 07 1 1s829ms 1s829ms 08 1 1s983ms 1s983ms 09 1 1s876ms 1s876ms 13 1 1s264ms 1s264ms 14 2 3s167ms 1s583ms 15 1 1s871ms 1s871ms 18 1 1s892ms 1s892ms 19 1 1s962ms 1s962ms 20 1 1s865ms 1s865ms 22 1 1s247ms 1s247ms Mar 11 02 2 3s753ms 1s876ms 03 2 3s778ms 1s889ms 07 1 1s810ms 1s810ms 08 1 1s192ms 1s192ms 09 4 7s129ms 1s782ms 10 1 1s884ms 1s884ms 12 3 5s787ms 1s929ms 13 1 1s894ms 1s894ms 16 2 3s727ms 1s863ms 18 1 2s81ms 2s81ms 19 1 1s876ms 1s876ms 20 1 1s938ms 1s938ms 22 3 5s88ms 1s696ms 23 3 7s758ms 2s586ms Mar 12 00 2 3s158ms 1s579ms 01 1 1s898ms 1s898ms 02 2 3s258ms 1s629ms 03 2 3s244ms 1s622ms 05 1 1s368ms 1s368ms 06 2 3s186ms 1s593ms 08 2 3s875ms 1s937ms 09 2 5s88ms 2s544ms 11 2 3s794ms 1s897ms 12 1 1s254ms 1s254ms 14 2 5s97ms 2s548ms 15 1 1s957ms 1s957ms 17 1 1s852ms 1s852ms 23 1 1s909ms 1s909ms Mar 13 06 2 3s276ms 1s638ms 08 1 1s923ms 1s923ms [ User: pubeu - Total duration: 4s350ms - Times executed: 3 ]
-
select distinct childTerm.acc_txt from term childTerm, term baseTerm, dag_path dag where baseTerm.id = '1228421' and baseTerm.id = dag.ancestor_object_id and childTerm.id = dag.descendant_object_id union select acc_txt from term where id = '1228421';
Date: 2025-03-11 23:06:56 Duration: 3s873ms Bind query: yes
-
select distinct childTerm.acc_txt from term childTerm, term baseTerm, dag_path dag where baseTerm.id = '1228421' and baseTerm.id = dag.ancestor_object_id and childTerm.id = dag.descendant_object_id union select acc_txt from term where id = '1228421';
Date: 2025-03-12 14:02:23 Duration: 3s766ms Bind query: yes
-
select distinct childTerm.acc_txt from term childTerm, term baseTerm, dag_path dag where baseTerm.id = '1228421' and baseTerm.id = dag.ancestor_object_id and childTerm.id = dag.descendant_object_id union select acc_txt from term where id = '1228421';
Date: 2025-03-09 09:50:17 Duration: 3s448ms Bind query: yes
19 1s244ms 2s431ms 1s657ms 579 15m59s 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 09 23 4 5s123ms 1s280ms 00 6 10s680ms 1s780ms 03 5 9s57ms 1s811ms 04 7 11s391ms 1s627ms 05 11 19s162ms 1s742ms 06 8 12s551ms 1s568ms 07 4 6s357ms 1s589ms 08 6 10s768ms 1s794ms 09 8 11s557ms 1s444ms 10 7 11s938ms 1s705ms 11 8 13s928ms 1s741ms 12 6 10s605ms 1s767ms 13 7 11s427ms 1s632ms 14 6 9s478ms 1s579ms 15 6 9s483ms 1s580ms 16 2 3s130ms 1s565ms 17 4 7s454ms 1s863ms 18 3 5s9ms 1s669ms 19 4 6s929ms 1s732ms 20 4 6s286ms 1s571ms 21 4 6s287ms 1s571ms 22 5 9s368ms 1s873ms 23 6 9s481ms 1s580ms Mar 10 00 13 20s123ms 1s547ms 01 4 6s952ms 1s738ms 03 3 5s640ms 1s880ms 04 7 11s943ms 1s706ms 05 2 3s695ms 1s847ms 06 3 4s411ms 1s470ms 07 2 3s689ms 1s844ms 08 8 12s832ms 1s604ms 09 5 8s178ms 1s635ms 10 5 7s618ms 1s523ms 11 3 5s590ms 1s863ms 12 10 16s869ms 1s686ms 13 5 8s204ms 1s640ms 14 11 18s461ms 1s678ms 15 6 10s619ms 1s769ms 16 8 13s268ms 1s658ms 17 4 6s980ms 1s745ms 18 6 10s762ms 1s793ms 19 5 8s163ms 1s632ms 20 6 10s52ms 1s675ms 21 4 7s521ms 1s880ms 22 1 1s269ms 1s269ms 23 2 3s130ms 1s565ms Mar 11 01 3 5s645ms 1s881ms 02 8 12s269ms 1s533ms 03 5 9s506ms 1s901ms 04 4 6s838ms 1s709ms 05 7 10s970ms 1s567ms 06 5 8s201ms 1s640ms 07 14 22s279ms 1s591ms 08 10 17s26ms 1s702ms 09 2 3s742ms 1s871ms 10 9 13s901ms 1s544ms 11 7 11s316ms 1s616ms 12 7 12s540ms 1s791ms 13 6 9s520ms 1s586ms 14 11 17s681ms 1s607ms 15 2 3s163ms 1s581ms 16 9 13s938ms 1s548ms 17 8 13s148ms 1s643ms 18 5 6s995ms 1s399ms 19 10 17s485ms 1s748ms 20 12 19s572ms 1s631ms 21 11 17s889ms 1s626ms 22 2 3s188ms 1s594ms 23 6 11s255ms 1s875ms Mar 12 00 10 15s271ms 1s527ms 01 4 5s844ms 1s461ms 02 12 20s136ms 1s678ms 03 11 19s971ms 1s815ms 04 8 13s153ms 1s644ms 05 7 12s612ms 1s801ms 06 12 19s40ms 1s586ms 07 3 5s103ms 1s701ms 08 13 21s526ms 1s655ms 09 9 14s577ms 1s619ms 10 4 6s285ms 1s571ms 11 6 10s40ms 1s673ms 12 9 13s387ms 1s487ms 13 5 8s213ms 1s642ms 14 2 3s259ms 1s629ms 15 2 3s838ms 1s919ms 16 2 3s129ms 1s564ms 18 1 1s278ms 1s278ms 19 4 6s347ms 1s586ms 20 3 5s30ms 1s676ms 21 1 1s283ms 1s283ms 23 2 3s167ms 1s583ms Mar 13 00 4 5s711ms 1s427ms 01 3 5s724ms 1s908ms 05 1 1s277ms 1s277ms 06 10 17s136ms 1s713ms 07 6 11s722ms 1s953ms 08 4 6s946ms 1s736ms 18 1 1s853ms 1s853ms Mar 14 13 1 1s859ms 1s859ms 16 1 1s858ms 1s858ms Mar 15 13 1 1s862ms 1s862ms [ User: pubeu - Total duration: 3m48s - Times executed: 134 ]
-
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-13 01:40:07 Duration: 2s431ms 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-13 07:44:36 Duration: 2s106ms 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-12 05:20:53 Duration: 2s98ms Database: ctdprd51 User: pubeu Bind query: yes
20 1s455ms 2s195ms 1s509ms 2,140 53m50s 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 #20
Day Hour Count Duration Avg duration Mar 09 23 24 36s224ms 1s509ms 00 25 37s637ms 1s505ms 03 26 39s483ms 1s518ms 04 28 42s331ms 1s511ms 05 28 42s362ms 1s512ms 06 32 48s686ms 1s521ms 07 19 28s818ms 1s516ms 08 17 25s616ms 1s506ms 09 27 40s901ms 1s514ms 10 24 36s910ms 1s537ms 11 23 34s717ms 1s509ms 12 26 39s95ms 1s503ms 13 27 40s719ms 1s508ms 14 20 30s239ms 1s511ms 15 25 37s857ms 1s514ms 16 26 39s78ms 1s503ms 17 18 27s65ms 1s503ms 18 21 31s543ms 1s502ms 19 24 36s130ms 1s505ms 20 18 27s226ms 1s512ms 21 25 37s678ms 1s507ms 22 27 40s507ms 1s500ms 23 24 36s56ms 1s502ms Mar 10 00 24 36s216ms 1s509ms 01 29 43s641ms 1s504ms 02 27 40s710ms 1s507ms 03 19 28s726ms 1s511ms 04 10 15s75ms 1s507ms 05 17 25s477ms 1s498ms 06 5 7s483ms 1s496ms 07 14 21s160ms 1s511ms 08 9 13s621ms 1s513ms 09 14 20s933ms 1s495ms 10 12 18s61ms 1s505ms 11 6 9s55ms 1s509ms 12 15 23s20ms 1s534ms 13 12 18s211ms 1s517ms 14 17 25s577ms 1s504ms 15 17 25s496ms 1s499ms 16 10 15s60ms 1s506ms 17 14 20s942ms 1s495ms 18 10 15s152ms 1s515ms 19 13 19s481ms 1s498ms 20 13 19s546ms 1s503ms 21 20 30s649ms 1s532ms 22 9 13s593ms 1s510ms 23 4 5s992ms 1s498ms Mar 11 01 1 1s493ms 1s493ms 02 13 19s659ms 1s512ms 03 13 19s588ms 1s506ms 04 6 9s91ms 1s515ms 05 12 18s262ms 1s521ms 06 14 21s100ms 1s507ms 07 15 22s527ms 1s501ms 08 4 5s997ms 1s499ms 09 12 18s142ms 1s511ms 10 10 15s1ms 1s500ms 11 9 13s576ms 1s508ms 12 11 16s563ms 1s505ms 13 11 16s573ms 1s506ms 14 9 13s589ms 1s509ms 15 10 15s21ms 1s502ms 16 14 21s200ms 1s514ms 17 11 16s603ms 1s509ms 18 12 18s41ms 1s503ms 19 13 19s896ms 1s530ms 20 8 12s250ms 1s531ms 21 13 19s681ms 1s513ms 22 14 21s142ms 1s510ms 23 8 12s121ms 1s515ms Mar 12 00 9 13s615ms 1s512ms 01 15 22s907ms 1s527ms 02 4 6s15ms 1s503ms 03 15 22s519ms 1s501ms 04 15 22s593ms 1s506ms 05 16 24s320ms 1s520ms 06 8 11s968ms 1s496ms 07 6 9s81ms 1s513ms 08 13 19s778ms 1s521ms 09 10 14s989ms 1s498ms 10 4 5s983ms 1s495ms 11 8 11s969ms 1s496ms 12 9 13s435ms 1s492ms 13 6 8s998ms 1s499ms 14 12 18s33ms 1s502ms 15 9 13s634ms 1s514ms 16 7 10s641ms 1s520ms 17 2 2s986ms 1s493ms 18 1 1s491ms 1s491ms 19 7 10s717ms 1s531ms 20 1 1s503ms 1s503ms 21 2 2s959ms 1s479ms 22 4 5s994ms 1s498ms 23 3 4s504ms 1s501ms Mar 13 00 14 21s134ms 1s509ms 01 10 15s197ms 1s519ms 05 25 37s593ms 1s503ms 06 57 1m26s 1s516ms 07 27 41s812ms 1s548ms 08 30 45s690ms 1s523ms 09 24 36s175ms 1s507ms 10 24 36s195ms 1s508ms 11 27 40s773ms 1s510ms 12 25 37s616ms 1s504ms 13 32 47s946ms 1s498ms 14 30 45s136ms 1s504ms 15 30 45s35ms 1s501ms 16 29 43s694ms 1s506ms 17 27 40s315ms 1s493ms 18 27 40s635ms 1s505ms 19 27 40s851ms 1s513ms 20 28 42s295ms 1s510ms 21 26 39s62ms 1s502ms 22 21 31s582ms 1s503ms 23 13 19s716ms 1s516ms Mar 14 00 14 21s302ms 1s521ms 01 13 19s482ms 1s498ms 02 13 19s617ms 1s509ms 03 14 21s933ms 1s566ms 04 13 19s491ms 1s499ms 05 16 24s20ms 1s501ms 06 8 12s95ms 1s511ms 07 11 16s574ms 1s506ms 08 11 16s572ms 1s506ms 09 14 20s975ms 1s498ms 10 8 12s105ms 1s513ms 11 13 19s461ms 1s497ms 12 14 20s993ms 1s499ms 13 10 15s20ms 1s502ms 14 3 4s553ms 1s517ms 15 3 4s522ms 1s507ms 16 1 1s478ms 1s478ms 17 1 1s470ms 1s470ms 20 3 4s512ms 1s504ms 22 1 1s481ms 1s481ms 23 3 4s492ms 1s497ms Mar 15 00 4 5s935ms 1s483ms 01 4 6s12ms 1s503ms 02 3 4s453ms 1s484ms 03 2 2s950ms 1s475ms 04 2 3s39ms 1s519ms 05 3 4s472ms 1s490ms 06 2 2s973ms 1s486ms 07 4 5s957ms 1s489ms 08 5 7s527ms 1s505ms 09 2 2s996ms 1s498ms 10 3 4s509ms 1s503ms 11 1 1s515ms 1s515ms 12 6 8s932ms 1s488ms 13 6 8s958ms 1s493ms 14 2 3s27ms 1s513ms 15 1 1s494ms 1s494ms 16 3 4s484ms 1s494ms 17 2 2s967ms 1s483ms 18 3 4s477ms 1s492ms 19 4 6s215ms 1s553ms 20 3 4s526ms 1s508ms 21 5 7s528ms 1s505ms 22 4 6s48ms 1s512ms 23 3 4s506ms 1s502ms [ User: pubeu - Total duration: 16m56s - Times executed: 671 ]
-
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-14 03:53:36 Duration: 2s195ms 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-10 21:13:15 Duration: 1s936ms 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-10 12:55:47 Duration: 1s903ms Database: ctdprd51 User: pubeu Bind query: yes
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 1s160ms 1 1s160ms 1s160ms 1s160ms SELECT /* ReferenceCitedDiseasesDAO */ d.id, d.nm, d.nm_html nmHtml, d.acc_txt acc, d.acc_db_cd accdbcd, d.has_chems hasChems, d.has_genes hasGenes FROM term d WHERE d.id IN ( SELECT gdr.disease_id FROM gene_disease_reference gdr WHERE gdr.reference_id = $1 AND gdr.source_cd IN ('C', 'O') UNION ALL SELECT cdr.disease_id FROM chem_disease_reference cdr WHERE cdr.reference_id = $2 AND cdr.source_cd = 'C' UNION ALL select outcome.disease_id from exposure e, exp_outcome outcome where e.reference_id = $3 and e.exp_outcome_id = outcome.id) ORDER BY d.nm_sort;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Mar 15 00 1 1s160ms 1s160ms -
SELECT /* ReferenceCitedDiseasesDAO */ d.id, d.nm, d.nm_html nmHtml, d.acc_txt acc, d.acc_db_cd accdbcd, d.has_chems hasChems, d.has_genes hasGenes FROM term d WHERE d.id IN ( SELECT gdr.disease_id FROM gene_disease_reference gdr WHERE gdr.reference_id = $1 AND gdr.source_cd IN ('C', 'O') UNION ALL SELECT cdr.disease_id FROM chem_disease_reference cdr WHERE cdr.reference_id = $2 AND cdr.source_cd = 'C' UNION ALL select outcome.disease_id from exposure e, exp_outcome outcome where e.reference_id = $3 and e.exp_outcome_id = outcome.id) ORDER BY d.nm_sort;
Date: 2025-03-13 00:28:03 Duration: 1s160ms Database: postgres parameters: $1 = '1240750', $2 = '1240750'
2 0ms 382 0ms 0ms 0ms ;Times Reported Time consuming bind #2
Day Hour Count Duration Avg duration Mar 08 06 6 0ms 0ms 18 1 0ms 0ms 20 1 0ms 0ms Mar 09 06 4 0ms 0ms 07 22 0ms 0ms 08 32 0ms 0ms 09 6 0ms 0ms Mar 10 04 2 0ms 0ms 06 16 0ms 0ms 08 10 0ms 0ms 09 20 0ms 0ms 10 22 0ms 0ms 11 28 0ms 0ms 13 8 0ms 0ms 15 4 0ms 0ms 16 14 0ms 0ms 18 2 0ms 0ms 20 2 0ms 0ms 22 4 0ms 0ms Mar 11 06 20 0ms 0ms 07 10 0ms 0ms 10 16 0ms 0ms 11 6 0ms 0ms 18 6 0ms 0ms Mar 12 00 1 0ms 0ms 06 2 0ms 0ms 08 22 0ms 0ms 09 18 0ms 0ms 10 20 0ms 0ms 11 6 0ms 0ms 13 2 0ms 0ms 15 4 0ms 0ms 22 4 0ms 0ms Mar 13 08 4 0ms 0ms 10 4 0ms 0ms 16 2 0ms 0ms Mar 14 06 6 0ms 0ms 07 6 0ms 0ms 08 3 0ms 0ms 09 3 0ms 0ms 10 9 0ms 0ms 13 3 0ms 0ms Mar 16 00 1 0ms 0ms [ User: pubeu - Total duration: 15m7s - Times executed: 134 ]
-
;
Date: Duration: 0ms Database: postgres User: ctdprd51 Remote: pubeu
-
Events
Log levels
Key values
- 119,234 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 26 FATAL entries
- 759 ERROR entries
- 0 WARNING entries
- 80 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 749 Max number of times the same event was reported
- 865 Total events found
Rank Times reported Error 1 749 ERROR: syntax error in ts"..."
Times Reported Most Frequent Error / Event #1
Day Hour Count Mar 09 23 7 00 14 03 12 04 10 05 4 06 5 07 7 08 5 09 3 10 4 12 4 13 3 15 2 16 2 18 4 19 5 20 4 21 6 22 10 23 5 Mar 10 00 11 01 9 02 7 03 14 04 26 05 11 06 16 07 7 08 2 09 6 10 5 11 4 12 4 14 2 16 1 17 2 18 1 19 12 20 13 21 15 22 17 23 10 Mar 11 00 15 01 21 02 7 03 12 04 2 05 15 06 23 07 4 08 7 09 5 10 5 11 2 13 2 16 1 17 1 19 4 20 11 21 8 22 6 23 1 Mar 12 00 2 01 4 02 4 03 3 04 1 05 4 06 4 07 4 08 1 09 7 10 3 12 2 19 12 20 6 21 6 22 11 23 2 Mar 13 00 7 01 5 05 8 06 3 08 6 10 4 11 1 12 1 13 2 14 2 15 1 17 1 19 2 20 8 21 2 22 9 Mar 14 00 6 01 5 02 18 03 5 04 8 06 2 08 3 09 1 10 2 11 1 12 1 16 1 18 3 19 1 20 3 21 2 22 6 23 6 Mar 15 00 2 01 3 02 11 03 7 04 3 05 3 06 1 07 3 08 1 10 2 11 1 13 1 14 3 16 1 17 3 18 3 19 5 20 12 21 2 22 4 23 3 - ERROR: syntax error in ts"さいとう製菓 工場"
- ERROR: syntax error in ts"独身 & 50代 男 弁当"
- ERROR: syntax error in ts"デンマークベーカリー 練馬"
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-09 03:40:21
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-09 04:38:48
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 ,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 50SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2025-03-09 06:58:20
2 65 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #2
Day Hour Count Mar 10 12 6 13 2 14 8 15 4 16 2 Mar 12 08 1 10 4 11 3 12 5 13 3 14 3 16 1 17 2 Mar 13 07 3 09 1 10 5 11 1 13 1 14 1 16 6 17 3 3 13 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #3
Day Hour Count Mar 10 07 1 10 1 14 1 15 1 Mar 11 13 1 20 1 22 1 Mar 12 02 1 Mar 13 02 1 06 1 07 1 08 1 16 1 - FATAL: connection to client lost
- FATAL: connection to client lost
- FATAL: connection to client lost
Statement: select t.ID ,t.OBJECT_TYPE_ID ,t.ACC_TXT ,db.CD ,t.NM ,t.NM_SORT ,t.SECONDARY_NM ,t.DESCRIPTION ,t.NOTE ,l.NM from load.TERM t ,load.TERM_LABEL l ,edit.DB db where t.object_type_id = 2 and t.id = l.term_id and t.acc_db_id = db.id
Date: 2025-03-10 14:06:15
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-13 07:39:30
Statement: SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId ,g.acc_txt acc ,g.nm nm ,g.nm nmHtml ,g.secondary_nm secondaryNm ,g.has_chems hasChems ,g.has_diseases hasDiseases ,g.has_exposures hasExposures ,g.has_phenotypes hasPhenotypes ,COUNT(*) OVER() fullRowCount FROM term g WHERE g.id IN ( (SELECT /* GAIQH.getChemWhereEquals.Name */ gcri.gene_id FROM dag_path pi INNER JOIN gene_chem_reference gcri ON pi.descendant_object_id = gcri.chem_id INNER JOIN term ti ON ti.id = pi.ancestor_object_id WHERE UPPER(ti.nm) LIKE 'AMINO ACIDS, PEPTIDES, AND PROTEINS' AND ti.object_type_id = 2 ) INTERSECT (SELECT /* GAIQH.getTaxonWhereEquals.Acc */gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7 UNION SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7 ) INTERSECT (SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5 ) INTERSECT (SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'SKIN DISEASES' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0 ) ) ORDER BY g.nm_sort, g.id LIMIT 500
Date: 2025-03-13 08:50:28
4 11 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #4
Day Hour Count Mar 10 07 1 10 1 15 1 Mar 11 13 1 20 1 22 1 Mar 12 02 1 Mar 13 02 1 06 1 07 1 08 1 - LOG: could not send data to client: Broken pipe
- 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-13 07:39:30 Database: ctdprd51 Application: User: pubeu Remote:
Statement: SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId ,g.acc_txt acc ,g.nm nm ,g.nm nmHtml ,g.secondary_nm secondaryNm ,g.has_chems hasChems ,g.has_diseases hasDiseases ,g.has_exposures hasExposures ,g.has_phenotypes hasPhenotypes ,COUNT(*) OVER() fullRowCount FROM term g WHERE g.id IN ( (SELECT /* GAIQH.getChemWhereEquals.Name */ gcri.gene_id FROM dag_path pi INNER JOIN gene_chem_reference gcri ON pi.descendant_object_id = gcri.chem_id INNER JOIN term ti ON ti.id = pi.ancestor_object_id WHERE UPPER(ti.nm) LIKE 'AMINO ACIDS, PEPTIDES, AND PROTEINS' AND ti.object_type_id = 2 ) INTERSECT (SELECT /* GAIQH.getTaxonWhereEquals.Acc */gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7 UNION SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7 ) INTERSECT (SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5 ) INTERSECT (SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'SKIN DISEASES' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0 ) ) ORDER BY g.nm_sort, g.id LIMIT 500
Date: 2025-03-13 08:50:28
5 10 FATAL: canceling authentication due to timeout
Times Reported Most Frequent Error / Event #5
Day Hour Count Mar 13 01 1 07 9 6 4 ERROR: relation "..." does not exist
Times Reported Most Frequent Error / Event #6
Day Hour Count Mar 11 11 2 Mar 13 09 1 21 1 - ERROR: relation "label_term_type" does not exist at character 15
- ERROR: relation "term_label_term_type" does not exist at character 15
- ERROR: relation "disease_chem_gene" does not exist at character 369
Statement: select * from label_term_type where object_type_id = 2
Date: 2025-03-11 11:58:03 Database: ctdprd51 Application: pgAdmin 4 - CONN:9292574 User: edit Remote:
Statement: select * from term_label_term_type where object_type_id = 2
Date: 2025-03-11 11:58:11
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-13 09:53:16 Database: ctdprd51 Application: User: pubeu Remote:
7 3 LOG: could not send data to client: Connection reset by peer
Times Reported Most Frequent Error / Event #7
Day Hour Count Mar 10 14 1 Mar 13 08 1 16 1 - LOG: could not send data to client: Connection reset by peer
- LOG: could not send data to client: Connection reset by peer
Statement: select t.ID ,t.OBJECT_TYPE_ID ,t.ACC_TXT ,db.CD ,t.NM ,t.NM_SORT ,t.SECONDARY_NM ,t.DESCRIPTION ,t.NOTE ,l.NM from load.TERM t ,load.TERM_LABEL l ,edit.DB db where t.object_type_id = 2 and t.id = l.term_id and t.acc_db_id = db.id
Date: 2025-03-10 14:06:15 Database: ctdprd51 Application: User: load Remote:
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm
Date: 2025-03-13 08:03:01 Database: ctdprd51 Application: User: pubeu Remote:
8 3 ERROR: invalid byte sequence for encoding
Times Reported Most Frequent Error / Event #8
Day Hour Count Mar 12 21 3 - 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 = 5 UNION SELECT l.object_id FROM db_link l WHERE upper( l.acc_txt ) = $2 AND l.object_type_id = 5 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-12 21:36:30 Database: ctdprd51 Application: User: pubeu Remote:
9 2 FATAL: terminating background worker "..." due to administrator command
Times Reported Most Frequent Error / Event #9
Day Hour Count Mar 10 14 1 Mar 13 16 1 - FATAL: terminating background worker "parallel worker" due to administrator command
Statement: select t.ID ,t.OBJECT_TYPE_ID ,t.ACC_TXT ,db.CD ,t.NM ,t.NM_SORT ,t.SECONDARY_NM ,t.DESCRIPTION ,t.NOTE ,l.NM from load.TERM t ,load.TERM_LABEL l ,edit.DB db where t.object_type_id = 2 and t.id = l.term_id and t.acc_db_id = db.id
Date: 2025-03-10 14:06:15
10 2 ERROR: no operand in ts"..."
Times Reported Most Frequent Error / Event #10
Day Hour Count Mar 09 23 1 Mar 11 04 1 - ERROR: no operand in ts"㈱環境産業新聞社 & (03-3437-0074 | 0334370074 ) & "
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-09 00:17:29
11 1 FATAL: connection to client lost d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (...) FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (...) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Times Reported Most Frequent Error / Event #11
Day Hour Count Mar 13 08 1 - FATAL: connection to client lost d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = ) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Statement: SELECT /* DiseaseGeneAssnsDAO */
Date: 2025-03-13 08:03:01
12 1 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #12
Day Hour Count Mar 11 20 1 13 1 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #13
Day Hour Count Mar 12 13 1 - ERROR: syntax error at or near ")" at character 4937
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 stressor.chem_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 eevent.exp_marker_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-12 13:05:13 Database: ctdprd51 Application: User: pubeu Remote: