-
Global information
- Generated on Sun Nov 10 04:15:11 2024
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20241109
- Parsed 196,429 log entries in 10s
- Log start from 2024-11-03 00:00:02 to 2024-11-09 23:59:18
-
Overview
Global Stats
- 349 Number of unique normalized queries
- 5,123 Number of queries
- 15h22m59s Total query duration
- 2024-11-03 00:06:22 First query
- 2024-11-09 23:59:02 Last query
- 7 queries/s at 2024-11-04 03:34:32 Query peak
- 15h22m59s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 15h22m59s Execute total duration
- 71 Number of events
- 14 Number of unique normalized events
- 15 Max number of times the same event was reported
- 0 Number of cancellation
- 95 Total number of automatic vacuums
- 260 Total number of automatic analyzes
- 12 Number temporary file
- 1.00 GiB Max size of temporary file
- 1001.46 MiB Average size of temporary file
- 14,629 Total number of sessions
- 90 sessions at 2024-11-04 03:34:30 Session peak
- 323d23h49m Total duration of sessions
- 31m53s Average duration of sessions
- 0 Average queries per session
- 3s785ms Average queries duration per session
- 31m49s Average idle time per session
- 14,631 Total number of connections
- 32 connections/s at 2024-11-04 03:34:30 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 7 queries/s Query Peak
- 2024-11-04 03:34:32 Date
SELECT Traffic
Key values
- 7 queries/s Query Peak
- 2024-11-04 03:34:32 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2024-11-04 14:05:38 Date
Queries duration
Key values
- 15h22m59s 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) Nov 03 00 21 0ms 18m22s 54s210ms 2s639ms 6s571ms 18m27s 01 38 0ms 16s8ms 2s446ms 4s990ms 6s426ms 22s693ms 02 23 0ms 4s666ms 1s632ms 3s396ms 4s666ms 10s941ms 03 18 0ms 12s110ms 2s138ms 2s130ms 2s320ms 13s174ms 04 19 0ms 1m1s 5s35ms 2s308ms 11s92ms 1m2s 05 65 0ms 2m59s 5s508ms 15s869ms 27s601ms 2m59s 06 24 0ms 36s798ms 5s522ms 4s236ms 9s695ms 48s450ms 07 7 0ms 17s376ms 3s519ms 1s114ms 1s705ms 17s376ms 08 27 0ms 12s506ms 2s252ms 2s569ms 4s716ms 16s478ms 09 15 0ms 8s919ms 2s867ms 2s133ms 8s919ms 14s514ms 10 52 0ms 1m12s 5s217ms 14s466ms 48s111ms 1m12s 11 45 0ms 47s834ms 2s749ms 10s328ms 11s695ms 47s834ms 12 18 0ms 5s562ms 2s348ms 3s621ms 3s924ms 10s743ms 13 20 0ms 20s932ms 2s392ms 2s181ms 3s934ms 22s22ms 14 26 0ms 36s969ms 5s784ms 4s799ms 15s986ms 54s645ms 15 29 0ms 6s7ms 1s487ms 4s298ms 5s468ms 11s310ms 16 45 0ms 5m12s 9s819ms 13s949ms 21s698ms 5m12s 17 29 0ms 17m28s 1m15s 21s777ms 24s729ms 17m36s 18 23 0ms 36s842ms 6s319ms 6s309ms 9s681ms 55s53ms 19 36 0ms 7s195ms 3s123ms 4s720ms 5s576ms 10s796ms 20 23 0ms 1m1s 4s966ms 3s989ms 5s697ms 1m1s 21 33 0ms 11s882ms 5s132ms 5s741ms 8s55ms 1m33s 22 28 0ms 9m23s 42s42ms 5s150ms 10s608ms 9m24s 23 31 0ms 10m47s 23s241ms 4s11ms 4s724ms 10m51s Nov 04 00 50 0ms 18m17s 24s639ms 12s101ms 12s982ms 18m22s 01 64 0ms 3m25s 6s676ms 17s232ms 18s506ms 3m25s 02 139 0ms 4m20s 12s759ms 1m17s 4m16s 8m9s 03 37 0ms 28s724ms 5s882ms 10s446ms 37s505ms 44s540ms 04 34 0ms 10s918ms 2s199ms 5s30ms 7s214ms 16s311ms 05 90 0ms 15s429ms 2s640ms 15s331ms 29s160ms 41s934ms 06 41 0ms 1m 5s330ms 11s127ms 46s896ms 1m 07 29 0ms 3s974ms 1s528ms 2s722ms 3s974ms 11s182ms 08 23 0ms 4s279ms 1s846ms 3s238ms 4s92ms 5s190ms 09 10 0ms 1s249ms 1s139ms 1s115ms 1s186ms 2s299ms 10 32 0ms 37s830ms 7s60ms 14s457ms 33s384ms 54s693ms 11 27 0ms 16s386ms 4s302ms 7s466ms 14s913ms 25s492ms 12 53 0ms 13s702ms 2s555ms 13s349ms 14s605ms 26s159ms 13 18 0ms 5s60ms 1s734ms 2s905ms 3s667ms 5s60ms 14 37 0ms 37s28ms 4s420ms 5s394ms 9s725ms 58s98ms 15 18 0ms 3s823ms 1s716ms 1s308ms 3s720ms 4s854ms 16 24 0ms 17m36s 46s176ms 4s74ms 8s646ms 17m36s 17 17 0ms 10m23s 1m15s 4s60ms 26s395ms 10m23s 18 27 0ms 52s408ms 7s82ms 4s638ms 47s732ms 54s620ms 19 31 0ms 18m1s 39s760ms 8s360ms 21s232ms 18m1s 20 28 0ms 3s803ms 1s396ms 2s494ms 3s617ms 5s675ms 21 58 0ms 1m2s 3s224ms 9s417ms 18s677ms 1m2s 22 42 0ms 5s930ms 1s827ms 7s748ms 9s63ms 11s570ms 23 29 0ms 6s875ms 1s738ms 2s404ms 6s875ms 9s332ms Nov 05 00 169 0ms 18m28s 8s665ms 21s502ms 26s993ms 18m33s 01 64 0ms 8s61ms 3s29ms 8s514ms 14s213ms 16s265ms 02 49 0ms 59s942ms 5s472ms 7s418ms 20s51ms 1m11s 03 51 0ms 4s792ms 3s61ms 4s644ms 5s632ms 7s491ms 04 23 0ms 5s543ms 2s702ms 3s941ms 4s858ms 5s543ms 05 53 0ms 5s700ms 2s58ms 7s722ms 15s699ms 25s800ms 06 22 0ms 37s77ms 6s1ms 3s756ms 10s765ms 54s671ms 07 31 0ms 5s706ms 2s439ms 5s53ms 8s964ms 15s68ms 08 18 0ms 5s163ms 1s776ms 2s55ms 4s753ms 5s163ms 09 23 0ms 5s49ms 1s532ms 2s27ms 3s996ms 6s83ms 10 37 0ms 1m47s 7s828ms 10s614ms 47s39ms 1m51s 11 13 0ms 4s914ms 1s782ms 2s367ms 2s509ms 4s914ms 12 26 0ms 1m7s 4s384ms 4s751ms 6s51ms 1m7s 13 29 0ms 8m5s 19s108ms 6s290ms 8s772ms 8m5s 14 73 0ms 2m31s 6s474ms 17s962ms 45s827ms 3m15s 15 33 0ms 12s337ms 4s30ms 7s997ms 15s32ms 36s581ms 16 20 0ms 3s970ms 1s861ms 3s663ms 3s774ms 5s92ms 17 55 0ms 11s535ms 2s514ms 5s222ms 11s180ms 20s967ms 18 28 0ms 36s869ms 5s124ms 2s592ms 17s517ms 54s769ms 19 27 0ms 5s30ms 1s728ms 4s138ms 5s10ms 6s754ms 20 14 0ms 6s871ms 1s780ms 2s88ms 2s285ms 7s944ms 21 37 0ms 19s983ms 4s409ms 5s123ms 5s890ms 1m33s 22 36 0ms 5m10s 19s299ms 5s914ms 27s411ms 5m10s 23 25 0ms 9m20s 23s724ms 5s58ms 7s810ms 9m21s Nov 06 00 30 0ms 18m22s 49s401ms 5s230ms 10s832ms 18m27s 01 21 0ms 5s169ms 1s537ms 2s118ms 2s191ms 10s77ms 02 36 0ms 11m26s 22s481ms 12s3ms 14s367ms 11m26s 03 15 0ms 18m5s 1m14s 2s181ms 5s243ms 18m5s 04 66 0ms 5s421ms 1s821ms 8s658ms 10s529ms 22s714ms 05 92 0ms 4m38s 5s244ms 19s42ms 25s350ms 4m38s 06 35 0ms 1m4s 6s135ms 9s225ms 45s787ms 1m4s 07 42 0ms 21s883ms 2s949ms 10s660ms 12s273ms 27s972ms 08 18 0ms 5s50ms 2s481ms 3s958ms 4s271ms 5s154ms 09 21 0ms 38s415ms 6s849ms 4s 37s756ms 40s376ms 10 29 0ms 36s984ms 5s738ms 9s633ms 15s120ms 54s714ms 11 21 0ms 11s297ms 5s510ms 11s223ms 11s275ms 11s297ms 12 34 0ms 9m22s 20s435ms 15s107ms 22s313ms 9m22s 13 7 0ms 11s232ms 3s87ms 1s191ms 2s301ms 11s232ms 14 25 0ms 1m8s 10s311ms 22s412ms 46s169ms 1m8s 15 21 0ms 4m10s 30s579ms 11s362ms 45s860ms 4m10s 16 16 0ms 11s694ms 5s902ms 11s281ms 11s340ms 23s8ms 17 22 0ms 3s946ms 2s214ms 3s946ms 7s421ms 11s368ms 18 19 0ms 36s902ms 6s337ms 1s256ms 9s680ms 54s878ms 19 14 0ms 9s799ms 2s832ms 2s574ms 4s353ms 16s229ms 20 22 0ms 17m29s 49s44ms 2s260ms 3s258ms 17m29s 21 23 0ms 19s361ms 2s824ms 2s377ms 7s423ms 19s361ms 22 21 0ms 5s681ms 2s999ms 3s727ms 5s172ms 27s226ms 23 60 0ms 4m53s 16s285ms 20s371ms 3m19s 4m53s Nov 07 00 27 0ms 18m31s 42s402ms 2s291ms 3s481ms 18m36s 01 27 0ms 5s746ms 1s899ms 4s27ms 5s746ms 9s785ms 02 29 0ms 11s639ms 2s910ms 5s977ms 9s35ms 37s655ms 03 15 0ms 11s904ms 2s664ms 2s110ms 3s644ms 20s872ms 04 12 0ms 5s284ms 2s266ms 2s562ms 4s831ms 10s380ms 05 82 0ms 7s388ms 2s303ms 11s327ms 21s48ms 30s911ms 06 72 0ms 4m2s 10s896ms 26s619ms 1m6s 4m24s 07 36 0ms 20s885ms 3s16ms 5s185ms 10s777ms 20s885ms 08 29 0ms 11s699ms 2s260ms 5s79ms 7s957ms 12s768ms 09 18 0ms 3s700ms 1s767ms 3s309ms 3s646ms 3s799ms 10 21 0ms 36s983ms 6s738ms 3s981ms 11s587ms 54s636ms 11 26 0ms 5s166ms 2s28ms 3s780ms 6s64ms 7s857ms 12 15 0ms 5s259ms 1s699ms 2s158ms 2s920ms 7s371ms 13 18 0ms 12s737ms 4s936ms 11s196ms 11s270ms 25s128ms 14 54 0ms 5m14s 9s371ms 9s641ms 45s709ms 5m14s 15 38 0ms 11s562ms 2s522ms 6s187ms 9s628ms 13s797ms 16 54 0ms 8m36s 18s645ms 10s991ms 1m41s 8m37s 17 25 0ms 5s475ms 2s870ms 4s910ms 10s303ms 30s467ms 18 77 0ms 4m44s 19s248ms 54s637ms 4m20s 6m32s 19 49 0ms 5m20s 17s259ms 21s486ms 2m49s 5m20s 20 18 0ms 3s940ms 1s875ms 3s909ms 3s940ms 6s24ms 21 17 0ms 3s876ms 1s406ms 2s278ms 3s725ms 3s876ms 22 14 0ms 4s877ms 1s782ms 2s688ms 4s615ms 4s877ms 23 30 0ms 4s809ms 1s375ms 3s942ms 7s398ms 9s688ms Nov 08 00 30 0ms 18m30s 39s740ms 4s507ms 21s407ms 18m35s 01 33 0ms 9s707ms 1s814ms 6s169ms 8s870ms 9s707ms 02 66 0ms 46s339ms 4s385ms 9s977ms 18s752ms 2m30s 03 27 0ms 20s274ms 5s80ms 3s634ms 20s274ms 55s694ms 04 5 0ms 1s908ms 1s299ms 1s14ms 1s203ms 3s166ms 05 56 0ms 4s284ms 2s170ms 11s961ms 15s735ms 26s281ms 06 27 0ms 5m1s 16s852ms 7s335ms 46s781ms 5m1s 07 32 0ms 48s923ms 6s952ms 13s894ms 21s597ms 1m20s 08 23 0ms 18m1s 54s39ms 8s848ms 32s447ms 18m1s 09 12 0ms 8s531ms 2s986ms 2s288ms 3s332ms 16s775ms 10 15 0ms 17m27s 1m17s 3s624ms 37s178ms 17m27s 11 6 0ms 4s416ms 2s129ms 1s135ms 2s334ms 4s416ms 12 6 0ms 21s66ms 5s219ms 0ms 2s169ms 24s184ms 13 11 0ms 3s604ms 1s346ms 1s107ms 2s301ms 3s604ms 14 14 0ms 36s978ms 8s406ms 4s35ms 9s640ms 54s682ms 15 5 0ms 2s172ms 1s327ms 1s54ms 1s120ms 2s172ms 16 19 0ms 5s200ms 1s679ms 3s38ms 3s692ms 5s664ms 17 7 0ms 1s191ms 1s105ms 1s76ms 2s186ms 2s337ms 18 17 0ms 37s32ms 7s383ms 4s676ms 9s607ms 54s820ms 19 3 0ms 12s343ms 4s869ms 0ms 2s264ms 12s343ms 20 6 0ms 3s973ms 2s470ms 1s129ms 3s920ms 3s973ms 21 14 0ms 4s687ms 2s169ms 3s575ms 3s713ms 9s313ms 22 21 0ms 11m17s 34s656ms 6s790ms 9s541ms 11m17s 23 9 0ms 17m25s 1m57s 1s239ms 7s229ms 17m25s Nov 09 00 12 0ms 18m24s 1m33s 1s149ms 2s303ms 18m30s 01 9 0ms 4s705ms 1s933ms 1s257ms 2s485ms 4s705ms 02 17 0ms 5s640ms 2s536ms 3s664ms 4s64ms 17s30ms 03 32 0ms 3s661ms 2s246ms 11s192ms 16s60ms 16s109ms 04 8 0ms 4s556ms 1s969ms 2s134ms 3s706ms 4s556ms 05 77 0ms 11s23ms 2s472ms 22s355ms 25s304ms 25s343ms 06 28 0ms 5s533ms 1s890ms 3s814ms 5s808ms 11s51ms 07 24 0ms 20s223ms 5s468ms 1s822ms 5s99ms 1m32s 08 44 0ms 17m29s 46s80ms 21s885ms 5m1s 17m29s 09 11 0ms 4s482ms 1s817ms 2s256ms 2s499ms 9s526ms 10 8 0ms 5s498ms 2s852ms 1s279ms 5s125ms 10s39ms 11 11 0ms 4s318ms 2s330ms 3s867ms 4s21ms 4s318ms 12 9 0ms 3s728ms 1s517ms 1s390ms 2s334ms 3s728ms 13 7 0ms 3s907ms 2s125ms 1s142ms 3s777ms 5s329ms 14 23 0ms 19s615ms 5s837ms 4s544ms 27s245ms 1m5s 15 13 0ms 7s5ms 2s877ms 2s652ms 4s114ms 11s49ms 16 19 0ms 5s384ms 2s22ms 3s961ms 5s384ms 12s135ms 17 11 0ms 2s471ms 1s280ms 1s224ms 1s272ms 3s583ms 18 36 0ms 1m11s 11s457ms 55s735ms 1m2s 1m11s 19 53 0ms 23m46s 1m31s 2m48s 7m58s 23m47s 20 18 0ms 3s785ms 1s474ms 1s217ms 2s414ms 5s243ms 21 12 0ms 4s562ms 1s959ms 2s385ms 3s496ms 4s562ms 22 37 0ms 5s960ms 2s661ms 4s988ms 16s932ms 28s455ms 23 18 0ms 19s507ms 2s667ms 3s661ms 5s150ms 19s507ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Nov 03 00 20 0 56s684ms 1s166ms 2s639ms 18m22s 01 38 0 2s446ms 1s508ms 4s990ms 17s829ms 02 23 0 1s632ms 1s189ms 3s396ms 10s941ms 03 18 0 2s138ms 1s86ms 2s130ms 13s174ms 04 19 0 5s35ms 1s271ms 2s308ms 1m2s 05 62 0 5s649ms 5s231ms 15s869ms 2m59s 06 16 8 5s522ms 2s187ms 4s236ms 36s798ms 07 7 0 3s519ms 0ms 1s114ms 17s376ms 08 26 0 2s218ms 1s231ms 2s368ms 16s478ms 09 15 0 2s867ms 1s134ms 2s133ms 14s514ms 10 42 10 5s217ms 4s295ms 14s466ms 1m12s 11 45 0 2s749ms 2s162ms 10s328ms 47s834ms 12 18 0 2s348ms 1s171ms 3s621ms 10s743ms 13 20 0 2s392ms 1s160ms 2s181ms 22s22ms 14 16 10 5s784ms 1s660ms 4s799ms 54s645ms 15 29 0 1s487ms 1s138ms 4s298ms 11s310ms 16 45 0 9s819ms 4s100ms 13s949ms 5m12s 17 28 0 1m18s 1s499ms 21s777ms 17m36s 18 12 10 6s502ms 3s586ms 4s220ms 55s53ms 19 36 0 3s123ms 4s33ms 4s720ms 10s796ms 20 23 0 4s966ms 3s575ms 3s989ms 1m1s 21 33 0 5s132ms 3s648ms 5s741ms 1m33s 22 28 0 42s42ms 2s296ms 5s150ms 9m24s 23 31 0 23s241ms 3s600ms 4s11ms 10m51s Nov 04 00 48 0 25s497ms 4s119ms 12s101ms 18m17s 01 64 0 6s676ms 8s102ms 17s232ms 25s308ms 02 139 0 12s759ms 12s122ms 1m17s 4m20s 03 37 0 5s882ms 2s184ms 10s446ms 38s790ms 04 34 0 2s199ms 4s97ms 5s30ms 16s311ms 05 74 0 2s712ms 7s634ms 14s876ms 33s878ms 06 33 8 5s330ms 1s178ms 11s127ms 54s915ms 07 29 0 1s528ms 1s151ms 2s722ms 5s870ms 08 23 0 1s846ms 2s50ms 3s238ms 5s190ms 09 10 0 1s139ms 0ms 1s115ms 1s249ms 10 22 10 7s60ms 3s273ms 14s457ms 46s596ms 11 24 0 4s599ms 3s121ms 7s466ms 25s492ms 12 51 0 2s566ms 2s209ms 13s349ms 21s633ms 13 18 0 1s734ms 1s145ms 2s905ms 5s60ms 14 27 10 4s420ms 3s666ms 5s394ms 54s788ms 15 18 0 1s716ms 1s133ms 1s308ms 3s823ms 16 24 0 46s176ms 1s470ms 4s74ms 17m36s 17 17 0 1m15s 1s385ms 4s60ms 10m23s 18 17 10 7s82ms 2s222ms 4s638ms 54s620ms 19 31 0 39s760ms 4s95ms 8s360ms 18m1s 20 28 0 1s396ms 2s167ms 2s494ms 5s675ms 21 58 0 3s224ms 3s553ms 9s417ms 21s7ms 22 42 0 1s827ms 1s350ms 7s748ms 11s570ms 23 29 0 1s738ms 1s484ms 2s404ms 9s332ms Nov 05 00 168 0 8s687ms 14s933ms 21s502ms 53s371ms 01 64 0 3s29ms 6s245ms 8s514ms 15s987ms 02 49 0 5s472ms 5s74ms 7s418ms 59s942ms 03 51 0 3s61ms 3s930ms 4s644ms 6s251ms 04 23 0 2s702ms 3s735ms 3s941ms 5s543ms 05 49 0 2s49ms 2s26ms 7s722ms 25s800ms 06 12 10 6s1ms 1s118ms 3s756ms 45s820ms 07 30 0 2s412ms 3s843ms 5s53ms 15s68ms 08 18 0 1s776ms 1s115ms 2s55ms 5s163ms 09 23 0 1s532ms 1s120ms 2s27ms 5s49ms 10 27 10 7s828ms 3s770ms 9s666ms 55s7ms 11 13 0 1s782ms 1s84ms 2s367ms 4s914ms 12 26 0 4s384ms 2s676ms 4s751ms 1m7s 13 26 0 2s422ms 2s706ms 5s108ms 8s664ms 14 50 10 7s387ms 7s853ms 11s766ms 54s767ms 15 33 0 4s30ms 3s496ms 7s997ms 36s581ms 16 19 0 1s861ms 1s210ms 3s663ms 5s92ms 17 55 0 2s514ms 3s910ms 5s222ms 17s336ms 18 17 10 5s245ms 2s144ms 7s828ms 54s769ms 19 27 0 1s728ms 1s525ms 4s138ms 6s754ms 20 14 0 1s780ms 1s97ms 2s88ms 7s944ms 21 37 0 4s409ms 4s79ms 5s123ms 1m33s 22 36 0 19s299ms 2s436ms 5s914ms 4m51s 23 25 0 23s724ms 1s349ms 5s58ms 9m21s Nov 06 00 29 0 50s930ms 3s609ms 5s230ms 18m22s 01 21 0 1s537ms 1s298ms 2s118ms 10s77ms 02 36 0 22s481ms 4s735ms 12s3ms 11m26s 03 15 0 1m14s 1s116ms 2s181ms 18m5s 04 66 0 1s821ms 4s950ms 8s658ms 22s714ms 05 87 0 5s405ms 9s828ms 19s42ms 4m38s 06 25 10 6s135ms 1s898ms 9s225ms 1m4s 07 42 0 2s949ms 3s983ms 10s660ms 27s972ms 08 17 0 2s439ms 1s461ms 3s717ms 5s154ms 09 21 0 6s849ms 2s133ms 4s 40s376ms 10 19 10 5s738ms 2s539ms 9s633ms 54s714ms 11 21 0 5s510ms 4s48ms 11s223ms 11s297ms 12 34 0 20s435ms 4s92ms 15s107ms 9m22s 13 7 0 3s87ms 0ms 1s191ms 11s232ms 14 15 10 10s311ms 2s152ms 22s412ms 1m8s 15 21 0 30s579ms 2s227ms 11s362ms 4m5s 16 16 0 5s902ms 1s103ms 11s281ms 13s862ms 17 22 0 2s214ms 1s203ms 3s946ms 11s368ms 18 9 10 6s337ms 1s100ms 1s256ms 54s878ms 19 14 0 2s832ms 1s23ms 2s574ms 16s229ms 20 22 0 49s44ms 1s245ms 2s260ms 17m29s 21 23 0 2s824ms 1s216ms 2s377ms 9s942ms 22 21 0 2s999ms 2s152ms 3s727ms 27s226ms 23 60 0 16s285ms 3s906ms 20s371ms 4m53s Nov 07 00 26 0 43s833ms 1s132ms 2s291ms 18m31s 01 27 0 1s899ms 1s371ms 4s27ms 9s785ms 02 29 0 2s910ms 1s287ms 5s977ms 37s655ms 03 15 0 2s664ms 0ms 2s110ms 20s872ms 04 12 0 2s266ms 1s56ms 2s562ms 10s380ms 05 78 0 2s310ms 4s719ms 11s327ms 27s424ms 06 64 7 11s2ms 9s54ms 26s619ms 3m45s 07 36 0 3s16ms 3s364ms 5s185ms 20s704ms 08 29 0 2s260ms 2s117ms 5s79ms 12s768ms 09 18 0 1s767ms 1s391ms 3s309ms 3s799ms 10 11 10 6s738ms 1s118ms 4s155ms 54s636ms 11 26 0 2s28ms 1s261ms 3s780ms 6s995ms 12 15 0 1s699ms 1s100ms 2s158ms 7s371ms 13 18 0 4s936ms 1s171ms 11s196ms 25s128ms 14 44 10 9s371ms 3s224ms 9s641ms 5m14s 15 38 0 2s522ms 2s822ms 6s187ms 9s853ms 16 54 0 18s645ms 2s780ms 10s991ms 5m7s 17 25 0 2s870ms 2s104ms 4s910ms 30s467ms 18 66 10 19s459ms 7s372ms 54s637ms 4m47s 19 49 0 17s259ms 5s189ms 21s486ms 5m20s 20 18 0 1s875ms 2s54ms 3s909ms 6s24ms 21 17 0 1s406ms 1s102ms 2s278ms 3s876ms 22 13 0 1s666ms 1s133ms 2s244ms 4s877ms 23 30 0 1s375ms 2s186ms 3s942ms 9s688ms Nov 08 00 29 0 40s936ms 1s281ms 4s507ms 18m30s 01 33 0 1s814ms 3s646ms 6s169ms 9s707ms 02 66 0 4s385ms 3s602ms 9s977ms 2m30s 03 27 0 5s80ms 2s515ms 3s634ms 55s694ms 04 5 0 1s299ms 0ms 1s14ms 3s166ms 05 53 0 2s147ms 2s513ms 7s540ms 26s281ms 06 17 10 16s852ms 3s266ms 7s335ms 54s773ms 07 32 0 6s952ms 1s161ms 13s894ms 48s923ms 08 23 0 54s39ms 2s447ms 8s848ms 18m1s 09 11 0 2s954ms 1s19ms 1s932ms 16s775ms 10 6 9 1m17s 0ms 3s689ms 17m27s 11 6 0 2s129ms 0ms 1s135ms 4s416ms 12 6 0 5s219ms 0ms 0ms 24s184ms 13 11 0 1s346ms 0ms 1s107ms 3s604ms 14 5 9 8s406ms 0ms 4s35ms 54s682ms 15 5 0 1s327ms 0ms 1s54ms 2s172ms 16 19 0 1s679ms 1s91ms 3s38ms 5s664ms 17 7 0 1s105ms 0ms 1s76ms 2s337ms 18 7 10 7s383ms 1s2ms 4s676ms 54s820ms 19 3 0 4s869ms 0ms 0ms 12s343ms 20 6 0 2s470ms 0ms 1s129ms 3s973ms 21 14 0 2s169ms 1s16ms 3s575ms 9s313ms 22 21 0 34s656ms 2s503ms 6s790ms 11m17s 23 9 0 1m57s 1s111ms 1s239ms 17m25s Nov 09 00 11 0 1m41s 1s126ms 1s149ms 18m24s 01 9 0 1s933ms 0ms 1s257ms 4s705ms 02 17 0 2s536ms 1s15ms 3s664ms 17s30ms 03 20 0 2s291ms 1s233ms 7s540ms 10s437ms 04 8 0 1s969ms 0ms 2s134ms 4s556ms 05 73 0 2s488ms 15s625ms 22s355ms 25s343ms 06 27 0 1s840ms 2s269ms 3s814ms 8s651ms 07 24 0 5s468ms 1s128ms 1s822ms 1m32s 08 44 0 46s80ms 13s64ms 21s885ms 17m29s 09 11 0 1s817ms 0ms 2s256ms 9s526ms 10 8 0 2s852ms 0ms 1s279ms 10s39ms 11 11 0 2s330ms 1s242ms 3s867ms 4s318ms 12 9 0 1s517ms 1s93ms 1s390ms 3s728ms 13 7 0 2s125ms 0ms 1s142ms 5s329ms 14 23 0 5s837ms 2s527ms 4s544ms 1m5s 15 13 0 2s877ms 1s210ms 2s652ms 11s49ms 16 17 0 1s952ms 1s107ms 3s961ms 6s896ms 17 11 0 1s280ms 1s56ms 1s224ms 3s583ms 18 10 26 11s457ms 1s241ms 54s553ms 1m11s 19 6 47 1m31s 1m10s 2m48s 23m47s 20 18 0 1s474ms 1s96ms 1s217ms 5s243ms 21 12 0 1s959ms 1s92ms 2s385ms 4s562ms 22 37 0 2s661ms 2s473ms 4s988ms 28s455ms 23 18 0 2s667ms 1s297ms 3s661ms 19s507ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Nov 03 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Nov 04 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Nov 05 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 1 0 0 0 2s279ms 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 Nov 06 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Nov 07 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Nov 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 Nov 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 Day Hour Prepare Bind Bind/Prepare Percentage of prepare Nov 03 00 0 19 19.00 0.00% 01 0 38 38.00 0.00% 02 0 23 23.00 0.00% 03 0 18 18.00 0.00% 04 0 19 19.00 0.00% 05 0 68 68.00 0.00% 06 0 21 21.00 0.00% 07 0 10 10.00 0.00% 08 0 27 27.00 0.00% 09 0 15 15.00 0.00% 10 0 42 42.00 0.00% 11 0 45 45.00 0.00% 12 0 18 18.00 0.00% 13 0 20 20.00 0.00% 14 0 16 16.00 0.00% 15 0 29 29.00 0.00% 16 0 45 45.00 0.00% 17 0 29 29.00 0.00% 18 0 13 13.00 0.00% 19 0 36 36.00 0.00% 20 0 23 23.00 0.00% 21 0 33 33.00 0.00% 22 0 28 28.00 0.00% 23 0 31 31.00 0.00% Nov 04 00 0 48 48.00 0.00% 01 0 64 64.00 0.00% 02 0 139 139.00 0.00% 03 0 37 37.00 0.00% 04 0 34 34.00 0.00% 05 0 91 91.00 0.00% 06 0 39 39.00 0.00% 07 0 32 32.00 0.00% 08 0 23 23.00 0.00% 09 0 10 10.00 0.00% 10 0 23 23.00 0.00% 11 0 28 28.00 0.00% 12 0 54 54.00 0.00% 13 0 19 19.00 0.00% 14 0 29 29.00 0.00% 15 0 20 20.00 0.00% 16 0 27 27.00 0.00% 17 0 18 18.00 0.00% 18 0 17 17.00 0.00% 19 0 31 31.00 0.00% 20 0 28 28.00 0.00% 21 0 58 58.00 0.00% 22 0 42 42.00 0.00% 23 0 29 29.00 0.00% Nov 05 00 0 167 167.00 0.00% 01 0 64 64.00 0.00% 02 0 49 49.00 0.00% 03 0 51 51.00 0.00% 04 0 23 23.00 0.00% 05 0 57 57.00 0.00% 06 0 13 13.00 0.00% 07 0 31 31.00 0.00% 08 0 21 21.00 0.00% 09 0 23 23.00 0.00% 10 0 29 29.00 0.00% 11 0 14 14.00 0.00% 12 0 26 26.00 0.00% 13 0 25 25.00 0.00% 14 0 66 66.00 0.00% 15 0 38 38.00 0.00% 16 0 21 21.00 0.00% 17 0 55 55.00 0.00% 18 0 18 18.00 0.00% 19 0 27 27.00 0.00% 20 0 14 14.00 0.00% 21 0 37 37.00 0.00% 22 0 36 36.00 0.00% 23 0 25 25.00 0.00% Nov 06 00 0 28 28.00 0.00% 01 0 21 21.00 0.00% 02 0 36 36.00 0.00% 03 0 15 15.00 0.00% 04 0 66 66.00 0.00% 05 0 92 92.00 0.00% 06 0 25 25.00 0.00% 07 0 50 50.00 0.00% 08 0 19 19.00 0.00% 09 0 23 23.00 0.00% 10 0 19 19.00 0.00% 11 0 23 23.00 0.00% 12 0 34 34.00 0.00% 13 0 7 7.00 0.00% 14 0 15 15.00 0.00% 15 0 21 21.00 0.00% 16 0 22 22.00 0.00% 17 0 22 22.00 0.00% 18 0 9 9.00 0.00% 19 0 14 14.00 0.00% 20 0 22 22.00 0.00% 21 0 23 23.00 0.00% 22 0 21 21.00 0.00% 23 0 60 60.00 0.00% Nov 07 00 0 25 25.00 0.00% 01 0 27 27.00 0.00% 02 0 29 29.00 0.00% 03 0 15 15.00 0.00% 04 0 12 12.00 0.00% 05 0 91 91.00 0.00% 06 0 77 77.00 0.00% 07 0 40 40.00 0.00% 08 0 29 29.00 0.00% 09 0 18 18.00 0.00% 10 0 11 11.00 0.00% 11 0 28 28.00 0.00% 12 0 15 15.00 0.00% 13 0 18 18.00 0.00% 14 0 44 44.00 0.00% 15 0 46 46.00 0.00% 16 0 55 55.00 0.00% 17 0 25 25.00 0.00% 18 0 67 67.00 0.00% 19 0 49 49.00 0.00% 20 0 18 18.00 0.00% 21 0 17 17.00 0.00% 22 0 14 14.00 0.00% 23 0 30 30.00 0.00% Nov 08 00 0 28 28.00 0.00% 01 0 33 33.00 0.00% 02 0 66 66.00 0.00% 03 0 27 27.00 0.00% 04 0 5 5.00 0.00% 05 0 57 57.00 0.00% 06 0 18 18.00 0.00% 07 0 39 39.00 0.00% 08 0 23 23.00 0.00% 09 0 12 12.00 0.00% 10 0 6 6.00 0.00% 11 0 6 6.00 0.00% 12 0 7 7.00 0.00% 13 0 13 13.00 0.00% 14 0 7 7.00 0.00% 15 0 5 5.00 0.00% 16 0 19 19.00 0.00% 17 0 7 7.00 0.00% 18 0 7 7.00 0.00% 19 0 3 3.00 0.00% 20 0 6 6.00 0.00% 21 0 14 14.00 0.00% 22 0 21 21.00 0.00% 23 0 9 9.00 0.00% Nov 09 00 0 10 10.00 0.00% 01 0 9 9.00 0.00% 02 0 17 17.00 0.00% 03 0 32 32.00 0.00% 04 0 8 8.00 0.00% 05 0 77 77.00 0.00% 06 0 28 28.00 0.00% 07 0 24 24.00 0.00% 08 0 44 44.00 0.00% 09 0 11 11.00 0.00% 10 0 8 8.00 0.00% 11 0 11 11.00 0.00% 12 0 9 9.00 0.00% 13 0 7 7.00 0.00% 14 0 23 23.00 0.00% 15 0 13 13.00 0.00% 16 0 19 19.00 0.00% 17 0 11 11.00 0.00% 18 0 10 10.00 0.00% 19 0 6 6.00 0.00% 20 0 18 18.00 0.00% 21 0 12 12.00 0.00% 22 0 37 37.00 0.00% 23 0 18 18.00 0.00% Day Hour Count Average / Second Nov 03 00 86 0.02/s 01 164 0.05/s 02 84 0.02/s 03 82 0.02/s 04 76 0.02/s 05 103 0.03/s 06 85 0.02/s 07 83 0.02/s 08 80 0.02/s 09 84 0.02/s 10 97 0.03/s 11 83 0.02/s 12 76 0.02/s 13 91 0.03/s 14 86 0.02/s 15 85 0.02/s 16 95 0.03/s 17 105 0.03/s 18 87 0.02/s 19 82 0.02/s 20 89 0.02/s 21 89 0.02/s 22 86 0.02/s 23 83 0.02/s Nov 04 00 83 0.02/s 01 86 0.02/s 02 107 0.03/s 03 232 0.06/s 04 169 0.05/s 05 99 0.03/s 06 80 0.02/s 07 83 0.02/s 08 77 0.02/s 09 82 0.02/s 10 170 0.05/s 11 174 0.05/s 12 118 0.03/s 13 95 0.03/s 14 76 0.02/s 15 84 0.02/s 16 81 0.02/s 17 80 0.02/s 18 86 0.02/s 19 78 0.02/s 20 87 0.02/s 21 90 0.03/s 22 92 0.03/s 23 84 0.02/s Nov 05 00 94 0.03/s 01 86 0.02/s 02 78 0.02/s 03 79 0.02/s 04 82 0.02/s 05 94 0.03/s 06 93 0.03/s 07 85 0.02/s 08 85 0.02/s 09 80 0.02/s 10 98 0.03/s 11 76 0.02/s 12 81 0.02/s 13 95 0.03/s 14 83 0.02/s 15 76 0.02/s 16 78 0.02/s 17 81 0.02/s 18 81 0.02/s 19 78 0.02/s 20 79 0.02/s 21 82 0.02/s 22 89 0.02/s 23 79 0.02/s Nov 06 00 78 0.02/s 01 71 0.02/s 02 103 0.03/s 03 83 0.02/s 04 87 0.02/s 05 99 0.03/s 06 85 0.02/s 07 93 0.03/s 08 89 0.02/s 09 88 0.02/s 10 86 0.02/s 11 81 0.02/s 12 83 0.02/s 13 80 0.02/s 14 84 0.02/s 15 90 0.03/s 16 81 0.02/s 17 77 0.02/s 18 80 0.02/s 19 78 0.02/s 20 80 0.02/s 21 79 0.02/s 22 79 0.02/s 23 81 0.02/s Nov 07 00 82 0.02/s 01 88 0.02/s 02 84 0.02/s 03 79 0.02/s 04 80 0.02/s 05 97 0.03/s 06 91 0.03/s 07 85 0.02/s 08 81 0.02/s 09 80 0.02/s 10 84 0.02/s 11 82 0.02/s 12 83 0.02/s 13 92 0.03/s 14 90 0.03/s 15 80 0.02/s 16 78 0.02/s 17 81 0.02/s 18 94 0.03/s 19 89 0.02/s 20 81 0.02/s 21 71 0.02/s 22 77 0.02/s 23 71 0.02/s Nov 08 00 87 0.02/s 01 78 0.02/s 02 91 0.03/s 03 79 0.02/s 04 77 0.02/s 05 96 0.03/s 06 83 0.02/s 07 93 0.03/s 08 119 0.03/s 09 80 0.02/s 10 79 0.02/s 11 75 0.02/s 12 75 0.02/s 13 77 0.02/s 14 76 0.02/s 15 80 0.02/s 16 85 0.02/s 17 78 0.02/s 18 85 0.02/s 19 80 0.02/s 20 78 0.02/s 21 77 0.02/s 22 77 0.02/s 23 76 0.02/s Nov 09 00 79 0.02/s 01 83 0.02/s 02 77 0.02/s 03 85 0.02/s 04 78 0.02/s 05 93 0.03/s 06 80 0.02/s 07 84 0.02/s 08 92 0.03/s 09 81 0.02/s 10 131 0.04/s 11 74 0.02/s 12 77 0.02/s 13 77 0.02/s 14 78 0.02/s 15 84 0.02/s 16 81 0.02/s 17 77 0.02/s 18 82 0.02/s 19 77 0.02/s 20 72 0.02/s 21 68 0.02/s 22 81 0.02/s 23 78 0.02/s Day Hour Count Average Duration Average idle time Nov 03 00 86 28m30s 28m17s 01 164 29m41s 29m40s 02 84 29m12s 29m11s 03 82 27m55s 27m55s 04 76 28m45s 28m44s 05 103 20m46s 20m42s 06 85 27m13s 27m11s 07 83 30m28s 30m27s 08 80 30m28s 30m28s 09 82 29m27s 29m27s 10 97 25m20s 25m17s 11 83 28m54s 28m53s 12 76 31m29s 31m29s 13 91 26m5s 26m4s 14 86 28m52s 28m50s 15 85 28m44s 28m43s 16 95 26m15s 26m11s 17 105 23m5s 22m44s 18 87 27m39s 27m38s 19 82 29m10s 29m9s 20 89 27m13s 27m12s 21 89 25m13s 25m11s 22 86 28m41s 28m27s 23 83 29m8s 29m Nov 04 00 83 30m8s 29m53s 01 85 28m27s 28m22s 02 108 22m40s 22m24s 03 232 10m22s 10m21s 04 169 13m34s 13m33s 05 99 23m38s 23m35s 06 80 29m58s 29m55s 07 83 29m12s 29m11s 08 77 30m29s 30m29s 09 78 31m16s 31m16s 10 169 14m55s 14m54s 11 174 13m22s 13m21s 12 118 22m40s 22m39s 13 95 25m1s 25m 14 76 29m25s 29m23s 15 84 28m22s 28m21s 16 81 29m28s 29m15s 17 80 30m44s 30m28s 18 86 28m57s 28m55s 19 78 29m19s 29m3s 20 87 28m24s 28m24s 21 94 54m42s 54m40s 22 93 34m53s 34m52s 23 84 28m44s 28m43s Nov 05 00 94 25m35s 25m19s 01 86 28m29s 28m27s 02 78 29m9s 29m6s 03 79 29m55s 29m53s 04 82 29m37s 29m36s 05 94 25m49s 25m48s 06 93 25m46s 25m44s 07 85 28m41s 28m40s 08 85 28m27s 28m27s 09 80 30m9s 30m9s 10 98 25m1s 24m58s 11 76 31m12s 31m12s 12 81 29m42s 29m41s 13 84 29m49s 29m42s 14 84 28m49s 28m43s 15 76 30m20s 30m19s 16 78 31m43s 31m43s 17 85 40m3s 40m1s 18 83 35m50s 35m48s 19 79 34m23s 34m22s 20 82 44m10s 44m10s 21 82 27m56s 27m54s 22 88 27m41s 27m33s 23 80 30m6s 29m58s Nov 06 00 78 30m31s 30m12s 01 71 31m55s 31m54s 02 102 24m16s 24m8s 03 84 29m5s 28m52s 04 87 27m8s 27m7s 05 99 24m46s 24m41s 06 85 28m48s 28m46s 07 93 26m53s 26m52s 08 89 25m9s 25m9s 09 88 28m42s 28m40s 10 86 27m38s 27m36s 11 81 30m14s 30m13s 12 83 29m19s 29m11s 13 80 30m17s 30m17s 14 84 28m29s 28m26s 15 90 26m57s 26m50s 16 81 30m13s 30m12s 17 77 31m4s 31m4s 18 80 30m21s 30m19s 19 77 31m26s 31m26s 20 81 30m11s 29m58s 21 79 28m48s 28m48s 22 79 29m31s 29m30s 23 81 29m17s 29m5s Nov 07 00 82 28m17s 28m3s 01 88 26m49s 26m48s 02 84 29m4s 29m3s 03 79 30m28s 30m28s 04 80 29m52s 29m52s 05 97 24m25s 24m23s 06 91 27m7s 26m58s 07 85 29m11s 29m9s 08 81 29m36s 29m35s 09 80 30m30s 30m30s 10 84 27m41s 27m39s 11 82 30m13s 30m12s 12 83 29m40s 29m40s 13 92 10h9m30s 10h9m29s 14 90 27m59s 27m53s 15 80 30m17s 30m16s 16 78 30m36s 30m23s 17 81 29m53s 29m52s 18 94 26m1s 25m45s 19 89 26m53s 26m44s 20 81 29m54s 29m54s 21 71 31m19s 31m19s 22 77 31m7s 31m6s 23 71 30m38s 30m38s Nov 08 00 87 28m26s 28m12s 01 78 30m38s 30m37s 02 91 26m51s 26m48s 03 79 30m38s 30m36s 04 77 31m48s 31m48s 05 96 24m26s 24m25s 06 83 28m14s 28m9s 07 93 26m41s 26m39s 08 119 21m 20m50s 09 80 30m 30m 10 79 30m28s 30m13s 11 75 32m44s 32m43s 12 75 32m21s 32m21s 13 77 31m10s 31m9s 14 76 31m35s 31m33s 15 80 30m51s 30m50s 16 85 29m18s 29m17s 17 78 30m37s 30m37s 18 85 28m59s 28m58s 19 80 30m18s 30m18s 20 78 30m36s 30m36s 21 77 28m58s 28m58s 22 76 28m33s 28m24s 23 77 30m21s 30m7s Nov 09 00 79 30m23s 30m9s 01 83 29m32s 29m32s 02 77 30m59s 30m58s 03 85 29m15s 29m14s 04 78 31m25s 31m25s 05 93 24m52s 24m50s 06 80 30m12s 30m11s 07 84 29m35s 29m33s 08 92 26m52s 26m30s 09 81 30m11s 30m11s 10 131 17m58s 17m58s 11 74 31m52s 31m52s 12 77 32m11s 32m11s 13 77 31m54s 31m54s 14 78 31m5s 31m3s 15 84 29m42s 29m42s 16 81 29m38s 29m38s 17 77 30m55s 30m55s 18 81 30m10s 30m4s 19 78 32m13s 31m11s 20 72 31m51s 31m51s 21 68 30m24s 30m24s 22 81 29m45s 29m44s 23 78 29m51s 29m51s -
Connections
Established Connections
Key values
- 32 connections Connection Peak
- 2024-11-04 03:34:30 Date
Connections per database
Key values
- ctdprd51 Main Database
- 14,631 connections Total
Connections per user
Key values
- pubeu Main User
- 14,631 connections Total
-
Sessions
Simultaneous sessions
Key values
- 90 sessions Session Peak
- 2024-11-04 03:34:30 Date
Histogram of session times
Key values
- 12,255 1800000-3600000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 14,629 sessions Total
Sessions per user
Key values
- pubeu Main User
- 14,629 sessions Total
Sessions per host
Key values
- 10.12.5.37 Main Host
- 14,629 sessions Total
Host Count Total Duration Average Duration 10.12.5.122 12 37d8h31s 3d2h40m2s 10.12.5.37 4,001 56d18h58m25s 20m26s 10.12.5.38 2,629 56d6h22m16s 30m49s 10.12.5.39 2,593 56d6h41m2s 31m15s 10.12.5.40 3 11m26s 3m48s 10.12.5.45 2,682 56d5h59m58s 30m12s 10.12.5.46 2,640 56d5h22m3s 30m40s 192.168.201.10 5 2d13h15m31s 12h15m6s 192.168.201.18 8 1d2h20m54s 3h17m36s 192.168.201.22 5 1d2h17m28s 5h15m29s ::1 51 2h19m22s 2m43s -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 242,381 buffers Checkpoint Peak
- 2024-11-09 19:48:21 Date
- 1619.941 seconds Highest write time
- 0.011 seconds Sync time
Checkpoints Wal files
Key values
- 35 files Wal files usage Peak
- 2024-11-07 09:48:13 Date
Checkpoints distance
Key values
- 1,271.71 Mo Distance Peak
- 2024-11-06 21:48:12 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Nov 03 00 5,265 527.341s 0.003s 527.465s 01 5,106 511.32s 0.003s 511.406s 02 60,128 1,998.517s 0.004s 1,998.654s 03 16,184 1,620.266s 0.003s 1,620.371s 04 494 49.576s 0.002s 49.608s 05 25,599 1,619.331s 0.002s 1,619.461s 06 48,584 3,239.702s 0.003s 3,239.796s 07 18,507 1,853.237s 0.005s 1,853.338s 08 391 39.36s 0.002s 39.397s 09 3,507 351.297s 0.003s 351.37s 10 504 50.674s 0.002s 50.704s 11 366 36.831s 0.002s 36.86s 12 568 56.95s 0.002s 56.979s 13 360 36.223s 0.002s 36.252s 14 599 60.06s 0.002s 60.092s 15 474 47.672s 0.002s 47.706s 16 571 57.25s 0.002s 57.28s 17 847 85.024s 0.002s 85.054s 18 613 61.464s 0.002s 61.493s 19 991 99.37s 0.002s 99.439s 20 645 64.797s 0.002s 64.827s 21 5,349 535.665s 0.003s 535.743s 22 3,671 367.581s 0.002s 367.614s 23 1,317 132.085s 0.003s 132.159s Nov 04 00 1,510 151.302s 0.003s 151.415s 01 5,589 559.73s 0.004s 559.806s 02 1,035 103.674s 0.003s 103.748s 03 475 47.776s 0.012s 47.818s 04 4,845 485.192s 0.003s 485.267s 05 1,469 147.312s 0.003s 147.341s 06 924 92.653s 0.002s 92.684s 07 902 90.554s 0.004s 90.589s 08 356 35.638s 0.001s 35.654s 09 56,075 1,667.116s 0.005s 1,667.297s 10 4,587 459.226s 0.004s 459.261s 11 2,520 251.012s 0.004s 251.091s 12 1,640 164.437s 0.004s 164.471s 13 1,331 133.382s 0.004s 133.413s 14 4,900 490.713s 0.004s 490.829s 15 1,834 183.781s 0.003s 183.81s 16 1,774 177.792s 0.004s 177.822s 17 1,426 142.946s 0.004s 143.02s 18 1,195 119.873s 0.002s 119.903s 19 1,709 171.266s 0.002s 171.297s 20 6,414 642.259s 0.004s 642.376s 21 6,149 615.635s 0.003s 615.708s 22 1,559 156.322s 0.004s 156.352s 23 1,968 197.172s 0.004s 197.246s Nov 05 00 2,704 271.026s 0.004s 271.142s 01 848 85.029s 0.006s 85.06s 02 1,303 130.7s 0.003s 130.771s 03 11,130 1,114.683s 0.003s 1,114.725s 04 2,704 270.888s 0.004s 270.958s 05 2,453 245.672s 0.004s 245.704s 06 2,898 290.451s 0.004s 290.481s 07 52,115 1,788.216s 0.003s 1,788.383s 08 3,339 334.486s 0.004s 334.517s 09 14,231 1,424.909s 0.004s 1,424.996s 10 2,358 236.266s 0.004s 236.339s 11 1,880 188.384s 0.004s 188.415s 12 2,278 228.35s 0.003s 228.38s 13 2,496 455.143s 0.004s 455.254s 14 4,318 432.571s 0.003s 432.6s 15 3,097 310.396s 0.004s 310.471s 16 3,139 314.465s 0.004s 314.494s 17 1,039 104.25s 0.002s 104.28s 18 912 91.519s 0.004s 91.553s 19 540 54.16s 0.003s 54.19s 20 957 96.027s 0.003s 96.059s 21 5,498 550.416s 0.003s 550.492s 22 13,064 1,308.08s 0.003s 1,308.122s 23 1,057 106.048s 0.002s 106.078s Nov 06 00 1,170 117.27s 0.004s 117.387s 01 246 24.736s 0.001s 24.752s 02 36,029 1,647.377s 0.002s 1,647.514s 03 45,750 3,232.628s 0.003s 3,232.787s 04 1,294 129.777s 0.003s 129.807s 05 877 87.919s 0.002s 87.952s 06 798 80.094s 0.002s 80.125s 07 1,095 109.795s 0.002s 109.824s 08 2,339 234.457s 0.002s 234.531s 09 932 93.427s 0.002s 93.459s 10 1,024 102.646s 0.003s 102.678s 11 2,372 237.737s 0.002s 237.809s 12 2,290 229.524s 0.002s 229.594s 13 68,418 1,628.423s 0.002s 1,628.576s 14 586 58.868s 0.002s 58.898s 15 727 72.913s 0.002s 72.941s 16 965 96.726s 0.002s 96.757s 17 1,510 151.42s 0.002s 151.49s 18 675 67.686s 0.003s 67.716s 19 571 57.365s 0.002s 57.395s 20 51,515 1,637.697s 0.003s 1,637.845s 21 59,207 1,645.789s 0.003s 1,646.245s 22 5,201 520.876s 0.003s 520.985s 23 489 49.048s 0.003s 49.078s Nov 07 00 948 95.148s 0.003s 95.273s 01 5,013 502.065s 0.002s 502.209s 02 3,595 359.917s 0.002s 359.973s 03 5,347 535.569s 0.002s 535.688s 04 302 30.447s 0.002s 30.477s 05 2,522 252.598s 0.004s 252.672s 06 1,837 184.223s 0.002s 184.254s 07 269 26.932s 0.001s 26.947s 08 6,450 646.076s 0.003s 646.208s 09 62,355 2,031.984s 0.003s 2,032.475s 10 2,581 258.699s 0.002s 258.789s 11 547 54.984s 0.002s 55.013s 12 1,125 112.878s 0.002s 112.908s 13 530 53.158s 0.002s 53.189s 14 3,719 372.321s 0.002s 372.401s 15 4,209 421.596s 0.002s 421.68s 16 555 55.75s 0.002s 55.78s 17 456 45.761s 0.002s 45.791s 18 730 73.343s 0.003s 73.374s 19 880 88.127s 0.002s 88.158s 20 1,038 104.172s 0.002s 104.254s 21 1,946 195.069s 0.002s 195.101s 22 4,067 407.057s 0.002s 407.163s 23 182 18.312s 0.001s 18.328s Nov 08 00 57,302 1,794.074s 0.004s 1,794.616s 01 461 46.256s 0.002s 46.285s 02 1,756 176.063s 0.003s 176.142s 03 438 43.952s 0.002s 43.981s 04 556 55.858s 0.002s 55.888s 05 558 55.967s 0.002s 55.999s 06 996 99.943s 0.003s 100.024s 07 438 43.868s 0.002s 43.884s 08 10,767 1,078.304s 0.003s 1,078.499s 09 2,677 268.28s 0.002s 268.36s 10 1,308 131.112s 0.004s 131.145s 11 785 78.696s 0.002s 78.739s 12 1,420 142.405s 0.003s 142.436s 13 941 94.32s 0.003s 94.402s 14 1,041 104.439s 0.002s 104.468s 15 507 50.851s 0.002s 50.879s 16 380 38.223s 0.002s 38.253s 17 428 43.048s 0.003s 43.078s 18 601 60.394s 0.002s 60.426s 19 770 77.191s 0.003s 77.276s 20 495 49.757s 0.003s 49.786s 21 611 61.376s 0.002s 61.405s 22 507 50.862s 0.002s 50.891s 23 4,563 456.854s 0.002s 456.959s Nov 09 00 1,924 192.784s 0.004s 192.904s 01 441 44.366s 0.002s 44.397s 02 1,020 102.182s 0.003s 102.262s 03 366 36.843s 0.002s 36.874s 04 370 37.127s 0.002s 37.158s 05 4,016 402.362s 0.003s 402.454s 06 246 24.813s 0.002s 24.844s 07 337 33.834s 0.002s 33.865s 08 2,063 206.802s 0.003s 206.885s 09 1,575 157.964s 0.004s 158.047s 10 818 82.008s 0.004s 82.039s 11 1,144 114.761s 0.003s 114.805s 12 313 31.524s 0.002s 31.554s 13 400 40.245s 0.004s 40.276s 14 308 30.927s 0.002s 30.957s 15 528 53.069s 0.002s 53.1s 16 460 46.39s 0.003s 46.42s 17 530 53.166s 0.002s 53.196s 18 2,026 203.007s 0.002s 203.092s 19 242,768 1,658.202s 0.003s 1,658.232s 20 7,083 708.932s 0.002s 709.013s 21 1,388 138.993s 0.003s 139.024s 22 1,135 113.666s 0.004s 113.697s 23 2,695 269.982s 0.003s 270.066s Day Hour Added Removed Recycled Synced files Longest sync Average sync Nov 03 00 0 4 0 84 0.001s 0.002s 01 0 3 0 68 0.001s 0.003s 02 0 39 0 90 0.002s 0.003s 03 0 10 0 51 0.001s 0.002s 04 0 0 0 42 0.001s 0.002s 05 0 34 0 50 0.001s 0.001s 06 0 23 0 179 0.002s 0.002s 07 0 2 0 237 0.002s 0.003s 08 0 0 0 60 0.001s 0.002s 09 0 2 0 54 0.002s 0.002s 10 0 0 0 36 0.001s 0.002s 11 0 0 0 23 0.001s 0.002s 12 0 0 0 36 0.001s 0.002s 13 0 0 0 21 0.001s 0.002s 14 0 0 0 30 0.001s 0.002s 15 0 1 0 27 0.001s 0.002s 16 0 0 0 29 0.001s 0.002s 17 0 0 0 41 0.001s 0.002s 18 0 0 0 22 0.001s 0.002s 19 0 1 0 35 0.001s 0.002s 20 0 0 0 27 0.001s 0.002s 21 0 3 0 35 0.002s 0.002s 22 0 1 0 44 0.001s 0.002s 23 0 1 0 27 0.002s 0.002s Nov 04 00 0 1 0 78 0.001s 0.002s 01 0 3 0 60 0.001s 0.002s 02 0 1 0 47 0.001s 0.002s 03 0 1 0 41 0.004s 0.002s 04 0 1 0 52 0.001s 0.002s 05 0 0 0 92 0.001s 0.002s 06 0 0 0 137 0.001s 0.002s 07 0 1 0 130 0.001s 0.002s 08 0 0 0 62 0.001s 0.001s 09 0 35 0 191 0.001s 0.003s 10 0 2 0 161 0.001s 0.002s 11 0 2 0 144 0.001s 0.002s 12 0 1 0 128 0.002s 0.002s 13 0 0 0 77 0.001s 0.002s 14 0 3 0 155 0.001s 0.002s 15 0 0 0 122 0.001s 0.002s 16 0 0 0 130 0.001s 0.002s 17 0 1 0 80 0.002s 0.002s 18 0 0 0 31 0.001s 0.002s 19 0 0 0 43 0.001s 0.002s 20 0 3 0 50 0.001s 0.002s 21 0 1 0 69 0.001s 0.002s 22 0 0 0 40 0.001s 0.002s 23 0 1 0 31 0.001s 0.002s Nov 05 00 0 2 0 90 0.001s 0.002s 01 0 0 0 39 0.004s 0.002s 02 0 1 0 41 0.001s 0.002s 03 0 5 0 51 0.001s 0.002s 04 0 1 0 45 0.001s 0.002s 05 0 0 0 88 0.001s 0.002s 06 0 0 0 138 0.001s 0.002s 07 0 34 0 103 0.001s 0.002s 08 0 0 0 128 0.001s 0.002s 09 0 8 0 84 0.001s 0.002s 10 0 1 0 81 0.001s 0.002s 11 0 0 0 81 0.001s 0.002s 12 0 0 0 35 0.001s 0.002s 13 0 32 0 102 0.001s 0.002s 14 0 0 0 138 0.001s 0.002s 15 0 1 0 92 0.001s 0.002s 16 0 0 0 112 0.001s 0.002s 17 0 0 0 28 0.001s 0.002s 18 0 1 0 30 0.001s 0.002s 19 0 0 0 20 0.001s 0.002s 20 0 0 0 36 0.001s 0.002s 21 0 3 0 40 0.001s 0.002s 22 0 4 0 36 0.001s 0.002s 23 0 0 0 31 0.001s 0.002s Nov 06 00 0 1 0 75 0.001s 0.002s 01 0 0 0 16 0.001s 0.001s 02 0 25 0 49 0.001s 0.002s 03 0 29 0 73 0.001s 0.003s 04 0 0 0 46 0.001s 0.002s 05 0 1 0 30 0.001s 0.002s 06 0 0 0 33 0.001s 0.002s 07 0 0 0 96 0.001s 0.002s 08 0 1 0 131 0.001s 0.002s 09 0 1 0 85 0.001s 0.002s 10 0 0 0 47 0.001s 0.002s 11 0 1 0 85 0.001s 0.002s 12 0 1 0 92 0.001s 0.002s 13 0 34 0 38 0.001s 0.002s 14 0 0 0 33 0.001s 0.002s 15 0 0 0 107 0.001s 0.002s 16 0 0 0 131 0.001s 0.002s 17 0 1 0 84 0.001s 0.002s 18 0 0 0 31 0.002s 0.002s 19 0 0 0 21 0.001s 0.002s 20 0 35 0 50 0.002s 0.002s 21 0 11 29 50 0.002s 0.002s 22 0 0 3 36 0.002s 0.002s 23 0 0 0 21 0.002s 0.002s Nov 07 00 0 0 1 80 0.001s 0.002s 01 0 0 3 57 0.001s 0.002s 02 0 0 2 46 0.001s 0.002s 03 0 0 4 50 0.001s 0.002s 04 0 0 0 28 0.001s 0.002s 05 0 1 0 102 0.001s 0.002s 06 0 0 0 143 0.001s 0.002s 07 0 0 0 57 0.001s 0.001s 08 0 0 4 93 0.001s 0.003s 09 0 1 35 55 0.002s 0.002s 10 0 0 2 113 0.001s 0.002s 11 0 0 0 110 0.001s 0.002s 12 0 0 0 84 0.001s 0.002s 13 0 0 0 29 0.001s 0.002s 14 0 0 4 52 0.001s 0.002s 15 0 0 1 151 0.001s 0.002s 16 0 0 0 73 0.001s 0.002s 17 0 0 0 27 0.001s 0.002s 18 0 0 0 29 0.001s 0.002s 19 0 0 0 29 0.001s 0.002s 20 0 0 1 40 0.001s 0.002s 21 0 0 0 33 0.001s 0.002s 22 0 0 3 32 0.001s 0.002s 23 0 0 0 10 0.001s 0.001s Nov 08 00 0 0 35 111 0.001s 0.003s 01 0 0 0 35 0.001s 0.002s 02 0 0 1 48 0.001s 0.002s 03 0 0 0 35 0.001s 0.002s 04 0 0 0 39 0.001s 0.002s 05 0 0 0 78 0.001s 0.002s 06 0 0 1 124 0.002s 0.002s 07 0 0 0 78 0.001s 0.001s 08 0 0 6 124 0.001s 0.003s 09 0 0 1 51 0.001s 0.002s 10 0 0 0 143 0.002s 0.002s 11 0 0 1 81 0.001s 0.002s 12 0 0 0 132 0.001s 0.002s 13 0 0 1 125 0.001s 0.002s 14 0 0 0 133 0.001s 0.002s 15 0 0 0 64 0.001s 0.002s 16 0 0 0 21 0.001s 0.002s 17 0 0 0 20 0.001s 0.002s 18 0 0 0 31 0.001s 0.002s 19 0 0 1 23 0.002s 0.002s 20 0 0 0 33 0.001s 0.002s 21 0 0 0 27 0.001s 0.002s 22 0 0 0 23 0.001s 0.002s 23 0 0 3 43 0.001s 0.002s Nov 09 00 0 0 1 88 0.001s 0.002s 01 0 0 0 37 0.001s 0.002s 02 0 0 1 56 0.001s 0.002s 03 0 0 0 39 0.001s 0.002s 04 0 0 0 31 0.001s 0.002s 05 0 0 2 45 0.001s 0.002s 06 0 0 0 20 0.001s 0.002s 07 0 0 0 27 0.001s 0.002s 08 0 0 1 48 0.001s 0.002s 09 0 0 1 40 0.001s 0.002s 10 0 0 0 33 0.002s 0.002s 11 0 0 1 38 0.001s 0.002s 12 0 0 0 20 0.001s 0.002s 13 0 0 0 30 0.001s 0.002s 14 0 0 0 22 0.001s 0.002s 15 0 0 0 22 0.001s 0.002s 16 0 0 0 30 0.001s 0.002s 17 0 0 0 29 0.001s 0.002s 18 0 0 1 48 0.001s 0.002s 19 0 0 0 45 0.001s 0.002s 20 0 0 1 42 0.001s 0.002s 21 0 0 0 34 0.001s 0.002s 22 0 0 0 29 0.001s 0.002s 23 0 0 1 42 0.001s 0.002s Day Hour Count Avg time (sec) Nov 03 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Nov 04 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Nov 05 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Nov 06 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Nov 07 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Nov 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 Nov 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 Day Hour Mean distance Mean estimate Nov 03 00 30,449.50 kB 57,095.50 kB 01 15,827.67 kB 46,226.33 kB 02 214,984.33 kB 559,071.00 kB 03 82,477.50 kB 445,069.00 kB 04 1,314.00 kB 360,752.00 kB 05 264,055.00 kB 334,045.00 kB 06 261,934.50 kB 324,658.00 kB 07 59,312.33 kB 274,589.67 kB 08 1,213.00 kB 212,510.50 kB 09 11,956.50 kB 174,307.00 kB 10 1,174.00 kB 141,497.50 kB 11 932.50 kB 114,819.50 kB 12 1,610.50 kB 93,276.00 kB 13 1,099.50 kB 75,787.50 kB 14 1,260.50 kB 61,619.50 kB 15 1,344.50 kB 50,153.00 kB 16 1,928.00 kB 40,926.50 kB 17 2,353.00 kB 33,597.50 kB 18 1,258.50 kB 27,527.00 kB 19 3,296.50 kB 22,920.50 kB 20 1,894.50 kB 18,921.00 kB 21 24,923.50 kB 32,274.50 kB 22 12,161.00 kB 43,421.00 kB 23 2,200.50 kB 35,537.50 kB Nov 04 00 10,764.00 kB 30,912.00 kB 01 26,279.00 kB 37,010.50 kB 02 3,040.00 kB 40,635.50 kB 03 1,278.00 kB 33,289.00 kB 04 16,240.50 kB 30,035.50 kB 05 4,226.50 kB 24,852.50 kB 06 2,346.50 kB 20,811.50 kB 07 2,742.50 kB 17,315.00 kB 08 2,695.00 kB 15,211.00 kB 09 193,476.33 kB 521,129.33 kB 10 15,804.00 kB 402,382.00 kB 11 16,805.50 kB 329,351.00 kB 12 2,934.50 kB 267,328.00 kB 13 2,250.00 kB 216,953.00 kB 14 20,380.50 kB 179,563.00 kB 15 2,907.50 kB 145,998.50 kB 16 2,867.00 kB 118,847.00 kB 17 2,507.00 kB 96,737.50 kB 18 1,793.50 kB 78,710.50 kB 19 3,906.50 kB 64,374.50 kB 20 23,905.00 kB 54,946.50 kB 21 5,836.00 kB 47,399.50 kB 22 2,843.00 kB 38,936.50 kB 23 6,901.00 kB 32,454.50 kB Nov 05 00 15,532.50 kB 29,597.50 kB 01 1,320.00 kB 24,357.00 kB 02 4,102.50 kB 20,254.50 kB 03 45,215.00 kB 84,635.00 kB 04 3,448.00 kB 69,031.00 kB 05 2,430.00 kB 56,476.50 kB 06 2,426.50 kB 46,214.00 kB 07 273,810.50 kB 515,632.00 kB 08 2,304.50 kB 418,231.50 kB 09 70,212.00 kB 352,130.50 kB 10 1,762.00 kB 285,557.50 kB 11 1,896.00 kB 231,675.50 kB 12 2,025.50 kB 188,019.00 kB 13 195,230.00 kB 274,615.00 kB 14 66,950.50 kB 344,882.50 kB 15 4,496.00 kB 280,065.50 kB 16 4,118.00 kB 227,829.00 kB 17 1,562.00 kB 184,814.50 kB 18 1,495.50 kB 150,003.00 kB 19 1,391.00 kB 121,769.50 kB 20 2,427.00 kB 99,060.00 kB 21 25,664.00 kB 85,086.00 kB 22 30,522.00 kB 74,742.50 kB 23 2,418.50 kB 61,021.00 kB Nov 06 00 10,238.00 kB 51,411.50 kB 01 943.00 kB 43,994.00 kB 02 199,651.50 kB 378,298.50 kB 03 159,277.00 kB 329,777.67 kB 04 3,769.50 kB 258,535.00 kB 05 1,746.50 kB 209,696.00 kB 06 1,211.00 kB 170,145.00 kB 07 3,103.00 kB 138,244.00 kB 08 8,182.50 kB 113,115.50 kB 09 2,611.50 kB 92,690.50 kB 10 2,622.50 kB 75,479.50 kB 11 8,343.00 kB 62,790.00 kB 12 7,750.00 kB 52,226.50 kB 13 277,178.50 kB 525,916.50 kB 14 1,537.50 kB 426,235.00 kB 15 2,021.00 kB 345,618.50 kB 16 2,763.00 kB 280,441.50 kB 17 4,256.50 kB 228,028.00 kB 18 1,681.00 kB 185,043.50 kB 19 1,567.00 kB 150,151.50 kB 20 286,057.50 kB 541,824.50 kB 21 326,620.50 kB 618,667.00 kB 22 23,920.00 kB 503,723.00 kB 23 1,349.50 kB 410,246.50 kB Nov 07 00 8,774.00 kB 333,993.50 kB 01 24,230.00 kB 273,199.00 kB 02 16,669.00 kB 226,387.50 kB 03 27,880.00 kB 186,250.50 kB 04 701.50 kB 153,419.00 kB 05 4,937.50 kB 125,089.00 kB 06 5,334.50 kB 102,423.50 kB 07 1,515.00 kB 87,560.00 kB 08 20,938.67 kB 76,780.67 kB 09 298,747.00 kB 529,737.50 kB 10 9,653.00 kB 432,774.00 kB 11 1,418.50 kB 350,808.00 kB 12 3,356.00 kB 284,589.00 kB 13 996.00 kB 230,900.00 kB 14 16,747.50 kB 188,860.00 kB 15 18,700.00 kB 157,334.00 kB 16 1,216.00 kB 128,236.00 kB 17 1,093.50 kB 104,051.00 kB 18 1,358.50 kB 84,535.50 kB 19 2,481.00 kB 68,938.00 kB 20 2,895.00 kB 56,375.50 kB 21 5,843.50 kB 46,785.00 kB 22 19,258.50 kB 41,577.50 kB 23 952.00 kB 35,611.00 kB Nov 08 00 192,382.67 kB 501,782.67 kB 01 1,111.00 kB 385,558.50 kB 02 5,794.50 kB 312,995.50 kB 03 1,165.00 kB 254,155.00 kB 04 1,463.00 kB 206,141.00 kB 05 1,707.00 kB 167,239.50 kB 06 2,088.50 kB 135,887.00 kB 07 2,507.00 kB 116,207.00 kB 08 32,708.33 kB 102,035.00 kB 09 8,946.00 kB 80,876.00 kB 10 4,045.50 kB 66,587.50 kB 11 1,873.50 kB 54,300.50 kB 12 3,963.50 kB 44,714.50 kB 13 2,868.00 kB 36,729.00 kB 14 2,944.00 kB 30,341.00 kB 15 1,519.50 kB 24,897.50 kB 16 1,113.00 kB 20,413.50 kB 17 1,142.00 kB 16,757.50 kB 18 1,370.00 kB 13,805.50 kB 19 1,361.50 kB 11,449.00 kB 20 1,345.50 kB 9,525.50 kB 21 1,392.00 kB 7,975.50 kB 22 1,257.50 kB 6,716.50 kB 23 22,443.50 kB 24,677.00 kB Nov 09 00 11,515.50 kB 38,946.50 kB 01 1,348.50 kB 32,078.50 kB 02 2,908.50 kB 26,508.50 kB 03 1,039.00 kB 21,722.50 kB 04 901.00 kB 17,768.00 kB 05 18,414.50 kB 25,652.00 kB 06 673.50 kB 30,890.50 kB 07 933.50 kB 25,196.50 kB 08 6,001.00 kB 21,512.50 kB 09 5,300.50 kB 18,067.50 kB 10 2,251.00 kB 15,459.50 kB 11 3,483.50 kB 13,152.00 kB 12 818.00 kB 10,838.00 kB 13 1,011.50 kB 8,952.00 kB 14 762.00 kB 7,420.50 kB 15 903.00 kB 6,167.00 kB 16 1,149.50 kB 5,197.00 kB 17 1,569.50 kB 4,474.50 kB 18 3,169.50 kB 4,194.50 kB 19 3,180.00 kB 3,989.50 kB 20 3,436.00 kB 3,874.00 kB 21 3,426.00 kB 3,778.50 kB 22 3,598.50 kB 3,757.00 kB 23 7,762.00 kB 7,762.00 kB -
Temporary Files
Size of temporary files
Key values
- 5.87 GiB Temp Files size Peak
- 2024-11-06 15:16:26 Date
Number of temporary files
Key values
- 6 per second Temp Files Peak
- 2024-11-06 15:16:26 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Nov 03 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Nov 04 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Nov 05 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Nov 06 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 12 11.74 GiB 1001.46 MiB 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 Nov 07 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Nov 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 Nov 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 Queries generating the most temporary files (N)
Rank Count Total size Min size Max size Avg size Query 1 12 11.74 GiB 888.74 MiB 1.00 GiB 1001.46 MiB select distinct ;-
select distinct ;
Date: 2024-11-06 15:11:16 Duration: 0ms
Queries generating the largest temporary files
Rank Size Query 1 1.00 GiB select distinct ;[ Date: 2024-11-06 15:11:16 ]
2 1.00 GiB select distinct ;[ Date: 2024-11-06 15:11:16 ]
3 1.00 GiB select distinct ;[ Date: 2024-11-06 15:11:16 ]
4 1.00 GiB select distinct ;[ Date: 2024-11-06 15:11:16 ]
5 1.00 GiB select distinct ;[ Date: 2024-11-06 15:11:16 ]
6 1.00 GiB select distinct ;[ Date: 2024-11-06 15:16:26 ]
7 1.00 GiB select distinct ;[ Date: 2024-11-06 15:16:26 ]
8 1.00 GiB select distinct ;[ Date: 2024-11-06 15:16:26 ]
9 1.00 GiB select distinct ;[ Date: 2024-11-06 15:16:26 ]
10 1.00 GiB select distinct ;[ Date: 2024-11-06 15:16:26 ]
11 888.74 MiB select distinct ;[ Date: 2024-11-06 15:11:16 ]
12 888.74 MiB select distinct ;[ Date: 2024-11-06 15:16:26 ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 12.77 sec Highest CPU-cost vacuum
Table load.ixn_prose
Database ctdprd51 - 2024-11-05 13:53:48 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 12.77 sec Highest CPU-cost vacuum
Table load.ixn_prose
Database ctdprd51 - 2024-11-05 13:53:48 Date
Analyzes per table
Key values
- pubc.log_query (209) Main table analyzed (database ctdprd51)
- 260 analyzes Total
Table Number of analyzes ctdprd51.pubc.log_query 209 ctdprd51.pub2.term_set_enrichment 20 ctdprd51.pub2.term_set_enrichment_agent 16 ctdprd51.pub2.term_comp_agent 3 ctdprd51.edit.tm_reference 3 ctdprd51.edit.tm_reference_term 3 ctdprd51.pub2.term_comp 3 ctdprd51.pub1.term_comp_agent 1 ctdprd51.pg_catalog.pg_attribute 1 ctdprd51.load.ixn_prose 1 Total 260 Vacuums per table
Key values
- pubc.log_query (59) Main table vacuumed on database ctdprd51
- 95 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 59 44 47,859 0 8,689 0 795 11,529 1,285 9,981,766 ctdprd51.pub2.term_set_enrichment_agent 11 0 342,897 0 37,431 0 0 162,049 18 9,704,069 ctdprd51.pub2.term_set_enrichment 10 0 10,592 0 2,634 0 0 4,423 18 383,483 ctdprd51.pg_toast.pg_toast_2619 4 4 15,883 0 4,939 0 39,939 12,891 4,126 2,148,501 ctdprd51.pg_catalog.pg_statistic 3 3 1,865 0 351 0 107 989 320 1,465,896 ctdprd51.pub2.term_comp_agent 2 0 241 0 38 0 0 50 3 24,580 ctdprd51.edit.tm_reference 1 1 1,530 0 31 0 0 907 17 128,739 ctdprd51.edit.tm_reference_term 1 1 3,600 0 188 0 0 1,618 138 825,214 ctdprd51.load.ixn_prose 1 0 55,037 0 50,931 0 0 52,960 2 3,141,163 ctdprd51.pg_toast.pg_toast_486223 1 0 26 0 0 0 0 1 0 188 ctdprd51.pub1.term_set_enrichment 1 0 8,486 0 6,048 0 0 6,343 3 395,645 ctdprd51.pg_toast.pg_toast_5513554 1 1 104 0 14 0 0 64 11 35,116 Total 95 54 488,120 57,491 111,294 0 40,841 253,824 5,941 28,234,360 Tuples removed per table
Key values
- pg_toast.pg_toast_2619 (15943) Main table with removed tuples on database ctdprd51
- 27558 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pg_toast.pg_toast_2619 4 4 15,943 77,785 0 0 50,368 ctdprd51.edit.tm_reference_term 1 1 9,511 42,488 0 0 715 ctdprd51.pg_catalog.pg_statistic 3 3 1,365 7,834 43 0 870 ctdprd51.edit.tm_reference 1 1 388 2,185 0 0 587 ctdprd51.pubc.log_query 59 44 309 617,887 1 0 25,283 ctdprd51.pg_toast.pg_toast_5513554 1 1 42 62 0 0 27 ctdprd51.pub2.term_set_enrichment_agent 11 0 0 64,380,836 0 0 731,612 ctdprd51.load.ixn_prose 1 0 0 2,922,565 0 0 52,959 ctdprd51.pg_toast.pg_toast_486223 1 0 0 0 0 0 0 ctdprd51.pub1.term_set_enrichment 1 0 0 2,000,677 0 0 33,103 ctdprd51.pub2.term_set_enrichment 10 0 0 1,133,430 0 0 18,752 ctdprd51.pub2.term_comp_agent 2 0 0 14,988 0 0 136 Total 95 54 27,558 71,200,737 44 0 914,412 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_set_enrichment_agent 11 0 0 0 ctdprd51.edit.tm_reference 1 1 388 0 ctdprd51.pg_catalog.pg_statistic 3 3 1365 0 ctdprd51.edit.tm_reference_term 1 1 9511 0 ctdprd51.load.ixn_prose 1 0 0 0 ctdprd51.pubc.log_query 59 44 309 0 ctdprd51.pg_toast.pg_toast_486223 1 0 0 0 ctdprd51.pg_toast.pg_toast_2619 4 4 15943 0 ctdprd51.pub1.term_set_enrichment 1 0 0 0 ctdprd51.pub2.term_set_enrichment 10 0 0 0 ctdprd51.pub2.term_comp_agent 2 0 0 0 ctdprd51.pg_toast.pg_toast_5513554 1 1 42 0 Total 95 54 27,558 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Nov 03 00 0 3 01 0 5 02 0 3 03 0 2 04 0 1 05 0 2 06 0 1 07 0 1 08 0 1 09 0 1 10 0 1 11 0 1 12 0 1 13 0 0 14 0 1 15 0 1 16 0 2 17 0 1 18 0 0 19 0 1 20 0 1 21 0 0 22 0 1 23 0 1 Nov 04 00 0 3 01 0 4 02 0 4 03 0 1 04 0 2 05 0 2 06 0 1 07 0 1 08 0 1 09 0 1 10 0 2 11 0 6 12 0 0 13 0 2 14 0 3 15 0 1 16 0 0 17 0 1 18 0 0 19 0 1 20 0 2 21 0 2 22 0 1 23 0 1 Nov 05 00 0 5 01 0 4 02 0 4 03 0 8 04 0 2 05 0 3 06 0 1 07 0 3 08 0 2 09 0 2 10 0 1 11 0 1 12 0 1 13 0 2 14 0 0 15 0 1 16 0 2 17 0 1 18 0 0 19 0 0 20 0 1 21 0 2 22 0 0 23 0 1 Nov 06 00 0 3 01 0 6 02 0 7 03 0 2 04 0 2 05 0 2 06 0 1 07 0 1 08 0 0 09 0 1 10 0 1 11 0 2 12 0 0 13 0 2 14 0 1 15 0 0 16 0 1 17 0 3 18 0 0 19 0 1 20 0 2 21 0 3 22 0 0 23 0 0 Nov 07 00 0 6 01 0 3 02 0 2 03 0 2 04 0 2 05 0 5 06 0 2 07 0 1 08 0 0 09 0 3 10 0 1 11 0 0 12 0 1 13 0 0 14 0 1 15 0 1 16 0 0 17 0 1 18 0 1 19 0 1 20 0 1 21 0 0 22 0 0 23 0 3 Nov 08 00 0 3 01 0 2 02 0 2 03 0 2 04 0 2 05 0 1 06 0 2 07 0 1 08 0 1 09 0 1 10 0 1 11 0 1 12 0 0 13 0 1 14 0 1 15 0 0 16 0 0 17 0 0 18 0 1 19 0 0 20 0 0 21 0 1 22 0 0 23 0 1 Nov 09 00 0 5 01 0 6 02 0 3 03 0 2 04 0 1 05 0 2 06 0 0 07 0 1 08 0 1 09 0 1 10 0 0 11 0 2 12 0 0 13 0 1 14 0 0 15 0 0 16 0 1 17 0 1 18 0 2 19 0 2 20 0 2 21 0 1 22 0 1 23 0 2 - 12.77 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
- 4,725 Total read queries
- 391 Total write queries
Queries by database
Key values
- unknown Main database
- 3,211 Requests
- 10h16m38s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 6,595 Requests
User Request type Count Duration edit Total 2 4s597ms select 2 4s597ms editeu Total 31 2m59s select 31 2m59s load Total 10 22m12s ddl 2 16m11s select 8 6m1s postgres Total 107 45m42s copy to 107 45m42s pub1 Total 2 8s788ms select 2 8s788ms pubeu Total 3,805 10h25m26s cte 46 2m14s select 3,759 10h23m11s qaeu Total 100 6m16s cte 18 1m select 82 5m15s unknown Total 6,595 20h47m57s copy to 612 5h9m16s cte 139 4m50s insert 2 4s559ms others 9 45s387ms select 5,833 15h33m1s Duration by user
Key values
- 20h47m57s (unknown) Main time consuming user
User Request type Count Duration edit Total 2 4s597ms select 2 4s597ms editeu Total 31 2m59s select 31 2m59s load Total 10 22m12s ddl 2 16m11s select 8 6m1s postgres Total 107 45m42s copy to 107 45m42s pub1 Total 2 8s788ms select 2 8s788ms pubeu Total 3,805 10h25m26s cte 46 2m14s select 3,759 10h23m11s qaeu Total 100 6m16s cte 18 1m select 82 5m15s unknown Total 6,595 20h47m57s copy to 612 5h9m16s cte 139 4m50s insert 2 4s559ms others 9 45s387ms select 5,833 15h33m1s Queries by host
Key values
- unknown Main host
- 10,652 Requests
- 1d8h30m48s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 5,071 Requests
- 14h53m46s (unknown)
- Main time consuming application
Application Request type Count Duration pgAdmin 4 - CONN:7001951 Total 1 4s394ms select 1 4s394ms pgAdmin 4 - CONN:7199408 Total 1 2s298ms select 1 2s298ms pgAdmin 4 - CONN:7789920 Total 1 8m5s ddl 1 8m5s pg_dump Total 49 21m copy to 49 21m unknown Total 5,071 14h53m46s copy to 255 1h49m16s cte 85 3m23s insert 1 2s279ms others 7 34s902ms select 4,723 13h29s Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2024-11-04 14:05:38 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 4,870 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 23m46s 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-11-09 19:43:58 ]
2 23m36s 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-11-09 19:00:36 ]
3 18m31s /* * 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-11-07 00:18:33 ]
4 18m30s /* * 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-11-08 00:18:31 ]
5 18m28s /* * 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-11-05 00:18:30 ]
6 18m24s /* * 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-11-09 00:18:26 ]
7 18m22s /* * 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-11-03 00:18:24 ]
8 18m22s /* * 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-11-06 00:18:24 ]
9 18m17s /* * 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-11-04 00:18:19 ]
10 18m5s 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 = '1241583') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-11-06 03:00:24 - Bind query: yes ]
11 18m1s 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 = '1241583') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-11-04 19:20:38 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
12 18m1s 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 = '1241583') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-11-08 08:28:52 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
13 17m36s 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 = '1241583') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-11-04 16:37:03 - Bind query: yes ]
14 17m29s 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 = '1241583') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-11-06 20:13:43 - Bind query: yes ]
15 17m29s 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 = '1241583') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-11-09 08:56:59 - Bind query: yes ]
16 17m28s 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 = '1241675') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-11-03 17:57:05 - Bind query: yes ]
17 17m27s 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 = '1241583') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-11-08 10:28:11 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
18 17m25s 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 = '1241583') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-11-08 23:06:35 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
19 17m24s 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 = '1241675') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-11-03 17:55:14 - Bind query: yes ]
20 11m26s 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 = '1240539') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-11-06 02:51:17 - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 6h7m38s 135 1s426ms 18m5s 2m43s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Nov 03 01 1 1s664ms 1s664ms 05 2 3m1s 1m30s 14 1 1s660ms 1s660ms 16 1 5m12s 5m12s 17 2 34m52s 17m26s Nov 04 01 2 3m27s 1m43s 02 21 22m18s 1m3s 07 1 1s900ms 1s900ms 16 1 17m36s 17m36s 19 2 18m3s 9m1s Nov 05 17 1 3s158ms 3s158ms 19 1 1s605ms 1s605ms 22 5 10m13s 2m2s 23 4 9m25s 2m21s Nov 06 00 8 5m37s 42s170ms 02 1 11m26s 11m26s 03 1 18m5s 18m5s 05 4 4m44s 1m11s 12 5 9m30s 1m54s 20 1 17m29s 17m29s 23 14 13m35s 58s216ms Nov 07 06 11 8m16s 45s138ms 14 6 5m23s 53s846ms 16 4 15m19s 3m49s 18 11 20m49s 1m53s 19 12 12m17s 1m1s Nov 08 00 2 5s27ms 2s513ms 06 1 5m1s 5m1s 08 1 18m1s 18m1s 10 1 17m27s 17m27s 12 1 3s117ms 3s117ms 22 1 11m17s 11m17s 23 1 17m25s 17m25s Nov 09 08 3 31m15s 10m25s 21 1 3s153ms 3s153ms [ User: pubeu - Total duration: 2h16m42s - Times executed: 42 ]
-
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 = '1241583') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-11-06 03:00:24 Duration: 18m5s 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 = '1241583') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-11-04 19:20:38 Duration: 18m1s 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 = '1241583') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-11-08 08:28:52 Duration: 18m1s Database: ctdprd51 User: pubeu Bind query: yes
2 2h8m57s 7 18m17s 18m31s 18m25s select maint_query_logs_archive ();Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Nov 03 01 1 18m22s 18m22s Nov 04 00 1 18m17s 18m17s Nov 05 00 1 18m28s 18m28s Nov 06 00 1 18m22s 18m22s Nov 07 00 1 18m31s 18m31s Nov 08 00 1 18m30s 18m30s Nov 09 00 1 18m24s 18m24s -
/* * 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-11-07 00:18:33 Duration: 18m31s
-
/* * 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-11-08 00:18:31 Duration: 18m30s
-
/* * 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-11-05 00:18:30 Duration: 18m28s
3 30m49s 479 3s533ms 16s8ms 3s860ms 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 Nov 03 01 2 21s28ms 10s514ms 02 3 11s350ms 3s783ms 06 3 11s959ms 3s986ms 08 2 7s505ms 3s752ms 09 3 11s421ms 3s807ms 10 1 3s650ms 3s650ms 11 1 3s862ms 3s862ms 12 5 18s905ms 3s781ms 13 2 7s643ms 3s821ms 18 3 11s206ms 3s735ms 19 21 1m19s 3s782ms 20 10 37s96ms 3s709ms 21 9 34s154ms 3s794ms 22 5 18s377ms 3s675ms 23 15 55s695ms 3s713ms Nov 04 00 16 1m 3s811ms 01 17 1m4s 3s809ms 02 1 3s594ms 3s594ms 03 2 7s861ms 3s930ms 04 6 22s459ms 3s743ms 05 4 15s746ms 3s936ms 07 3 11s298ms 3s766ms 08 4 16s190ms 4s47ms 10 1 3s594ms 3s594ms 11 2 7s384ms 3s692ms 12 1 3s824ms 3s824ms 13 2 7s793ms 3s896ms 14 5 18s693ms 3s738ms 15 2 7s461ms 3s730ms 16 3 11s635ms 3s878ms 17 2 8s78ms 4s39ms 18 2 7s700ms 3s850ms 19 12 47s436ms 3s953ms 20 1 3s803ms 3s803ms 21 2 7s285ms 3s642ms 22 2 7s568ms 3s784ms 23 1 4s132ms 4s132ms Nov 05 00 19 1m12s 3s825ms 01 31 1m59s 3s864ms 02 24 1m31s 3s832ms 03 34 2m9s 3s798ms 04 11 42s181ms 3s834ms 05 1 5s700ms 5s700ms 06 2 8s17ms 4s8ms 07 4 15s781ms 3s945ms 08 1 3s722ms 3s722ms 09 1 3s996ms 3s996ms 10 2 7s506ms 3s753ms 11 1 3s862ms 3s862ms 12 4 15s811ms 3s952ms 13 3 11s517ms 3s839ms 14 7 26s988ms 3s855ms 15 4 15s831ms 3s957ms 16 4 14s965ms 3s741ms 17 5 19s716ms 3s943ms 18 2 7s828ms 3s914ms 19 1 3s738ms 3s738ms 21 1 3s663ms 3s663ms 22 1 3s682ms 3s682ms 23 1 4s85ms 4s85ms Nov 06 00 2 7s752ms 3s876ms 02 4 15s64ms 3s766ms 04 1 3s952ms 3s952ms 05 4 15s728ms 3s932ms 06 1 4s11ms 4s11ms 07 2 7s727ms 3s863ms 08 6 23s346ms 3s891ms 09 1 4s 4s 10 4 15s386ms 3s846ms 11 2 7s726ms 3s863ms 12 5 19s878ms 3s975ms 13 1 3s755ms 3s755ms 15 1 3s726ms 3s726ms 16 1 4s225ms 4s225ms 17 9 33s963ms 3s773ms 21 3 11s469ms 3s823ms 22 5 18s769ms 3s753ms Nov 07 01 1 4s27ms 4s27ms 02 1 3s612ms 3s612ms 03 1 3s644ms 3s644ms 04 2 7s353ms 3s676ms 05 3 10s949ms 3s649ms 07 3 11s361ms 3s787ms 08 3 11s779ms 3s926ms 09 3 10s986ms 3s662ms 10 3 11s712ms 3s904ms 11 3 11s769ms 3s923ms 14 1 3s749ms 3s749ms 17 3 11s227ms 3s742ms 19 2 7s800ms 3s900ms 20 4 15s659ms 3s914ms 21 1 3s876ms 3s876ms 22 1 3s922ms 3s922ms 23 1 3s942ms 3s942ms Nov 08 00 1 3s870ms 3s870ms 01 2 7s584ms 3s792ms 05 2 8s121ms 4s60ms 06 3 11s470ms 3s823ms 08 3 11s944ms 3s981ms 09 1 3s814ms 3s814ms 10 1 3s689ms 3s689ms 11 1 3s670ms 3s670ms 12 1 3s857ms 3s857ms 13 1 3s604ms 3s604ms 14 2 7s715ms 3s857ms 20 3 11s533ms 3s844ms 21 2 7s288ms 3s644ms 22 2 7s868ms 3s934ms 23 2 7s740ms 3s870ms Nov 09 01 1 4s21ms 4s21ms 02 4 15s235ms 3s808ms 04 1 3s706ms 3s706ms 05 1 3s839ms 3s839ms 10 2 8s63ms 4s31ms 11 4 16s85ms 4s21ms 12 1 3s728ms 3s728ms 13 2 7s685ms 3s842ms 15 2 7s767ms 3s883ms 16 2 7s708ms 3s854ms 20 1 3s785ms 3s785ms 21 1 3s906ms 3s906ms 22 2 7s465ms 3s732ms [ User: pubeu - Total duration: 12m51s - Times executed: 202 ]
-
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 = '1395038') 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 = '1395038') 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-11-03 01:41:47 Duration: 16s8ms 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 = '1424183') 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 = '1424183') 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-11-05 05:55:01 Duration: 5s700ms 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 = '1324054') 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 = '1324054') 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-11-03 01:42:52 Duration: 5s19ms Bind query: yes
4 23m46s 1 23m46s 23m46s 23m46s 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 #4
Day Hour Count Duration Avg duration Nov 09 19 1 23m46s 23m46s -
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-11-09 19:43:58 Duration: 23m46s
5 23m36s 1 23m36s 23m36s 23m36s 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 #5
Day Hour Count Duration Avg duration Nov 09 19 1 23m36s 23m36s -
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-11-09 19:00:36 Duration: 23m36s
6 19m40s 2 9m17s 10m23s 9m50s select gcr.ixn_id, gcr.chem_id, gcr.gene_id, gcr.taxon_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 gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ? and gd.curated_reference_qty > ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?));Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Nov 03 22 1 9m17s 9m17s Nov 04 17 1 10m23s 10m23s [ User: pubeu - Total duration: 10m23s - Times executed: 1 ]
-
SELECT /* CIQH.getIxnCacheQuery */ gcr.ixn_id, gcr.chem_id, gcr.gene_id, gcr.taxon_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.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7));
Date: 2024-11-04 17:46:26 Duration: 10m23s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* CIQH.getIxnCacheQuery */ gcr.ixn_id, gcr.chem_id, gcr.gene_id, gcr.taxon_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.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7));
Date: 2024-11-03 22:27:24 Duration: 9m17s Bind query: yes
7 19m24s 2 9m23s 10m1s 9m42s 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 gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ? and gd.curated_reference_qty > ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Nov 03 22 1 9m23s 9m23s Nov 04 17 1 10m1s 10m1s [ User: pubeu - Total duration: 19m24s - Times executed: 2 ]
-
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.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-11-04 17:56:29 Duration: 10m1s 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.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-11-03 22:36:48 Duration: 9m23s Database: ctdprd51 User: pubeu Bind query: yes
8 18m 992 1s 1s807ms 1s89ms 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 #8
Day Hour Count Duration Avg duration Nov 03 01 6 6s518ms 1s86ms 01 18 18s874ms 1s48ms 02 10 10s636ms 1s63ms 03 7 7s382ms 1s54ms 04 8 8s665ms 1s83ms 05 11 12s110ms 1s100ms 06 3 3s198ms 1s66ms 07 3 3s322ms 1s107ms 08 8 8s547ms 1s68ms 09 2 2s133ms 1s66ms 10 9 9s622ms 1s69ms 11 10 10s652ms 1s65ms 12 6 6s353ms 1s58ms 13 8 8s599ms 1s74ms 14 5 5s274ms 1s54ms 15 5 5s385ms 1s77ms 16 5 5s293ms 1s58ms 17 7 7s557ms 1s79ms 18 2 2s120ms 1s60ms 19 6 6s474ms 1s79ms 20 4 4s355ms 1s88ms 21 5 5s651ms 1s130ms 22 9 9s854ms 1s94ms 23 9 9s654ms 1s72ms Nov 04 00 6 6s586ms 1s97ms 01 4 4s449ms 1s112ms 02 12 14s51ms 1s170ms 03 3 3s291ms 1s97ms 04 3 3s242ms 1s80ms 05 8 8s651ms 1s81ms 06 4 4s225ms 1s56ms 07 4 4s353ms 1s88ms 08 9 9s512ms 1s56ms 09 6 6s722ms 1s120ms 10 3 3s247ms 1s82ms 11 1 1s68ms 1s68ms 12 14 15s408ms 1s100ms 13 4 4s362ms 1s90ms 14 7 7s621ms 1s88ms 15 4 4s403ms 1s100ms 16 4 4s355ms 1s88ms 17 6 6s384ms 1s64ms 18 9 9s724ms 1s80ms 19 7 7s752ms 1s107ms 20 17 18s314ms 1s77ms 21 7 7s437ms 1s62ms 22 8 8s754ms 1s94ms 23 8 8s736ms 1s92ms Nov 05 00 9 10s101ms 1s122ms 01 9 9s560ms 1s62ms 02 8 8s823ms 1s102ms 03 7 7s592ms 1s84ms 04 5 5s557ms 1s111ms 05 10 10s849ms 1s84ms 06 3 3s325ms 1s108ms 07 7 7s666ms 1s95ms 08 8 8s819ms 1s102ms 09 7 7s403ms 1s57ms 10 9 9s720ms 1s80ms 11 4 4s218ms 1s54ms 12 6 6s589ms 1s98ms 13 4 4s447ms 1s111ms 14 8 8s718ms 1s89ms 15 3 3s281ms 1s93ms 16 7 7s755ms 1s107ms 17 7 7s638ms 1s91ms 18 4 4s369ms 1s92ms 19 9 9s752ms 1s83ms 20 7 7s555ms 1s79ms 21 6 6s593ms 1s98ms 22 5 5s601ms 1s120ms 23 5 5s585ms 1s117ms Nov 06 01 10 10s908ms 1s90ms 02 3 3s362ms 1s120ms 03 5 5s302ms 1s60ms 04 6 6s446ms 1s74ms 05 9 10s259ms 1s139ms 06 11 12s75ms 1s97ms 07 3 3s222ms 1s74ms 08 6 6s380ms 1s63ms 09 12 13s11ms 1s84ms 10 4 4s309ms 1s77ms 11 4 4s239ms 1s59ms 12 5 5s432ms 1s86ms 13 1 1s61ms 1s61ms 14 5 5s426ms 1s85ms 15 8 8s741ms 1s92ms 16 2 2s195ms 1s97ms 17 10 10s948ms 1s94ms 18 5 5s490ms 1s98ms 19 7 7s626ms 1s89ms 20 13 14s289ms 1s99ms 21 8 8s754ms 1s94ms 22 7 7s724ms 1s103ms 23 8 8s781ms 1s97ms Nov 07 00 7 7s779ms 1s111ms 01 12 13s195ms 1s99ms 02 3 3s255ms 1s85ms 03 3 3s223ms 1s74ms 04 5 5s443ms 1s88ms 05 6 6s820ms 1s136ms 06 6 6s617ms 1s102ms 07 12 13s80ms 1s90ms 08 3 3s301ms 1s100ms 09 6 6s501ms 1s83ms 10 2 2s217ms 1s108ms 11 11 11s949ms 1s86ms 12 8 8s661ms 1s82ms 13 5 5s416ms 1s83ms 14 16 17s285ms 1s80ms 15 1 1s87ms 1s87ms 16 10 10s896ms 1s89ms 17 8 8s518ms 1s64ms 18 11 11s910ms 1s82ms 19 9 9s712ms 1s79ms 20 10 10s819ms 1s81ms 21 13 14s102ms 1s84ms 22 7 7s849ms 1s121ms 23 5 5s390ms 1s78ms Nov 08 00 6 6s528ms 1s88ms 01 3 3s256ms 1s85ms 02 9 9s830ms 1s92ms 03 1 1s100ms 1s100ms 05 6 6s885ms 1s147ms 08 3 3s278ms 1s92ms 09 3 3s202ms 1s67ms 10 2 2s202ms 1s101ms 11 1 1s135ms 1s135ms 12 3 3s274ms 1s91ms 13 5 5s421ms 1s84ms 14 1 1s101ms 1s101ms 15 2 2s175ms 1s87ms 16 8 8s533ms 1s66ms 17 5 5s400ms 1s80ms 18 5 5s305ms 1s61ms 19 2 2s264ms 1s132ms 20 3 3s291ms 1s97ms 21 6 6s393ms 1s65ms 22 4 4s317ms 1s79ms 23 3 3s244ms 1s81ms Nov 09 00 10 11s135ms 1s113ms 01 2 2s233ms 1s116ms 02 5 5s413ms 1s82ms 03 2 2s153ms 1s76ms 04 3 3s327ms 1s109ms 05 6 6s753ms 1s125ms 06 5 5s465ms 1s93ms 07 4 4s439ms 1s109ms 08 4 4s403ms 1s100ms 09 4 4s380ms 1s95ms 10 2 2s215ms 1s107ms 11 3 3s314ms 1s104ms 12 1 1s93ms 1s93ms 13 2 2s253ms 1s126ms 14 2 2s184ms 1s92ms 15 2 2s198ms 1s99ms 16 9 9s767ms 1s85ms 17 4 4s385ms 1s96ms 18 4 4s356ms 1s89ms 19 3 3s230ms 1s76ms 20 8 8s672ms 1s84ms 21 5 5s443ms 1s88ms 22 3 3s476ms 1s158ms 23 6 6s868ms 1s144ms [ User: pubeu - Total duration: 7m56s - Times executed: 438 ]
[ User: qaeu - Total duration: 2s427ms - Times executed: 2 ]
-
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 = '1498137' or receptorTerm.id = '1498137' 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-11-04 02:53:03 Duration: 1s807ms 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 = '1456580' or receptorTerm.id = '1456580' 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-11-04 19:11:25 Duration: 1s300ms 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 = '1439302' or receptorTerm.id = '1439302' 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-11-03 05:43:41 Duration: 1s242ms Database: ctdprd51 User: qaeu Bind query: yes
9 16m43s 245 1s6ms 12s289ms 4s95ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Nov 03 01 2 22s693ms 11s346ms 03 1 4s354ms 4s354ms 04 2 3s486ms 1s743ms 05 5 42s787ms 8s557ms 06 2 4s424ms 2s212ms 08 1 2s569ms 2s569ms 09 1 8s919ms 8s919ms 16 21 1m40s 4s765ms 18 1 8s841ms 8s841ms 19 1 7s195ms 7s195ms 20 1 2s737ms 2s737ms 22 1 10s608ms 10s608ms Nov 04 03 6 55s834ms 9s305ms 05 1 1s212ms 1s212ms 07 1 1s398ms 1s398ms 08 1 1s57ms 1s57ms 10 2 2s545ms 1s272ms 11 2 18s331ms 9s165ms 12 2 3s829ms 1s914ms 14 1 2s510ms 2s510ms 18 1 2s365ms 2s365ms 20 2 4s844ms 2s422ms 21 5 28s105ms 5s621ms 23 1 2s497ms 2s497ms Nov 05 01 1 2s302ms 2s302ms 02 2 5s50ms 2s525ms 04 1 2s736ms 2s736ms 05 1 2s615ms 2s615ms 06 2 4s294ms 2s147ms 07 1 2s386ms 2s386ms 10 1 2s227ms 2s227ms 11 1 2s509ms 2s509ms 12 1 1s49ms 1s49ms 13 1 2s359ms 2s359ms 14 1 1s316ms 1s316ms 17 15 1m2s 4s156ms 18 3 9s330ms 3s110ms 19 8 18s571ms 2s321ms 21 5 9s417ms 1s883ms 23 1 1s426ms 1s426ms Nov 06 02 2 6s901ms 3s450ms 04 6 16s150ms 2s691ms 05 1 5s59ms 5s59ms 06 1 1s317ms 1s317ms 07 2 2s655ms 1s327ms 08 1 2s502ms 2s502ms 16 1 2s508ms 2s508ms 18 1 1s48ms 1s48ms 19 1 2s574ms 2s574ms 20 3 8s777ms 2s925ms 23 1 4s935ms 4s935ms Nov 07 01 6 23s840ms 3s973ms 02 6 38s281ms 6s380ms 03 2 17s526ms 8s763ms 05 4 13s869ms 3s467ms 06 7 25s490ms 3s641ms 07 3 9s826ms 3s275ms 08 5 21s72ms 4s214ms 10 1 11s587ms 11s587ms 15 5 22s574ms 4s514ms 16 3 7s314ms 2s438ms 17 2 5s511ms 2s755ms 20 3 6s24ms 2s8ms 23 3 8s809ms 2s936ms Nov 08 00 1 1s12ms 1s12ms 01 2 2s359ms 1s179ms 02 30 2m47s 5s598ms 03 3 6s57ms 2s19ms 05 1 1s307ms 1s307ms 07 1 2s516ms 2s516ms 10 1 2s524ms 2s524ms 21 2 4s801ms 2s400ms 23 1 2s479ms 2s479ms Nov 09 01 1 1s141ms 1s141ms 02 1 2s530ms 2s530ms 03 1 2s565ms 2s565ms 04 1 2s134ms 2s134ms 05 2 16s601ms 8s300ms 06 1 2s515ms 2s515ms 08 5 24s228ms 4s845ms 10 1 1s279ms 1s279ms 11 1 1s313ms 1s313ms 14 3 4s29ms 1s343ms 15 1 2s478ms 2s478ms 20 2 3s451ms 1s725ms 21 1 2s439ms 2s439ms 22 2 4s982ms 2s491ms 23 1 1s297ms 1s297ms [ User: pubeu - Total duration: 6m37s - Times executed: 109 ]
-
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 = '2081060') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-03 16:16:50 Duration: 12s289ms 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 = '2076748') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-09 08:03:14 Duration: 12s215ms 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 = '2076748') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-07 03:12:17 Duration: 11s904ms Bind query: yes
10 15m54s 213 1s 12s255ms 4s482ms select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Nov 03 01 1 4s756ms 4s756ms 01 2 6s3ms 3s1ms 02 1 4s666ms 4s666ms 03 1 4s528ms 4s528ms 04 1 1s57ms 1s57ms 05 2 10s492ms 5s246ms 06 2 8s724ms 4s362ms 09 3 13s581ms 4s527ms 10 1 3s884ms 3s884ms 11 2 11s38ms 5s519ms 12 2 11s67ms 5s533ms 13 1 1s5ms 1s5ms 14 1 4s190ms 4s190ms 15 1 5s468ms 5s468ms 17 3 12s764ms 4s254ms 18 1 3s959ms 3s959ms 19 1 5s529ms 5s529ms 22 1 5s150ms 5s150ms Nov 04 01 5 19s713ms 3s942ms 02 6 33s724ms 5s620ms 03 1 1s45ms 1s45ms 04 1 5s621ms 5s621ms 05 3 11s905ms 3s968ms 06 2 4s889ms 2s444ms 07 1 1s26ms 1s26ms 11 3 15s136ms 5s45ms 12 1 12s255ms 12s255ms 13 1 5s60ms 5s60ms 14 2 6s414ms 3s207ms 16 1 4s690ms 4s690ms 17 1 5s708ms 5s708ms 21 2 10s141ms 5s70ms 22 1 5s667ms 5s667ms Nov 05 00 13 56s479ms 4s344ms 01 5 17s145ms 3s429ms 02 3 11s398ms 3s799ms 03 2 9s436ms 4s718ms 04 1 5s543ms 5s543ms 07 2 10s289ms 5s144ms 08 2 10s76ms 5s38ms 09 2 6s54ms 3s27ms 10 5 22s97ms 4s419ms 11 1 4s914ms 4s914ms 12 1 1s12ms 1s12ms 13 1 5s108ms 5s108ms 14 1 4s827ms 4s827ms 15 1 1s9ms 1s9ms 17 1 4s997ms 4s997ms 20 2 5s823ms 2s911ms 21 2 9s730ms 4s865ms 22 2 5s795ms 2s897ms Nov 06 00 2 6s30ms 3s15ms 01 2 10s77ms 5s38ms 03 2 2s38ms 1s19ms 04 5 25s707ms 5s141ms 06 1 4s928ms 4s928ms 08 1 5s50ms 5s50ms 09 1 5s353ms 5s353ms 11 1 5s71ms 5s71ms 15 1 5s148ms 5s148ms 21 3 15s143ms 5s47ms 22 6 32s589ms 5s431ms Nov 07 02 2 6s276ms 3s138ms 03 1 4s904ms 4s904ms 04 2 10s380ms 5s190ms 05 6 32s172ms 5s362ms 06 1 5s245ms 5s245ms 07 7 36s519ms 5s217ms 08 3 3s131ms 1s43ms 11 1 4s890ms 4s890ms 12 3 11s330ms 3s776ms 15 2 10s425ms 5s212ms 16 1 4s791ms 4s791ms 17 8 41s679ms 5s209ms 18 2 11s56ms 5s528ms 19 1 5s607ms 5s607ms 22 1 1s 1s Nov 08 01 1 4s929ms 4s929ms 02 1 5s384ms 5s384ms 04 1 1s14ms 1s14ms 06 1 5s391ms 5s391ms 07 5 20s924ms 4s184ms 08 3 15s562ms 5s187ms 14 1 5s255ms 5s255ms 16 2 9s840ms 4s920ms 18 1 5s272ms 5s272ms 21 2 9s313ms 4s656ms Nov 09 01 1 4s705ms 4s705ms 02 4 15s768ms 3s942ms 04 1 4s556ms 4s556ms 05 4 20s13ms 5s3ms 06 1 4s546ms 4s546ms 09 1 4s482ms 4s482ms 10 2 10s39ms 5s19ms 14 1 4s544ms 4s544ms 16 1 5s384ms 5s384ms 21 1 4s562ms 4s562ms 22 6 28s916ms 4s819ms 23 1 5s150ms 5s150ms [ User: pubeu - Total duration: 6m34s - Times executed: 92 ]
-
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 = '1327299' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-11-04 12:39:28 Duration: 12s255ms 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 = '1324852' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-11-04 02:55:25 Duration: 6s407ms 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 = '1271488' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-11-07 18:57:48 Duration: 6s141ms Bind query: yes
11 15m26s 25 36s798ms 37s830ms 37s49ms 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 #11
Day Hour Count Duration Avg duration Nov 03 06 1 36s798ms 36s798ms 10 1 37s268ms 37s268ms 14 1 36s969ms 36s969ms 18 1 36s842ms 36s842ms Nov 04 06 1 37s146ms 37s146ms 10 1 37s830ms 37s830ms 14 1 37s28ms 37s28ms 18 1 36s906ms 36s906ms Nov 05 06 1 37s77ms 37s77ms 10 1 37s174ms 37s174ms 14 1 37s75ms 37s75ms 18 1 36s869ms 36s869ms Nov 06 06 1 36s988ms 36s988ms 10 1 36s984ms 36s984ms 14 1 37s338ms 37s338ms 18 1 36s902ms 36s902ms Nov 07 06 1 36s974ms 36s974ms 10 1 36s983ms 36s983ms 14 1 36s918ms 36s918ms 18 1 37s185ms 37s185ms Nov 08 06 1 36s984ms 36s984ms 10 1 37s178ms 37s178ms 14 1 36s978ms 36s978ms 18 1 37s32ms 37s32ms Nov 09 19 1 36s802ms 36s802ms [ User: postgres - Total duration: 14m49s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 14m49s - 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-11-04 10:05:39 Duration: 37s830ms 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-11-06 14:05:38 Duration: 37s338ms 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-11-03 10:05:38 Duration: 37s268ms Database: ctdprd51 User: postgres Application: pg_dump
12 15m10s 238 1s8ms 21s812ms 3s824ms select sq.*, count(*) over () fullrowcount from ( select distinct gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid from dag_node gt inner join gene_go_annot gga on gt.object_id = gga.go_term_id inner join term g on gga.gene_id = g.id where gt.id in ( select p.descendant_dag_node_id from dag_path p where p.ancestor_object_id = ?) and gga.is_not = false) sq order by sq.gonmsort, sq.genesymbolsort limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Nov 03 05 1 1s974ms 1s974ms 16 1 1s501ms 1s501ms 17 9 45s476ms 5s52ms Nov 04 01 3 5s631ms 1s877ms 02 45 2m25s 3s223ms 07 1 1s151ms 1s151ms 11 1 1s789ms 1s789ms 16 3 16s480ms 5s493ms 19 6 27s208ms 4s534ms 21 1 1s626ms 1s626ms 23 1 1s165ms 1s165ms Nov 05 08 1 1s69ms 1s69ms 12 1 1s51ms 1s51ms 18 3 3s449ms 1s149ms 19 1 2s33ms 2s33ms 22 6 20s121ms 3s353ms 23 3 4s4ms 1s334ms Nov 06 00 8 12s293ms 1s536ms 01 1 1s495ms 1s495ms 02 14 49s431ms 3s530ms 05 3 10s194ms 3s398ms 06 1 1s70ms 1s70ms 12 4 23s556ms 5s889ms 19 3 24s675ms 8s225ms 21 1 1s776ms 1s776ms 23 16 1m17s 4s823ms Nov 07 01 1 1s298ms 1s298ms 06 12 1m24s 7s7ms 08 5 12s999ms 2s599ms 14 6 13s853ms 2s308ms 16 5 27s643ms 5s528ms 18 17 41s729ms 2s454ms 19 10 46s256ms 4s625ms 21 1 1s30ms 1s30ms Nov 08 00 2 22s509ms 11s254ms 06 2 11s29ms 5s514ms 07 2 5s952ms 2s976ms 08 1 1s89ms 1s89ms 12 1 21s66ms 21s66ms 16 2 2s176ms 1s88ms 22 7 24s47ms 3s435ms Nov 09 07 1 1s77ms 1s77ms 08 20 1m44s 5s208ms 13 1 1s74ms 1s74ms 16 2 2s238ms 1s119ms 20 1 1s457ms 1s457ms 22 1 1s72ms 1s72ms [ User: pubeu - Total duration: 6m33s - Times executed: 91 ]
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1217771') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-11-06 23:37:51 Duration: 21s812ms Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1217863') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-11-04 02:56:04 Duration: 21s752ms Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1217771') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-11-08 00:28:12 Duration: 21s407ms Database: ctdprd51 User: pubeu Bind query: yes
13 12m25s 16 1s932ms 1m15s 46s605ms select r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refacc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, count(*) over () fullrowcount from reference r where r.id in ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?)) order by r.sort_txt limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Nov 03 04 1 1m1s 1m1s 11 1 47s834ms 47s834ms 20 1 1m1s 1m1s Nov 04 01 1 13s140ms 13s140ms 02 2 2m 1m 06 1 1m 1m 18 1 52s408ms 52s408ms Nov 05 12 1 1m7s 1m7s Nov 06 06 1 1m4s 1m4s Nov 07 07 1 2s107ms 2s107ms Nov 08 02 1 46s339ms 46s339ms 07 2 1m20s 40s298ms 08 1 1m5s 1m5s 09 1 1s932ms 1s932ms [ User: pubeu - Total duration: 3m52s - Times executed: 6 ]
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1434689')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-11-04 02:06:00 Duration: 1m15s Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1231717')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-11-05 12:40:46 Duration: 1m7s Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1231717')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-11-08 08:47:16 Duration: 1m5s Database: ctdprd51 User: pubeu Bind query: yes
14 10m47s 1 10m47s 10m47s 10m47s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Nov 03 23 1 10m47s 10m47s [ User: pubeu - Total duration: 10m47s - Times executed: 1 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'SOCS3') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA04930' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'TRICLOSAN' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-11-03 23:17:20 Duration: 10m47s Database: ctdprd51 User: pubeu Bind query: yes
15 8m5s 1 8m5s 8m5s 8m5s drop table load.ixn_prose; create table load.ixn_prose as select edit.get_ixn_prose (ri.ixn_id) as ixn_prose_txt, ri.reference_acc_txt, ri.taxon_acc_txt, ri.mod_tm, t.nm from edit.reference_ixn ri, edit.ixn i, edit.ixn_type t where ri.ixn_id = i.id and i.ixn_type_id = t.id;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Nov 05 13 1 8m5s 8m5s [ User: load - Total duration: 8m5s - Times executed: 1 ]
[ Application: pgAdmin 4 - CONN:7789920 - Total duration: 8m5s - Times executed: 1 ]
-
-- MUST RUN THIS FIRST in the LOAD database (takes about 10 minutes): drop table load.ixn_prose; create table load.ixn_prose as select edit.get_ixn_prose (ri.ixn_id) as ixn_prose_txt, ri.reference_acc_txt, ri.taxon_acc_txt, ri.mod_tm, t.nm from edit.reference_ixn ri, edit.ixn i, edit.ixn_type t where ri.ixn_id = i.id and i.ixn_type_id = t.id;
Date: 2024-11-05 13:53:10 Duration: 8m5s Database: ctdprd51 User: load Application: pgAdmin 4 - CONN:7789920
16 7m16s 1 7m16s 7m16s 7m16s copy pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Nov 09 19 1 7m16s 7m16s -
COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-11-09 19:56:11 Duration: 7m16s
17 6m59s 1 6m59s 6m59s 6m59s copy pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Nov 09 19 1 6m59s 6m59s -
COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-11-09 19:12:29 Duration: 6m59s
18 6m44s 35 11s160ms 13s813ms 11s548ms 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 #18
Day Hour Count Duration Avg duration Nov 06 10 2 22s491ms 11s245ms 11 8 1m29s 11s239ms 13 1 11s232ms 11s232ms 14 6 1m7s 11s257ms 15 5 1m3s 12s653ms 16 7 1m19s 11s377ms Nov 07 13 6 1m10s 11s685ms [ User: pubeu - Total duration: 4m4s - Times executed: 21 ]
-
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-11-06 15:43:19 Duration: 13s813ms 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-11-06 15:43:15 Duration: 13s475ms 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-11-06 15:43:17 Duration: 13s351ms Database: ctdprd51 User: pubeu Bind query: yes
19 6m10s 25 14s687ms 15s67ms 14s836ms copy edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Nov 03 06 1 15s31ms 15s31ms 10 1 14s806ms 14s806ms 14 1 14s759ms 14s759ms 18 1 14s931ms 14s931ms Nov 04 06 1 14s990ms 14s990ms 10 1 14s825ms 14s825ms 14 1 14s851ms 14s851ms 18 1 14s782ms 14s782ms Nov 05 06 1 14s857ms 14s857ms 10 1 15s25ms 15s25ms 14 1 14s775ms 14s775ms 18 1 14s911ms 14s911ms Nov 06 06 1 14s779ms 14s779ms 10 1 14s755ms 14s755ms 14 1 14s789ms 14s789ms 18 1 14s891ms 14s891ms Nov 07 06 1 15s67ms 15s67ms 10 1 14s825ms 14s825ms 14 1 14s763ms 14s763ms 18 1 14s762ms 14s762ms Nov 08 06 1 14s821ms 14s821ms 10 1 14s725ms 14s725ms 14 1 14s750ms 14s750ms 18 1 14s749ms 14s749ms Nov 09 18 1 14s687ms 14s687ms [ User: postgres - Total duration: 6m10s - Times executed: 25 ]
[ Application: pg_dump - Total duration: 6m10s - 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-11-07 06:00:17 Duration: 15s67ms 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-11-03 06:00:16 Duration: 15s31ms 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-11-05 10:00:17 Duration: 15s25ms Database: ctdprd51 User: postgres Application: pg_dump
20 5m38s 24 14s28ms 14s251ms 14s106ms 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 #20
Day Hour Count Duration Avg duration Nov 03 06 1 14s251ms 14s251ms 10 1 14s152ms 14s152ms 14 1 14s78ms 14s78ms 18 1 14s180ms 14s180ms Nov 04 06 1 14s173ms 14s173ms 10 1 14s116ms 14s116ms 14 1 14s83ms 14s83ms 18 1 14s124ms 14s124ms Nov 05 06 1 14s71ms 14s71ms 10 1 14s75ms 14s75ms 14 1 14s107ms 14s107ms 18 1 14s71ms 14s71ms Nov 06 06 1 14s95ms 14s95ms 10 1 14s110ms 14s110ms 14 1 14s162ms 14s162ms 18 1 14s90ms 14s90ms Nov 07 10 1 14s28ms 14s28ms 14 1 14s135ms 14s135ms 18 1 14s51ms 14s51ms Nov 08 06 1 14s44ms 14s44ms 10 1 14s96ms 14s96ms 14 1 14s85ms 14s85ms 18 1 14s85ms 14s85ms Nov 09 18 1 14s75ms 14s75ms -
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-11-03 06:00:59 Duration: 14s251ms
-
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-11-03 18:00:59 Duration: 14s180ms
-
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-11-04 06:00:59 Duration: 14s173ms
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 992 18m 1s 1s807ms 1s89ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where exposuremarkerterm.id = ? or receptorterm.id = ? group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Nov 03 01 6 6s518ms 1s86ms 01 18 18s874ms 1s48ms 02 10 10s636ms 1s63ms 03 7 7s382ms 1s54ms 04 8 8s665ms 1s83ms 05 11 12s110ms 1s100ms 06 3 3s198ms 1s66ms 07 3 3s322ms 1s107ms 08 8 8s547ms 1s68ms 09 2 2s133ms 1s66ms 10 9 9s622ms 1s69ms 11 10 10s652ms 1s65ms 12 6 6s353ms 1s58ms 13 8 8s599ms 1s74ms 14 5 5s274ms 1s54ms 15 5 5s385ms 1s77ms 16 5 5s293ms 1s58ms 17 7 7s557ms 1s79ms 18 2 2s120ms 1s60ms 19 6 6s474ms 1s79ms 20 4 4s355ms 1s88ms 21 5 5s651ms 1s130ms 22 9 9s854ms 1s94ms 23 9 9s654ms 1s72ms Nov 04 00 6 6s586ms 1s97ms 01 4 4s449ms 1s112ms 02 12 14s51ms 1s170ms 03 3 3s291ms 1s97ms 04 3 3s242ms 1s80ms 05 8 8s651ms 1s81ms 06 4 4s225ms 1s56ms 07 4 4s353ms 1s88ms 08 9 9s512ms 1s56ms 09 6 6s722ms 1s120ms 10 3 3s247ms 1s82ms 11 1 1s68ms 1s68ms 12 14 15s408ms 1s100ms 13 4 4s362ms 1s90ms 14 7 7s621ms 1s88ms 15 4 4s403ms 1s100ms 16 4 4s355ms 1s88ms 17 6 6s384ms 1s64ms 18 9 9s724ms 1s80ms 19 7 7s752ms 1s107ms 20 17 18s314ms 1s77ms 21 7 7s437ms 1s62ms 22 8 8s754ms 1s94ms 23 8 8s736ms 1s92ms Nov 05 00 9 10s101ms 1s122ms 01 9 9s560ms 1s62ms 02 8 8s823ms 1s102ms 03 7 7s592ms 1s84ms 04 5 5s557ms 1s111ms 05 10 10s849ms 1s84ms 06 3 3s325ms 1s108ms 07 7 7s666ms 1s95ms 08 8 8s819ms 1s102ms 09 7 7s403ms 1s57ms 10 9 9s720ms 1s80ms 11 4 4s218ms 1s54ms 12 6 6s589ms 1s98ms 13 4 4s447ms 1s111ms 14 8 8s718ms 1s89ms 15 3 3s281ms 1s93ms 16 7 7s755ms 1s107ms 17 7 7s638ms 1s91ms 18 4 4s369ms 1s92ms 19 9 9s752ms 1s83ms 20 7 7s555ms 1s79ms 21 6 6s593ms 1s98ms 22 5 5s601ms 1s120ms 23 5 5s585ms 1s117ms Nov 06 01 10 10s908ms 1s90ms 02 3 3s362ms 1s120ms 03 5 5s302ms 1s60ms 04 6 6s446ms 1s74ms 05 9 10s259ms 1s139ms 06 11 12s75ms 1s97ms 07 3 3s222ms 1s74ms 08 6 6s380ms 1s63ms 09 12 13s11ms 1s84ms 10 4 4s309ms 1s77ms 11 4 4s239ms 1s59ms 12 5 5s432ms 1s86ms 13 1 1s61ms 1s61ms 14 5 5s426ms 1s85ms 15 8 8s741ms 1s92ms 16 2 2s195ms 1s97ms 17 10 10s948ms 1s94ms 18 5 5s490ms 1s98ms 19 7 7s626ms 1s89ms 20 13 14s289ms 1s99ms 21 8 8s754ms 1s94ms 22 7 7s724ms 1s103ms 23 8 8s781ms 1s97ms Nov 07 00 7 7s779ms 1s111ms 01 12 13s195ms 1s99ms 02 3 3s255ms 1s85ms 03 3 3s223ms 1s74ms 04 5 5s443ms 1s88ms 05 6 6s820ms 1s136ms 06 6 6s617ms 1s102ms 07 12 13s80ms 1s90ms 08 3 3s301ms 1s100ms 09 6 6s501ms 1s83ms 10 2 2s217ms 1s108ms 11 11 11s949ms 1s86ms 12 8 8s661ms 1s82ms 13 5 5s416ms 1s83ms 14 16 17s285ms 1s80ms 15 1 1s87ms 1s87ms 16 10 10s896ms 1s89ms 17 8 8s518ms 1s64ms 18 11 11s910ms 1s82ms 19 9 9s712ms 1s79ms 20 10 10s819ms 1s81ms 21 13 14s102ms 1s84ms 22 7 7s849ms 1s121ms 23 5 5s390ms 1s78ms Nov 08 00 6 6s528ms 1s88ms 01 3 3s256ms 1s85ms 02 9 9s830ms 1s92ms 03 1 1s100ms 1s100ms 05 6 6s885ms 1s147ms 08 3 3s278ms 1s92ms 09 3 3s202ms 1s67ms 10 2 2s202ms 1s101ms 11 1 1s135ms 1s135ms 12 3 3s274ms 1s91ms 13 5 5s421ms 1s84ms 14 1 1s101ms 1s101ms 15 2 2s175ms 1s87ms 16 8 8s533ms 1s66ms 17 5 5s400ms 1s80ms 18 5 5s305ms 1s61ms 19 2 2s264ms 1s132ms 20 3 3s291ms 1s97ms 21 6 6s393ms 1s65ms 22 4 4s317ms 1s79ms 23 3 3s244ms 1s81ms Nov 09 00 10 11s135ms 1s113ms 01 2 2s233ms 1s116ms 02 5 5s413ms 1s82ms 03 2 2s153ms 1s76ms 04 3 3s327ms 1s109ms 05 6 6s753ms 1s125ms 06 5 5s465ms 1s93ms 07 4 4s439ms 1s109ms 08 4 4s403ms 1s100ms 09 4 4s380ms 1s95ms 10 2 2s215ms 1s107ms 11 3 3s314ms 1s104ms 12 1 1s93ms 1s93ms 13 2 2s253ms 1s126ms 14 2 2s184ms 1s92ms 15 2 2s198ms 1s99ms 16 9 9s767ms 1s85ms 17 4 4s385ms 1s96ms 18 4 4s356ms 1s89ms 19 3 3s230ms 1s76ms 20 8 8s672ms 1s84ms 21 5 5s443ms 1s88ms 22 3 3s476ms 1s158ms 23 6 6s868ms 1s144ms [ User: pubeu - Total duration: 7m56s - Times executed: 438 ]
[ User: qaeu - Total duration: 2s427ms - Times executed: 2 ]
-
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 = '1498137' or receptorTerm.id = '1498137' 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-11-04 02:53:03 Duration: 1s807ms 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 = '1456580' or receptorTerm.id = '1456580' 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-11-04 19:11:25 Duration: 1s300ms 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 = '1439302' or receptorTerm.id = '1439302' 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-11-03 05:43:41 Duration: 1s242ms Database: ctdprd51 User: qaeu Bind query: yes
2 479 30m49s 3s533ms 16s8ms 3s860ms 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 #2
Day Hour Count Duration Avg duration Nov 03 01 2 21s28ms 10s514ms 02 3 11s350ms 3s783ms 06 3 11s959ms 3s986ms 08 2 7s505ms 3s752ms 09 3 11s421ms 3s807ms 10 1 3s650ms 3s650ms 11 1 3s862ms 3s862ms 12 5 18s905ms 3s781ms 13 2 7s643ms 3s821ms 18 3 11s206ms 3s735ms 19 21 1m19s 3s782ms 20 10 37s96ms 3s709ms 21 9 34s154ms 3s794ms 22 5 18s377ms 3s675ms 23 15 55s695ms 3s713ms Nov 04 00 16 1m 3s811ms 01 17 1m4s 3s809ms 02 1 3s594ms 3s594ms 03 2 7s861ms 3s930ms 04 6 22s459ms 3s743ms 05 4 15s746ms 3s936ms 07 3 11s298ms 3s766ms 08 4 16s190ms 4s47ms 10 1 3s594ms 3s594ms 11 2 7s384ms 3s692ms 12 1 3s824ms 3s824ms 13 2 7s793ms 3s896ms 14 5 18s693ms 3s738ms 15 2 7s461ms 3s730ms 16 3 11s635ms 3s878ms 17 2 8s78ms 4s39ms 18 2 7s700ms 3s850ms 19 12 47s436ms 3s953ms 20 1 3s803ms 3s803ms 21 2 7s285ms 3s642ms 22 2 7s568ms 3s784ms 23 1 4s132ms 4s132ms Nov 05 00 19 1m12s 3s825ms 01 31 1m59s 3s864ms 02 24 1m31s 3s832ms 03 34 2m9s 3s798ms 04 11 42s181ms 3s834ms 05 1 5s700ms 5s700ms 06 2 8s17ms 4s8ms 07 4 15s781ms 3s945ms 08 1 3s722ms 3s722ms 09 1 3s996ms 3s996ms 10 2 7s506ms 3s753ms 11 1 3s862ms 3s862ms 12 4 15s811ms 3s952ms 13 3 11s517ms 3s839ms 14 7 26s988ms 3s855ms 15 4 15s831ms 3s957ms 16 4 14s965ms 3s741ms 17 5 19s716ms 3s943ms 18 2 7s828ms 3s914ms 19 1 3s738ms 3s738ms 21 1 3s663ms 3s663ms 22 1 3s682ms 3s682ms 23 1 4s85ms 4s85ms Nov 06 00 2 7s752ms 3s876ms 02 4 15s64ms 3s766ms 04 1 3s952ms 3s952ms 05 4 15s728ms 3s932ms 06 1 4s11ms 4s11ms 07 2 7s727ms 3s863ms 08 6 23s346ms 3s891ms 09 1 4s 4s 10 4 15s386ms 3s846ms 11 2 7s726ms 3s863ms 12 5 19s878ms 3s975ms 13 1 3s755ms 3s755ms 15 1 3s726ms 3s726ms 16 1 4s225ms 4s225ms 17 9 33s963ms 3s773ms 21 3 11s469ms 3s823ms 22 5 18s769ms 3s753ms Nov 07 01 1 4s27ms 4s27ms 02 1 3s612ms 3s612ms 03 1 3s644ms 3s644ms 04 2 7s353ms 3s676ms 05 3 10s949ms 3s649ms 07 3 11s361ms 3s787ms 08 3 11s779ms 3s926ms 09 3 10s986ms 3s662ms 10 3 11s712ms 3s904ms 11 3 11s769ms 3s923ms 14 1 3s749ms 3s749ms 17 3 11s227ms 3s742ms 19 2 7s800ms 3s900ms 20 4 15s659ms 3s914ms 21 1 3s876ms 3s876ms 22 1 3s922ms 3s922ms 23 1 3s942ms 3s942ms Nov 08 00 1 3s870ms 3s870ms 01 2 7s584ms 3s792ms 05 2 8s121ms 4s60ms 06 3 11s470ms 3s823ms 08 3 11s944ms 3s981ms 09 1 3s814ms 3s814ms 10 1 3s689ms 3s689ms 11 1 3s670ms 3s670ms 12 1 3s857ms 3s857ms 13 1 3s604ms 3s604ms 14 2 7s715ms 3s857ms 20 3 11s533ms 3s844ms 21 2 7s288ms 3s644ms 22 2 7s868ms 3s934ms 23 2 7s740ms 3s870ms Nov 09 01 1 4s21ms 4s21ms 02 4 15s235ms 3s808ms 04 1 3s706ms 3s706ms 05 1 3s839ms 3s839ms 10 2 8s63ms 4s31ms 11 4 16s85ms 4s21ms 12 1 3s728ms 3s728ms 13 2 7s685ms 3s842ms 15 2 7s767ms 3s883ms 16 2 7s708ms 3s854ms 20 1 3s785ms 3s785ms 21 1 3s906ms 3s906ms 22 2 7s465ms 3s732ms [ User: pubeu - Total duration: 12m51s - Times executed: 202 ]
-
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 = '1395038') 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 = '1395038') 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-11-03 01:41:47 Duration: 16s8ms 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 = '1424183') 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 = '1424183') 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-11-05 05:55:01 Duration: 5s700ms 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 = '1324054') 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 = '1324054') 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-11-03 01:42:52 Duration: 5s19ms Bind query: yes
3 245 16m43s 1s6ms 12s289ms 4s95ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Nov 03 01 2 22s693ms 11s346ms 03 1 4s354ms 4s354ms 04 2 3s486ms 1s743ms 05 5 42s787ms 8s557ms 06 2 4s424ms 2s212ms 08 1 2s569ms 2s569ms 09 1 8s919ms 8s919ms 16 21 1m40s 4s765ms 18 1 8s841ms 8s841ms 19 1 7s195ms 7s195ms 20 1 2s737ms 2s737ms 22 1 10s608ms 10s608ms Nov 04 03 6 55s834ms 9s305ms 05 1 1s212ms 1s212ms 07 1 1s398ms 1s398ms 08 1 1s57ms 1s57ms 10 2 2s545ms 1s272ms 11 2 18s331ms 9s165ms 12 2 3s829ms 1s914ms 14 1 2s510ms 2s510ms 18 1 2s365ms 2s365ms 20 2 4s844ms 2s422ms 21 5 28s105ms 5s621ms 23 1 2s497ms 2s497ms Nov 05 01 1 2s302ms 2s302ms 02 2 5s50ms 2s525ms 04 1 2s736ms 2s736ms 05 1 2s615ms 2s615ms 06 2 4s294ms 2s147ms 07 1 2s386ms 2s386ms 10 1 2s227ms 2s227ms 11 1 2s509ms 2s509ms 12 1 1s49ms 1s49ms 13 1 2s359ms 2s359ms 14 1 1s316ms 1s316ms 17 15 1m2s 4s156ms 18 3 9s330ms 3s110ms 19 8 18s571ms 2s321ms 21 5 9s417ms 1s883ms 23 1 1s426ms 1s426ms Nov 06 02 2 6s901ms 3s450ms 04 6 16s150ms 2s691ms 05 1 5s59ms 5s59ms 06 1 1s317ms 1s317ms 07 2 2s655ms 1s327ms 08 1 2s502ms 2s502ms 16 1 2s508ms 2s508ms 18 1 1s48ms 1s48ms 19 1 2s574ms 2s574ms 20 3 8s777ms 2s925ms 23 1 4s935ms 4s935ms Nov 07 01 6 23s840ms 3s973ms 02 6 38s281ms 6s380ms 03 2 17s526ms 8s763ms 05 4 13s869ms 3s467ms 06 7 25s490ms 3s641ms 07 3 9s826ms 3s275ms 08 5 21s72ms 4s214ms 10 1 11s587ms 11s587ms 15 5 22s574ms 4s514ms 16 3 7s314ms 2s438ms 17 2 5s511ms 2s755ms 20 3 6s24ms 2s8ms 23 3 8s809ms 2s936ms Nov 08 00 1 1s12ms 1s12ms 01 2 2s359ms 1s179ms 02 30 2m47s 5s598ms 03 3 6s57ms 2s19ms 05 1 1s307ms 1s307ms 07 1 2s516ms 2s516ms 10 1 2s524ms 2s524ms 21 2 4s801ms 2s400ms 23 1 2s479ms 2s479ms Nov 09 01 1 1s141ms 1s141ms 02 1 2s530ms 2s530ms 03 1 2s565ms 2s565ms 04 1 2s134ms 2s134ms 05 2 16s601ms 8s300ms 06 1 2s515ms 2s515ms 08 5 24s228ms 4s845ms 10 1 1s279ms 1s279ms 11 1 1s313ms 1s313ms 14 3 4s29ms 1s343ms 15 1 2s478ms 2s478ms 20 2 3s451ms 1s725ms 21 1 2s439ms 2s439ms 22 2 4s982ms 2s491ms 23 1 1s297ms 1s297ms [ User: pubeu - Total duration: 6m37s - Times executed: 109 ]
-
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 = '2081060') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-03 16:16:50 Duration: 12s289ms 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 = '2076748') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-09 08:03:14 Duration: 12s215ms 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 = '2076748') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-07 03:12:17 Duration: 11s904ms Bind query: yes
4 241 4m55s 1s1ms 1s525ms 1s225ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where 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 #4
Day Hour Count Duration Avg duration Nov 03 01 3 3s367ms 1s122ms 01 2 2s221ms 1s110ms 02 4 4s706ms 1s176ms 05 2 2s635ms 1s317ms 06 2 2s187ms 1s93ms 07 1 1s114ms 1s114ms 08 5 5s827ms 1s165ms 09 3 3s418ms 1s139ms 10 1 1s163ms 1s163ms 11 2 2s438ms 1s219ms 12 1 1s209ms 1s209ms 16 7 8s337ms 1s191ms 19 1 1s227ms 1s227ms 20 2 2s400ms 1s200ms 21 3 3s500ms 1s166ms 22 2 2s358ms 1s179ms 23 2 2s692ms 1s346ms Nov 04 00 1 1s237ms 1s237ms 01 4 4s788ms 1s197ms 02 3 3s918ms 1s306ms 03 3 3s670ms 1s223ms 04 3 3s578ms 1s192ms 05 2 2s648ms 1s324ms 09 1 1s249ms 1s249ms 11 1 1s239ms 1s239ms 12 1 1s371ms 1s371ms 15 1 1s118ms 1s118ms 16 1 1s201ms 1s201ms 18 2 2s385ms 1s192ms 19 1 1s197ms 1s197ms 21 3 3s667ms 1s222ms 22 2 2s498ms 1s249ms 23 2 2s404ms 1s202ms Nov 05 00 1 1s266ms 1s266ms 01 1 1s111ms 1s111ms 02 3 3s889ms 1s296ms 04 1 1s274ms 1s274ms 05 2 2s593ms 1s296ms 06 1 1s245ms 1s245ms 07 1 1s228ms 1s228ms 09 1 1s203ms 1s203ms 11 3 3s579ms 1s193ms 14 1 1s77ms 1s77ms 16 1 1s210ms 1s210ms 17 5 6s192ms 1s238ms 18 2 2s538ms 1s269ms 19 2 2s775ms 1s387ms 21 4 5s25ms 1s256ms 22 2 2s436ms 1s218ms 23 2 2s368ms 1s184ms Nov 06 00 1 1s216ms 1s216ms 01 2 2s360ms 1s180ms 02 1 1s238ms 1s238ms 03 1 1s281ms 1s281ms 04 3 4s86ms 1s362ms 05 3 3s968ms 1s322ms 06 1 1s142ms 1s142ms 07 3 3s566ms 1s188ms 09 1 1s200ms 1s200ms 14 1 1s251ms 1s251ms 17 3 3s811ms 1s270ms 18 1 1s191ms 1s191ms 20 2 2s438ms 1s219ms 21 4 4s841ms 1s210ms Nov 07 00 2 2s421ms 1s210ms 01 3 4s27ms 1s342ms 02 2 2s491ms 1s245ms 03 2 2s572ms 1s286ms 04 1 1s163ms 1s163ms 05 4 5s73ms 1s268ms 07 2 2s605ms 1s302ms 08 4 4s776ms 1s194ms 10 3 3s600ms 1s200ms 11 1 1s234ms 1s234ms 12 1 1s257ms 1s257ms 14 3 3s511ms 1s170ms 16 5 5s984ms 1s196ms 17 2 2s533ms 1s266ms 18 3 3s451ms 1s150ms 20 1 1s252ms 1s252ms 22 3 4s20ms 1s340ms 23 4 5s22ms 1s255ms Nov 08 01 2 2s503ms 1s251ms 02 2 2s584ms 1s292ms 03 6 7s256ms 1s209ms 04 3 3s572ms 1s190ms 05 5 6s281ms 1s256ms 06 1 1s193ms 1s193ms 07 1 1s161ms 1s161ms 08 3 3s625ms 1s208ms 09 1 1s188ms 1s188ms 13 1 1s209ms 1s209ms 16 1 1s156ms 1s156ms 22 2 2s450ms 1s225ms Nov 09 01 1 1s257ms 1s257ms 03 3 3s617ms 1s205ms 05 4 5s145ms 1s286ms 06 1 1s163ms 1s163ms 07 3 3s688ms 1s229ms 08 4 4s720ms 1s180ms 10 1 1s224ms 1s224ms 11 1 1s242ms 1s242ms 12 1 1s274ms 1s274ms 14 1 1s449ms 1s449ms 15 2 2s370ms 1s185ms 17 1 1s224ms 1s224ms 18 3 3s617ms 1s205ms 20 3 3s584ms 1s194ms 21 1 1s244ms 1s244ms 22 1 1s279ms 1s279ms 23 2 2s483ms 1s241ms [ User: pubeu - Total duration: 2m1s - Times executed: 99 ]
[ User: qaeu - Total duration: 5s205ms - Times executed: 4 ]
-
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 = '2079459') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2079459') 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-11-05 19:01:55 Duration: 1s525ms 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 = '2080828') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2080828') 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-11-03 23:09:29 Duration: 1s511ms 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 = '2081817') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2081817') 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-11-04 02:21:21 Duration: 1s508ms Database: ctdprd51 User: pubeu Bind query: yes
5 238 15m10s 1s8ms 21s812ms 3s824ms select sq.*, count(*) over () fullrowcount from ( select distinct gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid from dag_node gt inner join gene_go_annot gga on gt.object_id = gga.go_term_id inner join term g on gga.gene_id = g.id where gt.id in ( select p.descendant_dag_node_id from dag_path p where p.ancestor_object_id = ?) and gga.is_not = false) sq order by sq.gonmsort, sq.genesymbolsort limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Nov 03 05 1 1s974ms 1s974ms 16 1 1s501ms 1s501ms 17 9 45s476ms 5s52ms Nov 04 01 3 5s631ms 1s877ms 02 45 2m25s 3s223ms 07 1 1s151ms 1s151ms 11 1 1s789ms 1s789ms 16 3 16s480ms 5s493ms 19 6 27s208ms 4s534ms 21 1 1s626ms 1s626ms 23 1 1s165ms 1s165ms Nov 05 08 1 1s69ms 1s69ms 12 1 1s51ms 1s51ms 18 3 3s449ms 1s149ms 19 1 2s33ms 2s33ms 22 6 20s121ms 3s353ms 23 3 4s4ms 1s334ms Nov 06 00 8 12s293ms 1s536ms 01 1 1s495ms 1s495ms 02 14 49s431ms 3s530ms 05 3 10s194ms 3s398ms 06 1 1s70ms 1s70ms 12 4 23s556ms 5s889ms 19 3 24s675ms 8s225ms 21 1 1s776ms 1s776ms 23 16 1m17s 4s823ms Nov 07 01 1 1s298ms 1s298ms 06 12 1m24s 7s7ms 08 5 12s999ms 2s599ms 14 6 13s853ms 2s308ms 16 5 27s643ms 5s528ms 18 17 41s729ms 2s454ms 19 10 46s256ms 4s625ms 21 1 1s30ms 1s30ms Nov 08 00 2 22s509ms 11s254ms 06 2 11s29ms 5s514ms 07 2 5s952ms 2s976ms 08 1 1s89ms 1s89ms 12 1 21s66ms 21s66ms 16 2 2s176ms 1s88ms 22 7 24s47ms 3s435ms Nov 09 07 1 1s77ms 1s77ms 08 20 1m44s 5s208ms 13 1 1s74ms 1s74ms 16 2 2s238ms 1s119ms 20 1 1s457ms 1s457ms 22 1 1s72ms 1s72ms [ User: pubeu - Total duration: 6m33s - Times executed: 91 ]
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1217771') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-11-06 23:37:51 Duration: 21s812ms Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1217863') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-11-04 02:56:04 Duration: 21s752ms Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1217771') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-11-08 00:28:12 Duration: 21s407ms Database: ctdprd51 User: pubeu Bind query: yes
6 236 4m42s 1s4ms 2s130ms 1s198ms 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 #6
Day Hour Count Duration Avg duration Nov 03 01 5 5s802ms 1s160ms 01 3 3s355ms 1s118ms 02 3 3s669ms 1s223ms 05 1 1s235ms 1s235ms 08 3 3s440ms 1s146ms 09 1 1s150ms 1s150ms 11 1 1s200ms 1s200ms 12 3 3s505ms 1s168ms 13 5 5s800ms 1s160ms 14 2 2s192ms 1s96ms 15 1 1s155ms 1s155ms 16 1 1s59ms 1s59ms 17 2 2s386ms 1s193ms 19 2 2s408ms 1s204ms 20 3 3s96ms 1s32ms 21 2 2s309ms 1s154ms 22 1 1s67ms 1s67ms 23 3 3s296ms 1s98ms Nov 04 00 2 2s446ms 1s223ms 01 1 1s179ms 1s179ms 02 5 5s940ms 1s188ms 03 1 1s223ms 1s223ms 04 1 1s270ms 1s270ms 05 2 2s591ms 1s295ms 07 1 1s160ms 1s160ms 08 3 3s355ms 1s118ms 09 1 1s186ms 1s186ms 11 5 5s674ms 1s134ms 12 2 2s350ms 1s175ms 13 2 2s190ms 1s95ms 15 2 2s401ms 1s200ms 16 4 4s895ms 1s223ms 20 3 3s319ms 1s106ms 21 1 1s189ms 1s189ms 22 3 3s701ms 1s233ms 23 2 2s355ms 1s177ms Nov 05 00 1 1s206ms 1s206ms 01 3 3s545ms 1s181ms 02 1 1s203ms 1s203ms 04 2 2s362ms 1s181ms 05 3 3s691ms 1s230ms 06 1 1s164ms 1s164ms 09 1 1s238ms 1s238ms 10 2 2s473ms 1s236ms 12 6 7s177ms 1s196ms 15 2 2s406ms 1s203ms 16 3 3s588ms 1s196ms 17 2 2s480ms 1s240ms 19 1 1s196ms 1s196ms 20 2 2s383ms 1s191ms 22 3 3s678ms 1s226ms 23 2 2s456ms 1s228ms Nov 06 00 4 4s962ms 1s240ms 01 1 1s188ms 1s188ms 02 3 3s772ms 1s257ms 05 5 6s284ms 1s256ms 06 1 1s241ms 1s241ms 07 1 1s285ms 1s285ms 09 1 1s192ms 1s192ms 10 1 1s148ms 1s148ms 13 3 3s492ms 1s164ms 18 1 1s177ms 1s177ms 20 1 1s157ms 1s157ms 21 3 3s612ms 1s204ms 22 2 2s477ms 1s238ms 23 5 6s212ms 1s242ms Nov 07 02 3 3s589ms 1s196ms 05 3 3s845ms 1s281ms 06 3 3s497ms 1s165ms 07 1 1s193ms 1s193ms 08 2 2s412ms 1s206ms 09 1 1s188ms 1s188ms 11 5 5s988ms 1s197ms 13 1 1s171ms 1s171ms 14 3 3s632ms 1s210ms 15 4 4s660ms 1s165ms 16 3 3s636ms 1s212ms 17 1 1s152ms 1s152ms 18 4 4s886ms 1s221ms 19 3 3s623ms 1s207ms 21 1 1s174ms 1s174ms Nov 08 00 3 3s702ms 1s234ms 03 1 1s164ms 1s164ms 05 3 3s866ms 1s288ms 08 1 1s204ms 1s204ms 11 3 3s555ms 1s185ms 13 3 3s471ms 1s157ms 15 2 2s290ms 1s145ms 16 3 3s586ms 1s195ms 17 2 2s337ms 1s168ms 22 2 2s555ms 1s277ms 23 2 2s459ms 1s229ms Nov 09 01 1 1s212ms 1s212ms 05 2 2s601ms 1s300ms 06 1 1s353ms 1s353ms 08 2 3s335ms 1s667ms 12 4 4s749ms 1s187ms 14 1 1s208ms 1s208ms 15 1 1s256ms 1s256ms 16 1 1s193ms 1s193ms 17 5 5s999ms 1s199ms 18 1 1s207ms 1s207ms 20 2 2s357ms 1s178ms 23 2 2s447ms 1s223ms [ User: pubeu - Total duration: 2m3s - Times executed: 103 ]
-
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 = '1222917') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1222917') 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-11-09 08:52:49 Duration: 2s130ms 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 = '1232376') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1232376') 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-11-03 02:57:48 Duration: 1s377ms 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 = '1232284') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1232284') 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-11-09 06:43:37 Duration: 1s353ms Bind query: yes
7 213 15m54s 1s 12s255ms 4s482ms 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 #7
Day Hour Count Duration Avg duration Nov 03 01 1 4s756ms 4s756ms 01 2 6s3ms 3s1ms 02 1 4s666ms 4s666ms 03 1 4s528ms 4s528ms 04 1 1s57ms 1s57ms 05 2 10s492ms 5s246ms 06 2 8s724ms 4s362ms 09 3 13s581ms 4s527ms 10 1 3s884ms 3s884ms 11 2 11s38ms 5s519ms 12 2 11s67ms 5s533ms 13 1 1s5ms 1s5ms 14 1 4s190ms 4s190ms 15 1 5s468ms 5s468ms 17 3 12s764ms 4s254ms 18 1 3s959ms 3s959ms 19 1 5s529ms 5s529ms 22 1 5s150ms 5s150ms Nov 04 01 5 19s713ms 3s942ms 02 6 33s724ms 5s620ms 03 1 1s45ms 1s45ms 04 1 5s621ms 5s621ms 05 3 11s905ms 3s968ms 06 2 4s889ms 2s444ms 07 1 1s26ms 1s26ms 11 3 15s136ms 5s45ms 12 1 12s255ms 12s255ms 13 1 5s60ms 5s60ms 14 2 6s414ms 3s207ms 16 1 4s690ms 4s690ms 17 1 5s708ms 5s708ms 21 2 10s141ms 5s70ms 22 1 5s667ms 5s667ms Nov 05 00 13 56s479ms 4s344ms 01 5 17s145ms 3s429ms 02 3 11s398ms 3s799ms 03 2 9s436ms 4s718ms 04 1 5s543ms 5s543ms 07 2 10s289ms 5s144ms 08 2 10s76ms 5s38ms 09 2 6s54ms 3s27ms 10 5 22s97ms 4s419ms 11 1 4s914ms 4s914ms 12 1 1s12ms 1s12ms 13 1 5s108ms 5s108ms 14 1 4s827ms 4s827ms 15 1 1s9ms 1s9ms 17 1 4s997ms 4s997ms 20 2 5s823ms 2s911ms 21 2 9s730ms 4s865ms 22 2 5s795ms 2s897ms Nov 06 00 2 6s30ms 3s15ms 01 2 10s77ms 5s38ms 03 2 2s38ms 1s19ms 04 5 25s707ms 5s141ms 06 1 4s928ms 4s928ms 08 1 5s50ms 5s50ms 09 1 5s353ms 5s353ms 11 1 5s71ms 5s71ms 15 1 5s148ms 5s148ms 21 3 15s143ms 5s47ms 22 6 32s589ms 5s431ms Nov 07 02 2 6s276ms 3s138ms 03 1 4s904ms 4s904ms 04 2 10s380ms 5s190ms 05 6 32s172ms 5s362ms 06 1 5s245ms 5s245ms 07 7 36s519ms 5s217ms 08 3 3s131ms 1s43ms 11 1 4s890ms 4s890ms 12 3 11s330ms 3s776ms 15 2 10s425ms 5s212ms 16 1 4s791ms 4s791ms 17 8 41s679ms 5s209ms 18 2 11s56ms 5s528ms 19 1 5s607ms 5s607ms 22 1 1s 1s Nov 08 01 1 4s929ms 4s929ms 02 1 5s384ms 5s384ms 04 1 1s14ms 1s14ms 06 1 5s391ms 5s391ms 07 5 20s924ms 4s184ms 08 3 15s562ms 5s187ms 14 1 5s255ms 5s255ms 16 2 9s840ms 4s920ms 18 1 5s272ms 5s272ms 21 2 9s313ms 4s656ms Nov 09 01 1 4s705ms 4s705ms 02 4 15s768ms 3s942ms 04 1 4s556ms 4s556ms 05 4 20s13ms 5s3ms 06 1 4s546ms 4s546ms 09 1 4s482ms 4s482ms 10 2 10s39ms 5s19ms 14 1 4s544ms 4s544ms 16 1 5s384ms 5s384ms 21 1 4s562ms 4s562ms 22 6 28s916ms 4s819ms 23 1 5s150ms 5s150ms [ User: pubeu - Total duration: 6m34s - Times executed: 92 ]
-
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 = '1327299' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-11-04 12:39:28 Duration: 12s255ms 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 = '1324852' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-11-04 02:55:25 Duration: 6s407ms 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 = '1271488' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-11-07 18:57:48 Duration: 6s141ms Bind query: yes
8 140 5m33s 1s32ms 5s814ms 2s385ms select * from ( select g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, count(*) over () fullrowcount from term g where g.id in ( select gt.gene_id from dag_path dp inner join gene_taxon gt on dp.descendant_object_id = gt.taxon_id where dp.ancestor_object_id = ? union all select gcr.gene_id from dag_path dp inner join gene_chem_reference gcr on dp.descendant_object_id = gcr.taxon_id where dp.ancestor_object_id = ?) offset ?) mq order by mq.genesymbolsort limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Nov 04 00 17 43s838ms 2s578ms 03 2 2s720ms 1s360ms 05 13 37s802ms 2s907ms 08 1 2s210ms 2s210ms 23 1 1s65ms 1s65ms Nov 05 07 13 31s20ms 2s386ms 13 12 26s632ms 2s219ms 14 15 37s61ms 2s470ms Nov 06 05 20 38s625ms 1s931ms 07 1 1s241ms 1s241ms Nov 07 05 5 6s579ms 1s315ms 06 5 16s911ms 3s382ms 18 6 16s272ms 2s712ms Nov 09 03 13 36s60ms 2s773ms 06 14 29s34ms 2s73ms 16 2 6s896ms 3s448ms [ User: pubeu - Total duration: 1m13s - Times executed: 32 ]
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '653383' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '653383') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-11-07 06:04:43 Duration: 5s814ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '653446' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '653446') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-11-04 00:29:23 Duration: 5s777ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '653383' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '653383') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-11-07 18:29:34 Duration: 5s727ms Bind query: yes
9 135 6h7m38s 1s426ms 18m5s 2m43s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Nov 03 01 1 1s664ms 1s664ms 05 2 3m1s 1m30s 14 1 1s660ms 1s660ms 16 1 5m12s 5m12s 17 2 34m52s 17m26s Nov 04 01 2 3m27s 1m43s 02 21 22m18s 1m3s 07 1 1s900ms 1s900ms 16 1 17m36s 17m36s 19 2 18m3s 9m1s Nov 05 17 1 3s158ms 3s158ms 19 1 1s605ms 1s605ms 22 5 10m13s 2m2s 23 4 9m25s 2m21s Nov 06 00 8 5m37s 42s170ms 02 1 11m26s 11m26s 03 1 18m5s 18m5s 05 4 4m44s 1m11s 12 5 9m30s 1m54s 20 1 17m29s 17m29s 23 14 13m35s 58s216ms Nov 07 06 11 8m16s 45s138ms 14 6 5m23s 53s846ms 16 4 15m19s 3m49s 18 11 20m49s 1m53s 19 12 12m17s 1m1s Nov 08 00 2 5s27ms 2s513ms 06 1 5m1s 5m1s 08 1 18m1s 18m1s 10 1 17m27s 17m27s 12 1 3s117ms 3s117ms 22 1 11m17s 11m17s 23 1 17m25s 17m25s Nov 09 08 3 31m15s 10m25s 21 1 3s153ms 3s153ms [ User: pubeu - Total duration: 2h16m42s - Times executed: 42 ]
-
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 = '1241583') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-11-06 03:00:24 Duration: 18m5s 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 = '1241583') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-11-04 19:20:38 Duration: 18m1s 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 = '1241583') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-11-08 08:28:52 Duration: 18m1s Database: ctdprd51 User: pubeu Bind query: yes
10 133 2m59s 1s195ms 1s628ms 1s352ms 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 #10
Day Hour Count Duration Avg duration Nov 03 02 1 1s284ms 1s284ms 03 1 1s288ms 1s288ms 05 3 3s987ms 1s329ms 22 2 2s759ms 1s379ms Nov 04 00 1 1s508ms 1s508ms 01 2 2s748ms 1s374ms 02 1 1s281ms 1s281ms 05 2 3s178ms 1s589ms 07 1 1s195ms 1s195ms 08 3 3s974ms 1s324ms 12 1 1s457ms 1s457ms 13 1 1s453ms 1s453ms 20 2 2s607ms 1s303ms 22 1 1s270ms 1s270ms Nov 05 00 1 1s298ms 1s298ms 01 2 2s540ms 1s270ms 02 1 1s259ms 1s259ms 03 2 2s523ms 1s261ms 04 1 1s268ms 1s268ms 05 2 2s755ms 1s377ms 06 1 1s269ms 1s269ms 08 1 1s257ms 1s257ms 11 1 1s299ms 1s299ms 14 2 2s742ms 1s371ms 15 1 1s294ms 1s294ms 16 1 1s419ms 1s419ms 17 7 9s185ms 1s312ms 18 2 2s988ms 1s494ms 19 1 1s302ms 1s302ms 23 1 1s349ms 1s349ms Nov 06 01 3 4s55ms 1s351ms 02 2 2s645ms 1s322ms 04 18 23s904ms 1s328ms 05 3 4s117ms 1s372ms 06 2 2s734ms 1s367ms 07 1 1s401ms 1s401ms 08 3 4s183ms 1s394ms 10 3 4s143ms 1s381ms 11 4 5s440ms 1s360ms 16 1 1s332ms 1s332ms 20 1 1s346ms 1s346ms Nov 07 01 2 2s772ms 1s386ms 02 1 1s335ms 1s335ms 03 2 2s672ms 1s336ms 04 1 1s429ms 1s429ms 09 2 2s706ms 1s353ms 13 4 5s303ms 1s325ms Nov 08 01 1 1s372ms 1s372ms 02 5 6s800ms 1s360ms 03 1 1s369ms 1s369ms 05 2 2s734ms 1s367ms 06 1 1s390ms 1s390ms 08 1 1s465ms 1s465ms 10 1 1s223ms 1s223ms 22 1 1s224ms 1s224ms Nov 09 01 1 1s457ms 1s457ms 02 3 4s174ms 1s391ms 03 1 1s430ms 1s430ms 05 2 2s758ms 1s379ms 06 3 4s64ms 1s354ms 08 1 1s405ms 1s405ms 09 1 1s389ms 1s389ms 11 1 1s452ms 1s452ms 12 1 1s390ms 1s390ms 21 2 2s764ms 1s382ms 22 1 1s409ms 1s409ms 23 1 1s340ms 1s340ms [ User: pubeu - Total duration: 1m11s - Times executed: 53 ]
-
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-11-04 05:42:09 Duration: 1s628ms 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-11-04 08:24:41 Duration: 1s563ms 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-11-04 05:37:08 Duration: 1s550ms Bind query: yes
11 112 5m21s 1s121ms 6s373ms 2s871ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where associatedterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Nov 03 01 2 4s582ms 2s291ms 05 1 1s817ms 1s817ms 09 1 1s260ms 1s260ms 11 1 1s813ms 1s813ms 19 1 5s698ms 5s698ms Nov 04 01 6 36s183ms 6s30ms 02 10 19s117ms 1s911ms 05 5 14s314ms 2s862ms 06 6 15s506ms 2s584ms 07 1 1s780ms 1s780ms 11 1 3s121ms 3s121ms 21 4 13s407ms 3s351ms 22 4 12s550ms 3s137ms Nov 05 00 18 53s184ms 2s954ms 09 1 3s265ms 3s265ms 19 1 1s874ms 1s874ms 21 2 3s747ms 1s873ms 22 4 9s158ms 2s289ms Nov 06 02 1 2s886ms 2s886ms 06 1 1s898ms 1s898ms Nov 07 02 3 11s525ms 3s841ms 06 1 6s373ms 6s373ms 12 1 1s329ms 1s329ms 15 5 15s714ms 3s142ms 18 1 1s884ms 1s884ms Nov 08 02 6 16s667ms 2s777ms 04 1 1s908ms 1s908ms 07 5 10s128ms 2s25ms 09 1 3s298ms 3s298ms Nov 09 05 8 21s262ms 2s657ms 20 1 3s236ms 3s236ms 22 8 21s147ms 2s643ms [ User: pubeu - Total duration: 1m29s - Times executed: 28 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1394946'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-11-07 06:22:57 Duration: 6s373ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1395038'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-11-04 06:18:16 Duration: 6s348ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1395038'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-11-04 01:10:27 Duration: 6s265ms Database: ctdprd51 User: pubeu Bind query: yes
12 105 4m20s 1s1ms 4s582ms 2s478ms select e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, ( select string_agg(distinct stressorterm.nm || ? || ( select cd from object_type where id = stressorterm.object_type_id) || ? || stressorterm.nm_html || ? || stressorterm.acc_txt || ? || stressorterm.acc_db_cd, ?)) as stressoragents, ( select string_agg(distinct coalesce(receptorterm.nm, ?) || ? || coalesce(( select cd from object_type where id = receptorterm.object_type_id), ?) || ? || coalesce(receptorterm.nm_html, ?) || ? || coalesce(receptorterm.acc_txt, ?) || ? || coalesce(receptorterm.acc_db_cd, ?) || ? || receptor.description, ?)) as receptors, ( select string_agg(distinct country.nm, ?)) as studycountries, ( select string_agg(distinct location.locality_txt, ?)) as localities, ( select string_agg(distinct event.medium_nm || ? || coalesce(event.medium_term_acc_txt, ?), ?)) as assaymediums, ( select string_agg(distinct exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd, ?)) as assayedmarkers, ( select string_agg(distinct diseaseterm.nm || ? || ( select cd from object_type where id = diseaseterm.object_type_id) || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd, ?)) as diseases, ( select string_agg(distinct phenotypeterm.nm || ? || ( select cd from object_type where id = phenotypeterm.object_type_id) || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd, ?)) as phenotypes, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, re.author_summary summary, count(*) over () fullrowcount from exposure e inner join reference r on e.reference_id = r.id inner join exp_stressor stressor on e.exp_stressor_id = stressor.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join term receptorterm on receptor.term_id = receptorterm.id left outer join exp_event event on e.exp_event_id = event.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join exp_event_location location on e.exp_event_id = location.exp_event_id left outer join country on location.country_id = country.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id inner join reference_exp re on e.reference_id = re.reference_id left outer join exp_study_factor expstudyfactor on re.id = expstudyfactor.reference_exp_id where e.reference_id = any (array ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like ?) and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressoragents limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Nov 03 11 5 8s845ms 1s769ms 18 1 1s61ms 1s61ms Nov 04 01 8 30s221ms 3s777ms 02 10 20s787ms 2s78ms 05 4 7s881ms 1s970ms 06 3 8s39ms 2s679ms 21 4 10s447ms 2s611ms 22 4 12s460ms 3s115ms Nov 05 00 18 45s453ms 2s525ms 10 1 1s84ms 1s84ms 17 1 1s230ms 1s230ms 21 2 4s834ms 2s417ms 22 2 4s300ms 2s150ms Nov 06 01 1 1s6ms 1s6ms 02 2 5s99ms 2s549ms 09 1 2s481ms 2s481ms Nov 07 02 2 5s551ms 2s775ms 06 1 4s405ms 4s405ms 15 2 4s661ms 2s330ms 16 2 2s343ms 1s171ms 18 2 5s187ms 2s593ms Nov 08 02 3 10s368ms 3s456ms 07 8 18s722ms 2s340ms Nov 09 05 9 21s487ms 2s387ms 22 9 22s230ms 2s470ms [ User: pubeu - Total duration: 1m17s - Times executed: 30 ]
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1394946') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1394946') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-11-08 02:24:35 Duration: 4s582ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1395038') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1395038') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-11-04 01:10:21 Duration: 4s550ms Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1394946') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1394946') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-11-04 21:53:37 Duration: 4s532ms Bind query: yes
13 86 5m1s 1s16ms 17s237ms 3s509ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where phenotypeterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and associatedterm.object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Nov 03 05 1 2s135ms 2s135ms 16 1 1s591ms 1s591ms 17 1 1s75ms 1s75ms 23 1 1s302ms 1s302ms Nov 04 01 2 4s653ms 2s326ms 02 12 50s939ms 4s244ms 16 1 1s447ms 1s447ms Nov 05 19 1 2s286ms 2s286ms 21 1 1s16ms 1s16ms 22 3 3s953ms 1s317ms 23 2 2s176ms 1s88ms Nov 06 00 3 4s952ms 1s650ms 05 7 20s36ms 2s862ms 12 4 21s425ms 5s356ms 23 11 56s467ms 5s133ms Nov 07 06 8 38s407ms 4s800ms 14 6 12s354ms 2s59ms 16 2 2s556ms 1s278ms 18 7 20s16ms 2s859ms 19 10 33s268ms 3s326ms Nov 08 00 2 19s730ms 9s865ms [ User: pubeu - Total duration: 1m7s - Times executed: 26 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1217771'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-11-08 00:27:59 Duration: 17s237ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1217771'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-11-06 23:37:37 Duration: 16s493ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1217771'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-11-06 12:29:50 Duration: 16s432ms Bind query: yes
14 85 3m23s 1s4ms 3s463ms 2s395ms with recursive sub_node ( object_id, id, path, lvl ) as ( select n.object_id, n.id, array[n.nm_sort], ? from dag_node n where n.object_id = ? union all select n.object_id, n.id, cast(path || n.nm_sort as varchar(?)[]), sn.lvl + ? from dag_node n inner join sub_node sn on (n.parent_id = sn.id)) select distinct t.nm prinm, t.nm_html prinmhtml, t.secondary_nm secondarynm, t.acc_db_cd accdbcd, t.acc_txt termacc, t.is_leaf isleaf, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, t.has_genes hasgenes, sn.lvl, sn.path, max(sn.lvl) over () maxlvl, t.has_phenotypes hasphenotypes from sub_node sn inner join term t on sn.object_id = t.id where sn.lvl <= ? order by sn.path;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Nov 03 05 3 7s768ms 2s589ms 08 1 3s140ms 3s140ms 17 1 3s230ms 3s230ms 18 1 2s290ms 2s290ms Nov 04 00 1 3s405ms 3s405ms 05 16 36s955ms 2s309ms 11 3 5s778ms 1s926ms 12 2 4s525ms 2s262ms Nov 05 05 4 8s664ms 2s166ms 07 1 3s257ms 3s257ms 13 1 3s208ms 3s208ms 14 13 29s376ms 2s259ms 16 1 1s873ms 1s873ms 18 1 1s860ms 1s860ms Nov 06 05 5 12s190ms 2s438ms 08 1 3s199ms 3s199ms Nov 07 05 4 8s655ms 2s163ms 06 1 3s320ms 3s320ms 18 1 3s230ms 3s230ms 22 1 3s284ms 3s284ms Nov 08 05 3 7s757ms 2s585ms 09 1 3s332ms 3s332ms Nov 09 03 12 26s71ms 2s172ms 05 4 8s735ms 2s183ms 06 1 3s225ms 3s225ms 16 2 5s238ms 2s619ms [ User: pubeu - Total duration: 55s574ms - Times executed: 19 ]
[ User: qaeu - Total duration: 23s492ms - 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 = '592983' 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-11-06 05:35:13 Duration: 3s463ms 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 = '592983' 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-11-04 12:26:31 Duration: 3s456ms 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 = '592983' 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-11-06 05:40:12 Duration: 3s442ms Database: ctdprd51 User: qaeu Bind query: yes
15 72 1m17s 1s2ms 1s170ms 1s82ms select g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, i.id ixnid, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where gcr.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by g.nm_sort, c.nm_sort, i.sort_txt limit ? offset ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Nov 05 00 71 1m16s 1s82ms 01 1 1s46ms 1s46ms [ User: pubeu - Total duration: 3s359ms - Times executed: 3 ]
-
SELECT /* ChemGeneIxnsDAO */ g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, i.id ixnId, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1262217') GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY g.nm_sort, c.nm_sort, i.sort_txt LIMIT 50 OFFSET 78750;
Date: 2024-11-05 00:46:55 Duration: 1s170ms Bind query: yes
-
SELECT /* ChemGeneIxnsDAO */ g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, i.id ixnId, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1262217') GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY g.nm_sort, c.nm_sort, i.sort_txt LIMIT 50 OFFSET 78750;
Date: 2024-11-05 00:46:56 Duration: 1s167ms Bind query: yes
-
SELECT /* ChemGeneIxnsDAO */ g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, i.id ixnId, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1262217') GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY g.nm_sort, c.nm_sort, i.sort_txt LIMIT 50 OFFSET 78850;
Date: 2024-11-05 00:46:39 Duration: 1s158ms Database: ctdprd51 User: pubeu Bind query: yes
16 68 5m6s 1s29ms 20s932ms 4s507ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Nov 03 01 1 5s484ms 5s484ms 03 1 12s110ms 12s110ms 10 2 16s306ms 8s153ms 13 1 20s932ms 20s932ms 14 2 4s363ms 2s181ms 15 1 3s45ms 3s45ms 22 3 4s605ms 1s535ms Nov 04 02 1 1s926ms 1s926ms 04 6 11s138ms 1s856ms 08 2 6s163ms 3s81ms 10 11 1m19s 7s270ms 11 2 14s528ms 7s264ms 13 1 1s880ms 1s880ms 15 1 1s967ms 1s967ms 20 1 2s730ms 2s730ms 21 3 4s525ms 1s508ms Nov 05 05 1 2s21ms 2s21ms 06 1 1s510ms 1s510ms 10 1 14s105ms 14s105ms 12 1 1s827ms 1s827ms 21 1 3s386ms 3s386ms Nov 06 02 2 28s186ms 14s93ms 03 2 4s393ms 2s196ms 07 2 21s951ms 10s975ms 09 1 2s364ms 2s364ms 11 1 2s228ms 2s228ms 12 1 1s927ms 1s927ms Nov 07 09 1 2s250ms 2s250ms 12 2 2s909ms 1s454ms Nov 08 00 2 3s546ms 1s773ms 01 1 2s844ms 2s844ms 07 1 1s948ms 1s948ms 08 3 5s834ms 1s944ms 15 1 2s172ms 2s172ms 16 1 3s38ms 3s38ms Nov 09 09 2 4s515ms 2s257ms 22 1 1s857ms 1s857ms [ User: pubeu - Total duration: 3m35s - Times executed: 43 ]
-
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 = '2087266') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-11-03 13:05:40 Duration: 20s932ms 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 = '2080828') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-11-03 10:34:05 Duration: 14s466ms 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 = '2087592') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-11-06 02:45:36 Duration: 14s367ms Bind query: yes
17 62 2m15s 1s98ms 10s325ms 2s193ms 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 #17
Day Hour Count Duration Avg duration Nov 03 01 1 2s639ms 2s639ms 06 1 2s648ms 2s648ms 07 1 1s705ms 1s705ms 08 2 12s42ms 6s21ms 10 1 1s269ms 1s269ms 14 2 4s121ms 2s60ms 22 2 2s205ms 1s102ms Nov 04 04 1 1s337ms 1s337ms 15 1 2s491ms 2s491ms 16 1 1s180ms 1s180ms 17 2 3s849ms 1s924ms 23 1 1s258ms 1s258ms Nov 05 01 1 2s620ms 2s620ms 02 1 1s372ms 1s372ms 08 1 2s721ms 2s721ms 09 2 3s966ms 1s983ms 10 1 2s37ms 2s37ms 12 1 5s908ms 5s908ms 16 1 3s970ms 3s970ms 20 1 1s241ms 1s241ms Nov 06 02 1 4s167ms 4s167ms 06 1 2s503ms 2s503ms 07 19 25s890ms 1s362ms 10 1 1s313ms 1s313ms 11 1 1s104ms 1s104ms 19 1 2s590ms 2s590ms 23 2 3s906ms 1s953ms Nov 07 11 1 2s512ms 2s512ms 14 1 5s402ms 5s402ms 19 1 1s148ms 1s148ms Nov 08 01 1 9s707ms 9s707ms 03 1 2s526ms 2s526ms 06 1 2s534ms 2s534ms 16 1 2s543ms 2s543ms 21 2 2s578ms 1s289ms Nov 09 07 1 2s525ms 2s525ms 13 1 2s441ms 2s441ms [ User: pubeu - Total duration: 40s204ms - Times executed: 22 ]
-
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 = '2087863') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 350;
Date: 2024-11-03 08:46:20 Duration: 10s325ms 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 = '2076633') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1754600;
Date: 2024-11-08 01:01:51 Duration: 9s707ms 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 = '2086475') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 100;
Date: 2024-11-05 12:19:49 Duration: 5s908ms Bind query: yes
18 40 59s334ms 1s99ms 2s195ms 1s483ms select fg.nm fromgenesymbol, fg.acc_txt fromgeneacc, tg.nm togenesymbol, tg.acc_txt togeneacc, ft.nm fromtaxonnm, ft.secondary_nm fromtaxoncommonnm, ft.acc_txt fromtaxonacc, tt.nm totaxonnm, tt.secondary_nm totaxoncommonnm, tt.acc_txt totaxonacc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( select string_agg(ggt.throughput_txt, ? order by ggt.throughput_txt) from gene_gene_ref_throughput ggt where ggt.gene_gene_reference_id = ggr.id) throughput, count(*) over () fullrowcount from gene_gene_reference ggr inner join term fg on ggr.from_gene_id = fg.id inner join term tg on ggr.to_gene_id = tg.id inner join term ft on ggr.from_taxon_id = ft.id inner join term tt on ggr.to_taxon_id = tt.id where ggr.reference_id = ? order by fg.nm_sort, tg.nm_sort limit ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Nov 03 05 4 5s941ms 1s485ms 13 1 1s160ms 1s160ms 20 1 1s162ms 1s162ms Nov 04 05 4 6s421ms 1s605ms 06 1 1s107ms 1s107ms 07 1 1s99ms 1s99ms 09 1 1s103ms 1s103ms 12 2 2s944ms 1s472ms Nov 05 04 1 1s223ms 1s223ms 05 4 6s315ms 1s578ms 14 1 1s232ms 1s232ms 15 1 1s252ms 1s252ms 17 1 1s231ms 1s231ms Nov 06 05 4 5s931ms 1s482ms 07 1 1s182ms 1s182ms Nov 07 05 4 7s109ms 1s777ms Nov 08 05 4 7s54ms 1s763ms Nov 09 05 4 5s859ms 1s464ms [ User: pubeu - Total duration: 12s908ms - Times executed: 9 ]
-
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-11-07 05:43:05 Duration: 2s195ms 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-11-08 05:38:06 Duration: 2s168ms 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-11-03 05:38:03 Duration: 1s968ms Database: ctdprd51 User: pubeu Bind query: yes
19 36 51s105ms 1s358ms 1s499ms 1s419ms 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 #19
Day Hour Count Duration Avg duration Nov 03 05 2 2s827ms 1s413ms 08 1 1s388ms 1s388ms 17 1 1s499ms 1s499ms Nov 04 05 2 2s818ms 1s409ms 07 2 2s722ms 1s361ms 11 2 2s843ms 1s421ms 12 1 1s412ms 1s412ms 21 1 1s413ms 1s413ms Nov 05 00 1 1s432ms 1s432ms 05 2 2s881ms 1s440ms 07 1 1s424ms 1s424ms 21 1 1s421ms 1s421ms Nov 06 05 2 2s877ms 1s438ms 10 1 1s402ms 1s402ms 22 1 1s420ms 1s420ms Nov 07 04 1 1s429ms 1s429ms 05 2 2s842ms 1s421ms 07 1 1s417ms 1s417ms 14 1 1s398ms 1s398ms Nov 08 03 1 1s431ms 1s431ms 05 2 2s872ms 1s436ms 22 1 1s395ms 1s395ms Nov 09 05 2 2s845ms 1s422ms 09 1 1s422ms 1s422ms 12 1 1s420ms 1s420ms 13 1 1s422ms 1s422ms 19 1 1s422ms 1s422ms [ User: pubeu - Total duration: 17s55ms - Times executed: 12 ]
-
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-11-03 17:54:58 Duration: 1s499ms 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-11-04 11:06:13 Duration: 1s460ms 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-11-05 05:43:31 Duration: 1s459ms Bind query: yes
20 35 6m44s 11s160ms 13s813ms 11s548ms 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 #20
Day Hour Count Duration Avg duration Nov 06 10 2 22s491ms 11s245ms 11 8 1m29s 11s239ms 13 1 11s232ms 11s232ms 14 6 1m7s 11s257ms 15 5 1m3s 12s653ms 16 7 1m19s 11s377ms Nov 07 13 6 1m10s 11s685ms [ User: pubeu - Total duration: 4m4s - Times executed: 21 ]
-
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-11-06 15:43:19 Duration: 13s813ms 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-11-06 15:43:15 Duration: 13s475ms 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-11-06 15:43:17 Duration: 13s351ms Database: ctdprd51 User: pubeu Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 23m46s 23m46s 23m46s 1 23m46s 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 Nov 09 19 1 23m46s 23m46s -
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-11-09 19:43:58 Duration: 23m46s
2 23m36s 23m36s 23m36s 1 23m36s 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 Nov 09 19 1 23m36s 23m36s -
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-11-09 19:00:36 Duration: 23m36s
3 18m17s 18m31s 18m25s 7 2h8m57s select maint_query_logs_archive ();Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Nov 03 01 1 18m22s 18m22s Nov 04 00 1 18m17s 18m17s Nov 05 00 1 18m28s 18m28s Nov 06 00 1 18m22s 18m22s Nov 07 00 1 18m31s 18m31s Nov 08 00 1 18m30s 18m30s Nov 09 00 1 18m24s 18m24s -
/* * 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-11-07 00:18:33 Duration: 18m31s
-
/* * 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-11-08 00:18:31 Duration: 18m30s
-
/* * 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-11-05 00:18:30 Duration: 18m28s
4 10m47s 10m47s 10m47s 1 10m47s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Nov 03 23 1 10m47s 10m47s [ User: pubeu - Total duration: 10m47s - Times executed: 1 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'SOCS3') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA04930' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'TRICLOSAN' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-11-03 23:17:20 Duration: 10m47s Database: ctdprd51 User: pubeu Bind query: yes
5 9m17s 10m23s 9m50s 2 19m40s select gcr.ixn_id, gcr.chem_id, gcr.gene_id, gcr.taxon_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 gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ? and gd.curated_reference_qty > ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?));Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Nov 03 22 1 9m17s 9m17s Nov 04 17 1 10m23s 10m23s [ User: pubeu - Total duration: 10m23s - Times executed: 1 ]
-
SELECT /* CIQH.getIxnCacheQuery */ gcr.ixn_id, gcr.chem_id, gcr.gene_id, gcr.taxon_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.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7));
Date: 2024-11-04 17:46:26 Duration: 10m23s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* CIQH.getIxnCacheQuery */ gcr.ixn_id, gcr.chem_id, gcr.gene_id, gcr.taxon_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.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7));
Date: 2024-11-03 22:27:24 Duration: 9m17s Bind query: yes
6 9m23s 10m1s 9m42s 2 19m24s 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 gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select gd.gene_id from term t inner join dag_path dp on t.id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(t.nm) like ? and t.object_type_id = ? and gd.curated_reference_qty > ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Nov 03 22 1 9m23s 9m23s Nov 04 17 1 10m1s 10m1s [ User: pubeu - Total duration: 19m24s - Times executed: 2 ]
-
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.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-11-04 17:56:29 Duration: 10m1s 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.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'COL4A4') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Name.Gene */ gd.gene_id FROM term t INNER JOIN dag_path dp ON t.id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(t.nm) LIKE 'RENAL FAILURE, PROGRESSIVE, WITH HYPERTENSION' AND t.object_type_id = 3 AND gd.curated_reference_qty > 0) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05211' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE '2'',3''-DIDEOXY-2''-FLUOROADENOSINE TRIPHOSPHATE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-11-03 22:36:48 Duration: 9m23s Database: ctdprd51 User: pubeu Bind query: yes
7 8m5s 8m5s 8m5s 1 8m5s drop table load.ixn_prose; create table load.ixn_prose as select edit.get_ixn_prose (ri.ixn_id) as ixn_prose_txt, ri.reference_acc_txt, ri.taxon_acc_txt, ri.mod_tm, t.nm from edit.reference_ixn ri, edit.ixn i, edit.ixn_type t where ri.ixn_id = i.id and i.ixn_type_id = t.id;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Nov 05 13 1 8m5s 8m5s [ User: load - Total duration: 8m5s - Times executed: 1 ]
[ Application: pgAdmin 4 - CONN:7789920 - Total duration: 8m5s - Times executed: 1 ]
-
-- MUST RUN THIS FIRST in the LOAD database (takes about 10 minutes): drop table load.ixn_prose; create table load.ixn_prose as select edit.get_ixn_prose (ri.ixn_id) as ixn_prose_txt, ri.reference_acc_txt, ri.taxon_acc_txt, ri.mod_tm, t.nm from edit.reference_ixn ri, edit.ixn i, edit.ixn_type t where ri.ixn_id = i.id and i.ixn_type_id = t.id;
Date: 2024-11-05 13:53:10 Duration: 8m5s Database: ctdprd51 User: load Application: pgAdmin 4 - CONN:7789920
8 7m16s 7m16s 7m16s 1 7m16s copy pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Nov 09 19 1 7m16s 7m16s -
COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-11-09 19:56:11 Duration: 7m16s
9 6m59s 6m59s 6m59s 1 6m59s copy pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Nov 09 19 1 6m59s 6m59s -
COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-11-09 19:12:29 Duration: 6m59s
10 1s426ms 18m5s 2m43s 135 6h7m38s 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 #10
Day Hour Count Duration Avg duration Nov 03 01 1 1s664ms 1s664ms 05 2 3m1s 1m30s 14 1 1s660ms 1s660ms 16 1 5m12s 5m12s 17 2 34m52s 17m26s Nov 04 01 2 3m27s 1m43s 02 21 22m18s 1m3s 07 1 1s900ms 1s900ms 16 1 17m36s 17m36s 19 2 18m3s 9m1s Nov 05 17 1 3s158ms 3s158ms 19 1 1s605ms 1s605ms 22 5 10m13s 2m2s 23 4 9m25s 2m21s Nov 06 00 8 5m37s 42s170ms 02 1 11m26s 11m26s 03 1 18m5s 18m5s 05 4 4m44s 1m11s 12 5 9m30s 1m54s 20 1 17m29s 17m29s 23 14 13m35s 58s216ms Nov 07 06 11 8m16s 45s138ms 14 6 5m23s 53s846ms 16 4 15m19s 3m49s 18 11 20m49s 1m53s 19 12 12m17s 1m1s Nov 08 00 2 5s27ms 2s513ms 06 1 5m1s 5m1s 08 1 18m1s 18m1s 10 1 17m27s 17m27s 12 1 3s117ms 3s117ms 22 1 11m17s 11m17s 23 1 17m25s 17m25s Nov 09 08 3 31m15s 10m25s 21 1 3s153ms 3s153ms [ User: pubeu - Total duration: 2h16m42s - Times executed: 42 ]
-
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 = '1241583') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-11-06 03:00:24 Duration: 18m5s 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 = '1241583') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-11-04 19:20:38 Duration: 18m1s 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 = '1241583') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-11-08 08:28:52 Duration: 18m1s Database: ctdprd51 User: pubeu Bind query: yes
11 1s932ms 1m15s 46s605ms 16 12m25s select r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refacc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, count(*) over () fullrowcount from reference r where r.id in ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?)) order by r.sort_txt limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Nov 03 04 1 1m1s 1m1s 11 1 47s834ms 47s834ms 20 1 1m1s 1m1s Nov 04 01 1 13s140ms 13s140ms 02 2 2m 1m 06 1 1m 1m 18 1 52s408ms 52s408ms Nov 05 12 1 1m7s 1m7s Nov 06 06 1 1m4s 1m4s Nov 07 07 1 2s107ms 2s107ms Nov 08 02 1 46s339ms 46s339ms 07 2 1m20s 40s298ms 08 1 1m5s 1m5s 09 1 1s932ms 1s932ms [ User: pubeu - Total duration: 3m52s - Times executed: 6 ]
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1434689')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-11-04 02:06:00 Duration: 1m15s Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1231717')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-11-05 12:40:46 Duration: 1m7s Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1231717')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-11-08 08:47:16 Duration: 1m5s Database: ctdprd51 User: pubeu Bind query: yes
12 36s798ms 37s830ms 37s49ms 25 15m26s copy pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) to stdout;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Nov 03 06 1 36s798ms 36s798ms 10 1 37s268ms 37s268ms 14 1 36s969ms 36s969ms 18 1 36s842ms 36s842ms Nov 04 06 1 37s146ms 37s146ms 10 1 37s830ms 37s830ms 14 1 37s28ms 37s28ms 18 1 36s906ms 36s906ms Nov 05 06 1 37s77ms 37s77ms 10 1 37s174ms 37s174ms 14 1 37s75ms 37s75ms 18 1 36s869ms 36s869ms Nov 06 06 1 36s988ms 36s988ms 10 1 36s984ms 36s984ms 14 1 37s338ms 37s338ms 18 1 36s902ms 36s902ms Nov 07 06 1 36s974ms 36s974ms 10 1 36s983ms 36s983ms 14 1 36s918ms 36s918ms 18 1 37s185ms 37s185ms Nov 08 06 1 36s984ms 36s984ms 10 1 37s178ms 37s178ms 14 1 36s978ms 36s978ms 18 1 37s32ms 37s32ms Nov 09 19 1 36s802ms 36s802ms [ User: postgres - Total duration: 14m49s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 14m49s - 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-11-04 10:05:39 Duration: 37s830ms 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-11-06 14:05:38 Duration: 37s338ms 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-11-03 10:05:38 Duration: 37s268ms Database: ctdprd51 User: postgres Application: pg_dump
13 14s687ms 15s67ms 14s836ms 25 6m10s 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 #13
Day Hour Count Duration Avg duration Nov 03 06 1 15s31ms 15s31ms 10 1 14s806ms 14s806ms 14 1 14s759ms 14s759ms 18 1 14s931ms 14s931ms Nov 04 06 1 14s990ms 14s990ms 10 1 14s825ms 14s825ms 14 1 14s851ms 14s851ms 18 1 14s782ms 14s782ms Nov 05 06 1 14s857ms 14s857ms 10 1 15s25ms 15s25ms 14 1 14s775ms 14s775ms 18 1 14s911ms 14s911ms Nov 06 06 1 14s779ms 14s779ms 10 1 14s755ms 14s755ms 14 1 14s789ms 14s789ms 18 1 14s891ms 14s891ms Nov 07 06 1 15s67ms 15s67ms 10 1 14s825ms 14s825ms 14 1 14s763ms 14s763ms 18 1 14s762ms 14s762ms Nov 08 06 1 14s821ms 14s821ms 10 1 14s725ms 14s725ms 14 1 14s750ms 14s750ms 18 1 14s749ms 14s749ms Nov 09 18 1 14s687ms 14s687ms [ User: postgres - Total duration: 6m10s - Times executed: 25 ]
[ Application: pg_dump - Total duration: 6m10s - 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-11-07 06:00:17 Duration: 15s67ms 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-11-03 06:00:16 Duration: 15s31ms 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-11-05 10:00:17 Duration: 15s25ms Database: ctdprd51 User: postgres Application: pg_dump
14 14s28ms 14s251ms 14s106ms 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 #14
Day Hour Count Duration Avg duration Nov 03 06 1 14s251ms 14s251ms 10 1 14s152ms 14s152ms 14 1 14s78ms 14s78ms 18 1 14s180ms 14s180ms Nov 04 06 1 14s173ms 14s173ms 10 1 14s116ms 14s116ms 14 1 14s83ms 14s83ms 18 1 14s124ms 14s124ms Nov 05 06 1 14s71ms 14s71ms 10 1 14s75ms 14s75ms 14 1 14s107ms 14s107ms 18 1 14s71ms 14s71ms Nov 06 06 1 14s95ms 14s95ms 10 1 14s110ms 14s110ms 14 1 14s162ms 14s162ms 18 1 14s90ms 14s90ms Nov 07 10 1 14s28ms 14s28ms 14 1 14s135ms 14s135ms 18 1 14s51ms 14s51ms Nov 08 06 1 14s44ms 14s44ms 10 1 14s96ms 14s96ms 14 1 14s85ms 14s85ms 18 1 14s85ms 14s85ms Nov 09 18 1 14s75ms 14s75ms -
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-11-03 06:00:59 Duration: 14s251ms
-
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-11-03 18:00:59 Duration: 14s180ms
-
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-11-04 06:00:59 Duration: 14s173ms
15 11s160ms 13s813ms 11s548ms 35 6m44s 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 Nov 06 10 2 22s491ms 11s245ms 11 8 1m29s 11s239ms 13 1 11s232ms 11s232ms 14 6 1m7s 11s257ms 15 5 1m3s 12s653ms 16 7 1m19s 11s377ms Nov 07 13 6 1m10s 11s685ms [ User: pubeu - Total duration: 4m4s - Times executed: 21 ]
-
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-11-06 15:43:19 Duration: 13s813ms 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-11-06 15:43:15 Duration: 13s475ms 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-11-06 15:43:17 Duration: 13s351ms Database: ctdprd51 User: pubeu Bind query: yes
16 1s29ms 20s932ms 4s507ms 68 5m6s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Nov 03 01 1 5s484ms 5s484ms 03 1 12s110ms 12s110ms 10 2 16s306ms 8s153ms 13 1 20s932ms 20s932ms 14 2 4s363ms 2s181ms 15 1 3s45ms 3s45ms 22 3 4s605ms 1s535ms Nov 04 02 1 1s926ms 1s926ms 04 6 11s138ms 1s856ms 08 2 6s163ms 3s81ms 10 11 1m19s 7s270ms 11 2 14s528ms 7s264ms 13 1 1s880ms 1s880ms 15 1 1s967ms 1s967ms 20 1 2s730ms 2s730ms 21 3 4s525ms 1s508ms Nov 05 05 1 2s21ms 2s21ms 06 1 1s510ms 1s510ms 10 1 14s105ms 14s105ms 12 1 1s827ms 1s827ms 21 1 3s386ms 3s386ms Nov 06 02 2 28s186ms 14s93ms 03 2 4s393ms 2s196ms 07 2 21s951ms 10s975ms 09 1 2s364ms 2s364ms 11 1 2s228ms 2s228ms 12 1 1s927ms 1s927ms Nov 07 09 1 2s250ms 2s250ms 12 2 2s909ms 1s454ms Nov 08 00 2 3s546ms 1s773ms 01 1 2s844ms 2s844ms 07 1 1s948ms 1s948ms 08 3 5s834ms 1s944ms 15 1 2s172ms 2s172ms 16 1 3s38ms 3s38ms Nov 09 09 2 4s515ms 2s257ms 22 1 1s857ms 1s857ms [ User: pubeu - Total duration: 3m35s - Times executed: 43 ]
-
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 = '2087266') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-11-03 13:05:40 Duration: 20s932ms 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 = '2080828') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-11-03 10:34:05 Duration: 14s466ms 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 = '2087592') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-11-06 02:45:36 Duration: 14s367ms Bind query: yes
17 1s 12s255ms 4s482ms 213 15m54s 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 #17
Day Hour Count Duration Avg duration Nov 03 01 1 4s756ms 4s756ms 01 2 6s3ms 3s1ms 02 1 4s666ms 4s666ms 03 1 4s528ms 4s528ms 04 1 1s57ms 1s57ms 05 2 10s492ms 5s246ms 06 2 8s724ms 4s362ms 09 3 13s581ms 4s527ms 10 1 3s884ms 3s884ms 11 2 11s38ms 5s519ms 12 2 11s67ms 5s533ms 13 1 1s5ms 1s5ms 14 1 4s190ms 4s190ms 15 1 5s468ms 5s468ms 17 3 12s764ms 4s254ms 18 1 3s959ms 3s959ms 19 1 5s529ms 5s529ms 22 1 5s150ms 5s150ms Nov 04 01 5 19s713ms 3s942ms 02 6 33s724ms 5s620ms 03 1 1s45ms 1s45ms 04 1 5s621ms 5s621ms 05 3 11s905ms 3s968ms 06 2 4s889ms 2s444ms 07 1 1s26ms 1s26ms 11 3 15s136ms 5s45ms 12 1 12s255ms 12s255ms 13 1 5s60ms 5s60ms 14 2 6s414ms 3s207ms 16 1 4s690ms 4s690ms 17 1 5s708ms 5s708ms 21 2 10s141ms 5s70ms 22 1 5s667ms 5s667ms Nov 05 00 13 56s479ms 4s344ms 01 5 17s145ms 3s429ms 02 3 11s398ms 3s799ms 03 2 9s436ms 4s718ms 04 1 5s543ms 5s543ms 07 2 10s289ms 5s144ms 08 2 10s76ms 5s38ms 09 2 6s54ms 3s27ms 10 5 22s97ms 4s419ms 11 1 4s914ms 4s914ms 12 1 1s12ms 1s12ms 13 1 5s108ms 5s108ms 14 1 4s827ms 4s827ms 15 1 1s9ms 1s9ms 17 1 4s997ms 4s997ms 20 2 5s823ms 2s911ms 21 2 9s730ms 4s865ms 22 2 5s795ms 2s897ms Nov 06 00 2 6s30ms 3s15ms 01 2 10s77ms 5s38ms 03 2 2s38ms 1s19ms 04 5 25s707ms 5s141ms 06 1 4s928ms 4s928ms 08 1 5s50ms 5s50ms 09 1 5s353ms 5s353ms 11 1 5s71ms 5s71ms 15 1 5s148ms 5s148ms 21 3 15s143ms 5s47ms 22 6 32s589ms 5s431ms Nov 07 02 2 6s276ms 3s138ms 03 1 4s904ms 4s904ms 04 2 10s380ms 5s190ms 05 6 32s172ms 5s362ms 06 1 5s245ms 5s245ms 07 7 36s519ms 5s217ms 08 3 3s131ms 1s43ms 11 1 4s890ms 4s890ms 12 3 11s330ms 3s776ms 15 2 10s425ms 5s212ms 16 1 4s791ms 4s791ms 17 8 41s679ms 5s209ms 18 2 11s56ms 5s528ms 19 1 5s607ms 5s607ms 22 1 1s 1s Nov 08 01 1 4s929ms 4s929ms 02 1 5s384ms 5s384ms 04 1 1s14ms 1s14ms 06 1 5s391ms 5s391ms 07 5 20s924ms 4s184ms 08 3 15s562ms 5s187ms 14 1 5s255ms 5s255ms 16 2 9s840ms 4s920ms 18 1 5s272ms 5s272ms 21 2 9s313ms 4s656ms Nov 09 01 1 4s705ms 4s705ms 02 4 15s768ms 3s942ms 04 1 4s556ms 4s556ms 05 4 20s13ms 5s3ms 06 1 4s546ms 4s546ms 09 1 4s482ms 4s482ms 10 2 10s39ms 5s19ms 14 1 4s544ms 4s544ms 16 1 5s384ms 5s384ms 21 1 4s562ms 4s562ms 22 6 28s916ms 4s819ms 23 1 5s150ms 5s150ms [ User: pubeu - Total duration: 6m34s - Times executed: 92 ]
-
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 = '1327299' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-11-04 12:39:28 Duration: 12s255ms 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 = '1324852' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-11-04 02:55:25 Duration: 6s407ms 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 = '1271488' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-11-07 18:57:48 Duration: 6s141ms Bind query: yes
18 1s6ms 12s289ms 4s95ms 245 16m43s 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 #18
Day Hour Count Duration Avg duration Nov 03 01 2 22s693ms 11s346ms 03 1 4s354ms 4s354ms 04 2 3s486ms 1s743ms 05 5 42s787ms 8s557ms 06 2 4s424ms 2s212ms 08 1 2s569ms 2s569ms 09 1 8s919ms 8s919ms 16 21 1m40s 4s765ms 18 1 8s841ms 8s841ms 19 1 7s195ms 7s195ms 20 1 2s737ms 2s737ms 22 1 10s608ms 10s608ms Nov 04 03 6 55s834ms 9s305ms 05 1 1s212ms 1s212ms 07 1 1s398ms 1s398ms 08 1 1s57ms 1s57ms 10 2 2s545ms 1s272ms 11 2 18s331ms 9s165ms 12 2 3s829ms 1s914ms 14 1 2s510ms 2s510ms 18 1 2s365ms 2s365ms 20 2 4s844ms 2s422ms 21 5 28s105ms 5s621ms 23 1 2s497ms 2s497ms Nov 05 01 1 2s302ms 2s302ms 02 2 5s50ms 2s525ms 04 1 2s736ms 2s736ms 05 1 2s615ms 2s615ms 06 2 4s294ms 2s147ms 07 1 2s386ms 2s386ms 10 1 2s227ms 2s227ms 11 1 2s509ms 2s509ms 12 1 1s49ms 1s49ms 13 1 2s359ms 2s359ms 14 1 1s316ms 1s316ms 17 15 1m2s 4s156ms 18 3 9s330ms 3s110ms 19 8 18s571ms 2s321ms 21 5 9s417ms 1s883ms 23 1 1s426ms 1s426ms Nov 06 02 2 6s901ms 3s450ms 04 6 16s150ms 2s691ms 05 1 5s59ms 5s59ms 06 1 1s317ms 1s317ms 07 2 2s655ms 1s327ms 08 1 2s502ms 2s502ms 16 1 2s508ms 2s508ms 18 1 1s48ms 1s48ms 19 1 2s574ms 2s574ms 20 3 8s777ms 2s925ms 23 1 4s935ms 4s935ms Nov 07 01 6 23s840ms 3s973ms 02 6 38s281ms 6s380ms 03 2 17s526ms 8s763ms 05 4 13s869ms 3s467ms 06 7 25s490ms 3s641ms 07 3 9s826ms 3s275ms 08 5 21s72ms 4s214ms 10 1 11s587ms 11s587ms 15 5 22s574ms 4s514ms 16 3 7s314ms 2s438ms 17 2 5s511ms 2s755ms 20 3 6s24ms 2s8ms 23 3 8s809ms 2s936ms Nov 08 00 1 1s12ms 1s12ms 01 2 2s359ms 1s179ms 02 30 2m47s 5s598ms 03 3 6s57ms 2s19ms 05 1 1s307ms 1s307ms 07 1 2s516ms 2s516ms 10 1 2s524ms 2s524ms 21 2 4s801ms 2s400ms 23 1 2s479ms 2s479ms Nov 09 01 1 1s141ms 1s141ms 02 1 2s530ms 2s530ms 03 1 2s565ms 2s565ms 04 1 2s134ms 2s134ms 05 2 16s601ms 8s300ms 06 1 2s515ms 2s515ms 08 5 24s228ms 4s845ms 10 1 1s279ms 1s279ms 11 1 1s313ms 1s313ms 14 3 4s29ms 1s343ms 15 1 2s478ms 2s478ms 20 2 3s451ms 1s725ms 21 1 2s439ms 2s439ms 22 2 4s982ms 2s491ms 23 1 1s297ms 1s297ms [ User: pubeu - Total duration: 6m37s - Times executed: 109 ]
-
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 = '2081060') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-03 16:16:50 Duration: 12s289ms 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 = '2076748') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-09 08:03:14 Duration: 12s215ms 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 = '2076748') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-07 03:12:17 Duration: 11s904ms Bind query: yes
19 3s533ms 16s8ms 3s860ms 479 30m49s 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 #19
Day Hour Count Duration Avg duration Nov 03 01 2 21s28ms 10s514ms 02 3 11s350ms 3s783ms 06 3 11s959ms 3s986ms 08 2 7s505ms 3s752ms 09 3 11s421ms 3s807ms 10 1 3s650ms 3s650ms 11 1 3s862ms 3s862ms 12 5 18s905ms 3s781ms 13 2 7s643ms 3s821ms 18 3 11s206ms 3s735ms 19 21 1m19s 3s782ms 20 10 37s96ms 3s709ms 21 9 34s154ms 3s794ms 22 5 18s377ms 3s675ms 23 15 55s695ms 3s713ms Nov 04 00 16 1m 3s811ms 01 17 1m4s 3s809ms 02 1 3s594ms 3s594ms 03 2 7s861ms 3s930ms 04 6 22s459ms 3s743ms 05 4 15s746ms 3s936ms 07 3 11s298ms 3s766ms 08 4 16s190ms 4s47ms 10 1 3s594ms 3s594ms 11 2 7s384ms 3s692ms 12 1 3s824ms 3s824ms 13 2 7s793ms 3s896ms 14 5 18s693ms 3s738ms 15 2 7s461ms 3s730ms 16 3 11s635ms 3s878ms 17 2 8s78ms 4s39ms 18 2 7s700ms 3s850ms 19 12 47s436ms 3s953ms 20 1 3s803ms 3s803ms 21 2 7s285ms 3s642ms 22 2 7s568ms 3s784ms 23 1 4s132ms 4s132ms Nov 05 00 19 1m12s 3s825ms 01 31 1m59s 3s864ms 02 24 1m31s 3s832ms 03 34 2m9s 3s798ms 04 11 42s181ms 3s834ms 05 1 5s700ms 5s700ms 06 2 8s17ms 4s8ms 07 4 15s781ms 3s945ms 08 1 3s722ms 3s722ms 09 1 3s996ms 3s996ms 10 2 7s506ms 3s753ms 11 1 3s862ms 3s862ms 12 4 15s811ms 3s952ms 13 3 11s517ms 3s839ms 14 7 26s988ms 3s855ms 15 4 15s831ms 3s957ms 16 4 14s965ms 3s741ms 17 5 19s716ms 3s943ms 18 2 7s828ms 3s914ms 19 1 3s738ms 3s738ms 21 1 3s663ms 3s663ms 22 1 3s682ms 3s682ms 23 1 4s85ms 4s85ms Nov 06 00 2 7s752ms 3s876ms 02 4 15s64ms 3s766ms 04 1 3s952ms 3s952ms 05 4 15s728ms 3s932ms 06 1 4s11ms 4s11ms 07 2 7s727ms 3s863ms 08 6 23s346ms 3s891ms 09 1 4s 4s 10 4 15s386ms 3s846ms 11 2 7s726ms 3s863ms 12 5 19s878ms 3s975ms 13 1 3s755ms 3s755ms 15 1 3s726ms 3s726ms 16 1 4s225ms 4s225ms 17 9 33s963ms 3s773ms 21 3 11s469ms 3s823ms 22 5 18s769ms 3s753ms Nov 07 01 1 4s27ms 4s27ms 02 1 3s612ms 3s612ms 03 1 3s644ms 3s644ms 04 2 7s353ms 3s676ms 05 3 10s949ms 3s649ms 07 3 11s361ms 3s787ms 08 3 11s779ms 3s926ms 09 3 10s986ms 3s662ms 10 3 11s712ms 3s904ms 11 3 11s769ms 3s923ms 14 1 3s749ms 3s749ms 17 3 11s227ms 3s742ms 19 2 7s800ms 3s900ms 20 4 15s659ms 3s914ms 21 1 3s876ms 3s876ms 22 1 3s922ms 3s922ms 23 1 3s942ms 3s942ms Nov 08 00 1 3s870ms 3s870ms 01 2 7s584ms 3s792ms 05 2 8s121ms 4s60ms 06 3 11s470ms 3s823ms 08 3 11s944ms 3s981ms 09 1 3s814ms 3s814ms 10 1 3s689ms 3s689ms 11 1 3s670ms 3s670ms 12 1 3s857ms 3s857ms 13 1 3s604ms 3s604ms 14 2 7s715ms 3s857ms 20 3 11s533ms 3s844ms 21 2 7s288ms 3s644ms 22 2 7s868ms 3s934ms 23 2 7s740ms 3s870ms Nov 09 01 1 4s21ms 4s21ms 02 4 15s235ms 3s808ms 04 1 3s706ms 3s706ms 05 1 3s839ms 3s839ms 10 2 8s63ms 4s31ms 11 4 16s85ms 4s21ms 12 1 3s728ms 3s728ms 13 2 7s685ms 3s842ms 15 2 7s767ms 3s883ms 16 2 7s708ms 3s854ms 20 1 3s785ms 3s785ms 21 1 3s906ms 3s906ms 22 2 7s465ms 3s732ms [ User: pubeu - Total duration: 12m51s - Times executed: 202 ]
-
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 = '1395038') 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 = '1395038') 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-11-03 01:41:47 Duration: 16s8ms 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 = '1424183') 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 = '1424183') 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-11-05 05:55:01 Duration: 5s700ms 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 = '1324054') 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 = '1324054') 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-11-03 01:42:52 Duration: 5s19ms Bind query: yes
20 1s8ms 21s812ms 3s824ms 238 15m10s select sq.*, count(*) over () fullrowcount from ( select distinct gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid from dag_node gt inner join gene_go_annot gga on gt.object_id = gga.go_term_id inner join term g on gga.gene_id = g.id where gt.id in ( select p.descendant_dag_node_id from dag_path p where p.ancestor_object_id = ?) and gga.is_not = false) sq order by sq.gonmsort, sq.genesymbolsort limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Nov 03 05 1 1s974ms 1s974ms 16 1 1s501ms 1s501ms 17 9 45s476ms 5s52ms Nov 04 01 3 5s631ms 1s877ms 02 45 2m25s 3s223ms 07 1 1s151ms 1s151ms 11 1 1s789ms 1s789ms 16 3 16s480ms 5s493ms 19 6 27s208ms 4s534ms 21 1 1s626ms 1s626ms 23 1 1s165ms 1s165ms Nov 05 08 1 1s69ms 1s69ms 12 1 1s51ms 1s51ms 18 3 3s449ms 1s149ms 19 1 2s33ms 2s33ms 22 6 20s121ms 3s353ms 23 3 4s4ms 1s334ms Nov 06 00 8 12s293ms 1s536ms 01 1 1s495ms 1s495ms 02 14 49s431ms 3s530ms 05 3 10s194ms 3s398ms 06 1 1s70ms 1s70ms 12 4 23s556ms 5s889ms 19 3 24s675ms 8s225ms 21 1 1s776ms 1s776ms 23 16 1m17s 4s823ms Nov 07 01 1 1s298ms 1s298ms 06 12 1m24s 7s7ms 08 5 12s999ms 2s599ms 14 6 13s853ms 2s308ms 16 5 27s643ms 5s528ms 18 17 41s729ms 2s454ms 19 10 46s256ms 4s625ms 21 1 1s30ms 1s30ms Nov 08 00 2 22s509ms 11s254ms 06 2 11s29ms 5s514ms 07 2 5s952ms 2s976ms 08 1 1s89ms 1s89ms 12 1 21s66ms 21s66ms 16 2 2s176ms 1s88ms 22 7 24s47ms 3s435ms Nov 09 07 1 1s77ms 1s77ms 08 20 1m44s 5s208ms 13 1 1s74ms 1s74ms 16 2 2s238ms 1s119ms 20 1 1s457ms 1s457ms 22 1 1s72ms 1s72ms [ User: pubeu - Total duration: 6m33s - Times executed: 91 ]
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1217771') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-11-06 23:37:51 Duration: 21s812ms Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1217863') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-11-04 02:56:04 Duration: 21s752ms Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1217771') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-11-08 00:28:12 Duration: 21s407ms Database: ctdprd51 User: pubeu Bind query: yes
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 0ms 213 0ms 0ms 0ms ;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Nov 03 05 4 0ms 0ms 06 10 0ms 0ms 07 2 0ms 0ms 10 2 0ms 0ms Nov 04 05 4 0ms 0ms 06 6 0ms 0ms 07 6 0ms 0ms 10 4 0ms 0ms 11 2 0ms 0ms 13 2 0ms 0ms 14 2 0ms 0ms 15 4 0ms 0ms 16 4 0ms 0ms 17 2 0ms 0ms 19 2 0ms 0ms 21 2 0ms 0ms Nov 05 05 2 0ms 0ms 06 4 0ms 0ms 08 6 0ms 0ms 10 4 0ms 0ms 11 2 0ms 0ms 14 8 0ms 0ms 15 2 0ms 0ms 16 2 0ms 0ms 22 2 0ms 0ms Nov 06 07 12 0ms 0ms 08 2 0ms 0ms 09 4 0ms 0ms 11 4 0ms 0ms 16 8 0ms 0ms Nov 07 05 20 0ms 0ms 06 16 0ms 0ms 07 6 0ms 0ms 11 4 0ms 0ms 15 12 0ms 0ms 16 2 0ms 0ms Nov 08 06 3 0ms 0ms 07 18 0ms 0ms 12 3 0ms 0ms 13 6 0ms 0ms 14 3 0ms 0ms [ User: pubeu - Total duration: 8m13s - Times executed: 87 ]
[ User: qaeu - Total duration: 2s717ms - Times executed: 2 ]
-
;
Date: Duration: 0ms Database: postgres parameters: $1 = '2076633'
-
Events
Log levels
Key values
- 130,679 Log entries
Events distribution
Key values
- 0 PANIC entries
- 22 FATAL entries
- 48 ERROR entries
- 1 WARNING entries
Most Frequent Errors/Events
Key values
- 15 Max number of times the same event was reported
- 71 Total events found
Rank Times reported Error 1 15 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #1
Day Hour Count Nov 04 21 4 22 1 Nov 05 17 4 18 2 19 1 20 3 2 13 ERROR: syntax error in ts"..."
Times Reported Most Frequent Error / Event #2
Day Hour Count Nov 03 23 1 Nov 04 00 1 Nov 05 02 1 16 2 20 1 Nov 06 11 1 Nov 07 00 1 20 1 Nov 08 20 2 Nov 09 00 1 15 1 - ERROR: syntax error in ts"SZ & (A12-= | A12=) & . & ., & NMJ‑ & T/N & ,/. & / & Y & <>"
- ERROR: syntax error in ts"NEIAN & STEH’AUMEIN, & ZELON & SHELOMEN & ' & AUT’PHON, & Ō & ADIA,"
- ERROR: syntax error in ts"2,044.40 & (-- | )"
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 OR upper( l.acc_txt ) = $4 OR upper( l.acc_txt ) = $5 OR upper( l.acc_txt ) = $6 OR upper( l.acc_txt ) = $7 OR upper( l.acc_txt ) = $8 OR upper( l.acc_txt ) = $9 OR upper( l.acc_txt ) = $10 OR upper( l.acc_txt ) = $11 OR upper( l.acc_txt ) = $12 OR upper( l.acc_txt ) = $13 OR upper( l.acc_txt ) = $14 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2024-11-03 23:08:21 Database: ctdprd51 Application: User: pubeu Remote:
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 OR upper( l.acc_txt ) = $4 OR upper( l.acc_txt ) = $5 OR upper( l.acc_txt ) = $6 OR upper( l.acc_txt ) = $7 OR upper( l.acc_txt ) = $8 OR upper( l.acc_txt ) = $9 OR upper( l.acc_txt ) = $10 OR upper( l.acc_txt ) = $11 AND l.db_id = (SELECT id FROM db WHERE cd = $12) ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2024-11-04 00:37:31
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 OR upper( l.acc_txt ) = $4 OR upper( l.acc_txt ) = $5 OR upper( l.acc_txt ) = $6 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2024-11-05 16:01:49 Database: ctdprd51 Application: User: pubeu Remote:
3 12 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #3
Day Hour Count Nov 03 17 2 Nov 04 16 1 19 1 Nov 06 02 1 03 1 20 1 Nov 08 08 1 10 1 22 1 23 1 Nov 09 08 1 4 12 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #4
Day Hour Count Nov 03 17 2 Nov 04 16 1 19 1 Nov 06 02 1 03 1 20 1 Nov 08 08 1 10 1 22 1 23 1 Nov 09 08 1 5 8 FATAL: password authentication failed for user "..."
Times Reported Most Frequent Error / Event #5
Day Hour Count Nov 07 10 8 - FATAL: password authentication failed for user "load"
Detail: Connection matched pg_hba.conf line 85: "host all all 192.168.201.0/24 md5 "
Date: 2024-11-07 10:28:43
6 2 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #6
Day Hour Count Nov 05 13 2 - ERROR: syntax error at or near "21395215" at character 264
- ERROR: syntax error at or near "25151427" at character 394
Statement: select reference_acc_txt, create_by, create_tm, mod_by, mod_tm from exposure where reference_acc_txt IN ( '11874814','14998749','16330354','16451855','17033500','18197297','18335095','18456330','19055819','19652462','20129874','21075419' ,'21268450','21371937,'21395215','21716162','22004949','22295072','22879836','22919386','23045187','23670403','23833127','24246239' ,'5095280','137520,'25151427','25157159','25342170','25343135','25483837','26372664','26457621','26575634','26629599','27129131' ,'7138294','27504716','27518881','28843141','29624745','29959987','29980036','29990952','31376596','31869729','34417545' )
Date: 2024-11-05 13:51:54
Statement: select reference_acc_txt, create_by, create_tm, mod_by, mod_tm from exposure where reference_acc_txt IN ( '11874814','14998749','16330354','16451855','17033500','18197297','18335095','18456330','19055819','19652462','20129874','21075419' ,'21268450','21371937','21395215','21716162','22004949','22295072','22879836','22919386','23045187','23670403','23833127','24246239' ,'5095280','137520,'25151427','25157159','25342170','25343135','25483837','26372664','26457621','26575634','26629599','27129131' ,'7138294','27504716','27518881','28843141','29624745','29959987','29980036','29990952','31376596','31869729','34417545' )
Date: 2024-11-05 13:52:12
7 2 FATAL: canceling authentication due to timeout
Times Reported Most Frequent Error / Event #7
Day Hour Count Nov 04 03 2 8 1 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #8
Day Hour Count Nov 05 14 1 9 1 WARNING: is not a PostgreSQL server process
Times Reported Most Frequent Error / Event #9
Day Hour Count Nov 04 10 1 10 1 ERROR: invalid byte sequence for encoding
Times Reported Most Frequent Error / Event #10
Day Hour Count Nov 05 06 1 - ERROR: invalid byte sequence for encoding "UTF8": 0x00
Context: unnamed portal parameter $1
Statement: SELECT /* GeneIdBySymbolAccDAO */ 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 INNER JOIN term_label_type lti ON li.term_label_type_id = lti.id AND li.object_type_id = lti.object_type_id AND UPPER(li.nm) = $1 AND lti.object_type_id = 4 AND lti.nm = 'SYMBOL' UNION SELECT l.object_id FROM db_link l WHERE l.acc_txt = $2 AND l.object_type_id = 4 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-11-05 06:39:57 Database: ctdprd51 Application: User: pubeu Remote:
11 1 ERROR: operator does not exist: character varying = integer
Times Reported Most Frequent Error / Event #11
Day Hour Count Nov 05 13 1 - ERROR: operator does not exist: character varying = integer at character 103
Hint: No operator matches the given name and argument types. You might need to add explicit type casts.
Statement: select reference_acc_txt, create_by, create_tm, mod_by, mod_tm from exposure where reference_acc_txt IN ( 11874814,14998749,16330354,16451855,17033500,18197297,18335095,18456330,19055819,19652462,20129874,21075419 ,21268450,21371937,21395215,21716162,22004949,22295072,22879836,22919386,23045187,23670403,23833127,24246239 ,25095280,25137520,25151427,25157159,25342170,25343135,25483837,26372664,26457621,26575634,26629599,27129131 ,27138294,27504716,27518881,28843141,29624745,29959987,29980036,29990952,31376596,31869729,34417545 )Date: 2024-11-05 13:45:56
12 1 ERROR: unterminated quoted identifier at or near ""..."
Times Reported Most Frequent Error / Event #12
Day Hour Count Nov 05 13 1 - ERROR: unterminated quoted identifier at or near "" " at character 637
Statement: SELECT DISTINCT rc.email_addr FROM edit.reference_contact rc WHERE rc.sent_tm IS NULL AND EXISTS (SELECT 1 -- !! CHANGE PUB SCHEMA QUALIFIER TO LIVE/QA SCHEMA !! FROM pub2.db_link l WHERE l.acc_txt = rc.reference_acc_txt AND l.object_type_id = 7 AND l.type_cd = 'A' AND l.is_primary = true AND (SELECT r.has_ixns OR r.has_diseases OR r.has_exposures OR r.has_phenotypes -- !! CHANGE PUB SCHEMA QUALIFIER TO LIVE/QA SCHEMA !! FROM pub2.reference r WHERE r.id = l.object_id) ) ORDER BY 1; "
Date: 2024-11-05 13:46:43
13 1 ERROR: relation "..." does not exist
Times Reported Most Frequent Error / Event #13
Day Hour Count Nov 05 13 1 - ERROR: relation "pubx.db_link" does not exist at character 180
Statement: SELECT DISTINCT rc.email_addr FROM edit.reference_contact rc WHERE rc.sent_tm IS NULL AND EXISTS (SELECT 1 -- !! CHANGE PUB SCHEMA QUALIFIER TO LIVE/QA SCHEMA !! FROM pubX.db_link l WHERE l.acc_txt = rc.reference_acc_txt AND l.object_type_id = get_object_type_id('reference') AND l.type_cd = 'A' AND l.is_primary = true AND (SELECT r.has_ixns OR r.has_diseases OR r.has_exposures OR r.has_phenotypes -- !! CHANGE PUB SCHEMA QUALIFIER TO LIVE/QA SCHEMA !! FROM pubX.reference r WHERE r.id = l.object_id) ) ORDER BY 1;
Date: 2024-11-05 13:37:28
14 1 ERROR: column "..." does not exist
Times Reported Most Frequent Error / Event #14
Day Hour Count Nov 05 13 1 - ERROR: column "reference_acc_tct" does not exist at character 85
Hint: Perhaps you meant to reference the column "exposure.reference_acc_txt".
Statement: select reference_acc_txt, create_by, create_tm, mod_by, mod_tm from exposure where reference_acc_tct IN ( 11874814,14998749,16330354,16451855,17033500,18197297,18335095,18456330,19055819,19652462,20129874,21075419 ,21268450,21371937,21395215,21716162,22004949,22295072,22879836,22919386,23045187,23670403,23833127,24246239 ,25095280,25137520,25151427,25157159,25342170,25343135,25483837,26372664,26457621,26575634,26629599,27129131 ,27138294,27504716,27518881,28843141,29624745,29959987,29980036,29990952,31376596,31869729,34417545 )Date: 2024-11-05 13:45:48 Database: ctdprd51 Application: pgAdmin 4 - CONN:3752044 User: edit Remote: