-
Global information
- Generated on Sun Nov 3 04:15:16 2024
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20241102
- Parsed 143,453 log entries in 15s
- Log start from 2024-10-27 00:00:01 to 2024-11-02 23:59:00
-
Overview
Global Stats
- 481 Number of unique normalized queries
- 4,616 Number of queries
- 1d1h43m41s Total query duration
- 2024-10-27 00:00:24 First query
- 2024-11-02 23:58:21 Last query
- 9 queries/s at 2024-10-28 05:24:34 Query peak
- 1d1h43m41s Total query duration
- 0ms Prepare/parse total duration
- 1s757ms Bind total duration
- 1d1h43m39s Execute total duration
- 1,548 Number of events
- 22 Number of unique normalized events
- 1,038 Max number of times the same event was reported
- 0 Number of cancellation
- 126 Total number of automatic vacuums
- 254 Total number of automatic analyzes
- 2,868 Number temporary file
- 1.00 GiB Max size of temporary file
- 184.18 MiB Average size of temporary file
- 12,753 Total number of sessions
- 120 sessions at 2024-10-29 21:42:20 Session peak
- 366d7h51m31s Total duration of sessions
- 41m21s Average duration of sessions
- 0 Average queries per session
- 7s262ms Average queries duration per session
- 41m14s Average idle time per session
- 12,757 Total number of connections
- 50 connections/s at 2024-10-28 07:05:06 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 9 queries/s Query Peak
- 2024-10-28 05:24:34 Date
SELECT Traffic
Key values
- 9 queries/s Query Peak
- 2024-10-28 05:24:34 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2024-10-30 12:05:11 Date
Queries duration
Key values
- 1d1h43m41s 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) Oct 27 00 38 0ms 18m53s 32s940ms 5s242ms 37s533ms 18m53s 01 36 0ms 11s347ms 1s846ms 5s129ms 8s758ms 14s48ms 02 20 0ms 5s145ms 1s609ms 1s579ms 2s429ms 6s737ms 03 35 0ms 21s469ms 2s639ms 3s194ms 5s902ms 41s596ms 04 51 0ms 5s564ms 1s734ms 5s692ms 10s47ms 18s606ms 05 76 0ms 6s481ms 2s314ms 13s748ms 19s450ms 30s303ms 06 30 0ms 36s893ms 5s511ms 11s39ms 17s316ms 54s556ms 07 27 0ms 10s488ms 1s981ms 3s154ms 4s132ms 10s488ms 08 34 0ms 10s83ms 1s713ms 2s705ms 5s211ms 11s209ms 09 24 0ms 5s398ms 1s600ms 2s781ms 4s342ms 5s894ms 10 30 0ms 37s272ms 4s660ms 2s826ms 9s680ms 54s612ms 11 33 0ms 15s226ms 2s331ms 5s67ms 6s523ms 15s226ms 12 19 0ms 3m6s 13s450ms 5s213ms 12s305ms 3m6s 13 12 0ms 5s137ms 2s68ms 1s435ms 3s910ms 10s401ms 14 25 0ms 37s118ms 5s614ms 6s142ms 16s816ms 45s775ms 15 33 0ms 21s342ms 4s415ms 5s902ms 16s888ms 44s637ms 16 25 0ms 5s179ms 1s787ms 3s764ms 5s175ms 5s699ms 17 19 0ms 10s940ms 2s561ms 3s187ms 5s432ms 16s421ms 18 56 0ms 37s874ms 3s462ms 9s685ms 14s76ms 55s679ms 19 34 0ms 5s50ms 1s428ms 2s824ms 4s312ms 5s50ms 20 25 0ms 5s73ms 1s498ms 2s676ms 4s329ms 7s60ms 21 17 0ms 3s823ms 1s823ms 2s645ms 3s731ms 10s414ms 22 28 0ms 5s652ms 2s525ms 5s194ms 5s652ms 11s871ms 23 14 0ms 16s465ms 3s442ms 3s837ms 5s150ms 16s465ms Oct 28 00 26 0ms 18m35s 44s647ms 3s698ms 4s191ms 18m40s 01 30 0ms 4s142ms 1s475ms 3s320ms 3s893ms 6s16ms 02 55 0ms 9s67ms 3s117ms 9s793ms 13s390ms 47s856ms 03 52 0ms 17s424ms 4s576ms 19s678ms 38s938ms 59s999ms 04 20 0ms 42s673ms 8s360ms 12s604ms 41s567ms 44s76ms 05 142 0ms 14s551ms 3s345ms 18s811ms 28s224ms 4m52s 06 54 0ms 31m42s 40s428ms 40s560ms 46s44ms 31m42s 07 66 0ms 10s310ms 2s199ms 6s228ms 11s953ms 55s731ms 08 39 0ms 3m12s 8s374ms 12s79ms 16s357ms 3m12s 09 43 0ms 9s108ms 2s970ms 5s427ms 9s108ms 14s290ms 10 63 0ms 37s234ms 3s969ms 10s541ms 13s466ms 56s135ms 11 23 0ms 17s532ms 3s794ms 5s114ms 15s70ms 18s948ms 12 24 0ms 7s442ms 2s146ms 2s723ms 4s282ms 16s374ms 13 16 0ms 3s869ms 1s385ms 1s348ms 2s245ms 3s869ms 14 28 0ms 36s925ms 4s927ms 2s918ms 9s662ms 54s717ms 15 28 0ms 2s634ms 1s287ms 2s695ms 3s587ms 5s858ms 16 42 0ms 10s975ms 2s989ms 10s825ms 10s879ms 11s803ms 17 24 0ms 7s106ms 1s589ms 3s905ms 7s12ms 7s106ms 18 43 0ms 37s182ms 4s515ms 10s810ms 16s301ms 54s549ms 19 33 0ms 17s398ms 7s526ms 25s276ms 32s761ms 43s421ms 20 25 0ms 1s946ms 1s451ms 2s573ms 2s709ms 8s779ms 21 24 0ms 5s90ms 1s606ms 1s964ms 3s933ms 6s281ms 22 29 0ms 59s841ms 4s120ms 6s299ms 8s110ms 1m1s 23 31 0ms 5s97ms 1s509ms 2s816ms 5s97ms 8s187ms Oct 29 00 35 0ms 18m26s 33s722ms 5s758ms 6s663ms 18m31s 01 30 0ms 8s886ms 2s763ms 4s7ms 4s77ms 26s584ms 02 29 0ms 6s386ms 2s255ms 5s9ms 8s489ms 25s37ms 03 27 0ms 16s532ms 2s549ms 3s714ms 4s248ms 16s532ms 04 36 0ms 5s709ms 1s941ms 4s950ms 5s709ms 6s420ms 05 78 0ms 6s647ms 1s974ms 6s304ms 13s939ms 28s548ms 06 46 0ms 37s75ms 3s598ms 6s655ms 9s688ms 49s66ms 07 19 0ms 10s406ms 3s941ms 2s905ms 10s406ms 43s716ms 08 49 0ms 10m30s 21s10ms 22s475ms 33s970ms 10m30s 09 26 0ms 10s325ms 1s906ms 3s588ms 4s194ms 15s537ms 10 52 0ms 37s580ms 3s720ms 9s210ms 14s588ms 59s863ms 11 18 0ms 11s419ms 2s857ms 2s449ms 6s447ms 11s816ms 12 17 0ms 5s418ms 1s762ms 1s874ms 5s212ms 6s456ms 13 55 0ms 18m19s 48s888ms 1m23s 4m32s 18m19s 14 78 0ms 1m51s 9s678ms 1m12s 1m24s 1m53s 15 40 0ms 3m26s 18s585ms 42s319ms 2m11s 3m26s 16 28 0ms 6m6s 34s9ms 38s188ms 2m42s 6m13s 17 23 0ms 12m19s 49s776ms 4s984ms 1m57s 12m30s 18 38 0ms 25m52s 57s767ms 54s982ms 1m57s 25m53s 19 25 0ms 10m24s 27s44ms 5s347ms 10s397ms 10m24s 20 17 0ms 2m59s 14s201ms 2s391ms 20s317ms 2m59s 21 16 0ms 5s128ms 2s700ms 3s931ms 5s128ms 6s394ms 22 21 0ms 7s338ms 3s326ms 3s988ms 7s267ms 22s654ms 23 13 0ms 7s264ms 3s21ms 4s34ms 5s146ms 7s264ms Oct 30 00 12 0ms 18m25s 1m34s 5s117ms 5s247ms 18m30s 01 10 0ms 5s442ms 2s921ms 1s383ms 4s799ms 10s552ms 02 98 0ms 18m12s 2m32s 17m35s 35m4s 1h9m58s 03 25 0ms 17m26s 44s438ms 7s224ms 11s51ms 17m26s 04 29 0ms 17m46s 39s826ms 5s619ms 16s779ms 17m48s 05 50 0ms 11m38s 16s475ms 14s814ms 26s399ms 11m38s 06 25 0ms 36s975ms 5s537ms 5s183ms 9s693ms 54s883ms 07 22 0ms 3m45s 12s436ms 2s800ms 4s121ms 3m49s 08 70 0ms 4m17s 8s122ms 10s973ms 28s274ms 4m34s 09 41 0ms 34m48s 1m11s 37s42ms 1m9s 35m41s 10 41 0ms 36m31s 1m 39s932ms 48s320ms 36m31s 11 50 0ms 42m6s 1m20s 1m49s 3m17s 42m6s 12 44 0ms 5m15s 20s588ms 1m9s 1m24s 5m16s 13 44 0ms 1m16s 9s556ms 38s850ms 54s628ms 1m16s 14 110 0ms 12m48s 18s623ms 1m27s 2m57s 12m52s 15 35 0ms 23m47s 52s452ms 13s371ms 1m14s 23m47s 16 25 0ms 1h36m38s 4m2s 6s207ms 40s56ms 1h36m41s 17 16 0ms 1h5m45s 4m9s 4s119ms 5s661ms 1h5m56s 18 56 0ms 46m46s 1m 43s697ms 1m33s 47m9s 19 12 0ms 5s390ms 1s726ms 1s285ms 2s581ms 5s390ms 20 17 0ms 2h1m31s 7m14s 3s777ms 4s147ms 2h1m54s 21 10 0ms 33m45s 4m18s 1s276ms 3s400ms 33m45s 22 15 0ms 1m14s 6s931ms 1s302ms 3s423ms 1m15s 23 12 0ms 5s107ms 2s222ms 2s171ms 3s965ms 6s320ms Oct 31 00 34 0ms 18m36s 34s918ms 6s246ms 7s104ms 18m41s 01 20 0ms 10s904ms 2s731ms 1s417ms 5s150ms 21s525ms 02 8 0ms 2s606ms 1s378ms 1s191ms 1s301ms 2s606ms 03 14 0ms 36s844ms 7s808ms 5s990ms 38s161ms 42s966ms Nov 01 03 0 0ms 0ms 0ms 0ms 0ms 0ms 04 22 0ms 5s287ms 2s811ms 4s34ms 8s421ms 13s37ms 05 60 0ms 1m49s 3s947ms 7s610ms 25s611ms 1m49s 06 38 0ms 37s141ms 3s316ms 6s36ms 8s758ms 37s141ms 07 8 0ms 5s578ms 2s458ms 1s167ms 2s561ms 7s966ms 08 13 0ms 6s993ms 2s113ms 1s238ms 2s811ms 6s993ms 09 13 0ms 5s80ms 2s655ms 2s823ms 4s154ms 10s122ms 10 11 0ms 37s463ms 5s692ms 1s340ms 2s818ms 46s351ms 11 68 0ms 5m17s 19s289ms 1m12s 4m4s 5m17s 12 85 0ms 8m44s 24s696ms 2m50s 5m1s 8m48s 13 34 0ms 11s811ms 2s507ms 5s627ms 8s171ms 15s702ms 14 39 0ms 17m21s 32s91ms 14s174ms 45s871ms 17m21s 15 23 0ms 7s183ms 1s848ms 2s576ms 4s132ms 7s968ms 16 15 0ms 5s584ms 1s919ms 2s401ms 4s14ms 5s584ms 17 15 0ms 5s419ms 1s742ms 1s348ms 2s600ms 5s419ms 18 24 0ms 37s289ms 7s285ms 6s473ms 24s276ms 1m4s 19 19 0ms 5s317ms 1s559ms 2s447ms 3s259ms 5s317ms 20 17 0ms 4s124ms 1s439ms 1s303ms 2s321ms 4s124ms 21 22 0ms 14s355ms 2s36ms 2s433ms 3s378ms 14s355ms 22 18 0ms 3s984ms 1s444ms 1s419ms 2s413ms 3s984ms 23 20 0ms 8s547ms 1s960ms 1s376ms 2s356ms 17s66ms Nov 02 00 13 0ms 18m32s 1m27s 1s263ms 2s392ms 18m39s 01 22 0ms 5s668ms 2s26ms 2s408ms 3s966ms 11s301ms 02 35 0ms 7s562ms 1s830ms 5s810ms 7s562ms 11s306ms 03 8 0ms 1s491ms 1s229ms 1s185ms 1s230ms 2s548ms 04 41 0ms 32s259ms 5s18ms 4s793ms 44s771ms 1m2s 05 76 0ms 10s792ms 2s643ms 10s792ms 23s934ms 29s710ms 06 42 0ms 53s875ms 3s377ms 5s399ms 11s669ms 56s206ms 07 43 0ms 11s468ms 2s419ms 8s271ms 11s232ms 17s747ms 08 38 0ms 17m28s 29s619ms 5s788ms 8s365ms 17m30s 09 50 0ms 11s452ms 1s923ms 7s303ms 11s472ms 14s906ms 10 10 0ms 5s81ms 1s997ms 2s352ms 5s81ms 7s447ms 21 0 0ms 0ms 0ms 0ms 0ms 0ms 22 149 0ms 1m21s 4s933ms 51s267ms 1m10s 1m21s 23 63 0ms 4m44s 10s761ms 21s425ms 3m22s 4m44s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Oct 27 00 37 0 33s686ms 1s421ms 2s590ms 18m53s 01 36 0 1s846ms 1s558ms 5s129ms 14s48ms 02 20 0 1s609ms 1s408ms 1s579ms 6s737ms 03 35 0 2s639ms 1s515ms 3s194ms 41s596ms 04 51 0 1s734ms 2s424ms 5s692ms 18s606ms 05 72 0 2s321ms 5s654ms 13s748ms 30s303ms 06 20 10 5s511ms 2s285ms 9s658ms 54s556ms 07 27 0 1s981ms 1s413ms 3s154ms 6s559ms 08 34 0 1s713ms 1s946ms 2s705ms 6s333ms 09 24 0 1s600ms 1s406ms 2s781ms 5s894ms 10 20 10 4s660ms 1s403ms 2s826ms 45s937ms 11 33 0 2s331ms 1s420ms 5s67ms 15s226ms 12 19 0 13s450ms 1s409ms 5s213ms 3m6s 13 12 0 2s68ms 1s193ms 1s435ms 10s401ms 14 16 8 5s710ms 1s416ms 6s142ms 34s305ms 15 33 0 4s415ms 2s866ms 5s902ms 44s637ms 16 25 0 1s787ms 1s417ms 3s764ms 5s699ms 17 19 0 2s561ms 1s201ms 3s187ms 16s421ms 18 46 10 3s462ms 3s666ms 9s685ms 54s515ms 19 34 0 1s428ms 1s413ms 2s824ms 5s50ms 20 25 0 1s498ms 1s407ms 2s676ms 7s60ms 21 17 0 1s823ms 1s206ms 2s645ms 10s414ms 22 28 0 2s525ms 2s365ms 5s194ms 11s871ms 23 14 0 3s442ms 1s413ms 3s837ms 16s465ms Oct 28 00 25 0 46s227ms 1s417ms 3s698ms 18m35s 01 30 0 1s475ms 1s830ms 3s320ms 6s16ms 02 55 0 3s117ms 4s24ms 9s793ms 47s856ms 03 52 0 4s576ms 6s532ms 19s678ms 59s999ms 04 20 0 8s360ms 2s447ms 12s604ms 44s76ms 05 139 0 3s362ms 10s78ms 18s811ms 4m50s 06 44 10 40s428ms 4s265ms 40s560ms 54s615ms 07 63 0 2s203ms 1s424ms 6s228ms 20s221ms 08 39 0 8s374ms 4s35ms 12s79ms 3m12s 09 43 0 2s970ms 4s20ms 5s427ms 10s653ms 10 53 10 3s969ms 6s551ms 9s674ms 54s974ms 11 23 0 3s794ms 2s322ms 5s114ms 18s948ms 12 24 0 2s146ms 1s338ms 2s723ms 16s374ms 13 16 0 1s385ms 1s192ms 1s348ms 3s869ms 14 17 10 5s40ms 1s408ms 2s918ms 54s717ms 15 28 0 1s287ms 1s409ms 2s695ms 5s858ms 16 41 0 3s16ms 2s661ms 10s825ms 10s975ms 17 24 0 1s589ms 1s407ms 3s905ms 7s106ms 18 33 10 4s515ms 3s997ms 10s810ms 54s549ms 19 33 0 7s526ms 10s924ms 25s276ms 43s421ms 20 25 0 1s451ms 1s405ms 2s573ms 8s779ms 21 24 0 1s606ms 1s415ms 1s964ms 6s281ms 22 29 0 4s120ms 1s438ms 6s299ms 1m1s 23 31 0 1s509ms 1s414ms 2s816ms 8s187ms Oct 29 00 34 0 34s556ms 2s370ms 5s758ms 18m26s 01 30 0 2s763ms 2s589ms 4s7ms 26s584ms 02 29 0 2s255ms 1s438ms 5s9ms 25s37ms 03 27 0 2s549ms 2s85ms 3s714ms 16s532ms 04 36 0 1s941ms 3s889ms 4s950ms 6s420ms 05 74 0 1s962ms 3s804ms 6s304ms 28s548ms 06 37 9 3s598ms 2s339ms 6s655ms 45s825ms 07 19 0 3s941ms 1s411ms 2s905ms 43s716ms 08 49 0 21s10ms 7s689ms 22s475ms 10m30s 09 26 0 1s906ms 1s404ms 3s588ms 15s537ms 10 39 10 3s744ms 2s813ms 9s210ms 46s271ms 11 17 0 2s354ms 1s175ms 2s389ms 6s447ms 12 17 0 1s762ms 1s193ms 1s874ms 6s456ms 13 54 0 49s730ms 29s482ms 1m23s 18m19s 14 68 10 9s678ms 10s750ms 1m12s 1m26s 15 36 0 16s758ms 3s882ms 29s786ms 3m26s 16 28 0 34s9ms 5s103ms 38s188ms 6m13s 17 19 0 4s101ms 1s440ms 2s540ms 47s213ms 18 20 10 5s322ms 1s751ms 9s671ms 54s982ms 19 24 0 28s31ms 1s309ms 5s347ms 10m24s 20 17 0 14s201ms 1s182ms 2s391ms 2m59s 21 16 0 2s700ms 3s892ms 3s931ms 6s394ms 22 21 0 3s326ms 1s515ms 3s988ms 22s654ms 23 13 0 3s21ms 1s281ms 4s34ms 7s264ms Oct 30 00 11 0 1m42s 1s295ms 5s117ms 18m25s 01 10 0 2s921ms 1s171ms 1s383ms 10s552ms 02 98 0 2m32s 12s253ms 17m35s 52m28s 03 25 0 44s438ms 1s886ms 7s224ms 17m26s 04 29 0 39s826ms 1s901ms 5s619ms 17m48s 05 46 0 17s716ms 2s422ms 14s814ms 11m38s 06 15 10 5s537ms 1s436ms 5s183ms 54s883ms 07 22 0 12s436ms 1s206ms 2s800ms 13s229ms 08 70 0 8s122ms 6s169ms 10s973ms 2m28s 09 41 0 1m11s 4s480ms 37s42ms 8m57s 10 31 10 1m 6s129ms 37s336ms 36m31s 11 41 0 1m18s 4s569ms 43s437ms 42m6s 12 20 0 26s195ms 1s254ms 4s102ms 1m13s 13 44 0 9s556ms 11s764ms 38s850ms 1m16s 14 65 8 7s137ms 8s94ms 24s94ms 46s87ms 15 26 0 3s174ms 3s935ms 4s39ms 12s335ms 16 23 0 4m15s 1s753ms 4s214ms 40s56ms 17 15 0 4m25s 1s554ms 4s119ms 1h5m45s 18 32 10 8s965ms 4s346ms 11s548ms 45s931ms 19 12 0 1s726ms 1s16ms 1s285ms 2s761ms 20 17 0 7m14s 1s259ms 3s777ms 2h1m54s 21 10 0 4m18s 0ms 1s276ms 33m45s 22 15 0 6s931ms 1s199ms 1s302ms 1m15s 23 12 0 2s222ms 1s156ms 2s171ms 6s320ms Oct 31 00 32 0 36s832ms 3s828ms 6s246ms 18m36s 01 20 0 2s731ms 1s282ms 1s417ms 21s525ms 02 8 0 1s378ms 0ms 1s191ms 2s606ms 03 14 0 7s808ms 4s586ms 5s990ms 42s966ms Nov 01 03 0 0 0ms 0ms 0ms 0ms 04 22 0 2s811ms 1s258ms 4s34ms 10s407ms 05 55 0 4s121ms 1s301ms 6s323ms 29s317ms 06 36 2 3s316ms 3s604ms 6s36ms 16s388ms 07 8 0 2s458ms 0ms 1s167ms 5s578ms 08 13 0 2s113ms 0ms 1s238ms 6s611ms 09 13 0 2s655ms 1s151ms 2s823ms 10s122ms 10 9 2 5s692ms 1s169ms 1s340ms 46s351ms 11 68 0 19s289ms 31s904ms 1m12s 5m17s 12 85 0 24s696ms 12s680ms 2m50s 6m7s 13 34 0 2s507ms 1s537ms 5s627ms 15s702ms 14 29 10 32s91ms 4s60ms 14s174ms 17m21s 15 23 0 1s848ms 1s311ms 2s576ms 7s968ms 16 15 0 1s919ms 1s177ms 2s401ms 5s584ms 17 15 0 1s742ms 1s198ms 1s348ms 5s419ms 18 14 10 7s285ms 1s219ms 9s682ms 54s981ms 19 18 0 1s464ms 1s197ms 2s407ms 5s317ms 20 17 0 1s439ms 1s205ms 1s303ms 4s124ms 21 22 0 2s36ms 1s195ms 2s433ms 14s355ms 22 18 0 1s444ms 1s200ms 1s419ms 3s984ms 23 20 0 1s960ms 1s181ms 1s376ms 17s66ms Nov 02 00 11 0 1m42s 1s27ms 1s263ms 18m32s 01 22 0 2s26ms 1s244ms 2s408ms 11s301ms 02 35 0 1s830ms 1s263ms 5s810ms 11s306ms 03 8 0 1s229ms 0ms 1s185ms 2s548ms 04 40 0 5s96ms 1s272ms 4s793ms 55s57ms 05 71 0 2s659ms 5s318ms 10s673ms 24s357ms 06 41 0 3s379ms 2s469ms 5s399ms 16s761ms 07 43 0 2s419ms 4s10ms 8s271ms 17s747ms 08 38 0 29s619ms 2s527ms 5s788ms 17m30s 09 50 0 1s923ms 2s495ms 7s303ms 14s906ms 10 10 0 1s997ms 1s199ms 2s352ms 7s447ms 21 0 0 0ms 0ms 0ms 0ms 22 145 0 4s999ms 46s102ms 50s443ms 1m21s 23 63 0 10s761ms 7s340ms 21s425ms 4m44s Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Oct 27 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 Oct 28 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 Oct 29 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 1 0 0 0 11s419ms 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 4 0 0 0 4m26s 0ms 0ms 3m20s 18 8 0 0 0 4m14s 0ms 0ms 4m14s 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 Oct 30 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 12 5 0 0 22s655ms 0ms 0ms 1m24s 15 5 4 0 0 3m14s 0ms 0ms 1m14s 16 1 0 0 0 2m47s 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 Oct 31 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 Nov 01 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 02 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 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 Oct 27 00 0 37 37.00 0.00% 01 0 36 36.00 0.00% 02 0 20 20.00 0.00% 03 0 35 35.00 0.00% 04 0 51 51.00 0.00% 05 0 76 76.00 0.00% 06 0 20 20.00 0.00% 07 0 32 32.00 0.00% 08 0 34 34.00 0.00% 09 0 24 24.00 0.00% 10 0 20 20.00 0.00% 11 0 33 33.00 0.00% 12 0 19 19.00 0.00% 13 0 12 12.00 0.00% 14 0 23 23.00 0.00% 15 0 34 34.00 0.00% 16 0 25 25.00 0.00% 17 0 19 19.00 0.00% 18 0 46 46.00 0.00% 19 0 34 34.00 0.00% 20 0 25 25.00 0.00% 21 0 17 17.00 0.00% 22 0 28 28.00 0.00% 23 0 14 14.00 0.00% Oct 28 00 0 24 24.00 0.00% 01 0 30 30.00 0.00% 02 0 55 55.00 0.00% 03 0 52 52.00 0.00% 04 0 20 20.00 0.00% 05 0 140 140.00 0.00% 06 0 56 56.00 0.00% 07 0 76 76.00 0.00% 08 0 42 42.00 0.00% 09 0 43 43.00 0.00% 10 0 53 53.00 0.00% 11 0 24 24.00 0.00% 12 0 25 25.00 0.00% 13 0 17 17.00 0.00% 14 0 18 18.00 0.00% 15 0 28 28.00 0.00% 16 0 45 45.00 0.00% 17 0 24 24.00 0.00% 18 0 37 37.00 0.00% 19 0 33 33.00 0.00% 20 0 25 25.00 0.00% 21 0 24 24.00 0.00% 22 0 29 29.00 0.00% 23 0 31 31.00 0.00% Oct 29 00 0 34 34.00 0.00% 01 0 30 30.00 0.00% 02 0 29 29.00 0.00% 03 0 27 27.00 0.00% 04 0 36 36.00 0.00% 05 0 82 82.00 0.00% 06 0 48 48.00 0.00% 07 0 19 19.00 0.00% 08 0 49 49.00 0.00% 09 0 27 27.00 0.00% 10 0 40 40.00 0.00% 11 0 20 20.00 0.00% 12 0 17 17.00 0.00% 13 0 54 54.00 0.00% 14 0 67 67.00 0.00% 15 0 36 36.00 0.00% 16 0 28 28.00 0.00% 17 0 23 23.00 0.00% 18 0 28 28.00 0.00% 19 0 25 25.00 0.00% 20 0 17 17.00 0.00% 21 0 16 16.00 0.00% 22 0 21 21.00 0.00% 23 0 13 13.00 0.00% Oct 30 00 0 10 10.00 0.00% 01 0 10 10.00 0.00% 02 0 98 98.00 0.00% 03 0 25 25.00 0.00% 04 0 29 29.00 0.00% 05 0 50 50.00 0.00% 06 0 15 15.00 0.00% 07 0 26 26.00 0.00% 08 0 70 70.00 0.00% 09 0 44 44.00 0.00% 10 0 28 28.00 0.00% 11 0 30 30.00 0.00% 12 0 41 41.00 0.00% 13 0 44 44.00 0.00% 14 0 102 102.00 0.00% 15 0 35 35.00 0.00% 16 0 26 26.00 0.00% 17 0 16 16.00 0.00% 18 0 46 46.00 0.00% 19 0 12 12.00 0.00% 20 0 17 17.00 0.00% 21 0 11 11.00 0.00% 22 0 15 15.00 0.00% 23 0 12 12.00 0.00% Oct 31 00 0 32 32.00 0.00% 01 0 20 20.00 0.00% 02 0 8 8.00 0.00% 03 0 14 14.00 0.00% Nov 01 03 0 0 0.00 0.00% 04 0 22 22.00 0.00% 05 0 58 58.00 0.00% 06 0 37 37.00 0.00% 07 0 8 8.00 0.00% 08 0 13 13.00 0.00% 09 0 13 13.00 0.00% 10 0 9 9.00 0.00% 11 0 68 68.00 0.00% 12 0 85 85.00 0.00% 13 0 34 34.00 0.00% 14 0 29 29.00 0.00% 15 0 22 22.00 0.00% 16 0 15 15.00 0.00% 17 0 15 15.00 0.00% 18 0 14 14.00 0.00% 19 0 19 19.00 0.00% 20 0 17 17.00 0.00% 21 0 22 22.00 0.00% 22 0 18 18.00 0.00% 23 0 20 20.00 0.00% Nov 02 00 0 11 11.00 0.00% 01 0 22 22.00 0.00% 02 0 35 35.00 0.00% 03 0 8 8.00 0.00% 04 0 41 41.00 0.00% 05 0 76 76.00 0.00% 06 0 42 42.00 0.00% 07 0 43 43.00 0.00% 08 0 38 38.00 0.00% 09 0 50 50.00 0.00% 10 0 10 10.00 0.00% 21 0 0 0.00 0.00% 22 0 149 149.00 0.00% 23 0 63 63.00 0.00% Day Hour Count Average / Second Oct 27 00 85 0.02/s 01 119 0.03/s 02 91 0.03/s 03 125 0.03/s 04 142 0.04/s 05 98 0.03/s 06 86 0.02/s 07 89 0.02/s 08 105 0.03/s 09 79 0.02/s 10 84 0.02/s 11 85 0.02/s 12 89 0.02/s 13 85 0.02/s 14 83 0.02/s 15 87 0.02/s 16 86 0.02/s 17 83 0.02/s 18 121 0.03/s 19 90 0.03/s 20 82 0.02/s 21 79 0.02/s 22 99 0.03/s 23 81 0.02/s Oct 28 00 85 0.02/s 01 93 0.03/s 02 126 0.04/s 03 94 0.03/s 04 136 0.04/s 05 147 0.04/s 06 98 0.03/s 07 184 0.05/s 08 97 0.03/s 09 126 0.04/s 10 116 0.03/s 11 98 0.03/s 12 98 0.03/s 13 85 0.02/s 14 88 0.02/s 15 85 0.02/s 16 81 0.02/s 17 79 0.02/s 18 88 0.02/s 19 89 0.02/s 20 88 0.02/s 21 82 0.02/s 22 87 0.02/s 23 102 0.03/s Oct 29 00 97 0.03/s 01 102 0.03/s 02 103 0.03/s 03 92 0.03/s 04 87 0.02/s 05 99 0.03/s 06 92 0.03/s 07 86 0.02/s 08 88 0.02/s 09 89 0.02/s 10 113 0.03/s 11 119 0.03/s 12 95 0.03/s 13 133 0.04/s 14 109 0.03/s 15 86 0.02/s 16 115 0.03/s 17 79 0.02/s 18 82 0.02/s 19 79 0.02/s 20 82 0.02/s 21 163 0.05/s 22 78 0.02/s 23 97 0.03/s Oct 30 00 79 0.02/s 01 82 0.02/s 02 97 0.03/s 03 92 0.03/s 04 90 0.03/s 05 97 0.03/s 06 83 0.02/s 07 86 0.02/s 08 101 0.03/s 09 95 0.03/s 10 98 0.03/s 11 86 0.02/s 12 92 0.03/s 13 107 0.03/s 14 109 0.03/s 15 88 0.02/s 16 83 0.02/s 17 76 0.02/s 18 87 0.02/s 19 81 0.02/s 20 76 0.02/s 21 76 0.02/s 22 81 0.02/s 23 82 0.02/s Oct 31 00 87 0.02/s 01 83 0.02/s 02 82 0.02/s 03 77 0.02/s Nov 01 03 22 0.01/s 04 88 0.02/s 05 104 0.03/s 06 95 0.03/s 07 82 0.02/s 08 81 0.02/s 09 75 0.02/s 10 75 0.02/s 11 94 0.03/s 12 115 0.03/s 13 81 0.02/s 14 82 0.02/s 15 86 0.02/s 16 82 0.02/s 17 80 0.02/s 18 90 0.03/s 19 106 0.03/s 20 85 0.02/s 21 77 0.02/s 22 82 0.02/s 23 78 0.02/s Nov 02 00 82 0.02/s 01 84 0.02/s 02 79 0.02/s 03 79 0.02/s 04 205 0.06/s 05 109 0.03/s 06 94 0.03/s 07 232 0.06/s 08 87 0.02/s 09 89 0.02/s 10 44 0.01/s 21 0 0.00/s 22 199 0.06/s 23 91 0.03/s Day Hour Count Average Duration Average idle time Oct 27 00 85 26m46s 26m32s 01 119 20m41s 20m40s 02 91 24m47s 24m47s 03 125 20m33s 20m33s 04 142 16m23s 16m23s 05 98 24m28s 24m26s 06 86 28m20s 28m18s 07 89 27m25s 27m24s 08 105 23m54s 23m54s 09 79 30m12s 30m11s 10 84 29m34s 29m32s 11 85 28m23s 28m22s 12 89 6h54m5s 6h54m3s 13 85 28m12s 28m11s 14 83 28m58s 28m56s 15 87 27m39s 27m38s 16 86 28m5s 28m5s 17 83 28m2s 28m1s 18 121 20m7s 20m5s 19 90 27m4s 27m3s 20 82 29m6s 29m5s 21 79 28m14s 28m13s 22 99 24m52s 24m51s 23 81 26m45s 26m45s Oct 28 00 85 28m40s 28m26s 01 92 27m12s 27m12s 02 127 19m10s 19m8s 03 94 26m3s 26m1s 04 136 17m14s 17m13s 05 147 16m21s 16m18s 06 97 25m46s 25m24s 07 185 13m24s 13m24s 08 97 26m2s 25m58s 09 126 18m41s 18m40s 10 116 21m30s 21m28s 11 98 25m38s 25m37s 12 95 24m38s 24m37s 13 85 29m8s 29m8s 14 88 27m57s 27m55s 15 85 27m56s 27m56s 16 81 30m9s 30m8s 17 79 31m20s 31m19s 18 88 27m49s 27m47s 19 89 26m44s 26m41s 20 88 25m12s 25m12s 21 85 45m14s 45m14s 22 87 26m1s 26m 23 102 23m26s 23m26s Oct 29 00 97 25m35s 25m23s 01 102 24m2s 24m1s 02 103 21m45s 21m45s 03 92 25m52s 25m51s 04 87 27m25s 27m24s 05 99 24m23s 24m21s 06 92 26m28s 26m26s 07 85 28m38s 28m37s 08 89 27m8s 26m57s 09 82 28m54s 28m53s 10 113 21m27s 21m26s 11 119 20m2s 20m1s 12 95 27m7s 27m6s 13 132 18m55s 18m35s 14 109 22m28s 22m21s 15 86 28m45s 28m37s 16 115 21m16s 21m7s 17 78 30m45s 30m30s 18 83 30m6s 29m39s 19 80 37m42s 37m34s 20 82 28m54s 28m51s 21 169 36m41s 36m41s 22 79 40m33s 40m32s 23 97 25m45s 25m45s Oct 30 00 79 30m8s 29m53s 01 82 29m50s 29m50s 02 97 26m24s 23m50s 03 91 26m28s 26m16s 04 90 27m39s 27m26s 05 98 23m54s 23m46s 06 83 29m34s 29m32s 07 86 28m30s 28m27s 08 94 25m33s 25m27s 09 95 26m10s 25m39s 10 97 25m18s 24m53s 11 86 1h19m24s 1h18m37s 12 92 27m5s 26m55s 13 107 22m59s 22m55s 14 109 22m39s 22m20s 15 88 28m9s 27m48s 16 83 27m41s 26m28s 17 76 30m58s 30m5s 18 87 32m57s 32m18s 19 82 35m33s 35m33s 20 76 29m24s 27m47s 21 77 34m2s 33m28s 22 87 1h27m5s 1h27m4s 23 82 28m50s 28m50s Oct 31 00 87 27m58s 27m45s 01 83 29m38s 29m37s 02 82 29m38s 29m37s 03 77 16m12s 16m11s Nov 01 03 22 35m16s 35m16s 04 88 27m54s 27m53s 05 104 23m11s 23m8s 06 95 26m2s 26m 07 82 29m42s 29m42s 08 81 31m22s 31m21s 09 75 30m47s 30m47s 10 75 31m46s 31m45s 11 94 27m45s 27m31s 12 115 21m56s 21m38s 13 81 29m14s 29m13s 14 82 29m17s 29m2s 15 82 29m41s 29m40s 16 82 29m53s 29m52s 17 83 34m23s 34m23s 18 91 27m44s 27m42s 19 106 22m 22m 20 85 28m27s 28m26s 21 77 29m58s 29m57s 22 82 29m48s 29m47s 23 78 30m20s 30m20s Nov 02 00 82 29m32s 29m18s 01 84 29m6s 29m6s 02 79 29m25s 29m25s 03 79 31m4s 31m4s 04 205 11m57s 11m56s 05 109 22m4s 22m2s 06 94 25m7s 25m5s 07 231 10m47s 10m46s 08 88 27m16s 27m3s 09 89 25m52s 25m51s 10 88 1d5h57m9s 1d5h57m9s 21 0 0ms 0ms 22 151 4m50s 4m46s 23 91 26m32s 26m24s -
Connections
Established Connections
Key values
- 50 connections Connection Peak
- 2024-10-28 07:05:06 Date
Connections per database
Key values
- ctdprd51 Main Database
- 12,757 connections Total
Connections per user
Key values
- pubeu Main User
- 12,757 connections Total
-
Sessions
Simultaneous sessions
Key values
- 120 sessions Session Peak
- 2024-10-29 21:42:20 Date
Histogram of session times
Key values
- 9,478 1800000-3600000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 12,753 sessions Total
Sessions per user
Key values
- pubeu Main User
- 12,753 sessions Total
User Count Total Duration Average Duration edit 16 5d17h26m29s 8h35m24s editeu 2,054 145d17h6m42s 1h42m9s load 169 3d14h26m44s 30m41s postgres 38 1h22m42s 2m10s pub1 1 2h13m8s 2h13m8s pub2 20 9h49s 27m2s pubc 8 1h52m25s 14m3s pubeu 6,256 88d14h25m47s 20m23s qaeu 4,171 87d15h1m24s 30m15s zbx_monitor 20 34d10h55m18s 1d17h20m45s Sessions per host
Key values
- 10.12.5.37 Main Host
- 12,753 sessions Total
Host Count Total Duration Average Duration 10.12.5.122 6 101d17h12m32s 16d22h52m5s 10.12.5.36 15 32s103ms 2s140ms 10.12.5.37 4,188 44d15h30m47s 15m21s 10.12.5.38 2,071 44d43m39s 30m36s 10.12.5.39 2,048 43d23h54m9s 30m56s 10.12.5.40 167 14h41m53s 5m16s 10.12.5.45 2,111 43d20h5m52s 29m54s 10.12.5.46 2,060 43d18h55m31s 30m36s 10.12.5.53 1 31s630ms 31s630ms 192.168.201.14 12 2d2h39m42s 4h13m18s 192.168.201.18 1 2h13m8s 2h13m8s 192.168.201.6 15 6d23h35m8s 11h10m20s ::1 58 34d12h18m1s 14h16m51s -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 5,019,791 buffers Checkpoint Peak
- 2024-10-30 14:43:26 Date
- 1620.053 seconds Highest write time
- 0.963 seconds Sync time
Checkpoints Wal files
Key values
- 922 files Wal files usage Peak
- 2024-10-30 18:44:55 Date
Checkpoints distance
Key values
- 18,483.47 Mo Distance Peak
- 2024-10-30 18:13:05 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Oct 27 00 5,951 596.16s 0.003s 596.27s 01 524 52.59s 0.003s 52.621s 02 1,863 186.767s 0.003s 186.811s 03 5,685 569.589s 0.001s 569.687s 04 64,176 2,378.407s 0.004s 2,378.976s 05 5,135 514.29s 0.004s 514.348s 06 832 83.44s 0.002s 83.471s 07 7,169 718.145s 0.003s 718.261s 08 800 80.234s 0.002s 80.313s 09 774 77.648s 0.002s 77.678s 10 7,789 780.072s 0.004s 780.188s 11 858 86.055s 0.004s 86.086s 12 821 82.456s 0.002s 82.487s 13 1,076 107.865s 0.002s 107.945s 14 1,130 113.395s 0.004s 113.427s 15 808 81.066s 0.003s 81.098s 16 3,247 325.476s 0.002s 325.566s 17 459 46.165s 0.002s 46.195s 18 4,968 497.528s 0.003s 497.585s 19 1,686 169.099s 0.003s 169.175s 20 510 51.3s 0.004s 51.332s 21 482 48.38s 0.002s 48.41s 22 1,327 133.151s 0.002s 133.184s 23 636 63.9s 0.002s 63.976s Oct 28 00 3,521 352.892s 0.004s 353.014s 01 316 31.842s 0.002s 31.874s 02 348 35.066s 0.002s 35.097s 03 367 36.774s 0.002s 36.852s 04 350 35.273s 0.002s 35.303s 05 230 23.246s 0.002s 23.276s 06 6,821 683.21s 0.003s 683.314s 07 581 58.399s 0.002s 58.478s 08 6,630 664.074s 0.003s 664.181s 09 1,279 128.346s 0.003s 128.378s 10 51,379 1,634.921s 0.003s 1,635.405s 11 3,052 305.931s 0.002s 306.01s 12 632 63.518s 0.003s 63.549s 13 511 51.382s 0.002s 51.413s 14 366 36.764s 0.002s 36.844s 15 399 40.159s 0.002s 40.189s 16 417 41.969s 0.002s 41.999s 17 757 75.927s 0.002s 75.957s 18 407 40.964s 0.002s 40.995s 19 554 55.702s 0.002s 55.733s 20 183 18.343s 0.001s 18.359s 21 280,348 1,658.817s 0.004s 1,659.164s 22 334 33.658s 0.002s 33.689s 23 594 59.615s 0.002s 59.646s Oct 29 00 2,245 225.196s 0.004s 225.243s 01 289 29.145s 0.002s 29.175s 02 1,533 153.826s 0.003s 153.902s 03 2,795 280.071s 0.002s 280.15s 04 388 39.063s 0.002s 39.095s 05 326 32.894s 0.003s 32.971s 06 3,305 331.075s 0.002s 331.154s 07 416 41.861s 0.002s 41.891s 08 326 32.774s 0.001s 32.789s 09 59,823 1,658.673s 0.003s 1,659.22s 10 3,055 306.004s 0.154s 306.336s 11 229 23.054s 0.001s 23.131s 12 21,048 1,666.17s 0.004s 1,666.514s 13 258,334 1,862.31s 0.887s 1,877.419s 14 3,434 343.728s 0.45s 355.721s 15 52,425 815.729s 0.009s 826.549s 16 469 47.207s 0.002s 47.245s 17 1,782,719 1,041.729s 0.329s 1,062.754s 18 1,555,996 3,168.916s 0.102s 3,182.117s 19 189,797 1,685.93s 0.004s 1,687.07s 20 334 33.54s 0.002s 33.571s 21 9,569 958.351s 0.002s 958.495s 22 3,436 344.138s 0.001s 344.231s 23 57,000 2,205.951s 0.004s 2,206.106s Oct 30 00 2,633 263.828s 0.003s 263.954s 01 1,314 131.831s 0.003s 131.866s 02 1,465 146.886s 0.002s 146.921s 03 359 36.169s 0.002s 36.249s 04 16,212 1,623.764s 0.003s 1,623.847s 05 34,481 1,643.023s 0.002s 1,643.119s 06 780 78.235s 0.002s 78.267s 07 661 66.318s 0.003s 66.348s 08 51,434 1,619.388s 0.012s 1,619.513s 09 40,016 2,364.852s 0.019s 2,364.933s 10 6,088 610.161s 0.003s 610.209s 11 3,343,489 121.002s 1.461s 152.866s 12 689,071 2,250.347s 0.016s 2,264.301s 13 311,831 1,646.514s 0.01s 1,653.451s 14 9,391,844 2,126.444s 0.149s 2,152.833s 15 2,156,533 2,556.788s 0.371s 2,577.601s 16 159,379 1,675.167s 0.004s 1,676.649s 17 337,458 1,619.686s 0.007s 1,621.684s 18 797,972 2,276.091s 3.534s 2,434.943s 19 563,562 3,238.572s 0.01s 3,249.3s 20 189,247 3,443.586s 0.222s 3,444.994s 21 976,071 3,268.176s 0.004s 3,278.469s 22 961 96.452s 0.003s 96.482s 23 764 76.629s 0.002s 76.659s Oct 31 00 1,882 188.76s 0.004s 189.014s 01 13,317 1,333.282s 0.002s 1,333.413s 02 352 35.454s 0.005s 35.493s 03 0 0s 0s 0s Nov 01 03 712 71.42s 0.001s 71.436s 04 5,179 518.783s 0.002s 518.872s 05 625 62.852s 0.002s 62.885s 06 2,605 260.997s 0.002s 261.081s 07 654 65.718s 0.002s 65.801s 08 333 33.55s 0.002s 33.581s 09 337 33.846s 0.002s 33.876s 10 467 47.017s 0.002s 47.047s 11 237 23.945s 0.002s 23.975s 12 401 40.368s 0.003s 40.398s 13 6,388 639.705s 0.002s 639.739s 14 7,260 727.521s 0.003s 727.585s 15 563 56.504s 0.003s 56.536s 16 748 75.013s 0.002s 75.045s 17 570 57.186s 0.002s 57.228s 18 787 78.939s 0.003s 78.969s 19 662 66.523s 0.003s 66.554s 20 834 83.632s 0.002s 83.676s 21 1,047 104.96s 0.003s 104.992s 22 785 78.744s 0.003s 78.774s 23 677 67.909s 0.004s 67.941s Nov 02 00 827 82.951s 0.003s 83.062s 01 11,107 1,111.988s 0.003s 1,112.11s 02 271 27.236s 0.001s 27.25s 03 52,780 1,665.32s 0.004s 1,665.498s 04 333 33.452s 0.002s 33.469s 05 12,125 1,213.989s 0.005s 1,214.097s 06 25,230 1,643.709s 0.003s 1,643.822s 07 845 84.854s 0.002s 84.885s 08 501 50.29s 0.002s 50.321s 09 715 71.729s 0.003s 71.761s 10 413 41.474s 0.002s 41.49s 21 2 0.182s 0.001s 0.208s 22 583 58.707s 0.003s 58.738s 23 532 53.389s 0.003s 53.42s Day Hour Added Removed Recycled Synced files Longest sync Average sync Oct 27 00 0 0 3 78 0.001s 0.002s 01 0 0 0 37 0.002s 0.002s 02 0 0 1 52 0.001s 0.002s 03 0 0 4 27 0.001s 0.001s 04 0 0 41 93 0.002s 0.003s 05 0 0 2 48 0.002s 0.002s 06 0 0 0 32 0.001s 0.002s 07 0 0 4 154 0.001s 0.002s 08 0 0 1 76 0.001s 0.002s 09 0 0 0 28 0.001s 0.002s 10 0 0 4 36 0.002s 0.002s 11 0 0 0 26 0.001s 0.002s 12 0 0 0 28 0.001s 0.002s 13 0 0 1 27 0.001s 0.002s 14 0 0 0 123 0.002s 0.002s 15 0 0 0 79 0.002s 0.002s 16 0 0 2 36 0.001s 0.002s 17 0 0 0 17 0.001s 0.002s 18 0 0 2 35 0.001s 0.002s 19 0 0 1 42 0.002s 0.002s 20 0 0 0 18 0.002s 0.002s 21 0 0 0 16 0.001s 0.002s 22 0 0 0 42 0.001s 0.002s 23 0 0 1 32 0.001s 0.002s Oct 28 00 0 0 1 97 0.001s 0.002s 01 0 0 0 39 0.001s 0.002s 02 0 0 0 36 0.001s 0.002s 03 0 0 1 35 0.001s 0.002s 04 0 0 0 39 0.001s 0.002s 05 0 0 0 19 0.001s 0.002s 06 0 0 3 109 0.001s 0.002s 07 0 0 1 130 0.001s 0.002s 08 0 0 3 99 0.001s 0.002s 09 0 0 0 88 0.001s 0.002s 10 0 0 31 88 0.001s 0.002s 11 0 0 1 128 0.001s 0.002s 12 0 0 0 86 0.002s 0.002s 13 0 0 0 72 0.001s 0.002s 14 0 0 1 25 0.001s 0.002s 15 0 0 0 27 0.001s 0.002s 16 0 0 0 75 0.001s 0.002s 17 0 0 0 81 0.001s 0.002s 18 0 0 0 67 0.001s 0.002s 19 0 0 0 73 0.001s 0.002s 20 0 0 0 12 0.001s 0.001s 21 0 0 22 53 0.002s 0.003s 22 0 0 0 20 0.001s 0.002s 23 0 0 0 20 0.001s 0.002s Oct 29 00 0 0 1 76 0.001s 0.002s 01 0 0 0 34 0.001s 0.002s 02 0 0 1 55 0.002s 0.002s 03 0 0 1 43 0.001s 0.002s 04 0 0 0 33 0.001s 0.002s 05 0 0 1 64 0.001s 0.002s 06 0 0 1 157 0.001s 0.002s 07 0 0 0 76 0.001s 0.002s 08 0 0 0 31 0.001s 0.001s 09 0 0 39 160 0.001s 0.003s 10 0 0 1 827 0.002s 0.002s 11 0 0 1 56 0.001s 0.001s 12 0 0 18 225 0.001s 0.003s 13 0 158 1,073 223 0.475s 0.019s 14 0 0 865 267 0.437s 0.005s 15 0 0 877 136 0.001s 0.003s 16 0 0 0 32 0.001s 0.002s 17 0 32 1,615 281 0.127s 0.007s 18 0 0 1,076 175 0.023s 0.003s 19 0 0 90 149 0.001s 0.003s 20 0 0 0 20 0.001s 0.002s 21 0 5 0 44 0.001s 0.002s 22 0 2 0 20 0.001s 0.001s 23 0 38 0 66 0.001s 0.003s Oct 30 00 0 1 0 91 0.001s 0.002s 01 0 1 0 49 0.002s 0.002s 02 0 0 0 53 0.001s 0.002s 03 0 1 0 34 0.001s 0.002s 04 0 3 0 64 0.002s 0.002s 05 0 22 0 55 0.001s 0.002s 06 0 0 0 98 0.001s 0.002s 07 0 0 0 127 0.001s 0.002s 08 0 37 0 113 0.002s 0.001s 09 0 4 0 292 0.002s 0.002s 10 0 0 0 100 0.001s 0.003s 11 0 45 2,166 177 0.757s 0.065s 12 0 0 1,059 150 0.002s 0.003s 13 0 0 571 104 0.001s 0.002s 14 0 721 1,748 712 0.057s 0.005s 15 0 0 1,614 285 0.133s 0.005s 16 0 0 108 147 0.001s 0.003s 17 0 192 114 69 0.003s 0.001s 18 0 901 10,657 1,007 0.962s 0.166s 19 0 0 876 145 0.001s 0.002s 20 0 86 45 128 0.140s 0.006s 21 0 0 840 176 0.001s 0.003s 22 0 0 0 30 0.002s 0.002s 23 0 0 0 28 0.001s 0.002s Oct 31 00 0 2 0 88 0.002s 0.002s 01 0 7 0 57 0.001s 0.002s 02 0 1 0 42 0.001s 0.002s 03 0 0 0 0 0s 0s Nov 01 03 0 0 0 31 0.001s 0.001s 04 0 3 0 48 0.001s 0.002s 05 0 0 0 39 0.001s 0.002s 06 0 1 0 101 0.001s 0.002s 07 0 1 0 40 0.001s 0.002s 08 0 0 0 27 0.001s 0.002s 09 0 0 0 28 0.001s 0.002s 10 0 0 0 31 0.001s 0.002s 11 0 0 0 23 0.001s 0.002s 12 0 0 0 28 0.001s 0.002s 13 0 3 0 34 0.001s 0.001s 14 0 4 0 74 0.001s 0.003s 15 0 0 0 29 0.001s 0.002s 16 0 0 0 27 0.001s 0.002s 17 0 1 0 26 0.001s 0.002s 18 0 0 0 36 0.001s 0.002s 19 0 0 0 30 0.001s 0.002s 20 0 1 0 29 0.001s 0.002s 21 0 0 0 29 0.001s 0.002s 22 0 0 0 26 0.001s 0.002s 23 0 0 0 22 0.001s 0.002s Nov 02 00 0 1 0 58 0.001s 0.001s 01 0 8 0 68 0.001s 0.003s 02 0 0 0 15 0.001s 0.001s 03 0 34 0 75 0.001s 0.003s 04 0 0 0 17 0.001s 0.001s 05 0 8 0 67 0.001s 0.003s 06 0 16 0 54 0.001s 0.002s 07 0 0 0 29 0.001s 0.002s 08 0 0 0 23 0.001s 0.002s 09 0 0 0 30 0.001s 0.002s 10 0 0 0 18 0.001s 0.001s 21 0 0 0 1 0.001s 0.001s 22 0 0 0 21 0.001s 0.002s 23 0 0 0 22 0.001s 0.002s Day Hour Count Avg time (sec) Oct 27 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 Oct 28 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 Oct 29 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 Oct 30 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 Oct 31 00 0 0s 01 0 0s 02 0 0s 03 0 0s Nov 01 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 02 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate Oct 27 00 22,577.00 kB 37,364.00 kB 01 1,664.50 kB 30,774.00 kB 02 5,641.50 kB 25,638.50 kB 03 59,598.00 kB 59,598.00 kB 04 223,691.33 kB 545,212.33 kB 05 18,238.50 kB 424,744.50 kB 06 2,203.50 kB 344,510.50 kB 07 34,650.00 kB 285,550.50 kB 08 2,543.00 kB 231,827.00 kB 09 2,411.00 kB 188,231.00 kB 10 29,812.50 kB 158,150.00 kB 11 2,548.50 kB 128,580.00 kB 12 2,210.00 kB 104,606.50 kB 13 3,880.00 kB 85,469.50 kB 14 2,536.00 kB 69,663.00 kB 15 2,420.00 kB 56,914.50 kB 16 11,344.00 kB 48,272.00 kB 17 1,357.00 kB 39,363.00 kB 18 17,636.00 kB 35,230.00 kB 19 4,825.00 kB 29,427.00 kB 20 1,544.50 kB 24,152.50 kB 21 1,488.00 kB 19,853.50 kB 22 3,875.00 kB 16,768.50 kB 23 1,877.00 kB 13,972.00 kB Oct 28 00 12,439.50 kB 19,908.50 kB 01 937.50 kB 16,438.50 kB 02 975.50 kB 13,502.50 kB 03 1,125.50 kB 11,144.50 kB 04 1,094.00 kB 9,239.50 kB 05 398.00 kB 7,576.50 kB 06 30,578.50 kB 56,284.50 kB 07 1,807.50 kB 45,952.00 kB 08 25,413.00 kB 46,206.00 kB 09 3,885.50 kB 37,954.00 kB 10 247,857.50 kB 469,566.00 kB 11 12,637.50 kB 382,732.50 kB 12 1,743.50 kB 310,381.50 kB 13 1,362.00 kB 251,653.50 kB 14 878.50 kB 204,029.00 kB 15 1,135.00 kB 165,451.50 kB 16 1,208.00 kB 134,244.50 kB 17 1,830.00 kB 109,075.50 kB 18 1,135.00 kB 88,581.00 kB 19 1,536.50 kB 72,030.00 kB 20 1,104.00 kB 61,607.00 kB 21 118,602.33 kB 319,240.00 kB 22 962.00 kB 245,006.50 kB 23 1,224.50 kB 198,675.00 kB Oct 29 00 7,893.50 kB 162,352.50 kB 01 811.50 kB 131,751.50 kB 02 4,825.00 kB 107,280.50 kB 03 9,916.00 kB 88,326.00 kB 04 1,056.00 kB 72,552.50 kB 05 969.00 kB 58,933.50 kB 06 11,562.00 kB 49,043.00 kB 07 1,252.50 kB 40,869.00 kB 08 2,061.00 kB 35,105.00 kB 09 213,664.33 kB 576,672.33 kB 10 8,944.50 kB 443,786.50 kB 11 1,507.00 kB 378,689.00 kB 12 98,551.00 kB 334,474.33 kB 13 6,550,376.00 kB 6,552,869.67 kB 14 7,086,812.50 kB 8,650,822.00 kB 15 4,965,404.33 kB 8,319,162.00 kB 16 1,159.50 kB 6,585,065.00 kB 17 6,613,367.50 kB 8,017,345.00 kB 18 8,811,376.00 kB 8,819,288.50 kB 19 669,168.33 kB 7,351,132.33 kB 20 948.00 kB 5,636,070.00 kB 21 42,677.50 kB 4,573,314.00 kB 22 23,368.00 kB 3,901,738.00 kB 23 207,388.33 kB 3,226,632.00 kB Oct 30 00 12,990.00 kB 2,477,934.50 kB 01 4,123.00 kB 2,007,620.50 kB 02 4,065.50 kB 1,627,232.50 kB 03 1,033.00 kB 1,318,249.00 kB 04 25,906.50 kB 1,072,554.00 kB 05 179,031.50 kB 902,888.00 kB 06 1,702.00 kB 731,668.00 kB 07 2,178.00 kB 593,058.50 kB 08 560,502.00 kB 561,806.00 kB 09 27,041.00 kB 485,337.50 kB 10 20,744.00 kB 379,471.00 kB 11 7,140,625.00 kB 7,342,370.60 kB 12 5,954,119.00 kB 8,805,733.67 kB 13 4,413,593.00 kB 8,105,180.00 kB 14 8,090,864.40 kB 8,912,918.40 kB 15 8,817,951.33 kB 8,999,220.33 kB 16 764,242.67 kB 7,508,386.33 kB 17 4,489,691.00 kB 6,508,513.00 kB 18 8,607,341.41 kB 9,002,079.41 kB 19 7,176,910.00 kB 8,867,746.50 kB 20 716,765.00 kB 7,204,523.67 kB 21 4,758,654.00 kB 8,301,258.67 kB 22 2,821.50 kB 6,519,967.50 kB 23 1,983.50 kB 5,281,656.00 kB Oct 31 00 11,767.50 kB 4,280,212.00 kB 01 63,646.50 kB 3,479,251.50 kB 02 1,053.00 kB 2,818,405.50 kB 03 0.00 kB 0.00 kB Nov 01 03 4,241.00 kB 148,286.00 kB 04 24,452.50 kB 131,383.50 kB 05 1,343.00 kB 106,650.00 kB 06 7,094.50 kB 87,746.50 kB 07 1,882.00 kB 71,373.50 kB 08 843.50 kB 58,063.50 kB 09 874.50 kB 47,196.00 kB 10 1,183.50 kB 38,452.00 kB 11 663.00 kB 31,275.00 kB 12 1,067.00 kB 25,524.00 kB 13 49,822.00 kB 49,822.00 kB 14 21,545.33 kB 55,103.00 kB 15 1,611.50 kB 42,633.00 kB 16 1,905.00 kB 34,912.50 kB 17 1,639.50 kB 28,586.50 kB 18 2,132.00 kB 23,556.00 kB 19 1,963.00 kB 19,442.50 kB 20 2,530.00 kB 16,209.50 kB 21 2,272.50 kB 13,569.00 kB 22 2,152.00 kB 11,381.50 kB 23 2,125.00 kB 9,634.50 kB Nov 02 00 18,230.00 kB 18,230.00 kB 01 39,310.00 kB 103,434.33 kB 02 1,794.00 kB 83,839.00 kB 03 188,741.33 kB 508,826.67 kB 04 1,599.00 kB 410,938.00 kB 05 41,211.33 kB 344,972.67 kB 06 128,635.50 kB 289,116.00 kB 07 1,903.50 kB 234,532.50 kB 08 1,701.00 kB 190,326.50 kB 09 2,096.00 kB 154,553.00 kB 10 2,290.00 kB 132,106.00 kB 21 0.00 kB 0.00 kB 22 1,380.00 kB 1,380.00 kB 23 1,678.00 kB 2,501.00 kB -
Temporary Files
Size of temporary files
Key values
- 21.00 GiB Temp Files size Peak
- 2024-10-30 11:33:10 Date
Number of temporary files
Key values
- 24 per second Temp Files Peak
- 2024-10-30 18:10:59 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Oct 27 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 Oct 28 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 Oct 29 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 806 26.20 GiB 33.29 MiB 14 202 18.95 GiB 96.07 MiB 15 115 5.39 GiB 47.96 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 Oct 30 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 75 73.32 GiB 1001.01 MiB 11 183 144.74 GiB 809.91 MiB 12 155 37.04 GiB 244.69 MiB 13 175 16.29 GiB 95.31 MiB 14 166 31.58 GiB 194.83 MiB 15 0 0 0 16 0 0 0 17 0 0 0 18 983 154.38 GiB 160.82 MiB 19 0 0 0 20 0 0 0 21 8 7.98 GiB 1020.89 MiB 22 0 0 0 23 0 0 0 Oct 31 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 Nov 01 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 02 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 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 1,193 69.33 GiB 8.00 KiB 1.00 GiB 59.51 MiB select * from pgbulkload.pg_bulkload (?);-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub2.GENE_DISEASE_REFERENCE,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.log,parse-badfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.DUPE}');
Date: 2024-10-30 11:44:24 Duration: 6m30s Database: ctdprd51 User: load Application: pg_bulkload
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub2.DAG_PATH,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.log,parse-badfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.DUPE}');
Date: 2024-10-30 12:12:16 Duration: 5m15s
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=edit.DB_LINK,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.log,parse-badfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.DUPE}');
Date: 2024-10-29 13:32:10 Duration: 4m3s
2 901 151.70 GiB 136.00 KiB 1.00 GiB 172.40 MiB vacuum full analyze;-
VACUUM FULL ANALYZE;
Date: 2024-10-30 18:50:31 Duration: 46m46s
-
VACUUM FULL ANALYZE;
Date: 2024-10-30 18:03:45 Duration: 0ms
3 72 71.37 GiB 382.66 MiB 1.00 GiB 1015.09 MiB select distinct gga.go_term_id, gcr.chem_id, ptr.term_object_type_id, gga.gene_id, ( select id from pub2.object_type where cd = ?), ( select current_date) from pub2.gene_chem_reference gcr, pub2.gene_go_annot gga, pub2.phenotype_term_reference ptr where gcr.gene_id = gga.gene_id and gcr.chem_id = ptr.term_id and gga.go_term_id = ptr.phenotype_id and gcr.id not in;-
select distinct gga.go_term_id, gcr.chem_id, ptr.term_object_type_id, gga.gene_id, ( select id from pub2.OBJECT_TYPE where cd = 'gene'), ( select current_date) from pub2.GENE_CHEM_REFERENCE gcr, pub2.GENE_GO_ANNOT gga, pub2.PHENOTYPE_TERM_REFERENCE ptr where gcr.gene_id = gga.gene_id and gcr.chem_id = ptr.term_id and gga.go_term_id = ptr.phenotype_id and gcr.id not in;
Date: 2024-10-30 11:33:07 Duration: 0ms
4 62 1.98 GiB 6.70 MiB 1.00 GiB 32.68 MiB cluster pub2.term;-
CLUSTER pub2.TERM;
Date: 2024-10-30 18:03:08 Duration: 59s471ms
-
CLUSTER pub2.TERM;
Date: 2024-10-30 18:02:19 Duration: 0ms
5 49 48.11 GiB 110.77 MiB 1.00 GiB 1005.36 MiB select distinct ptr.phenotype_id, gcr.gene_id, ( select id from pub2.object_type where cd = ?), ptr.term_id, ( select id from pub2.object_type where cd = ?), ( select current_date) from pub2.gene_chem_reference gcr, pub2.phenotype_term_reference ptr, pub2.phenotype_term_reference ptr2 where gcr.chem_id = ptr.term_id and ptr.phenotype_id = ptr2.phenotype_id and gcr.gene_id = ptr2.term_id and gcr.id not in;-
select distinct ptr.phenotype_id, gcr.gene_id, ( select id from pub2.OBJECT_TYPE where cd = 'gene'), ptr.term_id, ( select id from pub2.OBJECT_TYPE where cd = 'chem'), ( select current_date) from pub2.GENE_CHEM_REFERENCE gcr, pub2.PHENOTYPE_TERM_REFERENCE ptr, pub2.PHENOTYPE_TERM_REFERENCE ptr2 where gcr.chem_id = ptr.term_id and ptr.phenotype_id = ptr2.phenotype_id and gcr.gene_id = ptr2.term_id and gcr.id not in;
Date: 2024-10-30 10:50:55 Duration: 0ms
6 35 3.69 GiB 59.34 MiB 148.01 MiB 108.00 MiB vacuum full analyze db_link;-
vacuum FULL analyze db_link;
Date: 2024-10-29 15:03:31 Duration: 1m37s
-
vacuum FULL analyze db_link;
Date: 2024-10-29 15:02:12 Duration: 0ms
7 35 1.12 GiB 23.23 MiB 49.66 MiB 32.88 MiB vacuum full analyze ixn_actor;-
vacuum FULL analyze ixn_actor;
Date: 2024-10-29 15:01:28 Duration: 24s376ms
-
vacuum FULL analyze ixn_actor;
Date: 2024-10-29 15:01:10 Duration: 0ms
8 26 25.21 GiB 213.34 MiB 1.00 GiB 992.82 MiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, to_char(cdr.mod_tm, ?) from pub2.gene_chem_reference gcr, pub2.chem_disease_reference cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = ? and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;-
select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;
Date: 2024-10-30 10:10:11 Duration: 0ms
9 25 369.43 MiB 10.24 MiB 21.37 MiB 14.78 MiB vacuum full analyze ixn;-
vacuum FULL analyze ixn;
Date: 2024-10-29 15:01:45 Duration: 7s315ms
-
vacuum FULL analyze ixn;
Date: 2024-10-29 15:01:40 Duration: 0ms
10 25 16.10 GiB 8.00 KiB 1.00 GiB 659.46 MiB alter table pub2.term_enrichment_agent add constraint term_enrichment_agent_pk primary key (term_id, enriched_term_id, agent_term_id);-
ALTER TABLE pub2.term_enrichment_agent ADD CONSTRAINT term_enrichment_agent_pk PRIMARY KEY (term_id, enriched_term_id, agent_term_id);
Date: 2024-10-30 14:20:06 Duration: 2m57s
-
ALTER TABLE pub2.term_enrichment_agent ADD CONSTRAINT term_enrichment_agent_pk PRIMARY KEY (term_id, enriched_term_id, agent_term_id);
Date: 2024-10-30 14:20:05 Duration: 0ms
11 20 215.53 MiB 5.01 MiB 17.38 MiB 10.78 MiB vacuum full analyze term;-
vacuum FULL analyze TERM;
Date: 2024-10-29 15:01:27 Duration: 10s628ms
-
vacuum FULL analyze TERM;
Date: 2024-10-29 15:01:19 Duration: 0ms
12 20 721.26 MiB 18.76 MiB 64.81 MiB 36.06 MiB cluster pub2.term_label;-
CLUSTER pub2.TERM_LABEL;
Date: 2024-10-30 18:03:42 Duration: 34s461ms
-
CLUSTER pub2.TERM_LABEL;
Date: 2024-10-30 18:03:14 Duration: 0ms
13 20 12.49 GiB 8.00 KiB 1.00 GiB 639.26 MiB create unique index gene_disease_reference_ak1 on pub2.gene_disease_reference using btree (gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id);-
CREATE UNIQUE INDEX gene_disease_reference_ak1 ON pub2.gene_disease_reference USING btree (gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id);
Date: 2024-10-30 11:49:55 Duration: 3m8s
-
CREATE UNIQUE INDEX gene_disease_reference_ak1 ON pub2.gene_disease_reference USING btree (gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id);
Date: 2024-10-30 11:49:55 Duration: 0ms
14 15 6.94 GiB 8.00 KiB 1.00 GiB 473.53 MiB alter table pub2.gene_disease_reference add constraint gene_disease_reference_pk primary key (id);-
ALTER TABLE pub2.gene_disease_reference ADD CONSTRAINT gene_disease_reference_pk PRIMARY KEY (id);
Date: 2024-10-30 11:46:47 Duration: 1m9s
-
ALTER TABLE pub2.gene_disease_reference ADD CONSTRAINT gene_disease_reference_pk PRIMARY KEY (id);
Date: 2024-10-30 11:46:46 Duration: 0ms Database: ctdprd51 User: pub2
15 15 11.50 GiB 261.86 MiB 1.00 GiB 785.06 MiB create index ix_term_enrich_agent_enr_term on pub2.term_enrichment_agent using btree (enriched_term_id);-
CREATE INDEX ix_term_enrich_agent_enr_term ON pub2.term_enrichment_agent USING btree (enriched_term_id);
Date: 2024-10-30 14:21:52 Duration: 1m46s
-
CREATE INDEX ix_term_enrich_agent_enr_term ON pub2.term_enrichment_agent USING btree (enriched_term_id);
Date: 2024-10-30 14:21:51 Duration: 0ms
16 10 6.94 GiB 371.12 MiB 1.00 GiB 710.29 MiB create index ix_gene_disease_ref_src_db on pub2.gene_disease_reference using btree (source_acc_db_id);-
CREATE INDEX ix_gene_disease_ref_src_db ON pub2.gene_disease_reference USING btree (source_acc_db_id);
Date: 2024-10-30 11:50:43 Duration: 47s839ms
-
CREATE INDEX ix_gene_disease_ref_src_db ON pub2.gene_disease_reference USING btree (source_acc_db_id);
Date: 2024-10-30 11:50:43 Duration: 0ms
17 10 244.36 MiB 8.00 KiB 49.68 MiB 24.44 MiB alter table pub2.chem_disease_reference add constraint chem_disease_reference_pk primary key (id);-
ALTER TABLE pub2.chem_disease_reference ADD CONSTRAINT chem_disease_reference_pk PRIMARY KEY (id);
Date: 2024-10-30 12:05:27 Duration: 2s849ms
-
ALTER TABLE pub2.chem_disease_reference ADD CONSTRAINT chem_disease_reference_pk PRIMARY KEY (id);
Date: 2024-10-30 12:05:27 Duration: 0ms
18 10 1.02 GiB 8.00 KiB 217.89 MiB 104.80 MiB alter table pub2.phenotype_term_reference add constraint phenotype_term_reference_pk primary key (id);-
ALTER TABLE pub2.phenotype_term_reference ADD CONSTRAINT phenotype_term_reference_pk PRIMARY KEY (id);
Date: 2024-10-30 12:03:03 Duration: 12s308ms
-
ALTER TABLE pub2.phenotype_term_reference ADD CONSTRAINT phenotype_term_reference_pk PRIMARY KEY (id);
Date: 2024-10-30 12:03:02 Duration: 0ms
19 10 158.34 MiB 8.00 KiB 32.16 MiB 15.83 MiB alter table pub2.term_enrichment add constraint term_enrichment_pk primary key (term_id, enriched_term_id);-
ALTER TABLE pub2.term_enrichment ADD CONSTRAINT term_enrichment_pk PRIMARY KEY (term_id, enriched_term_id);
Date: 2024-10-30 14:04:07 Duration: 2s733ms
-
ALTER TABLE pub2.term_enrichment ADD CONSTRAINT term_enrichment_pk PRIMARY KEY (term_id, enriched_term_id);
Date: 2024-10-30 14:04:07 Duration: 0ms Database: ctdprd51 User: pub2
20 10 6.94 GiB 349.14 MiB 1.00 GiB 710.29 MiB create index ix_gene_disease_reference_ixn on pub2.gene_disease_reference using btree (ixn_id);-
CREATE INDEX ix_gene_disease_reference_ixn ON pub2.gene_disease_reference USING btree (ixn_id);
Date: 2024-10-30 11:59:05 Duration: 1m22s
-
CREATE INDEX ix_gene_disease_reference_ixn ON pub2.gene_disease_reference USING btree (ixn_id);
Date: 2024-10-30 11:59:05 Duration: 0ms
21 10 6.94 GiB 370.38 MiB 1.00 GiB 710.29 MiB create index ix_gene_disease_ref_mod_tm on pub2.gene_disease_reference using btree (mod_tm);-
CREATE INDEX ix_gene_disease_ref_mod_tm ON pub2.gene_disease_reference USING btree (mod_tm);
Date: 2024-10-30 12:00:29 Duration: 1m23s
-
CREATE INDEX ix_gene_disease_ref_mod_tm ON pub2.gene_disease_reference USING btree (mod_tm);
Date: 2024-10-30 12:00:28 Duration: 0ms
22 10 6.94 GiB 324.91 MiB 1.00 GiB 710.29 MiB create index ix_gene_disease_ref_reference on pub2.gene_disease_reference using btree (reference_id);-
CREATE INDEX ix_gene_disease_ref_reference ON pub2.gene_disease_reference USING btree (reference_id);
Date: 2024-10-30 11:55:53 Duration: 1m19s
-
CREATE INDEX ix_gene_disease_ref_reference ON pub2.gene_disease_reference USING btree (reference_id);
Date: 2024-10-30 11:55:53 Duration: 0ms
23 10 445.15 MiB 8.00 KiB 91.43 MiB 44.51 MiB create unique index chem_disease_reference_ak1 on pub2.chem_disease_reference using btree (chem_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_gene_id);-
CREATE UNIQUE INDEX chem_disease_reference_ak1 ON pub2.chem_disease_reference USING btree (chem_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_gene_id);
Date: 2024-10-30 12:05:02 Duration: 6s130ms
-
CREATE UNIQUE INDEX chem_disease_reference_ak1 ON pub2.chem_disease_reference USING btree (chem_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_gene_id);
Date: 2024-10-30 12:05:02 Duration: 0ms
24 10 6.94 GiB 336.43 MiB 1.00 GiB 710.29 MiB create index ix_gene_disease_ref_dis_gene on pub2.gene_disease_reference using btree (disease_id, gene_id);-
CREATE INDEX ix_gene_disease_ref_dis_gene ON pub2.gene_disease_reference USING btree (disease_id, gene_id);
Date: 2024-10-30 11:57:43 Duration: 1m49s
-
CREATE INDEX ix_gene_disease_ref_dis_gene ON pub2.gene_disease_reference USING btree (disease_id, gene_id);
Date: 2024-10-30 11:57:42 Duration: 0ms
25 10 6.94 GiB 326.63 MiB 1.00 GiB 710.29 MiB create index ix_gene_disease_ref_chem on pub2.gene_disease_reference using btree (via_chem_id);-
CREATE INDEX ix_gene_disease_ref_chem ON pub2.gene_disease_reference USING btree (via_chem_id);
Date: 2024-10-30 11:53:08 Duration: 1m28s
-
CREATE INDEX ix_gene_disease_ref_chem ON pub2.gene_disease_reference USING btree (via_chem_id);
Date: 2024-10-30 11:53:08 Duration: 0ms
26 10 6.94 GiB 314.73 MiB 1.00 GiB 710.29 MiB create index ix_gene_disease_ref_net_sc on pub2.gene_disease_reference using btree (network_score);-
CREATE INDEX ix_gene_disease_ref_net_sc ON pub2.gene_disease_reference USING btree (network_score);
Date: 2024-10-30 12:02:50 Duration: 2m21s
-
CREATE INDEX ix_gene_disease_ref_net_sc ON pub2.gene_disease_reference USING btree (network_score);
Date: 2024-10-30 12:02:50 Duration: 0ms
27 10 6.94 GiB 358.83 MiB 1.00 GiB 710.29 MiB create index ix_gene_disease_ref_disease on pub2.gene_disease_reference using btree (disease_id);-
CREATE INDEX ix_gene_disease_ref_disease ON pub2.gene_disease_reference USING btree (disease_id);
Date: 2024-10-30 11:54:33 Duration: 1m24s
-
CREATE INDEX ix_gene_disease_ref_disease ON pub2.gene_disease_reference USING btree (disease_id);
Date: 2024-10-30 11:54:33 Duration: 0ms
28 10 6.94 GiB 208.82 MiB 1.00 GiB 710.29 MiB create index ix_gene_disease_ref_source_cd on pub2.gene_disease_reference using btree (source_cd);-
CREATE INDEX ix_gene_disease_ref_source_cd ON pub2.gene_disease_reference USING btree (source_cd);
Date: 2024-10-30 11:51:40 Duration: 56s867ms
-
CREATE INDEX ix_gene_disease_ref_source_cd ON pub2.gene_disease_reference USING btree (source_cd);
Date: 2024-10-30 11:51:40 Duration: 0ms
29 10 632.36 MiB 8.00 KiB 127.99 MiB 63.24 MiB alter table pub2.gene_disease add constraint gene_disease_pk primary key (gene_id, disease_id);-
ALTER TABLE pub2.gene_disease ADD CONSTRAINT gene_disease_pk PRIMARY KEY (gene_id, disease_id);
Date: 2024-10-30 14:36:21 Duration: 6s372ms
-
ALTER TABLE pub2.gene_disease ADD CONSTRAINT gene_disease_pk PRIMARY KEY (gene_id, disease_id);
Date: 2024-10-30 14:36:21 Duration: 0ms Database: ctdprd51 User: pub2
30 10 63.42 MiB 8.00 KiB 13.86 MiB 6.34 MiB alter table pub2.phenotype_term add constraint phenotype_term_pk primary key (phenotype_id, term_id);-
ALTER TABLE pub2.phenotype_term ADD CONSTRAINT phenotype_term_pk PRIMARY KEY (phenotype_id, term_id);
Date: 2024-10-30 14:36:53 Duration: 0ms
31 8 64.27 MiB 8.00 KiB 16.53 MiB 8.03 MiB alter table pub2.chem_disease add constraint chem_disease_pk primary key (chem_id, disease_id);-
ALTER TABLE pub2.chem_disease ADD CONSTRAINT chem_disease_pk PRIMARY KEY (chem_id, disease_id);
Date: 2024-10-30 14:36:59 Duration: 0ms
32 8 7.98 GiB 999.12 MiB 1.00 GiB 1020.89 MiB select pub2.maint_cached_value_refresh_data_metrics ();-
select pub2.maint_cached_value_refresh_data_metrics ();
Date: 2024-10-30 21:36:28 Duration: 33m45s
-
select pub2.maint_cached_value_refresh_data_metrics ();
Date: 2024-10-30 21:32:10 Duration: 0ms
33 6 5.39 GiB 398.38 MiB 1.00 GiB 919.73 MiB select distinct ptr.phenotype_id, cdr.disease_id, ( select id from pub2.object_type where cd = ?), cdr.reference_id, ptr.reference_id, cdr.ixn_id, cdr.chem_id, ( select id from pub2.object_type where cd = ?), cdr.mod_tm from pub2.chem_disease_reference cdr, pub2.phenotype_term_reference ptr where cdr.chem_id = ptr.term_id;-
SELECT DISTINCT ptr.phenotype_id, cdr.disease_id, ( select id from pub2.OBJECT_TYPE where cd = 'disease'), cdr.reference_id, ptr.reference_id, cdr.ixn_id, cdr.chem_id, ( select id from pub2.OBJECT_TYPE where cd = 'chem'), cdr.mod_tm FROM pub2.CHEM_DISEASE_REFERENCE cdr, pub2.PHENOTYPE_TERM_REFERENCE ptr WHERE cdr.chem_id = ptr.term_id;
Date: 2024-10-30 11:37:04 Duration: 0ms
34 5 244.31 MiB 47.89 MiB 49.56 MiB 48.86 MiB create index ix_chem_disease_ref_mod_tm on pub2.chem_disease_reference using btree (mod_tm);-
CREATE INDEX ix_chem_disease_ref_mod_tm ON pub2.chem_disease_reference USING btree (mod_tm);
Date: 2024-10-30 12:05:19 Duration: 2s756ms
-
CREATE INDEX ix_chem_disease_ref_mod_tm ON pub2.chem_disease_reference USING btree (mod_tm);
Date: 2024-10-30 12:05:19 Duration: 0ms
35 5 1.02 GiB 201.41 MiB 215.86 MiB 209.58 MiB create index ix_phenotype_term_ref_taxon_id on pub2.phenotype_term_reference using btree (taxon_id);-
CREATE INDEX ix_phenotype_term_ref_taxon_id ON pub2.phenotype_term_reference USING btree (taxon_id);
Date: 2024-10-30 12:03:50 Duration: 7s245ms
-
CREATE INDEX ix_phenotype_term_ref_taxon_id ON pub2.phenotype_term_reference USING btree (taxon_id);
Date: 2024-10-30 12:03:50 Duration: 0ms
36 5 1.02 GiB 205.81 MiB 214.25 MiB 209.58 MiB create index ix_phenotype_term_reference_ixn_id on pub2.phenotype_term_reference using btree (ixn_id);-
CREATE INDEX ix_phenotype_term_reference_ixn_id ON pub2.phenotype_term_reference USING btree (ixn_id);
Date: 2024-10-30 12:04:29 Duration: 10s637ms
-
CREATE INDEX ix_phenotype_term_reference_ixn_id ON pub2.phenotype_term_reference USING btree (ixn_id);
Date: 2024-10-30 12:04:29 Duration: 0ms
37 5 1.02 GiB 208.04 MiB 210.71 MiB 209.58 MiB create index ix_phenotype_term_reference_source_acc_db_id on pub2.phenotype_term_reference using btree (source_acc_db_id);-
CREATE INDEX ix_phenotype_term_reference_source_acc_db_id ON pub2.phenotype_term_reference USING btree (source_acc_db_id);
Date: 2024-10-30 12:04:08 Duration: 9s125ms
-
CREATE INDEX ix_phenotype_term_reference_source_acc_db_id ON pub2.phenotype_term_reference USING btree (source_acc_db_id);
Date: 2024-10-30 12:04:08 Duration: 0ms
38 5 680.00 KiB 128.00 KiB 144.00 KiB 136.00 KiB create index ix_gene_disease_cur_ref_qty on pub2.gene_disease using btree (curated_reference_qty) where (curated_reference_qty > ?);-
CREATE INDEX ix_gene_disease_cur_ref_qty ON pub2.gene_disease USING btree (curated_reference_qty) WHERE (curated_reference_qty > 0);
Date: 2024-10-30 14:36:44 Duration: 0ms
39 5 632.30 MiB 120.98 MiB 128.91 MiB 126.46 MiB create index ix_gene_disease_network_score on pub2.gene_disease using btree (network_score);-
CREATE INDEX ix_gene_disease_network_score ON pub2.gene_disease USING btree (network_score);
Date: 2024-10-30 14:36:36 Duration: 14s949ms
-
CREATE INDEX ix_gene_disease_network_score ON pub2.gene_disease USING btree (network_score);
Date: 2024-10-30 14:36:36 Duration: 0ms
40 5 1.02 GiB 204.95 MiB 211.51 MiB 209.58 MiB create index ix_phenotype_term_ref_evidence_cd on pub2.phenotype_term_reference using btree (evidence_cd);-
CREATE INDEX ix_phenotype_term_ref_evidence_cd ON pub2.phenotype_term_reference USING btree (evidence_cd);
Date: 2024-10-30 12:03:59 Duration: 8s571ms
-
CREATE INDEX ix_phenotype_term_ref_evidence_cd ON pub2.phenotype_term_reference USING btree (evidence_cd);
Date: 2024-10-30 12:03:59 Duration: 0ms
41 5 1.02 GiB 199.99 MiB 217.16 MiB 209.58 MiB create index ix_phenotype_term_ref_reference_id on pub2.phenotype_term_reference using btree (reference_id);-
CREATE INDEX ix_phenotype_term_ref_reference_id ON pub2.phenotype_term_reference USING btree (reference_id);
Date: 2024-10-30 12:03:43 Duration: 10s909ms
-
CREATE INDEX ix_phenotype_term_ref_reference_id ON pub2.phenotype_term_reference USING btree (reference_id);
Date: 2024-10-30 12:03:43 Duration: 0ms
42 5 63.39 MiB 10.57 MiB 13.63 MiB 12.68 MiB create index ix_phenotype_term_term_id on pub2.phenotype_term using btree (term_id);-
CREATE INDEX ix_phenotype_term_term_id ON pub2.phenotype_term USING btree (term_id);
Date: 2024-10-30 14:36:54 Duration: 0ms
43 5 244.32 MiB 43.77 MiB 53.84 MiB 48.86 MiB create index ix_chem_disease_reference_dis on pub2.chem_disease_reference using btree (disease_id);-
CREATE INDEX ix_chem_disease_reference_dis ON pub2.chem_disease_reference USING btree (disease_id);
Date: 2024-10-30 12:05:04 Duration: 2s783ms
-
CREATE INDEX ix_chem_disease_reference_dis ON pub2.chem_disease_reference USING btree (disease_id);
Date: 2024-10-30 12:05:04 Duration: 0ms
44 5 1.02 GiB 179.41 MiB 226.97 MiB 209.58 MiB create index ix_phenotype_term_ref_term_id on pub2.phenotype_term_reference using btree (term_id);-
CREATE INDEX ix_phenotype_term_ref_term_id ON pub2.phenotype_term_reference USING btree (term_id);
Date: 2024-10-30 12:03:23 Duration: 11s461ms
-
CREATE INDEX ix_phenotype_term_ref_term_id ON pub2.phenotype_term_reference USING btree (term_id);
Date: 2024-10-30 12:03:23 Duration: 0ms
45 5 158.30 MiB 29.02 MiB 34.07 MiB 31.66 MiB create index ix_term_enrich_enr_obj_type on pub2.term_enrichment using btree (enriched_object_type_id);-
CREATE INDEX ix_term_enrich_enr_obj_type ON pub2.term_enrichment USING btree (enriched_object_type_id);
Date: 2024-10-30 14:04:11 Duration: 1s45ms
-
CREATE INDEX ix_term_enrich_enr_obj_type ON pub2.term_enrichment USING btree (enriched_object_type_id);
Date: 2024-10-30 14:04:11 Duration: 0ms
46 5 40.00 KiB 8.00 KiB 8.00 KiB 8.00 KiB create index ix_gene_disease_exp_ref_qty on pub2.gene_disease using btree (exposure_reference_qty) where (exposure_reference_qty > ?);-
CREATE INDEX ix_gene_disease_exp_ref_qty ON pub2.gene_disease USING btree (exposure_reference_qty) WHERE (exposure_reference_qty > 0);
Date: 2024-10-30 14:36:52 Duration: 0ms
47 5 221.04 MiB 43.13 MiB 45.31 MiB 44.21 MiB create index ix_term_enrich_corr_p_val on pub2.term_enrichment using btree (corrected_p_val);-
CREATE INDEX ix_term_enrich_corr_p_val ON pub2.term_enrichment USING btree (corrected_p_val);
Date: 2024-10-30 14:04:15 Duration: 4s523ms
-
CREATE INDEX ix_term_enrich_corr_p_val ON pub2.term_enrichment USING btree (corrected_p_val);
Date: 2024-10-30 14:04:15 Duration: 0ms
48 5 244.33 MiB 45.64 MiB 50.03 MiB 48.87 MiB create index ix_chem_disease_reference_ixn on pub2.chem_disease_reference using btree (ixn_id);-
CREATE INDEX ix_chem_disease_reference_ixn ON pub2.chem_disease_reference USING btree (ixn_id);
Date: 2024-10-30 12:05:17 Duration: 2s804ms
-
CREATE INDEX ix_chem_disease_reference_ixn ON pub2.chem_disease_reference USING btree (ixn_id);
Date: 2024-10-30 12:05:17 Duration: 0ms
49 5 1.02 GiB 205.41 MiB 217.24 MiB 209.58 MiB create index ix_phenotype_term_ref_via_term_id on pub2.phenotype_term_reference using btree (via_term_id);-
CREATE INDEX ix_phenotype_term_ref_via_term_id ON pub2.phenotype_term_reference USING btree (via_term_id);
Date: 2024-10-30 12:04:40 Duration: 11s15ms
-
CREATE INDEX ix_phenotype_term_ref_via_term_id ON pub2.phenotype_term_reference USING btree (via_term_id);
Date: 2024-10-30 12:04:40 Duration: 0ms
50 5 244.32 MiB 45.17 MiB 51.81 MiB 48.86 MiB create index ix_chem_disease_ref_source_cd on pub2.chem_disease_reference using btree (source_cd);-
CREATE INDEX ix_chem_disease_ref_source_cd ON pub2.chem_disease_reference USING btree (source_cd);
Date: 2024-10-30 12:05:09 Duration: 1s915ms
-
CREATE INDEX ix_chem_disease_ref_source_cd ON pub2.chem_disease_reference USING btree (source_cd);
Date: 2024-10-30 12:05:09 Duration: 0ms
51 5 244.31 MiB 46.55 MiB 49.79 MiB 48.86 MiB create index ix_chem_disease_reference_ref on pub2.chem_disease_reference using btree (reference_id);-
CREATE INDEX ix_chem_disease_reference_ref ON pub2.chem_disease_reference USING btree (reference_id);
Date: 2024-10-30 12:05:07 Duration: 2s714ms
-
CREATE INDEX ix_chem_disease_reference_ref ON pub2.chem_disease_reference USING btree (reference_id);
Date: 2024-10-30 12:05:07 Duration: 0ms
52 5 244.30 MiB 46.95 MiB 49.93 MiB 48.86 MiB create index ix_chem_disease_reference_gene on pub2.chem_disease_reference using btree (via_gene_id);-
CREATE INDEX ix_chem_disease_reference_gene ON pub2.chem_disease_reference USING btree (via_gene_id);
Date: 2024-10-30 12:05:14 Duration: 2s783ms
-
CREATE INDEX ix_chem_disease_reference_gene ON pub2.chem_disease_reference USING btree (via_gene_id);
Date: 2024-10-30 12:05:14 Duration: 0ms
53 5 244.32 MiB 48.40 MiB 49.63 MiB 48.86 MiB create index ix_chem_disease_ref_src_db on pub2.chem_disease_reference using btree (source_acc_db_id);-
CREATE INDEX ix_chem_disease_ref_src_db ON pub2.chem_disease_reference USING btree (source_acc_db_id);
Date: 2024-10-30 12:05:11 Duration: 1s911ms
-
CREATE INDEX ix_chem_disease_ref_src_db ON pub2.chem_disease_reference USING btree (source_acc_db_id);
Date: 2024-10-30 12:05:11 Duration: 0ms
54 5 158.31 MiB 28.93 MiB 32.82 MiB 31.66 MiB create index ix_term_enrich_tgt_match on pub2.term_enrichment using btree (target_match_qty);-
CREATE INDEX ix_term_enrich_tgt_match ON pub2.term_enrichment USING btree (target_match_qty);
Date: 2024-10-30 14:04:10 Duration: 1s712ms
-
CREATE INDEX ix_term_enrich_tgt_match ON pub2.term_enrichment USING btree (target_match_qty);
Date: 2024-10-30 14:04:10 Duration: 0ms
55 5 221.03 MiB 42.11 MiB 45.69 MiB 44.21 MiB create index ix_term_enrich_raw_p_val on pub2.term_enrichment using btree (raw_p_val);-
CREATE INDEX ix_term_enrich_raw_p_val ON pub2.term_enrichment USING btree (raw_p_val);
Date: 2024-10-30 14:04:20 Duration: 4s674ms
-
CREATE INDEX ix_term_enrich_raw_p_val ON pub2.term_enrichment USING btree (raw_p_val);
Date: 2024-10-30 14:04:20 Duration: 0ms
56 5 1.02 GiB 205.03 MiB 215.08 MiB 209.58 MiB create index ix_phenotype_term_reference_term_reference_id on pub2.phenotype_term_reference using btree (term_reference_id);-
CREATE INDEX ix_phenotype_term_reference_term_reference_id ON pub2.phenotype_term_reference USING btree (term_reference_id);
Date: 2024-10-30 12:04:19 Duration: 10s877ms
-
CREATE INDEX ix_phenotype_term_reference_term_reference_id ON pub2.phenotype_term_reference USING btree (term_reference_id);
Date: 2024-10-30 12:04:19 Duration: 0ms
57 5 1.02 GiB 200.66 MiB 217.71 MiB 209.59 MiB create index ix_phenotype_term_ref_object_type_id on pub2.phenotype_term_reference using btree (term_object_type_id);-
CREATE INDEX ix_phenotype_term_ref_object_type_id ON pub2.phenotype_term_reference USING btree (term_object_type_id);
Date: 2024-10-30 12:03:32 Duration: 8s504ms
-
CREATE INDEX ix_phenotype_term_ref_object_type_id ON pub2.phenotype_term_reference USING btree (term_object_type_id);
Date: 2024-10-30 12:03:32 Duration: 0ms
58 5 632.18 MiB 122.57 MiB 130.79 MiB 126.44 MiB create index ix_gene_disease_ind_chem_qty on pub2.gene_disease using btree (indirect_chem_qty) where (indirect_chem_qty > ?);-
CREATE INDEX ix_gene_disease_ind_chem_qty ON pub2.gene_disease USING btree (indirect_chem_qty) WHERE (indirect_chem_qty > 0);
Date: 2024-10-30 14:36:51 Duration: 7s483ms
-
CREATE INDEX ix_gene_disease_ind_chem_qty ON pub2.gene_disease USING btree (indirect_chem_qty) WHERE (indirect_chem_qty > 0);
Date: 2024-10-30 14:36:51 Duration: 0ms
59 5 158.31 MiB 30.78 MiB 32.23 MiB 31.66 MiB create index ix_term_enrich_obj_type on pub2.term_enrichment using btree (object_type_id);-
CREATE INDEX ix_term_enrich_obj_type ON pub2.term_enrichment USING btree (object_type_id);
Date: 2024-10-30 14:04:08 Duration: 1s63ms
-
CREATE INDEX ix_term_enrich_obj_type ON pub2.term_enrichment USING btree (object_type_id);
Date: 2024-10-30 14:04:08 Duration: 0ms
60 5 1.02 GiB 181.36 MiB 224.80 MiB 209.58 MiB create index ixn_phenotype_term_ref_phenotype_id on pub2.phenotype_term_reference using btree (phenotype_id);-
CREATE INDEX ixn_phenotype_term_ref_phenotype_id ON pub2.phenotype_term_reference USING btree (phenotype_id);
Date: 2024-10-30 12:03:12 Duration: 9s254ms
-
CREATE INDEX ixn_phenotype_term_ref_phenotype_id ON pub2.phenotype_term_reference USING btree (phenotype_id);
Date: 2024-10-30 12:03:12 Duration: 0ms
61 5 632.32 MiB 119.09 MiB 130.80 MiB 126.46 MiB create index ix_gene_disease_disease on pub2.gene_disease using btree (disease_id);-
CREATE INDEX ix_gene_disease_disease ON pub2.gene_disease USING btree (disease_id);
Date: 2024-10-30 14:36:43 Duration: 7s324ms
-
CREATE INDEX ix_gene_disease_disease ON pub2.gene_disease USING btree (disease_id);
Date: 2024-10-30 14:36:43 Duration: 0ms
62 5 1.44 GiB 272.04 MiB 315.84 MiB 294.12 MiB create index ix_phenotype_term_ref_ids on pub2.phenotype_term_reference using btree (phenotype_id, term_id, via_term_object_type_id, term_object_type_id);-
CREATE INDEX ix_phenotype_term_ref_ids ON pub2.phenotype_term_reference USING btree (phenotype_id, term_id, via_term_object_type_id, term_object_type_id);
Date: 2024-10-30 12:04:56 Duration: 15s291ms
-
CREATE INDEX ix_phenotype_term_ref_ids ON pub2.phenotype_term_reference USING btree (phenotype_id, term_id, via_term_object_type_id, term_object_type_id);
Date: 2024-10-30 12:04:55 Duration: 0ms
63 5 63.39 MiB 10.62 MiB 14.73 MiB 12.68 MiB create index ix_phenotype_term_phenotype_id on pub2.phenotype_term using btree (phenotype_id);-
CREATE INDEX ix_phenotype_term_phenotype_id ON pub2.phenotype_term USING btree (phenotype_id);
Date: 2024-10-30 14:36:53 Duration: 0ms
64 5 244.31 MiB 46.55 MiB 50.73 MiB 48.86 MiB create index ix_chem_disease_ref_net_sc on pub2.chem_disease_reference using btree (network_score);-
CREATE INDEX ix_chem_disease_ref_net_sc ON pub2.chem_disease_reference USING btree (network_score);
Date: 2024-10-30 12:05:24 Duration: 4s973ms
-
CREATE INDEX ix_chem_disease_ref_net_sc ON pub2.chem_disease_reference USING btree (network_score);
Date: 2024-10-30 12:05:24 Duration: 0ms
65 4 63.36 MiB 15.56 MiB 15.98 MiB 15.84 MiB create index ix_chem_disease_ind_gene_qty on pub2.chem_disease using btree (indirect_gene_qty) where (indirect_gene_qty > ?);-
CREATE INDEX ix_chem_disease_ind_gene_qty ON pub2.chem_disease USING btree (indirect_gene_qty) WHERE (indirect_gene_qty > 0);
Date: 2024-10-30 14:36:59 Duration: 0ms
66 4 32.00 KiB 8.00 KiB 8.00 KiB 8.00 KiB create index ix_chem_disease_exp_ref_qty on pub2.chem_disease using btree (exposure_reference_qty) where (exposure_reference_qty > ?);-
CREATE INDEX ix_chem_disease_exp_ref_qty ON pub2.chem_disease USING btree (exposure_reference_qty) WHERE (exposure_reference_qty > 0);
Date: 2024-10-30 14:36:59 Duration: 0ms
67 4 13.48 MiB 8.00 KiB 6.75 MiB 3.37 MiB alter table pub2.phenotype_term_axn add constraint phenotype_term_axn_pk primary key (phenotype_id, term_id, action_type_nm, action_degree_type_nm);-
ALTER TABLE pub2.phenotype_term_axn ADD CONSTRAINT phenotype_term_axn_pk PRIMARY KEY (phenotype_id, term_id, action_type_nm, action_degree_type_nm);
Date: 2024-10-30 14:36:55 Duration: 0ms
68 4 64.25 MiB 13.44 MiB 17.20 MiB 16.06 MiB create index ix_chem_disease_disease on pub2.chem_disease using btree (disease_id);-
CREATE INDEX ix_chem_disease_disease ON pub2.chem_disease USING btree (disease_id);
Date: 2024-10-30 14:36:58 Duration: 0ms
69 4 1.99 MiB 496.00 KiB 528.00 KiB 510.00 KiB create index ix_chem_disease_cur_ref_qty on pub2.chem_disease using btree (curated_reference_qty) where (curated_reference_qty > ?);-
CREATE INDEX ix_chem_disease_cur_ref_qty ON pub2.chem_disease USING btree (curated_reference_qty) WHERE (curated_reference_qty > 0);
Date: 2024-10-30 14:36:58 Duration: 0ms
70 4 64.25 MiB 15.25 MiB 16.84 MiB 16.06 MiB create index ix_chem_disease_network_score on pub2.chem_disease using btree (network_score);-
CREATE INDEX ix_chem_disease_network_score ON pub2.chem_disease USING btree (network_score);
Date: 2024-10-30 14:36:57 Duration: 1s583ms
-
CREATE INDEX ix_chem_disease_network_score ON pub2.chem_disease USING btree (network_score);
Date: 2024-10-30 14:36:57 Duration: 0ms
71 2 6.11 MiB 2.70 MiB 3.41 MiB 3.05 MiB create index ix_phenotype_term_axn_term_id on pub2.phenotype_term_axn using btree (term_id);-
CREATE INDEX ix_phenotype_term_axn_term_id ON pub2.phenotype_term_axn USING btree (term_id);
Date: 2024-10-30 14:36:55 Duration: 0ms
72 2 6.10 MiB 1.91 MiB 4.19 MiB 3.05 MiB create index ix_phenotype_term_axn_phenotype_id on pub2.phenotype_term_axn using btree (phenotype_id);-
CREATE INDEX ix_phenotype_term_axn_phenotype_id ON pub2.phenotype_term_axn USING btree (phenotype_id);
Date: 2024-10-30 14:36:55 Duration: 0ms
Queries generating the largest temporary files
Rank Size Query 1 1.00 GiB SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2024-10-29 14:14:44 - Database: ctdprd51 - User: load - Application: pg_bulkload ]
2 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2024-10-30 10:10:11 ]
3 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2024-10-30 10:10:11 ]
4 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2024-10-30 10:10:11 ]
5 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2024-10-30 10:10:11 ]
6 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2024-10-30 10:10:11 ]
7 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2024-10-30 10:10:11 ]
8 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2024-10-30 10:10:11 ]
9 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2024-10-30 10:10:11 ]
10 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2024-10-30 10:10:11 ]
11 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2024-10-30 10:10:11 ]
12 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2024-10-30 10:10:11 ]
13 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2024-10-30 10:10:11 ]
14 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2024-10-30 10:10:11 ]
15 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2024-10-30 10:10:11 ]
16 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2024-10-30 10:10:11 ]
17 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2024-10-30 10:10:11 ]
18 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2024-10-30 10:10:12 ]
19 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2024-10-30 10:10:12 ]
20 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub2.GENE_CHEM_REFERENCE gcr, pub2.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn;[ Date: 2024-10-30 10:10:12 ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 227.53 sec Highest CPU-cost vacuum
Table pub2.gene_disease
Database ctdprd51 - 2024-10-30 15:11:33 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 227.53 sec Highest CPU-cost vacuum
Table pub2.gene_disease
Database ctdprd51 - 2024-10-30 15:11:33 Date
Analyzes per table
Key values
- pubc.log_query (161) Main table analyzed (database ctdprd51)
- 254 analyzes Total
Table Number of analyzes ctdprd51.pubc.log_query 161 ctdprd51.pg_catalog.pg_class 5 ctdprd51.pub2.term 4 ctdprd51.pg_catalog.pg_attribute 3 ctdprd51.pub2.reference 3 postgres.pg_catalog.pg_shdepend 2 ctdprd51.pub1.term_set_enrichment_agent 2 ctdprd51.pub2.phenotype_term 2 ctdprd51.pg_catalog.pg_index 2 ctdprd51.pub2.dag_node 2 ctdprd51.pub1.term_set_enrichment 2 ctdprd51.pg_catalog.pg_type 2 ctdprd51.pub2.db 2 ctdprd51.pub1.term_comp_agent 2 ctdprd51.pg_catalog.pg_depend 2 ctdprd51.pub2.list_db_report 1 ctdprd51.pub2.gene_taxon 1 ctdprd51.pub2.img 1 ctdprd51.edit.db 1 ctdprd51.pub2.gene_gene 1 ctdprd51.pub2.exp_receptor_tobacco_use 1 ctdprd51.pub2.chem_disease 1 ctdprd51.edit.list_db_report 1 ctdprd51.pub2.geographic_region 1 ctdprd51.pub2.exp_anatomy 1 ctdprd51.pg_catalog.pg_attrdef 1 ctdprd51.pub2.gene_go_annot 1 ctdprd51.pub2.ixn 1 ctdprd51.pub2.country 1 ctdprd51.pub2.gene_disease 1 ctdprd51.edit.reference_db_link 1 ctdprd51.pub2.exp_study_factor 1 ctdprd51.pub2.gene_chem_ref_gene_form 1 ctdprd51.edit.action_type_path 1 ctdprd51.pub2.exp_event 1 ctdprd51.pg_catalog.pg_shdepend 1 ctdprd51.pub2.dag_edge 1 ctdprd51.edit.db_report 1 ctdprd51.pub2.db_report_site 1 ctdprd51.pub2.exp_receptor 1 ctdprd51.pub2.exp_stressor_stressor_src 1 ctdprd51.edit.receptor 1 ctdprd51.pg_catalog.pg_trigger 1 ctdprd51.pub2.exp_event_assay_method 1 ctdprd51.pub2.db_report 1 ctdprd51.pub2.exp_receptor_race 1 ctdprd51.edit.db_link 1 ctdprd51.pub2.gene_gene_reference 1 ctdprd51.load.data_load 1 ctdprd51.edit.db_report_site 1 ctdprd51.pub2.db_link 1 ctdprd51.pub2.reference_party_role 1 ctdprd51.edit.country 1 ctdprd51.pub2.exp_event_location 1 ctdprd51.pub2.reference_party 1 ctdprd51.pub2.reference_exp 1 ctdprd51.pub2.action_type 1 ctdprd51.pub2.term_reference 1 ctdprd51.pub2.exp_event_project 1 ctdprd51.pub2.medium 1 ctdprd51.pub2.term_pathway 1 ctdprd51.edit.race 1 ctdprd51.pub2.exp_stressor 1 ctdprd51.pub2.gene_gene_ref_throughput 1 ctdprd51.pub2.term_label 1 ctdprd51.edit.action_type 1 ctdprd51.pub2.exposure 1 ctdprd51.pg_catalog.pg_description 1 ctdprd51.pg_catalog.pg_constraint 1 ctdprd51.pub2.exp_outcome 1 ctdprd51.pub2.slim_term_mapping 1 ctdprd51.pub2.exp_receptor_gender 1 ctdprd51.edit.action_degree 1 Total 254 Vacuums per table
Key values
- pubc.log_query (44) Main table vacuumed on database ctdprd51
- 126 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 44 29 35,661 0 6,241 0 1,031 8,379 993 7,471,574 ctdprd51.pg_catalog.pg_statistic 7 7 4,406 0 707 0 144 2,317 591 2,627,246 ctdprd51.pg_toast.pg_toast_2619 5 5 19,432 0 7,054 0 50,616 16,781 4,680 2,438,256 ctdprd51.pub2.term 4 2 1,617,474 0 141,032 0 77 879,150 311,563 1,433,390,550 ctdprd51.pg_catalog.pg_class 3 3 909 0 102 0 0 479 91 473,933 ctdprd51.pub2.reference 3 2 621,876 0 53,011 0 0 424,408 47,012 192,118,629 ctdprd51.pg_catalog.pg_attribute 3 3 1,691 0 250 0 173 793 225 1,060,893 ctdprd51.pub2.dag_node 2 1 401,487 0 16,161 0 0 314,321 585 94,594,359 postgres.pg_catalog.pg_shdepend 2 2 375 0 83 0 0 170 63 241,613 ctdprd51.pub2.phenotype_term 2 2 949,527 0 126,175 0 0 761,918 103,308 266,184,229 ctdprd51.pub2.exp_receptor 1 0 7,371 0 3 0 0 3,640 1 223,179 ctdprd51.pg_toast.pg_toast_486223 1 0 48 0 0 0 0 1 0 188 ctdprd51.pub2.exp_outcome 1 0 597 0 4 0 0 241 2 27,666 ctdprd51.pg_catalog.pg_constraint 1 1 275 0 18 0 0 102 17 78,170 ctdprd51.pub2.slim_term_mapping 1 0 600 0 4 0 0 262 2 30,873 ctdprd51.edit.evidence 1 0 32 0 1 0 0 3 1 8,747 ctdprd51.pub2.exp_stressor_stressor_src 1 0 2,603 0 4 0 0 1,273 1 83,526 ctdprd51.edit.ixn_type 1 0 47 0 5 0 0 3 2 11,331 ctdprd51.pub2.exp_receptor_gender 1 0 2,696 0 3 0 0 1,333 1 87,066 ctdprd51.pg_catalog.pg_type 1 1 148 0 10 0 0 81 10 33,176 ctdprd51.pg_catalog.pg_trigger 1 1 349 0 35 0 0 146 37 189,085 ctdprd51.pub2.exp_stressor 1 0 6,097 0 3 0 0 3,019 1 186,540 ctdprd51.pub2.gene_chem_ref_gene_form 1 0 32,466 0 5 0 0 16,183 2 968,316 ctdprd51.pub2.gene_gene_ref_throughput 1 0 14,583 0 3 0 0 7,252 1 436,287 ctdprd51.pub2.exp_event 1 0 12,443 0 3 0 0 6,143 1 370,856 ctdprd51.pub2.term_label 1 0 183,037 0 6 0 0 91,468 4 5,424,829 ctdprd51.pg_catalog.pg_description 1 1 221 0 35 0 42 112 25 99,941 ctdprd51.pub2.exposure 1 0 3,676 0 3 0 0 1,785 1 113,734 ctdprd51.edit.actor_form_type 1 0 82 0 2 0 0 3 2 12,227 ctdprd51.pub2.dag_edge 1 0 1,024 0 5 0 0 482 2 40,261 ctdprd51.pg_catalog.pg_depend 1 1 670 0 80 0 65 326 87 354,296 ctdprd51.pub1.term_set_enrichment 1 0 10,501 0 4,930 0 0 5,198 2 320,445 ctdprd51.pub2.exp_anatomy 1 0 126 0 3 0 0 34 1 10,425 ctdprd51.pub2.db_link 1 0 245,062 0 74,748 0 0 122,411 6 7,270,388 ctdprd51.pub2.reference_party_role 1 0 13,330 0 5 0 0 6,638 2 404,889 ctdprd51.pub2.gene_go_annot 1 0 555,549 0 243,591 0 0 277,662 10 16,461,321 ctdprd51.pub2.ixn 1 1 1,473,740 0 89 0 0 984,356 220 68,342,801 ctdprd51.pub2.exp_event_location 1 0 3,436 0 3 0 0 1,667 1 106,772 ctdprd51.pg_catalog.pg_index 1 1 207 0 25 0 0 113 21 88,124 ctdprd51.pub2.reference_exp 1 0 328 0 4 0 0 127 2 22,368 ctdprd51.pub2.reference_party 1 0 5,085 0 4 0 0 2,509 2 163,446 ctdprd51.pub2.gene_disease 1 1 2,861,320 0 695,374 0 0 1,598,882 670,880 2,104,787,705 ctdprd51.pub2.term_reference 1 0 37,135 0 5 0 0 18,513 2 1,105,198 ctdprd51.pub2.term_pathway 1 0 3,331 0 4 0 0 1,614 2 108,157 ctdprd51.pub2.exp_event_project 1 0 2,034 0 3 0 0 995 1 67,124 ctdprd51.pub2.exp_study_factor 1 0 113 0 15 0 0 11 2 13,004 ctdprd51.pg_toast.pg_toast_6503143 1 0 87,565 0 4 0 0 43,775 2 2,599,248 ctdprd51.edit.reference_db_link 1 0 7,242 0 4 0 0 3,617 1 221,729 ctdprd51.pub2.db 1 1 147 0 3 0 0 17 1 11,374 ctdprd51.pub2.exp_event_assay_method 1 0 4,825 0 4 0 0 2,367 2 153,120 ctdprd51.pub1.term_set_enrichment_agent 1 0 516,963 0 247,627 0 0 258,345 10 15,321,694 ctdprd51.pub2.img 1 0 1,108 0 5 0 0 524 2 45,323 ctdprd51.pub2.exp_receptor_race 1 0 1,328 0 3 0 0 629 1 45,530 ctdprd51.pub2.gene_taxon 1 0 146,706 0 6 0 0 73,295 3 4,349,218 ctdprd51.pub2.exp_receptor_tobacco_use 1 0 1,194 0 3 0 0 562 1 41,577 ctdprd51.pub2.gene_gene 1 0 12,047 0 5 0 0 5,972 2 367,443 ctdprd51.edit.db_link 1 0 7,493 0 3 0 0 3,617 1 221,798 ctdprd51.pub2.chem_disease 1 1 265,791 0 9,724 0 0 162,430 9,712 117,566,124 ctdprd51.pub1.term_comp_agent 1 0 769 0 128 0 0 340 2 33,823 ctdprd51.pub2.gene_gene_reference 1 0 30,348 0 3 0 0 15,115 1 900,204 ctdprd51.pg_toast.pg_toast_6503074 1 1 90 0 3 0 0 49 3 11,640 Total 126 67 10,216,816 173,567 1,627,376 0 52,148 6,133,958 1,150,209 4,350,543,588 Tuples removed per table
Key values
- pub2.gene_disease (33085849) Main table with removed tuples on database ctdprd51
- 60471062 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pub2.gene_disease 1 1 33,085,849 33,085,849 0 0 486,557 ctdprd51.pub2.phenotype_term 2 2 19,918,705 6,631,770 0 0 248,137 ctdprd51.pub2.chem_disease 1 1 3,361,229 3,361,229 0 0 49,380 ctdprd51.pub2.term 4 2 2,098,676 6,330,814 0 0 390,691 ctdprd51.pub2.dag_node 2 1 1,717,615 3,420,604 0 0 123,635 ctdprd51.pub2.reference 3 2 201,485 593,700 0 0 201,643 ctdprd51.pub2.ixn 1 1 56,058 2,284,244 0 0 539,165 ctdprd51.pg_toast.pg_toast_2619 5 5 19,811 96,443 54 0 62,960 ctdprd51.pg_catalog.pg_statistic 7 7 3,178 15,306 39 0 2,030 ctdprd51.pg_catalog.pg_attribute 3 3 2,706 26,767 0 0 708 ctdprd51.pg_catalog.pg_depend 1 1 1,912 13,752 0 0 145 ctdprd51.pg_catalog.pg_description 1 1 1,085 5,265 0 0 89 postgres.pg_catalog.pg_shdepend 2 2 766 3,750 0 0 42 ctdprd51.pg_catalog.pg_trigger 1 1 399 1,797 0 0 50 ctdprd51.pubc.log_query 44 29 318 429,401 9 0 17,717 ctdprd51.pg_catalog.pg_class 3 3 313 5,343 0 0 183 ctdprd51.pg_catalog.pg_index 1 1 256 1,162 0 0 41 ctdprd51.pg_catalog.pg_type 1 1 213 1,155 0 0 35 ctdprd51.pub2.db 1 1 130 130 0 0 6 ctdprd51.pg_catalog.pg_constraint 1 1 126 879 0 0 36 ctdprd51.pg_toast.pg_toast_6503074 1 1 70 69 0 0 21 ctdprd51.edit.evidence 1 0 54 18 0 0 1 ctdprd51.edit.ixn_type 1 0 54 6 0 0 1 ctdprd51.edit.actor_form_type 1 0 54 18 0 0 1 ctdprd51.pub2.exp_receptor 1 0 0 192,438 0 0 3,639 ctdprd51.pg_toast.pg_toast_486223 1 0 0 0 0 0 0 ctdprd51.pub2.exp_outcome 1 0 0 15,078 0 0 240 ctdprd51.pub2.slim_term_mapping 1 0 0 32,805 0 0 261 ctdprd51.pub2.exp_stressor_stressor_src 1 0 0 287,439 0 0 1,272 ctdprd51.pub2.exp_receptor_gender 1 0 0 190,294 0 0 1,332 ctdprd51.pub2.exp_stressor 1 0 0 209,663 0 0 3,018 ctdprd51.pub2.gene_chem_ref_gene_form 1 0 0 2,986,633 0 0 16,182 ctdprd51.pub2.gene_gene_ref_throughput 1 0 0 1,394,991 0 0 7,251 ctdprd51.pub2.exp_event 1 0 0 208,874 0 0 6,142 ctdprd51.pub2.term_label 1 0 0 6,223,570 0 0 91,467 ctdprd51.pub2.exposure 1 0 0 216,596 0 0 1,784 ctdprd51.pub2.dag_edge 1 0 0 88,931 0 0 481 ctdprd51.pub1.term_set_enrichment 1 0 0 1,616,736 0 0 26,762 ctdprd51.pub2.exp_anatomy 1 0 0 3,852 0 0 33 ctdprd51.pub2.db_link 1 0 0 16,952,255 0 0 122,410 ctdprd51.pub2.reference_party_role 1 0 0 1,227,713 0 0 6,637 ctdprd51.pub2.gene_go_annot 1 0 0 43,594,761 0 0 277,661 ctdprd51.pub2.exp_event_location 1 0 0 250,908 0 0 1,666 ctdprd51.pub2.reference_exp 1 0 0 3,477 0 0 126 ctdprd51.pub2.reference_party 1 0 0 448,934 0 0 2,508 ctdprd51.pub2.term_reference 1 0 0 3,424,574 0 0 18,512 ctdprd51.pub2.term_pathway 1 0 0 135,792 0 0 1,613 ctdprd51.pub2.exp_event_project 1 0 0 95,552 0 0 994 ctdprd51.pub2.exp_study_factor 1 0 0 1,634 0 0 10 ctdprd51.pg_toast.pg_toast_6503143 1 0 0 236,715 0 0 43,774 ctdprd51.edit.reference_db_link 1 0 0 324,629 0 0 3,616 ctdprd51.pub2.exp_event_assay_method 1 0 0 237,388 0 0 2,366 ctdprd51.pub1.term_set_enrichment_agent 1 0 0 118,703,624 0 0 1,348,905 ctdprd51.pub2.img 1 0 0 50,713 0 0 523 ctdprd51.pub2.exp_receptor_race 1 0 0 96,788 0 0 628 ctdprd51.pub2.gene_taxon 1 0 0 11,507,105 0 0 73,294 ctdprd51.pub2.exp_receptor_tobacco_use 1 0 0 79,549 0 0 561 ctdprd51.pub2.gene_gene 1 0 0 1,104,464 0 0 5,971 ctdprd51.edit.db_link 1 0 0 324,629 0 0 3,616 ctdprd51.pub1.term_comp_agent 1 0 0 119,057 0 0 1,022 ctdprd51.pub2.gene_gene_reference 1 0 0 1,387,581 0 0 15,114 Total 126 67 60,471,062 270,285,213 102 0 4,214,665 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.exp_receptor 1 0 0 0 ctdprd51.pg_toast.pg_toast_486223 1 0 0 0 ctdprd51.pub2.exp_outcome 1 0 0 0 ctdprd51.pg_catalog.pg_constraint 1 1 126 0 ctdprd51.pub2.slim_term_mapping 1 0 0 0 ctdprd51.edit.evidence 1 0 54 0 ctdprd51.pub2.exp_stressor_stressor_src 1 0 0 0 ctdprd51.edit.ixn_type 1 0 54 0 ctdprd51.pub2.exp_receptor_gender 1 0 0 0 ctdprd51.pg_catalog.pg_type 1 1 213 0 ctdprd51.pg_catalog.pg_trigger 1 1 399 0 ctdprd51.pub2.exp_stressor 1 0 0 0 ctdprd51.pub2.gene_chem_ref_gene_form 1 0 0 0 ctdprd51.pub2.gene_gene_ref_throughput 1 0 0 0 ctdprd51.pub2.exp_event 1 0 0 0 ctdprd51.pub2.term_label 1 0 0 0 ctdprd51.pg_catalog.pg_description 1 1 1085 0 ctdprd51.pub2.exposure 1 0 0 0 ctdprd51.edit.actor_form_type 1 0 54 0 ctdprd51.pub2.dag_edge 1 0 0 0 ctdprd51.pub2.dag_node 2 1 1717615 0 ctdprd51.pg_catalog.pg_depend 1 1 1912 0 ctdprd51.pub1.term_set_enrichment 1 0 0 0 ctdprd51.pub2.exp_anatomy 1 0 0 0 ctdprd51.pub2.db_link 1 0 0 0 ctdprd51.pub2.reference_party_role 1 0 0 0 ctdprd51.pg_toast.pg_toast_2619 5 5 19811 0 ctdprd51.pub2.gene_go_annot 1 0 0 0 ctdprd51.pub2.term 4 2 2098676 0 ctdprd51.pub2.ixn 1 1 56058 0 ctdprd51.pub2.exp_event_location 1 0 0 0 ctdprd51.pg_catalog.pg_index 1 1 256 0 ctdprd51.pub2.reference_exp 1 0 0 0 ctdprd51.pub2.reference_party 1 0 0 0 ctdprd51.pub2.gene_disease 1 1 33085849 0 ctdprd51.pub2.term_reference 1 0 0 0 ctdprd51.pub2.term_pathway 1 0 0 0 ctdprd51.pub2.exp_event_project 1 0 0 0 ctdprd51.pub2.exp_study_factor 1 0 0 0 ctdprd51.pg_toast.pg_toast_6503143 1 0 0 0 ctdprd51.edit.reference_db_link 1 0 0 0 postgres.pg_catalog.pg_shdepend 2 2 766 0 ctdprd51.pub2.db 1 1 130 0 ctdprd51.pub2.exp_event_assay_method 1 0 0 0 ctdprd51.pub1.term_set_enrichment_agent 1 0 0 0 ctdprd51.pub2.img 1 0 0 0 ctdprd51.pub2.exp_receptor_race 1 0 0 0 ctdprd51.pub2.gene_taxon 1 0 0 0 ctdprd51.pg_catalog.pg_class 3 3 313 0 ctdprd51.pub2.exp_receptor_tobacco_use 1 0 0 0 ctdprd51.pg_catalog.pg_statistic 7 7 3178 0 ctdprd51.pub2.gene_gene 1 0 0 0 ctdprd51.pub2.reference 3 2 201485 0 ctdprd51.edit.db_link 1 0 0 0 ctdprd51.pub2.chem_disease 1 1 3361229 0 ctdprd51.pub1.term_comp_agent 1 0 0 0 ctdprd51.pubc.log_query 44 29 318 0 ctdprd51.pub2.gene_gene_reference 1 0 0 0 ctdprd51.pg_catalog.pg_attribute 3 3 2706 0 ctdprd51.pg_toast.pg_toast_6503074 1 1 70 0 ctdprd51.pub2.phenotype_term 2 2 19918705 0 Total 126 67 60,471,062 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Oct 27 00 0 3 01 0 4 02 0 3 03 0 2 04 0 2 05 0 1 06 0 2 07 0 2 08 0 1 09 0 1 10 0 1 11 0 1 12 0 0 13 0 0 14 0 0 15 0 1 16 0 0 17 0 0 18 0 0 19 0 1 20 0 0 21 0 0 22 0 0 23 0 1 Oct 28 00 0 2 01 0 3 02 0 3 03 0 2 04 0 2 05 0 1 06 0 1 07 0 2 08 0 1 09 0 1 10 0 2 11 0 1 12 0 0 13 0 1 14 0 0 15 0 1 16 0 0 17 0 1 18 0 0 19 0 1 20 0 0 21 0 1 22 0 0 23 0 0 Oct 29 00 0 3 01 0 4 02 0 2 03 0 3 04 0 1 05 0 2 06 0 1 07 0 1 08 0 2 09 0 1 10 0 12 11 0 13 12 0 1 13 0 2 14 0 1 15 0 0 16 0 1 17 0 12 18 0 8 19 0 1 20 0 0 21 0 2 22 0 0 23 0 1 Oct 30 00 0 4 01 0 3 02 0 3 03 0 2 04 0 4 05 0 1 06 0 2 07 0 2 08 0 1 09 0 1 10 0 1 11 0 0 12 0 2 13 0 1 14 0 24 15 0 7 16 0 3 17 0 0 18 0 6 19 0 0 20 0 1 21 0 3 22 0 1 23 0 0 Oct 31 00 0 3 01 0 3 02 0 2 03 0 1 Nov 01 03 0 1 04 0 2 05 0 2 06 0 1 07 0 1 08 0 1 09 0 1 10 0 1 11 0 0 12 0 2 13 0 1 14 0 2 15 0 1 16 0 1 17 0 1 18 0 1 19 0 1 20 0 1 21 0 1 22 0 1 23 0 0 Nov 02 00 0 4 01 0 3 02 0 4 03 0 2 04 0 2 05 0 3 06 0 1 07 0 1 08 0 0 09 0 1 10 0 2 21 0 0 22 0 0 23 0 1 - 227.53 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- ShareLock Main Lock Type
- 1 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query 1 1 1s 1s 1s 1s create index ftsix_term_label_nm on pub2.term_label using gin (nm_fts);-
CREATE INDEX ftsix_term_label_nm ON pub2.TERM_LABEL USING gin (nm_fts);
Date: 2024-10-30 18:01:48 Bind query: yes
-
CREATE INDEX ftsix_term_label_nm ON pub2.TERM_LABEL USING gin (nm_fts);
Date: 2024-10-30 18:01:31
Queries that waited the most
Rank Wait time Query 1 1s CREATE INDEX ftsix_term_label_nm ON pub2.TERM_LABEL USING gin (nm_fts);[ Date: 2024-10-30 18:01:31 ]
-
Queries
Queries by type
Key values
- 4,273 Total read queries
- 313 Total write queries
Queries by database
Key values
- unknown Main database
- 2,782 Requests
- 18h35m59s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 6,350 Requests
User Request type Count Duration edit Total 6 37s354ms insert 2 22s838ms select 4 14s515ms editeu Total 37 2m2s select 37 2m2s load Total 72 46m32s others 2 5s183ms select 70 46m27s postgres Total 83 36m50s copy to 83 36m50s pub1 Total 3 12s396ms select 3 12s396ms pub2 Total 12 25m53s ddl 2 8s851ms insert 4 25m21s select 6 23s292ms pubc Total 5 5s868ms others 3 3s858ms select 2 2s10ms pubeu Total 3,813 11h19m2s cte 29 1m26s select 3,784 11h17m36s qaeu Total 120 9m39s cte 18 1m2s select 102 8m37s unknown Total 6,350 1d12h53m42s copy to 372 2h4m21s cte 54 1m34s ddl 104 1h18m40s insert 56 1h29m38s others 52 1h45m20s select 5,694 1d5h8m49s update 18 1h5m17s zbx_monitor Total 4 10s367ms select 4 10s367ms Duration by user
Key values
- 1d12h53m42s (unknown) Main time consuming user
User Request type Count Duration edit Total 6 37s354ms insert 2 22s838ms select 4 14s515ms editeu Total 37 2m2s select 37 2m2s load Total 72 46m32s others 2 5s183ms select 70 46m27s postgres Total 83 36m50s copy to 83 36m50s pub1 Total 3 12s396ms select 3 12s396ms pub2 Total 12 25m53s ddl 2 8s851ms insert 4 25m21s select 6 23s292ms pubc Total 5 5s868ms others 3 3s858ms select 2 2s10ms pubeu Total 3,813 11h19m2s cte 29 1m26s select 3,784 11h17m36s qaeu Total 120 9m39s cte 18 1m2s select 102 8m37s unknown Total 6,350 1d12h53m42s copy to 372 2h4m21s cte 54 1m34s ddl 104 1h18m40s insert 56 1h29m38s others 52 1h45m20s select 5,694 1d5h8m49s update 18 1h5m17s zbx_monitor Total 4 10s367ms select 4 10s367ms Queries by host
Key values
- unknown Main host
- 10,505 Requests
- 2d2h14m50s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 4,546 Requests
- 1d1h12m32s (unknown)
- Main time consuming application
Application Request type Count Duration pgAdmin 4 - CONN:1201487 Total 1 1s468ms select 1 1s468ms pgAdmin 4 - CONN:4292063 Total 1 6s126ms select 1 6s126ms pgAdmin 4 - CONN:7001951 Total 1 4s132ms select 1 4s132ms pgAdmin 4 - CONN:7259003 Total 1 11s419ms insert 1 11s419ms pgAdmin 4 - DB:ctdprd51 Total 1 1s131ms select 1 1s131ms pg_bulkload Total 24 13m47s select 24 13m47s pg_dump Total 38 16m48s copy to 38 16m48s psql Total 3 6s717ms ddl 1 4s425ms others 1 1s286ms select 1 1s5ms unknown Total 4,546 1d1h12m32s copy to 141 17m5s cte 41 1m39s ddl 52 39m20s insert 30 57m29s others 29 52m53s select 4,244 21h51m25s update 9 32m38s Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2024-10-29 11:54:28 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 4,256 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 2h1m31s select pub2.maint_term_derive_data ();[ Date: 2024-10-30 20:52:25 - Bind query: yes ]
2 1h36m38s select pub2.maint_gene_chem_ref_gene_form_refresh ();[ Date: 2024-10-30 16:49:24 - Bind query: yes ]
3 1h5m45s SELECT maint_term_derive_nm_fts ();[ Date: 2024-10-30 17:58:05 - Bind query: yes ]
4 46m46s VACUUM FULL ANALYZE;[ Date: 2024-10-30 18:50:31 - Bind query: yes ]
5 42m6s select distinct gga.go_term_id, gcr.chem_id, ptr.term_object_type_id, gga.gene_id, ( select id from pub2.OBJECT_TYPE where cd = 'gene'), ( select current_date) from pub2.GENE_CHEM_REFERENCE gcr, pub2.GENE_GO_ANNOT gga, pub2.PHENOTYPE_TERM_REFERENCE ptr where gcr.gene_id = gga.gene_id and gcr.chem_id = ptr.term_id and gga.go_term_id = ptr.phenotype_id and gcr.id not in ( select gene_chem_reference_id from pub2.GENE_CHEM_REFERENCE_AXN where action_degree_type_nm = 'does not affect');[ Date: 2024-10-30 11:33:05 - Bind query: yes ]
6 36m31s select distinct ptr.phenotype_id, gcr.gene_id, ( select id from pub2.OBJECT_TYPE where cd = 'gene'), ptr.term_id, ( select id from pub2.OBJECT_TYPE where cd = 'chem'), ( select current_date) from pub2.GENE_CHEM_REFERENCE gcr, pub2.PHENOTYPE_TERM_REFERENCE ptr, pub2.PHENOTYPE_TERM_REFERENCE ptr2 where gcr.chem_id = ptr.term_id and ptr.phenotype_id = ptr2.phenotype_id and gcr.gene_id = ptr2.term_id and gcr.id not in ( select gene_chem_reference_id from pub2.GENE_CHEM_REFERENCE_AXN where action_degree_type_nm = 'does not affect');[ Date: 2024-10-30 10:50:53 - Bind query: yes ]
7 34m48s SELECT i.id, edit.get_ixn_xml (i.id), edit.get_ixn_prose (i.id), edit.get_ixn_delimited_actions (i.id), i.ixn_type_id, r.reference_acc_txt, r.taxon_acc_txt, r.create_by, common.break_html_words (edit.get_ixn_prose_html (i.id), false) FROM edit.IXN i, edit.REFERENCE_IXN r where i.id = i.root_id and i.id = r.ixn_id and r.create_by not in ('bogusName') order by i.id asc;[ Date: 2024-10-30 09:21:15 - Bind query: yes ]
8 33m45s select pub2.maint_cached_value_refresh_data_metrics ();[ Date: 2024-10-30 21:36:28 - Bind query: yes ]
9 31m42s 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;[ Date: 2024-10-28 06:59:45 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
10 25m52s insert into pub2.GENE_GO_ANNOT (gene_id, go_term_id, taxon_id, evidence_cd, is_not) select gene_id, go_term_id, taxon_id, evidence_cd, is_not from load.GENE_GO_ANNOT;[ Date: 2024-10-29 18:19:01 - Bind query: yes ]
11 23m47s update pub2.GENE_DISEASE gd set exposure_reference_qty = ( select count(distinct reference_id) from pub2.GENE_DISEASE_REFERENCE gdr where gd.gene_id = gdr.gene_id and gd.disease_id = gdr.disease_id and reference_id in ( select id from pub2.REFERENCE r where has_exposures = true));[ Date: 2024-10-30 15:07:18 - Bind query: yes ]
12 18m53s /* * 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-10-27 00:18:55 ]
13 18m36s /* * 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-10-31 00:18:38 ]
14 18m35s /* * 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-10-28 00:18:36 ]
15 18m32s /* * 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-02 00:18:33 ]
16 18m26s /* * 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-10-29 00:18:28 ]
17 18m25s /* * 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-10-30 00:18:27 ]
18 18m19s 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-10-29 13:43:51 - Bind query: yes ]
19 18m12s 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-10-30 02:49:25 - Bind query: yes ]
20 17m46s 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-10-30 04:16:57 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 7h16m22s 100 1s128ms 18m19s 4m21s 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 Oct 29 09 1 3m39s 3m39s 13 1 1s714ms 1s714ms 14 2 29m45s 14m52s 15 1 1s405ms 1s405ms 16 9 8m26s 56s258ms 17 7 13m26s 1m55s 19 1 1s327ms 1s327ms 21 3 3m4s 1m1s Oct 30 03 16 4h5m45s 15m21s 04 1 17m26s 17m26s 05 1 17m46s 17m46s 07 1 1s528ms 1s528ms 09 12 6m44s 33s691ms 16 1 6s195ms 6s195ms 23 1 1m14s 1m14s Nov 01 07 3 4s30ms 1s343ms 12 11 13m22s 1m12s 13 18 30m54s 1m43s 14 1 1s537ms 1s537ms 15 1 17m21s 17m21s Nov 02 09 1 17m28s 17m28s 23 1 1m21s 1m21s 00 6 8m16s 1m22s [ User: pubeu - Total duration: 3h36m18s - Times executed: 36 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE 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-10-29 13:43:51 Duration: 18m19s 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 = '1241675') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-10-30 02:49:25 Duration: 18m12s 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 = '1241675') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-10-30 04:16:57 Duration: 17m46s Database: ctdprd51 User: pubeu Bind query: yes
2 2h1m31s 1 2h1m31s 2h1m31s 2h1m31s select pub2.maint_term_derive_data ();Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Oct 30 21 1 2h1m31s 2h1m31s -
select pub2.maint_term_derive_data ();
Date: 2024-10-30 20:52:25 Duration: 2h1m31s Bind query: yes
3 1h51m29s 6 18m25s 18m53s 18m34s select maint_query_logs_archive ();Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Oct 27 01 1 18m53s 18m53s Oct 28 01 1 18m35s 18m35s Oct 29 01 1 18m26s 18m26s Oct 30 01 1 18m25s 18m25s Oct 31 01 1 18m36s 18m36s Nov 02 01 1 18m32s 18m32s -
/* * 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-10-27 00:18:55 Duration: 18m53s
-
/* * 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-10-31 00:18:38 Duration: 18m36s
-
/* * 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-10-28 00:18:36 Duration: 18m35s
4 1h36m38s 1 1h36m38s 1h36m38s 1h36m38s select pub2.maint_gene_chem_ref_gene_form_refresh ();Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Oct 30 17 1 1h36m38s 1h36m38s -
select pub2.maint_gene_chem_ref_gene_form_refresh ();
Date: 2024-10-30 16:49:24 Duration: 1h36m38s Bind query: yes
5 1h5m45s 1 1h5m45s 1h5m45s 1h5m45s select maint_term_derive_nm_fts ();Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Oct 30 18 1 1h5m45s 1h5m45s -
SELECT maint_term_derive_nm_fts ();
Date: 2024-10-30 17:58:05 Duration: 1h5m45s Bind query: yes
6 46m46s 1 46m46s 46m46s 46m46s vacuum full analyze;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Oct 30 19 1 46m46s 46m46s -
VACUUM FULL ANALYZE;
Date: 2024-10-30 18:50:31 Duration: 46m46s Bind query: yes
-
VACUUM FULL ANALYZE;
Date: 2024-10-30 18:03:45 Duration: 0ms
7 46m6s 73 1s 6m30s 37s896ms select * from pgbulkload.pg_bulkload (?);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Oct 29 14 31 14m10s 27s435ms 15 9 8m19s 55s479ms Oct 30 10 6 1m7s 11s256ms 12 3 7m43s 2m34s 13 3 6m54s 2m18s 14 15 4m12s 16s857ms 15 6 3m38s 36s367ms [ User: load - Total duration: 13m47s - Times executed: 24 ]
[ Application: pg_bulkload - Total duration: 13m47s - Times executed: 24 ]
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub2.GENE_DISEASE_REFERENCE,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.log,parse-badfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.DUPE}');
Date: 2024-10-30 11:44:24 Duration: 6m30s Database: ctdprd51 User: load Application: pg_bulkload Bind query: yes
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub2.DAG_PATH,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.log,parse-badfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.DUPE}');
Date: 2024-10-30 12:12:16 Duration: 5m15s Bind query: yes
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=edit.DB_LINK,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.log,parse-badfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.DUPE}');
Date: 2024-10-29 13:32:10 Duration: 4m3s Bind query: yes
8 42m6s 1 42m6s 42m6s 42m6s select distinct gga.go_term_id, gcr.chem_id, ptr.term_object_type_id, gga.gene_id, ( select id from pub2.object_type where cd = ?), ( select current_date) from pub2.gene_chem_reference gcr, pub2.gene_go_annot gga, pub2.phenotype_term_reference ptr where gcr.gene_id = gga.gene_id and gcr.chem_id = ptr.term_id and gga.go_term_id = ptr.phenotype_id and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn where action_degree_type_nm = ?);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Oct 30 12 1 42m6s 42m6s -
select distinct gga.go_term_id, gcr.chem_id, ptr.term_object_type_id, gga.gene_id, ( select id from pub2.OBJECT_TYPE where cd = 'gene'), ( select current_date) from pub2.GENE_CHEM_REFERENCE gcr, pub2.GENE_GO_ANNOT gga, pub2.PHENOTYPE_TERM_REFERENCE ptr where gcr.gene_id = gga.gene_id and gcr.chem_id = ptr.term_id and gga.go_term_id = ptr.phenotype_id and gcr.id not in ( select gene_chem_reference_id from pub2.GENE_CHEM_REFERENCE_AXN where action_degree_type_nm = 'does not affect');
Date: 2024-10-30 11:33:05 Duration: 42m6s Bind query: yes
9 40m44s 82 1s51ms 31m42s 29s805ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Oct 27 02 1 11s347ms 11s347ms 05 3 5s859ms 1s953ms 09 3 4s192ms 1s397ms 18 1 3s187ms 3s187ms Oct 28 02 1 1s134ms 1s134ms 05 4 2m16s 34s85ms 07 5 33m45s 6m45s 08 4 10s513ms 2s628ms 09 5 12s426ms 2s485ms 14 1 1s82ms 1s82ms Oct 29 01 1 1s51ms 1s51ms 04 2 4s500ms 2s250ms 05 1 2s86ms 2s86ms 13 1 1s874ms 1s874ms 14 1 2s151ms 2s151ms 00 2 4s110ms 2s55ms Oct 30 04 3 5s723ms 1s907ms 05 3 5s672ms 1s890ms Oct 31 04 7 1m20s 11s487ms Nov 01 13 4 6s291ms 1s572ms 15 1 2s138ms 2s138ms Nov 02 02 1 1s821ms 1s821ms 07 2 13s361ms 6s680ms 08 18 50s561ms 2s808ms 09 2 3s178ms 1s589ms 10 1 1s904ms 1s904ms 23 4 45s727ms 11s431ms [ User: pubeu - Total duration: 38m1s - Times executed: 55 ]
-
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;
Date: 2024-10-28 06:59:45 Duration: 31m42s 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 = '2081060') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-10-28 04:31:09 Duration: 42s673ms 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 = '2081060') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-10-28 04:32:04 Duration: 41s76ms Database: ctdprd51 User: pubeu Bind query: yes
10 36m31s 1 36m31s 36m31s 36m31s select distinct ptr.phenotype_id, gcr.gene_id, ( select id from pub2.object_type where cd = ?), ptr.term_id, ( select id from pub2.object_type where cd = ?), ( select current_date) from pub2.gene_chem_reference gcr, pub2.phenotype_term_reference ptr, pub2.phenotype_term_reference ptr2 where gcr.chem_id = ptr.term_id and ptr.phenotype_id = ptr2.phenotype_id and gcr.gene_id = ptr2.term_id and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn where action_degree_type_nm = ?);Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Oct 30 11 1 36m31s 36m31s -
select distinct ptr.phenotype_id, gcr.gene_id, ( select id from pub2.OBJECT_TYPE where cd = 'gene'), ptr.term_id, ( select id from pub2.OBJECT_TYPE where cd = 'chem'), ( select current_date) from pub2.GENE_CHEM_REFERENCE gcr, pub2.PHENOTYPE_TERM_REFERENCE ptr, pub2.PHENOTYPE_TERM_REFERENCE ptr2 where gcr.chem_id = ptr.term_id and ptr.phenotype_id = ptr2.phenotype_id and gcr.gene_id = ptr2.term_id and gcr.id not in ( select gene_chem_reference_id from pub2.GENE_CHEM_REFERENCE_AXN where action_degree_type_nm = 'does not affect');
Date: 2024-10-30 10:50:53 Duration: 36m31s Bind query: yes
11 34m48s 1 34m48s 34m48s 34m48s select i.id, edit.get_ixn_xml (i.id), edit.get_ixn_prose (i.id), edit.get_ixn_delimited_actions (i.id), i.ixn_type_id, r.reference_acc_txt, r.taxon_acc_txt, r.create_by, common.break_html_words (edit.get_ixn_prose_html (i.id), false) from edit.ixn i, edit.reference_ixn r where i.id = i.root_id and i.id = r.ixn_id and r.create_by not in (...) order by i.id asc;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Oct 30 10 1 34m48s 34m48s -
SELECT i.id, edit.get_ixn_xml (i.id), edit.get_ixn_prose (i.id), edit.get_ixn_delimited_actions (i.id), i.ixn_type_id, r.reference_acc_txt, r.taxon_acc_txt, r.create_by, common.break_html_words (edit.get_ixn_prose_html (i.id), false) FROM edit.IXN i, edit.REFERENCE_IXN r where i.id = i.root_id and i.id = r.ixn_id and r.create_by not in ('bogusName') order by i.id asc;
Date: 2024-10-30 09:21:15 Duration: 34m48s Bind query: yes
12 33m45s 1 33m45s 33m45s 33m45s select pub2.maint_cached_value_refresh_data_metrics ();Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Oct 30 22 1 33m45s 33m45s -
select pub2.maint_cached_value_refresh_data_metrics ();
Date: 2024-10-30 21:36:28 Duration: 33m45s Bind query: yes
-
select pub2.maint_cached_value_refresh_data_metrics ();
Date: 2024-10-30 21:32:10 Duration: 0ms
13 25m52s 1 25m52s 25m52s 25m52s insert into pub2.gene_go_annot (gene_id, go_term_id, taxon_id, evidence_cd, is_not) select gene_id, go_term_id, taxon_id, evidence_cd, is_not from load.gene_go_annot;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Oct 29 19 1 25m52s 25m52s -
insert into pub2.GENE_GO_ANNOT (gene_id, go_term_id, taxon_id, evidence_cd, is_not) select gene_id, go_term_id, taxon_id, evidence_cd, is_not from load.GENE_GO_ANNOT;
Date: 2024-10-29 18:19:01 Duration: 25m52s Bind query: yes
14 23m47s 1 23m47s 23m47s 23m47s update pub2.gene_disease gd set exposure_reference_qty = ( select count(distinct reference_id) from pub2.gene_disease_reference gdr where gd.gene_id = gdr.gene_id and gd.disease_id = gdr.disease_id and reference_id in ( select id from pub2.reference r where has_exposures = true));Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Oct 30 16 1 23m47s 23m47s -
update pub2.GENE_DISEASE gd set exposure_reference_qty = ( select count(distinct reference_id) from pub2.GENE_DISEASE_REFERENCE gdr where gd.gene_id = gdr.gene_id and gd.disease_id = gdr.disease_id and reference_id in ( select id from pub2.REFERENCE r where has_exposures = true));
Date: 2024-10-30 15:07:18 Duration: 23m47s Bind query: yes
15 18m7s 266 3s764ms 10s841ms 4s88ms select coalesce(st.alt_nm, t.nm) slimtermnm, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.curated_reference_qty > ?) curatedcount, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.indirect_gene_qty > ?) inferredcount from slim_term st inner join term t on st.slim_term_id = t.id where st.slim_id = ? order by ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Oct 27 05 1 4s469ms 4s469ms 06 1 3s848ms 3s848ms 10 1 4s342ms 4s342ms 11 1 3s853ms 3s853ms 13 2 7s829ms 3s914ms 14 2 7s851ms 3s925ms 16 1 4s142ms 4s142ms 17 1 4s288ms 4s288ms 18 1 4s51ms 4s51ms 19 1 4s21ms 4s21ms 22 1 3s823ms 3s823ms 23 7 27s958ms 3s994ms 00 1 3s837ms 3s837ms Oct 28 01 2 8s178ms 4s89ms 02 2 8s36ms 4s18ms 03 10 39s738ms 3s973ms 04 7 27s279ms 3s897ms 06 11 43s47ms 3s913ms 07 2 8s182ms 4s91ms 08 2 8s349ms 4s174ms 09 12 47s372ms 3s947ms 10 18 1m10s 3s904ms 11 18 1m11s 3s972ms 12 2 7s899ms 3s949ms 14 1 3s869ms 3s869ms 19 1 3s997ms 3s997ms 20 1 3s858ms 3s858ms 22 1 3s933ms 3s933ms 23 1 4s135ms 4s135ms Oct 29 01 1 4s346ms 4s346ms 02 3 12s9ms 4s3ms 03 3 11s779ms 3s926ms 04 1 4s248ms 4s248ms 05 7 27s831ms 3s975ms 06 2 7s838ms 3s919ms 07 3 11s836ms 3s945ms 08 1 3s920ms 3s920ms 09 1 4s203ms 4s203ms 10 1 3s861ms 3s861ms 11 2 8s45ms 4s22ms 12 2 8s36ms 4s18ms 13 1 4s66ms 4s66ms 14 1 3s939ms 3s939ms 15 1 3s862ms 3s862ms 16 3 11s875ms 3s958ms 18 2 8s888ms 4s444ms 19 1 3s948ms 3s948ms 22 7 27s561ms 3s937ms 23 4 17s309ms 4s327ms 00 1 3s959ms 3s959ms Oct 30 03 3 18s916ms 6s305ms 05 2 8s247ms 4s123ms 06 2 7s923ms 3s961ms 09 2 7s991ms 3s995ms 10 1 3s978ms 3s978ms 13 2 8s108ms 4s54ms 14 2 8s258ms 4s129ms 15 4 16s481ms 4s120ms 16 11 43s853ms 3s986ms 17 2 7s869ms 3s934ms 18 2 8s253ms 4s126ms 19 7 30s196ms 4s313ms 21 1 4s147ms 4s147ms 00 2 7s956ms 3s978ms Oct 31 01 2 7s864ms 3s932ms 02 1 3s922ms 3s922ms 04 2 8s585ms 4s292ms Nov 01 05 10 42s744ms 4s274ms 06 1 4s133ms 4s133ms 08 2 7s966ms 3s983ms 10 4 18s358ms 4s589ms 12 2 8s544ms 4s272ms 13 8 37s379ms 4s672ms 14 3 12s254ms 4s84ms 15 3 12s458ms 4s152ms 17 2 8s74ms 4s37ms 18 1 3s970ms 3s970ms 21 1 4s124ms 4s124ms 23 1 3s984ms 3s984ms Nov 02 02 3 11s766ms 3s922ms 05 1 4s793ms 4s793ms 06 7 28s708ms 4s101ms 08 3 14s271ms 4s757ms 09 4 16s297ms 4s74ms 10 1 4s 4s 00 1 3s764ms 3s764ms [ User: pubeu - Total duration: 9m2s - Times executed: 132 ]
-
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 = '1304073') 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 = '1304073') 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-10-30 02:08:49 Duration: 10s841ms 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 = '1287836') 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 = '1287836') 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-01 12:43:56 Duration: 6s41ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1339740') 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 = '1339740') 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-10-29 22:02:22 Duration: 5s439ms Bind query: yes
16 14m1s 707 1s65ms 2s163ms 1s190ms 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 #16
Day Hour Count Duration Avg duration Oct 27 01 7 8s216ms 1s173ms 02 1 1s171ms 1s171ms 03 3 3s591ms 1s197ms 04 2 2s350ms 1s175ms 05 3 3s599ms 1s199ms 06 7 8s410ms 1s201ms 07 4 4s811ms 1s202ms 08 6 7s229ms 1s204ms 09 8 9s543ms 1s192ms 10 3 3s598ms 1s199ms 11 5 6s187ms 1s237ms 12 7 8s384ms 1s197ms 13 5 5s879ms 1s175ms 14 2 2s386ms 1s193ms 15 3 3s597ms 1s199ms 16 4 4s724ms 1s181ms 17 8 9s547ms 1s193ms 18 3 3s557ms 1s185ms 19 7 8s439ms 1s205ms 20 4 4s757ms 1s189ms 21 4 4s950ms 1s237ms 22 3 3s586ms 1s195ms 23 3 3s538ms 1s179ms Oct 28 01 4 4s835ms 1s208ms 02 8 9s621ms 1s202ms 03 10 12s150ms 1s215ms 04 6 7s100ms 1s183ms 05 5 6s136ms 1s227ms 06 3 3s737ms 1s245ms 07 2 2s375ms 1s187ms 08 10 12s102ms 1s210ms 09 2 2s390ms 1s195ms 10 2 2s376ms 1s188ms 11 4 4s775ms 1s193ms 12 4 4s811ms 1s202ms 13 1 1s189ms 1s189ms 14 7 8s346ms 1s192ms 15 4 4s761ms 1s190ms 16 5 5s904ms 1s180ms 17 5 5s915ms 1s183ms 18 7 8s388ms 1s198ms 19 8 9s594ms 1s199ms 20 4 4s789ms 1s197ms 21 4 4s749ms 1s187ms 22 7 8s182ms 1s168ms 23 7 8s302ms 1s186ms 00 7 8s383ms 1s197ms Oct 29 01 9 10s777ms 1s197ms 02 11 13s125ms 1s193ms 04 1 1s192ms 1s192ms 05 11 12s983ms 1s180ms 06 12 14s474ms 1s206ms 07 6 7s435ms 1s239ms 08 5 5s943ms 1s188ms 09 6 7s166ms 1s194ms 10 4 4s777ms 1s194ms 11 7 8s354ms 1s193ms 12 6 7s108ms 1s184ms 13 3 3s569ms 1s189ms 14 6 7s209ms 1s201ms 15 8 9s421ms 1s177ms 16 5 5s995ms 1s199ms 17 1 1s217ms 1s217ms 18 3 3s576ms 1s192ms 19 6 7s84ms 1s180ms 20 3 3s556ms 1s185ms 21 3 3s496ms 1s165ms 22 2 2s331ms 1s165ms 23 3 3s582ms 1s194ms 00 2 2s381ms 1s190ms Oct 30 01 2 2s321ms 1s160ms 02 3 3s605ms 1s201ms 03 13 16s151ms 1s242ms 04 8 9s339ms 1s167ms 05 4 4s756ms 1s189ms 06 6 7s384ms 1s230ms 07 3 3s566ms 1s188ms 08 5 5s961ms 1s192ms 09 7 8s249ms 1s178ms 10 2 2s367ms 1s183ms 11 2 2s251ms 1s125ms 12 3 3s418ms 1s139ms 13 5 5s899ms 1s179ms 14 7 8s427ms 1s203ms 15 3 3s516ms 1s172ms 16 5 5s863ms 1s172ms 17 3 3s457ms 1s152ms 18 2 2s357ms 1s178ms 19 6 7s168ms 1s194ms 20 2 2s345ms 1s172ms 21 3 3s535ms 1s178ms 22 4 4s741ms 1s185ms 23 6 7s186ms 1s197ms 00 4 4s681ms 1s170ms Oct 31 01 5 5s798ms 1s159ms 02 4 4s626ms 1s156ms 03 4 4s676ms 1s169ms 04 1 1s156ms 1s156ms Nov 01 05 4 4s676ms 1s169ms 06 9 10s790ms 1s198ms 07 4 4s721ms 1s180ms 08 3 3s564ms 1s188ms 09 3 3s705ms 1s235ms 10 3 3s563ms 1s187ms 11 2 2s430ms 1s215ms 12 3 3s544ms 1s181ms 13 2 2s332ms 1s166ms 14 10 11s810ms 1s181ms 15 6 7s200ms 1s200ms 16 7 8s303ms 1s186ms 17 5 5s929ms 1s185ms 18 5 5s882ms 1s176ms 19 7 8s355ms 1s193ms 20 9 10s690ms 1s187ms 21 10 11s730ms 1s173ms 22 11 12s953ms 1s177ms 23 13 15s476ms 1s190ms 00 9 10s575ms 1s175ms Nov 02 01 6 7s103ms 1s183ms 02 12 14s256ms 1s188ms 03 14 16s561ms 1s182ms 04 4 4s770ms 1s192ms 05 12 14s237ms 1s186ms 06 7 8s481ms 1s211ms 07 9 10s634ms 1s181ms 08 8 9s555ms 1s194ms 09 9 10s622ms 1s180ms 10 7 8s326ms 1s189ms 11 4 4s716ms 1s179ms 23 6 7s657ms 1s276ms 00 11 12s46ms 1s95ms [ User: pubeu - Total duration: 7m - Times executed: 354 ]
[ User: qaeu - Total duration: 1s301ms - Times executed: 1 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '1471325' or receptorTerm.id = '1471325' 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-10-30 02:32:31 Duration: 2s163ms 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 = '1874194' or receptorTerm.id = '1874194' 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-02 22:22:18 Duration: 1s875ms 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 = '2033402' or receptorTerm.id = '2033402' 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-10-27 20:59:35 Duration: 1s412ms Bind query: yes
17 12m48s 1 12m48s 12m48s 12m48s alter table pub2.term_enrichment_agent add constraint term_enr_agent_term_enr_fk foreign key (term_id, enriched_term_id) references term_enrichment (term_id, enriched_term_id);Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Oct 30 15 1 12m48s 12m48s -
ALTER TABLE pub2.term_enrichment_agent ADD CONSTRAINT term_enr_agent_term_enr_fk FOREIGN KEY (term_id, enriched_term_id) REFERENCES term_enrichment (term_id, enriched_term_id);
Date: 2024-10-30 14:17:08 Duration: 12m48s Bind query: yes
18 12m24s 20 36s893ms 37s874ms 37s212ms copy pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) to stdout;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Oct 27 07 1 36s893ms 36s893ms 11 1 37s272ms 37s272ms 15 1 37s118ms 37s118ms 19 1 37s874ms 37s874ms Oct 28 07 1 37s335ms 37s335ms 11 1 37s234ms 37s234ms 15 1 36s925ms 36s925ms 19 1 37s182ms 37s182ms Oct 29 07 1 37s75ms 37s75ms 11 1 37s580ms 37s580ms 15 1 37s10ms 37s10ms 19 1 36s916ms 36s916ms Oct 30 07 1 36s975ms 36s975ms 11 1 37s301ms 37s301ms 15 1 37s308ms 37s308ms 19 1 37s205ms 37s205ms Nov 01 07 1 37s141ms 37s141ms 11 1 37s463ms 37s463ms 15 1 37s139ms 37s139ms 19 1 37s289ms 37s289ms [ User: postgres - Total duration: 12m24s - Times executed: 20 ]
[ Application: pg_dump - Total duration: 12m24s - Times executed: 20 ]
-
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-10-27 18:05:40 Duration: 37s874ms 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-10-29 10:05:39 Duration: 37s580ms 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-01 10:05:47 Duration: 37s463ms Database: ctdprd51 User: postgres Application: pg_dump
19 12m19s 1 12m19s 12m19s 12m19s insert into pub2.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary) select object_id, object_type_id, acc_txt, db_id, type_cd, is_primary from edit.db_link;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Oct 29 18 1 12m19s 12m19s [ User: pub2 - Total duration: 12m19s - Times executed: 1 ]
-
insert into pub2.DB_LINK (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary) select object_id, object_type_id, acc_txt, db_id, type_cd, is_primary from edit.DB_LINK;
Date: 2024-10-29 17:47:40 Duration: 12m19s Database: ctdprd51 User: pub2 Bind query: yes
20 11m38s 146 1s6ms 7s60ms 4s783ms select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Oct 27 01 5 26s868ms 5s373ms 02 1 5s129ms 5s129ms 05 4 12s948ms 3s237ms 06 2 6s159ms 3s79ms 08 1 5s229ms 5s229ms 10 1 5s398ms 5s398ms 12 1 5s67ms 5s67ms 16 1 5s197ms 5s197ms 17 2 10s354ms 5s177ms 18 2 10s950ms 5s475ms 19 1 5s305ms 5s305ms 21 1 5s73ms 5s73ms 22 1 1s12ms 1s12ms 23 3 16s37ms 5s345ms 00 2 10s505ms 5s252ms Oct 28 01 1 5s179ms 5s179ms 02 2 2s62ms 1s31ms 03 2 10s523ms 5s261ms 08 1 5s126ms 5s126ms 10 2 10s653ms 5s326ms 11 2 10s541ms 5s270ms 12 1 5s166ms 5s166ms 15 1 5s260ms 5s260ms 19 2 6s261ms 3s130ms 22 1 5s90ms 5s90ms 23 3 15s395ms 5s131ms 00 1 5s97ms 5s97ms Oct 29 03 5 25s934ms 5s186ms 05 1 5s709ms 5s709ms 07 1 5s614ms 5s614ms 09 5 27s667ms 5s533ms 10 1 1s23ms 1s23ms 12 1 5s243ms 5s243ms 13 2 6s461ms 3s230ms 14 1 1s79ms 1s79ms 15 2 6s835ms 3s417ms 16 1 5s375ms 5s375ms 18 1 6s576ms 6s576ms 19 2 10s952ms 5s476ms 22 1 5s128ms 5s128ms 23 4 17s221ms 4s305ms Oct 30 01 3 11s455ms 3s818ms 02 3 15s995ms 5s331ms 03 8 44s43ms 5s505ms 05 5 26s858ms 5s371ms 06 2 6s200ms 3s100ms 07 2 10s384ms 5s192ms 09 2 11s36ms 5s518ms 10 2 11s61ms 5s530ms 12 1 7s60ms 7s60ms 14 2 12s99ms 6s49ms 16 1 1s76ms 1s76ms 18 2 11s449ms 5s724ms 19 9 54s667ms 6s74ms 22 1 1s36ms 1s36ms 23 2 10s713ms 5s356ms 00 1 5s107ms 5s107ms Oct 31 01 1 1s18ms 1s18ms 02 2 10s629ms 5s314ms Nov 01 07 2 11s736ms 5s868ms 08 1 5s578ms 5s578ms 11 1 5s678ms 5s678ms 14 2 11s265ms 5s632ms 15 1 5s521ms 5s521ms 17 1 5s584ms 5s584ms 19 1 5s411ms 5s411ms 22 2 7s236ms 3s618ms Nov 02 02 2 11s301ms 5s650ms 03 1 5s810ms 5s810ms 05 1 5s894ms 5s894ms 06 1 5s661ms 5s661ms 07 2 2s330ms 1s165ms 08 1 1s54ms 1s54ms 09 2 6s837ms 3s418ms 00 1 1s198ms 1s198ms [ User: pubeu - Total duration: 4m17s - Times executed: 56 ]
-
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 = '1262309' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-10-30 11:56:40 Duration: 7s60ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1343235' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-10-30 18:23:57 Duration: 7s37ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1273226' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-10-29 17:54:18 Duration: 6s576ms Database: ctdprd51 User: pubeu Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 707 14m1s 1s65ms 2s163ms 1s190ms 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 Oct 27 01 7 8s216ms 1s173ms 02 1 1s171ms 1s171ms 03 3 3s591ms 1s197ms 04 2 2s350ms 1s175ms 05 3 3s599ms 1s199ms 06 7 8s410ms 1s201ms 07 4 4s811ms 1s202ms 08 6 7s229ms 1s204ms 09 8 9s543ms 1s192ms 10 3 3s598ms 1s199ms 11 5 6s187ms 1s237ms 12 7 8s384ms 1s197ms 13 5 5s879ms 1s175ms 14 2 2s386ms 1s193ms 15 3 3s597ms 1s199ms 16 4 4s724ms 1s181ms 17 8 9s547ms 1s193ms 18 3 3s557ms 1s185ms 19 7 8s439ms 1s205ms 20 4 4s757ms 1s189ms 21 4 4s950ms 1s237ms 22 3 3s586ms 1s195ms 23 3 3s538ms 1s179ms Oct 28 01 4 4s835ms 1s208ms 02 8 9s621ms 1s202ms 03 10 12s150ms 1s215ms 04 6 7s100ms 1s183ms 05 5 6s136ms 1s227ms 06 3 3s737ms 1s245ms 07 2 2s375ms 1s187ms 08 10 12s102ms 1s210ms 09 2 2s390ms 1s195ms 10 2 2s376ms 1s188ms 11 4 4s775ms 1s193ms 12 4 4s811ms 1s202ms 13 1 1s189ms 1s189ms 14 7 8s346ms 1s192ms 15 4 4s761ms 1s190ms 16 5 5s904ms 1s180ms 17 5 5s915ms 1s183ms 18 7 8s388ms 1s198ms 19 8 9s594ms 1s199ms 20 4 4s789ms 1s197ms 21 4 4s749ms 1s187ms 22 7 8s182ms 1s168ms 23 7 8s302ms 1s186ms 00 7 8s383ms 1s197ms Oct 29 01 9 10s777ms 1s197ms 02 11 13s125ms 1s193ms 04 1 1s192ms 1s192ms 05 11 12s983ms 1s180ms 06 12 14s474ms 1s206ms 07 6 7s435ms 1s239ms 08 5 5s943ms 1s188ms 09 6 7s166ms 1s194ms 10 4 4s777ms 1s194ms 11 7 8s354ms 1s193ms 12 6 7s108ms 1s184ms 13 3 3s569ms 1s189ms 14 6 7s209ms 1s201ms 15 8 9s421ms 1s177ms 16 5 5s995ms 1s199ms 17 1 1s217ms 1s217ms 18 3 3s576ms 1s192ms 19 6 7s84ms 1s180ms 20 3 3s556ms 1s185ms 21 3 3s496ms 1s165ms 22 2 2s331ms 1s165ms 23 3 3s582ms 1s194ms 00 2 2s381ms 1s190ms Oct 30 01 2 2s321ms 1s160ms 02 3 3s605ms 1s201ms 03 13 16s151ms 1s242ms 04 8 9s339ms 1s167ms 05 4 4s756ms 1s189ms 06 6 7s384ms 1s230ms 07 3 3s566ms 1s188ms 08 5 5s961ms 1s192ms 09 7 8s249ms 1s178ms 10 2 2s367ms 1s183ms 11 2 2s251ms 1s125ms 12 3 3s418ms 1s139ms 13 5 5s899ms 1s179ms 14 7 8s427ms 1s203ms 15 3 3s516ms 1s172ms 16 5 5s863ms 1s172ms 17 3 3s457ms 1s152ms 18 2 2s357ms 1s178ms 19 6 7s168ms 1s194ms 20 2 2s345ms 1s172ms 21 3 3s535ms 1s178ms 22 4 4s741ms 1s185ms 23 6 7s186ms 1s197ms 00 4 4s681ms 1s170ms Oct 31 01 5 5s798ms 1s159ms 02 4 4s626ms 1s156ms 03 4 4s676ms 1s169ms 04 1 1s156ms 1s156ms Nov 01 05 4 4s676ms 1s169ms 06 9 10s790ms 1s198ms 07 4 4s721ms 1s180ms 08 3 3s564ms 1s188ms 09 3 3s705ms 1s235ms 10 3 3s563ms 1s187ms 11 2 2s430ms 1s215ms 12 3 3s544ms 1s181ms 13 2 2s332ms 1s166ms 14 10 11s810ms 1s181ms 15 6 7s200ms 1s200ms 16 7 8s303ms 1s186ms 17 5 5s929ms 1s185ms 18 5 5s882ms 1s176ms 19 7 8s355ms 1s193ms 20 9 10s690ms 1s187ms 21 10 11s730ms 1s173ms 22 11 12s953ms 1s177ms 23 13 15s476ms 1s190ms 00 9 10s575ms 1s175ms Nov 02 01 6 7s103ms 1s183ms 02 12 14s256ms 1s188ms 03 14 16s561ms 1s182ms 04 4 4s770ms 1s192ms 05 12 14s237ms 1s186ms 06 7 8s481ms 1s211ms 07 9 10s634ms 1s181ms 08 8 9s555ms 1s194ms 09 9 10s622ms 1s180ms 10 7 8s326ms 1s189ms 11 4 4s716ms 1s179ms 23 6 7s657ms 1s276ms 00 11 12s46ms 1s95ms [ User: pubeu - Total duration: 7m - Times executed: 354 ]
[ User: qaeu - Total duration: 1s301ms - Times executed: 1 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '1471325' or receptorTerm.id = '1471325' 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-10-30 02:32:31 Duration: 2s163ms 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 = '1874194' or receptorTerm.id = '1874194' 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-02 22:22:18 Duration: 1s875ms 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 = '2033402' or receptorTerm.id = '2033402' 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-10-27 20:59:35 Duration: 1s412ms Bind query: yes
2 343 8m8s 1s395ms 2s796ms 1s424ms select coalesce(d.abbr_display, d.nm_display) nm # ?, d.description # ?, coalesce(d.abbr, d.nm) anchor # ?, get_homepage_url (d.id) url # ? from db d # ? where d.id in (# ? select l.db_id # ? from db_link l # ? where l.type_cd = ? # ? and l.object_type_id = ?) # ? order by ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Oct 27 01 6 8s468ms 1s411ms 02 3 4s251ms 1s417ms 03 4 5s643ms 1s410ms 04 7 9s877ms 1s411ms 05 3 4s202ms 1s400ms 06 8 11s282ms 1s410ms 07 2 2s830ms 1s415ms 08 10 14s190ms 1s419ms 09 9 12s780ms 1s420ms 10 10 14s51ms 1s405ms 11 4 5s644ms 1s411ms 12 8 11s264ms 1s408ms 13 3 4s382ms 1s460ms 14 3 4s215ms 1s405ms 15 2 2s826ms 1s413ms 16 7 9s875ms 1s410ms 17 8 11s335ms 1s416ms 18 5 7s59ms 1s411ms 19 8 11s302ms 1s412ms 20 8 11s259ms 1s407ms 21 6 8s498ms 1s416ms 22 3 4s212ms 1s404ms 23 3 4s253ms 1s417ms 00 3 4s248ms 1s416ms Oct 28 01 7 9s844ms 1s406ms 02 4 5s645ms 1s411ms 03 4 5s684ms 1s421ms 04 6 8s611ms 1s435ms 05 3 4s230ms 1s410ms 06 7 9s893ms 1s413ms 08 6 8s564ms 1s427ms 09 2 2s824ms 1s412ms 10 7 9s868ms 1s409ms 11 8 11s343ms 1s417ms 12 5 7s61ms 1s412ms 13 5 7s67ms 1s413ms 15 4 5s634ms 1s408ms 16 6 8s452ms 1s408ms 17 13 18s354ms 1s411ms 18 7 9s933ms 1s419ms 19 4 5s678ms 1s419ms 20 2 2s833ms 1s416ms 21 6 8s475ms 1s412ms 22 5 7s82ms 1s416ms 23 5 7s160ms 1s432ms 00 9 12s697ms 1s410ms Oct 29 01 5 7s55ms 1s411ms 02 4 5s637ms 1s409ms 03 5 7s249ms 1s449ms 04 3 4s281ms 1s427ms 05 6 8s491ms 1s415ms 06 15 21s144ms 1s409ms 07 7 9s925ms 1s417ms 08 4 5s657ms 1s414ms 09 4 5s682ms 1s420ms 10 3 4s242ms 1s414ms 11 4 5s637ms 1s409ms 12 2 2s844ms 1s422ms 15 1 1s418ms 1s418ms Oct 30 01 1 1s412ms 1s412ms 06 3 4s236ms 1s412ms 10 1 1s432ms 1s432ms 00 1 2s796ms 2s796ms Nov 01 06 2 2s897ms 1s448ms 11 1 1s413ms 1s413ms 13 1 1s422ms 1s422ms 00 2 2s834ms 1s417ms Nov 02 06 4 5s691ms 1s422ms 09 2 2s834ms 1s417ms 23 3 5s958ms 1s986ms 00 1 1s436ms 1s436ms [ User: pubeu - Total duration: 3m53s - Times executed: 163 ]
-
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-10-30 23:47:58 Duration: 2s796ms 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-02 22:25:16 Duration: 2s277ms 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-02 22:56:37 Duration: 2s211ms Bind query: yes
3 266 18m7s 3s764ms 10s841ms 4s88ms 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 Oct 27 05 1 4s469ms 4s469ms 06 1 3s848ms 3s848ms 10 1 4s342ms 4s342ms 11 1 3s853ms 3s853ms 13 2 7s829ms 3s914ms 14 2 7s851ms 3s925ms 16 1 4s142ms 4s142ms 17 1 4s288ms 4s288ms 18 1 4s51ms 4s51ms 19 1 4s21ms 4s21ms 22 1 3s823ms 3s823ms 23 7 27s958ms 3s994ms 00 1 3s837ms 3s837ms Oct 28 01 2 8s178ms 4s89ms 02 2 8s36ms 4s18ms 03 10 39s738ms 3s973ms 04 7 27s279ms 3s897ms 06 11 43s47ms 3s913ms 07 2 8s182ms 4s91ms 08 2 8s349ms 4s174ms 09 12 47s372ms 3s947ms 10 18 1m10s 3s904ms 11 18 1m11s 3s972ms 12 2 7s899ms 3s949ms 14 1 3s869ms 3s869ms 19 1 3s997ms 3s997ms 20 1 3s858ms 3s858ms 22 1 3s933ms 3s933ms 23 1 4s135ms 4s135ms Oct 29 01 1 4s346ms 4s346ms 02 3 12s9ms 4s3ms 03 3 11s779ms 3s926ms 04 1 4s248ms 4s248ms 05 7 27s831ms 3s975ms 06 2 7s838ms 3s919ms 07 3 11s836ms 3s945ms 08 1 3s920ms 3s920ms 09 1 4s203ms 4s203ms 10 1 3s861ms 3s861ms 11 2 8s45ms 4s22ms 12 2 8s36ms 4s18ms 13 1 4s66ms 4s66ms 14 1 3s939ms 3s939ms 15 1 3s862ms 3s862ms 16 3 11s875ms 3s958ms 18 2 8s888ms 4s444ms 19 1 3s948ms 3s948ms 22 7 27s561ms 3s937ms 23 4 17s309ms 4s327ms 00 1 3s959ms 3s959ms Oct 30 03 3 18s916ms 6s305ms 05 2 8s247ms 4s123ms 06 2 7s923ms 3s961ms 09 2 7s991ms 3s995ms 10 1 3s978ms 3s978ms 13 2 8s108ms 4s54ms 14 2 8s258ms 4s129ms 15 4 16s481ms 4s120ms 16 11 43s853ms 3s986ms 17 2 7s869ms 3s934ms 18 2 8s253ms 4s126ms 19 7 30s196ms 4s313ms 21 1 4s147ms 4s147ms 00 2 7s956ms 3s978ms Oct 31 01 2 7s864ms 3s932ms 02 1 3s922ms 3s922ms 04 2 8s585ms 4s292ms Nov 01 05 10 42s744ms 4s274ms 06 1 4s133ms 4s133ms 08 2 7s966ms 3s983ms 10 4 18s358ms 4s589ms 12 2 8s544ms 4s272ms 13 8 37s379ms 4s672ms 14 3 12s254ms 4s84ms 15 3 12s458ms 4s152ms 17 2 8s74ms 4s37ms 18 1 3s970ms 3s970ms 21 1 4s124ms 4s124ms 23 1 3s984ms 3s984ms Nov 02 02 3 11s766ms 3s922ms 05 1 4s793ms 4s793ms 06 7 28s708ms 4s101ms 08 3 14s271ms 4s757ms 09 4 16s297ms 4s74ms 10 1 4s 4s 00 1 3s764ms 3s764ms [ User: pubeu - Total duration: 9m2s - Times executed: 132 ]
-
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 = '1304073') 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 = '1304073') 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-10-30 02:08:49 Duration: 10s841ms 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 = '1287836') 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 = '1287836') 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-01 12:43:56 Duration: 6s41ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1339740') 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 = '1339740') 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-10-29 22:02:22 Duration: 5s439ms Bind query: yes
4 234 5m5s 1s202ms 2s364ms 1s307ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or receptorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Oct 27 01 1 1s263ms 1s263ms 02 1 1s299ms 1s299ms 03 3 3s799ms 1s266ms 04 3 4s117ms 1s372ms 06 4 5s271ms 1s317ms 07 2 2s576ms 1s288ms 08 2 2s587ms 1s293ms 09 3 3s888ms 1s296ms 11 2 2s671ms 1s335ms 12 2 2s580ms 1s290ms 14 1 1s279ms 1s279ms 15 1 1s294ms 1s294ms 16 1 1s271ms 1s271ms 17 1 1s307ms 1s307ms 18 1 1s283ms 1s283ms 19 1 1s332ms 1s332ms 20 2 2s535ms 1s267ms 21 1 1s282ms 1s282ms 22 1 1s284ms 1s284ms 23 6 7s906ms 1s317ms 00 1 1s322ms 1s322ms Oct 28 01 1 1s316ms 1s316ms 02 1 1s319ms 1s319ms 03 1 1s365ms 1s365ms 04 1 1s297ms 1s297ms 06 3 4s45ms 1s348ms 08 1 1s366ms 1s366ms 09 1 1s347ms 1s347ms 10 2 2s631ms 1s315ms 11 3 3s877ms 1s292ms 12 1 1s313ms 1s313ms 13 4 5s49ms 1s262ms 15 4 5s85ms 1s271ms 16 2 2s578ms 1s289ms 17 5 6s527ms 1s305ms 18 3 3s850ms 1s283ms 19 2 2s568ms 1s284ms 20 1 1s310ms 1s310ms 21 5 6s393ms 1s278ms 22 1 1s307ms 1s307ms 00 2 2s536ms 1s268ms Oct 29 02 1 1s326ms 1s326ms 04 1 1s303ms 1s303ms 05 1 1s361ms 1s361ms 06 4 5s450ms 1s362ms 07 1 1s300ms 1s300ms 09 1 1s262ms 1s262ms 10 1 1s307ms 1s307ms 11 1 1s269ms 1s269ms 12 1 1s250ms 1s250ms 13 3 4s29ms 1s343ms 14 3 3s812ms 1s270ms 15 4 5s105ms 1s276ms 16 2 2s610ms 1s305ms 17 1 1s258ms 1s258ms 18 4 5s141ms 1s285ms 19 2 2s503ms 1s251ms 20 3 3s956ms 1s318ms 21 1 1s288ms 1s288ms 22 1 1s277ms 1s277ms 23 2 2s625ms 1s312ms 00 1 1s281ms 1s281ms Oct 30 01 1 1s295ms 1s295ms 02 1 1s299ms 1s299ms 03 4 6s146ms 1s536ms 04 2 2s547ms 1s273ms 05 4 5s235ms 1s308ms 06 2 2s745ms 1s372ms 09 3 4s40ms 1s346ms 10 2 2s563ms 1s281ms 11 1 1s237ms 1s237ms 12 1 1s232ms 1s232ms 13 1 1s240ms 1s240ms 14 4 5s130ms 1s282ms 15 2 2s634ms 1s317ms 16 2 2s459ms 1s229ms 18 2 2s774ms 1s387ms 20 2 2s506ms 1s253ms 23 1 1s278ms 1s278ms 00 1 1s331ms 1s331ms Oct 31 01 1 1s228ms 1s228ms 03 1 1s301ms 1s301ms Nov 01 05 1 1s285ms 1s285ms 06 7 9s235ms 1s319ms 07 8 10s531ms 1s316ms 09 1 1s238ms 1s238ms 10 2 2s718ms 1s359ms 11 1 1s271ms 1s271ms 12 2 2s561ms 1s280ms 13 4 5s247ms 1s311ms 14 2 2s589ms 1s294ms 15 3 3s803ms 1s267ms 16 3 3s862ms 1s287ms 18 5 6s447ms 1s289ms 19 1 1s284ms 1s284ms 20 2 2s594ms 1s297ms 21 2 2s604ms 1s302ms 22 1 1s275ms 1s275ms 23 1 1s253ms 1s253ms Nov 02 01 1 1s263ms 1s263ms 03 3 3s789ms 1s263ms 04 3 4s39ms 1s346ms 05 1 1s325ms 1s325ms 06 4 5s312ms 1s328ms 07 1 1s320ms 1s320ms 08 1 1s324ms 1s324ms 09 5 6s401ms 1s280ms 10 1 1s243ms 1s243ms 11 1 1s291ms 1s291ms 23 4 6s247ms 1s561ms 00 2 2s415ms 1s207ms [ User: pubeu - Total duration: 2m31s - Times executed: 116 ]
[ User: qaeu - Total duration: 5s603ms - 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.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1218009') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1218009') 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-10-30 02:14:20 Duration: 2s364ms 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 = '1217774') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1217774') 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-02 22:56:46 Duration: 2s65ms 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 = '1243444') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1243444') 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-10-30 17:02:56 Duration: 1s554ms Database: ctdprd51 User: pubeu Bind query: yes
5 146 11m38s 1s6ms 7s60ms 4s783ms 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 #5
Day Hour Count Duration Avg duration Oct 27 01 5 26s868ms 5s373ms 02 1 5s129ms 5s129ms 05 4 12s948ms 3s237ms 06 2 6s159ms 3s79ms 08 1 5s229ms 5s229ms 10 1 5s398ms 5s398ms 12 1 5s67ms 5s67ms 16 1 5s197ms 5s197ms 17 2 10s354ms 5s177ms 18 2 10s950ms 5s475ms 19 1 5s305ms 5s305ms 21 1 5s73ms 5s73ms 22 1 1s12ms 1s12ms 23 3 16s37ms 5s345ms 00 2 10s505ms 5s252ms Oct 28 01 1 5s179ms 5s179ms 02 2 2s62ms 1s31ms 03 2 10s523ms 5s261ms 08 1 5s126ms 5s126ms 10 2 10s653ms 5s326ms 11 2 10s541ms 5s270ms 12 1 5s166ms 5s166ms 15 1 5s260ms 5s260ms 19 2 6s261ms 3s130ms 22 1 5s90ms 5s90ms 23 3 15s395ms 5s131ms 00 1 5s97ms 5s97ms Oct 29 03 5 25s934ms 5s186ms 05 1 5s709ms 5s709ms 07 1 5s614ms 5s614ms 09 5 27s667ms 5s533ms 10 1 1s23ms 1s23ms 12 1 5s243ms 5s243ms 13 2 6s461ms 3s230ms 14 1 1s79ms 1s79ms 15 2 6s835ms 3s417ms 16 1 5s375ms 5s375ms 18 1 6s576ms 6s576ms 19 2 10s952ms 5s476ms 22 1 5s128ms 5s128ms 23 4 17s221ms 4s305ms Oct 30 01 3 11s455ms 3s818ms 02 3 15s995ms 5s331ms 03 8 44s43ms 5s505ms 05 5 26s858ms 5s371ms 06 2 6s200ms 3s100ms 07 2 10s384ms 5s192ms 09 2 11s36ms 5s518ms 10 2 11s61ms 5s530ms 12 1 7s60ms 7s60ms 14 2 12s99ms 6s49ms 16 1 1s76ms 1s76ms 18 2 11s449ms 5s724ms 19 9 54s667ms 6s74ms 22 1 1s36ms 1s36ms 23 2 10s713ms 5s356ms 00 1 5s107ms 5s107ms Oct 31 01 1 1s18ms 1s18ms 02 2 10s629ms 5s314ms Nov 01 07 2 11s736ms 5s868ms 08 1 5s578ms 5s578ms 11 1 5s678ms 5s678ms 14 2 11s265ms 5s632ms 15 1 5s521ms 5s521ms 17 1 5s584ms 5s584ms 19 1 5s411ms 5s411ms 22 2 7s236ms 3s618ms Nov 02 02 2 11s301ms 5s650ms 03 1 5s810ms 5s810ms 05 1 5s894ms 5s894ms 06 1 5s661ms 5s661ms 07 2 2s330ms 1s165ms 08 1 1s54ms 1s54ms 09 2 6s837ms 3s418ms 00 1 1s198ms 1s198ms [ User: pubeu - Total duration: 4m17s - Times executed: 56 ]
-
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 = '1262309' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-10-30 11:56:40 Duration: 7s60ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1343235' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-10-30 18:23:57 Duration: 7s37ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1273226' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-10-29 17:54:18 Duration: 6s576ms Database: ctdprd51 User: pubeu Bind query: yes
6 140 3m20s 1s100ms 10s474ms 1s430ms 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 #6
Day Hour Count Duration Avg duration Oct 27 01 1 1s348ms 1s348ms 04 1 1s337ms 1s337ms 05 1 1s256ms 1s256ms 06 3 4s152ms 1s384ms 10 1 1s367ms 1s367ms 12 1 1s292ms 1s292ms 14 1 1s322ms 1s322ms 21 2 2s608ms 1s304ms 22 1 1s360ms 1s360ms 00 1 1s278ms 1s278ms Oct 28 03 2 2s641ms 1s320ms 06 6 23s717ms 3s952ms 07 1 1s297ms 1s297ms 08 2 2s656ms 1s328ms 09 2 2s646ms 1s323ms 10 1 1s387ms 1s387ms 11 2 2s699ms 1s349ms 13 2 2s631ms 1s315ms 14 1 1s348ms 1s348ms 16 1 1s323ms 1s323ms 17 2 2s639ms 1s319ms 19 2 2s740ms 1s370ms 20 2 2s604ms 1s302ms 21 1 1s311ms 1s311ms 22 1 1s285ms 1s285ms 23 2 2s594ms 1s297ms Oct 29 05 1 1s421ms 1s421ms 06 2 2s900ms 1s450ms 08 1 1s287ms 1s287ms 10 2 2s529ms 1s264ms 11 2 2s843ms 1s421ms 12 1 1s276ms 1s276ms 13 2 2s692ms 1s346ms 16 1 1s318ms 1s318ms 19 1 1s224ms 1s224ms 21 1 1s239ms 1s239ms 22 2 2s581ms 1s290ms 00 1 1s367ms 1s367ms Oct 30 01 1 1s313ms 1s313ms 02 1 1s383ms 1s383ms 03 4 6s95ms 1s523ms 06 2 2s879ms 1s439ms 07 1 1s296ms 1s296ms 09 1 1s362ms 1s362ms 10 4 5s50ms 1s262ms 12 1 1s233ms 1s233ms 14 3 3s920ms 1s306ms 15 1 1s305ms 1s305ms 18 2 2s568ms 1s284ms 21 3 3s833ms 1s277ms 22 2 2s533ms 1s266ms 23 1 1s264ms 1s264ms 00 2 2s626ms 1s313ms Oct 31 02 2 2s510ms 1s255ms Nov 01 05 1 1s258ms 1s258ms 06 5 6s714ms 1s342ms 08 1 1s246ms 1s246ms 11 2 2s641ms 1s320ms 12 1 1s293ms 1s293ms 13 1 1s338ms 1s338ms 14 2 2s614ms 1s307ms 17 2 2s615ms 1s307ms 18 1 1s239ms 1s239ms 21 1 1s301ms 1s301ms 22 2 2s583ms 1s291ms 00 3 3s878ms 1s292ms Nov 02 02 2 2s483ms 1s241ms 05 1 1s305ms 1s305ms 06 3 4s141ms 1s380ms 07 1 1s259ms 1s259ms 08 1 1s491ms 1s491ms 09 2 2s595ms 1s297ms 10 4 5s282ms 1s320ms 11 2 2s732ms 1s366ms 23 6 7s568ms 1s261ms 00 5 6s8ms 1s201ms [ User: pubeu - Total duration: 1m29s - Times executed: 57 ]
-
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 = '2088314') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2088314') 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-10-28 05:24:42 Duration: 10s474ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = '2088316') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2088316') 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-10-28 05:24:42 Duration: 7s628ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = '2079260') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2079260') 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-10-30 02:36:21 Duration: 2s290ms Bind query: yes
7 131 2m34s 1s133ms 1s234ms 1s182ms 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;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Oct 27 01 1 1s151ms 1s151ms 04 4 4s720ms 1s180ms 05 4 4s802ms 1s200ms 07 6 6s998ms 1s166ms 08 1 1s192ms 1s192ms 09 1 1s193ms 1s193ms 10 5 5s853ms 1s170ms 11 4 4s758ms 1s189ms 12 6 7s34ms 1s172ms 14 1 1s197ms 1s197ms 15 1 1s191ms 1s191ms 17 2 2s386ms 1s193ms 19 2 2s365ms 1s182ms 20 1 1s208ms 1s208ms 21 5 5s997ms 1s199ms 22 1 1s159ms 1s159ms 23 1 1s184ms 1s184ms Oct 28 01 4 4s872ms 1s218ms 02 7 8s308ms 1s186ms 03 1 1s214ms 1s214ms 04 1 1s208ms 1s208ms 05 1 1s165ms 1s165ms 06 1 1s192ms 1s192ms 07 1 1s208ms 1s208ms 08 2 2s343ms 1s171ms 12 2 2s328ms 1s164ms 13 1 1s157ms 1s157ms 16 8 9s430ms 1s178ms 17 1 1s212ms 1s212ms 18 1 1s188ms 1s188ms 19 4 4s767ms 1s191ms 22 4 4s677ms 1s169ms 23 1 1s160ms 1s160ms 00 4 4s675ms 1s168ms Oct 29 01 2 2s385ms 1s192ms 05 5 5s858ms 1s171ms 06 6 7s150ms 1s191ms 07 7 8s246ms 1s178ms 09 4 4s753ms 1s188ms 10 2 2s395ms 1s197ms 11 2 2s379ms 1s189ms 15 2 2s388ms 1s194ms Oct 30 07 1 1s182ms 1s182ms Nov 01 09 1 1s166ms 1s166ms 13 2 2s353ms 1s176ms 20 1 1s153ms 1s153ms 22 1 1s147ms 1s147ms 00 1 1s162ms 1s162ms Nov 02 10 4 4s679ms 1s169ms [ User: pubeu - Total duration: 20s59ms - Times executed: 17 ]
-
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 = '1860878' or receptorTerm.id = '1860878' 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;
Date: 2024-10-28 00:52:54 Duration: 1s234ms 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 = '1860878' or receptorTerm.id = '1860878' 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;
Date: 2024-10-28 00:52:58 Duration: 1s221ms 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 = '1860878' or receptorTerm.id = '1860878' 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;
Date: 2024-10-28 00:53:02 Duration: 1s219ms Bind query: yes
8 126 11m19s 1s30ms 21s469ms 5s394ms select sq.*, count(*) over () fullrowcount from ( select distinct gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid from dag_node gt inner join gene_go_annot gga on gt.object_id = gga.go_term_id inner join term g on gga.gene_id = g.id where gt.id in ( select p.descendant_dag_node_id from dag_path p where p.ancestor_object_id = ?) and gga.is_not = false) sq order by sq.gonmsort, sq.genesymbolsort limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Oct 27 01 1 8s176ms 8s176ms 04 2 41s596ms 20s798ms 10 1 1s414ms 1s414ms 15 1 6s951ms 6s951ms 16 3 50s306ms 16s768ms Oct 28 03 1 8s167ms 8s167ms 04 1 8s106ms 8s106ms 12 1 1s30ms 1s30ms 14 1 1s51ms 1s51ms 16 1 1s33ms 1s33ms 20 1 8s94ms 8s94ms 22 1 1s45ms 1s45ms 23 2 9s548ms 4s774ms Oct 29 02 1 7s931ms 7s931ms 08 3 12s123ms 4s41ms 13 1 1s63ms 1s63ms 14 3 12s958ms 4s319ms 16 7 37s461ms 5s351ms 17 6 55s585ms 9s264ms 18 1 1s214ms 1s214ms 21 2 22s239ms 11s119ms 23 1 1s34ms 1s34ms Oct 30 04 4 13s655ms 3s413ms 09 12 36s890ms 3s74ms 10 2 30s277ms 15s138ms 11 1 1s60ms 1s60ms 16 1 2s250ms 2s250ms 19 1 1s166ms 1s166ms 21 1 3s777ms 3s777ms Oct 31 04 1 1s316ms 1s316ms Nov 01 07 6 13s660ms 2s276ms 12 12 1m8s 5s676ms 13 21 1m45s 5s44ms 15 9 40s201ms 4s466ms 18 1 1s834ms 1s834ms 22 1 1s44ms 1s44ms Nov 02 09 1 1s55ms 1s55ms 23 6 21s33ms 3s505ms 00 4 38s352ms 9s588ms [ User: pubeu - Total duration: 4m45s - Times executed: 47 ]
-
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-10-27 03:31:52 Duration: 21s469ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1217863') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-10-27 15:27:33 Duration: 21s342ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1217863') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-10-29 16:31:16 Duration: 21s220ms Database: ctdprd51 User: pubeu Bind query: yes
9 109 8m21s 1s15ms 14s473ms 4s598ms 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 Oct 27 01 1 10s664ms 10s664ms 05 1 1s179ms 1s179ms 06 2 2s621ms 1s310ms 08 2 13s188ms 6s594ms 09 1 10s83ms 10s83ms 15 2 2s808ms 1s404ms 18 1 2s807ms 2s807ms 19 1 9s928ms 9s928ms 21 1 1s42ms 1s42ms Oct 28 01 2 2s395ms 1s197ms 04 3 37s182ms 12s394ms 06 3 33s408ms 11s136ms 07 1 1s124ms 1s124ms 08 1 10s310ms 10s310ms 09 8 27s394ms 3s424ms 10 1 2s659ms 2s659ms 13 1 2s34ms 2s34ms 15 1 1s364ms 1s364ms 17 1 10s641ms 10s641ms 19 2 3s847ms 1s923ms 20 1 1s15ms 1s15ms Oct 29 01 1 5s953ms 5s953ms 02 1 1s277ms 1s277ms 04 1 1s53ms 1s53ms 06 1 1s216ms 1s216ms 08 1 10s406ms 10s406ms 15 1 1s432ms 1s432ms 17 2 6s456ms 3s228ms 18 1 1s215ms 1s215ms 20 2 3s932ms 1s966ms 00 4 14s109ms 3s527ms Oct 30 02 2 6s930ms 3s465ms 03 1 2s488ms 2s488ms 05 3 6s450ms 2s150ms 07 1 1s142ms 1s142ms 09 1 1s23ms 1s23ms 15 4 26s267ms 6s566ms 16 1 2s139ms 2s139ms 21 1 2s820ms 2s820ms Oct 31 02 1 1s386ms 1s386ms 04 1 10s585ms 10s585ms Nov 01 07 1 2s137ms 2s137ms 09 1 6s611ms 6s611ms 12 1 2s69ms 2s69ms 13 1 10s392ms 10s392ms 14 4 28s963ms 7s240ms 16 2 3s949ms 1s974ms 20 1 1s286ms 1s286ms 23 1 2s690ms 2s690ms Nov 02 03 1 1s141ms 1s141ms 05 2 25s223ms 12s611ms 06 2 21s466ms 10s733ms 07 2 4s406ms 2s203ms 08 7 18s363ms 2s623ms 10 6 25s856ms 4s309ms 11 3 11s237ms 3s745ms 23 6 39s451ms 6s575ms [ User: pubeu - Total duration: 4m39s - Times executed: 55 ]
-
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 = '2086841') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-10-28 05:24:45 Duration: 14s473ms 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 = '2081060') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-02 04:28:29 Duration: 12s859ms 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 = '2087152') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-11-02 22:21:43 Duration: 12s612ms Database: ctdprd51 User: pubeu Bind query: yes
10 100 7h16m22s 1s128ms 18m19s 4m21s 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 Oct 29 09 1 3m39s 3m39s 13 1 1s714ms 1s714ms 14 2 29m45s 14m52s 15 1 1s405ms 1s405ms 16 9 8m26s 56s258ms 17 7 13m26s 1m55s 19 1 1s327ms 1s327ms 21 3 3m4s 1m1s Oct 30 03 16 4h5m45s 15m21s 04 1 17m26s 17m26s 05 1 17m46s 17m46s 07 1 1s528ms 1s528ms 09 12 6m44s 33s691ms 16 1 6s195ms 6s195ms 23 1 1m14s 1m14s Nov 01 07 3 4s30ms 1s343ms 12 11 13m22s 1m12s 13 18 30m54s 1m43s 14 1 1s537ms 1s537ms 15 1 17m21s 17m21s Nov 02 09 1 17m28s 17m28s 23 1 1m21s 1m21s 00 6 8m16s 1m22s [ User: pubeu - Total duration: 3h36m18s - Times executed: 36 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE 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-10-29 13:43:51 Duration: 18m19s 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 = '1241675') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-10-30 02:49:25 Duration: 18m12s 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 = '1241675') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-10-30 04:16:57 Duration: 17m46s Database: ctdprd51 User: pubeu Bind query: yes
11 96 2m49s 1s286ms 35s542ms 1s765ms 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 #11
Day Hour Count Duration Avg duration Oct 27 01 1 1s327ms 1s327ms 02 1 1s385ms 1s385ms 03 1 1s341ms 1s341ms 06 3 4s92ms 1s364ms 07 1 1s380ms 1s380ms 08 1 1s330ms 1s330ms 10 1 1s326ms 1s326ms 13 1 1s293ms 1s293ms 14 1 1s435ms 1s435ms 15 2 2s785ms 1s392ms 16 5 7s151ms 1s430ms 00 3 4s50ms 1s350ms Oct 28 01 1 1s389ms 1s389ms 02 1 1s399ms 1s399ms 04 2 2s850ms 1s425ms 06 3 4s28ms 1s342ms 08 1 1s468ms 1s468ms 09 2 2s842ms 1s421ms 13 2 2s927ms 1s463ms 17 1 1s375ms 1s375ms 21 1 1s325ms 1s325ms 23 3 4s218ms 1s406ms Oct 29 02 2 2s774ms 1s387ms 04 2 2s791ms 1s395ms 06 1 1s409ms 1s409ms 09 7 9s671ms 1s381ms 10 2 2s925ms 1s462ms 11 3 4s14ms 1s338ms 12 1 1s432ms 1s432ms Oct 30 03 3 4s271ms 1s423ms 04 1 1s327ms 1s327ms 05 1 1s418ms 1s418ms 06 2 2s807ms 1s403ms 09 2 2s714ms 1s357ms 10 2 2s781ms 1s390ms 13 4 5s852ms 1s463ms 00 1 2s171ms 2s171ms Oct 31 01 1 1s433ms 1s433ms 02 3 4s21ms 1s340ms 03 1 1s432ms 1s432ms 04 1 1s501ms 1s501ms Nov 01 05 2 2s830ms 1s415ms 06 2 2s853ms 1s426ms 11 1 1s420ms 1s420ms 13 1 1s425ms 1s425ms 23 1 1s419ms 1s419ms Nov 02 02 1 1s418ms 1s418ms 03 1 1s392ms 1s392ms 06 2 2s771ms 1s385ms 09 2 2s730ms 1s365ms 23 3 38s966ms 12s988ms 00 2 2s779ms 1s389ms [ User: pubeu - Total duration: 47s969ms - Times executed: 34 ]
-
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-02 22:52:34 Duration: 35s542ms 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-10-30 23:37:35 Duration: 2s171ms 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-02 22:21:39 Duration: 1s965ms Database: ctdprd51 User: pubeu Bind query: yes
12 94 3m40s 1s17ms 13s704ms 2s343ms 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 Oct 27 02 12 17s385ms 1s448ms 03 7 10s238ms 1s462ms 04 2 4s174ms 2s87ms 05 1 1s615ms 1s615ms 06 6 17s58ms 2s843ms 08 1 1s648ms 1s648ms 09 2 3s338ms 1s669ms 17 1 1s573ms 1s573ms 19 7 12s381ms 1s768ms 20 10 17s306ms 1s730ms 21 1 1s274ms 1s274ms Oct 28 02 1 1s830ms 1s830ms 03 4 9s147ms 2s286ms 04 3 11s995ms 3s998ms 05 2 2s653ms 1s326ms 06 6 49s150ms 8s191ms 11 2 2s247ms 1s123ms Oct 29 09 1 1s285ms 1s285ms 10 1 5s211ms 5s211ms 11 1 1s276ms 1s276ms 14 1 1s442ms 1s442ms 15 10 24s669ms 2s466ms 18 3 5s262ms 1s754ms Oct 30 17 2 2s914ms 1s457ms 18 1 3s881ms 3s881ms Oct 31 01 1 1s845ms 1s845ms Nov 01 07 2 2s738ms 1s369ms 21 1 2s329ms 2s329ms 00 1 1s120ms 1s120ms Nov 02 05 1 1s272ms 1s272ms [ User: pubeu - Total duration: 1m50s - Times executed: 41 ]
-
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-10-28 05:24:45 Duration: 13s704ms 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 = '1433179') 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 = '1433179') 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-10-28 05:24:44 Duration: 13s28ms 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 = '1433168') 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 = '1433168') 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-10-28 05:24:42 Duration: 10s52ms Database: ctdprd51 User: pubeu Bind query: yes
13 82 40m44s 1s51ms 31m42s 29s805ms 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 #13
Day Hour Count Duration Avg duration Oct 27 02 1 11s347ms 11s347ms 05 3 5s859ms 1s953ms 09 3 4s192ms 1s397ms 18 1 3s187ms 3s187ms Oct 28 02 1 1s134ms 1s134ms 05 4 2m16s 34s85ms 07 5 33m45s 6m45s 08 4 10s513ms 2s628ms 09 5 12s426ms 2s485ms 14 1 1s82ms 1s82ms Oct 29 01 1 1s51ms 1s51ms 04 2 4s500ms 2s250ms 05 1 2s86ms 2s86ms 13 1 1s874ms 1s874ms 14 1 2s151ms 2s151ms 00 2 4s110ms 2s55ms Oct 30 04 3 5s723ms 1s907ms 05 3 5s672ms 1s890ms Oct 31 04 7 1m20s 11s487ms Nov 01 13 4 6s291ms 1s572ms 15 1 2s138ms 2s138ms Nov 02 02 1 1s821ms 1s821ms 07 2 13s361ms 6s680ms 08 18 50s561ms 2s808ms 09 2 3s178ms 1s589ms 10 1 1s904ms 1s904ms 23 4 45s727ms 11s431ms [ User: pubeu - Total duration: 38m1s - Times executed: 55 ]
-
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;
Date: 2024-10-28 06:59:45 Duration: 31m42s 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 = '2081060') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-10-28 04:31:09 Duration: 42s673ms 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 = '2081060') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-10-28 04:32:04 Duration: 41s76ms Database: ctdprd51 User: pubeu Bind query: yes
14 74 2m32s 1s92ms 7s357ms 2s62ms select * from ( select g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, count(*) over () fullrowcount from term g where g.id in ( select gt.gene_id from dag_path dp inner join gene_taxon gt on dp.descendant_object_id = gt.taxon_id where dp.ancestor_object_id = ? union all select gcr.gene_id from dag_path dp inner join gene_chem_reference gcr on dp.descendant_object_id = gcr.taxon_id where dp.ancestor_object_id = ?) offset ?) mq order by mq.genesymbolsort limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Oct 29 20 13 30s327ms 2s332ms Oct 30 03 6 13s139ms 2s189ms 15 4 8s992ms 2s248ms Oct 31 01 16 32s947ms 2s59ms Nov 01 17 1 1s92ms 1s92ms Nov 02 06 16 30s868ms 1s929ms 07 16 30s970ms 1s935ms 23 2 4s255ms 2s127ms [ User: pubeu - Total duration: 33s813ms - Times executed: 15 ]
-
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-10-31 00:31:11 Duration: 7s357ms 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-02 05:42:06 Duration: 5s660ms 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-02 06:42:19 Duration: 5s575ms Bind query: yes
15 73 46m6s 1s 6m30s 37s896ms select * from pgbulkload.pg_bulkload (?);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Oct 29 14 31 14m10s 27s435ms 15 9 8m19s 55s479ms Oct 30 10 6 1m7s 11s256ms 12 3 7m43s 2m34s 13 3 6m54s 2m18s 14 15 4m12s 16s857ms 15 6 3m38s 36s367ms [ User: load - Total duration: 13m47s - Times executed: 24 ]
[ Application: pg_bulkload - Total duration: 13m47s - Times executed: 24 ]
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub2.GENE_DISEASE_REFERENCE,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.log,parse-badfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.DUPE}');
Date: 2024-10-30 11:44:24 Duration: 6m30s Database: ctdprd51 User: load Application: pg_bulkload Bind query: yes
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub2.DAG_PATH,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.log,parse-badfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.DUPE}');
Date: 2024-10-30 12:12:16 Duration: 5m15s Bind query: yes
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=edit.DB_LINK,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.log,parse-badfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.DUPE}');
Date: 2024-10-29 13:32:10 Duration: 4m3s Bind query: yes
16 72 1m58s 1s3ms 6s532ms 1s647ms 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;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Oct 27 02 10 15s290ms 1s529ms 04 5 6s745ms 1s349ms 05 20 30s819ms 1s540ms 09 1 1s72ms 1s72ms 19 9 11s667ms 1s296ms 20 1 1s8ms 1s8ms Oct 28 03 3 8s484ms 2s828ms 04 2 7s647ms 3s823ms 05 1 1s30ms 1s30ms 21 4 7s123ms 1s780ms 00 4 5s829ms 1s457ms Oct 29 07 2 2s885ms 1s442ms 10 4 5s825ms 1s456ms 11 4 7s533ms 1s883ms Nov 01 07 1 3s604ms 3s604ms Nov 02 10 1 2s44ms 2s44ms [ User: pubeu - Total duration: 50s713ms - Times executed: 33 ]
-
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;
Date: 2024-10-28 03:06:04 Duration: 6s532ms 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;
Date: 2024-10-28 02:46:40 Duration: 6s402ms 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 = '1434692'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort;
Date: 2024-11-01 06:42:24 Duration: 3s604ms Database: ctdprd51 User: pubeu Bind query: yes
17 62 2m54s 1s138ms 14s551ms 2s820ms 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 #17
Day Hour Count Duration Avg duration Oct 27 02 3 4s231ms 1s410ms 04 2 2s693ms 1s346ms 05 7 9s925ms 1s417ms 06 8 18s933ms 2s366ms 16 1 3s306ms 3s306ms 19 3 3s801ms 1s267ms 20 1 2s148ms 2s148ms Oct 28 03 1 6s51ms 6s51ms 04 2 12s291ms 6s145ms 05 2 2s806ms 1s403ms 06 6 51s603ms 8s600ms 08 1 1s335ms 1s335ms 10 1 1s344ms 1s344ms 21 1 1s656ms 1s656ms 23 1 3s280ms 3s280ms 00 1 1s345ms 1s345ms Oct 29 01 1 1s678ms 1s678ms 07 1 1s369ms 1s369ms 10 1 1s350ms 1s350ms 11 1 1s677ms 1s677ms 15 5 14s22ms 2s804ms 18 1 1s359ms 1s359ms 22 1 1s988ms 1s988ms Oct 30 06 1 1s928ms 1s928ms 10 1 3s424ms 3s424ms 17 4 10s606ms 2s651ms 18 1 2s35ms 2s35ms 23 1 3s403ms 3s403ms Nov 01 13 1 1s899ms 1s899ms 18 1 1s348ms 1s348ms [ User: pubeu - Total duration: 1m45s - Times executed: 30 ]
-
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-10-28 05:24:45 Duration: 14s551ms 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 = '1433179'))) 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-10-28 05:24:42 Duration: 11s127ms 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 = '1434690'))) 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-10-28 05:24:41 Duration: 9s421ms Database: ctdprd51 User: pubeu Bind query: yes
18 50 3m57s 1s20ms 17s113ms 4s752ms 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 #18
Day Hour Count Duration Avg duration Oct 27 04 1 1s35ms 1s35ms Oct 29 13 1 2s434ms 2s434ms 14 1 1s31ms 1s31ms 16 6 24s134ms 4s22ms 17 4 38s554ms 9s638ms 21 2 18s251ms 9s125ms Oct 30 03 1 1s20ms 1s20ms 09 8 23s202ms 2s900ms Nov 01 07 4 15s501ms 3s875ms 12 7 28s522ms 4s74ms 13 10 50s520ms 5s52ms Nov 02 00 5 33s422ms 6s684ms [ User: pubeu - Total duration: 1m22s - Times executed: 16 ]
-
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 = '1217863'))) 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-02 23:14:38 Duration: 17s113ms 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 = '1217863'))) 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-10-29 16:31:04 Duration: 16s968ms 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 = '1217863'))) 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-01 12:57:34 Duration: 16s388ms Bind query: yes
19 47 49s818ms 1s1ms 1s152ms 1s59ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where stressorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or exposuremarkerterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by medium limit ? offset ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Oct 28 06 18 20s76ms 1s115ms 07 29 29s741ms 1s25ms [ User: pubeu - Total duration: 4s311ms - 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 stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1421489') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1421489') 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 medium LIMIT 50 OFFSET 250;
Date: 2024-10-28 05:54:32 Duration: 1s152ms Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1421489') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1421489') 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 medium LIMIT 50 OFFSET 150;
Date: 2024-10-28 05:54:24 Duration: 1s136ms Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1421489') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1421489') 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 medium LIMIT 50 OFFSET 1100;
Date: 2024-10-28 05:55:51 Duration: 1s127ms Bind query: yes
20 42 1m3s 1s93ms 3s217ms 1s511ms 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 #20
Day Hour Count Duration Avg duration Oct 27 06 4 6s680ms 1s670ms 16 1 1s248ms 1s248ms Oct 28 04 1 1s132ms 1s132ms 06 4 5s834ms 1s458ms 08 3 4s368ms 1s456ms Oct 29 06 5 7s355ms 1s471ms 07 1 1s250ms 1s250ms 19 1 3s217ms 3s217ms 21 1 1s188ms 1s188ms Oct 30 06 4 5s732ms 1s433ms Oct 31 02 1 1s233ms 1s233ms Nov 01 06 4 5s959ms 1s489ms Nov 02 06 4 4s934ms 1s233ms 23 6 9s860ms 1s643ms 00 2 3s466ms 1s733ms [ User: pubeu - Total duration: 15s19ms - Times executed: 9 ]
[ User: qaeu - Total duration: 2s945ms - Times executed: 2 ]
-
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 = '186380' ORDER BY fg.nm_sort, tg.nm_sort LIMIT 50;
Date: 2024-10-29 18:56:18 Duration: 3s217ms Database: ctdprd51 User: pubeu 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-02 22:55:51 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-02 22:24:33 Duration: 2s165ms Database: ctdprd51 User: pubeu Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 2h1m31s 2h1m31s 2h1m31s 1 2h1m31s select pub2.maint_term_derive_data ();Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Oct 30 21 1 2h1m31s 2h1m31s -
select pub2.maint_term_derive_data ();
Date: 2024-10-30 20:52:25 Duration: 2h1m31s Bind query: yes
2 1h36m38s 1h36m38s 1h36m38s 1 1h36m38s select pub2.maint_gene_chem_ref_gene_form_refresh ();Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Oct 30 17 1 1h36m38s 1h36m38s -
select pub2.maint_gene_chem_ref_gene_form_refresh ();
Date: 2024-10-30 16:49:24 Duration: 1h36m38s Bind query: yes
3 1h5m45s 1h5m45s 1h5m45s 1 1h5m45s select maint_term_derive_nm_fts ();Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Oct 30 18 1 1h5m45s 1h5m45s -
SELECT maint_term_derive_nm_fts ();
Date: 2024-10-30 17:58:05 Duration: 1h5m45s Bind query: yes
4 46m46s 46m46s 46m46s 1 46m46s vacuum full analyze;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Oct 30 19 1 46m46s 46m46s -
VACUUM FULL ANALYZE;
Date: 2024-10-30 18:50:31 Duration: 46m46s Bind query: yes
-
VACUUM FULL ANALYZE;
Date: 2024-10-30 18:03:45 Duration: 0ms
5 42m6s 42m6s 42m6s 1 42m6s select distinct gga.go_term_id, gcr.chem_id, ptr.term_object_type_id, gga.gene_id, ( select id from pub2.object_type where cd = ?), ( select current_date) from pub2.gene_chem_reference gcr, pub2.gene_go_annot gga, pub2.phenotype_term_reference ptr where gcr.gene_id = gga.gene_id and gcr.chem_id = ptr.term_id and gga.go_term_id = ptr.phenotype_id and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn where action_degree_type_nm = ?);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Oct 30 12 1 42m6s 42m6s -
select distinct gga.go_term_id, gcr.chem_id, ptr.term_object_type_id, gga.gene_id, ( select id from pub2.OBJECT_TYPE where cd = 'gene'), ( select current_date) from pub2.GENE_CHEM_REFERENCE gcr, pub2.GENE_GO_ANNOT gga, pub2.PHENOTYPE_TERM_REFERENCE ptr where gcr.gene_id = gga.gene_id and gcr.chem_id = ptr.term_id and gga.go_term_id = ptr.phenotype_id and gcr.id not in ( select gene_chem_reference_id from pub2.GENE_CHEM_REFERENCE_AXN where action_degree_type_nm = 'does not affect');
Date: 2024-10-30 11:33:05 Duration: 42m6s Bind query: yes
6 36m31s 36m31s 36m31s 1 36m31s select distinct ptr.phenotype_id, gcr.gene_id, ( select id from pub2.object_type where cd = ?), ptr.term_id, ( select id from pub2.object_type where cd = ?), ( select current_date) from pub2.gene_chem_reference gcr, pub2.phenotype_term_reference ptr, pub2.phenotype_term_reference ptr2 where gcr.chem_id = ptr.term_id and ptr.phenotype_id = ptr2.phenotype_id and gcr.gene_id = ptr2.term_id and gcr.id not in ( select gene_chem_reference_id from pub2.gene_chem_reference_axn where action_degree_type_nm = ?);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Oct 30 11 1 36m31s 36m31s -
select distinct ptr.phenotype_id, gcr.gene_id, ( select id from pub2.OBJECT_TYPE where cd = 'gene'), ptr.term_id, ( select id from pub2.OBJECT_TYPE where cd = 'chem'), ( select current_date) from pub2.GENE_CHEM_REFERENCE gcr, pub2.PHENOTYPE_TERM_REFERENCE ptr, pub2.PHENOTYPE_TERM_REFERENCE ptr2 where gcr.chem_id = ptr.term_id and ptr.phenotype_id = ptr2.phenotype_id and gcr.gene_id = ptr2.term_id and gcr.id not in ( select gene_chem_reference_id from pub2.GENE_CHEM_REFERENCE_AXN where action_degree_type_nm = 'does not affect');
Date: 2024-10-30 10:50:53 Duration: 36m31s Bind query: yes
7 34m48s 34m48s 34m48s 1 34m48s select i.id, edit.get_ixn_xml (i.id), edit.get_ixn_prose (i.id), edit.get_ixn_delimited_actions (i.id), i.ixn_type_id, r.reference_acc_txt, r.taxon_acc_txt, r.create_by, common.break_html_words (edit.get_ixn_prose_html (i.id), false) from edit.ixn i, edit.reference_ixn r where i.id = i.root_id and i.id = r.ixn_id and r.create_by not in (...) order by i.id asc;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Oct 30 10 1 34m48s 34m48s -
SELECT i.id, edit.get_ixn_xml (i.id), edit.get_ixn_prose (i.id), edit.get_ixn_delimited_actions (i.id), i.ixn_type_id, r.reference_acc_txt, r.taxon_acc_txt, r.create_by, common.break_html_words (edit.get_ixn_prose_html (i.id), false) FROM edit.IXN i, edit.REFERENCE_IXN r where i.id = i.root_id and i.id = r.ixn_id and r.create_by not in ('bogusName') order by i.id asc;
Date: 2024-10-30 09:21:15 Duration: 34m48s Bind query: yes
8 33m45s 33m45s 33m45s 1 33m45s select pub2.maint_cached_value_refresh_data_metrics ();Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Oct 30 22 1 33m45s 33m45s -
select pub2.maint_cached_value_refresh_data_metrics ();
Date: 2024-10-30 21:36:28 Duration: 33m45s Bind query: yes
-
select pub2.maint_cached_value_refresh_data_metrics ();
Date: 2024-10-30 21:32:10 Duration: 0ms
9 25m52s 25m52s 25m52s 1 25m52s insert into pub2.gene_go_annot (gene_id, go_term_id, taxon_id, evidence_cd, is_not) select gene_id, go_term_id, taxon_id, evidence_cd, is_not from load.gene_go_annot;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Oct 29 19 1 25m52s 25m52s -
insert into pub2.GENE_GO_ANNOT (gene_id, go_term_id, taxon_id, evidence_cd, is_not) select gene_id, go_term_id, taxon_id, evidence_cd, is_not from load.GENE_GO_ANNOT;
Date: 2024-10-29 18:19:01 Duration: 25m52s Bind query: yes
10 23m47s 23m47s 23m47s 1 23m47s update pub2.gene_disease gd set exposure_reference_qty = ( select count(distinct reference_id) from pub2.gene_disease_reference gdr where gd.gene_id = gdr.gene_id and gd.disease_id = gdr.disease_id and reference_id in ( select id from pub2.reference r where has_exposures = true));Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Oct 30 16 1 23m47s 23m47s -
update pub2.GENE_DISEASE gd set exposure_reference_qty = ( select count(distinct reference_id) from pub2.GENE_DISEASE_REFERENCE gdr where gd.gene_id = gdr.gene_id and gd.disease_id = gdr.disease_id and reference_id in ( select id from pub2.REFERENCE r where has_exposures = true));
Date: 2024-10-30 15:07:18 Duration: 23m47s Bind query: yes
11 18m25s 18m53s 18m34s 6 1h51m29s select maint_query_logs_archive ();Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Oct 27 01 1 18m53s 18m53s Oct 28 01 1 18m35s 18m35s Oct 29 01 1 18m26s 18m26s Oct 30 01 1 18m25s 18m25s Oct 31 01 1 18m36s 18m36s Nov 02 01 1 18m32s 18m32s -
/* * 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-10-27 00:18:55 Duration: 18m53s
-
/* * 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-10-31 00:18:38 Duration: 18m36s
-
/* * 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-10-28 00:18:36 Duration: 18m35s
12 12m48s 12m48s 12m48s 1 12m48s alter table pub2.term_enrichment_agent add constraint term_enr_agent_term_enr_fk foreign key (term_id, enriched_term_id) references term_enrichment (term_id, enriched_term_id);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Oct 30 15 1 12m48s 12m48s -
ALTER TABLE pub2.term_enrichment_agent ADD CONSTRAINT term_enr_agent_term_enr_fk FOREIGN KEY (term_id, enriched_term_id) REFERENCES term_enrichment (term_id, enriched_term_id);
Date: 2024-10-30 14:17:08 Duration: 12m48s Bind query: yes
13 12m19s 12m19s 12m19s 1 12m19s insert into pub2.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary) select object_id, object_type_id, acc_txt, db_id, type_cd, is_primary from edit.db_link;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Oct 29 18 1 12m19s 12m19s [ User: pub2 - Total duration: 12m19s - Times executed: 1 ]
-
insert into pub2.DB_LINK (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary) select object_id, object_type_id, acc_txt, db_id, type_cd, is_primary from edit.DB_LINK;
Date: 2024-10-29 17:47:40 Duration: 12m19s Database: ctdprd51 User: pub2 Bind query: yes
14 1s128ms 18m19s 4m21s 100 7h16m22s 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 #14
Day Hour Count Duration Avg duration Oct 29 09 1 3m39s 3m39s 13 1 1s714ms 1s714ms 14 2 29m45s 14m52s 15 1 1s405ms 1s405ms 16 9 8m26s 56s258ms 17 7 13m26s 1m55s 19 1 1s327ms 1s327ms 21 3 3m4s 1m1s Oct 30 03 16 4h5m45s 15m21s 04 1 17m26s 17m26s 05 1 17m46s 17m46s 07 1 1s528ms 1s528ms 09 12 6m44s 33s691ms 16 1 6s195ms 6s195ms 23 1 1m14s 1m14s Nov 01 07 3 4s30ms 1s343ms 12 11 13m22s 1m12s 13 18 30m54s 1m43s 14 1 1s537ms 1s537ms 15 1 17m21s 17m21s Nov 02 09 1 17m28s 17m28s 23 1 1m21s 1m21s 00 6 8m16s 1m22s [ User: pubeu - Total duration: 3h36m18s - Times executed: 36 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE 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-10-29 13:43:51 Duration: 18m19s 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 = '1241675') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-10-30 02:49:25 Duration: 18m12s 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 = '1241675') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-10-30 04:16:57 Duration: 17m46s Database: ctdprd51 User: pubeu Bind query: yes
15 1s 6m30s 37s896ms 73 46m6s select * from pgbulkload.pg_bulkload (?);Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Oct 29 14 31 14m10s 27s435ms 15 9 8m19s 55s479ms Oct 30 10 6 1m7s 11s256ms 12 3 7m43s 2m34s 13 3 6m54s 2m18s 14 15 4m12s 16s857ms 15 6 3m38s 36s367ms [ User: load - Total duration: 13m47s - Times executed: 24 ]
[ Application: pg_bulkload - Total duration: 13m47s - Times executed: 24 ]
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub2.GENE_DISEASE_REFERENCE,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.log,parse-badfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.DUPE}');
Date: 2024-10-30 11:44:24 Duration: 6m30s Database: ctdprd51 User: load Application: pg_bulkload Bind query: yes
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub2.DAG_PATH,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.log,parse-badfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.DUPE}');
Date: 2024-10-30 12:12:16 Duration: 5m15s Bind query: yes
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=edit.DB_LINK,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.log,parse-badfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.DUPE}');
Date: 2024-10-29 13:32:10 Duration: 4m3s Bind query: yes
16 36s893ms 37s874ms 37s212ms 20 12m24s 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 #16
Day Hour Count Duration Avg duration Oct 27 07 1 36s893ms 36s893ms 11 1 37s272ms 37s272ms 15 1 37s118ms 37s118ms 19 1 37s874ms 37s874ms Oct 28 07 1 37s335ms 37s335ms 11 1 37s234ms 37s234ms 15 1 36s925ms 36s925ms 19 1 37s182ms 37s182ms Oct 29 07 1 37s75ms 37s75ms 11 1 37s580ms 37s580ms 15 1 37s10ms 37s10ms 19 1 36s916ms 36s916ms Oct 30 07 1 36s975ms 36s975ms 11 1 37s301ms 37s301ms 15 1 37s308ms 37s308ms 19 1 37s205ms 37s205ms Nov 01 07 1 37s141ms 37s141ms 11 1 37s463ms 37s463ms 15 1 37s139ms 37s139ms 19 1 37s289ms 37s289ms [ User: postgres - Total duration: 12m24s - Times executed: 20 ]
[ Application: pg_dump - Total duration: 12m24s - Times executed: 20 ]
-
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-10-27 18:05:40 Duration: 37s874ms 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-10-29 10:05:39 Duration: 37s580ms 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-01 10:05:47 Duration: 37s463ms Database: ctdprd51 User: postgres Application: pg_dump
17 1s51ms 31m42s 29s805ms 82 40m44s 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 #17
Day Hour Count Duration Avg duration Oct 27 02 1 11s347ms 11s347ms 05 3 5s859ms 1s953ms 09 3 4s192ms 1s397ms 18 1 3s187ms 3s187ms Oct 28 02 1 1s134ms 1s134ms 05 4 2m16s 34s85ms 07 5 33m45s 6m45s 08 4 10s513ms 2s628ms 09 5 12s426ms 2s485ms 14 1 1s82ms 1s82ms Oct 29 01 1 1s51ms 1s51ms 04 2 4s500ms 2s250ms 05 1 2s86ms 2s86ms 13 1 1s874ms 1s874ms 14 1 2s151ms 2s151ms 00 2 4s110ms 2s55ms Oct 30 04 3 5s723ms 1s907ms 05 3 5s672ms 1s890ms Oct 31 04 7 1m20s 11s487ms Nov 01 13 4 6s291ms 1s572ms 15 1 2s138ms 2s138ms Nov 02 02 1 1s821ms 1s821ms 07 2 13s361ms 6s680ms 08 18 50s561ms 2s808ms 09 2 3s178ms 1s589ms 10 1 1s904ms 1s904ms 23 4 45s727ms 11s431ms [ User: pubeu - Total duration: 38m1s - Times executed: 55 ]
-
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;
Date: 2024-10-28 06:59:45 Duration: 31m42s 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 = '2081060') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-10-28 04:31:09 Duration: 42s673ms 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 = '2081060') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-10-28 04:32:04 Duration: 41s76ms Database: ctdprd51 User: pubeu Bind query: yes
18 1s30ms 21s469ms 5s394ms 126 11m19s 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 #18
Day Hour Count Duration Avg duration Oct 27 01 1 8s176ms 8s176ms 04 2 41s596ms 20s798ms 10 1 1s414ms 1s414ms 15 1 6s951ms 6s951ms 16 3 50s306ms 16s768ms Oct 28 03 1 8s167ms 8s167ms 04 1 8s106ms 8s106ms 12 1 1s30ms 1s30ms 14 1 1s51ms 1s51ms 16 1 1s33ms 1s33ms 20 1 8s94ms 8s94ms 22 1 1s45ms 1s45ms 23 2 9s548ms 4s774ms Oct 29 02 1 7s931ms 7s931ms 08 3 12s123ms 4s41ms 13 1 1s63ms 1s63ms 14 3 12s958ms 4s319ms 16 7 37s461ms 5s351ms 17 6 55s585ms 9s264ms 18 1 1s214ms 1s214ms 21 2 22s239ms 11s119ms 23 1 1s34ms 1s34ms Oct 30 04 4 13s655ms 3s413ms 09 12 36s890ms 3s74ms 10 2 30s277ms 15s138ms 11 1 1s60ms 1s60ms 16 1 2s250ms 2s250ms 19 1 1s166ms 1s166ms 21 1 3s777ms 3s777ms Oct 31 04 1 1s316ms 1s316ms Nov 01 07 6 13s660ms 2s276ms 12 12 1m8s 5s676ms 13 21 1m45s 5s44ms 15 9 40s201ms 4s466ms 18 1 1s834ms 1s834ms 22 1 1s44ms 1s44ms Nov 02 09 1 1s55ms 1s55ms 23 6 21s33ms 3s505ms 00 4 38s352ms 9s588ms [ User: pubeu - Total duration: 4m45s - Times executed: 47 ]
-
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-10-27 03:31:52 Duration: 21s469ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1217863') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-10-27 15:27:33 Duration: 21s342ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1217863') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-10-29 16:31:16 Duration: 21s220ms Database: ctdprd51 User: pubeu Bind query: yes
19 1s6ms 7s60ms 4s783ms 146 11m38s 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 #19
Day Hour Count Duration Avg duration Oct 27 01 5 26s868ms 5s373ms 02 1 5s129ms 5s129ms 05 4 12s948ms 3s237ms 06 2 6s159ms 3s79ms 08 1 5s229ms 5s229ms 10 1 5s398ms 5s398ms 12 1 5s67ms 5s67ms 16 1 5s197ms 5s197ms 17 2 10s354ms 5s177ms 18 2 10s950ms 5s475ms 19 1 5s305ms 5s305ms 21 1 5s73ms 5s73ms 22 1 1s12ms 1s12ms 23 3 16s37ms 5s345ms 00 2 10s505ms 5s252ms Oct 28 01 1 5s179ms 5s179ms 02 2 2s62ms 1s31ms 03 2 10s523ms 5s261ms 08 1 5s126ms 5s126ms 10 2 10s653ms 5s326ms 11 2 10s541ms 5s270ms 12 1 5s166ms 5s166ms 15 1 5s260ms 5s260ms 19 2 6s261ms 3s130ms 22 1 5s90ms 5s90ms 23 3 15s395ms 5s131ms 00 1 5s97ms 5s97ms Oct 29 03 5 25s934ms 5s186ms 05 1 5s709ms 5s709ms 07 1 5s614ms 5s614ms 09 5 27s667ms 5s533ms 10 1 1s23ms 1s23ms 12 1 5s243ms 5s243ms 13 2 6s461ms 3s230ms 14 1 1s79ms 1s79ms 15 2 6s835ms 3s417ms 16 1 5s375ms 5s375ms 18 1 6s576ms 6s576ms 19 2 10s952ms 5s476ms 22 1 5s128ms 5s128ms 23 4 17s221ms 4s305ms Oct 30 01 3 11s455ms 3s818ms 02 3 15s995ms 5s331ms 03 8 44s43ms 5s505ms 05 5 26s858ms 5s371ms 06 2 6s200ms 3s100ms 07 2 10s384ms 5s192ms 09 2 11s36ms 5s518ms 10 2 11s61ms 5s530ms 12 1 7s60ms 7s60ms 14 2 12s99ms 6s49ms 16 1 1s76ms 1s76ms 18 2 11s449ms 5s724ms 19 9 54s667ms 6s74ms 22 1 1s36ms 1s36ms 23 2 10s713ms 5s356ms 00 1 5s107ms 5s107ms Oct 31 01 1 1s18ms 1s18ms 02 2 10s629ms 5s314ms Nov 01 07 2 11s736ms 5s868ms 08 1 5s578ms 5s578ms 11 1 5s678ms 5s678ms 14 2 11s265ms 5s632ms 15 1 5s521ms 5s521ms 17 1 5s584ms 5s584ms 19 1 5s411ms 5s411ms 22 2 7s236ms 3s618ms Nov 02 02 2 11s301ms 5s650ms 03 1 5s810ms 5s810ms 05 1 5s894ms 5s894ms 06 1 5s661ms 5s661ms 07 2 2s330ms 1s165ms 08 1 1s54ms 1s54ms 09 2 6s837ms 3s418ms 00 1 1s198ms 1s198ms [ User: pubeu - Total duration: 4m17s - Times executed: 56 ]
-
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 = '1262309' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-10-30 11:56:40 Duration: 7s60ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1343235' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-10-30 18:23:57 Duration: 7s37ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1273226' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-10-29 17:54:18 Duration: 6s576ms Database: ctdprd51 User: pubeu Bind query: yes
20 1s20ms 17s113ms 4s752ms 50 3m57s 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 #20
Day Hour Count Duration Avg duration Oct 27 04 1 1s35ms 1s35ms Oct 29 13 1 2s434ms 2s434ms 14 1 1s31ms 1s31ms 16 6 24s134ms 4s22ms 17 4 38s554ms 9s638ms 21 2 18s251ms 9s125ms Oct 30 03 1 1s20ms 1s20ms 09 8 23s202ms 2s900ms Nov 01 07 4 15s501ms 3s875ms 12 7 28s522ms 4s74ms 13 10 50s520ms 5s52ms Nov 02 00 5 33s422ms 6s684ms [ User: pubeu - Total duration: 1m22s - Times executed: 16 ]
-
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 = '1217863'))) 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-02 23:14:38 Duration: 17s113ms 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 = '1217863'))) 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-10-29 16:31:04 Duration: 16s968ms 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 = '1217863'))) 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-01 12:57:34 Duration: 16s388ms 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 3s514ms 2 1s757ms 1s757ms 1s757ms select distinct ptr.phenotype_id, ptr.term_id, i.action_type_nm, i.action_type_cd, i.action_degree_type_nm, i.action_degree_type_cd from pub2.PHENOTYPE_TERM_REFERENCE ptr, pub2.IXN_AXN i where ptr.ixn_id = i.ixn_id;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Nov 02 15 2 3s514ms 1s757ms -
select distinct ptr.phenotype_id, ptr.term_id, i.action_type_nm, i.action_type_cd, i.action_degree_type_nm, i.action_degree_type_cd from pub2.PHENOTYPE_TERM_REFERENCE ptr, pub2.IXN_AXN i where ptr.ixn_id = i.ixn_id;
Date: 2024-10-30 14:35:43 Duration: 1s757ms Database: postgres
2 0ms 148 0ms 0ms 0ms ;Times Reported Time consuming bind #2
Day Hour Count Duration Avg duration Oct 27 01 1 0ms 0ms 08 8 0ms 0ms 13 4 0ms 0ms 15 10 0ms 0ms Oct 28 07 18 0ms 0ms 08 12 0ms 0ms 09 4 0ms 0ms 13 2 0ms 0ms 17 4 0ms 0ms 19 4 0ms 0ms Oct 29 01 1 0ms 0ms 06 8 0ms 0ms 07 16 0ms 0ms 10 4 0ms 0ms 11 4 0ms 0ms 12 4 0ms 0ms 14 2 0ms 0ms Oct 30 08 8 0ms 0ms 10 6 0ms 0ms 15 12 0ms 0ms 17 2 0ms 0ms 20 2 0ms 0ms Nov 01 06 3 0ms 0ms 07 3 0ms 0ms 12 3 0ms 0ms 23 3 0ms 0ms [ User: pubeu - Total duration: 7m5s - Times executed: 53 ]
-
;
Date: Duration: 0ms Database: postgres parameters: $1 = '1993841', $2 = '1993841'
-
Events
Log levels
Key values
- 77,567 Log entries
Events distribution
Key values
- 0 PANIC entries
- 31 FATAL entries
- 72 ERROR entries
- 1445 WARNING entries
Most Frequent Errors/Events
Key values
- 1,038 Max number of times the same event was reported
- 1,548 Total events found
Rank Times reported Error 1 1,038 WARNING: skipping "..." --- only table or database owner can vacuum it
Times Reported Most Frequent Error / Event #1
Day Hour Count Oct 30 19 1,038 2 224 WARNING: skipping "..." --- only superuser or database owner can vacuum it
Times Reported Most Frequent Error / Event #2
Day Hour Count Oct 30 19 224 3 133 WARNING: archiving write-ahead log file "..." failed too many times, will try again later
Times Reported Most Frequent Error / Event #3
Day Hour Count Nov 01 05 22 06 27 07 28 08 26 09 27 10 3 - WARNING: archiving write-ahead log file "0000000100000A68000000C1" failed too many times, will try again later
- WARNING: archiving write-ahead log file "0000000100000A68000000C1" failed too many times, will try again later
Detail: The failed archive command was: /usr/bin/rsync -rt --inplace pg_wal/0000000100000A68000000C1 /project/archive/postgresql/dbprd51/arc/The failed archive command was: /usr/bin/rsync -rt --inplace pg_wal/0000000100000A68000000C1 /project/archive/postgresql/dbprd51/arc/
Date: 2024-11-01 06:32:54
Detail: The failed archive command was: /usr/bin/rsync -rt --inplace pg_wal/0000000100000A68000000C1 /project/archive/postgresql/dbprd51/arc/
Date: 2024-11-01 06:35:59
4 43 WARNING: skipping "..." --- only superuser can vacuum it
Times Reported Most Frequent Error / Event #4
Day Hour Count Oct 30 19 43 5 24 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #5
Day Hour Count Oct 28 05 1 Oct 29 14 2 Oct 30 03 14 04 1 05 1 12 2 19 1 Nov 01 15 1 Nov 02 09 1 - ERROR: could not send data to client: Broken pipe
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Date: 2024-10-28 04:51:50 Database: ctdprd51 Application: User: pubeu Remote:
6 24 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #6
Day Hour Count Oct 28 05 1 Oct 29 14 2 Oct 30 03 14 04 1 05 1 12 2 19 1 Nov 01 15 1 Nov 02 09 1 - FATAL: connection to client lost
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Date: 2024-10-28 04:51:50
7 22 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #7
Day Hour Count Oct 28 22 3 Oct 29 20 1 22 6 23 1 Oct 30 20 1 23 6 Nov 01 18 3 19 1 8 7 WARNING: there is no transaction in progress
Times Reported Most Frequent Error / Event #8
Day Hour Count Oct 29 15 1 Oct 30 18 1 19 1 21 3 22 1 9 6 ERROR: syntax error in ts"..."
Times Reported Most Frequent Error / Event #9
Day Hour Count Oct 28 01 1 08 1 10 1 Oct 29 00 1 Nov 01 09 1 15 1 - ERROR: syntax error in ts"| L & NBN/ & FH"
- ERROR: syntax error in ts"LL & MICE & WERE & ALSO & IMPLANTED & WITH & 12.5 MG & (60-DAY | 60DAY) & RELEASE & (5-ALPHA-DHT | 5ALPHADHT) & PELLETS"
- ERROR: syntax error in ts"H Z N S A CO M"
Statement: SELECT /* BasicCountsDAO gen */ ii.cd ,COUNT(ii.id) cnt FROM (SELECT ot.cd ,tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops',$1) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',$2) OR r.id IN (SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $3 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $4 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $5 ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper( l.acc_txt ) LIKE $6 OR upper( l.acc_txt ) LIKE $7 OR upper( l.acc_txt ) LIKE $8 ) ) ii GROUP BY ii.cd
Date: 2024-10-28 00:26:13
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 OR upper( l.acc_txt ) = $15 OR upper( l.acc_txt ) = $16 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2024-10-28 07:18:49
Statement: SELECT /* BasicCountsDAO gen */ ii.cd ,COUNT(ii.id) cnt FROM (SELECT ot.cd ,tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops',$1) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',$2) OR r.id IN (SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $3 ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper( l.acc_txt ) LIKE $4 ) ) ii GROUP BY ii.cd
Date: 2024-10-28 09:02:28
10 4 ERROR: relation "..." does not exist
Times Reported Most Frequent Error / Event #10
Day Hour Count Oct 29 11 1 12 1 14 2 - ERROR: relation "pub2.term" does not exist at character 22
- ERROR: relation "object_type" does not exist at character 84
- ERROR: relation "reference_ixn" does not exist at character 22
Statement: select count(*) from pub2.term
Date: 2024-10-29 10:03:08
Statement: select count(*) from edit.db_link where object_type_id = ( select id from object_type where cd = 'reference' );
Date: 2024-10-29 11:09:38
Statement: select count(*) from reference_ixn where taxon_acc_txt = '136835'
Date: 2024-10-29 13:54:19
11 4 FATAL: password authentication failed for user "..."
Times Reported Most Frequent Error / Event #11
Day Hour Count Oct 30 09 4 - 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-10-30 08:44:06
12 3 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #12
Day Hour Count Oct 30 12 1 13 1 14 1 13 3 ERROR: canceling statement due to user request
Times Reported Most Frequent Error / Event #13
Day Hour Count Oct 29 12 1 Oct 30 12 2 - ERROR: canceling statement due to user request
- ERROR: canceling statement due to user request
Statement: select * from db_link
Date: 2024-10-29 11:12:14
Statement: SELECT pg_database_size(datname::text) FROM pg_catalog.pg_database WHERE datistemplate = false AND datname = $1;
Date: 2024-10-30 11:49:08
14 3 FATAL: canceling authentication due to timeout
Times Reported Most Frequent Error / Event #14
Day Hour Count Oct 28 05 1 07 2 15 2 ERROR: invalid byte sequence for encoding
Times Reported Most Frequent Error / Event #15
Day Hour Count Oct 27 18 2 - ERROR: invalid byte sequence for encoding "UTF8": 0x00
Context: unnamed portal parameter $1
Statement: SELECT /* ObjectIdDAOImpl.LabelsAndAccs */ t.id ,t.nm ,t.nm_sort nmSort ,t.acc_txt acc ,t.acc_db_cd accDbCd FROM term t ,(SELECT li.term_id FROM term_label li WHERE UPPER(li.nm) = $1 AND li.object_type_id = 10 UNION SELECT l.object_id FROM db_link l WHERE upper( l.acc_txt ) = $2 AND l.object_type_id = 10 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-10-27 17:00:33 Database: ctdprd51 Application: User: pubeu Remote:
16 2 ERROR: column "..." does not exist
Times Reported Most Frequent Error / Event #16
Day Hour Count Oct 29 15 2 - ERROR: column "ojbect_type_id" does not exist at character 34
- ERROR: column "ojbect_type_id" does not exist at character 119
Hint: Perhaps you meant to reference the column "term.object_type_id".
Statement: select * from load.term where ojbect_type_id = 1 and acc_txt not in ( select acc_txt from pub1.term where ojbect_type_id = 1 )Date: 2024-10-29 14:55:06
Hint: Perhaps you meant to reference the column "term.object_type_id" or the column "term.object_type_id".
Statement: select * from load.term where object_type_id = 1 and acc_txt not in ( select acc_txt from pub1.term where ojbect_type_id = 1 )Date: 2024-10-29 14:55:12
17 1 LOG: database system was shut down at ...
Times Reported Most Frequent Error / Event #17
Day Hour Count Nov 02 22 1 18 1 ERROR: unterminated quoted identifier at or near """
Times Reported Most Frequent Error / Event #18
Day Hour Count Oct 29 15 1 - ERROR: unterminated quoted identifier at or near """ at character 19
Statement: commit transaction"
Date: 2024-10-29 14:08:51
19 1 ERROR: unterminated quoted identifier at or near ""..."
Times Reported Most Frequent Error / Event #19
Day Hour Count Oct 29 14 1 - ERROR: unterminated quoted identifier at or near "" " at character 524
Statement: select reference_acc_txt ,taxon_acc_txt ,pubTerm.nm ,get_ixn_prose( ixn_id ) ,create_by ,create_tm from edit.reference_ixn ri ,pub2.term pubTerm -- set to CURRENT PRODUCTION PUB!!!!! where taxon_acc_txt not in ( select acc_txt from load.term where object_type_id = ( select id from edit.object_type where cd = 'taxon' ) ) and pubTerm.acc_txt = ri.taxon_acc_txt and object_type_id = ( select id from edit.object_type where cd = 'taxon' ) and taxon_acc_txt is not null and taxon_acc_txt <> ''"
Date: 2024-10-29 13:43:21
20 1 ERROR: canceling autovacuum task
Times Reported Most Frequent Error / Event #20
Day Hour Count Oct 30 19 1 21 1 ERROR: function get_ixn_prose(...) does not exist
Times Reported Most Frequent Error / Event #21
Day Hour Count Oct 29 14 1 - ERROR: function get_ixn_prose(integer) does not exist at character 66
Hint: No function matches the given name and argument types. You might need to add explicit type casts.
Statement: select reference_acc_txt ,taxon_acc_txt ,pubTerm.nm ,get_ixn_prose( ixn_id ) ,create_by ,create_tm from edit.reference_ixn ri ,pub2.term pubTerm -- set to CURRENT PRODUCTION PUB!!!!! where taxon_acc_txt not in ( select acc_txt from load.term where object_type_id = ( select id from edit.object_type where cd = 'taxon' ) ) and pubTerm.acc_txt = ri.taxon_acc_txt and object_type_id = ( select id from edit.object_type where cd = 'taxon' ) and taxon_acc_txt is not null and taxon_acc_txt <> ''Date: 2024-10-29 13:43:25
22 1 LOG: process ... still waiting for ShareLock on relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #22
Day Hour Count Oct 30 19 1 - ERROR: process 131525 still waiting for ShareLock on relation 6503262 of database 484829 after 1000.094 ms
Detail: Process holding the lock: 167979. Wait queue: 131525.
Statement: CREATE INDEX ftsix_term_label_nm ON pub2.TERM_LABEL USING gin(nm_fts)Date: 2024-10-30 18:01:31