-
Global information
- Generated on Sun Sep 15 04:15:14 2024
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20240914
- Parsed 329,935 log entries in 13s
- Log start from 2024-09-08 00:00:02 to 2024-09-14 23:59:52
-
Overview
Global Stats
- 382 Number of unique normalized queries
- 6,265 Number of queries
- 1d41m7s Total query duration
- 2024-09-08 00:16:44 First query
- 2024-09-14 23:59:00 Last query
- 4 queries/s at 2024-09-12 07:03:27 Query peak
- 1d41m7s Total query duration
- 18s689ms Prepare/parse total duration
- 10s662ms Bind total duration
- 1d40m37s Execute total duration
- 107 Number of events
- 14 Number of unique normalized events
- 31 Max number of times the same event was reported
- 0 Number of cancellation
- 52 Total number of automatic vacuums
- 200 Total number of automatic analyzes
- 0 Number temporary file
- 0 Max size of temporary file
- 0.00 B Average size of temporary file
- 16,922 Total number of sessions
- 102 sessions at 2024-09-12 02:25:11 Session peak
- 283d18h43m23s Total duration of sessions
- 24m8s Average duration of sessions
- 0 Average queries per session
- 5s251ms Average queries duration per session
- 24m3s Average idle time per session
- 16,950 Total number of connections
- 77 connections/s at 2024-09-12 02:34:43 Connection peak
- 3 Total number of databases
SQL Traffic
Key values
- 4 queries/s Query Peak
- 2024-09-12 07:03:27 Date
SELECT Traffic
Key values
- 4 queries/s Query Peak
- 2024-09-12 07:03:27 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2024-09-09 10:05:35 Date
Queries duration
Key values
- 1d41m7s 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) Sep 08 00 10 0ms 16m41s 1m41s 1s302ms 2s265ms 16m46s 01 5 0ms 1s187ms 1s149ms 1s128ms 1s131ms 1s187ms 02 26 0ms 3s958ms 1s590ms 3s83ms 3s561ms 5s143ms 03 11 0ms 3s928ms 1s482ms 1s343ms 2s56ms 3s928ms 04 15 0ms 3s931ms 1s737ms 2s368ms 2s490ms 3s931ms 05 70 0ms 4s330ms 2s418ms 5s214ms 25s568ms 29s786ms 06 23 0ms 33s810ms 5s717ms 5s452ms 43s35ms 54s533ms 07 20 0ms 5s401ms 2s984ms 3s991ms 5s286ms 7s791ms 08 20 0ms 4s455ms 2s663ms 3s966ms 4s91ms 8s335ms 09 11 0ms 2s68ms 1s284ms 1s187ms 1s350ms 3s426ms 10 24 0ms 33s866ms 4s538ms 2s675ms 3s943ms 41s946ms 11 8 0ms 5s327ms 1s959ms 1s277ms 1s476ms 5s327ms 12 6 0ms 1s259ms 1s182ms 1s134ms 1s197ms 2s451ms 13 10 0ms 2s318ms 1s398ms 1s287ms 2s736ms 3s550ms 14 32 0ms 33s949ms 4s728ms 5s47ms 12s647ms 54s368ms 15 10 0ms 1m42s 11s866ms 1s360ms 3s864ms 1m42s 16 11 0ms 3s915ms 1s455ms 1s290ms 1s385ms 3s915ms 17 11 0ms 5s200ms 1s723ms 1s706ms 4s491ms 6s311ms 18 17 0ms 33s899ms 6s970ms 5s172ms 40s260ms 41s979ms 19 18 0ms 6s652ms 1s641ms 2s147ms 6s433ms 6s652ms 20 11 0ms 4s956ms 1s513ms 1s345ms 2s299ms 4s956ms 21 12 0ms 5s70ms 2s348ms 2s649ms 3s847ms 5s70ms 22 27 0ms 14s538ms 5s100ms 4s340ms 17s892ms 53s234ms 23 12 0ms 12s981ms 3s48ms 1s347ms 4s467ms 12s981ms Sep 09 00 12 0ms 16m47s 1m25s 1s192ms 1s360ms 16m52s 01 9 0ms 6s349ms 2s470ms 1s990ms 3s896ms 6s349ms 02 15 0ms 13s947ms 3s439ms 3s899ms 13s947ms 18s210ms 03 15 0ms 12s647ms 5s19ms 5s158ms 16s675ms 31s805ms 04 14 0ms 8s122ms 2s605ms 4s28ms 5s43ms 8s122ms 05 53 0ms 5s447ms 2s318ms 5s447ms 16s902ms 23s996ms 06 28 0ms 33s921ms 5s24ms 3s944ms 10s641ms 54s101ms 07 19 0ms 16s239ms 2s680ms 3s913ms 4s319ms 16s239ms 08 17 0ms 11s340ms 2s891ms 3s982ms 7s444ms 11s340ms 09 27 0ms 20s265ms 2s730ms 2s292ms 3s451ms 36s357ms 10 21 0ms 33s978ms 7s218ms 6s688ms 26s312ms 42s91ms 11 16 0ms 5s192ms 1s617ms 2s208ms 2s544ms 5s192ms 12 21 0ms 11s719ms 2s605ms 1s392ms 2s286ms 39s109ms 13 13 0ms 5s45ms 2s164ms 2s359ms 3s979ms 6s207ms 14 44 0ms 50s704ms 12s874ms 40s201ms 1m51s 1m57s 15 17 0ms 50s648ms 18s836ms 1s410ms 1m27s 1m49s 16 19 0ms 51s827ms 25s114ms 1s291ms 58s357ms 4m26s 17 6 0ms 4s969ms 1s819ms 1s100ms 1s263ms 4s969ms 18 22 0ms 33s906ms 5s509ms 1s924ms 40s340ms 42s24ms 19 9 0ms 5s596ms 2s519ms 1s187ms 5s283ms 5s596ms 20 9 0ms 5s328ms 2s206ms 1s264ms 3s625ms 5s328ms 21 28 0ms 33s159ms 5s892ms 12s967ms 22s657ms 43s291ms 22 21 0ms 1s492ms 1s331ms 1s337ms 1s492ms 9s837ms 23 16 0ms 5s502ms 2s63ms 2s591ms 4s258ms 5s502ms Sep 10 00 16 0ms 16m37s 1m5s 3s908ms 13s284ms 16m42s 01 21 0ms 4s546ms 2s432ms 5s224ms 6s505ms 9s71ms 02 39 0ms 26s340ms 4s281ms 7s970ms 14s312ms 30s257ms 03 28 0ms 31s528ms 4s813ms 6s789ms 12s198ms 31s528ms 04 20 0ms 10s212ms 2s280ms 2s434ms 5s182ms 10s212ms 05 56 0ms 9s340ms 2s256ms 9s340ms 15s813ms 27s536ms 06 21 0ms 33s922ms 5s864ms 1s944ms 9s701ms 54s198ms 07 17 0ms 15s681ms 2s373ms 2s544ms 3s559ms 15s681ms 08 34 0ms 6s56ms 2s338ms 5s319ms 15s797ms 20s184ms 09 15 0ms 4s345ms 2s317ms 3s932ms 3s997ms 5s42ms 10 37 0ms 43s452ms 10s601ms 34s923ms 1m3s 1m50s 11 16 0ms 6s278ms 2s445ms 2s523ms 4s61ms 12s531ms 12 19 0ms 9s652ms 2s462ms 3s961ms 6s 19s258ms 13 12 0ms 12s853ms 4s451ms 1s296ms 2s817ms 37s747ms 14 19 0ms 33s917ms 6s384ms 2s675ms 9s581ms 55s491ms 15 20 0ms 4s965ms 1s689ms 1s280ms 4s271ms 10s306ms 16 24 0ms 10m10s 27s43ms 3s867ms 3s947ms 10m10s 17 26 0ms 5s209ms 1s798ms 3s799ms 3s967ms 10s681ms 18 20 0ms 33s934ms 6s185ms 1s888ms 9s577ms 54s173ms 19 20 0ms 5s630ms 2s599ms 1s814ms 5s630ms 16s682ms 20 15 0ms 4m59s 21s461ms 2s329ms 3s980ms 4m59s 21 35 0ms 11s607ms 3s438ms 8s23ms 12s278ms 17s891ms 22 21 0ms 3s948ms 2s479ms 3s856ms 5s104ms 18s863ms 23 21 0ms 5s263ms 1s692ms 1s879ms 4s374ms 6s202ms Sep 11 00 13 0ms 16m35s 1m19s 1s582ms 3s431ms 16m41s 01 33 0ms 33s803ms 2s979ms 4s165ms 11s625ms 34s930ms 02 11 0ms 33s684ms 8s331ms 2s945ms 12s621ms 33s684ms 03 24 0ms 34s396ms 7s281ms 5s810ms 33s413ms 46s233ms 04 8 0ms 36s680ms 14s887ms 1s183ms 10s95ms 1m12s 05 46 0ms 14s521ms 2s931ms 13s985ms 14s836ms 25s167ms 06 16 0ms 34s13ms 7s449ms 4s180ms 9s596ms 54s199ms 07 20 0ms 36s771ms 9s194ms 5s470ms 10s993ms 1m19s 08 35 0ms 25m56s 2m59s 11s339ms 33s508ms 1h43m38s 09 61 0ms 34s788ms 5s148ms 33s565ms 34s788ms 1m1s 10 85 0ms 36s502ms 7s934ms 43s292ms 1m10s 2m 11 19 0ms 46s553ms 8s534ms 2s305ms 22s969ms 1m24s 12 25 0ms 8s907ms 2s993ms 3s956ms 6s15ms 26s597ms 13 9 0ms 11s870ms 2s507ms 1s181ms 1s258ms 11s870ms 14 19 0ms 34s3ms 6s941ms 3s944ms 9s568ms 54s211ms 15 22 0ms 19s510ms 4s400ms 3s909ms 5s819ms 39s462ms 16 12 0ms 4s401ms 2s154ms 2s500ms 3s970ms 6s17ms 17 10 0ms 5s493ms 2s177ms 1s386ms 3s919ms 5s493ms 18 27 0ms 1m51s 9s1ms 3s956ms 42s73ms 1m51s 19 12 0ms 3s946ms 2s211ms 1s934ms 3s918ms 7s884ms 20 69 0ms 40s604ms 4s239ms 27s278ms 49s198ms 51s958ms 21 57 0ms 17s758ms 4s767ms 20s449ms 23s195ms 36s695ms 22 47 0ms 8s864ms 3s414ms 13s361ms 14s95ms 16s357ms 23 41 0ms 4s539ms 2s938ms 9s630ms 18s588ms 19s884ms Sep 12 00 46 0ms 16m54s 25s230ms 20s536ms 31s941ms 16m54s 01 52 0ms 10s619ms 3s310ms 10s194ms 19s297ms 46s597ms 02 39 0ms 12m48s 1m26s 1m2s 12m48s 38m2s 03 0 0ms 0ms 0ms 0ms 0ms 0ms 04 0 0ms 0ms 0ms 0ms 0ms 0ms 05 111 0ms 17s198ms 3s76ms 29s71ms 46s900ms 51s534ms 06 66 0ms 33s959ms 4s79ms 18s891ms 37s588ms 54s243ms 07 68 0ms 34s361ms 5s782ms 27s523ms 33s641ms 1m6s 08 78 0ms 34s362ms 3s896ms 20s670ms 33s49ms 1m19s 09 47 0ms 11s699ms 3s535ms 11s526ms 23s887ms 46s834ms 10 68 0ms 33s952ms 4s690ms 21s477ms 40s838ms 55s109ms 11 70 0ms 11s282ms 3s584ms 20s399ms 26s591ms 50s27ms 12 47 0ms 11s235ms 3s396ms 11s235ms 18s675ms 22s365ms 13 42 0ms 11s215ms 3s77ms 11s178ms 11s650ms 20s9ms 14 48 0ms 33s916ms 5s50ms 19s379ms 50s534ms 55s816ms 15 59 0ms 5s499ms 2s875ms 11s150ms 20s726ms 30s408ms 16 87 0ms 6s80ms 2s826ms 21s256ms 25s13ms 28s113ms 17 137 0ms 40s996ms 18s223ms 2m54s 3m49s 4m7s 18 268 0ms 38s685ms 20s396ms 3m27s 4m53s 6m49s 19 358 0ms 38s941ms 21s939ms 4m58s 6m12s 6m24s 20 335 0ms 49s959ms 21s689ms 3m55s 4m45s 11m38s 21 148 0ms 35s766ms 19s919ms 2m8s 3m48s 5m44s 22 59 0ms 32s917ms 6s685ms 28s816ms 58s877ms 1m6s 23 64 0ms 4s709ms 2s382ms 10s3ms 12s919ms 20s588ms Sep 13 00 25 0ms 17m4s 43s645ms 4s979ms 8s788ms 17m9s 01 271 0ms 43s533ms 25s898ms 4m13s 4m38s 4m51s 02 215 0ms 48s415ms 23s754ms 3m10s 5m7s 7m32s 03 40 0ms 42s186ms 18s913ms 1m17s 1m41s 3m52s 04 12 0ms 4s708ms 2s640ms 3s724ms 4s183ms 8s613ms 05 58 0ms 5s32ms 2s396ms 11s664ms 13s793ms 24s524ms 06 19 0ms 33s932ms 6s240ms 3s30ms 42s29ms 54s139ms 07 25 0ms 5s794ms 2s345ms 4s118ms 5s760ms 9s202ms 08 14 0ms 10s47ms 3s499ms 3s839ms 6s641ms 10s47ms 09 38 0ms 41s864ms 13s218ms 42s807ms 1m3s 2m17s 10 288 0ms 35s875ms 19s28ms 3m10s 3m25s 3m36s 11 146 0ms 37s306ms 18s587ms 2m24s 3m8s 4m58s 12 20 0ms 26s444ms 15s293ms 40s683ms 54s53ms 56s731ms 13 5 0ms 3s419ms 2s42ms 1s147ms 1s162ms 3s419ms 14 22 0ms 33s970ms 9s156ms 12s408ms 44s913ms 54s259ms 15 20 0ms 13s73ms 3s933ms 5s911ms 9s209ms 16s913ms 16 12 0ms 13s105ms 6s372ms 9s255ms 13s80ms 13s105ms 17 3 0ms 1s269ms 1s187ms 0ms 1s197ms 1s269ms 18 14 0ms 34s124ms 8s95ms 1s267ms 9s554ms 54s163ms 19 3 0ms 1s227ms 1s184ms 0ms 1s224ms 1s227ms 20 5 0ms 1s319ms 1s237ms 0ms 2s401ms 2s468ms 21 4 0ms 9s914ms 4s77ms 0ms 1s159ms 9s914ms 22 10 0ms 10s614ms 4s795ms 3s916ms 10s70ms 21s198ms 23 6 0ms 3s759ms 1s595ms 1s120ms 1s202ms 3s759ms Sep 14 00 11 0ms 17m9s 1m35s 1s14ms 1s231ms 17m14s 01 5 0ms 3s727ms 1s766ms 1s33ms 1s713ms 3s727ms 02 10 0ms 4m4s 30s138ms 3s730ms 41s165ms 4m4s 03 30 0ms 32s74ms 8s777ms 32s74ms 45s391ms 2m6s 04 9 0ms 5s344ms 2s502ms 3s704ms 3s792ms 5s344ms 05 39 0ms 4s241ms 2s265ms 13s298ms 23s348ms 24s626ms 06 5 0ms 3s795ms 1s691ms 1s55ms 1s486ms 3s795ms 07 7 0ms 3s854ms 2s80ms 1s263ms 3s759ms 3s854ms 08 30 0ms 3s897ms 3s273ms 7s550ms 7s606ms 8s750ms 09 4 0ms 3s752ms 1s898ms 1s253ms 1s299ms 3s752ms 10 7 0ms 6s431ms 2s659ms 2s485ms 3s767ms 7s457ms 11 13 0ms 5s465ms 2s946ms 4s176ms 4s470ms 5s465ms 12 12 0ms 3s759ms 2s66ms 2s586ms 3s718ms 3s759ms 13 45 0ms 15s218ms 3s624ms 11s784ms 19s261ms 28s545ms 14 14 0ms 3s736ms 1s391ms 1s298ms 2s390ms 4s868ms 15 15 0ms 4s514ms 1s901ms 3s451ms 3s767ms 4s514ms 16 10 0ms 45s559ms 5s813ms 1s270ms 3s322ms 45s559ms 17 26 0ms 3s306ms 1s489ms 2s614ms 3s100ms 3s306ms 18 69 0ms 8m38s 16s64ms 1m3s 1m10s 8m39s 19 95 0ms 23m42s 1m3s 2m12s 19m9s 23m42s 20 12 0ms 2m5s 22s825ms 1s222ms 3s358ms 4m11s 21 9 0ms 1s779ms 1s237ms 1s178ms 1s450ms 2s187ms 22 13 0ms 3s788ms 1s812ms 1s423ms 3s788ms 5s27ms 23 19 0ms 6s882ms 2s398ms 2s937ms 6s323ms 9s731ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Sep 08 00 9 0 1m52s 0ms 1s302ms 16m41s 01 5 0 1s149ms 0ms 1s128ms 1s187ms 02 26 0 1s590ms 1s307ms 3s83ms 5s143ms 03 11 0 1s482ms 0ms 1s343ms 3s928ms 04 14 0 1s689ms 1s194ms 1s300ms 3s931ms 05 66 0 2s430ms 3s887ms 5s214ms 27s234ms 06 13 10 5s717ms 1s324ms 5s452ms 54s533ms 07 20 0 2s984ms 3s904ms 3s991ms 7s791ms 08 20 0 2s663ms 2s509ms 3s966ms 8s335ms 09 11 0 1s284ms 1s4ms 1s187ms 3s426ms 10 16 8 4s538ms 1s211ms 2s675ms 41s946ms 11 8 0 1s959ms 0ms 1s277ms 5s327ms 12 6 0 1s182ms 0ms 1s134ms 2s451ms 13 10 0 1s398ms 1s73ms 1s287ms 3s550ms 14 22 10 4s728ms 2s470ms 5s47ms 54s368ms 15 10 0 11s866ms 1s181ms 1s360ms 1m42s 16 11 0 1s455ms 1s124ms 1s290ms 3s915ms 17 11 0 1s723ms 1s99ms 1s706ms 6s311ms 18 7 10 6s970ms 1s147ms 5s172ms 41s979ms 19 18 0 1s641ms 1s244ms 2s147ms 6s652ms 20 11 0 1s513ms 0ms 1s345ms 4s956ms 21 12 0 2s348ms 1s183ms 2s649ms 5s70ms 22 27 0 5s100ms 1s542ms 4s340ms 53s234ms 23 12 0 3s48ms 1s189ms 1s347ms 12s981ms Sep 09 00 11 0 1m32s 1s131ms 1s192ms 16m47s 01 9 0 2s470ms 0ms 1s990ms 6s349ms 02 15 0 3s439ms 1s191ms 3s899ms 18s210ms 03 15 0 5s19ms 1s160ms 5s158ms 31s805ms 04 14 0 2s605ms 1s321ms 4s28ms 8s122ms 05 49 0 2s328ms 3s848ms 5s447ms 23s996ms 06 18 10 5s24ms 1s222ms 3s944ms 42s40ms 07 19 0 2s680ms 1s459ms 3s913ms 16s239ms 08 17 0 2s891ms 1s258ms 3s982ms 11s340ms 09 27 0 2s730ms 1s182ms 2s292ms 36s357ms 10 11 10 7s218ms 1s182ms 6s688ms 42s91ms 11 16 0 1s617ms 1s185ms 2s208ms 5s192ms 12 21 0 2s605ms 1s198ms 1s392ms 39s109ms 13 13 0 2s164ms 1s148ms 2s359ms 6s207ms 14 35 9 12s874ms 3s990ms 40s201ms 1m55s 15 17 0 18s836ms 1s148ms 1s410ms 1m49s 16 19 0 25s114ms 1s9ms 1s291ms 4m26s 17 6 0 1s819ms 0ms 1s100ms 1s279ms 18 12 10 5s509ms 1s198ms 1s924ms 42s24ms 19 9 0 2s519ms 1s99ms 1s187ms 5s596ms 20 9 0 2s206ms 0ms 1s264ms 5s328ms 21 28 0 5s892ms 2s461ms 12s967ms 43s291ms 22 21 0 1s331ms 1s250ms 1s337ms 9s837ms 23 16 0 2s63ms 1s180ms 2s591ms 5s502ms Sep 10 00 15 0 1m9s 1s156ms 3s908ms 16m37s 01 21 0 2s432ms 3s866ms 5s224ms 9s71ms 02 39 0 4s281ms 6s825ms 7s970ms 16s88ms 03 28 0 4s813ms 4s282ms 6s789ms 25s529ms 04 20 0 2s280ms 1s231ms 2s434ms 10s212ms 05 51 0 2s259ms 3s885ms 9s340ms 27s536ms 06 11 10 5s864ms 1s149ms 1s944ms 54s198ms 07 17 0 2s373ms 1s176ms 2s544ms 15s681ms 08 32 0 2s342ms 1s189ms 5s319ms 19s987ms 09 15 0 2s317ms 1s198ms 3s932ms 5s42ms 10 27 10 10s601ms 9s293ms 31s412ms 1m50s 11 16 0 2s445ms 1s173ms 2s523ms 12s531ms 12 19 0 2s462ms 1s210ms 3s961ms 19s258ms 13 12 0 4s451ms 1s42ms 1s296ms 37s747ms 14 9 10 6s384ms 1s119ms 2s675ms 54s380ms 15 20 0 1s689ms 1s177ms 1s280ms 10s306ms 16 24 0 27s43ms 1s256ms 3s867ms 10m10s 17 26 0 1s798ms 1s298ms 3s799ms 10s681ms 18 10 10 6s185ms 1s140ms 1s888ms 42s51ms 19 20 0 2s599ms 1s177ms 1s814ms 10s245ms 20 15 0 21s461ms 1s252ms 2s329ms 4m59s 21 35 0 3s438ms 3s948ms 8s23ms 17s891ms 22 21 0 2s479ms 1s203ms 3s856ms 18s863ms 23 21 0 1s692ms 1s181ms 1s879ms 6s202ms Sep 11 00 12 0 1m25s 1s108ms 1s582ms 16m37s 01 33 0 2s979ms 1s270ms 4s165ms 12s283ms 02 11 0 8s331ms 0ms 2s945ms 33s684ms 03 24 0 7s281ms 2s556ms 5s810ms 45s272ms 04 8 0 14s887ms 0ms 1s183ms 1m12s 05 42 0 3s3ms 4s2ms 13s985ms 25s167ms 06 6 10 7s449ms 0ms 4s180ms 54s199ms 07 19 0 9s505ms 3s930ms 5s470ms 1m19s 08 33 0 3m10s 1s241ms 11s339ms 1h43m38s 09 59 0 5s245ms 5s420ms 33s565ms 1m1s 10 72 10 8s128ms 34s38ms 43s292ms 1m10s 11 19 0 8s534ms 1s258ms 2s305ms 1m24s 12 25 0 2s993ms 1s318ms 3s956ms 26s597ms 13 9 0 2s507ms 0ms 1s181ms 11s870ms 14 9 10 6s941ms 1s267ms 3s944ms 54s211ms 15 22 0 4s400ms 1s266ms 3s909ms 19s510ms 16 11 0 2s53ms 0ms 1s284ms 6s17ms 17 10 0 2s177ms 0ms 1s386ms 5s493ms 18 17 10 9s1ms 1s335ms 3s956ms 1m51s 19 12 0 2s211ms 1s195ms 1s934ms 7s884ms 20 67 0 4s296ms 10s481ms 27s278ms 51s958ms 21 57 0 4s767ms 16s649ms 20s449ms 36s695ms 22 47 0 3s414ms 9s291ms 13s361ms 16s357ms 23 41 0 2s938ms 3s719ms 9s630ms 19s884ms Sep 12 00 45 0 25s682ms 9s445ms 20s536ms 16m54s 01 52 0 3s310ms 8s974ms 10s194ms 46s597ms 02 39 0 1m26s 10s128ms 1m2s 38m2s 03 0 0 0ms 0ms 0ms 0ms 04 0 0 0ms 0ms 0ms 0ms 05 108 0 3s89ms 18s751ms 29s71ms 51s534ms 06 56 10 4s79ms 8s297ms 18s891ms 54s243ms 07 68 0 5s782ms 10s441ms 27s523ms 50s461ms 08 76 0 3s940ms 9s459ms 20s670ms 33s790ms 09 47 0 3s535ms 3s799ms 11s526ms 46s834ms 10 59 9 4s690ms 9s598ms 19s488ms 55s109ms 11 70 0 3s584ms 9s797ms 20s399ms 50s27ms 12 47 0 3s396ms 9s249ms 11s235ms 22s365ms 13 42 0 3s77ms 9s258ms 11s178ms 20s9ms 14 38 10 5s50ms 1s168ms 19s379ms 55s816ms 15 58 0 2s893ms 9s109ms 11s150ms 30s408ms 16 87 0 2s826ms 10s789ms 21s256ms 28s113ms 17 137 0 18s223ms 1m58s 2m54s 4m7s 18 258 10 20s396ms 2m13s 3m27s 5m36s 19 358 0 21s939ms 3m36s 4m58s 6m12s 20 335 0 21s689ms 3m5s 3m55s 5m43s 21 148 0 19s919ms 1m5s 2m8s 4m26s 22 59 0 6s685ms 8s643ms 28s816ms 1m6s 23 64 0 2s382ms 6s998ms 10s3ms 20s588ms Sep 13 00 24 0 45s252ms 3s778ms 4s979ms 17m4s 01 270 0 25s982ms 2m50s 4m13s 4m45s 02 215 0 23s754ms 2m44s 3m10s 5m24s 03 40 0 18s913ms 3s737ms 1m17s 3m52s 04 12 0 2s640ms 1s78ms 3s724ms 8s613ms 05 55 0 2s388ms 4s218ms 11s664ms 24s524ms 06 9 10 6s240ms 1s260ms 3s30ms 54s139ms 07 25 0 2s345ms 3s718ms 4s118ms 9s202ms 08 14 0 3s499ms 1s127ms 3s839ms 10s47ms 09 38 0 13s218ms 4s807ms 42s807ms 2m17s 10 277 9 19s137ms 2m17s 3m2s 3m26s 11 145 0 18s693ms 1m49s 2m24s 4m12s 12 20 0 15s293ms 0ms 40s683ms 56s731ms 13 5 0 2s42ms 0ms 1s147ms 3s419ms 14 12 10 9s156ms 11s162ms 12s408ms 54s259ms 15 20 0 3s933ms 2s656ms 5s911ms 16s913ms 16 12 0 6s372ms 1s310ms 9s255ms 13s105ms 17 3 0 1s187ms 0ms 0ms 1s269ms 18 4 10 8s95ms 0ms 1s267ms 54s163ms 19 3 0 1s184ms 0ms 0ms 1s227ms 20 5 0 1s237ms 0ms 0ms 2s468ms 21 4 0 4s77ms 0ms 0ms 9s914ms 22 10 0 4s795ms 0ms 3s916ms 21s198ms 23 6 0 1s595ms 0ms 1s120ms 3s759ms Sep 14 00 10 0 1m44s 0ms 1s14ms 17m9s 01 5 0 1s766ms 0ms 1s33ms 3s727ms 02 10 0 30s138ms 1s240ms 3s730ms 4m4s 03 30 0 8s777ms 1s270ms 32s74ms 2m6s 04 9 0 2s502ms 1s145ms 3s704ms 5s344ms 05 36 0 2s180ms 0ms 13s298ms 24s626ms 06 5 0 1s691ms 0ms 1s55ms 3s795ms 07 7 0 2s80ms 0ms 1s263ms 3s854ms 08 30 0 3s273ms 4s985ms 7s550ms 8s750ms 09 4 0 1s898ms 0ms 1s253ms 3s752ms 10 7 0 2s659ms 0ms 2s485ms 7s457ms 11 13 0 2s946ms 1s350ms 4s176ms 5s465ms 12 12 0 2s66ms 1s142ms 2s586ms 3s759ms 13 45 0 3s624ms 5s491ms 11s784ms 28s545ms 14 14 0 1s391ms 1s104ms 1s298ms 4s868ms 15 15 0 1s901ms 1s140ms 3s451ms 4s514ms 16 10 0 5s813ms 1s136ms 1s270ms 45s559ms 17 26 0 1s489ms 1s593ms 2s614ms 3s306ms 18 43 26 16s64ms 30s384ms 1m2s 8m39s 19 47 48 1m3s 1m23s 2m8s 23m41s 20 12 0 22s825ms 1s 1s222ms 4m11s 21 9 0 1s237ms 0ms 1s178ms 2s187ms 22 13 0 1s812ms 1s219ms 1s423ms 5s27ms 23 19 0 2s398ms 1s277ms 2s937ms 9s731ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Sep 08 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Sep 09 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 Sep 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 Sep 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 Sep 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 Sep 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 Sep 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 Day Hour Prepare Bind Bind/Prepare Percentage of prepare Sep 08 00 0 8 8.00 0.00% 01 0 5 5.00 0.00% 02 0 26 26.00 0.00% 03 0 11 11.00 0.00% 04 0 15 15.00 0.00% 05 0 70 70.00 0.00% 06 0 13 13.00 0.00% 07 0 20 20.00 0.00% 08 0 20 20.00 0.00% 09 0 12 12.00 0.00% 10 0 17 17.00 0.00% 11 0 8 8.00 0.00% 12 0 6 6.00 0.00% 13 0 10 10.00 0.00% 14 0 22 22.00 0.00% 15 0 10 10.00 0.00% 16 0 11 11.00 0.00% 17 0 11 11.00 0.00% 18 0 7 7.00 0.00% 19 0 18 18.00 0.00% 20 0 11 11.00 0.00% 21 0 12 12.00 0.00% 22 0 27 27.00 0.00% 23 0 12 12.00 0.00% Sep 09 00 0 10 10.00 0.00% 01 0 9 9.00 0.00% 02 0 15 15.00 0.00% 03 0 15 15.00 0.00% 04 0 14 14.00 0.00% 05 0 55 55.00 0.00% 06 0 26 26.00 0.00% 07 0 21 21.00 0.00% 08 0 17 17.00 0.00% 09 0 27 27.00 0.00% 10 0 11 11.00 0.00% 11 0 16 16.00 0.00% 12 0 22 22.00 0.00% 13 0 17 17.00 0.00% 14 0 37 37.00 0.00% 15 0 20 20.00 0.00% 16 0 19 19.00 0.00% 17 0 6 6.00 0.00% 18 0 12 12.00 0.00% 19 0 9 9.00 0.00% 20 0 9 9.00 0.00% 21 0 28 28.00 0.00% 22 0 21 21.00 0.00% 23 0 16 16.00 0.00% Sep 10 00 0 14 14.00 0.00% 01 0 21 21.00 0.00% 02 0 39 39.00 0.00% 03 0 28 28.00 0.00% 04 0 20 20.00 0.00% 05 0 56 56.00 0.00% 06 0 12 12.00 0.00% 07 0 20 20.00 0.00% 08 0 36 36.00 0.00% 09 0 15 15.00 0.00% 10 0 27 27.00 0.00% 11 0 17 17.00 0.00% 12 0 19 19.00 0.00% 13 0 12 12.00 0.00% 14 0 10 10.00 0.00% 15 0 20 20.00 0.00% 16 0 22 22.00 0.00% 17 0 26 26.00 0.00% 18 0 10 10.00 0.00% 19 0 20 20.00 0.00% 20 0 15 15.00 0.00% 21 0 35 35.00 0.00% 22 0 21 21.00 0.00% 23 0 21 21.00 0.00% Sep 11 00 0 11 11.00 0.00% 01 0 33 33.00 0.00% 02 0 11 11.00 0.00% 03 0 24 24.00 0.00% 04 0 8 8.00 0.00% 05 0 47 47.00 0.00% 06 0 7 7.00 0.00% 07 0 20 20.00 0.00% 08 0 35 35.00 0.00% 09 0 61 61.00 0.00% 10 0 78 78.00 0.00% 11 0 19 19.00 0.00% 12 0 26 26.00 0.00% 13 0 10 10.00 0.00% 14 0 10 10.00 0.00% 15 0 22 22.00 0.00% 16 0 12 12.00 0.00% 17 0 10 10.00 0.00% 18 0 17 17.00 0.00% 19 0 12 12.00 0.00% 20 0 69 69.00 0.00% 21 0 57 57.00 0.00% 22 0 47 47.00 0.00% 23 0 41 41.00 0.00% Sep 12 00 0 45 45.00 0.00% 01 0 52 52.00 0.00% 02 0 39 39.00 0.00% 03 0 0 0.00 0.00% 04 0 0 0.00 0.00% 05 0 111 111.00 0.00% 06 0 56 56.00 0.00% 07 0 68 68.00 0.00% 08 0 78 78.00 0.00% 09 0 47 47.00 0.00% 10 0 63 63.00 0.00% 11 0 70 70.00 0.00% 12 0 47 47.00 0.00% 13 1 42 42.00 2.38% 14 0 38 38.00 0.00% 15 0 59 59.00 0.00% 16 0 87 87.00 0.00% 17 0 137 137.00 0.00% 18 0 258 258.00 0.00% 19 0 358 358.00 0.00% 20 0 335 335.00 0.00% 21 0 148 148.00 0.00% 22 0 59 59.00 0.00% 23 0 64 64.00 0.00% Sep 13 00 0 23 23.00 0.00% 01 1 271 271.00 0.37% 02 0 215 215.00 0.00% 03 0 40 40.00 0.00% 04 0 12 12.00 0.00% 05 0 58 58.00 0.00% 06 0 11 11.00 0.00% 07 0 26 26.00 0.00% 08 0 14 14.00 0.00% 09 0 39 39.00 0.00% 10 0 290 290.00 0.00% 11 0 150 150.00 0.00% 12 0 24 24.00 0.00% 13 0 5 5.00 0.00% 14 0 12 12.00 0.00% 15 0 20 20.00 0.00% 16 0 12 12.00 0.00% 17 0 3 3.00 0.00% 18 0 4 4.00 0.00% 19 0 3 3.00 0.00% 20 0 5 5.00 0.00% 21 0 4 4.00 0.00% 22 0 10 10.00 0.00% 23 0 6 6.00 0.00% Sep 14 00 0 9 9.00 0.00% 01 0 5 5.00 0.00% 02 0 10 10.00 0.00% 03 0 30 30.00 0.00% 04 0 9 9.00 0.00% 05 0 39 39.00 0.00% 06 0 5 5.00 0.00% 07 0 7 7.00 0.00% 08 0 30 30.00 0.00% 09 0 4 4.00 0.00% 10 0 7 7.00 0.00% 11 0 13 13.00 0.00% 12 0 12 12.00 0.00% 13 0 45 45.00 0.00% 14 0 14 14.00 0.00% 15 0 15 15.00 0.00% 16 0 10 10.00 0.00% 17 0 26 26.00 0.00% 18 0 43 43.00 0.00% 19 0 47 47.00 0.00% 20 0 12 12.00 0.00% 21 0 9 9.00 0.00% 22 0 13 13.00 0.00% 23 0 19 19.00 0.00% Day Hour Count Average / Second Sep 08 00 78 0.02/s 01 76 0.02/s 02 76 0.02/s 03 82 0.02/s 04 75 0.02/s 05 102 0.03/s 06 79 0.02/s 07 76 0.02/s 08 119 0.03/s 09 83 0.02/s 10 83 0.02/s 11 80 0.02/s 12 78 0.02/s 13 77 0.02/s 14 112 0.03/s 15 97 0.03/s 16 157 0.04/s 17 77 0.02/s 18 77 0.02/s 19 75 0.02/s 20 81 0.02/s 21 75 0.02/s 22 81 0.02/s 23 78 0.02/s Sep 09 00 83 0.02/s 01 68 0.02/s 02 72 0.02/s 03 76 0.02/s 04 78 0.02/s 05 107 0.03/s 06 80 0.02/s 07 88 0.02/s 08 88 0.02/s 09 80 0.02/s 10 82 0.02/s 11 80 0.02/s 12 76 0.02/s 13 78 0.02/s 14 86 0.02/s 15 83 0.02/s 16 79 0.02/s 17 76 0.02/s 18 78 0.02/s 19 76 0.02/s 20 76 0.02/s 21 110 0.03/s 22 78 0.02/s 23 81 0.02/s Sep 10 00 81 0.02/s 01 78 0.02/s 02 106 0.03/s 03 158 0.04/s 04 93 0.03/s 05 97 0.03/s 06 85 0.02/s 07 80 0.02/s 08 103 0.03/s 09 81 0.02/s 10 86 0.02/s 11 87 0.02/s 12 79 0.02/s 13 96 0.03/s 14 81 0.02/s 15 77 0.02/s 16 86 0.02/s 17 87 0.02/s 18 87 0.02/s 19 83 0.02/s 20 93 0.03/s 21 91 0.03/s 22 99 0.03/s 23 72 0.02/s Sep 11 00 88 0.02/s 01 123 0.03/s 02 158 0.04/s 03 121 0.03/s 04 127 0.04/s 05 86 0.02/s 06 92 0.03/s 07 92 0.03/s 08 114 0.03/s 09 211 0.06/s 10 301 0.08/s 11 84 0.02/s 12 88 0.02/s 13 73 0.02/s 14 77 0.02/s 15 92 0.03/s 16 99 0.03/s 17 84 0.02/s 18 75 0.02/s 19 76 0.02/s 20 101 0.03/s 21 103 0.03/s 22 90 0.03/s 23 82 0.02/s Sep 12 00 74 0.02/s 01 75 0.02/s 02 905 0.25/s 03 79 0.02/s 04 80 0.02/s 05 184 0.05/s 06 108 0.03/s 07 145 0.04/s 08 144 0.04/s 09 83 0.02/s 10 87 0.02/s 11 90 0.03/s 12 84 0.02/s 13 79 0.02/s 14 80 0.02/s 15 82 0.02/s 16 88 0.02/s 17 142 0.04/s 18 233 0.06/s 19 285 0.08/s 20 271 0.08/s 21 137 0.04/s 22 104 0.03/s 23 79 0.02/s Sep 13 00 82 0.02/s 01 257 0.07/s 02 211 0.06/s 03 92 0.03/s 04 77 0.02/s 05 91 0.03/s 06 79 0.02/s 07 71 0.02/s 08 85 0.02/s 09 87 0.02/s 10 215 0.06/s 11 155 0.04/s 12 129 0.04/s 13 81 0.02/s 14 78 0.02/s 15 76 0.02/s 16 78 0.02/s 17 71 0.02/s 18 76 0.02/s 19 75 0.02/s 20 63 0.02/s 21 72 0.02/s 22 75 0.02/s 23 81 0.02/s Sep 14 00 83 0.02/s 01 81 0.02/s 02 83 0.02/s 03 91 0.03/s 04 78 0.02/s 05 91 0.03/s 06 77 0.02/s 07 76 0.02/s 08 82 0.02/s 09 77 0.02/s 10 76 0.02/s 11 77 0.02/s 12 81 0.02/s 13 84 0.02/s 14 79 0.02/s 15 77 0.02/s 16 81 0.02/s 17 78 0.02/s 18 86 0.02/s 19 79 0.02/s 20 81 0.02/s 21 77 0.02/s 22 85 0.02/s 23 79 0.02/s Day Hour Count Average Duration Average idle time Sep 08 00 78 31m44s 31m31s 01 76 30m49s 30m49s 02 76 31m8s 31m8s 03 82 29m57s 29m56s 04 75 31m14s 31m14s 05 102 23m40s 23m38s 06 79 29m53s 29m52s 07 76 30m45s 30m44s 08 119 22m 22m 09 83 29m44s 29m44s 10 83 28m54s 28m52s 11 80 29m23s 29m23s 12 78 31m10s 31m10s 13 77 30m45s 30m45s 14 112 22m5s 22m4s 15 97 21m38s 21m37s 16 157 16m16s 16m16s 17 77 34m43s 34m43s 18 77 30m51s 30m49s 19 75 31m59s 31m58s 20 81 28m49s 28m49s 21 75 30m32s 30m32s 22 81 29m42s 29m40s 23 78 31m24s 31m23s Sep 09 00 83 30m 29m47s 01 68 31m9s 31m8s 02 72 33m2s 33m1s 03 76 31m30s 31m29s 04 78 31m45s 31m45s 05 107 22m6s 22m5s 06 80 29m7s 29m5s 07 88 28m43s 28m42s 08 88 27m20s 27m20s 09 80 30m29s 30m28s 10 82 29m51s 29m49s 11 80 29m55s 29m55s 12 76 31m34s 31m33s 13 78 30m35s 30m35s 14 86 28m11s 28m4s 15 83 29m58s 29m54s 16 79 29m59s 29m53s 17 76 31m31s 31m31s 18 78 30m45s 30m44s 19 76 32m3s 32m3s 20 76 31m39s 31m39s 21 110 20m40s 20m38s 22 78 30m43s 30m42s 23 81 30m1s 30m1s Sep 10 00 81 28m8s 27m55s 01 78 29m54s 29m54s 02 106 23m8s 23m7s 03 158 14m59s 14m58s 04 93 26m13s 26m13s 05 97 24m35s 24m34s 06 85 28m34s 28m32s 07 80 30m29s 30m29s 08 103 24m18s 24m17s 09 81 28m57s 28m57s 10 86 27m21s 27m17s 11 87 26m56s 26m56s 12 79 30m31s 30m30s 13 93 26m55s 26m54s 14 81 29m48s 29m47s 15 77 30m57s 30m56s 16 85 29m12s 29m4s 17 90 34m54s 34m54s 18 88 29m26s 29m24s 19 83 28m49s 28m49s 20 93 26m27s 26m23s 21 91 25m1s 25m 22 99 25m29s 25m28s 23 72 30m18s 30m18s Sep 11 00 88 28m1s 27m49s 01 123 20m6s 20m5s 02 158 15m6s 15m6s 03 121 20m25s 20m23s 04 127 18m7s 18m6s 05 86 28m17s 28m15s 06 92 26m5s 26m4s 07 87 28m9s 28m7s 08 119 20m32s 19m39s 09 211 12m22s 12m21s 10 301 7m38s 7m36s 11 84 29m18s 29m16s 12 88 27m49s 27m48s 13 73 32m36s 32m36s 14 76 31m22s 31m20s 15 92 26m24s 26m23s 16 99 24m31s 24m31s 17 84 28m49s 28m48s 18 76 32m32s 32m29s 19 92 31m8s 31m8s 20 59 19m57s 19m52s 21 103 24m20s 24m17s 22 90 23m30s 23m29s 23 82 31m10s 31m9s Sep 12 00 74 32m2s 31m46s 01 75 31m28s 31m26s 02 905 3m15s 3m11s 03 79 30m44s 30m44s 04 80 30m39s 30m39s 05 184 16m14s 16m12s 06 108 20m47s 20m45s 07 127 20m13s 20m10s 08 162 15m54s 15m52s 09 83 28m54s 28m52s 10 87 27m 26m56s 11 90 26m31s 26m28s 12 84 29m36s 29m34s 13 79 43m3s 43m2s 14 78 29m17s 29m14s 15 82 31m30s 31m28s 16 88 27m50s 27m47s 17 142 17m46s 17m28s 18 232 10m40s 10m16s 19 284 11m8s 10m40s 20 273 10m40s 10m14s 21 137 15m29s 15m7s 22 104 22m18s 22m14s 23 79 29m30s 29m28s Sep 13 00 82 30m42s 30m29s 01 257 12m27s 12m 02 211 11m35s 11m11s 03 92 23m33s 23m24s 04 77 30m28s 30m27s 05 91 28m10s 28m9s 06 79 30m44s 30m42s 07 71 32m46s 32m45s 08 85 29m45s 29m44s 09 87 27m59s 27m53s 10 215 11m24s 10m59s 11 155 15m27s 15m10s 12 129 18m37s 18m34s 13 80 29m54s 29m54s 14 79 30m2s 30m 15 75 32m18s 32m17s 16 79 31m13s 31m12s 17 71 34m6s 34m6s 18 76 31m50s 31m49s 19 75 33m58s 33m58s 20 63 33m2s 33m2s 21 72 32m50s 32m50s 22 75 32m27s 32m26s 23 81 30m26s 30m26s Sep 14 00 83 29m4s 28m51s 01 81 29m 29m 02 83 29m47s 29m43s 03 91 25m39s 25m36s 04 78 30m18s 30m18s 05 91 26m44s 26m43s 06 77 31m23s 31m23s 07 76 31m36s 31m36s 08 82 30m8s 30m7s 09 77 30m58s 30m58s 10 76 30m49s 30m49s 11 77 31m30s 31m30s 12 81 30m10s 30m10s 13 84 28m47s 28m45s 14 79 31m56s 31m56s 15 77 31m33s 31m33s 16 81 30m22s 30m21s 17 78 30m36s 30m35s 18 84 29m38s 29m25s 19 81 28m5s 26m50s 20 81 29m33s 29m29s 21 77 28m38s 28m38s 22 85 28m51s 28m50s 23 79 30m24s 30m23s -
Connections
Established Connections
Key values
- 77 connections Connection Peak
- 2024-09-12 02:34:43 Date
Connections per database
Key values
- ctdprd51 Main Database
- 16,950 connections Total
Connections per user
Key values
- pubeu Main User
- 16,950 connections Total
-
Sessions
Simultaneous sessions
Key values
- 102 sessions Session Peak
- 2024-09-12 02:25:11 Date
Histogram of session times
Key values
- 11,872 1800000-3600000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 16,922 sessions Total
Sessions per user
Key values
- pubeu Main User
- 16,922 sessions Total
Sessions per host
Key values
- 10.12.5.37 Main Host
- 16,922 sessions Total
Host Count Total Duration Average Duration 10.12.5.170 5 7m46s 1m33s 10.12.5.37 6,295 56d23h40m57s 13m2s 10.12.5.38 2,644 55d20h53m51s 30m25s 10.12.5.39 2,600 55d22h37m33s 30m59s 10.12.5.40 21 35m55s 1m42s 10.12.5.45 2,656 55d19h48m34s 30m16s 10.12.5.46 2,617 55d17h37m3s 30m40s 192.168.201.18 3 13h20s 4h20m6s 192.168.201.22 1 2h29m17s 2h29m17s 192.168.201.26 1 3h55m48s 3h55m48s ::1 79 2d13h56m13s 47m2s -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 157,449 buffers Checkpoint Peak
- 2024-09-11 09:42:56 Date
- 1619.976 seconds Highest write time
- 0.043 seconds Sync time
Checkpoints Wal files
Key values
- 67 files Wal files usage Peak
- 2024-09-13 04:28:15 Date
Checkpoints distance
Key values
- 2,134.54 Mo Distance Peak
- 2024-09-10 23:42:55 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Sep 08 00 1,067 119.32s 0.004s 119.353s 01 127 12.805s 0.002s 12.835s 02 1,856 186.127s 0.003s 186.215s 03 523 52.389s 0.004s 52.424s 04 435 43.567s 0.003s 43.6s 05 208 21.026s 0.002s 21.058s 06 160 16.204s 0.003s 16.237s 07 75 7.599s 0.001s 7.615s 08 15,711 1,573.755s 0.005s 1,574.041s 09 5,700 570.402s 0.003s 570.454s 10 622 62.495s 0.002s 62.579s 11 14,091 1,411.489s 0.004s 1,411.674s 12 250 25.224s 0.002s 25.254s 13 148 15.01s 0.002s 15.04s 14 154 15.504s 0.002s 15.534s 15 6,605 661.594s 0.003s 661.699s 16 443 44.569s 0.002s 44.603s 17 58,126 1,632.422s 0.003s 1,632.88s 18 154 15.605s 0.002s 15.69s 19 172 17.422s 0.002s 17.456s 20 134 13.609s 0.002s 13.638s 21 189 19.155s 0.002s 19.185s 22 171 17.307s 0.002s 17.338s 23 141 14.311s 0.002s 14.341s Sep 09 00 1,104 121.033s 0.004s 121.066s 01 153 15.509s 0.002s 15.54s 02 2,319 232.507s 0.003s 232.593s 03 216 21.822s 0.002s 21.851s 04 3,332 333.869s 0.002s 333.961s 05 145 14.623s 0.001s 14.642s 06 59,916 2,607.862s 0.008s 2,608.182s 07 1,444 144.875s 0.002s 144.907s 08 174 17.62s 0.002s 17.651s 09 272 27.428s 0.002s 27.459s 10 227 22.93s 0.002s 22.961s 11 518 51.987s 0.002s 52.067s 12 4,657 466.428s 0.003s 466.491s 13 439 44.214s 0.002s 44.247s 14 1,559 156.417s 0.003s 156.505s 15 350 35.259s 0.002s 35.29s 16 332 33.453s 0.002s 33.484s 17 774 77.735s 0.002s 77.819s 18 238 24.015s 0.002s 24.046s 19 177 17.918s 0.002s 17.948s 20 283 28.545s 0.002s 28.576s 21 5,486 549.406s 0.002s 549.492s 22 106,794 1,635.342s 0.004s 1,635.408s 23 268 27.032s 0.002s 27.063s Sep 10 00 742 74.548s 0.004s 74.581s 01 61,344 1,626.992s 0.003s 1,627.539s 02 1,999 200.381s 0.002s 200.445s 03 63,672 1,761.974s 0.004s 1,762.438s 04 4,625 463.352s 0.003s 463.443s 05 6,455 646.857s 0.003s 646.975s 06 1,304 130.651s 0.003s 130.731s 07 1,908 191.359s 0.003s 191.39s 08 1,210 121.338s 0.002s 121.401s 09 47,956 1,645.796s 0.004s 1,646.223s 10 203 20.544s 0.002s 20.583s 11 381 38.371s 0.003s 38.402s 12 119 12.112s 0.003s 12.144s 13 306 30.851s 0.002s 30.881s 14 2,322 232.683s 0.003s 232.762s 15 575 57.794s 0.002s 57.828s 16 206 20.839s 0.002s 20.868s 17 176 17.826s 0.002s 17.857s 18 167 16.911s 0.002s 16.942s 19 225 22.728s 0.002s 22.759s 20 142 14.402s 0.002s 14.432s 21 145 14.744s 0.002s 14.774s 22 270 27.229s 0.002s 27.259s 23 124,446 1,791.103s 0.004s 1,791.966s Sep 11 00 723 72.629s 0.004s 72.71s 01 206 20.831s 0.002s 20.862s 02 489 49.194s 0.003s 49.224s 03 4,757 476.615s 0.003s 476.706s 04 643 64.647s 0.003s 64.679s 05 153 15.408s 0.002s 15.439s 06 14,211 1,423.706s 0.003s 1,423.887s 07 1,770 177.539s 0.003s 177.571s 08 24 2.501s 0.001s 2.517s 09 207,021 3,238.739s 0.013s 3,239.774s 10 50,220 1,637.669s 0.003s 1,637.732s 11 875 87.757s 0.002s 87.773s 12 68,376 1,852.65s 0.006s 1,853.214s 13 2,526 253.176s 0.003s 253.227s 14 428 43.072s 0.003s 43.104s 15 393 39.459s 0.003s 39.491s 16 325 32.752s 0.002s 32.785s 17 404 40.676s 0.002s 40.756s 18 455 45.584s 0.004s 45.616s 19 341 34.351s 0.002s 34.381s 20 774 77.54s 0.001s 77.56s 21 397 39.845s 0.002s 39.875s 22 1,985 199.24s 0.002s 199.317s 23 368 37.042s 0.003s 37.073s Sep 12 00 1,294 129.745s 0.004s 129.818s 01 955 95.856s 0.002s 95.937s 02 243 24.545s 0.002s 24.575s 03 0 0s 0s 0s 04 0 0s 0s 0s 05 0 0s 0s 0s 06 2,610 261.571s 0.002s 261.65s 07 940 94.402s 0.002s 94.436s 08 50,175 1,632.12s 0.003s 1,632.59s 09 416 41.787s 0.002s 41.817s 10 3,275 328.565s 0.044s 328.737s 11 922 92.448s 0.002s 92.48s 12 33,091 1,631.974s 0.002s 1,632.302s 13 1,357 136.143s 0.003s 136.174s 14 308 31.036s 0.002s 31.08s 15 961 96.368s 0.003s 96.4s 16 407 40.984s 0.002s 41.014s 17 312 31.545s 0.002s 31.578s 18 260 26.224s 0.003s 26.254s 19 304 30.725s 0.002s 30.757s 20 514 52.008s 0.002s 52.041s 21 1,067 106.965s 0.003s 107.048s 22 409 41.332s 0.002s 41.579s 23 296 29.83s 0.002s 29.862s Sep 13 00 50,948 1,681.162s 0.006s 1,681.638s 01 653 65.703s 0.042s 65.838s 02 3,493 350.62s 0.003s 350.681s 03 2,918 292.415s 0.003s 292.494s 04 120,796 2,095.342s 0.004s 2,096.206s 05 503 50.578s 0.002s 50.61s 06 10,192 1,021.574s 0.003s 1,021.723s 07 689 69.215s 0.002s 69.245s 08 2,171 217.707s 0.003s 217.788s 09 317 31.855s 0.002s 31.884s 10 470 47.406s 0.004s 47.438s 11 149,473 1,711.741s 0.004s 1,712.304s 12 3,372 338.017s 0.004s 338.141s 13 983 98.679s 0.003s 98.71s 14 3,661 366.987s 0.003s 367.045s 15 571 57.282s 0.002s 57.311s 16 1,399 139.861s 0.002s 139.94s 17 636 63.795s 0.003s 63.826s 18 219 22.109s 0.002s 22.14s 19 352 35.436s 0.002s 35.467s 20 284 28.629s 0.004s 28.661s 21 4,587 459.33s 0.004s 459.433s 22 212 21.411s 0.002s 21.441s 23 326 32.831s 0.002s 32.86s Sep 14 00 1,921 192.634s 0.004s 192.753s 01 138 14.002s 0.002s 14.033s 02 9,992 1,001.018s 0.003s 1,001.157s 03 5,627 563.827s 0.002s 563.946s 04 303 30.434s 0.002s 30.465s 05 5,190 520.077s 0.002s 520.165s 06 272 27.338s 0.002s 27.37s 07 118 11.996s 0.002s 12.026s 08 1,233 123.72s 0.002s 123.8s 09 86 8.792s 0.002s 8.822s 10 49,196 1,624.36s 0.003s 1,624.819s 11 173 17.511s 0.002s 17.542s 12 64,374 1,623.944s 0.002s 1,624.446s 13 282 28.424s 0.002s 28.454s 14 1,294 129.804s 0.002s 129.835s 15 271 27.332s 0.002s 27.361s 16 101 10.294s 0.002s 10.326s 17 115 11.695s 0.002s 11.727s 18 255 25.726s 0.002s 25.757s 19 346 34.858s 0.002s 34.888s 20 33,724 1,619.542s 0.001s 1,619.638s 21 6,610 662.273s 0.002s 662.303s 22 251 25.32s 0.002s 25.35s 23 2,066 207.135s 0.002s 207.167s Day Hour Added Removed Recycled Synced files Longest sync Average sync Sep 08 00 0 0 0 68 0.001s 0.002s 01 0 0 0 27 0.001s 0.002s 02 0 0 1 50 0.001s 0.002s 03 0 0 0 40 0.001s 0.002s 04 0 0 0 41 0.001s 0.002s 05 0 0 0 27 0.001s 0.002s 06 0 0 0 27 0.001s 0.002s 07 0 0 0 10 0.001s 0.001s 08 0 1 13 101 0.001s 0.003s 09 0 0 1 106 0.001s 0.002s 10 0 0 1 65 0.001s 0.002s 11 0 0 9 41 0.001s 0.002s 12 0 0 0 27 0.001s 0.002s 13 0 0 0 22 0.001s 0.002s 14 0 0 0 24 0.001s 0.002s 15 0 0 3 33 0.001s 0.002s 16 0 0 0 30 0.001s 0.002s 17 0 0 33 41 0.001s 0.002s 18 0 0 1 20 0.001s 0.002s 19 0 0 0 20 0.001s 0.002s 20 0 0 0 20 0.001s 0.002s 21 0 0 0 28 0.001s 0.002s 22 0 0 0 23 0.001s 0.002s 23 0 0 0 21 0.001s 0.002s Sep 09 00 0 0 0 77 0.001s 0.002s 01 0 0 0 30 0.001s 0.002s 02 0 0 1 43 0.001s 0.002s 03 0 0 0 43 0.001s 0.002s 04 0 0 2 39 0.001s 0.002s 05 0 0 0 18 0.001s 0.001s 06 0 28 12 231 0.005s 0.003s 07 0 0 0 131 0.001s 0.002s 08 0 0 0 29 0.001s 0.002s 09 0 0 0 34 0.001s 0.002s 10 0 0 0 36 0.001s 0.002s 11 0 0 1 77 0.001s 0.002s 12 0 0 2 75 0.001s 0.002s 13 0 0 0 120 0.001s 0.002s 14 0 0 1 127 0.001s 0.002s 15 0 0 0 107 0.001s 0.002s 16 0 0 0 109 0.001s 0.002s 17 0 0 1 117 0.001s 0.002s 18 0 0 0 69 0.001s 0.002s 19 0 0 0 20 0.001s 0.002s 20 0 0 0 35 0.001s 0.002s 21 0 0 3 23 0.001s 0.001s 22 0 0 1 46 0.001s 0.003s 23 0 0 0 29 0.001s 0.002s Sep 10 00 0 0 0 76 0.001s 0.002s 01 0 0 40 49 0.001s 0.002s 02 0 0 1 31 0.001s 0.001s 03 0 0 34 79 0.001s 0.003s 04 0 0 2 52 0.001s 0.002s 05 0 0 4 54 0.001s 0.002s 06 0 0 1 94 0.001s 0.002s 07 0 0 0 129 0.001s 0.002s 08 0 0 1 67 0.001s 0.001s 09 0 0 32 156 0.001s 0.003s 10 0 0 0 27 0.001s 0.002s 11 0 0 0 114 0.001s 0.002s 12 0 0 0 25 0.001s 0.002s 13 0 0 0 74 0.001s 0.002s 14 0 0 1 120 0.001s 0.002s 15 0 0 0 87 0.001s 0.002s 16 0 0 0 19 0.001s 0.002s 17 0 0 0 20 0.001s 0.002s 18 0 0 0 26 0.001s 0.002s 19 0 0 0 28 0.001s 0.002s 20 0 0 0 23 0.001s 0.002s 21 0 0 0 20 0.001s 0.002s 22 0 0 0 30 0.001s 0.002s 23 0 0 67 53 0.001s 0.002s Sep 11 00 0 0 1 74 0.001s 0.002s 01 0 0 0 32 0.001s 0.002s 02 0 0 0 47 0.001s 0.002s 03 0 0 2 59 0.001s 0.002s 04 0 0 0 43 0.001s 0.002s 05 0 0 0 23 0.001s 0.002s 06 0 0 9 103 0.001s 0.002s 07 0 0 0 37 0.001s 0.002s 08 0 0 0 11 0.001s 0.001s 09 0 0 81 73 0.004s 0.002s 10 0 0 2 134 0.001s 0.002s 11 0 0 0 80 0.001s 0.001s 12 0 0 37 193 0.001s 0.003s 13 0 0 1 130 0.001s 0.002s 14 0 0 0 118 0.001s 0.002s 15 0 0 0 75 0.001s 0.002s 16 0 0 0 27 0.001s 0.002s 17 0 0 1 31 0.001s 0.002s 18 0 0 0 42 0.001s 0.002s 19 0 0 0 26 0.001s 0.002s 20 0 0 0 32 0.001s 0.001s 21 0 0 0 29 0.001s 0.002s 22 0 0 1 38 0.001s 0.002s 23 0 0 0 32 0.001s 0.002s Sep 12 00 0 0 0 83 0.001s 0.002s 01 0 0 1 60 0.001s 0.002s 02 0 0 0 33 0.001s 0.002s 03 0 0 0 0 0s 0s 04 0 0 0 0 0s 0s 05 0 0 0 0 0s 0s 06 0 0 1 57 0.001s 0.002s 07 0 0 0 48 0.001s 0.002s 08 0 0 34 48 0.002s 0.002s 09 0 0 0 113 0.001s 0.002s 10 0 0 1 133 0.042s 0.002s 11 0 0 0 150 0.001s 0.002s 12 0 0 22 50 0.001s 0.002s 13 0 0 0 84 0.001s 0.002s 14 0 0 1 36 0.001s 0.002s 15 0 0 0 197 0.001s 0.002s 16 0 0 0 28 0.001s 0.002s 17 0 0 0 29 0.001s 0.002s 18 0 0 0 27 0.001s 0.002s 19 0 0 0 29 0.001s 0.002s 20 0 0 0 33 0.001s 0.002s 21 0 0 1 37 0.002s 0.002s 22 0 0 0 30 0.001s 0.002s 23 0 0 0 25 0.001s 0.002s Sep 13 00 0 0 34 95 0.001s 0.002s 01 0 0 0 42 0.022s 0.003s 02 0 0 2 55 0.001s 0.002s 03 0 0 1 55 0.001s 0.002s 04 0 0 67 59 0.001s 0.002s 05 0 0 0 43 0.001s 0.002s 06 0 0 7 150 0.001s 0.002s 07 0 0 0 82 0.001s 0.002s 08 0 0 1 131 0.001s 0.002s 09 0 0 0 85 0.001s 0.002s 10 0 0 0 117 0.001s 0.002s 11 0 0 34 156 0.001s 0.002s 12 0 0 2 154 0.001s 0.002s 13 0 0 0 132 0.001s 0.002s 14 0 0 2 86 0.002s 0.002s 15 0 0 0 77 0.001s 0.002s 16 0 0 1 119 0.001s 0.002s 17 0 0 0 85 0.001s 0.002s 18 0 0 0 28 0.001s 0.002s 19 0 0 0 23 0.001s 0.002s 20 0 0 0 31 0.002s 0.002s 21 0 0 3 34 0.001s 0.002s 22 0 0 0 21 0.001s 0.002s 23 0 0 0 29 0.001s 0.002s Sep 14 00 0 0 1 73 0.001s 0.002s 01 0 0 0 27 0.001s 0.002s 02 0 0 6 42 0.002s 0.002s 03 0 0 4 49 0.001s 0.002s 04 0 0 0 39 0.001s 0.002s 05 0 0 2 52 0.001s 0.002s 06 0 0 0 38 0.001s 0.002s 07 0 0 0 22 0.001s 0.002s 08 0 0 1 32 0.001s 0.002s 09 0 0 0 20 0.001s 0.002s 10 0 0 33 35 0.002s 0.002s 11 0 0 0 29 0.001s 0.002s 12 0 0 37 39 0.001s 0.002s 13 0 0 0 37 0.001s 0.002s 14 0 0 0 30 0.001s 0.002s 15 0 0 0 32 0.001s 0.002s 16 0 0 0 20 0.001s 0.002s 17 0 0 0 20 0.001s 0.002s 18 0 0 0 25 0.001s 0.002s 19 0 0 0 25 0.001s 0.002s 20 0 0 4 21 0.001s 0.001s 21 0 0 0 33 0.001s 0.002s 22 0 0 0 28 0.001s 0.002s 23 0 0 0 41 0.001s 0.002s Day Hour Count Avg time (sec) Sep 08 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Sep 09 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 Sep 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 Sep 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 Sep 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 Sep 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 Sep 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 Day Hour Mean distance Mean estimate Sep 08 00 3,565.00 kB 54,161.50 kB 01 182.00 kB 43,964.50 kB 02 7,062.00 kB 36,334.50 kB 03 1,970.00 kB 30,331.50 kB 04 1,506.00 kB 24,892.00 kB 05 372.00 kB 20,260.00 kB 06 113.00 kB 16,456.00 kB 07 182.00 kB 14,055.00 kB 08 53,018.67 kB 93,201.33 kB 09 42,852.00 kB 83,045.00 kB 10 639.00 kB 67,404.50 kB 11 73,933.00 kB 96,827.00 kB 12 283.50 kB 80,658.00 kB 13 168.50 kB 65,365.50 kB 14 180.00 kB 52,979.50 kB 15 29,088.00 kB 51,535.50 kB 16 396.00 kB 49,535.00 kB 17 272,539.00 kB 517,645.00 kB 18 177.00 kB 419,327.00 kB 19 177.00 kB 339,689.50 kB 20 201.00 kB 275,184.50 kB 21 258.00 kB 222,942.50 kB 22 259.00 kB 180,636.50 kB 23 214.50 kB 146,358.50 kB Sep 09 00 3,654.50 kB 119,188.50 kB 01 203.00 kB 96,631.50 kB 02 7,205.00 kB 79,652.00 kB 03 471.00 kB 64,587.50 kB 04 14,541.00 kB 53,798.50 kB 05 567.00 kB 47,300.00 kB 06 217,664.67 kB 382,063.00 kB 07 4,480.00 kB 423,411.50 kB 08 368.50 kB 343,379.00 kB 09 597.50 kB 278,249.50 kB 10 428.50 kB 225,462.50 kB 11 1,156.50 kB 182,758.00 kB 12 22,882.50 kB 152,468.50 kB 13 1,052.00 kB 123,651.00 kB 14 4,997.00 kB 100,751.00 kB 15 873.50 kB 82,130.00 kB 16 845.00 kB 66,717.00 kB 17 2,321.50 kB 54,465.50 kB 18 396.00 kB 44,225.50 kB 19 151.50 kB 35,852.50 kB 20 451.00 kB 29,123.00 kB 21 57,942.00 kB 57,942.00 kB 22 2,831.00 kB 47,850.00 kB 23 489.50 kB 36,794.50 kB Sep 10 00 2,154.00 kB 30,150.00 kB 01 326,080.00 kB 619,212.50 kB 02 12,217.00 kB 529,200.00 kB 03 185,438.00 kB 494,974.00 kB 04 23,086.50 kB 384,106.50 kB 05 32,271.00 kB 317,244.50 kB 06 3,641.50 kB 257,661.50 kB 07 5,626.00 kB 209,789.50 kB 08 7,179.00 kB 179,615.00 kB 09 172,783.67 kB 467,039.00 kB 10 381.50 kB 358,168.00 kB 11 959.00 kB 290,249.50 kB 12 202.00 kB 235,191.00 kB 13 579.00 kB 190,602.00 kB 14 7,576.50 kB 155,201.50 kB 15 1,361.50 kB 126,528.50 kB 16 169.50 kB 102,601.00 kB 17 195.00 kB 83,144.50 kB 18 195.00 kB 67,383.50 kB 19 404.00 kB 54,659.50 kB 20 173.00 kB 44,307.00 kB 21 220.50 kB 35,927.00 kB 22 464.00 kB 29,191.00 kB 23 551,521.00 kB 1,038,748.50 kB Sep 11 00 2,067.50 kB 842,168.00 kB 01 235.00 kB 682,250.50 kB 02 1,021.50 kB 552,748.00 kB 03 16,154.00 kB 450,751.50 kB 04 1,549.50 kB 365,416.00 kB 05 392.50 kB 296,145.50 kB 06 69,974.50 kB 253,171.50 kB 07 5,349.00 kB 206,112.00 kB 08 81.00 kB 175,755.00 kB 09 402,297.50 kB 529,773.00 kB 10 275,470.50 kB 522,372.50 kB 11 5,627.00 kB 446,008.00 kB 12 201,012.33 kB 532,288.33 kB 13 8,098.00 kB 410,409.00 kB 14 1,079.00 kB 332,630.50 kB 15 921.00 kB 269,631.00 kB 16 646.00 kB 218,520.00 kB 17 816.50 kB 177,137.00 kB 18 1,164.50 kB 143,686.50 kB 19 774.00 kB 116,540.50 kB 20 4,001.00 kB 4,001.00 kB 21 856.50 kB 3,533.00 kB 22 6,338.00 kB 7,641.50 kB 23 735.50 kB 10,514.00 kB Sep 12 00 4,159.00 kB 9,242.50 kB 01 2,524.50 kB 7,923.00 kB 02 602.00 kB 6,642.00 kB 03 0.00 kB 0.00 kB 04 0.00 kB 0.00 kB 05 0.00 kB 0.00 kB 06 8,365.00 kB 15,110.50 kB 07 2,650.00 kB 12,582.50 kB 08 275,117.50 kB 521,770.00 kB 09 1,184.00 kB 422,859.00 kB 10 10,739.50 kB 343,696.50 kB 11 2,874.00 kB 279,714.50 kB 12 177,095.00 kB 335,637.50 kB 13 4,049.00 kB 272,326.50 kB 14 703.00 kB 221,047.00 kB 15 3,651.50 kB 179,637.00 kB 16 746.00 kB 145,757.00 kB 17 597.50 kB 118,157.00 kB 18 490.50 kB 95,815.50 kB 19 733.50 kB 77,753.00 kB 20 989.50 kB 63,136.50 kB 21 2,995.00 kB 51,525.50 kB 22 737.50 kB 42,090.00 kB 23 479.00 kB 34,183.00 kB Sep 13 00 279,362.50 kB 528,780.00 kB 01 957.50 kB 428,537.00 kB 02 12,478.50 kB 348,454.00 kB 03 8,859.50 kB 284,702.50 kB 04 550,778.50 kB 1,004,556.00 kB 05 1,276.50 kB 815,996.50 kB 06 52,508.50 kB 670,903.00 kB 07 2,163.50 kB 543,738.50 kB 08 6,434.50 kB 441,274.00 kB 09 775.00 kB 358,083.50 kB 10 1,148.00 kB 290,257.50 kB 11 281,627.00 kB 529,481.50 kB 12 11,115.00 kB 430,784.00 kB 13 3,129.00 kB 349,937.00 kB 14 16,035.00 kB 285,176.00 kB 15 1,730.50 kB 232,687.50 kB 16 5,144.50 kB 189,238.00 kB 17 1,898.50 kB 153,876.50 kB 18 322.00 kB 124,703.50 kB 19 459.00 kB 101,094.50 kB 20 636.00 kB 82,010.00 kB 21 23,062.50 kB 70,808.50 kB 22 386.00 kB 57,428.50 kB 23 579.50 kB 46,629.50 kB Sep 14 00 5,685.00 kB 38,781.00 kB 01 204.00 kB 31,517.50 kB 02 51,963.50 kB 98,650.50 kB 03 29,373.50 kB 82,866.00 kB 04 817.50 kB 69,848.50 kB 05 19,551.50 kB 60,303.00 kB 06 569.00 kB 48,978.00 kB 07 126.00 kB 39,709.00 kB 08 3,365.00 kB 32,803.00 kB 09 104.50 kB 26,592.50 kB 10 269,070.50 kB 511,120.50 kB 11 288.50 kB 414,063.50 kB 12 302,404.50 kB 574,443.50 kB 13 661.00 kB 465,392.00 kB 14 4,787.50 kB 377,501.50 kB 15 391.50 kB 306,257.50 kB 16 131.50 kB 248,094.50 kB 17 144.50 kB 200,984.00 kB 18 139.00 kB 162,824.00 kB 19 293.50 kB 131,942.50 kB 20 121.00 kB 112,518.00 kB 21 26,087.50 kB 101,150.00 kB 22 433.00 kB 81,994.00 kB 23 6,132.50 kB 67,604.50 kB -
Temporary Files
Size of temporary files
Key values
- 0 Temp Files size Peak
- Date
Size of temporary files (5 minutes period)
NO DATASET
Number of temporary files
Key values
- 0 per second Temp Files Peak
- Date
Number of temporary files (5 minutes period)
NO DATASET
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Sep 08 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Sep 09 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 Sep 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 Sep 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 Sep 12 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 Sep 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 Sep 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 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 36.15 sec Highest CPU-cost vacuum
Table pub2.term_set_enrichment_agent
Database ctdprd51 - 2024-09-13 10:46:49 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 36.15 sec Highest CPU-cost vacuum
Table pub2.term_set_enrichment_agent
Database ctdprd51 - 2024-09-13 10:46:49 Date
Analyzes per table
Key values
- pubc.log_query (175) Main table analyzed (database ctdprd51)
- 200 analyzes Total
Table Number of analyzes ctdprd51.pubc.log_query 175 ctdprd51.pub2.term_set_enrichment_agent 6 ctdprd51.pub2.term_set_enrichment 5 ctdprd51.pub2.term_comp_agent 5 ctdprd51.edit.tm_reference_term 3 ctdprd51.pub2.term_comp 3 ctdprd51.pg_catalog.pg_attribute 1 ctdprd51.pg_catalog.pg_class 1 ctdprd51.edit.tm_reference 1 Total 200 Vacuums per table
Key values
- pubc.log_query (33) Main table vacuumed on database ctdprd51
- 52 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 33 26 13,445 0 2,100 0 57 3,500 760 5,369,418 ctdprd51.pub2.term_comp_agent 3 0 1,012 0 57 0 0 380 5 55,533 ctdprd51.pg_catalog.pg_statistic 3 3 1,743 0 312 0 73 964 290 1,324,812 ctdprd51.pub2.term_set_enrichment_agent 3 0 768,616 0 386,760 0 0 397,353 19 23,591,698 ctdprd51.pub2.term_set_enrichment 2 0 11,515 0 5,024 0 0 5,650 4 358,044 ctdprd51.pg_toast.pg_toast_486223 2 0 57 0 4 0 0 3 1 8,632 ctdprd51.edit.tm_reference_term 2 1 1,164 0 175 0 0 566 85 313,206 ctdprd51.pub2.term_comp 2 0 342 0 32 0 0 46 4 27,408 ctdprd51.pg_toast.pg_toast_2619 1 1 2,030 0 2,168 0 9,956 3,313 1,078 616,821 ctdprd51.edit.tm_reference 1 0 685 0 271 0 0 291 3 31,520 Total 52 31 800,609 52,160 396,903 0 10,086 412,066 2,249 31,697,092 Tuples removed per table
Key values
- pg_toast.pg_toast_2619 (4129) Main table with removed tuples on database ctdprd51
- 8557 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pg_toast.pg_toast_2619 1 1 4,129 20,218 0 0 12,592 ctdprd51.edit.tm_reference_term 2 1 2,738 52,671 0 0 775 ctdprd51.pg_catalog.pg_statistic 3 3 1,433 7,470 0 0 870 ctdprd51.pubc.log_query 33 26 255 132,477 0 0 4,039 ctdprd51.edit.tm_reference 1 0 2 1,329 0 0 291 ctdprd51.pub2.term_comp_agent 3 0 0 72,268 0 0 623 ctdprd51.pub2.term_set_enrichment 2 0 0 1,647,192 0 0 27,245 ctdprd51.pg_toast.pg_toast_486223 2 0 0 2 0 0 1 ctdprd51.pub2.term_comp 2 0 0 7,187 0 0 69 ctdprd51.pub2.term_set_enrichment_agent 3 0 0 186,496,940 0 0 2,119,289 Total 52 31 8,557 188,437,754 0 0 2,165,794 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.pub2.term_comp_agent 3 0 0 0 ctdprd51.pub2.term_set_enrichment 2 0 0 0 ctdprd51.pg_toast.pg_toast_2619 1 1 4129 0 ctdprd51.pg_toast.pg_toast_486223 2 0 0 0 ctdprd51.pubc.log_query 33 26 255 0 ctdprd51.pg_catalog.pg_statistic 3 3 1433 0 ctdprd51.edit.tm_reference_term 2 1 2738 0 ctdprd51.pub2.term_comp 2 0 0 0 ctdprd51.edit.tm_reference 1 0 2 0 ctdprd51.pub2.term_set_enrichment_agent 3 0 0 0 Total 52 31 8,557 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Sep 08 00 0 0 01 0 2 02 0 12 03 0 10 04 0 3 05 0 1 06 0 0 07 0 0 08 0 1 09 0 0 10 0 0 11 0 0 12 0 0 13 0 0 14 0 0 15 0 1 16 0 0 17 0 1 18 0 0 19 0 0 20 0 0 21 0 0 22 0 0 23 0 0 Sep 09 00 0 1 01 0 1 02 0 2 03 0 2 04 0 2 05 0 5 06 0 1 07 0 1 08 0 0 09 0 0 10 0 1 11 0 1 12 0 0 13 0 1 14 0 0 15 0 1 16 0 0 17 0 0 18 0 0 19 0 1 20 0 0 21 0 0 22 0 0 23 0 1 Sep 10 00 0 2 01 0 2 02 0 3 03 0 1 04 0 2 05 0 3 06 0 1 07 0 1 08 0 2 09 0 1 10 0 0 11 0 1 12 0 0 13 0 1 14 0 0 15 0 1 16 0 0 17 0 0 18 0 1 19 0 0 20 0 0 21 0 0 22 0 1 23 0 1 Sep 11 00 0 1 01 0 2 02 0 2 03 0 3 04 0 1 05 0 2 06 0 1 07 0 0 08 0 2 09 0 2 10 0 2 11 0 2 12 0 1 13 0 1 14 0 1 15 0 1 16 0 1 17 0 1 18 0 2 19 0 1 20 0 1 21 0 1 22 0 1 23 0 1 Sep 12 00 0 4 01 0 3 02 0 1 03 0 0 04 0 0 05 0 3 06 0 3 07 0 2 08 0 2 09 0 1 10 0 1 11 0 2 12 0 2 13 0 0 14 0 1 15 0 1 16 0 0 17 0 1 18 0 1 19 0 0 20 0 1 21 0 1 22 0 0 23 0 0 Sep 13 00 0 5 01 0 5 02 0 3 03 0 4 04 0 1 05 0 2 06 0 1 07 0 1 08 0 1 09 0 2 10 0 1 11 0 1 12 0 0 13 0 1 14 0 4 15 0 1 16 0 4 17 0 0 18 0 0 19 0 1 20 0 0 21 0 0 22 0 1 23 0 0 Sep 14 00 0 1 01 0 3 02 0 1 03 0 2 04 0 6 05 0 2 06 0 1 07 0 0 08 0 0 09 0 0 10 0 1 11 0 0 12 0 1 13 0 1 14 0 2 15 0 0 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 0 0 22 0 1 23 0 0 - 36.15 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
- 5,902 Total read queries
- 356 Total write queries
Queries by database
Key values
- unknown Main database
- 3,310 Requests
- 12h34m21s (ctdprd51)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 7,115 Requests
User Request type Count Duration editeu Total 19 45s845ms select 19 45s845ms load Total 27 3m56s select 27 3m56s postgres Total 108 43m7s copy to 108 43m7s pubeu Total 5,853 23h11m31s cte 43 2m19s select 5,810 23h9m12s qaeu Total 75 3m8s cte 17 56s675ms select 58 2m11s unknown Total 7,115 1d1h56m16s copy to 696 6h33m20s cte 46 1m12s others 9 43s958ms select 6,364 19h20m59s zbx_monitor Total 21 34s592ms select 21 34s592ms Duration by user
Key values
- 1d1h56m16s (unknown) Main time consuming user
User Request type Count Duration editeu Total 19 45s845ms select 19 45s845ms load Total 27 3m56s select 27 3m56s postgres Total 108 43m7s copy to 108 43m7s pubeu Total 5,853 23h11m31s cte 43 2m19s select 5,810 23h9m12s qaeu Total 75 3m8s cte 17 56s675ms select 58 2m11s unknown Total 7,115 1d1h56m16s copy to 696 6h33m20s cte 46 1m12s others 9 43s958ms select 6,364 19h20m59s zbx_monitor Total 21 34s592ms select 21 34s592ms Queries by host
Key values
- unknown Main host
- 13,218 Requests
- 2d1h59m21s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 6,216 Requests
- 1d20m56s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2024-09-10 08:25:36 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 3,893 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 25m56s 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 = '2086129') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2024-09-11 08:13:22 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
2 25m54s 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 = '2086129') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2024-09-11 08:13:23 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
3 25m53s 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 = '2086129') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2024-09-11 08:13:23 - Bind query: yes ]
4 25m53s 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 = '2086129') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2024-09-11 08:13:23 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
5 23m42s COPY pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;[ Date: 2024-09-14 19:42:59 ]
6 23m39s COPY pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;[ Date: 2024-09-14 19:00:34 ]
7 17m56s 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 = '1239879') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-09-14 19:04:08 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
8 17m9s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-09-14 00:17:11 ]
9 17m4s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-09-13 00:17:06 ]
10 16m54s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-09-12 00:16:56 ]
11 16m47s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-09-09 00:16:49 ]
12 16m41s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-09-08 00:16:44 ]
13 16m37s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-09-10 00:16:39 ]
14 16m35s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-09-11 00:16:37 ]
15 12m48s 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 = '2082024') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2024-09-12 02:25:02 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
16 12m41s 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 = '2082024') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2024-09-12 02:24:55 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
17 12m40s 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 = '2082024') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2024-09-12 02:24:55 - Bind query: yes ]
18 12m40s 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 = '2082024') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2024-09-12 02:24:55 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
19 10m10s 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 = '1235382') and diseaseTerm.object_type_id = 3 ORDER BY phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;[ Date: 2024-09-10 16:57:42 - Bind query: yes ]
20 8m38s 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 = '1257694') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-09-14 18:53:39 - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 14h19m4s 2,807 1s 51s827ms 18s362ms select ? "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casrn "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" from ( with sq as ( select distinct c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casrn, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort from term c inner join gene_chem_reference gcr on c.id = gcr.chem_id inner join term g on gcr.gene_id = g.id where (c.id = ?)) select distinct sq.chem_nm, sq.chem_acc_txt, sq.casrn, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm from sq inner join gene_go_annot gga on sq.gene_id = gga.gene_id inner join dag_node gt on gga.go_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where gga.is_not = false and (d.id = ?) order by sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Sep 09 02 3 32s157ms 10s719ms 09 5 48s158ms 9s631ms 10 2 26s312ms 13s156ms 12 10 41s260ms 4s126ms 14 13 7m3s 32s581ms 15 8 5m5s 38s172ms 16 12 7m43s 38s634ms Sep 10 10 6 3m39s 36s577ms Sep 11 10 3 13s625ms 4s541ms 11 6 2m18s 23s152ms 21 45 3m44s 4s979ms 22 36 2m14s 3s729ms 23 33 1m45s 3s191ms Sep 12 00 31 1m49s 3s531ms 01 42 2m28s 3s529ms 05 24 1m31s 3s800ms 06 21 1m16s 3s641ms 07 36 2m17s 3s810ms 08 42 2m34s 3s673ms 09 39 2m33s 3s939ms 10 44 2m49s 3s852ms 11 45 2m47s 3s732ms 12 30 1m33s 3s119ms 13 27 1m26s 3s194ms 14 30 2m6s 4s221ms 15 39 2m5s 3s209ms 16 60 3m4s 3s78ms 17 120 41m15s 20s630ms 18 249 1h29m5s 21s469ms 19 340 2h10m20s 23s1ms 20 314 1h59m35s 22s850ms 21 132 48m37s 22s104ms 22 39 5m24s 8s326ms 23 30 1m28s 2s953ms Sep 13 00 6 18s917ms 3s152ms 01 249 1h56m1s 27s958ms 02 174 1h23m1s 28s626ms 03 27 12m9s 27s7ms 09 19 6m26s 20s331ms 10 267 1h29m11s 20s43ms 11 134 44m45s 20s39ms 12 15 4m41s 18s767ms [ User: pubeu - Total duration: 8h23m2s - Times executed: 1445 ]
-
SELECT /* BatchChemGODAO */ 'd000082' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1341439)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-09-09 16:29:12 Duration: 51s827ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchChemGODAO */ 'd000082' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1341439)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-09-09 14:56:34 Duration: 50s704ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchChemGODAO */ 'd000082' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1341439)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-09-09 15:51:50 Duration: 50s648ms Database: ctdprd51 User: pubeu Bind query: yes
2 3h2m1s 123 1s65ms 25m56s 1m28s 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 #2
Day Hour Count Duration Avg duration Sep 08 05 1 1s225ms 1s225ms Sep 09 08 1 7s444ms 7s444ms 21 2 40s848ms 20s424ms Sep 10 00 1 1s578ms 1s578ms 02 4 24s346ms 6s86ms 03 4 1m7s 16s822ms 04 1 5s837ms 5s837ms 22 1 1s669ms 1s669ms Sep 11 00 1 14s174ms 14s174ms 01 2 46s86ms 23s43ms 02 2 1m6s 33s478ms 03 3 1m42s 34s38ms 04 3 1m44s 34s676ms 05 1 14s521ms 14s521ms 07 3 1m45s 35s111ms 08 4 1h43m38s 25m54s 09 4 2m16s 34s172ms 10 8 4m37s 34s687ms 15 1 19s510ms 19s510ms 16 2 8s745ms 4s372ms Sep 12 02 39 56m16s 1m26s 05 16 42s340ms 2s646ms 06 7 18s560ms 2s651ms 07 5 2m16s 27s211ms 08 2 1m7s 33s705ms 11 1 1s65ms 1s65ms 20 1 1s153ms 1s153ms 22 1 11s452ms 11s452ms 23 1 1s137ms 1s137ms Sep 13 00 1 1s507ms 1s507ms [ User: pubeu - Total duration: 2h12m48s - Times executed: 70 ]
-
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 = '2086129') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-09-11 08:13:22 Duration: 25m56s 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 = '2086129') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-09-11 08:13:23 Duration: 25m54s 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 = '2086129') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-09-11 08:13:23 Duration: 25m53s Bind query: yes
3 1h57m52s 7 16m35s 17m9s 16m50s select maint_query_logs_archive ();Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Sep 08 00 1 16m41s 16m41s Sep 09 00 1 16m47s 16m47s Sep 10 00 1 16m37s 16m37s Sep 11 00 1 16m35s 16m35s Sep 12 00 1 16m54s 16m54s Sep 13 00 1 17m4s 17m4s Sep 14 00 1 17m9s 17m9s -
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-09-14 00:17:11 Duration: 17m9s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-09-13 00:17:06 Duration: 17m4s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-09-12 00:16:56 Duration: 16m54s
4 38m34s 15 1s450ms 17m56s 2m34s 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 #4
Day Hour Count Duration Avg duration Sep 08 00 1 2s265ms 2s265ms 19 1 1s517ms 1s517ms Sep 09 09 1 1s575ms 1s575ms 18 1 1s536ms 1s536ms Sep 10 20 1 4m59s 4m59s Sep 11 18 1 1m51s 1m51s 19 1 1s524ms 1s524ms Sep 12 07 1 2s451ms 2s451ms Sep 14 02 2 4m7s 2m3s 16 1 45s559ms 45s559ms 18 2 8m41s 4m20s 19 1 17m56s 17m56s 21 1 1s450ms 1s450ms [ User: pubeu - Total duration: 29m43s - Times executed: 8 ]
-
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 = '1239879') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-09-14 19:04:08 Duration: 17m56s 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 = '1257694') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-09-14 18:53:39 Duration: 8m38s 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 = '1255059') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-09-10 20:18:30 Duration: 4m59s Database: ctdprd51 User: pubeu Bind query: yes
5 26m33s 391 3s679ms 17s198ms 4s74ms 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 #5
Day Hour Count Duration Avg duration Sep 08 02 1 3s958ms 3s958ms 03 1 3s928ms 3s928ms 04 2 7s801ms 3s900ms 05 15 59s675ms 3s978ms 06 2 7s785ms 3s892ms 07 10 39s222ms 3s922ms 08 10 39s927ms 3s992ms 10 1 3s943ms 3s943ms 14 5 20s743ms 4s148ms 15 2 7s773ms 3s886ms 16 1 3s915ms 3s915ms 21 2 7s751ms 3s875ms 22 1 3s890ms 3s890ms 23 1 3s859ms 3s859ms Sep 09 00 1 3s888ms 3s888ms 01 2 8s125ms 4s62ms 02 2 7s840ms 3s920ms 03 1 4s28ms 4s28ms 04 3 11s963ms 3s987ms 05 6 25s26ms 4s171ms 06 5 19s602ms 3s920ms 07 5 32s562ms 6s512ms 08 1 3s982ms 3s982ms 10 1 4s130ms 4s130ms 11 1 4s26ms 4s26ms 13 1 3s979ms 3s979ms 14 5 19s807ms 3s961ms 20 1 3s911ms 3s911ms 23 2 8s139ms 4s69ms Sep 10 00 4 16s731ms 4s182ms 01 9 36s368ms 4s40ms 02 9 36s446ms 4s49ms 03 3 12s952ms 4s317ms 04 1 4s62ms 4s62ms 05 3 11s851ms 3s950ms 07 1 4s42ms 4s42ms 08 2 7s962ms 3s981ms 09 6 24s8ms 4s1ms 11 2 7s936ms 3s968ms 12 1 3s961ms 3s961ms 15 1 3s912ms 3s912ms 16 2 7s778ms 3s889ms 17 2 7s881ms 3s940ms 19 8 32s479ms 4s59ms 20 1 3s980ms 3s980ms 21 23 1m31s 3s970ms 22 6 23s475ms 3s912ms Sep 11 01 2 7s846ms 3s923ms 02 1 4s514ms 4s514ms 03 2 7s864ms 3s932ms 05 2 7s916ms 3s958ms 06 1 4s180ms 4s180ms 07 2 7s983ms 3s991ms 08 1 4s2ms 4s2ms 09 4 17s89ms 4s272ms 10 10 42s587ms 4s258ms 11 2 9s717ms 4s858ms 12 4 16s97ms 4s24ms 14 4 15s612ms 3s903ms 15 3 11s775ms 3s925ms 16 1 3s970ms 3s970ms 17 3 13s345ms 4s448ms 18 2 7s864ms 3s932ms 19 4 15s689ms 3s922ms 20 1 3s721ms 3s721ms 22 2 7s396ms 3s698ms 23 1 3s719ms 3s719ms Sep 12 00 2 8s986ms 4s493ms 01 4 16s462ms 4s115ms 05 6 37s762ms 6s293ms 06 5 21s 4s200ms 07 5 19s458ms 3s891ms 08 3 11s722ms 3s907ms 09 1 3s799ms 3s799ms 10 4 15s253ms 3s813ms 11 1 3s775ms 3s775ms 12 2 7s544ms 3s772ms 15 4 14s941ms 3s735ms 16 1 3s708ms 3s708ms 20 2 7s666ms 3s833ms 21 1 3s727ms 3s727ms 22 6 23s496ms 3s916ms 23 2 7s464ms 3s732ms Sep 13 00 4 15s118ms 3s779ms 01 2 8s881ms 4s440ms 02 5 28s753ms 5s750ms 03 1 3s697ms 3s697ms 04 2 7s498ms 3s749ms 05 3 11s410ms 3s803ms 07 4 14s968ms 3s742ms 08 4 15s386ms 3s846ms 09 3 11s272ms 3s757ms 10 1 3s796ms 3s796ms 12 1 5s543ms 5s543ms 14 2 7s523ms 3s761ms 15 3 11s259ms 3s753ms 16 1 3s742ms 3s742ms 18 1 3s683ms 3s683ms 21 1 4s102ms 4s102ms 22 1 3s851ms 3s851ms 23 1 3s759ms 3s759ms Sep 14 01 1 3s727ms 3s727ms 02 2 7s500ms 3s750ms 04 3 11s234ms 3s744ms 06 1 3s795ms 3s795ms 07 2 7s614ms 3s807ms 08 24 1m30s 3s783ms 09 1 3s752ms 3s752ms 10 2 7s521ms 3s760ms 11 2 7s616ms 3s808ms 12 4 14s923ms 3s730ms 13 26 1m51s 4s295ms 14 1 3s736ms 3s736ms 15 3 11s318ms 3s772ms 19 1 3s999ms 3s999ms 22 1 3s788ms 3s788ms 23 1 3s772ms 3s772ms [ User: pubeu - Total duration: 12m46s - Times executed: 193 ]
[ User: qaeu - Total duration: 4s2ms - Times executed: 1 ]
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1393242') 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 = '1393242') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-09-12 05:52:03 Duration: 17s198ms 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 = '1393242') 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 = '1393242') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-09-09 07:31:13 Duration: 16s239ms 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 = '1393242') 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 = '1393242') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-09-14 13:50:32 Duration: 15s218ms Bind query: yes
6 23m42s 1 23m42s 23m42s 23m42s 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 #6
Day Hour Count Duration Avg duration Sep 14 19 1 23m42s 23m42s -
COPY pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2024-09-14 19:42:59 Duration: 23m42s
7 23m39s 1 23m39s 23m39s 23m39s 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 #7
Day Hour Count Duration Avg duration Sep 14 19 1 23m39s 23m39s -
COPY pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2024-09-14 19:00:34 Duration: 23m39s
8 14m11s 25 33s517ms 35s875ms 34s61ms copy pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) to stdout;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Sep 08 06 1 33s810ms 33s810ms 10 1 33s866ms 33s866ms 14 1 33s949ms 33s949ms 18 1 33s899ms 33s899ms Sep 09 06 1 33s921ms 33s921ms 10 1 33s978ms 33s978ms 14 1 33s961ms 33s961ms 18 1 33s906ms 33s906ms Sep 10 06 1 33s922ms 33s922ms 10 1 33s904ms 33s904ms 14 1 33s917ms 33s917ms 18 1 33s934ms 33s934ms Sep 11 06 1 34s13ms 34s13ms 10 1 34s73ms 34s73ms 14 1 34s3ms 34s3ms 18 1 33s955ms 33s955ms Sep 12 06 1 33s959ms 33s959ms 10 1 33s952ms 33s952ms 14 1 33s916ms 33s916ms 18 1 35s272ms 35s272ms Sep 13 06 1 33s932ms 33s932ms 10 1 35s875ms 35s875ms 14 1 33s970ms 33s970ms 18 1 34s124ms 34s124ms Sep 14 19 1 33s517ms 33s517ms [ User: postgres - Total duration: 13m38s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 13m38s - Times executed: 24 ]
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-09-13 10:05:39 Duration: 35s875ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-09-12 18:05:36 Duration: 35s272ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-09-13 18:05:35 Duration: 34s124ms Database: ctdprd51 User: postgres Application: pg_dump
9 12m51s 668 1s53ms 2s152ms 1s155ms 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 #9
Day Hour Count Duration Avg duration Sep 08 00 2 2s405ms 1s202ms 01 5 5s746ms 1s149ms 02 8 9s338ms 1s167ms 03 3 3s590ms 1s196ms 04 6 7s124ms 1s187ms 05 9 10s669ms 1s185ms 06 5 5s848ms 1s169ms 07 2 2s271ms 1s135ms 08 3 3s457ms 1s152ms 09 4 4s722ms 1s180ms 10 5 5s753ms 1s150ms 11 1 1s99ms 1s99ms 12 4 4s640ms 1s160ms 13 2 2s319ms 1s159ms 14 7 8s123ms 1s160ms 15 4 4s739ms 1s184ms 16 5 5s697ms 1s139ms 17 5 5s631ms 1s126ms 18 4 4s666ms 1s166ms 19 5 5s609ms 1s121ms 20 7 8s107ms 1s158ms 21 3 3s477ms 1s159ms 22 5 5s912ms 1s182ms 23 3 3s564ms 1s188ms Sep 09 00 7 8s84ms 1s154ms 01 3 3s537ms 1s179ms 02 5 5s867ms 1s173ms 03 4 4s514ms 1s128ms 04 5 5s936ms 1s187ms 05 6 7s185ms 1s197ms 06 6 6s864ms 1s144ms 07 5 5s788ms 1s157ms 08 4 4s571ms 1s142ms 09 11 12s615ms 1s146ms 10 5 5s882ms 1s176ms 11 8 9s377ms 1s172ms 12 7 8s143ms 1s163ms 13 5 5s800ms 1s160ms 14 6 6s840ms 1s140ms 15 2 2s279ms 1s139ms 16 2 2s245ms 1s122ms 17 3 3s406ms 1s135ms 18 5 5s823ms 1s164ms 19 3 3s383ms 1s127ms 20 5 5s727ms 1s145ms 21 6 7s32ms 1s172ms 22 4 4s624ms 1s156ms 23 6 6s926ms 1s154ms Sep 10 00 3 3s509ms 1s169ms 01 6 6s963ms 1s160ms 02 8 9s188ms 1s148ms 03 8 9s242ms 1s155ms 04 7 8s136ms 1s162ms 05 7 8s266ms 1s180ms 06 5 5s676ms 1s135ms 07 6 6s937ms 1s156ms 08 4 4s781ms 1s195ms 09 4 4s706ms 1s176ms 10 5 5s873ms 1s174ms 11 3 3s444ms 1s148ms 12 5 5s847ms 1s169ms 13 1 1s175ms 1s175ms 14 7 7s878ms 1s125ms 15 9 10s397ms 1s155ms 16 12 13s987ms 1s165ms 17 10 11s592ms 1s159ms 18 2 2s304ms 1s152ms 19 6 6s917ms 1s152ms 20 6 7s5ms 1s167ms 21 7 8s122ms 1s160ms 22 3 3s620ms 1s206ms 23 13 15s239ms 1s172ms Sep 11 00 5 5s754ms 1s150ms 01 14 16s200ms 1s157ms 02 1 1s118ms 1s118ms 03 8 9s264ms 1s158ms 04 1 1s183ms 1s183ms 05 2 2s452ms 1s226ms 06 2 2s392ms 1s196ms 07 4 4s638ms 1s159ms 08 2 2s415ms 1s207ms 09 6 7s119ms 1s186ms 10 5 5s955ms 1s191ms 11 6 6s914ms 1s152ms 12 8 9s378ms 1s172ms 13 5 5s715ms 1s143ms 14 1 1s155ms 1s155ms 15 8 9s389ms 1s173ms 16 1 1s139ms 1s139ms 17 5 5s848ms 1s169ms 18 5 5s863ms 1s172ms 19 3 3s549ms 1s183ms 20 4 4s606ms 1s151ms 21 1 1s97ms 1s97ms 22 3 3s305ms 1s101ms 23 2 2s234ms 1s117ms Sep 12 01 1 1s63ms 1s63ms 05 6 7s982ms 1s330ms 06 4 4s290ms 1s72ms 07 1 1s88ms 1s88ms 08 3 3s471ms 1s157ms 09 2 2s184ms 1s92ms 10 2 2s244ms 1s122ms 11 1 1s115ms 1s115ms 12 6 6s549ms 1s91ms 13 5 5s504ms 1s100ms 14 6 6s550ms 1s91ms 15 6 6s689ms 1s114ms 16 6 7s737ms 1s289ms 17 9 10s99ms 1s122ms 18 4 4s529ms 1s132ms 19 3 3s455ms 1s151ms 20 2 2s393ms 1s196ms 21 2 2s305ms 1s152ms 22 3 3s400ms 1s133ms 23 6 6s733ms 1s122ms Sep 13 00 4 4s506ms 1s126ms 01 2 2s402ms 1s201ms 02 7 8s14ms 1s144ms 03 3 3s329ms 1s109ms 04 4 4s401ms 1s100ms 05 5 5s774ms 1s154ms 06 2 2s204ms 1s102ms 07 5 5s454ms 1s90ms 08 3 3s379ms 1s126ms 09 3 3s313ms 1s104ms 10 2 2s396ms 1s198ms 11 4 4s623ms 1s155ms 13 2 2s297ms 1s148ms 15 2 2s297ms 1s148ms 16 1 1s136ms 1s136ms 17 1 1s197ms 1s197ms 19 1 1s100ms 1s100ms 21 2 2s293ms 1s146ms 23 2 2s232ms 1s116ms Sep 14 03 1 1s89ms 1s89ms 04 4 4s590ms 1s147ms 05 3 3s606ms 1s202ms 06 1 1s85ms 1s85ms 07 1 1s88ms 1s88ms 08 3 3s444ms 1s148ms 10 1 1s149ms 1s149ms 11 1 1s137ms 1s137ms 12 1 1s122ms 1s122ms 13 1 1s133ms 1s133ms 14 3 3s386ms 1s128ms 15 2 2s231ms 1s115ms 16 6 6s785ms 1s130ms 17 2 2s241ms 1s120ms 18 5 5s641ms 1s128ms 19 7 7s824ms 1s117ms 20 2 2s154ms 1s77ms 21 5 5s578ms 1s115ms 22 4 4s659ms 1s164ms 23 3 3s466ms 1s155ms [ User: pubeu - Total duration: 6m42s - Times executed: 349 ]
[ User: qaeu - Total duration: 1s240ms - 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 = '1437577' or receptorTerm.id = '1437577' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-09-12 16:04:24 Duration: 2s152ms 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 = '1503946' or receptorTerm.id = '1503946' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-09-12 05:55:23 Duration: 2s149ms 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 = '1437597' or receptorTerm.id = '1437597' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-09-11 10:37:00 Duration: 1s289ms Bind query: yes
10 11m52s 2 1m42s 10m10s 5m56s 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 phenotypeterm.nm_sort, diseaseterm.nm_sort limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Sep 08 15 1 1m42s 1m42s Sep 10 16 1 10m10s 10m10s -
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 = '1235382') and diseaseTerm.object_type_id = 3 ORDER BY phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;
Date: 2024-09-10 16:57:42 Duration: 10m10s 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 = '1227238') and diseaseTerm.object_type_id = 3 ORDER BY phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;
Date: 2024-09-08 15:30:51 Duration: 1m42s Bind query: yes
11 11m15s 117 1s7ms 12s285ms 5s770ms 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 #11
Day Hour Count Duration Avg duration Sep 08 08 1 2s509ms 2s509ms 19 1 1s247ms 1s247ms 21 1 2s627ms 2s627ms Sep 09 03 4 36s342ms 9s85ms 08 1 2s556ms 2s556ms 13 1 2s570ms 2s570ms 16 1 1s9ms 1s9ms 21 6 56s631ms 9s438ms Sep 10 02 3 5s209ms 1s736ms 03 1 1s548ms 1s548ms 14 1 2s675ms 2s675ms 18 1 1s137ms 1s137ms 20 1 1s90ms 1s90ms 22 8 18s863ms 2s357ms Sep 11 01 1 10s484ms 10s484ms 02 1 1s160ms 1s160ms 03 3 17s883ms 5s961ms 05 3 17s881ms 5s960ms 07 4 31s961ms 7s990ms 08 2 11s622ms 5s811ms 09 5 58s54ms 11s610ms 10 12 2m14s 11s208ms 16 2 2s691ms 1s345ms 23 2 5s384ms 2s692ms Sep 12 00 2 2s511ms 1s255ms 05 1 1s46ms 1s46ms 06 4 9s526ms 2s381ms 07 1 10s16ms 10s16ms 10 3 14s444ms 4s814ms 11 1 2s483ms 2s483ms 16 2 8s549ms 4s274ms 22 2 2s625ms 1s312ms Sep 13 00 1 5s820ms 5s820ms 02 8 39s385ms 4s923ms 03 2 8s130ms 4s65ms 06 1 1s80ms 1s80ms 07 1 2s376ms 2s376ms 08 1 10s47ms 10s47ms 11 2 11s567ms 5s783ms 21 1 9s914ms 9s914ms 22 3 31s269ms 10s423ms Sep 14 03 5 44s263ms 8s852ms 06 1 1s55ms 1s55ms 07 1 2s340ms 2s340ms 10 1 6s431ms 6s431ms 11 2 4s978ms 2s489ms 13 2 11s188ms 5s594ms 18 1 1s369ms 1s369ms 22 2 5s27ms 2s513ms [ User: pubeu - Total duration: 6m27s - Times executed: 68 ]
-
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 = '2086129') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-09-11 10:00:41 Duration: 12s285ms 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 = '2086129') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-09-11 09:36:37 Duration: 11s951ms 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 = '2086129') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-09-11 10:00:41 Duration: 11s883ms Database: ctdprd51 User: pubeu Bind query: yes
12 6m48s 1 6m48s 6m48s 6m48s copy pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Sep 14 19 1 6m48s 6m48s -
COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-09-14 19:54:39 Duration: 6m48s
13 6m47s 1 6m47s 6m47s 6m47s copy pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Sep 14 19 1 6m47s 6m47s -
COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-09-14 19:12:18 Duration: 6m47s
14 6m43s 98 1s 5s957ms 4s119ms select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Sep 08 05 1 1s24ms 1s24ms 07 2 10s345ms 5s172ms 11 1 5s327ms 5s327ms 14 1 5s47ms 5s47ms 18 2 6s229ms 3s114ms 19 1 1s14ms 1s14ms 20 2 5s959ms 2s979ms 21 2 6s99ms 3s49ms 22 3 16s688ms 5s562ms 23 1 5s443ms 5s443ms Sep 09 03 2 10s283ms 5s141ms 05 2 2s26ms 1s13ms 08 1 4s876ms 4s876ms 10 1 1s 1s 11 1 1s42ms 1s42ms 13 1 4s846ms 4s846ms 17 1 4s969ms 4s969ms 19 2 6s121ms 3s60ms 21 3 15s844ms 5s281ms 23 1 5s502ms 5s502ms Sep 10 00 1 5s301ms 5s301ms 02 1 5s343ms 5s343ms 03 5 21s853ms 4s370ms 04 1 5s182ms 5s182ms 05 2 2s21ms 1s10ms 09 1 1s7ms 1s7ms 15 1 4s965ms 4s965ms 17 1 5s209ms 5s209ms 19 1 5s630ms 5s630ms 23 1 5s19ms 5s19ms Sep 11 00 1 1s8ms 1s8ms 01 1 1s62ms 1s62ms 09 1 1s29ms 1s29ms 10 2 2s67ms 1s33ms 14 1 5s259ms 5s259ms 20 1 3s210ms 3s210ms Sep 12 00 1 5s94ms 5s94ms 05 4 19s199ms 4s799ms 07 5 21s111ms 4s222ms 10 1 4s765ms 4s765ms 11 1 4s657ms 4s657ms 16 1 4s157ms 4s157ms 19 1 5s143ms 5s143ms 21 2 8s888ms 4s444ms Sep 13 00 1 4s167ms 4s167ms 01 3 17s130ms 5s710ms 02 4 19s704ms 4s926ms 04 3 13s322ms 4s440ms 05 4 17s379ms 4s344ms 07 1 4s118ms 4s118ms 09 1 4s238ms 4s238ms 22 1 4s893ms 4s893ms Sep 14 03 1 4s490ms 4s490ms 11 4 18s452ms 4s613ms 13 1 4s306ms 4s306ms 18 2 9s885ms 4s942ms 19 1 4s508ms 4s508ms 20 2 9s265ms 4s632ms [ User: pubeu - Total duration: 2m45s - Times executed: 39 ]
[ User: qaeu - Total duration: 2s8ms - Times executed: 2 ]
-
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 = '1311260' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-09-13 02:22:46 Duration: 5s957ms 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 = '1260513' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-09-13 01:12:32 Duration: 5s805ms 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 = '1333831' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-09-08 22:24:21 Duration: 5s739ms Database: ctdprd51 User: pubeu Bind query: yes
15 6m3s 25 14s373ms 15s299ms 14s527ms copy edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Sep 08 06 1 14s557ms 14s557ms 10 1 14s438ms 14s438ms 14 1 14s580ms 14s580ms 18 1 14s516ms 14s516ms Sep 09 06 1 14s507ms 14s507ms 10 1 14s569ms 14s569ms 14 1 14s501ms 14s501ms 18 1 14s576ms 14s576ms Sep 10 06 1 14s441ms 14s441ms 10 1 14s441ms 14s441ms 14 1 14s549ms 14s549ms 18 1 14s475ms 14s475ms Sep 11 06 1 14s468ms 14s468ms 10 1 14s458ms 14s458ms 14 1 14s453ms 14s453ms 18 1 14s489ms 14s489ms Sep 12 06 1 14s588ms 14s588ms 10 1 14s497ms 14s497ms 14 1 14s484ms 14s484ms 18 1 14s489ms 14s489ms Sep 13 06 1 14s488ms 14s488ms 10 1 15s299ms 15s299ms 14 1 14s497ms 14s497ms 18 1 14s442ms 14s442ms Sep 14 18 1 14s373ms 14s373ms [ User: postgres - Total duration: 6m3s - Times executed: 25 ]
[ Application: pg_dump - Total duration: 6m3s - Times executed: 25 ]
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-13 10:00:17 Duration: 15s299ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-12 06:00:16 Duration: 14s588ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-08 14:00:17 Duration: 14s580ms Database: ctdprd51 User: postgres Application: pg_dump
16 5m38s 24 14s22ms 15s62ms 14s118ms copy edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Sep 08 06 1 14s73ms 14s73ms 10 1 14s66ms 14s66ms 14 1 14s106ms 14s106ms 18 1 14s61ms 14s61ms Sep 09 06 1 14s32ms 14s32ms 10 1 14s97ms 14s97ms 18 1 14s77ms 14s77ms Sep 10 06 1 14s89ms 14s89ms 10 1 14s107ms 14s107ms 14 1 14s68ms 14s68ms 18 1 14s44ms 14s44ms Sep 11 06 1 14s55ms 14s55ms 10 1 14s66ms 14s66ms 14 1 14s84ms 14s84ms 18 1 14s83ms 14s83ms Sep 12 06 1 14s50ms 14s50ms 10 1 14s140ms 14s140ms 14 1 14s79ms 14s79ms 18 1 14s192ms 14s192ms Sep 13 06 1 14s22ms 14s22ms 10 1 15s62ms 15s62ms 14 1 14s77ms 14s77ms 18 1 14s68ms 14s68ms Sep 14 18 1 14s30ms 14s30ms -
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-13 10:01:00 Duration: 15s62ms
-
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-12 18:00:59 Duration: 14s192ms
-
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-12 10:00:58 Duration: 14s140ms
17 5m10s 23 13s406ms 14s80ms 13s515ms copy edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Sep 08 06 1 13s497ms 13s497ms 14 1 13s468ms 13s468ms 18 1 13s501ms 13s501ms Sep 09 06 1 13s406ms 13s406ms 10 1 13s504ms 13s504ms 14 1 13s459ms 13s459ms 18 1 13s521ms 13s521ms Sep 10 06 1 13s495ms 13s495ms 10 1 13s499ms 13s499ms 14 1 13s465ms 13s465ms 18 1 13s468ms 13s468ms Sep 11 06 1 13s494ms 13s494ms 10 1 13s545ms 13s545ms 14 1 13s462ms 13s462ms 18 1 13s538ms 13s538ms Sep 12 06 1 13s444ms 13s444ms 14 1 13s541ms 13s541ms 18 1 14s80ms 14s80ms Sep 13 06 1 13s473ms 13s473ms 10 1 13s595ms 13s595ms 14 1 13s475ms 13s475ms 18 1 13s464ms 13s464ms Sep 14 18 1 13s460ms 13s460ms -
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-12 18:00:44 Duration: 14s80ms
-
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-13 10:00:45 Duration: 13s595ms
-
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-11 10:00:45 Duration: 13s545ms
18 4m37s 219 1s137ms 1s909ms 1s268ms 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 #18
Day Hour Count Duration Avg duration Sep 08 00 3 3s880ms 1s293ms 02 2 2s563ms 1s281ms 03 1 1s304ms 1s304ms 04 1 1s272ms 1s272ms 05 8 10s694ms 1s336ms 06 2 2s527ms 1s263ms 07 1 1s251ms 1s251ms 08 2 2s533ms 1s266ms 10 2 2s394ms 1s197ms 12 2 2s456ms 1s228ms 13 3 3s729ms 1s243ms 14 4 4s837ms 1s209ms 15 1 1s231ms 1s231ms 16 1 1s290ms 1s290ms 19 1 1s244ms 1s244ms 20 1 1s240ms 1s240ms 22 1 1s296ms 1s296ms 23 2 2s533ms 1s266ms Sep 09 01 1 1s191ms 1s191ms 02 1 1s272ms 1s272ms 04 1 1s321ms 1s321ms 05 6 7s742ms 1s290ms 06 2 2s466ms 1s233ms 07 1 1s294ms 1s294ms 08 1 1s238ms 1s238ms 09 1 1s260ms 1s260ms 13 1 1s272ms 1s272ms 14 2 2s469ms 1s234ms 15 2 2s534ms 1s267ms 16 3 3s770ms 1s256ms 17 1 1s279ms 1s279ms 18 2 2s433ms 1s216ms 19 1 1s187ms 1s187ms 21 2 2s573ms 1s286ms 22 3 3s812ms 1s270ms 23 2 2s415ms 1s207ms Sep 10 01 5 6s350ms 1s270ms 03 2 2s705ms 1s352ms 04 3 3s712ms 1s237ms 05 5 6s524ms 1s304ms 07 3 3s792ms 1s264ms 08 1 1s432ms 1s432ms 09 1 1s241ms 1s241ms 10 4 5s55ms 1s263ms 11 1 1s278ms 1s278ms 12 1 1s210ms 1s210ms 13 3 3s822ms 1s274ms 15 3 3s855ms 1s285ms 16 2 2s505ms 1s252ms 18 1 1s286ms 1s286ms 19 3 3s881ms 1s293ms 20 3 3s761ms 1s253ms 21 1 1s270ms 1s270ms 22 1 1s276ms 1s276ms 23 1 1s290ms 1s290ms Sep 11 00 1 1s582ms 1s582ms 01 5 6s219ms 1s243ms 05 2 2s810ms 1s405ms 08 1 1s420ms 1s420ms 09 2 2s638ms 1s319ms 10 1 1s402ms 1s402ms 11 1 1s207ms 1s207ms 12 2 2s552ms 1s276ms 14 1 1s267ms 1s267ms 16 2 2s591ms 1s295ms 18 1 1s335ms 1s335ms 20 3 4s420ms 1s473ms 21 1 1s247ms 1s247ms 22 3 3s577ms 1s192ms 23 1 1s201ms 1s201ms Sep 12 01 1 1s174ms 1s174ms 05 2 2s585ms 1s292ms 08 2 2s550ms 1s275ms 11 1 1s195ms 1s195ms 12 1 1s201ms 1s201ms 13 1 1s258ms 1s258ms 14 1 1s168ms 1s168ms 15 1 1s214ms 1s214ms 16 1 1s212ms 1s212ms 17 1 1s226ms 1s226ms 18 2 2s462ms 1s231ms 19 1 1s210ms 1s210ms 20 2 3s129ms 1s564ms 21 1 1s209ms 1s209ms 22 1 1s282ms 1s282ms Sep 13 00 3 3s671ms 1s223ms 01 1 1s901ms 1s901ms 02 1 1s240ms 1s240ms 03 3 3s592ms 1s197ms 05 3 3s805ms 1s268ms 06 3 3s908ms 1s302ms 07 1 1s210ms 1s210ms 09 2 2s328ms 1s164ms 10 1 1s239ms 1s239ms 13 1 1s162ms 1s162ms 18 2 2s385ms 1s192ms 19 2 2s451ms 1s225ms 20 4 4s870ms 1s217ms 23 2 2s463ms 1s231ms Sep 14 00 2 2s426ms 1s213ms 02 2 2s566ms 1s283ms 03 1 1s224ms 1s224ms 05 3 3s803ms 1s267ms 06 1 1s486ms 1s486ms 09 2 2s540ms 1s270ms 12 2 2s434ms 1s217ms 13 2 2s393ms 1s196ms 14 1 1s214ms 1s214ms 15 3 3s570ms 1s190ms 16 1 1s270ms 1s270ms 17 1 1s208ms 1s208ms 18 2 2s454ms 1s227ms 19 1 1s198ms 1s198ms 20 2 2s365ms 1s182ms 22 1 1s219ms 1s219ms 23 2 2s538ms 1s269ms [ User: pubeu - Total duration: 2m21s - Times executed: 112 ]
[ User: qaeu - Total duration: 6s652ms - 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 = '1216070') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1216070') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-09-11 20:09:08 Duration: 1s909ms 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 = '1219690') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1219690') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-09-13 01:14:35 Duration: 1s901ms 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 = '1231712') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1231712') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-09-12 20:04:55 Duration: 1s823ms Bind query: yes
19 4m11s 2 2m5s 2m5s 2m5s select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in ( select gcr.gene_id from gene_chem_reference gcr where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array ( select gi.id from term gi where gi.nm_fts @@ to_tsquery(?, ?) and gi.object_type_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 = ?)) and (gcra.action_degree_type_nm = ?))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Sep 14 20 2 4m11s 2m5s [ User: pubeu - Total duration: 2m5s - Times executed: 1 ]
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY ( SELECT /* CIQH.getIxnGeneWhereContains */ gi.id FROM term gi WHERE gi.nm_fts @@ to_tsquery('common.english_nostops', 'GLUTATHIONE & PEROXIDASE') AND gi.object_type_id = 4)) 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')) AND (gcra.action_degree_type_nm = 'increases'))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-09-14 20:40:57 Duration: 2m5s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY ( SELECT /* CIQH.getIxnGeneWhereContains */ gi.id FROM term gi WHERE gi.nm_fts @@ to_tsquery('common.english_nostops', 'GLUTATHIONE & PEROXIDASE') AND gi.object_type_id = 4)) 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')) AND (gcra.action_degree_type_nm = 'increases'))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-09-14 20:40:03 Duration: 2m5s Bind query: yes
20 3m45s 48 1s14ms 26s340ms 4s690ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Sep 08 04 1 2s490ms 2s490ms 06 1 5s452ms 5s452ms 09 1 2s68ms 2s68ms 19 1 1s426ms 1s426ms Sep 09 21 3 33s501ms 11s167ms Sep 10 02 3 31s759ms 10s586ms 04 1 1s231ms 1s231ms 06 2 3s828ms 1s914ms 10 1 1s287ms 1s287ms 14 1 4s740ms 4s740ms Sep 11 03 5 28s159ms 5s631ms 04 2 11s466ms 5s733ms 07 2 16s205ms 8s102ms 09 2 11s878ms 5s939ms 12 1 1s230ms 1s230ms Sep 12 00 1 1s228ms 1s228ms 05 4 4s379ms 1s94ms 06 1 2s913ms 2s913ms 07 1 10s441ms 10s441ms 10 4 19s135ms 4s783ms Sep 13 05 1 4s218ms 4s218ms 06 1 3s30ms 3s30ms 07 1 5s794ms 5s794ms Sep 14 04 1 5s344ms 5s344ms 07 1 1s14ms 1s14ms 11 1 2s565ms 2s565ms 15 1 4s514ms 4s514ms 17 1 1s593ms 1s593ms 18 1 1s129ms 1s129ms 21 1 1s112ms 1s112ms [ User: pubeu - Total duration: 1m34s - Times executed: 20 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2079326') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 4348650;
Date: 2024-09-10 02:16:59 Duration: 26s340ms 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 = '2086129') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 350;
Date: 2024-09-09 21:37:01 Duration: 11s527ms 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 = '2086129') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 350;
Date: 2024-09-09 21:37:05 Duration: 11s129ms Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 2,807 14h19m4s 1s 51s827ms 18s362ms select ? "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casrn "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" from ( with sq as ( select distinct c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casrn, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort from term c inner join gene_chem_reference gcr on c.id = gcr.chem_id inner join term g on gcr.gene_id = g.id where (c.id = ?)) select distinct sq.chem_nm, sq.chem_acc_txt, sq.casrn, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm from sq inner join gene_go_annot gga on sq.gene_id = gga.gene_id inner join dag_node gt on gga.go_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where gga.is_not = false and (d.id = ?) order by sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Sep 09 02 3 32s157ms 10s719ms 09 5 48s158ms 9s631ms 10 2 26s312ms 13s156ms 12 10 41s260ms 4s126ms 14 13 7m3s 32s581ms 15 8 5m5s 38s172ms 16 12 7m43s 38s634ms Sep 10 10 6 3m39s 36s577ms Sep 11 10 3 13s625ms 4s541ms 11 6 2m18s 23s152ms 21 45 3m44s 4s979ms 22 36 2m14s 3s729ms 23 33 1m45s 3s191ms Sep 12 00 31 1m49s 3s531ms 01 42 2m28s 3s529ms 05 24 1m31s 3s800ms 06 21 1m16s 3s641ms 07 36 2m17s 3s810ms 08 42 2m34s 3s673ms 09 39 2m33s 3s939ms 10 44 2m49s 3s852ms 11 45 2m47s 3s732ms 12 30 1m33s 3s119ms 13 27 1m26s 3s194ms 14 30 2m6s 4s221ms 15 39 2m5s 3s209ms 16 60 3m4s 3s78ms 17 120 41m15s 20s630ms 18 249 1h29m5s 21s469ms 19 340 2h10m20s 23s1ms 20 314 1h59m35s 22s850ms 21 132 48m37s 22s104ms 22 39 5m24s 8s326ms 23 30 1m28s 2s953ms Sep 13 00 6 18s917ms 3s152ms 01 249 1h56m1s 27s958ms 02 174 1h23m1s 28s626ms 03 27 12m9s 27s7ms 09 19 6m26s 20s331ms 10 267 1h29m11s 20s43ms 11 134 44m45s 20s39ms 12 15 4m41s 18s767ms [ User: pubeu - Total duration: 8h23m2s - Times executed: 1445 ]
-
SELECT /* BatchChemGODAO */ 'd000082' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1341439)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-09-09 16:29:12 Duration: 51s827ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchChemGODAO */ 'd000082' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1341439)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-09-09 14:56:34 Duration: 50s704ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchChemGODAO */ 'd000082' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1341439)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-09-09 15:51:50 Duration: 50s648ms Database: ctdprd51 User: pubeu Bind query: yes
2 668 12m51s 1s53ms 2s152ms 1s155ms 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 #2
Day Hour Count Duration Avg duration Sep 08 00 2 2s405ms 1s202ms 01 5 5s746ms 1s149ms 02 8 9s338ms 1s167ms 03 3 3s590ms 1s196ms 04 6 7s124ms 1s187ms 05 9 10s669ms 1s185ms 06 5 5s848ms 1s169ms 07 2 2s271ms 1s135ms 08 3 3s457ms 1s152ms 09 4 4s722ms 1s180ms 10 5 5s753ms 1s150ms 11 1 1s99ms 1s99ms 12 4 4s640ms 1s160ms 13 2 2s319ms 1s159ms 14 7 8s123ms 1s160ms 15 4 4s739ms 1s184ms 16 5 5s697ms 1s139ms 17 5 5s631ms 1s126ms 18 4 4s666ms 1s166ms 19 5 5s609ms 1s121ms 20 7 8s107ms 1s158ms 21 3 3s477ms 1s159ms 22 5 5s912ms 1s182ms 23 3 3s564ms 1s188ms Sep 09 00 7 8s84ms 1s154ms 01 3 3s537ms 1s179ms 02 5 5s867ms 1s173ms 03 4 4s514ms 1s128ms 04 5 5s936ms 1s187ms 05 6 7s185ms 1s197ms 06 6 6s864ms 1s144ms 07 5 5s788ms 1s157ms 08 4 4s571ms 1s142ms 09 11 12s615ms 1s146ms 10 5 5s882ms 1s176ms 11 8 9s377ms 1s172ms 12 7 8s143ms 1s163ms 13 5 5s800ms 1s160ms 14 6 6s840ms 1s140ms 15 2 2s279ms 1s139ms 16 2 2s245ms 1s122ms 17 3 3s406ms 1s135ms 18 5 5s823ms 1s164ms 19 3 3s383ms 1s127ms 20 5 5s727ms 1s145ms 21 6 7s32ms 1s172ms 22 4 4s624ms 1s156ms 23 6 6s926ms 1s154ms Sep 10 00 3 3s509ms 1s169ms 01 6 6s963ms 1s160ms 02 8 9s188ms 1s148ms 03 8 9s242ms 1s155ms 04 7 8s136ms 1s162ms 05 7 8s266ms 1s180ms 06 5 5s676ms 1s135ms 07 6 6s937ms 1s156ms 08 4 4s781ms 1s195ms 09 4 4s706ms 1s176ms 10 5 5s873ms 1s174ms 11 3 3s444ms 1s148ms 12 5 5s847ms 1s169ms 13 1 1s175ms 1s175ms 14 7 7s878ms 1s125ms 15 9 10s397ms 1s155ms 16 12 13s987ms 1s165ms 17 10 11s592ms 1s159ms 18 2 2s304ms 1s152ms 19 6 6s917ms 1s152ms 20 6 7s5ms 1s167ms 21 7 8s122ms 1s160ms 22 3 3s620ms 1s206ms 23 13 15s239ms 1s172ms Sep 11 00 5 5s754ms 1s150ms 01 14 16s200ms 1s157ms 02 1 1s118ms 1s118ms 03 8 9s264ms 1s158ms 04 1 1s183ms 1s183ms 05 2 2s452ms 1s226ms 06 2 2s392ms 1s196ms 07 4 4s638ms 1s159ms 08 2 2s415ms 1s207ms 09 6 7s119ms 1s186ms 10 5 5s955ms 1s191ms 11 6 6s914ms 1s152ms 12 8 9s378ms 1s172ms 13 5 5s715ms 1s143ms 14 1 1s155ms 1s155ms 15 8 9s389ms 1s173ms 16 1 1s139ms 1s139ms 17 5 5s848ms 1s169ms 18 5 5s863ms 1s172ms 19 3 3s549ms 1s183ms 20 4 4s606ms 1s151ms 21 1 1s97ms 1s97ms 22 3 3s305ms 1s101ms 23 2 2s234ms 1s117ms Sep 12 01 1 1s63ms 1s63ms 05 6 7s982ms 1s330ms 06 4 4s290ms 1s72ms 07 1 1s88ms 1s88ms 08 3 3s471ms 1s157ms 09 2 2s184ms 1s92ms 10 2 2s244ms 1s122ms 11 1 1s115ms 1s115ms 12 6 6s549ms 1s91ms 13 5 5s504ms 1s100ms 14 6 6s550ms 1s91ms 15 6 6s689ms 1s114ms 16 6 7s737ms 1s289ms 17 9 10s99ms 1s122ms 18 4 4s529ms 1s132ms 19 3 3s455ms 1s151ms 20 2 2s393ms 1s196ms 21 2 2s305ms 1s152ms 22 3 3s400ms 1s133ms 23 6 6s733ms 1s122ms Sep 13 00 4 4s506ms 1s126ms 01 2 2s402ms 1s201ms 02 7 8s14ms 1s144ms 03 3 3s329ms 1s109ms 04 4 4s401ms 1s100ms 05 5 5s774ms 1s154ms 06 2 2s204ms 1s102ms 07 5 5s454ms 1s90ms 08 3 3s379ms 1s126ms 09 3 3s313ms 1s104ms 10 2 2s396ms 1s198ms 11 4 4s623ms 1s155ms 13 2 2s297ms 1s148ms 15 2 2s297ms 1s148ms 16 1 1s136ms 1s136ms 17 1 1s197ms 1s197ms 19 1 1s100ms 1s100ms 21 2 2s293ms 1s146ms 23 2 2s232ms 1s116ms Sep 14 03 1 1s89ms 1s89ms 04 4 4s590ms 1s147ms 05 3 3s606ms 1s202ms 06 1 1s85ms 1s85ms 07 1 1s88ms 1s88ms 08 3 3s444ms 1s148ms 10 1 1s149ms 1s149ms 11 1 1s137ms 1s137ms 12 1 1s122ms 1s122ms 13 1 1s133ms 1s133ms 14 3 3s386ms 1s128ms 15 2 2s231ms 1s115ms 16 6 6s785ms 1s130ms 17 2 2s241ms 1s120ms 18 5 5s641ms 1s128ms 19 7 7s824ms 1s117ms 20 2 2s154ms 1s77ms 21 5 5s578ms 1s115ms 22 4 4s659ms 1s164ms 23 3 3s466ms 1s155ms [ User: pubeu - Total duration: 6m42s - Times executed: 349 ]
[ User: qaeu - Total duration: 1s240ms - 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 = '1437577' or receptorTerm.id = '1437577' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-09-12 16:04:24 Duration: 2s152ms 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 = '1503946' or receptorTerm.id = '1503946' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-09-12 05:55:23 Duration: 2s149ms 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 = '1437597' or receptorTerm.id = '1437597' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-09-11 10:37:00 Duration: 1s289ms Bind query: yes
3 391 26m33s 3s679ms 17s198ms 4s74ms 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 #3
Day Hour Count Duration Avg duration Sep 08 02 1 3s958ms 3s958ms 03 1 3s928ms 3s928ms 04 2 7s801ms 3s900ms 05 15 59s675ms 3s978ms 06 2 7s785ms 3s892ms 07 10 39s222ms 3s922ms 08 10 39s927ms 3s992ms 10 1 3s943ms 3s943ms 14 5 20s743ms 4s148ms 15 2 7s773ms 3s886ms 16 1 3s915ms 3s915ms 21 2 7s751ms 3s875ms 22 1 3s890ms 3s890ms 23 1 3s859ms 3s859ms Sep 09 00 1 3s888ms 3s888ms 01 2 8s125ms 4s62ms 02 2 7s840ms 3s920ms 03 1 4s28ms 4s28ms 04 3 11s963ms 3s987ms 05 6 25s26ms 4s171ms 06 5 19s602ms 3s920ms 07 5 32s562ms 6s512ms 08 1 3s982ms 3s982ms 10 1 4s130ms 4s130ms 11 1 4s26ms 4s26ms 13 1 3s979ms 3s979ms 14 5 19s807ms 3s961ms 20 1 3s911ms 3s911ms 23 2 8s139ms 4s69ms Sep 10 00 4 16s731ms 4s182ms 01 9 36s368ms 4s40ms 02 9 36s446ms 4s49ms 03 3 12s952ms 4s317ms 04 1 4s62ms 4s62ms 05 3 11s851ms 3s950ms 07 1 4s42ms 4s42ms 08 2 7s962ms 3s981ms 09 6 24s8ms 4s1ms 11 2 7s936ms 3s968ms 12 1 3s961ms 3s961ms 15 1 3s912ms 3s912ms 16 2 7s778ms 3s889ms 17 2 7s881ms 3s940ms 19 8 32s479ms 4s59ms 20 1 3s980ms 3s980ms 21 23 1m31s 3s970ms 22 6 23s475ms 3s912ms Sep 11 01 2 7s846ms 3s923ms 02 1 4s514ms 4s514ms 03 2 7s864ms 3s932ms 05 2 7s916ms 3s958ms 06 1 4s180ms 4s180ms 07 2 7s983ms 3s991ms 08 1 4s2ms 4s2ms 09 4 17s89ms 4s272ms 10 10 42s587ms 4s258ms 11 2 9s717ms 4s858ms 12 4 16s97ms 4s24ms 14 4 15s612ms 3s903ms 15 3 11s775ms 3s925ms 16 1 3s970ms 3s970ms 17 3 13s345ms 4s448ms 18 2 7s864ms 3s932ms 19 4 15s689ms 3s922ms 20 1 3s721ms 3s721ms 22 2 7s396ms 3s698ms 23 1 3s719ms 3s719ms Sep 12 00 2 8s986ms 4s493ms 01 4 16s462ms 4s115ms 05 6 37s762ms 6s293ms 06 5 21s 4s200ms 07 5 19s458ms 3s891ms 08 3 11s722ms 3s907ms 09 1 3s799ms 3s799ms 10 4 15s253ms 3s813ms 11 1 3s775ms 3s775ms 12 2 7s544ms 3s772ms 15 4 14s941ms 3s735ms 16 1 3s708ms 3s708ms 20 2 7s666ms 3s833ms 21 1 3s727ms 3s727ms 22 6 23s496ms 3s916ms 23 2 7s464ms 3s732ms Sep 13 00 4 15s118ms 3s779ms 01 2 8s881ms 4s440ms 02 5 28s753ms 5s750ms 03 1 3s697ms 3s697ms 04 2 7s498ms 3s749ms 05 3 11s410ms 3s803ms 07 4 14s968ms 3s742ms 08 4 15s386ms 3s846ms 09 3 11s272ms 3s757ms 10 1 3s796ms 3s796ms 12 1 5s543ms 5s543ms 14 2 7s523ms 3s761ms 15 3 11s259ms 3s753ms 16 1 3s742ms 3s742ms 18 1 3s683ms 3s683ms 21 1 4s102ms 4s102ms 22 1 3s851ms 3s851ms 23 1 3s759ms 3s759ms Sep 14 01 1 3s727ms 3s727ms 02 2 7s500ms 3s750ms 04 3 11s234ms 3s744ms 06 1 3s795ms 3s795ms 07 2 7s614ms 3s807ms 08 24 1m30s 3s783ms 09 1 3s752ms 3s752ms 10 2 7s521ms 3s760ms 11 2 7s616ms 3s808ms 12 4 14s923ms 3s730ms 13 26 1m51s 4s295ms 14 1 3s736ms 3s736ms 15 3 11s318ms 3s772ms 19 1 3s999ms 3s999ms 22 1 3s788ms 3s788ms 23 1 3s772ms 3s772ms [ User: pubeu - Total duration: 12m46s - Times executed: 193 ]
[ User: qaeu - Total duration: 4s2ms - Times executed: 1 ]
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1393242') 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 = '1393242') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-09-12 05:52:03 Duration: 17s198ms 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 = '1393242') 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 = '1393242') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-09-09 07:31:13 Duration: 16s239ms 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 = '1393242') 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 = '1393242') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-09-14 13:50:32 Duration: 15s218ms Bind query: yes
4 219 4m37s 1s137ms 1s909ms 1s268ms 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 #4
Day Hour Count Duration Avg duration Sep 08 00 3 3s880ms 1s293ms 02 2 2s563ms 1s281ms 03 1 1s304ms 1s304ms 04 1 1s272ms 1s272ms 05 8 10s694ms 1s336ms 06 2 2s527ms 1s263ms 07 1 1s251ms 1s251ms 08 2 2s533ms 1s266ms 10 2 2s394ms 1s197ms 12 2 2s456ms 1s228ms 13 3 3s729ms 1s243ms 14 4 4s837ms 1s209ms 15 1 1s231ms 1s231ms 16 1 1s290ms 1s290ms 19 1 1s244ms 1s244ms 20 1 1s240ms 1s240ms 22 1 1s296ms 1s296ms 23 2 2s533ms 1s266ms Sep 09 01 1 1s191ms 1s191ms 02 1 1s272ms 1s272ms 04 1 1s321ms 1s321ms 05 6 7s742ms 1s290ms 06 2 2s466ms 1s233ms 07 1 1s294ms 1s294ms 08 1 1s238ms 1s238ms 09 1 1s260ms 1s260ms 13 1 1s272ms 1s272ms 14 2 2s469ms 1s234ms 15 2 2s534ms 1s267ms 16 3 3s770ms 1s256ms 17 1 1s279ms 1s279ms 18 2 2s433ms 1s216ms 19 1 1s187ms 1s187ms 21 2 2s573ms 1s286ms 22 3 3s812ms 1s270ms 23 2 2s415ms 1s207ms Sep 10 01 5 6s350ms 1s270ms 03 2 2s705ms 1s352ms 04 3 3s712ms 1s237ms 05 5 6s524ms 1s304ms 07 3 3s792ms 1s264ms 08 1 1s432ms 1s432ms 09 1 1s241ms 1s241ms 10 4 5s55ms 1s263ms 11 1 1s278ms 1s278ms 12 1 1s210ms 1s210ms 13 3 3s822ms 1s274ms 15 3 3s855ms 1s285ms 16 2 2s505ms 1s252ms 18 1 1s286ms 1s286ms 19 3 3s881ms 1s293ms 20 3 3s761ms 1s253ms 21 1 1s270ms 1s270ms 22 1 1s276ms 1s276ms 23 1 1s290ms 1s290ms Sep 11 00 1 1s582ms 1s582ms 01 5 6s219ms 1s243ms 05 2 2s810ms 1s405ms 08 1 1s420ms 1s420ms 09 2 2s638ms 1s319ms 10 1 1s402ms 1s402ms 11 1 1s207ms 1s207ms 12 2 2s552ms 1s276ms 14 1 1s267ms 1s267ms 16 2 2s591ms 1s295ms 18 1 1s335ms 1s335ms 20 3 4s420ms 1s473ms 21 1 1s247ms 1s247ms 22 3 3s577ms 1s192ms 23 1 1s201ms 1s201ms Sep 12 01 1 1s174ms 1s174ms 05 2 2s585ms 1s292ms 08 2 2s550ms 1s275ms 11 1 1s195ms 1s195ms 12 1 1s201ms 1s201ms 13 1 1s258ms 1s258ms 14 1 1s168ms 1s168ms 15 1 1s214ms 1s214ms 16 1 1s212ms 1s212ms 17 1 1s226ms 1s226ms 18 2 2s462ms 1s231ms 19 1 1s210ms 1s210ms 20 2 3s129ms 1s564ms 21 1 1s209ms 1s209ms 22 1 1s282ms 1s282ms Sep 13 00 3 3s671ms 1s223ms 01 1 1s901ms 1s901ms 02 1 1s240ms 1s240ms 03 3 3s592ms 1s197ms 05 3 3s805ms 1s268ms 06 3 3s908ms 1s302ms 07 1 1s210ms 1s210ms 09 2 2s328ms 1s164ms 10 1 1s239ms 1s239ms 13 1 1s162ms 1s162ms 18 2 2s385ms 1s192ms 19 2 2s451ms 1s225ms 20 4 4s870ms 1s217ms 23 2 2s463ms 1s231ms Sep 14 00 2 2s426ms 1s213ms 02 2 2s566ms 1s283ms 03 1 1s224ms 1s224ms 05 3 3s803ms 1s267ms 06 1 1s486ms 1s486ms 09 2 2s540ms 1s270ms 12 2 2s434ms 1s217ms 13 2 2s393ms 1s196ms 14 1 1s214ms 1s214ms 15 3 3s570ms 1s190ms 16 1 1s270ms 1s270ms 17 1 1s208ms 1s208ms 18 2 2s454ms 1s227ms 19 1 1s198ms 1s198ms 20 2 2s365ms 1s182ms 22 1 1s219ms 1s219ms 23 2 2s538ms 1s269ms [ User: pubeu - Total duration: 2m21s - Times executed: 112 ]
[ User: qaeu - Total duration: 6s652ms - 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 = '1216070') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1216070') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-09-11 20:09:08 Duration: 1s909ms 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 = '1219690') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1219690') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-09-13 01:14:35 Duration: 1s901ms 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 = '1231712') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1231712') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-09-12 20:04:55 Duration: 1s823ms Bind query: yes
5 141 3m2s 1s140ms 1s632ms 1s292ms 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 #5
Day Hour Count Duration Avg duration Sep 08 00 2 2s709ms 1s354ms 04 2 2s583ms 1s291ms 05 3 4s122ms 1s374ms 06 1 1s376ms 1s376ms 08 2 2s566ms 1s283ms 10 1 1s543ms 1s543ms 11 3 3s759ms 1s253ms 14 3 3s828ms 1s276ms 15 1 1s281ms 1s281ms 16 2 2s594ms 1s297ms 17 1 1s187ms 1s187ms 19 1 1s261ms 1s261ms 21 1 1s290ms 1s290ms Sep 09 05 3 3s969ms 1s323ms 07 2 2s545ms 1s272ms 08 1 1s284ms 1s284ms 12 1 1s289ms 1s289ms 14 2 2s533ms 1s266ms 20 1 1s264ms 1s264ms 21 2 2s559ms 1s279ms 22 1 1s255ms 1s255ms Sep 10 03 1 1s463ms 1s463ms 04 1 1s193ms 1s193ms 05 2 2s739ms 1s369ms 06 1 1s296ms 1s296ms 07 5 6s340ms 1s268ms 08 2 2s700ms 1s350ms 15 5 6s394ms 1s278ms 16 1 1s256ms 1s256ms 17 1 1s248ms 1s248ms 18 1 1s291ms 1s291ms 19 1 1s268ms 1s268ms 20 1 1s332ms 1s332ms 23 1 1s296ms 1s296ms Sep 11 01 2 2s505ms 1s252ms 03 1 1s327ms 1s327ms 05 3 3s874ms 1s291ms 07 1 1s273ms 1s273ms 08 4 5s195ms 1s298ms 09 2 2s699ms 1s349ms 10 2 2s655ms 1s327ms 11 2 2s610ms 1s305ms 13 1 1s258ms 1s258ms 14 1 1s230ms 1s230ms 15 1 1s266ms 1s266ms 18 3 3s849ms 1s283ms 19 2 2s568ms 1s284ms 20 2 2s696ms 1s348ms Sep 12 01 1 1s213ms 1s213ms 05 4 5s189ms 1s297ms 07 1 1s175ms 1s175ms 08 1 1s310ms 1s310ms 09 1 1s215ms 1s215ms 11 1 1s205ms 1s205ms 13 1 1s220ms 1s220ms 16 1 1s230ms 1s230ms 17 1 1s202ms 1s202ms 20 1 1s255ms 1s255ms 21 1 1s225ms 1s225ms 22 1 1s270ms 1s270ms 23 9 12s374ms 1s374ms Sep 13 00 1 1s271ms 1s271ms 01 2 2s544ms 1s272ms 02 1 1s236ms 1s236ms 05 2 2s742ms 1s371ms 07 1 1s180ms 1s180ms 10 1 1s481ms 1s481ms 14 1 1s497ms 1s497ms 15 1 1s230ms 1s230ms 17 1 1s269ms 1s269ms Sep 14 02 1 1s240ms 1s240ms 05 3 3s984ms 1s328ms 07 2 2s506ms 1s253ms 08 1 1s253ms 1s253ms 10 2 2s485ms 1s242ms 14 5 6s108ms 1s221ms 15 1 1s140ms 1s140ms 16 1 1s191ms 1s191ms 19 2 2s523ms 1s261ms 21 1 1s214ms 1s214ms 22 1 1s384ms 1s384ms [ User: pubeu - Total duration: 1m18s - Times executed: 61 ]
-
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 = '2079326') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2079326') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-09-12 23:38:23 Duration: 1s632ms 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 = '2086129') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2086129') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-09-08 10:50:41 Duration: 1s543ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = '2080079') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2080079') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-09-13 14:10:53 Duration: 1s497ms Database: ctdprd51 User: pubeu Bind query: yes
6 123 3h2m1s 1s65ms 25m56s 1m28s 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 #6
Day Hour Count Duration Avg duration Sep 08 05 1 1s225ms 1s225ms Sep 09 08 1 7s444ms 7s444ms 21 2 40s848ms 20s424ms Sep 10 00 1 1s578ms 1s578ms 02 4 24s346ms 6s86ms 03 4 1m7s 16s822ms 04 1 5s837ms 5s837ms 22 1 1s669ms 1s669ms Sep 11 00 1 14s174ms 14s174ms 01 2 46s86ms 23s43ms 02 2 1m6s 33s478ms 03 3 1m42s 34s38ms 04 3 1m44s 34s676ms 05 1 14s521ms 14s521ms 07 3 1m45s 35s111ms 08 4 1h43m38s 25m54s 09 4 2m16s 34s172ms 10 8 4m37s 34s687ms 15 1 19s510ms 19s510ms 16 2 8s745ms 4s372ms Sep 12 02 39 56m16s 1m26s 05 16 42s340ms 2s646ms 06 7 18s560ms 2s651ms 07 5 2m16s 27s211ms 08 2 1m7s 33s705ms 11 1 1s65ms 1s65ms 20 1 1s153ms 1s153ms 22 1 11s452ms 11s452ms 23 1 1s137ms 1s137ms Sep 13 00 1 1s507ms 1s507ms [ User: pubeu - Total duration: 2h12m48s - Times executed: 70 ]
-
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 = '2086129') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-09-11 08:13:22 Duration: 25m56s 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 = '2086129') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-09-11 08:13:23 Duration: 25m54s 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 = '2086129') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-09-11 08:13:23 Duration: 25m53s Bind query: yes
7 117 11m15s 1s7ms 12s285ms 5s770ms 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 #7
Day Hour Count Duration Avg duration Sep 08 08 1 2s509ms 2s509ms 19 1 1s247ms 1s247ms 21 1 2s627ms 2s627ms Sep 09 03 4 36s342ms 9s85ms 08 1 2s556ms 2s556ms 13 1 2s570ms 2s570ms 16 1 1s9ms 1s9ms 21 6 56s631ms 9s438ms Sep 10 02 3 5s209ms 1s736ms 03 1 1s548ms 1s548ms 14 1 2s675ms 2s675ms 18 1 1s137ms 1s137ms 20 1 1s90ms 1s90ms 22 8 18s863ms 2s357ms Sep 11 01 1 10s484ms 10s484ms 02 1 1s160ms 1s160ms 03 3 17s883ms 5s961ms 05 3 17s881ms 5s960ms 07 4 31s961ms 7s990ms 08 2 11s622ms 5s811ms 09 5 58s54ms 11s610ms 10 12 2m14s 11s208ms 16 2 2s691ms 1s345ms 23 2 5s384ms 2s692ms Sep 12 00 2 2s511ms 1s255ms 05 1 1s46ms 1s46ms 06 4 9s526ms 2s381ms 07 1 10s16ms 10s16ms 10 3 14s444ms 4s814ms 11 1 2s483ms 2s483ms 16 2 8s549ms 4s274ms 22 2 2s625ms 1s312ms Sep 13 00 1 5s820ms 5s820ms 02 8 39s385ms 4s923ms 03 2 8s130ms 4s65ms 06 1 1s80ms 1s80ms 07 1 2s376ms 2s376ms 08 1 10s47ms 10s47ms 11 2 11s567ms 5s783ms 21 1 9s914ms 9s914ms 22 3 31s269ms 10s423ms Sep 14 03 5 44s263ms 8s852ms 06 1 1s55ms 1s55ms 07 1 2s340ms 2s340ms 10 1 6s431ms 6s431ms 11 2 4s978ms 2s489ms 13 2 11s188ms 5s594ms 18 1 1s369ms 1s369ms 22 2 5s27ms 2s513ms [ User: pubeu - Total duration: 6m27s - Times executed: 68 ]
-
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 = '2086129') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-09-11 10:00:41 Duration: 12s285ms 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 = '2086129') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-09-11 09:36:37 Duration: 11s951ms 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 = '2086129') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-09-11 10:00:41 Duration: 11s883ms Database: ctdprd51 User: pubeu Bind query: yes
8 110 3m8s 1s268ms 40s604ms 1s717ms 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 #8
Day Hour Count Duration Avg duration Sep 08 05 2 2s868ms 1s434ms 09 1 1s457ms 1s457ms 10 2 2s790ms 1s395ms 11 2 2s857ms 1s428ms 20 1 1s345ms 1s345ms 22 2 2s884ms 1s442ms Sep 09 00 2 2s711ms 1s355ms 04 2 2s708ms 1s354ms 05 2 2s758ms 1s379ms 07 4 5s607ms 1s401ms 11 3 4s203ms 1s401ms 12 1 1s350ms 1s350ms 14 4 5s793ms 1s448ms 22 1 1s324ms 1s324ms Sep 10 02 1 1s389ms 1s389ms 04 1 1s385ms 1s385ms 05 4 5s493ms 1s373ms 08 4 5s493ms 1s373ms 09 1 1s347ms 1s347ms 21 1 1s465ms 1s465ms Sep 11 00 1 1s361ms 1s361ms 01 2 2s758ms 1s379ms 02 1 1s460ms 1s460ms 05 2 2s838ms 1s419ms 08 1 1s435ms 1s435ms 09 1 1s574ms 1s574ms 10 3 4s440ms 1s480ms 12 1 1s411ms 1s411ms 18 1 1s453ms 1s453ms 20 3 43s253ms 14s417ms 21 1 1s373ms 1s373ms 23 2 2s599ms 1s299ms Sep 12 00 4 5s338ms 1s334ms 01 1 1s275ms 1s275ms 05 2 2s610ms 1s305ms 07 2 2s636ms 1s318ms 08 1 1s360ms 1s360ms 09 1 1s314ms 1s314ms 16 1 1s306ms 1s306ms 17 1 1s281ms 1s281ms Sep 13 01 1 1s394ms 1s394ms 02 4 5s388ms 1s347ms 03 2 2s622ms 1s311ms 05 8 10s347ms 1s293ms 06 1 1s300ms 1s300ms 09 1 1s299ms 1s299ms 12 1 1s292ms 1s292ms 16 1 1s310ms 1s310ms 22 3 4s24ms 1s341ms Sep 14 00 6 7s819ms 1s303ms 01 1 1s357ms 1s357ms 05 2 2s651ms 1s325ms 08 1 1s356ms 1s356ms 09 1 1s299ms 1s299ms 13 1 1s282ms 1s282ms 14 2 2s579ms 1s289ms 17 1 1s330ms 1s330ms [ User: pubeu - Total duration: 1m55s - Times executed: 56 ]
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2024-09-11 20:04:52 Duration: 40s604ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2024-09-11 10:14:58 Duration: 1s582ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2024-09-11 09:46:53 Duration: 1s574ms Bind query: yes
9 98 6m43s 1s 5s957ms 4s119ms 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 #9
Day Hour Count Duration Avg duration Sep 08 05 1 1s24ms 1s24ms 07 2 10s345ms 5s172ms 11 1 5s327ms 5s327ms 14 1 5s47ms 5s47ms 18 2 6s229ms 3s114ms 19 1 1s14ms 1s14ms 20 2 5s959ms 2s979ms 21 2 6s99ms 3s49ms 22 3 16s688ms 5s562ms 23 1 5s443ms 5s443ms Sep 09 03 2 10s283ms 5s141ms 05 2 2s26ms 1s13ms 08 1 4s876ms 4s876ms 10 1 1s 1s 11 1 1s42ms 1s42ms 13 1 4s846ms 4s846ms 17 1 4s969ms 4s969ms 19 2 6s121ms 3s60ms 21 3 15s844ms 5s281ms 23 1 5s502ms 5s502ms Sep 10 00 1 5s301ms 5s301ms 02 1 5s343ms 5s343ms 03 5 21s853ms 4s370ms 04 1 5s182ms 5s182ms 05 2 2s21ms 1s10ms 09 1 1s7ms 1s7ms 15 1 4s965ms 4s965ms 17 1 5s209ms 5s209ms 19 1 5s630ms 5s630ms 23 1 5s19ms 5s19ms Sep 11 00 1 1s8ms 1s8ms 01 1 1s62ms 1s62ms 09 1 1s29ms 1s29ms 10 2 2s67ms 1s33ms 14 1 5s259ms 5s259ms 20 1 3s210ms 3s210ms Sep 12 00 1 5s94ms 5s94ms 05 4 19s199ms 4s799ms 07 5 21s111ms 4s222ms 10 1 4s765ms 4s765ms 11 1 4s657ms 4s657ms 16 1 4s157ms 4s157ms 19 1 5s143ms 5s143ms 21 2 8s888ms 4s444ms Sep 13 00 1 4s167ms 4s167ms 01 3 17s130ms 5s710ms 02 4 19s704ms 4s926ms 04 3 13s322ms 4s440ms 05 4 17s379ms 4s344ms 07 1 4s118ms 4s118ms 09 1 4s238ms 4s238ms 22 1 4s893ms 4s893ms Sep 14 03 1 4s490ms 4s490ms 11 4 18s452ms 4s613ms 13 1 4s306ms 4s306ms 18 2 9s885ms 4s942ms 19 1 4s508ms 4s508ms 20 2 9s265ms 4s632ms [ User: pubeu - Total duration: 2m45s - Times executed: 39 ]
[ User: qaeu - Total duration: 2s8ms - Times executed: 2 ]
-
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 = '1311260' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-09-13 02:22:46 Duration: 5s957ms 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 = '1260513' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-09-13 01:12:32 Duration: 5s805ms 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 = '1333831' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-09-08 22:24:21 Duration: 5s739ms Database: ctdprd51 User: pubeu Bind query: yes
10 48 3m45s 1s14ms 26s340ms 4s690ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Sep 08 04 1 2s490ms 2s490ms 06 1 5s452ms 5s452ms 09 1 2s68ms 2s68ms 19 1 1s426ms 1s426ms Sep 09 21 3 33s501ms 11s167ms Sep 10 02 3 31s759ms 10s586ms 04 1 1s231ms 1s231ms 06 2 3s828ms 1s914ms 10 1 1s287ms 1s287ms 14 1 4s740ms 4s740ms Sep 11 03 5 28s159ms 5s631ms 04 2 11s466ms 5s733ms 07 2 16s205ms 8s102ms 09 2 11s878ms 5s939ms 12 1 1s230ms 1s230ms Sep 12 00 1 1s228ms 1s228ms 05 4 4s379ms 1s94ms 06 1 2s913ms 2s913ms 07 1 10s441ms 10s441ms 10 4 19s135ms 4s783ms Sep 13 05 1 4s218ms 4s218ms 06 1 3s30ms 3s30ms 07 1 5s794ms 5s794ms Sep 14 04 1 5s344ms 5s344ms 07 1 1s14ms 1s14ms 11 1 2s565ms 2s565ms 15 1 4s514ms 4s514ms 17 1 1s593ms 1s593ms 18 1 1s129ms 1s129ms 21 1 1s112ms 1s112ms [ User: pubeu - Total duration: 1m34s - Times executed: 20 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2079326') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 4348650;
Date: 2024-09-10 02:16:59 Duration: 26s340ms 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 = '2086129') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 350;
Date: 2024-09-09 21:37:01 Duration: 11s527ms 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 = '2086129') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 350;
Date: 2024-09-09 21:37:05 Duration: 11s129ms Bind query: yes
11 47 1m57s 1s1ms 3s560ms 2s505ms 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 #11
Day Hour Count Duration Avg duration Sep 08 04 1 2s405ms 2s405ms 05 4 8s861ms 2s215ms Sep 09 05 4 8s761ms 2s190ms Sep 10 05 5 11s141ms 2s228ms 08 2 4s564ms 2s282ms Sep 11 05 4 8s711ms 2s177ms 07 1 3s293ms 3s293ms 08 2 4s547ms 2s273ms 09 2 4s612ms 2s306ms 10 3 7s881ms 2s627ms 16 1 3s262ms 3s262ms 20 2 4s649ms 2s324ms Sep 12 05 3 7s793ms 2s597ms 08 2 4s475ms 2s237ms 15 1 1s879ms 1s879ms Sep 13 01 1 3s378ms 3s378ms 05 3 7s630ms 2s543ms 10 2 6s820ms 3s410ms 11 1 3s234ms 3s234ms Sep 14 05 3 9s834ms 3s278ms [ User: pubeu - Total duration: 1m1s - Times executed: 19 ]
[ User: qaeu - Total duration: 23s372ms - 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 = '592227' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2024-09-11 20:02:49 Duration: 3s560ms 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 = '592227' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2024-09-11 09:46:36 Duration: 3s493ms 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 = '592227' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2024-09-10 08:28:36 Duration: 3s461ms Database: ctdprd51 User: pubeu Bind query: yes
12 41 57s566ms 1s340ms 2s213ms 1s404ms 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 #12
Day Hour Count Duration Avg duration Sep 08 05 2 2s771ms 1s385ms 07 1 1s381ms 1s381ms 14 1 1s387ms 1s387ms 16 1 1s385ms 1s385ms Sep 09 05 2 2s784ms 1s392ms 08 1 1s387ms 1s387ms 12 1 1s392ms 1s392ms Sep 10 03 1 1s390ms 1s390ms 05 2 2s761ms 1s380ms 06 1 1s395ms 1s395ms 11 1 1s388ms 1s388ms Sep 11 04 1 1s401ms 1s401ms 05 2 2s779ms 1s389ms 08 1 1s396ms 1s396ms 09 2 2s802ms 1s401ms 10 2 2s941ms 1s470ms 17 1 1s386ms 1s386ms 18 1 1s382ms 1s382ms 20 2 3s707ms 1s853ms Sep 12 05 2 2s734ms 1s367ms 08 1 1s343ms 1s343ms 17 1 1s374ms 1s374ms Sep 13 02 1 1s361ms 1s361ms 05 2 2s713ms 1s356ms 09 1 1s355ms 1s355ms Sep 14 04 1 1s351ms 1s351ms 05 2 2s705ms 1s352ms 08 1 1s351ms 1s351ms 13 1 1s340ms 1s340ms 22 2 2s709ms 1s354ms [ User: pubeu - Total duration: 25s95ms - Times executed: 18 ]
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2024-09-11 20:08:57 Duration: 2s213ms Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2024-09-11 20:12:48 Duration: 1s494ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2024-09-11 10:36:50 Duration: 1s480ms Database: ctdprd51 User: pubeu Bind query: yes
13 39 47s85ms 1s6ms 1s729ms 1s207ms select fg.nm fromgenesymbol, fg.acc_txt fromgeneacc, tg.nm togenesymbol, tg.acc_txt togeneacc, ft.nm fromtaxonnm, ft.secondary_nm fromtaxoncommonnm, ft.acc_txt fromtaxonacc, tt.nm totaxonnm, tt.secondary_nm totaxoncommonnm, tt.acc_txt totaxonacc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( select string_agg(ggt.throughput_txt, ? order by ggt.throughput_txt) from gene_gene_ref_throughput ggt where ggt.gene_gene_reference_id = ggr.id) throughput, count(*) over () fullrowcount from gene_gene_reference ggr inner join term fg on ggr.from_gene_id = fg.id inner join term tg on ggr.to_gene_id = tg.id inner join term ft on ggr.from_taxon_id = ft.id inner join term tt on ggr.to_taxon_id = tt.id where ggr.reference_id = ? order by fg.nm_sort, tg.nm_sort limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Sep 08 05 4 4s688ms 1s172ms Sep 09 05 1 1s326ms 1s326ms Sep 10 05 4 4s523ms 1s130ms 08 2 2s470ms 1s235ms Sep 11 02 1 1s36ms 1s36ms 05 3 4s116ms 1s372ms 08 2 2s209ms 1s104ms 09 2 2s44ms 1s22ms 10 2 2s680ms 1s340ms 20 4 5s573ms 1s393ms Sep 12 05 4 4s343ms 1s85ms 08 2 2s411ms 1s205ms Sep 13 05 4 4s748ms 1s187ms Sep 14 05 4 4s911ms 1s227ms [ User: pubeu - Total duration: 11s431ms - Times executed: 9 ]
[ User: qaeu - Total duration: 5s446ms - Times executed: 5 ]
-
SELECT /* ReferenceGeneGeneIxnsDAO */ fg.nm fromGeneSymbol, fg.acc_txt fromGeneAcc, tg.nm toGeneSymbol, tg.acc_txt toGeneAcc, ft.nm fromTaxonNm, ft.secondary_nm fromTaxonCommonNm, ft.acc_txt fromTaxonAcc, tt.nm toTaxonNm, tt.secondary_nm toTaxonCommonNm, tt.acc_txt toTaxonAcc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( SELECT STRING_AGG(ggt.throughput_txt, ', ' ORDER BY ggt.throughput_txt) FROM gene_gene_ref_throughput ggt WHERE ggt.gene_gene_reference_id = ggr.id) throughput, COUNT(*) OVER () fullRowCount FROM gene_gene_reference ggr INNER JOIN term fg ON ggr.from_gene_id = fg.id INNER JOIN term tg ON ggr.to_gene_id = tg.id INNER JOIN term ft ON ggr.from_taxon_id = ft.id INNER JOIN term tt ON ggr.to_taxon_id = tt.id WHERE ggr.reference_id = '111363' ORDER BY fg.nm_sort, tg.nm_sort LIMIT 50;
Date: 2024-09-11 20:08:15 Duration: 1s729ms Bind query: yes
-
SELECT /* ReferenceGeneGeneIxnsDAO */ fg.nm fromGeneSymbol, fg.acc_txt fromGeneAcc, tg.nm toGeneSymbol, tg.acc_txt toGeneAcc, ft.nm fromTaxonNm, ft.secondary_nm fromTaxonCommonNm, ft.acc_txt fromTaxonAcc, tt.nm toTaxonNm, tt.secondary_nm toTaxonCommonNm, tt.acc_txt toTaxonAcc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( SELECT STRING_AGG(ggt.throughput_txt, ', ' ORDER BY ggt.throughput_txt) FROM gene_gene_ref_throughput ggt WHERE ggt.gene_gene_reference_id = ggr.id) throughput, COUNT(*) OVER () fullRowCount FROM gene_gene_reference ggr INNER JOIN term fg ON ggr.from_gene_id = fg.id INNER JOIN term tg ON ggr.to_gene_id = tg.id INNER JOIN term ft ON ggr.from_taxon_id = ft.id INNER JOIN term tt ON ggr.to_taxon_id = tt.id WHERE ggr.reference_id = '111363' ORDER BY fg.nm_sort, tg.nm_sort LIMIT 50;
Date: 2024-09-11 05:43:11 Duration: 1s646ms Bind query: yes
-
SELECT /* ReferenceGeneGeneIxnsDAO */ fg.nm fromGeneSymbol, fg.acc_txt fromGeneAcc, tg.nm toGeneSymbol, tg.acc_txt toGeneAcc, ft.nm fromTaxonNm, ft.secondary_nm fromTaxonCommonNm, ft.acc_txt fromTaxonAcc, tt.nm toTaxonNm, tt.secondary_nm toTaxonCommonNm, tt.acc_txt toTaxonAcc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( SELECT STRING_AGG(ggt.throughput_txt, ', ' ORDER BY ggt.throughput_txt) FROM gene_gene_ref_throughput ggt WHERE ggt.gene_gene_reference_id = ggr.id) throughput, COUNT(*) OVER () fullRowCount FROM gene_gene_reference ggr INNER JOIN term fg ON ggr.from_gene_id = fg.id INNER JOIN term tg ON ggr.to_gene_id = tg.id INNER JOIN term ft ON ggr.from_taxon_id = ft.id INNER JOIN term tt ON ggr.to_taxon_id = tt.id WHERE ggr.reference_id = '111363' ORDER BY fg.nm_sort, tg.nm_sort LIMIT 50;
Date: 2024-09-14 05:43:09 Duration: 1s517ms Bind query: yes
14 26 36s770ms 1s 2s627ms 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 stressorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or exposuremarkerterm.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 #14
Day Hour Count Duration Avg duration Sep 09 03 1 1s125ms 1s125ms 09 4 4s564ms 1s141ms 22 1 1s337ms 1s337ms Sep 10 17 2 3s968ms 1s984ms Sep 11 19 1 1s266ms 1s266ms Sep 12 05 1 1s307ms 1s307ms 07 1 1s432ms 1s432ms 09 1 1s34ms 1s34ms 13 2 2s414ms 1s207ms 16 1 1s443ms 1s443ms 20 2 3s676ms 1s838ms 21 1 1s920ms 1s920ms 23 2 3s456ms 1s728ms Sep 13 02 1 1s 1s 11 1 1s183ms 1s183ms 16 1 1s109ms 1s109ms 18 1 1s267ms 1s267ms 22 1 1s982ms 1s982ms Sep 14 18 1 1s279ms 1s279ms [ User: pubeu - Total duration: 15s425ms - Times executed: 12 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1272080') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1272080') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-09-10 17:07:01 Duration: 2s627ms 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 stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1394368') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1394368') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-09-12 23:52:21 Duration: 2s344ms 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 stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1262448') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1262448') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-09-12 20:35:13 Duration: 2s54ms Bind query: yes
15 25 14m11s 33s517ms 35s875ms 34s61ms 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 #15
Day Hour Count Duration Avg duration Sep 08 06 1 33s810ms 33s810ms 10 1 33s866ms 33s866ms 14 1 33s949ms 33s949ms 18 1 33s899ms 33s899ms Sep 09 06 1 33s921ms 33s921ms 10 1 33s978ms 33s978ms 14 1 33s961ms 33s961ms 18 1 33s906ms 33s906ms Sep 10 06 1 33s922ms 33s922ms 10 1 33s904ms 33s904ms 14 1 33s917ms 33s917ms 18 1 33s934ms 33s934ms Sep 11 06 1 34s13ms 34s13ms 10 1 34s73ms 34s73ms 14 1 34s3ms 34s3ms 18 1 33s955ms 33s955ms Sep 12 06 1 33s959ms 33s959ms 10 1 33s952ms 33s952ms 14 1 33s916ms 33s916ms 18 1 35s272ms 35s272ms Sep 13 06 1 33s932ms 33s932ms 10 1 35s875ms 35s875ms 14 1 33s970ms 33s970ms 18 1 34s124ms 34s124ms Sep 14 19 1 33s517ms 33s517ms [ User: postgres - Total duration: 13m38s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 13m38s - Times executed: 24 ]
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-09-13 10:05:39 Duration: 35s875ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-09-12 18:05:36 Duration: 35s272ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-09-13 18:05:35 Duration: 34s124ms Database: ctdprd51 User: postgres Application: pg_dump
16 25 6m3s 14s373ms 15s299ms 14s527ms copy edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Sep 08 06 1 14s557ms 14s557ms 10 1 14s438ms 14s438ms 14 1 14s580ms 14s580ms 18 1 14s516ms 14s516ms Sep 09 06 1 14s507ms 14s507ms 10 1 14s569ms 14s569ms 14 1 14s501ms 14s501ms 18 1 14s576ms 14s576ms Sep 10 06 1 14s441ms 14s441ms 10 1 14s441ms 14s441ms 14 1 14s549ms 14s549ms 18 1 14s475ms 14s475ms Sep 11 06 1 14s468ms 14s468ms 10 1 14s458ms 14s458ms 14 1 14s453ms 14s453ms 18 1 14s489ms 14s489ms Sep 12 06 1 14s588ms 14s588ms 10 1 14s497ms 14s497ms 14 1 14s484ms 14s484ms 18 1 14s489ms 14s489ms Sep 13 06 1 14s488ms 14s488ms 10 1 15s299ms 15s299ms 14 1 14s497ms 14s497ms 18 1 14s442ms 14s442ms Sep 14 18 1 14s373ms 14s373ms [ User: postgres - Total duration: 6m3s - Times executed: 25 ]
[ Application: pg_dump - Total duration: 6m3s - Times executed: 25 ]
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-13 10:00:17 Duration: 15s299ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-12 06:00:16 Duration: 14s588ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-08 14:00:17 Duration: 14s580ms Database: ctdprd51 User: postgres Application: pg_dump
17 25 3m2s 1s747ms 11s235ms 7s307ms select distinct phenotypeterm.nm as gonm, phenotypeterm.nm_html as gonmhtml, phenotypeterm.acc_txt as goacc, diseaseterm.nm as diseasenm, diseaseterm.nm_html as diseasenmhtml, diseaseterm.acc_txt as diseaseacc, diseaseterm.acc_db_cd as diseaseaccdbcd, chemterm.nm as chemnm, chemterm.nm_html as chemnmhtml, chemterm.acc_txt as chemacc, geneterm.nm as genesymbol, geneterm.nm_html as genesymbolhtml, geneterm.acc_txt as geneacc, count(*) over () fullrowcount from phenotype_term_reference viachemptr, phenotype_term_reference viageneptr, term phenotypeterm, term diseaseterm, term geneterm, term chemterm where viachemptr.via_term_id in ( select baseterm.id from term baseterm where baseterm.object_type_id = ? and baseterm.id in ( select term_id from term_label tl where upper(tl.nm) = ? and tl.object_type_id = ?)) and viachemptr.phenotype_id = phenotypeterm.id and viachemptr.term_object_type_id = ? and viachemptr.term_id = diseaseterm.id and viachemptr.via_term_object_type_id = ? and viachemptr.via_term_id = chemterm.id and viachemptr.term_id = viageneptr.term_id and viachemptr.phenotype_id = viageneptr.phenotype_id and viageneptr.via_term_object_type_id = ? and viageneptr.via_term_id = geneterm.id and exists ( select ? from gene_chem_reference where gene_id = geneterm.id and chem_id = chemterm.id) group by phenotypeterm.nm, phenotypeterm.nm_html, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.nm_html, diseaseterm.acc_txt, diseaseterm.acc_db_cd, chemterm.nm, chemterm.nm_html, chemterm.acc_txt, geneterm.nm, geneterm.nm_html, geneterm.acc_txt order by chemterm.nm;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Sep 12 11 14 59s624ms 4s258ms 12 4 44s785ms 11s196ms 13 2 22s393ms 11s196ms Sep 13 12 1 11s190ms 11s190ms 14 4 44s686ms 11s171ms [ User: pubeu - Total duration: 1m33s - Times executed: 11 ]
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ETHANOL' AND tl.object_type_id = 2)) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm;
Date: 2024-09-12 12:12:54 Duration: 11s235ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ETHANOL' AND tl.object_type_id = 2)) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm;
Date: 2024-09-12 12:09:08 Duration: 11s231ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ETHANOL' AND tl.object_type_id = 2)) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm;
Date: 2024-09-12 13:49:26 Duration: 11s215ms Database: ctdprd51 User: pubeu Bind query: yes
18 25 2m46s 6s622ms 6s718ms 6s667ms copy edit.ixn (id, ixn_type_id, parent_id, position_seq, root_id, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Sep 08 06 1 6s656ms 6s656ms 10 1 6s677ms 6s677ms 14 1 6s670ms 6s670ms 18 1 6s686ms 6s686ms Sep 09 06 1 6s643ms 6s643ms 10 1 6s685ms 6s685ms 14 1 6s673ms 6s673ms 18 1 6s672ms 6s672ms Sep 10 06 1 6s650ms 6s650ms 10 1 6s676ms 6s676ms 14 1 6s686ms 6s686ms 18 1 6s655ms 6s655ms Sep 11 06 1 6s654ms 6s654ms 10 1 6s676ms 6s676ms 14 1 6s678ms 6s678ms 18 1 6s664ms 6s664ms Sep 12 06 1 6s636ms 6s636ms 10 1 6s637ms 6s637ms 14 1 6s655ms 6s655ms 18 1 6s702ms 6s702ms Sep 13 06 1 6s622ms 6s622ms 10 1 6s718ms 6s718ms 14 1 6s666ms 6s666ms 18 1 6s651ms 6s651ms Sep 14 18 1 6s684ms 6s684ms -
COPY edit.ixn (id, ixn_type_id, parent_id, position_seq, root_id, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-13 10:00:25 Duration: 6s718ms
-
COPY edit.ixn (id, ixn_type_id, parent_id, position_seq, root_id, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-12 18:00:25 Duration: 6s702ms
-
COPY edit.ixn (id, ixn_type_id, parent_id, position_seq, root_id, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-10 14:00:24 Duration: 6s686ms
19 25 2m18s 5s496ms 5s748ms 5s549ms copy edit.ixn_action (ixn_id, action_type_id, action_degree_type_id, position_seq, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Sep 08 06 1 5s748ms 5s748ms 10 1 5s525ms 5s525ms 14 1 5s542ms 5s542ms 18 1 5s555ms 5s555ms Sep 09 06 1 5s511ms 5s511ms 10 1 5s563ms 5s563ms 14 1 5s568ms 5s568ms 18 1 5s569ms 5s569ms Sep 10 06 1 5s520ms 5s520ms 10 1 5s521ms 5s521ms 14 1 5s610ms 5s610ms 18 1 5s528ms 5s528ms Sep 11 06 1 5s527ms 5s527ms 10 1 5s538ms 5s538ms 14 1 5s532ms 5s532ms 18 1 5s550ms 5s550ms Sep 12 06 1 5s523ms 5s523ms 10 1 5s562ms 5s562ms 14 1 5s548ms 5s548ms 18 1 5s536ms 5s536ms Sep 13 06 1 5s532ms 5s532ms 10 1 5s546ms 5s546ms 14 1 5s543ms 5s543ms 18 1 5s536ms 5s536ms Sep 14 18 1 5s496ms 5s496ms -
COPY edit.ixn_action (ixn_id, action_type_id, action_degree_type_id, position_seq, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-08 06:00:31 Duration: 5s748ms
-
COPY edit.ixn_action (ixn_id, action_type_id, action_degree_type_id, position_seq, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-10 14:00:30 Duration: 5s610ms
-
COPY edit.ixn_action (ixn_id, action_type_id, action_degree_type_id, position_seq, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-09 18:00:32 Duration: 5s569ms
20 25 1m6s 2s627ms 2s690ms 2s656ms copy edit.reference_ixn_qualifier (reference_ixn_id, ixn_qualifier_id, create_by, create_tm) to stdout;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Sep 08 06 1 2s672ms 2s672ms 10 1 2s652ms 2s652ms 14 1 2s659ms 2s659ms 18 1 2s683ms 2s683ms Sep 09 06 1 2s640ms 2s640ms 10 1 2s657ms 2s657ms 14 1 2s669ms 2s669ms 18 1 2s658ms 2s658ms Sep 10 06 1 2s690ms 2s690ms 10 1 2s660ms 2s660ms 14 1 2s653ms 2s653ms 18 1 2s650ms 2s650ms Sep 11 06 1 2s652ms 2s652ms 10 1 2s644ms 2s644ms 14 1 2s651ms 2s651ms 18 1 2s669ms 2s669ms Sep 12 06 1 2s642ms 2s642ms 10 1 2s643ms 2s643ms 14 1 2s627ms 2s627ms 18 1 2s659ms 2s659ms Sep 13 06 1 2s652ms 2s652ms 10 1 2s678ms 2s678ms 14 1 2s637ms 2s637ms 18 1 2s634ms 2s634ms Sep 14 18 1 2s673ms 2s673ms -
COPY edit.reference_ixn_qualifier (reference_ixn_id, ixn_qualifier_id, create_by, create_tm) TO stdout;
Date: 2024-09-10 06:01:09 Duration: 2s690ms
-
COPY edit.reference_ixn_qualifier (reference_ixn_id, ixn_qualifier_id, create_by, create_tm) TO stdout;
Date: 2024-09-08 18:01:12 Duration: 2s683ms
-
COPY edit.reference_ixn_qualifier (reference_ixn_id, ixn_qualifier_id, create_by, create_tm) TO stdout;
Date: 2024-09-13 10:01:11 Duration: 2s678ms
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 23m42s 23m42s 23m42s 1 23m42s 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 #1
Day Hour Count Duration Avg duration Sep 14 19 1 23m42s 23m42s -
COPY pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2024-09-14 19:42:59 Duration: 23m42s
2 23m39s 23m39s 23m39s 1 23m39s copy pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Sep 14 19 1 23m39s 23m39s -
COPY pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2024-09-14 19:00:34 Duration: 23m39s
3 16m35s 17m9s 16m50s 7 1h57m52s select maint_query_logs_archive ();Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Sep 08 00 1 16m41s 16m41s Sep 09 00 1 16m47s 16m47s Sep 10 00 1 16m37s 16m37s Sep 11 00 1 16m35s 16m35s Sep 12 00 1 16m54s 16m54s Sep 13 00 1 17m4s 17m4s Sep 14 00 1 17m9s 17m9s -
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-09-14 00:17:11 Duration: 17m9s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-09-13 00:17:06 Duration: 17m4s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-09-12 00:16:56 Duration: 16m54s
4 6m48s 6m48s 6m48s 1 6m48s copy pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Sep 14 19 1 6m48s 6m48s -
COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-09-14 19:54:39 Duration: 6m48s
5 6m47s 6m47s 6m47s 1 6m47s copy pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Sep 14 19 1 6m47s 6m47s -
COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-09-14 19:12:18 Duration: 6m47s
6 1m42s 10m10s 5m56s 2 11m52s 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 phenotypeterm.nm_sort, diseaseterm.nm_sort limit ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Sep 08 15 1 1m42s 1m42s Sep 10 16 1 10m10s 10m10s -
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 = '1235382') and diseaseTerm.object_type_id = 3 ORDER BY phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;
Date: 2024-09-10 16:57:42 Duration: 10m10s 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 = '1227238') and diseaseTerm.object_type_id = 3 ORDER BY phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;
Date: 2024-09-08 15:30:51 Duration: 1m42s Bind query: yes
7 1s450ms 17m56s 2m34s 15 38m34s 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 #7
Day Hour Count Duration Avg duration Sep 08 00 1 2s265ms 2s265ms 19 1 1s517ms 1s517ms Sep 09 09 1 1s575ms 1s575ms 18 1 1s536ms 1s536ms Sep 10 20 1 4m59s 4m59s Sep 11 18 1 1m51s 1m51s 19 1 1s524ms 1s524ms Sep 12 07 1 2s451ms 2s451ms Sep 14 02 2 4m7s 2m3s 16 1 45s559ms 45s559ms 18 2 8m41s 4m20s 19 1 17m56s 17m56s 21 1 1s450ms 1s450ms [ User: pubeu - Total duration: 29m43s - Times executed: 8 ]
-
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 = '1239879') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-09-14 19:04:08 Duration: 17m56s 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 = '1257694') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-09-14 18:53:39 Duration: 8m38s 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 = '1255059') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-09-10 20:18:30 Duration: 4m59s Database: ctdprd51 User: pubeu Bind query: yes
8 2m5s 2m5s 2m5s 2 4m11s select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in ( select gcr.gene_id from gene_chem_reference gcr where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array ( select gi.id from term gi where gi.nm_fts @@ to_tsquery(?, ?) and gi.object_type_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 = ?)) and (gcra.action_degree_type_nm = ?))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Sep 14 20 2 4m11s 2m5s [ User: pubeu - Total duration: 2m5s - Times executed: 1 ]
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY ( SELECT /* CIQH.getIxnGeneWhereContains */ gi.id FROM term gi WHERE gi.nm_fts @@ to_tsquery('common.english_nostops', 'GLUTATHIONE & PEROXIDASE') AND gi.object_type_id = 4)) 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')) AND (gcra.action_degree_type_nm = 'increases'))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-09-14 20:40:57 Duration: 2m5s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY ( SELECT /* CIQH.getIxnGeneWhereContains */ gi.id FROM term gi WHERE gi.nm_fts @@ to_tsquery('common.english_nostops', 'GLUTATHIONE & PEROXIDASE') AND gi.object_type_id = 4)) 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')) AND (gcra.action_degree_type_nm = 'increases'))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-09-14 20:40:03 Duration: 2m5s Bind query: yes
9 1s65ms 25m56s 1m28s 123 3h2m1s 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 #9
Day Hour Count Duration Avg duration Sep 08 05 1 1s225ms 1s225ms Sep 09 08 1 7s444ms 7s444ms 21 2 40s848ms 20s424ms Sep 10 00 1 1s578ms 1s578ms 02 4 24s346ms 6s86ms 03 4 1m7s 16s822ms 04 1 5s837ms 5s837ms 22 1 1s669ms 1s669ms Sep 11 00 1 14s174ms 14s174ms 01 2 46s86ms 23s43ms 02 2 1m6s 33s478ms 03 3 1m42s 34s38ms 04 3 1m44s 34s676ms 05 1 14s521ms 14s521ms 07 3 1m45s 35s111ms 08 4 1h43m38s 25m54s 09 4 2m16s 34s172ms 10 8 4m37s 34s687ms 15 1 19s510ms 19s510ms 16 2 8s745ms 4s372ms Sep 12 02 39 56m16s 1m26s 05 16 42s340ms 2s646ms 06 7 18s560ms 2s651ms 07 5 2m16s 27s211ms 08 2 1m7s 33s705ms 11 1 1s65ms 1s65ms 20 1 1s153ms 1s153ms 22 1 11s452ms 11s452ms 23 1 1s137ms 1s137ms Sep 13 00 1 1s507ms 1s507ms [ User: pubeu - Total duration: 2h12m48s - Times executed: 70 ]
-
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 = '2086129') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-09-11 08:13:22 Duration: 25m56s 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 = '2086129') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-09-11 08:13:23 Duration: 25m54s 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 = '2086129') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-09-11 08:13:23 Duration: 25m53s Bind query: yes
10 33s517ms 35s875ms 34s61ms 25 14m11s 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 #10
Day Hour Count Duration Avg duration Sep 08 06 1 33s810ms 33s810ms 10 1 33s866ms 33s866ms 14 1 33s949ms 33s949ms 18 1 33s899ms 33s899ms Sep 09 06 1 33s921ms 33s921ms 10 1 33s978ms 33s978ms 14 1 33s961ms 33s961ms 18 1 33s906ms 33s906ms Sep 10 06 1 33s922ms 33s922ms 10 1 33s904ms 33s904ms 14 1 33s917ms 33s917ms 18 1 33s934ms 33s934ms Sep 11 06 1 34s13ms 34s13ms 10 1 34s73ms 34s73ms 14 1 34s3ms 34s3ms 18 1 33s955ms 33s955ms Sep 12 06 1 33s959ms 33s959ms 10 1 33s952ms 33s952ms 14 1 33s916ms 33s916ms 18 1 35s272ms 35s272ms Sep 13 06 1 33s932ms 33s932ms 10 1 35s875ms 35s875ms 14 1 33s970ms 33s970ms 18 1 34s124ms 34s124ms Sep 14 19 1 33s517ms 33s517ms [ User: postgres - Total duration: 13m38s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 13m38s - Times executed: 24 ]
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-09-13 10:05:39 Duration: 35s875ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-09-12 18:05:36 Duration: 35s272ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-09-13 18:05:35 Duration: 34s124ms Database: ctdprd51 User: postgres Application: pg_dump
11 1s 51s827ms 18s362ms 2,807 14h19m4s select ? "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casrn "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" from ( with sq as ( select distinct c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casrn, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort from term c inner join gene_chem_reference gcr on c.id = gcr.chem_id inner join term g on gcr.gene_id = g.id where (c.id = ?)) select distinct sq.chem_nm, sq.chem_acc_txt, sq.casrn, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm from sq inner join gene_go_annot gga on sq.gene_id = gga.gene_id inner join dag_node gt on gga.go_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where gga.is_not = false and (d.id = ?) order by sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Sep 09 02 3 32s157ms 10s719ms 09 5 48s158ms 9s631ms 10 2 26s312ms 13s156ms 12 10 41s260ms 4s126ms 14 13 7m3s 32s581ms 15 8 5m5s 38s172ms 16 12 7m43s 38s634ms Sep 10 10 6 3m39s 36s577ms Sep 11 10 3 13s625ms 4s541ms 11 6 2m18s 23s152ms 21 45 3m44s 4s979ms 22 36 2m14s 3s729ms 23 33 1m45s 3s191ms Sep 12 00 31 1m49s 3s531ms 01 42 2m28s 3s529ms 05 24 1m31s 3s800ms 06 21 1m16s 3s641ms 07 36 2m17s 3s810ms 08 42 2m34s 3s673ms 09 39 2m33s 3s939ms 10 44 2m49s 3s852ms 11 45 2m47s 3s732ms 12 30 1m33s 3s119ms 13 27 1m26s 3s194ms 14 30 2m6s 4s221ms 15 39 2m5s 3s209ms 16 60 3m4s 3s78ms 17 120 41m15s 20s630ms 18 249 1h29m5s 21s469ms 19 340 2h10m20s 23s1ms 20 314 1h59m35s 22s850ms 21 132 48m37s 22s104ms 22 39 5m24s 8s326ms 23 30 1m28s 2s953ms Sep 13 00 6 18s917ms 3s152ms 01 249 1h56m1s 27s958ms 02 174 1h23m1s 28s626ms 03 27 12m9s 27s7ms 09 19 6m26s 20s331ms 10 267 1h29m11s 20s43ms 11 134 44m45s 20s39ms 12 15 4m41s 18s767ms [ User: pubeu - Total duration: 8h23m2s - Times executed: 1445 ]
-
SELECT /* BatchChemGODAO */ 'd000082' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1341439)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-09-09 16:29:12 Duration: 51s827ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchChemGODAO */ 'd000082' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1341439)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-09-09 14:56:34 Duration: 50s704ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchChemGODAO */ 'd000082' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1341439)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-09-09 15:51:50 Duration: 50s648ms Database: ctdprd51 User: pubeu Bind query: yes
12 14s373ms 15s299ms 14s527ms 25 6m3s copy edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Sep 08 06 1 14s557ms 14s557ms 10 1 14s438ms 14s438ms 14 1 14s580ms 14s580ms 18 1 14s516ms 14s516ms Sep 09 06 1 14s507ms 14s507ms 10 1 14s569ms 14s569ms 14 1 14s501ms 14s501ms 18 1 14s576ms 14s576ms Sep 10 06 1 14s441ms 14s441ms 10 1 14s441ms 14s441ms 14 1 14s549ms 14s549ms 18 1 14s475ms 14s475ms Sep 11 06 1 14s468ms 14s468ms 10 1 14s458ms 14s458ms 14 1 14s453ms 14s453ms 18 1 14s489ms 14s489ms Sep 12 06 1 14s588ms 14s588ms 10 1 14s497ms 14s497ms 14 1 14s484ms 14s484ms 18 1 14s489ms 14s489ms Sep 13 06 1 14s488ms 14s488ms 10 1 15s299ms 15s299ms 14 1 14s497ms 14s497ms 18 1 14s442ms 14s442ms Sep 14 18 1 14s373ms 14s373ms [ User: postgres - Total duration: 6m3s - Times executed: 25 ]
[ Application: pg_dump - Total duration: 6m3s - Times executed: 25 ]
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-13 10:00:17 Duration: 15s299ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-12 06:00:16 Duration: 14s588ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-08 14:00:17 Duration: 14s580ms Database: ctdprd51 User: postgres Application: pg_dump
13 14s22ms 15s62ms 14s118ms 24 5m38s copy edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Sep 08 06 1 14s73ms 14s73ms 10 1 14s66ms 14s66ms 14 1 14s106ms 14s106ms 18 1 14s61ms 14s61ms Sep 09 06 1 14s32ms 14s32ms 10 1 14s97ms 14s97ms 18 1 14s77ms 14s77ms Sep 10 06 1 14s89ms 14s89ms 10 1 14s107ms 14s107ms 14 1 14s68ms 14s68ms 18 1 14s44ms 14s44ms Sep 11 06 1 14s55ms 14s55ms 10 1 14s66ms 14s66ms 14 1 14s84ms 14s84ms 18 1 14s83ms 14s83ms Sep 12 06 1 14s50ms 14s50ms 10 1 14s140ms 14s140ms 14 1 14s79ms 14s79ms 18 1 14s192ms 14s192ms Sep 13 06 1 14s22ms 14s22ms 10 1 15s62ms 15s62ms 14 1 14s77ms 14s77ms 18 1 14s68ms 14s68ms Sep 14 18 1 14s30ms 14s30ms -
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-13 10:01:00 Duration: 15s62ms
-
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-12 18:00:59 Duration: 14s192ms
-
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-12 10:00:58 Duration: 14s140ms
14 13s406ms 14s80ms 13s515ms 23 5m10s copy edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Sep 08 06 1 13s497ms 13s497ms 14 1 13s468ms 13s468ms 18 1 13s501ms 13s501ms Sep 09 06 1 13s406ms 13s406ms 10 1 13s504ms 13s504ms 14 1 13s459ms 13s459ms 18 1 13s521ms 13s521ms Sep 10 06 1 13s495ms 13s495ms 10 1 13s499ms 13s499ms 14 1 13s465ms 13s465ms 18 1 13s468ms 13s468ms Sep 11 06 1 13s494ms 13s494ms 10 1 13s545ms 13s545ms 14 1 13s462ms 13s462ms 18 1 13s538ms 13s538ms Sep 12 06 1 13s444ms 13s444ms 14 1 13s541ms 13s541ms 18 1 14s80ms 14s80ms Sep 13 06 1 13s473ms 13s473ms 10 1 13s595ms 13s595ms 14 1 13s475ms 13s475ms 18 1 13s464ms 13s464ms Sep 14 18 1 13s460ms 13s460ms -
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-12 18:00:44 Duration: 14s80ms
-
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-13 10:00:45 Duration: 13s595ms
-
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-11 10:00:45 Duration: 13s545ms
15 1s747ms 11s235ms 7s307ms 25 3m2s select distinct phenotypeterm.nm as gonm, phenotypeterm.nm_html as gonmhtml, phenotypeterm.acc_txt as goacc, diseaseterm.nm as diseasenm, diseaseterm.nm_html as diseasenmhtml, diseaseterm.acc_txt as diseaseacc, diseaseterm.acc_db_cd as diseaseaccdbcd, chemterm.nm as chemnm, chemterm.nm_html as chemnmhtml, chemterm.acc_txt as chemacc, geneterm.nm as genesymbol, geneterm.nm_html as genesymbolhtml, geneterm.acc_txt as geneacc, count(*) over () fullrowcount from phenotype_term_reference viachemptr, phenotype_term_reference viageneptr, term phenotypeterm, term diseaseterm, term geneterm, term chemterm where viachemptr.via_term_id in ( select baseterm.id from term baseterm where baseterm.object_type_id = ? and baseterm.id in ( select term_id from term_label tl where upper(tl.nm) = ? and tl.object_type_id = ?)) and viachemptr.phenotype_id = phenotypeterm.id and viachemptr.term_object_type_id = ? and viachemptr.term_id = diseaseterm.id and viachemptr.via_term_object_type_id = ? and viachemptr.via_term_id = chemterm.id and viachemptr.term_id = viageneptr.term_id and viachemptr.phenotype_id = viageneptr.phenotype_id and viageneptr.via_term_object_type_id = ? and viageneptr.via_term_id = geneterm.id and exists ( select ? from gene_chem_reference where gene_id = geneterm.id and chem_id = chemterm.id) group by phenotypeterm.nm, phenotypeterm.nm_html, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.nm_html, diseaseterm.acc_txt, diseaseterm.acc_db_cd, chemterm.nm, chemterm.nm_html, chemterm.acc_txt, geneterm.nm, geneterm.nm_html, geneterm.acc_txt order by chemterm.nm;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Sep 12 11 14 59s624ms 4s258ms 12 4 44s785ms 11s196ms 13 2 22s393ms 11s196ms Sep 13 12 1 11s190ms 11s190ms 14 4 44s686ms 11s171ms [ User: pubeu - Total duration: 1m33s - Times executed: 11 ]
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ETHANOL' AND tl.object_type_id = 2)) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm;
Date: 2024-09-12 12:12:54 Duration: 11s235ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ETHANOL' AND tl.object_type_id = 2)) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm;
Date: 2024-09-12 12:09:08 Duration: 11s231ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where viaChemPTR.via_term_id IN ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 2 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ETHANOL' AND tl.object_type_id = 2)) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm;
Date: 2024-09-12 13:49:26 Duration: 11s215ms Database: ctdprd51 User: pubeu Bind query: yes
16 6s622ms 6s718ms 6s667ms 25 2m46s copy edit.ixn (id, ixn_type_id, parent_id, position_seq, root_id, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Sep 08 06 1 6s656ms 6s656ms 10 1 6s677ms 6s677ms 14 1 6s670ms 6s670ms 18 1 6s686ms 6s686ms Sep 09 06 1 6s643ms 6s643ms 10 1 6s685ms 6s685ms 14 1 6s673ms 6s673ms 18 1 6s672ms 6s672ms Sep 10 06 1 6s650ms 6s650ms 10 1 6s676ms 6s676ms 14 1 6s686ms 6s686ms 18 1 6s655ms 6s655ms Sep 11 06 1 6s654ms 6s654ms 10 1 6s676ms 6s676ms 14 1 6s678ms 6s678ms 18 1 6s664ms 6s664ms Sep 12 06 1 6s636ms 6s636ms 10 1 6s637ms 6s637ms 14 1 6s655ms 6s655ms 18 1 6s702ms 6s702ms Sep 13 06 1 6s622ms 6s622ms 10 1 6s718ms 6s718ms 14 1 6s666ms 6s666ms 18 1 6s651ms 6s651ms Sep 14 18 1 6s684ms 6s684ms -
COPY edit.ixn (id, ixn_type_id, parent_id, position_seq, root_id, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-13 10:00:25 Duration: 6s718ms
-
COPY edit.ixn (id, ixn_type_id, parent_id, position_seq, root_id, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-12 18:00:25 Duration: 6s702ms
-
COPY edit.ixn (id, ixn_type_id, parent_id, position_seq, root_id, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-10 14:00:24 Duration: 6s686ms
17 1s7ms 12s285ms 5s770ms 117 11m15s 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 Sep 08 08 1 2s509ms 2s509ms 19 1 1s247ms 1s247ms 21 1 2s627ms 2s627ms Sep 09 03 4 36s342ms 9s85ms 08 1 2s556ms 2s556ms 13 1 2s570ms 2s570ms 16 1 1s9ms 1s9ms 21 6 56s631ms 9s438ms Sep 10 02 3 5s209ms 1s736ms 03 1 1s548ms 1s548ms 14 1 2s675ms 2s675ms 18 1 1s137ms 1s137ms 20 1 1s90ms 1s90ms 22 8 18s863ms 2s357ms Sep 11 01 1 10s484ms 10s484ms 02 1 1s160ms 1s160ms 03 3 17s883ms 5s961ms 05 3 17s881ms 5s960ms 07 4 31s961ms 7s990ms 08 2 11s622ms 5s811ms 09 5 58s54ms 11s610ms 10 12 2m14s 11s208ms 16 2 2s691ms 1s345ms 23 2 5s384ms 2s692ms Sep 12 00 2 2s511ms 1s255ms 05 1 1s46ms 1s46ms 06 4 9s526ms 2s381ms 07 1 10s16ms 10s16ms 10 3 14s444ms 4s814ms 11 1 2s483ms 2s483ms 16 2 8s549ms 4s274ms 22 2 2s625ms 1s312ms Sep 13 00 1 5s820ms 5s820ms 02 8 39s385ms 4s923ms 03 2 8s130ms 4s65ms 06 1 1s80ms 1s80ms 07 1 2s376ms 2s376ms 08 1 10s47ms 10s47ms 11 2 11s567ms 5s783ms 21 1 9s914ms 9s914ms 22 3 31s269ms 10s423ms Sep 14 03 5 44s263ms 8s852ms 06 1 1s55ms 1s55ms 07 1 2s340ms 2s340ms 10 1 6s431ms 6s431ms 11 2 4s978ms 2s489ms 13 2 11s188ms 5s594ms 18 1 1s369ms 1s369ms 22 2 5s27ms 2s513ms [ User: pubeu - Total duration: 6m27s - Times executed: 68 ]
-
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 = '2086129') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-09-11 10:00:41 Duration: 12s285ms 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 = '2086129') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-09-11 09:36:37 Duration: 11s951ms 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 = '2086129') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-09-11 10:00:41 Duration: 11s883ms Database: ctdprd51 User: pubeu Bind query: yes
18 5s496ms 5s748ms 5s549ms 25 2m18s copy edit.ixn_action (ixn_id, action_type_id, action_degree_type_id, position_seq, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Sep 08 06 1 5s748ms 5s748ms 10 1 5s525ms 5s525ms 14 1 5s542ms 5s542ms 18 1 5s555ms 5s555ms Sep 09 06 1 5s511ms 5s511ms 10 1 5s563ms 5s563ms 14 1 5s568ms 5s568ms 18 1 5s569ms 5s569ms Sep 10 06 1 5s520ms 5s520ms 10 1 5s521ms 5s521ms 14 1 5s610ms 5s610ms 18 1 5s528ms 5s528ms Sep 11 06 1 5s527ms 5s527ms 10 1 5s538ms 5s538ms 14 1 5s532ms 5s532ms 18 1 5s550ms 5s550ms Sep 12 06 1 5s523ms 5s523ms 10 1 5s562ms 5s562ms 14 1 5s548ms 5s548ms 18 1 5s536ms 5s536ms Sep 13 06 1 5s532ms 5s532ms 10 1 5s546ms 5s546ms 14 1 5s543ms 5s543ms 18 1 5s536ms 5s536ms Sep 14 18 1 5s496ms 5s496ms -
COPY edit.ixn_action (ixn_id, action_type_id, action_degree_type_id, position_seq, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-08 06:00:31 Duration: 5s748ms
-
COPY edit.ixn_action (ixn_id, action_type_id, action_degree_type_id, position_seq, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-10 14:00:30 Duration: 5s610ms
-
COPY edit.ixn_action (ixn_id, action_type_id, action_degree_type_id, position_seq, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-09 18:00:32 Duration: 5s569ms
19 1s14ms 26s340ms 4s690ms 48 3m45s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Sep 08 04 1 2s490ms 2s490ms 06 1 5s452ms 5s452ms 09 1 2s68ms 2s68ms 19 1 1s426ms 1s426ms Sep 09 21 3 33s501ms 11s167ms Sep 10 02 3 31s759ms 10s586ms 04 1 1s231ms 1s231ms 06 2 3s828ms 1s914ms 10 1 1s287ms 1s287ms 14 1 4s740ms 4s740ms Sep 11 03 5 28s159ms 5s631ms 04 2 11s466ms 5s733ms 07 2 16s205ms 8s102ms 09 2 11s878ms 5s939ms 12 1 1s230ms 1s230ms Sep 12 00 1 1s228ms 1s228ms 05 4 4s379ms 1s94ms 06 1 2s913ms 2s913ms 07 1 10s441ms 10s441ms 10 4 19s135ms 4s783ms Sep 13 05 1 4s218ms 4s218ms 06 1 3s30ms 3s30ms 07 1 5s794ms 5s794ms Sep 14 04 1 5s344ms 5s344ms 07 1 1s14ms 1s14ms 11 1 2s565ms 2s565ms 15 1 4s514ms 4s514ms 17 1 1s593ms 1s593ms 18 1 1s129ms 1s129ms 21 1 1s112ms 1s112ms [ User: pubeu - Total duration: 1m34s - Times executed: 20 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2079326') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 4348650;
Date: 2024-09-10 02:16:59 Duration: 26s340ms 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 = '2086129') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 350;
Date: 2024-09-09 21:37:01 Duration: 11s527ms 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 = '2086129') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 350;
Date: 2024-09-09 21:37:05 Duration: 11s129ms Bind query: yes
20 1s 5s957ms 4s119ms 98 6m43s 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 #20
Day Hour Count Duration Avg duration Sep 08 05 1 1s24ms 1s24ms 07 2 10s345ms 5s172ms 11 1 5s327ms 5s327ms 14 1 5s47ms 5s47ms 18 2 6s229ms 3s114ms 19 1 1s14ms 1s14ms 20 2 5s959ms 2s979ms 21 2 6s99ms 3s49ms 22 3 16s688ms 5s562ms 23 1 5s443ms 5s443ms Sep 09 03 2 10s283ms 5s141ms 05 2 2s26ms 1s13ms 08 1 4s876ms 4s876ms 10 1 1s 1s 11 1 1s42ms 1s42ms 13 1 4s846ms 4s846ms 17 1 4s969ms 4s969ms 19 2 6s121ms 3s60ms 21 3 15s844ms 5s281ms 23 1 5s502ms 5s502ms Sep 10 00 1 5s301ms 5s301ms 02 1 5s343ms 5s343ms 03 5 21s853ms 4s370ms 04 1 5s182ms 5s182ms 05 2 2s21ms 1s10ms 09 1 1s7ms 1s7ms 15 1 4s965ms 4s965ms 17 1 5s209ms 5s209ms 19 1 5s630ms 5s630ms 23 1 5s19ms 5s19ms Sep 11 00 1 1s8ms 1s8ms 01 1 1s62ms 1s62ms 09 1 1s29ms 1s29ms 10 2 2s67ms 1s33ms 14 1 5s259ms 5s259ms 20 1 3s210ms 3s210ms Sep 12 00 1 5s94ms 5s94ms 05 4 19s199ms 4s799ms 07 5 21s111ms 4s222ms 10 1 4s765ms 4s765ms 11 1 4s657ms 4s657ms 16 1 4s157ms 4s157ms 19 1 5s143ms 5s143ms 21 2 8s888ms 4s444ms Sep 13 00 1 4s167ms 4s167ms 01 3 17s130ms 5s710ms 02 4 19s704ms 4s926ms 04 3 13s322ms 4s440ms 05 4 17s379ms 4s344ms 07 1 4s118ms 4s118ms 09 1 4s238ms 4s238ms 22 1 4s893ms 4s893ms Sep 14 03 1 4s490ms 4s490ms 11 4 18s452ms 4s613ms 13 1 4s306ms 4s306ms 18 2 9s885ms 4s942ms 19 1 4s508ms 4s508ms 20 2 9s265ms 4s632ms [ User: pubeu - Total duration: 2m45s - Times executed: 39 ]
[ User: qaeu - Total duration: 2s8ms - Times executed: 2 ]
-
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 = '1311260' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-09-13 02:22:46 Duration: 5s957ms 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 = '1260513' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-09-13 01:12:32 Duration: 5s805ms 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 = '1333831' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-09-08 22:24:21 Duration: 5s739ms 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 8s423ms 8 1s15ms 1s110ms 1s52ms SELECT /* BatchDiseaseGeneAssnsDAO */ $1 "Input";Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Sep 14 18 2 2s80ms 1s40ms 20 4 4s166ms 1s41ms Sep 14 02 2 2s176ms 1s88ms -
SELECT /* BatchDiseaseGeneAssnsDAO */ $1 "Input";
Date: 2024-09-13 02:16:34 Duration: 1s110ms Database: postgres parameters: $1 = 'c543008'
-
SELECT /* BatchDiseaseGeneAssnsDAO */ $1 "Input";
Date: 2024-09-12 20:47:07 Duration: 1s67ms Database: postgres parameters: $1 = 'd000077185'
-
SELECT /* BatchDiseaseGeneAssnsDAO */ $1 "Input";
Date: 2024-09-13 02:17:45 Duration: 1s65ms Database: postgres parameters: $1 = 'c543008'
2 6s479ms 6 1s6ms 1s218ms 1s79ms SELECT DISTINCT stressorTerm.nm as chemNm;Times Reported Time consuming bind #2
Day Hour Count Duration Avg duration 15 2 2s30ms 1s15ms 19 4 4s448ms 1s112ms -
SELECT DISTINCT stressorTerm.nm as chemNm;
Date: 2024-09-12 20:35:11 Duration: 1s218ms Database: postgres parameters: $1 = '1262448', $2 = '1262448'
-
SELECT DISTINCT stressorTerm.nm as chemNm;
Date: 2024-09-12 16:04:22 Duration: 1s15ms Database: postgres parameters: $1 = '1437577', $2 = '1437577'
-
SELECT DISTINCT stressorTerm.nm as chemNm;
Date: 2024-09-12 20:01:45 Duration: 1s6ms Database: postgres parameters: $1 = '1364428', $2 = '1364428'
3 2s86ms 2 1s43ms 1s43ms 1s43ms SELECT /* ReferenceCitedGenesDAO */ ;Times Reported Time consuming bind #3
Day Hour Count Duration Avg duration 18 2 2s86ms 1s43ms -
SELECT /* ReferenceCitedGenesDAO */ ;
Date: 2024-09-12 19:56:17 Duration: 1s43ms Database: postgres parameters: $1 = 'd000077185'
4 0ms 128 0ms 0ms 0ms ;Times Reported Time consuming bind #4
Day Hour Count Duration Avg duration Sep 08 09 2 0ms 0ms 10 2 0ms 0ms Sep 09 05 4 0ms 0ms 06 10 0ms 0ms 07 2 0ms 0ms 12 2 0ms 0ms 13 4 0ms 0ms 14 4 0ms 0ms 15 4 0ms 0ms Sep 10 06 4 0ms 0ms 07 2 0ms 0ms 08 2 0ms 0ms 11 2 0ms 0ms 14 2 0ms 0ms Sep 11 05 2 0ms 0ms 06 2 0ms 0ms 09 2 0ms 0ms 10 4 0ms 0ms 12 2 0ms 0ms 13 2 0ms 0ms 14 2 0ms 0ms Sep 12 00 1 0ms 0ms 10 8 0ms 0ms Sep 13 05 3 0ms 0ms 06 3 0ms 0ms 07 3 0ms 0ms 09 3 0ms 0ms 10 27 0ms 0ms 11 12 0ms 0ms 12 6 0ms 0ms [ User: pubeu - Total duration: 7m55s - Times executed: 71 ]
-
;
Date: Duration: 0ms Database: postgres User: ctdprd51 Remote: pubeu parameters: $1 = 'c000611646'
-
Events
Log levels
Key values
- 254,281 Log entries
Events distribution
Key values
- 0 PANIC entries
- 36 FATAL entries
- 71 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 31 Max number of times the same event was reported
- 107 Total events found
Rank Times reported Error 1 31 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #1
Day Hour Count Sep 10 16 1 Sep 11 09 1 10 1 21 2 Sep 12 05 2 08 1 13 2 19 7 20 5 Sep 13 01 7 02 1 Sep 14 19 1 - FATAL: connection to client lost
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Date: 2024-09-11 09:46:30
2 28 ERROR: canceling statement due to user request
Times Reported Most Frequent Error / Event #2
Day Hour Count Sep 11 21 2 Sep 12 05 3 08 1 13 2 19 7 20 5 Sep 13 01 7 02 1 - ERROR: canceling statement due to user request
- ERROR: canceling statement due to user request
- ERROR: canceling statement due to user request
Statement: SELECT json_object_agg(coalesce (datname,'null'), row_to_json(T)) FROM ( SELECT datname , numbackends as numbackends , xact_commit as xact_commit , xact_rollback as xact_rollback , blks_read as blks_read , blks_hit as blks_hit , tup_returned as tup_returned , tup_fetched as tup_fetched , tup_inserted as tup_inserted , tup_updated as tup_updated , tup_deleted as tup_deleted , conflicts as conflicts , temp_files as temp_files , temp_bytes as temp_bytes , deadlocks as deadlocks , COALESCE(checksum_failures, 0) as checksum_failures , blk_read_time as blk_read_time , blk_write_time as blk_write_time FROM pg_catalog.pg_stat_database ) T ;
Date: 2024-09-11 21:52:23
Statement: SELECT json_object_agg(coalesce (datname,'null'), row_to_json(T)) FROM ( SELECT datname , numbackends as numbackends
Date: 2024-09-12 05:52:21 Database: postgres Application: User: zbx_monitor Remote:
Statement: SELECT row_to_json (T) FROM ( SELECT checkpoints_timed , checkpoints_req , checkpoint_write_time , checkpoint_sync_time , buffers_checkpoint , buffers_clean , maxwritten_clean , buffers_backend , buffers_backend_fsync , buffers_alloc FROM pg_catalog.pg_stat_bgwriter ) T ;
Date: 2024-09-12 08:54:58
3 26 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #3
Day Hour Count Sep 10 16 1 Sep 11 21 1 Sep 12 05 2 08 1 13 2 19 6 20 5 Sep 13 01 6 02 1 Sep 14 19 1 4 5 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #4
Day Hour Count Sep 10 17 3 18 1 Sep 11 18 1 5 5 FATAL: canceling authentication due to timeout
Times Reported Most Frequent Error / Event #5
Day Hour Count Sep 11 09 1 Sep 12 02 2 07 2 6 3 ERROR: relation "..." does not exist
Times Reported Most Frequent Error / Event #6
Day Hour Count Sep 10 16 1 Sep 11 14 1 15 1 - ERROR: relation "gene_disease_reference" does not exist at character 17
- ERROR: relation "gene_chem_reference" does not exist at character 24
- ERROR: relation "db" does not exist at character 15
Statement: select * from gene_disease_reference where source_acc_txt is not null limit 100
Date: 2024-09-10 16:21:41 Database: ctdprd51 Application: pgAdmin 4 - CONN:9629718 User: load Remote:
Statement: select count(*) from gene_chem_reference
Date: 2024-09-11 14:09:29 Database: ctdprd51 Application: pgAdmin 4 - CONN:9629718 User: load Remote:
Statement: select * from db where id = 29
Date: 2024-09-11 15:16:05
7 2 LOG: could not send data to client: Connection reset by peer
Times Reported Most Frequent Error / Event #7
Day Hour Count Sep 11 09 1 10 1 - ERROR: could not send data to client: Connection reset by peer
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Date: 2024-09-11 09:46:30 Database: ctdprd51 Application: User: pubeu Remote:
8 1 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #8
Day Hour Count Sep 12 08 1 9 1 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #9
Day Hour Count Sep 09 17 1 - ERROR: duplicate key value violates unique constraint "ixn_action_pk"
Detail: Key (ixn_id, action_type_id, action_degree_type_id)=(8744632, 1, 1) already exists.
Context: SQL statement "INSERT INTO edit.ixn_action (ixn_id ,action_type_id ,action_degree_type_id ,position_seq ,create_by ,mod_by ,create_tm ,mod_tm ) VALUES (p_ixn_id ,p_action_type_id ,p_action_degree_type_id ,p_position_seq ,p_create_by ,p_mod_by ,p_create_tm ,p_mod_tm )" PL/pgSQL function ins_ixn_action(integer,integer,integer,smallint,character varying,character varying,timestamp without time zone,timestamp without time zone) line 9 at SQL statementPL/pgSQL function ins_ixn(integer,smallint,integer,character varying,character varying,integer,timestamp without time zone,timestamp without time zone) line 32 at RAISEPL/pgSQL function upd_ixn_root_id(integer,integer) line 14 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_action(integer,integer,integer,smallint,character varying,character varying,timestamp without time zone,timestamp without time zone) line 30 at RAISEPL/pgSQL function ins_ixn(integer,smallint,integer,character varying,character varying,integer,timestamp without time zone,timestamp without time zone) line 32 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_action(integer,integer,integer,smallint,character varying,character varying,timestamp without time zone,timestamp without time zone) line 30 at RAISEPL/pgSQL function ins_reference_ixn(character varying,integer,integer,character varying,integer,character varying,character varying,character varying,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 42 at RAISEPL/pgSQL function ins_ixn(integer,smallint,integer,character varying,character varying,integer,timestamp without time zone,timestamp without time zone) line 32 at RAISEPL/pgSQL function upd_ixn_root_id(integer,integer) line 14 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_action(integer,integer,integer,smallint,character varying,character varying,timestamp without time zone,timestamp without time zone) line 30 at RAISEPL/pgSQL function ins_ixn(integer,smallint,integer,character varying,character varying,integer,timestamp without time zone,timestamp without time zone) line 32 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_action(integer,integer,integer,smallint,character varying,character varying,timestamp without time zone,timestamp without time zone) line 30 at RAISEPL/pgSQL function ins_reference_ixn(character varying,integer,integer,character varying,integer,character varying,character varying,character varying,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 42 at RAISEPL/pgSQL function ins_ixn(integer,smallint,integer,character varying,character varying,integer,timestamp without time zone,timestamp without time zone) line 32 at RAISEPL/pgSQL function upd_ixn_root_id(integer,integer) line 14 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_action(integer,integer,integer,smallint,character varying,character varying,timestamp without time zone,timestamp without time zone) line 30 at RAISEPL/pgSQL function ins_ixn(integer,smallint,integer,character varying,character varying,integer,timestamp without time zone,timestamp without time zone) line 32 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_action(integer,integer,integer,smallint,character varying,character varying,timestamp without time zone,timestamp without time zone) line 30 at RAISEPL/pgSQL function ins_ixn_action(integer,integer,integer,smallint,character varying,character varying,timestamp without time zone,timestamp without time zone) line 30 at RAISEPL/pgSQL function ins_ixn(integer,smallint,integer,character varying,character varying,integer,timestamp without time zone,timestamp without time zone) line 32 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_action(integer,integer,integer,smallint,character varying,character varying,timestamp without time zone,timestamp without time zone) line 30 at RAISEPL/pgSQL function ins_reference_ixn(character varying,integer,integer,character varying,integer,character varying,character varying,character varying,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 42 at RAISEPL/pgSQL function del_ixn_by_root_id(integer) line 14 at RAISEPL/pgSQL function del_ixn_by_root_id(integer) line 21 at RAISEPL/pgSQL function del_ixn_by_root_id(integer) line 31 at RAISEPL/pgSQL function del_ixn_by_root_id(integer) line 43 at RAISEPL/pgSQL function del_ixn_by_root_id(integer) line 50 at RAISEPL/pgSQL function del_ixn_by_root_id(integer) line 55 at RAISEPL/pgSQL function del_ixn_by_root_id(integer) line 14 at RAISEPL/pgSQL function del_ixn_by_root_id(integer) line 21 at RAISEPL/pgSQL function del_ixn_by_root_id(integer) line 31 at RAISEPL/pgSQL function del_ixn_by_root_id(integer) line 43 at RAISEPL/pgSQL function del_ixn_by_root_id(integer) line 50 at RAISEPL/pgSQL function del_ixn_by_root_id(integer) line 55 at RAISEPL/pgSQL function ins_ixn(integer,smallint,integer,character varying,character varying,integer,timestamp without time zone,timestamp without time zone) line 32 at RAISEPL/pgSQL function upd_ixn_root_id(integer,integer) line 14 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_action(integer,integer,integer,smallint,character varying,character varying,timestamp without time zone,timestamp without time zone) line 30 at RAISEPL/pgSQL function ins_ixn(integer,smallint,integer,character varying,character varying,integer,timestamp without time zone,timestamp without time zone) line 32 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_action(integer,integer,integer,smallint,character varying,character varying,timestamp without time zone,timestamp without time zone) line 30 at RAISEPL/pgSQL function ins_ixn(integer,smallint,integer,character varying,character varying,integer,timestamp without time zone,timestamp without time zone) line 32 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_action(integer,integer,integer,smallint,character varying,character varying,timestamp without time zone,timestamp without time zone) line 30 at RAISEPL/pgSQL function ins_reference_ixn(character varying,integer,integer,character varying,integer,character varying,character varying,character varying,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 42 at RAISE
Statement: select * from edit.ins_ixn_action($1, $2, $3, $4, $5, $6, $7, $8) as resultDate: 2024-09-09 17:38:39
10 1 ERROR: invalid byte sequence for encoding
Times Reported Most Frequent Error / Event #10
Day Hour Count Sep 11 02 1 - ERROR: invalid byte sequence for encoding "UTF8": 0x00
Context: unnamed portal parameter $1
Statement: SELECT /* ObjectIdDAOImpl.LabelsAndAccs */ t.id ,t.nm ,t.nm_sort nmSort ,t.acc_txt acc ,t.acc_db_cd accDbCd FROM term t ,(SELECT li.term_id FROM term_label li WHERE UPPER(li.nm) = $1 AND li.object_type_id = 2 UNION SELECT l.object_id FROM db_link l WHERE upper( l.acc_txt ) = $2 AND l.object_type_id = 2 AND l.type_cd = 'A') ids WHERE t.id = ids.term_id ORDER BY CASE WHEN UPPER(t.nm) = $3 THEN 1 ELSE 2 END ,t.nm_sortDate: 2024-09-11 02:17:43 Database: ctdprd51 Application: User: pubeu Remote:
11 1 ERROR: FROM pg_stat_archiver ) T
Times Reported Most Frequent Error / Event #11
Day Hour Count Sep 13 01 1 12 1 LOG: database system was shut down at ...
Times Reported Most Frequent Error / Event #12
Day Hour Count Sep 11 20 1 13 1 ERROR: datname , numbackends as numbackends , xact_commit as xact_commit , xact_rollback as xact_rollback , blks_read as blks_read , blks_hit as blks_hit , tup_returned as tup_returned , tup_fetched as tup_fetched , tup_inserted as tup_inserted , tup_updated as tup_updated , tup_deleted as tup_deleted , conflicts as conflicts , temp_files as temp_files , temp_bytes as temp_bytes , deadlocks as deadlocks , COALESCE(...) as checksum_failures , blk_read_time as blk_read_time , blk_write_time as blk_write_time FROM pg_catalog.pg_stat_database ) T
Times Reported Most Frequent Error / Event #13
Day Hour Count Sep 12 19 1 14 1 ERROR: unterminated quoted string at or near "..."
Times Reported Most Frequent Error / Event #14
Day Hour Count Sep 10 13 1 - ERROR: unterminated quoted string at or near "' limit 100" at character 48
Statement: select * from pub2.img where url like ''%39464%' limit 100
Date: 2024-09-10 13:16:26 Database: ctdprd51 Application: pgAdmin 4 - CONN:9629718 User: load Remote: