-
Global information
- Generated on Sun Sep 8 04:15:12 2024
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20240907
- Parsed 310,041 log entries in 11s
- Log start from 2024-09-01 00:00:02 to 2024-09-07 23:57:37
-
Overview
Global Stats
- 373 Number of unique normalized queries
- 4,223 Number of queries
- 10h12m57s Total query duration
- 2024-09-01 00:16:38 First query
- 2024-09-07 23:45:55 Last query
- 5 queries/s at 2024-09-03 16:59:51 Query peak
- 10h12m57s Total query duration
- 2s816ms Prepare/parse total duration
- 2s132ms Bind total duration
- 10h12m52s Execute total duration
- 17 Number of events
- 4 Number of unique normalized events
- 6 Max number of times the same event was reported
- 0 Number of cancellation
- 55 Total number of automatic vacuums
- 206 Total number of automatic analyzes
- 0 Number temporary file
- 0 Max size of temporary file
- 0.00 B Average size of temporary file
- 14,730 Total number of sessions
- 58 sessions at 2024-09-04 00:47:52 Session peak
- 294d12h32m21s Total duration of sessions
- 28m47s Average duration of sessions
- 0 Average queries per session
- 2s496ms Average queries duration per session
- 28m45s Average idle time per session
- 14,728 Total number of connections
- 39 connections/s at 2024-09-01 09:14:10 Connection peak
- 3 Total number of databases
SQL Traffic
Key values
- 5 queries/s Query Peak
- 2024-09-03 16:59:51 Date
SELECT Traffic
Key values
- 5 queries/s Query Peak
- 2024-09-03 16:59:51 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2024-09-04 14:00:24 Date
Queries duration
Key values
- 10h12m57s Total query duration
Prepared queries ratio
Key values
- 0.00 Ratio of bind vs prepare
- 0.00 % Ratio between prepared and "usual" statements
General Activity
↑ Back to the top of the General Activity tableDay Hour Count Min duration Max duration Avg duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Sep 01 00 15 0ms 16m35s 1m9s 3s990ms 7s792ms 16m40s 01 9 0ms 5s158ms 1s920ms 1s285ms 1s495ms 5s158ms 02 8 0ms 3s845ms 1s679ms 1s309ms 1s536ms 3s845ms 03 18 0ms 5s919ms 2s246ms 2s619ms 4s929ms 10s962ms 04 14 0ms 3s360ms 1s557ms 1s408ms 2s174ms 3s360ms 05 47 0ms 10s908ms 2s820ms 13s737ms 22s488ms 24s545ms 06 23 0ms 33s749ms 5s439ms 2s575ms 9s623ms 54s167ms 07 7 0ms 4s256ms 1s814ms 1s189ms 1s767ms 4s256ms 08 9 0ms 2s21ms 1s354ms 1s206ms 2s326ms 3s312ms 09 6 0ms 5s284ms 1s911ms 1s175ms 1s247ms 5s284ms 10 17 0ms 33s830ms 6s732ms 1s584ms 9s526ms 54s285ms 11 16 0ms 5s830ms 2s223ms 3s915ms 5s51ms 5s830ms 12 12 0ms 5s694ms 2s132ms 2s320ms 5s71ms 5s694ms 13 21 0ms 10s247ms 2s50ms 2s640ms 5s172ms 10s247ms 14 17 0ms 33s668ms 6s913ms 1s750ms 9s563ms 55s261ms 15 13 0ms 1s778ms 1s303ms 1s208ms 1s778ms 3s160ms 16 11 0ms 6s882ms 2s279ms 2s409ms 4s600ms 8s179ms 17 8 0ms 5s748ms 2s141ms 1s203ms 1s378ms 10s995ms 18 19 0ms 33s775ms 6s820ms 4s605ms 12s415ms 54s565ms 19 8 0ms 6s837ms 2s346ms 1s216ms 5s58ms 6s837ms 20 17 0ms 3s987ms 1s521ms 1s817ms 2s288ms 3s987ms 21 4 0ms 1m43s 27s457ms 1s153ms 3s989ms 1m43s 22 12 0ms 57s501ms 6s127ms 2s346ms 2s524ms 57s501ms 23 28 0ms 16s274ms 5s358ms 7s678ms 15s862ms 1m2s Sep 02 00 24 0ms 16m33s 42s952ms 2s266ms 3s822ms 16m38s 01 18 0ms 13s984ms 2s995ms 3s814ms 7s923ms 13s984ms 02 17 0ms 4s811ms 2s528ms 3s875ms 3s945ms 4s811ms 03 24 0ms 6s867ms 2s602ms 5s109ms 5s456ms 13s140ms 04 28 0ms 3m25s 9s796ms 5s99ms 6s474ms 3m25s 05 62 0ms 13s547ms 2s428ms 16s530ms 20s788ms 23s766ms 06 34 0ms 33s790ms 5s151ms 7s934ms 18s159ms 54s189ms 07 30 0ms 4s55ms 2s226ms 3s942ms 4s511ms 8s171ms 08 19 0ms 3s916ms 2s124ms 3s279ms 3s879ms 5s32ms 09 23 0ms 4s14ms 2s25ms 3s874ms 3s982ms 5s142ms 10 25 0ms 33s657ms 5s206ms 3s64ms 9s588ms 54s131ms 11 11 0ms 4s863ms 1s756ms 1s187ms 2s586ms 4s863ms 12 17 0ms 1s843ms 1s303ms 1s623ms 2s203ms 3s142ms 13 14 0ms 7s629ms 1s929ms 1s638ms 3s887ms 7s629ms 14 26 0ms 33s809ms 5s569ms 5s77ms 23s665ms 54s112ms 15 6 0ms 4s241ms 2s357ms 1s212ms 2s307ms 4s241ms 16 29 0ms 1m35s 9s495ms 25s303ms 1m35s 1m44s 17 14 0ms 30s308ms 4s629ms 3s880ms 6s865ms 31s581ms 18 25 0ms 2m20s 16s665ms 41s830ms 2m20s 2m34s 19 8 0ms 29s141ms 4s732ms 1s214ms 1s711ms 29s141ms 20 9 0ms 3s209ms 1s525ms 1s216ms 2s218ms 4s399ms 21 5 0ms 4s869ms 1s981ms 1s166ms 1s273ms 4s869ms 22 8 0ms 6s931ms 2s648ms 1s159ms 3s902ms 6s931ms 23 21 0ms 5s606ms 2s552ms 5s487ms 6s200ms 8s809ms Sep 03 00 13 0ms 16m38s 1m18s 1s313ms 2s337ms 16m43s 01 3 0ms 1s290ms 1s187ms 0ms 1s124ms 1s290ms 02 7 0ms 10s602ms 3s393ms 1s150ms 3s826ms 11s846ms 03 28 0ms 14s717ms 3s609ms 4s903ms 9s947ms 24s478ms 04 23 0ms 5s655ms 2s198ms 3s977ms 4s36ms 10s791ms 05 59 0ms 7s332ms 2s764ms 8s304ms 15s814ms 23s721ms 06 35 0ms 33s833ms 4s645ms 5s479ms 14s888ms 55s591ms 07 15 0ms 5s611ms 3s237ms 1s385ms 3s921ms 31s565ms 08 14 0ms 4s263ms 2s51ms 2s175ms 3s899ms 5s132ms 09 63 0ms 36s795ms 3s755ms 8s36ms 22s314ms 1m30s 10 35 0ms 33s792ms 4s845ms 8s7ms 26s859ms 54s23ms 11 14 0ms 4s204ms 2s430ms 2s998ms 3s923ms 8s722ms 12 4 0ms 1s154ms 1s108ms 1s38ms 1s132ms 1s154ms 13 7 0ms 3s885ms 2s286ms 1s176ms 3s356ms 3s885ms 14 24 0ms 33s798ms 5s805ms 7s812ms 9s573ms 54s234ms 15 3 0ms 4s26ms 3s23ms 0ms 1s173ms 4s26ms 16 84 0ms 15s917ms 4s785ms 16s493ms 19s861ms 4m13s 17 71 0ms 4s13ms 2s738ms 15s420ms 17s10ms 23s242ms 18 45 0ms 34s663ms 4s665ms 13s310ms 14s138ms 58s235ms 19 15 0ms 4s366ms 3s566ms 3s967ms 7s772ms 12s958ms 20 64 0ms 15s613ms 4s832ms 17s839ms 18s260ms 2m34s 21 46 0ms 16s84ms 6s710ms 8s878ms 18s303ms 3m48s 22 10 0ms 4s674ms 2s452ms 1s635ms 3s903ms 4s674ms 23 47 0ms 13s29ms 6s184ms 9s267ms 56s283ms 1m28s Sep 04 00 462 0ms 17m40s 12s992ms 2m38s 3m34s 20m55s 01 36 0ms 11s296ms 5s527ms 26s59ms 26s409ms 51s170ms 02 19 0ms 10s702ms 2s251ms 2s532ms 3s902ms 10s702ms 03 21 0ms 14s474ms 4s162ms 4s957ms 9s357ms 26s402ms 04 49 0ms 12s985ms 3s873ms 8s817ms 20s607ms 25s806ms 05 63 0ms 7s616ms 2s879ms 14s400ms 21s753ms 25s25ms 06 26 0ms 33s834ms 4s952ms 3s949ms 9s564ms 41s914ms 07 29 0ms 10m47s 28s377ms 7s338ms 10s370ms 10m47s 08 38 0ms 4m15s 10s465ms 8s171ms 14s880ms 4m16s 09 24 0ms 5s272ms 2s703ms 4s235ms 4s500ms 25s941ms 10 38 0ms 33s890ms 4s227ms 5s975ms 7s671ms 54s201ms 11 23 0ms 4s973ms 1s796ms 3s849ms 3s912ms 4s973ms 12 5 0ms 3s852ms 1s813ms 1s258ms 1s495ms 3s852ms 13 15 0ms 3s938ms 1s584ms 1s886ms 3s382ms 3s938ms 14 25 0ms 33s855ms 5s320ms 2s864ms 9s563ms 54s106ms 15 24 0ms 6s940ms 2s503ms 3s888ms 6s895ms 15s156ms 16 10 0ms 3s958ms 1s880ms 1s208ms 2s769ms 5s27ms 17 21 0ms 5s294ms 1s847ms 3s22ms 3s949ms 8s562ms 18 26 0ms 33s850ms 5s122ms 5s218ms 9s593ms 54s244ms 19 15 0ms 3s933ms 1s534ms 2s242ms 2s522ms 3s933ms 20 36 0ms 14s756ms 2s660ms 5s877ms 12s196ms 14s756ms 21 27 0ms 6s544ms 3s197ms 7s824ms 8s62ms 13s67ms 22 16 0ms 13s18ms 2s451ms 2s386ms 3s768ms 13s18ms 23 17 0ms 46s246ms 5s908ms 3s993ms 5s293ms 47s606ms Sep 05 00 21 0ms 16m34s 48s907ms 2s618ms 4s141ms 16m38s 01 22 0ms 7s133ms 1s923ms 2s555ms 4s712ms 8s428ms 02 20 0ms 4s147ms 2s872ms 4s15ms 4s143ms 8s12ms 03 23 0ms 10s476ms 2s332ms 4s117ms 5s268ms 12s808ms 04 34 0ms 8s325ms 2s15ms 3s605ms 6s826ms 11s264ms 05 81 0ms 6s294ms 2s54ms 11s103ms 17s992ms 24s468ms 06 24 0ms 34s608ms 5s661ms 2s533ms 13s51ms 55s295ms 07 14 0ms 1m48s 9s360ms 2s353ms 3s910ms 1m48s 08 10 0ms 14s23ms 4s177ms 3s964ms 5s236ms 14s23ms 09 27 0ms 7s477ms 4s490ms 6s970ms 20s825ms 30s542ms 10 40 0ms 33s819ms 4s744ms 9s576ms 43s4ms 54s88ms 11 27 0ms 7m17s 1m31s 5s233ms 5m37s 28m45s 12 27 0ms 5s312ms 2s732ms 8s163ms 10s981ms 17s76ms 13 53 0ms 11s270ms 3s868ms 16s92ms 17s231ms 19s717ms 14 52 0ms 33s741ms 4s555ms 13s71ms 14s189ms 45s599ms 15 19 0ms 20s422ms 4s118ms 1s721ms 4s794ms 55s512ms 16 22 0ms 6m3s 20s916ms 8s679ms 39s533ms 6m3s 17 7 0ms 2s79ms 1s431ms 1s275ms 1s559ms 2s79ms 18 25 0ms 33s908ms 6s861ms 9s571ms 20s948ms 54s99ms 19 5 0ms 1s290ms 1s189ms 0ms 1s177ms 2s395ms 20 10 0ms 4s76ms 1s795ms 1s258ms 1s634ms 4s76ms 21 14 0ms 5s589ms 1s896ms 1s471ms 3s817ms 5s589ms 22 51 0ms 10m39s 17s845ms 25s114ms 41s103ms 10m39s 23 19 0ms 9s45ms 3s735ms 1s537ms 17s674ms 20s734ms Sep 06 00 14 0ms 16m39s 1m17s 1s318ms 5s92ms 16m44s 01 29 0ms 22s557ms 5s176ms 6s209ms 20s329ms 1m 02 34 0ms 10s40ms 2s125ms 8s279ms 10s40ms 14s438ms 03 15 0ms 34s714ms 9s565ms 16s580ms 34s714ms 42s361ms 04 0 0ms 0ms 0ms 0ms 0ms 0ms 05 55 0ms 7s80ms 2s252ms 8s85ms 20s188ms 24s458ms 06 28 0ms 33s866ms 6s240ms 8s2ms 17s560ms 57s292ms 07 59 0ms 20s750ms 6s7ms 28s73ms 32s386ms 1m52s 08 93 0ms 8s244ms 2s527ms 18s597ms 22s706ms 28s896ms 09 32 0ms 4s 2s63ms 4s131ms 8s263ms 16s604ms 10 15 0ms 33s898ms 7s443ms 1s234ms 23s619ms 41s964ms 11 5 0ms 3s947ms 1s735ms 0ms 1s368ms 3s947ms 12 12 0ms 10s84ms 2s532ms 2s319ms 3s993ms 11s409ms 13 4 0ms 3s876ms 2s208ms 0ms 1s355ms 3s876ms 14 19 0ms 33s890ms 6s424ms 2s860ms 9s583ms 54s125ms 15 6 0ms 4s42ms 3s475ms 3s843ms 3s890ms 4s42ms 16 9 0ms 1s889ms 1s252ms 1s159ms 1s179ms 4s206ms 17 17 0ms 5s35ms 2s915ms 3s924ms 7s792ms 10s964ms 18 30 0ms 33s933ms 4s847ms 5s556ms 9s576ms 54s89ms 19 5 0ms 5s416ms 2s144ms 1s103ms 2s564ms 5s416ms 20 14 0ms 1s849ms 1s313ms 1s199ms 2s374ms 3s70ms 21 28 0ms 3s997ms 1s404ms 3s959ms 6s558ms 9s184ms 22 8 0ms 5s400ms 1s738ms 1s197ms 1s238ms 5s400ms 23 19 0ms 1s266ms 1s147ms 1s251ms 2s179ms 6s748ms Sep 07 00 16 0ms 16m41s 1m4s 1s214ms 2s721ms 16m46s 01 18 0ms 2s470ms 1s661ms 2s238ms 5s651ms 6s874ms 02 12 0ms 18m21s 2m1s 3s983ms 5s77ms 18m23s 03 21 0ms 4s582ms 2s124ms 3s902ms 8s805ms 16s565ms 04 16 0ms 4s10ms 1s970ms 2s658ms 3s936ms 5s59ms 05 48 0ms 10s74ms 2s976ms 13s713ms 18s706ms 24s631ms 06 9 0ms 4s69ms 2s727ms 3s882ms 3s912ms 8s46ms 07 16 0ms 3s897ms 1s500ms 1s321ms 2s628ms 4s900ms 08 3 0ms 1s374ms 1s221ms 0ms 1s143ms 1s374ms 09 10 0ms 10s985ms 2s228ms 1s267ms 1s380ms 10s985ms 10 10 0ms 1s319ms 1s153ms 1s145ms 1s162ms 1s319ms 11 18 0ms 5s13ms 1s779ms 2s299ms 3s896ms 5s13ms 12 16 0ms 45s392ms 4s816ms 2s156ms 4s172ms 48s318ms 13 11 0ms 4s40ms 2s437ms 1s413ms 3s933ms 4s40ms 14 8 0ms 1s890ms 1s301ms 1s186ms 1s370ms 2s508ms 15 5 0ms 2m1s 25s418ms 1s186ms 1s470ms 2m3s 16 8 0ms 8s91ms 3s63ms 1s274ms 5s30ms 8s91ms 17 10 0ms 3s962ms 1s486ms 1s166ms 1s483ms 5s125ms 18 29 0ms 1m11s 13s841ms 54s131ms 1m2s 1m11s 19 55 0ms 23m42s 1m27s 2m9s 7m13s 24m32s 20 12 0ms 3s920ms 1s518ms 1s135ms 1s329ms 3s920ms 21 9 0ms 10s872ms 2s590ms 1s146ms 2s311ms 10s872ms 22 4 0ms 3s967ms 1s845ms 0ms 1s68ms 5s17ms 23 12 0ms 1s392ms 1s212ms 1s210ms 1s271ms 1s392ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Sep 01 00 14 0 1m13s 1s119ms 3s990ms 16m35s 01 9 0 1s920ms 1s108ms 1s285ms 5s158ms 02 8 0 1s679ms 0ms 1s309ms 3s845ms 03 18 0 2s246ms 1s328ms 2s619ms 10s962ms 04 14 0 1s557ms 1s315ms 1s408ms 3s360ms 05 43 0 2s879ms 1s233ms 13s737ms 24s545ms 06 13 10 5s439ms 1s277ms 2s575ms 54s167ms 07 7 0 1s814ms 0ms 1s189ms 2s750ms 08 9 0 1s354ms 0ms 1s206ms 2s577ms 09 6 0 1s911ms 0ms 1s175ms 5s284ms 10 7 10 6s732ms 1s10ms 1s584ms 54s285ms 11 16 0 2s223ms 1s291ms 3s915ms 5s830ms 12 12 0 2s132ms 1s261ms 2s320ms 5s694ms 13 21 0 2s50ms 1s339ms 2s640ms 10s247ms 14 7 10 6s913ms 1s185ms 1s750ms 54s75ms 15 13 0 1s303ms 1s196ms 1s208ms 3s160ms 16 11 0 2s279ms 0ms 2s409ms 8s179ms 17 8 0 2s141ms 0ms 1s203ms 10s995ms 18 9 10 6s820ms 1s193ms 4s605ms 54s565ms 19 8 0 2s346ms 0ms 1s216ms 6s837ms 20 17 0 1s521ms 1s197ms 1s817ms 3s987ms 21 4 0 27s457ms 0ms 1s153ms 1m43s 22 12 0 6s127ms 1s56ms 2s346ms 57s501ms 23 28 0 5s358ms 1s281ms 7s678ms 1m2s Sep 02 00 23 0 44s604ms 1s423ms 2s266ms 16m33s 01 18 0 2s995ms 1s211ms 3s814ms 13s984ms 02 17 0 2s528ms 1s412ms 3s875ms 4s811ms 03 24 0 2s602ms 3s348ms 5s109ms 13s140ms 04 28 0 9s796ms 3s864ms 5s99ms 3m25s 05 58 0 2s445ms 2s531ms 16s530ms 23s766ms 06 24 10 5s151ms 3s915ms 7s934ms 54s189ms 07 30 0 2s226ms 3s884ms 3s942ms 5s107ms 08 19 0 2s124ms 1s268ms 3s279ms 3s916ms 09 23 0 2s25ms 1s603ms 3s874ms 5s22ms 10 15 10 5s206ms 1s270ms 3s64ms 54s131ms 11 11 0 1s756ms 1s18ms 1s187ms 4s863ms 12 17 0 1s303ms 1s180ms 1s623ms 3s142ms 13 14 0 1s929ms 1s236ms 1s638ms 7s629ms 14 16 10 5s569ms 1s273ms 5s77ms 54s112ms 15 6 0 2s357ms 0ms 1s212ms 4s241ms 16 29 0 9s495ms 2s620ms 25s303ms 1m44s 17 14 0 4s629ms 0ms 3s880ms 11s999ms 18 15 10 16s665ms 1s638ms 41s830ms 2m34s 19 8 0 4s732ms 1s95ms 1s214ms 29s141ms 20 9 0 1s525ms 1s135ms 1s216ms 4s399ms 21 5 0 1s981ms 0ms 1s166ms 4s869ms 22 8 0 2s648ms 0ms 1s159ms 6s931ms 23 21 0 2s552ms 2s31ms 5s487ms 8s809ms Sep 03 00 12 0 1m24s 1s158ms 1s313ms 16m38s 01 3 0 1s187ms 0ms 0ms 1s290ms 02 7 0 3s393ms 0ms 1s150ms 11s846ms 03 28 0 3s609ms 4s24ms 4s903ms 24s478ms 04 23 0 2s198ms 1s787ms 3s977ms 10s791ms 05 55 0 2s803ms 5s338ms 8s304ms 23s721ms 06 24 10 4s686ms 2s508ms 4s59ms 41s974ms 07 15 0 3s237ms 0ms 1s385ms 31s565ms 08 14 0 2s51ms 1s178ms 2s175ms 5s132ms 09 63 0 3s755ms 4s36ms 8s36ms 26s836ms 10 24 10 4s921ms 2s680ms 8s7ms 54s23ms 11 14 0 2s430ms 1s184ms 2s998ms 8s722ms 12 4 0 1s108ms 0ms 1s38ms 1s154ms 13 7 0 2s286ms 0ms 1s176ms 3s885ms 14 14 10 5s805ms 3s448ms 7s812ms 54s234ms 15 3 0 3s23ms 0ms 0ms 4s26ms 16 84 0 4s785ms 6s535ms 16s493ms 4m13s 17 71 0 2s738ms 8s325ms 15s420ms 23s242ms 18 35 10 4s665ms 8s310ms 10s364ms 54s257ms 19 15 0 3s566ms 2s549ms 3s967ms 12s958ms 20 64 0 4s832ms 8s928ms 17s839ms 2m34s 21 46 0 6s710ms 3s966ms 8s878ms 3m48s 22 10 0 2s452ms 1s161ms 1s635ms 4s674ms 23 47 0 6s184ms 3s880ms 9s267ms 1m28s Sep 04 00 460 0 12s983ms 2m18s 2m38s 3m51s 01 36 0 5s527ms 1s691ms 26s59ms 51s170ms 02 19 0 2s251ms 1s309ms 2s532ms 10s702ms 03 21 0 4s162ms 1s585ms 4s957ms 26s402ms 04 49 0 3s873ms 6s928ms 8s817ms 24s963ms 05 59 0 2s926ms 5s35ms 14s400ms 25s25ms 06 17 9 4s952ms 2s750ms 3s949ms 40s75ms 07 28 0 29s272ms 3s905ms 5s384ms 10m47s 08 37 0 10s684ms 3s955ms 7s922ms 4m16s 09 24 0 2s703ms 2s465ms 4s235ms 25s941ms 10 29 9 4s227ms 3s319ms 5s598ms 54s201ms 11 23 0 1s796ms 1s217ms 3s849ms 4s973ms 12 5 0 1s813ms 0ms 1s258ms 3s852ms 13 14 0 1s562ms 1s139ms 1s475ms 3s938ms 14 15 10 5s320ms 1s182ms 2s864ms 41s958ms 15 24 0 2s503ms 1s266ms 3s888ms 15s156ms 16 10 0 1s880ms 0ms 1s208ms 5s27ms 17 21 0 1s847ms 1s187ms 3s22ms 8s562ms 18 16 10 5s122ms 1s191ms 5s218ms 54s244ms 19 15 0 1s534ms 1s188ms 2s242ms 3s933ms 20 36 0 2s660ms 2s970ms 5s877ms 14s756ms 21 26 0 3s249ms 3s963ms 7s824ms 13s67ms 22 16 0 2s451ms 1s244ms 2s386ms 13s18ms 23 17 0 5s908ms 1s198ms 3s993ms 47s606ms Sep 05 00 20 0 51s115ms 1s199ms 2s618ms 16m34s 01 22 0 1s923ms 1s462ms 2s555ms 8s428ms 02 20 0 2s872ms 3s933ms 4s15ms 8s12ms 03 23 0 2s332ms 1s338ms 4s117ms 12s808ms 04 34 0 2s15ms 2s160ms 3s605ms 8s325ms 05 77 0 2s36ms 4s179ms 11s103ms 24s468ms 06 14 10 5s661ms 1s172ms 2s533ms 54s61ms 07 14 0 9s360ms 1s103ms 2s353ms 1m48s 08 10 0 4s177ms 1s108ms 3s964ms 14s23ms 09 27 0 4s490ms 1s212ms 6s970ms 30s542ms 10 30 10 4s744ms 2s531ms 9s576ms 54s88ms 11 27 0 1m31s 2s598ms 5s233ms 5m42s 12 27 0 2s732ms 1s116ms 8s163ms 17s76ms 13 52 0 3s906ms 7s734ms 16s92ms 19s717ms 14 45 7 4s555ms 9s141ms 13s71ms 41s866ms 15 19 0 4s118ms 1s187ms 1s721ms 55s512ms 16 22 0 20s916ms 1s416ms 8s679ms 6m3s 17 7 0 1s431ms 0ms 1s275ms 2s79ms 18 15 10 6s861ms 3s921ms 9s571ms 54s99ms 19 5 0 1s189ms 0ms 0ms 2s395ms 20 10 0 1s795ms 1s140ms 1s258ms 4s76ms 21 14 0 1s896ms 1s181ms 1s471ms 5s589ms 22 51 0 17s845ms 18s193ms 25s114ms 10m39s 23 19 0 3s735ms 1s133ms 1s537ms 20s734ms Sep 06 00 13 0 1m22s 0ms 1s318ms 16m39s 01 29 0 5s176ms 3s948ms 6s209ms 1m 02 34 0 2s125ms 2s63ms 8s279ms 14s438ms 03 15 0 9s565ms 0ms 16s580ms 42s361ms 04 0 0 0ms 0ms 0ms 0ms 05 52 0 2s232ms 2s323ms 8s85ms 24s458ms 06 18 10 6s240ms 3s973ms 8s2ms 54s168ms 07 59 0 6s7ms 15s578ms 28s73ms 1m52s 08 93 0 2s527ms 10s166ms 18s597ms 28s896ms 09 32 0 2s63ms 3s948ms 4s131ms 16s604ms 10 5 10 7s443ms 0ms 1s234ms 41s964ms 11 5 0 1s735ms 0ms 0ms 3s947ms 12 12 0 2s532ms 1s94ms 2s319ms 11s409ms 13 4 0 2s208ms 0ms 0ms 3s876ms 14 9 10 6s424ms 1s133ms 2s860ms 54s125ms 15 6 0 3s475ms 0ms 3s843ms 4s42ms 16 8 0 1s172ms 0ms 1s159ms 2s316ms 17 17 0 2s915ms 3s858ms 3s924ms 10s964ms 18 20 10 4s847ms 2s449ms 5s556ms 54s89ms 19 5 0 2s144ms 0ms 1s103ms 5s416ms 20 14 0 1s313ms 1s141ms 1s199ms 3s70ms 21 28 0 1s404ms 1s167ms 3s959ms 9s184ms 22 8 0 1s738ms 0ms 1s197ms 5s400ms 23 19 0 1s147ms 1s171ms 1s251ms 6s748ms Sep 07 00 15 0 1m8s 1s128ms 1s214ms 16m41s 01 18 0 1s661ms 1s102ms 2s238ms 6s874ms 02 12 0 2m1s 1s42ms 3s983ms 18m23s 03 21 0 2s124ms 1s195ms 3s902ms 16s565ms 04 16 0 1s970ms 1s185ms 2s658ms 5s59ms 05 44 0 3s49ms 5s590ms 13s713ms 24s631ms 06 9 0 2s727ms 1s155ms 3s882ms 8s46ms 07 16 0 1s500ms 1s140ms 1s321ms 4s900ms 08 3 0 1s221ms 0ms 0ms 1s374ms 09 10 0 2s228ms 0ms 1s267ms 10s985ms 10 10 0 1s153ms 1s119ms 1s145ms 1s319ms 11 18 0 1s779ms 1s187ms 2s299ms 5s13ms 12 16 0 4s816ms 1s152ms 2s156ms 48s318ms 13 11 0 2s437ms 1s117ms 1s413ms 3s979ms 14 8 0 1s301ms 0ms 1s186ms 2s508ms 15 5 0 25s418ms 0ms 1s186ms 2m3s 16 8 0 3s63ms 0ms 1s274ms 8s91ms 17 10 0 1s486ms 0ms 1s166ms 5s125ms 18 4 25 13s841ms 1s187ms 54s131ms 1m11s 19 7 48 1m27s 1m11s 2m9s 24m32s 20 12 0 1s518ms 1s89ms 1s135ms 3s920ms 21 9 0 2s590ms 0ms 1s146ms 10s872ms 22 4 0 1s845ms 0ms 0ms 5s17ms 23 12 0 1s212ms 1s195ms 1s210ms 1s392ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Sep 01 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Sep 02 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Sep 03 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Sep 04 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Sep 05 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Sep 06 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Sep 07 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Sep 01 00 0 13 13.00 0.00% 01 0 9 9.00 0.00% 02 0 8 8.00 0.00% 03 0 18 18.00 0.00% 04 0 14 14.00 0.00% 05 0 46 46.00 0.00% 06 0 13 13.00 0.00% 07 0 11 11.00 0.00% 08 0 9 9.00 0.00% 09 0 6 6.00 0.00% 10 0 7 7.00 0.00% 11 0 17 17.00 0.00% 12 0 12 12.00 0.00% 13 0 21 21.00 0.00% 14 0 7 7.00 0.00% 15 0 13 13.00 0.00% 16 0 11 11.00 0.00% 17 0 8 8.00 0.00% 18 0 9 9.00 0.00% 19 0 8 8.00 0.00% 20 0 17 17.00 0.00% 21 0 4 4.00 0.00% 22 0 12 12.00 0.00% 23 0 28 28.00 0.00% Sep 02 00 0 22 22.00 0.00% 01 0 18 18.00 0.00% 02 0 17 17.00 0.00% 03 0 24 24.00 0.00% 04 0 28 28.00 0.00% 05 0 62 62.00 0.00% 06 0 25 25.00 0.00% 07 0 31 31.00 0.00% 08 0 24 24.00 0.00% 09 0 26 26.00 0.00% 10 0 16 16.00 0.00% 11 0 12 12.00 0.00% 12 0 17 17.00 0.00% 13 0 14 14.00 0.00% 14 0 16 16.00 0.00% 15 0 6 6.00 0.00% 16 0 29 29.00 0.00% 17 0 14 14.00 0.00% 18 0 15 15.00 0.00% 19 0 8 8.00 0.00% 20 0 9 9.00 0.00% 21 0 5 5.00 0.00% 22 0 8 8.00 0.00% 23 0 21 21.00 0.00% Sep 03 00 0 11 11.00 0.00% 01 0 3 3.00 0.00% 02 0 7 7.00 0.00% 03 0 28 28.00 0.00% 04 0 23 23.00 0.00% 05 0 59 59.00 0.00% 06 0 26 26.00 0.00% 07 0 17 17.00 0.00% 08 0 14 14.00 0.00% 09 0 66 66.00 0.00% 10 0 29 29.00 0.00% 11 0 14 14.00 0.00% 12 0 4 4.00 0.00% 13 0 7 7.00 0.00% 14 0 14 14.00 0.00% 15 0 3 3.00 0.00% 16 0 94 94.00 0.00% 17 0 71 71.00 0.00% 18 0 35 35.00 0.00% 19 0 15 15.00 0.00% 20 0 64 64.00 0.00% 21 0 48 48.00 0.00% 22 0 11 11.00 0.00% 23 0 47 47.00 0.00% Sep 04 00 1 459 459.00 0.22% 01 0 36 36.00 0.00% 02 0 19 19.00 0.00% 03 0 21 21.00 0.00% 04 0 49 49.00 0.00% 05 0 63 63.00 0.00% 06 0 17 17.00 0.00% 07 0 29 29.00 0.00% 08 0 38 38.00 0.00% 09 0 25 25.00 0.00% 10 0 29 29.00 0.00% 11 0 23 23.00 0.00% 12 0 5 5.00 0.00% 13 0 15 15.00 0.00% 14 0 16 16.00 0.00% 15 0 29 29.00 0.00% 16 0 10 10.00 0.00% 17 0 21 21.00 0.00% 18 0 16 16.00 0.00% 19 0 15 15.00 0.00% 20 0 36 36.00 0.00% 21 0 27 27.00 0.00% 22 0 16 16.00 0.00% 23 0 17 17.00 0.00% Sep 05 00 0 19 19.00 0.00% 01 0 22 22.00 0.00% 02 0 20 20.00 0.00% 03 0 23 23.00 0.00% 04 0 34 34.00 0.00% 05 0 81 81.00 0.00% 06 0 15 15.00 0.00% 07 0 15 15.00 0.00% 08 0 10 10.00 0.00% 09 0 27 27.00 0.00% 10 0 31 31.00 0.00% 11 0 29 29.00 0.00% 12 0 28 28.00 0.00% 13 0 56 56.00 0.00% 14 0 46 46.00 0.00% 15 0 19 19.00 0.00% 16 0 22 22.00 0.00% 17 0 7 7.00 0.00% 18 0 15 15.00 0.00% 19 0 5 5.00 0.00% 20 0 10 10.00 0.00% 21 0 14 14.00 0.00% 22 0 51 51.00 0.00% 23 0 19 19.00 0.00% Sep 06 00 0 12 12.00 0.00% 01 0 29 29.00 0.00% 02 0 34 34.00 0.00% 03 0 15 15.00 0.00% 04 0 0 0.00 0.00% 05 0 55 55.00 0.00% 06 0 21 21.00 0.00% 07 0 63 63.00 0.00% 08 0 96 96.00 0.00% 09 0 33 33.00 0.00% 10 0 5 5.00 0.00% 11 0 5 5.00 0.00% 12 0 18 18.00 0.00% 13 0 4 4.00 0.00% 14 0 9 9.00 0.00% 15 0 7 7.00 0.00% 16 0 10 10.00 0.00% 17 0 17 17.00 0.00% 18 0 20 20.00 0.00% 19 0 5 5.00 0.00% 20 0 14 14.00 0.00% 21 0 28 28.00 0.00% 22 0 8 8.00 0.00% 23 0 19 19.00 0.00% Sep 07 00 0 14 14.00 0.00% 01 0 18 18.00 0.00% 02 0 12 12.00 0.00% 03 0 21 21.00 0.00% 04 0 16 16.00 0.00% 05 0 48 48.00 0.00% 06 0 9 9.00 0.00% 07 0 16 16.00 0.00% 08 0 3 3.00 0.00% 09 0 10 10.00 0.00% 10 0 10 10.00 0.00% 11 0 18 18.00 0.00% 12 0 16 16.00 0.00% 13 0 11 11.00 0.00% 14 0 8 8.00 0.00% 15 0 5 5.00 0.00% 16 0 8 8.00 0.00% 17 0 10 10.00 0.00% 18 0 4 4.00 0.00% 19 0 7 7.00 0.00% 20 0 12 12.00 0.00% 21 0 9 9.00 0.00% 22 0 4 4.00 0.00% 23 0 12 12.00 0.00% Day Hour Count Average / Second Sep 01 00 125 0.03/s 01 153 0.04/s 02 114 0.03/s 03 129 0.04/s 04 129 0.04/s 05 152 0.04/s 06 132 0.04/s 07 156 0.04/s 08 126 0.04/s 09 186 0.05/s 10 123 0.03/s 11 120 0.03/s 12 80 0.02/s 13 93 0.03/s 14 88 0.02/s 15 78 0.02/s 16 82 0.02/s 17 79 0.02/s 18 88 0.02/s 19 78 0.02/s 20 77 0.02/s 21 80 0.02/s 22 78 0.02/s 23 97 0.03/s Sep 02 00 79 0.02/s 01 79 0.02/s 02 79 0.02/s 03 81 0.02/s 04 87 0.02/s 05 96 0.03/s 06 93 0.03/s 07 83 0.02/s 08 72 0.02/s 09 87 0.02/s 10 77 0.02/s 11 76 0.02/s 12 85 0.02/s 13 81 0.02/s 14 91 0.03/s 15 84 0.02/s 16 91 0.03/s 17 130 0.04/s 18 84 0.02/s 19 79 0.02/s 20 81 0.02/s 21 81 0.02/s 22 82 0.02/s 23 79 0.02/s Sep 03 00 83 0.02/s 01 83 0.02/s 02 83 0.02/s 03 100 0.03/s 04 83 0.02/s 05 98 0.03/s 06 89 0.02/s 07 76 0.02/s 08 76 0.02/s 09 85 0.02/s 10 79 0.02/s 11 77 0.02/s 12 74 0.02/s 13 79 0.02/s 14 80 0.02/s 15 76 0.02/s 16 88 0.02/s 17 75 0.02/s 18 85 0.02/s 19 79 0.02/s 20 81 0.02/s 21 78 0.02/s 22 81 0.02/s 23 85 0.02/s Sep 04 00 252 0.07/s 01 83 0.02/s 02 82 0.02/s 03 100 0.03/s 04 87 0.02/s 05 93 0.03/s 06 75 0.02/s 07 85 0.02/s 08 90 0.03/s 09 81 0.02/s 10 79 0.02/s 11 82 0.02/s 12 77 0.02/s 13 80 0.02/s 14 85 0.02/s 15 77 0.02/s 16 80 0.02/s 17 80 0.02/s 18 82 0.02/s 19 80 0.02/s 20 78 0.02/s 21 81 0.02/s 22 99 0.03/s 23 88 0.02/s Sep 05 00 81 0.02/s 01 80 0.02/s 02 81 0.02/s 03 90 0.03/s 04 92 0.03/s 05 93 0.03/s 06 85 0.02/s 07 76 0.02/s 08 88 0.02/s 09 87 0.02/s 10 79 0.02/s 11 79 0.02/s 12 81 0.02/s 13 81 0.02/s 14 79 0.02/s 15 78 0.02/s 16 76 0.02/s 17 73 0.02/s 18 77 0.02/s 19 74 0.02/s 20 81 0.02/s 21 69 0.02/s 22 87 0.02/s 23 79 0.02/s Sep 06 00 80 0.02/s 01 88 0.02/s 02 80 0.02/s 03 102 0.03/s 04 136 0.04/s 05 103 0.03/s 06 78 0.02/s 07 95 0.03/s 08 84 0.02/s 09 73 0.02/s 10 79 0.02/s 11 72 0.02/s 12 72 0.02/s 13 77 0.02/s 14 76 0.02/s 15 72 0.02/s 16 71 0.02/s 17 74 0.02/s 18 83 0.02/s 19 78 0.02/s 20 78 0.02/s 21 77 0.02/s 22 78 0.02/s 23 78 0.02/s Sep 07 00 77 0.02/s 01 101 0.03/s 02 93 0.03/s 03 136 0.04/s 04 79 0.02/s 05 92 0.03/s 06 77 0.02/s 07 78 0.02/s 08 77 0.02/s 09 82 0.02/s 10 78 0.02/s 11 76 0.02/s 12 79 0.02/s 13 77 0.02/s 14 77 0.02/s 15 76 0.02/s 16 76 0.02/s 17 76 0.02/s 18 80 0.02/s 19 75 0.02/s 20 74 0.02/s 21 75 0.02/s 22 79 0.02/s 23 79 0.02/s Day Hour Count Average Duration Average idle time Sep 01 00 125 19m15s 19m7s 01 153 15m50s 15m50s 02 114 20m29s 20m29s 03 129 20m 20m 04 129 17m48s 17m48s 05 152 15m48s 15m47s 06 132 18m12s 18m11s 07 156 15m11s 15m10s 08 126 19m35s 19m35s 09 186 12m33s 12m33s 10 123 19m54s 19m53s 11 120 18m36s 18m36s 12 80 30m8s 30m8s 13 93 25m53s 25m52s 14 88 27m9s 27m8s 15 78 31m6s 31m5s 16 82 29m9s 29m9s 17 79 29m55s 29m55s 18 88 27m27s 27m25s 19 78 30m55s 30m55s 20 77 31m26s 31m26s 21 80 28m54s 28m53s 22 78 31m22s 31m21s 23 97 25m23s 25m22s Sep 02 00 79 30m26s 30m13s 01 79 30m32s 30m31s 02 79 30m46s 30m46s 03 81 29m20s 29m20s 04 87 28m12s 28m9s 05 96 25m7s 25m6s 06 93 25m42s 25m41s 07 83 29m23s 29m22s 08 72 31m39s 31m39s 09 87 27m9s 27m8s 10 77 30m56s 30m54s 11 76 32m2s 32m2s 12 85 28m14s 28m14s 13 81 29m29s 29m29s 14 91 27m22s 27m20s 15 84 29m16s 29m15s 16 91 26m19s 26m16s 17 130 18m23s 18m23s 18 84 1h32m36s 1h32m31s 19 79 29m49s 29m49s 20 81 29m35s 29m35s 21 81 28m32s 28m32s 22 82 29m47s 29m47s 23 79 30m59s 30m59s Sep 03 00 83 29m21s 29m9s 01 83 29m2s 29m2s 02 83 28m48s 28m48s 03 100 24m34s 24m33s 04 83 28m53s 28m53s 05 98 24m46s 24m44s 06 89 25m52s 25m50s 07 76 31m17s 31m17s 08 76 31m13s 31m13s 09 85 27m45s 27m42s 10 79 29m25s 29m23s 11 77 31m8s 31m7s 12 74 33m5s 33m5s 13 79 31m21s 31m21s 14 80 30m40s 30m38s 15 76 32m1s 32m1s 16 88 28m16s 28m11s 17 75 30m19s 30m16s 18 85 28m34s 28m31s 19 79 30m15s 30m14s 20 81 29m49s 29m45s 21 78 27m17s 27m13s 22 81 30m15s 30m15s 23 85 30m5s 30m1s Sep 04 00 252 45m48s 45m24s 01 83 27m47s 27m45s 02 82 29m53s 29m52s 03 100 24m28s 24m27s 04 87 28m19s 28m17s 05 93 25m54s 25m52s 06 75 30m29s 30m28s 07 85 28m33s 28m24s 08 90 26m23s 26m18s 09 81 29m41s 29m40s 10 79 30m1s 29m59s 11 82 29m27s 29m27s 12 77 30m58s 30m58s 13 80 30m19s 30m19s 14 85 28m46s 28m45s 15 77 31m1s 31m 16 80 30m44s 30m44s 17 80 30m14s 30m13s 18 82 29m36s 29m35s 19 80 30m12s 30m11s 20 78 30m3s 30m2s 21 81 28m40s 28m39s 22 99 24m19s 24m19s 23 88 28m2s 28m Sep 05 00 81 30m32s 30m19s 01 80 29m36s 29m35s 02 81 28m2s 28m1s 03 90 26m56s 26m55s 04 92 27m18s 27m17s 05 93 24m11s 24m9s 06 85 27m51s 27m50s 07 76 31m 30m58s 08 88 27m47s 27m46s 09 87 28m22s 28m21s 10 78 30m29s 30m27s 11 80 29m39s 29m8s 12 81 28m 27m59s 13 81 31m28s 31m25s 14 79 30m7s 30m4s 15 78 30m51s 30m50s 16 76 32m30s 32m24s 17 73 32m22s 32m22s 18 77 31m19s 31m16s 19 74 31m56s 31m56s 20 81 31m31s 31m31s 21 69 31m15s 31m15s 22 87 29m56s 29m46s 23 79 29m38s 29m37s Sep 06 00 80 30m34s 30m20s 01 88 27m47s 27m46s 02 80 30m38s 30m37s 03 103 1h21m37s 1h21m36s 04 137 19m6s 19m6s 05 103 21m47s 21m46s 06 78 29m27s 29m25s 07 95 26m2s 25m58s 08 84 29m19s 29m16s 09 73 31m30s 31m30s 10 79 30m50s 30m49s 11 72 32m49s 32m49s 12 72 32m31s 32m30s 13 77 32m34s 32m34s 14 76 31m48s 31m46s 15 72 33m44s 33m44s 16 71 33m56s 33m56s 17 74 32m50s 32m49s 18 83 29m47s 29m45s 19 78 30m25s 30m24s 20 78 31m4s 31m4s 21 77 29m31s 29m30s 22 78 30m42s 30m42s 23 78 31m12s 31m12s Sep 07 00 77 31m29s 31m16s 01 100 24m47s 24m47s 02 94 25m50s 25m35s 03 136 17m 16m59s 04 79 29m56s 29m56s 05 92 25m40s 25m38s 06 77 30m30s 30m30s 07 78 30m16s 30m16s 08 77 31m55s 31m54s 09 82 30m1s 30m1s 10 78 31m40s 31m39s 11 76 31m21s 31m20s 12 79 31m14s 31m13s 13 77 30m42s 30m41s 14 77 31m13s 31m13s 15 76 32m33s 32m32s 16 76 31m2s 31m1s 17 76 31m20s 31m19s 18 79 30m44s 30m39s 19 76 32m30s 31m27s 20 74 31m55s 31m54s 21 75 31m7s 31m7s 22 79 29m57s 29m57s 23 79 30m10s 30m10s -
Connections
Established Connections
Key values
- 39 connections Connection Peak
- 2024-09-01 09:14:10 Date
Connections per database
Key values
- ctdprd51 Main Database
- 14,728 connections Total
Connections per user
Key values
- pubeu Main User
- 14,728 connections Total
-
Sessions
Simultaneous sessions
Key values
- 58 sessions Session Peak
- 2024-09-04 00:47:52 Date
Histogram of session times
Key values
- 12,026 1800000-3600000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 14,730 sessions Total
Sessions per user
Key values
- pubeu Main User
- 14,730 sessions Total
Sessions per host
Key values
- 10.12.5.37 Main Host
- 14,730 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 133,929 buffers Checkpoint Peak
- 2024-09-02 00:42:16 Date
- 1620.021 seconds Highest write time
- 0.052 seconds Sync time
Checkpoints Wal files
Key values
- 71 files Wal files usage Peak
- 2024-09-07 10:12:45 Date
Checkpoints distance
Key values
- 2,228.54 Mo Distance Peak
- 2024-09-01 14:42:14 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Sep 01 00 885 88.783s 0.004s 88.816s 01 373 37.623s 0.002s 37.653s 02 437 44.064s 0.002s 44.096s 03 14,800 1,482.583s 0.004s 1,482.687s 04 396 39.807s 0.002s 39.837s 05 465 46.826s 0.002s 46.855s 06 59,882 1,651.205s 0.004s 1,651.378s 07 508 51.132s 0.002s 51.163s 08 20,402 1,619.225s 0.002s 1,619.361s 09 31,866 1,658.232s 0.004s 1,658.28s 10 1,775 178.093s 0.004s 178.169s 11 521 52.335s 0.003s 52.367s 12 373 37.553s 0.003s 37.582s 13 754 75.759s 0.053s 75.912s 14 120,599 1,625.829s 0.003s 1,626.028s 15 3,823 382.982s 0.003s 383.023s 16 277 27.927s 0.002s 27.958s 17 185 18.709s 0.002s 18.741s 18 276 27.84s 0.002s 27.871s 19 200 20.222s 0.002s 20.254s 20 240 24.23s 0.002s 24.262s 21 229 23.119s 0.002s 23.15s 22 122 12.311s 0.001s 12.326s 23 10,312 1,032.984s 0.004s 1,033.052s Sep 02 00 134,365 1,662.988s 0.004s 1,663.251s 01 985 98.865s 0.003s 98.897s 02 348 35.055s 0.002s 35.085s 03 23,266 2,070.05s 0.004s 2,070.162s 04 262 26.434s 0.002s 26.465s 05 852 85.559s 0.003s 85.59s 06 5,806 581.708s 0.002s 581.83s 07 555 55.817s 0.003s 55.848s 08 573 57.502s 0.003s 57.533s 09 6,906 691.643s 0.002s 691.684s 10 873 87.648s 0.003s 87.68s 11 732 73.526s 0.004s 73.559s 12 346 34.851s 0.002s 34.927s 13 262 26.434s 0.002s 26.464s 14 233 23.526s 0.002s 23.557s 15 728 73.132s 0.003s 73.163s 16 1,258 126.016s 0.004s 126.048s 17 501 50.366s 0.003s 50.397s 18 382 38.46s 0.002s 38.491s 19 276 27.826s 0.003s 27.857s 20 262 26.248s 0.001s 26.264s 21 57,146 1,630.469s 0.003s 1,630.641s 22 49,602 1,658.62s 0.003s 1,658.952s 23 64,883 1,754.27s 0.004s 1,754.406s Sep 03 00 2,393 289.651s 0.004s 289.737s 01 468 46.972s 0.002s 47.002s 02 286 28.832s 0.002s 28.863s 03 392 39.474s 0.002s 39.504s 04 180 18.128s 0.001s 18.145s 05 29,770 1,797.453s 0.006s 1,797.785s 06 690 69.324s 0.002s 69.354s 07 615 61.817s 0.004s 61.849s 08 373 37.453s 0.002s 37.484s 09 311 31.36s 0.002s 31.39s 10 909 91.165s 0.002s 91.182s 11 49,467 1,655.593s 0.004s 1,656.078s 12 308 31.039s 0.002s 31.069s 13 318 32.04s 0.002s 32.072s 14 21,069 1,636.385s 0.003s 1,636.625s 15 385 38.763s 0.003s 38.794s 16 706 70.909s 0.003s 70.94s 17 534 53.587s 0.003s 53.62s 18 468 47.086s 0.003s 47.171s 19 391 39.362s 0.002s 39.392s 20 343 34.353s 0.002s 34.383s 21 508 51.079s 0.003s 51.111s 22 426 42.865s 0.003s 42.895s 23 422 42.48s 0.002s 42.511s Sep 04 00 6,973 701.328s 0.031s 702.72s 01 426 42.873s 0.002s 42.902s 02 371 37.246s 0.002s 37.276s 03 3,009 301.558s 0.004s 301.592s 04 27,496 1,635.146s 0.003s 1,635.177s 05 2,451 245.543s 0.003s 245.64s 06 733 73.647s 0.003s 73.677s 07 6,776 678.729s 0.003s 678.809s 08 1,710 171.509s 0.003s 171.54s 09 1,670 167.474s 0.003s 167.557s 10 5,149 515.728s 0.003s 515.834s 11 1,306 130.927s 0.003s 130.956s 12 678 68.111s 0.002s 68.141s 13 152 15.404s 0.002s 15.435s 14 4,269 427.745s 0.004s 427.854s 15 4,920 492.62s 0.003s 492.755s 16 1,841 184.451s 0.003s 184.483s 17 197 19.925s 0.002s 19.957s 18 708 71.128s 0.002s 71.16s 19 205 20.721s 0.002s 20.804s 20 304 30.65s 0.002s 30.679s 21 196 19.821s 0.002s 19.851s 22 2,264 226.884s 0.003s 226.966s 23 2,431 243.756s 0.003s 243.838s Sep 05 00 1,813 206.938s 0.003s 207.021s 01 9,737 975.361s 0.003s 975.539s 02 5,418 542.359s 0.002s 542.451s 03 13,135 1,315.731s 0.004s 1,315.91s 04 169 17.119s 0.002s 17.149s 05 3,653 366.241s 0.003s 366.295s 06 1,447 145.123s 0.003s 145.154s 07 4,748 475.551s 0.003s 475.646s 08 194 19.618s 0.002s 19.65s 09 398 40.064s 0.002s 40.145s 10 962 96.582s 0.004s 96.613s 11 418 42s 0.002s 42.03s 12 600 60.31s 0.002s 60.34s 13 1,141 114.512s 0.004s 114.556s 14 1,749 175.299s 0.004s 175.331s 15 1,079 108.295s 0.003s 108.34s 16 9,658 967.315s 0.003s 967.407s 17 299 30.052s 0.002s 30.132s 18 243 24.526s 0.002s 24.556s 19 211 21.321s 0.002s 21.351s 20 179 18.026s 0.001s 18.04s 21 116,826 1,796.67s 0.005s 1,797.238s 22 1,426 143.134s 0.003s 143.165s 23 329 33.147s 0.003s 33.179s Sep 06 00 1,184 124.211s 0.003s 124.295s 01 344 34.655s 0.002s 34.685s 02 5,059 506.912s 0.002s 507.015s 03 150 15.226s 0.002s 15.256s 04 20 2.186s 0.002s 2.216s 05 134 13.526s 0.001s 13.541s 06 5,946 595.609s 0.004s 595.719s 07 440 44.276s 0.003s 44.307s 08 349 35.163s 0.002s 35.243s 09 329 33.152s 0.002s 33.186s 10 360 36.146s 0.002s 36.177s 11 492 49.481s 0.002s 49.512s 12 2,550 255.6s 0.003s 255.688s 13 4,674 468.347s 0.003s 468.456s 14 334 33.645s 0.002s 33.679s 15 433 43.571s 0.002s 43.602s 16 450 45.177s 0.002s 45.207s 17 157 15.922s 0.002s 15.952s 18 845 84.842s 0.003s 84.875s 19 161 16.305s 0.002s 16.336s 20 1,037 104.086s 0.006s 104.174s 21 186 18.813s 0.002s 18.845s 22 64 6.503s 0.001s 6.518s 23 37,342 1,636.212s 0.004s 1,636.587s Sep 07 00 2,159 216.411s 0.004s 216.497s 01 1,380 138.434s 0.003s 138.466s 02 73,273 1,629.063s 0.003s 1,629.614s 03 129 13.115s 0.002s 13.146s 04 126 12.703s 0.002s 12.735s 05 194 19.629s 0.002s 19.659s 06 51,031 1,620.506s 0.003s 1,620.975s 07 159 16.111s 0.002s 16.142s 08 120,911 1,623.801s 0.003s 1,624.273s 09 40 4.109s 0.001s 4.125s 10 107,243 2,075.64s 0.004s 2,076.57s 11 360 36.253s 0.002s 36.283s 12 2,325 233.1s 0.004s 233.187s 13 2,256 225.897s 0.004s 225.978s 14 519 51.971s 0.003s 52.005s 15 137 13.911s 0.002s 13.942s 16 158 16.012s 0.002s 16.043s 17 118 11.992s 0.002s 12.024s 18 132 13.406s 0.002s 13.435s 19 159 16.133s 0.002s 16.165s 20 38,332 1,626.055s 0.003s 1,626.087s 21 4,393 440.178s 0.002s 440.284s 22 200 20.22s 0.002s 20.25s 23 186 18.805s 0.002s 18.836s Day Hour Added Removed Recycled Synced files Longest sync Average sync Sep 01 00 0 0 0 68 0.001s 0.002s 01 0 0 0 36 0.001s 0.002s 02 0 0 0 36 0.001s 0.002s 03 0 9 0 48 0.001s 0.002s 04 0 0 0 35 0.001s 0.002s 05 0 0 0 39 0.001s 0.002s 06 0 33 0 102 0.001s 0.002s 07 0 0 0 123 0.001s 0.002s 08 0 29 0 79 0.001s 0.001s 09 0 0 0 152 0.001s 0.003s 10 0 1 0 55 0.001s 0.002s 11 0 0 0 128 0.001s 0.002s 12 0 0 0 26 0.001s 0.002s 13 0 27 0 40 0.044s 0.004s 14 0 43 0 41 0.001s 0.002s 15 0 2 0 41 0.001s 0.002s 16 0 0 0 30 0.001s 0.002s 17 0 0 0 20 0.001s 0.002s 18 0 0 0 36 0.001s 0.002s 19 0 0 0 24 0.001s 0.002s 20 0 0 0 21 0.001s 0.002s 21 0 0 0 21 0.001s 0.002s 22 0 0 0 11 0.001s 0.001s 23 0 7 0 60 0.001s 0.003s Sep 02 00 0 68 0 103 0.001s 0.002s 01 0 0 0 54 0.001s 0.002s 02 0 0 0 45 0.001s 0.002s 03 0 16 0 63 0.001s 0.002s 04 0 0 0 29 0.001s 0.002s 05 0 0 0 57 0.001s 0.002s 06 0 4 0 101 0.001s 0.002s 07 0 0 0 130 0.001s 0.002s 08 0 0 0 136 0.001s 0.002s 09 0 4 0 137 0.001s 0.002s 10 0 0 0 83 0.001s 0.002s 11 0 0 0 126 0.002s 0.002s 12 0 1 0 33 0.001s 0.002s 13 0 0 0 28 0.001s 0.002s 14 0 0 0 33 0.001s 0.002s 15 0 0 0 40 0.001s 0.002s 16 0 0 0 33 0.001s 0.002s 17 0 0 0 24 0.001s 0.002s 18 0 0 0 30 0.001s 0.002s 19 0 0 0 21 0.001s 0.002s 20 0 0 0 19 0.001s 0.001s 21 0 34 0 40 0.001s 0.002s 22 0 16 17 42 0.001s 0.002s 23 0 0 4 82 0.001s 0.003s Sep 03 00 0 0 1 67 0.001s 0.002s 01 0 0 0 39 0.001s 0.002s 02 0 0 0 27 0.001s 0.002s 03 0 0 0 33 0.001s 0.002s 04 0 0 0 13 0.001s 0.001s 05 0 0 18 74 0.001s 0.003s 06 0 0 0 89 0.001s 0.002s 07 0 0 0 120 0.001s 0.002s 08 0 0 0 30 0.001s 0.002s 09 0 0 0 62 0.001s 0.002s 10 0 0 0 73 0.001s 0.001s 11 0 0 33 97 0.001s 0.003s 12 0 0 0 65 0.001s 0.002s 13 0 0 0 59 0.001s 0.002s 14 0 0 14 98 0.001s 0.002s 15 0 0 0 105 0.001s 0.002s 16 0 0 0 110 0.001s 0.002s 17 0 0 0 78 0.001s 0.002s 18 0 0 1 37 0.001s 0.002s 19 0 0 0 70 0.001s 0.002s 20 0 0 0 32 0.001s 0.002s 21 0 0 0 79 0.001s 0.002s 22 0 0 0 73 0.001s 0.002s 23 0 0 0 30 0.001s 0.002s Sep 04 00 0 0 4 90 0.022s 0.003s 01 0 0 0 37 0.001s 0.002s 02 0 0 0 40 0.001s 0.002s 03 0 1 0 63 0.001s 0.002s 04 0 0 0 55 0.001s 0.002s 05 0 0 2 51 0.001s 0.002s 06 0 0 0 100 0.001s 0.002s 07 0 0 4 31 0.001s 0.002s 08 0 0 0 40 0.001s 0.002s 09 0 0 1 75 0.001s 0.002s 10 0 0 3 71 0.001s 0.002s 11 0 0 0 78 0.001s 0.002s 12 0 0 0 50 0.001s 0.002s 13 0 0 0 21 0.001s 0.002s 14 0 0 3 130 0.002s 0.002s 15 0 1 5 118 0.001s 0.002s 16 0 0 0 74 0.001s 0.002s 17 0 0 0 23 0.001s 0.002s 18 0 0 0 29 0.001s 0.002s 19 0 0 1 21 0.001s 0.002s 20 0 0 0 30 0.001s 0.002s 21 0 0 0 22 0.001s 0.002s 22 0 0 1 31 0.001s 0.002s 23 0 0 1 32 0.001s 0.002s Sep 05 00 0 0 1 92 0.001s 0.002s 01 0 0 6 56 0.001s 0.002s 02 0 0 3 21 0.001s 0.001s 03 0 0 8 60 0.001s 0.003s 04 0 0 0 34 0.001s 0.002s 05 0 0 2 47 0.001s 0.002s 06 0 0 0 48 0.001s 0.002s 07 0 0 2 103 0.001s 0.002s 08 0 0 0 62 0.001s 0.002s 09 0 0 1 77 0.001s 0.002s 10 0 0 0 138 0.001s 0.002s 11 0 0 0 82 0.001s 0.002s 12 0 0 0 135 0.001s 0.002s 13 0 0 1 198 0.001s 0.002s 14 0 0 0 97 0.001s 0.002s 15 0 0 1 55 0.001s 0.002s 16 0 0 5 39 0.001s 0.002s 17 0 0 1 29 0.001s 0.002s 18 0 0 0 20 0.001s 0.002s 19 0 0 0 21 0.001s 0.002s 20 0 0 0 19 0.001s 0.001s 21 0 0 37 71 0.001s 0.003s 22 0 0 0 34 0.001s 0.002s 23 0 0 0 29 0.002s 0.002s Sep 06 00 0 0 1 74 0.001s 0.002s 01 0 0 0 48 0.001s 0.002s 02 0 0 3 47 0.001s 0.002s 03 0 0 0 30 0.001s 0.002s 04 0 0 0 13 0.001s 0.002s 05 0 0 0 18 0.001s 0.001s 06 0 0 3 142 0.001s 0.002s 07 0 0 0 128 0.001s 0.002s 08 0 0 1 114 0.001s 0.002s 09 0 0 0 112 0.001s 0.002s 10 0 0 0 73 0.001s 0.002s 11 0 0 0 117 0.001s 0.002s 12 0 0 1 139 0.001s 0.002s 13 0 0 3 129 0.001s 0.002s 14 0 0 0 28 0.001s 0.002s 15 0 0 0 115 0.001s 0.002s 16 0 0 0 120 0.001s 0.002s 17 0 0 0 19 0.001s 0.002s 18 0 0 0 36 0.001s 0.002s 19 0 0 0 21 0.001s 0.002s 20 0 0 1 38 0.003s 0.002s 21 0 0 0 19 0.001s 0.002s 22 0 0 0 10 0.001s 0.001s 23 0 0 24 40 0.001s 0.003s Sep 07 00 0 0 1 69 0.001s 0.002s 01 0 0 0 37 0.001s 0.002s 02 0 0 40 46 0.001s 0.002s 03 0 0 0 26 0.001s 0.002s 04 0 0 0 28 0.001s 0.002s 05 0 0 0 29 0.001s 0.002s 06 0 0 33 37 0.001s 0.002s 07 0 0 0 28 0.001s 0.002s 08 0 0 34 36 0.001s 0.002s 09 0 0 0 10 0.001s 0.001s 10 0 1 71 74 0.001s 0.003s 11 0 0 0 41 0.001s 0.002s 12 0 0 1 57 0.001s 0.002s 13 0 0 1 54 0.001s 0.002s 14 0 0 0 39 0.001s 0.002s 15 0 0 0 21 0.001s 0.002s 16 0 0 0 22 0.001s 0.002s 17 0 0 0 21 0.001s 0.002s 18 0 0 0 25 0.001s 0.002s 19 0 0 0 19 0.001s 0.002s 20 0 0 0 23 0.001s 0.002s 21 0 0 3 32 0.001s 0.002s 22 0 0 0 21 0.001s 0.002s 23 0 0 0 20 0.001s 0.002s Day Hour Count Avg time (sec) Sep 01 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Sep 02 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Sep 03 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Sep 04 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Sep 05 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Sep 06 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Sep 07 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate Sep 01 00 2,293.00 kB 37,422.00 kB 01 562.00 kB 30,472.50 kB 02 581.00 kB 24,791.00 kB 03 71,070.50 kB 134,020.50 kB 04 655.00 kB 108,702.00 kB 05 927.00 kB 88,202.00 kB 06 265,855.50 kB 503,759.00 kB 07 1,405.00 kB 408,313.00 kB 08 223,587.00 kB 370,570.00 kB 09 86,701.00 kB 324,706.33 kB 10 5,721.00 kB 249,667.00 kB 11 1,261.00 kB 202,828.00 kB 12 365.50 kB 164,420.00 kB 13 2,018.00 kB 133,417.00 kB 14 570,609.00 kB 1,083,972.00 kB 15 16,959.50 kB 881,237.00 kB 16 466.00 kB 713,870.00 kB 17 207.50 kB 578,294.00 kB 18 398.50 kB 468,493.50 kB 19 207.00 kB 379,522.50 kB 20 189.00 kB 307,449.00 kB 21 218.00 kB 249,072.50 kB 22 254.00 kB 212,405.00 kB 23 34,960.33 kB 182,099.67 kB Sep 02 00 559,637.50 kB 1,061,699.50 kB 01 2,766.50 kB 860,349.00 kB 02 394.00 kB 697,174.00 kB 03 124,038.00 kB 586,253.00 kB 04 271.50 kB 476,940.00 kB 05 2,087.50 kB 386,584.50 kB 06 29,782.00 kB 318,894.00 kB 07 1,125.50 kB 258,533.00 kB 08 1,694.50 kB 209,697.00 kB 09 33,531.50 kB 173,339.50 kB 10 2,113.00 kB 143,733.00 kB 11 1,996.50 kB 116,698.50 kB 12 499.50 kB 94,725.00 kB 13 514.50 kB 76,823.00 kB 14 364.00 kB 62,311.50 kB 15 1,781.00 kB 50,792.50 kB 16 983.50 kB 41,296.50 kB 17 659.00 kB 33,615.50 kB 18 703.50 kB 27,372.00 kB 19 416.50 kB 22,250.50 kB 20 968.00 kB 19,088.00 kB 21 272,667.00 kB 517,661.00 kB 22 272,493.50 kB 516,080.00 kB 23 23,318.67 kB 403,633.00 kB Sep 03 00 8,010.00 kB 311,148.50 kB 01 1,284.50 kB 252,319.00 kB 02 461.00 kB 204,501.50 kB 03 738.00 kB 165,764.00 kB 04 554.00 kB 141,427.00 kB 05 93,725.33 kB 244,534.00 kB 06 1,708.50 kB 188,023.50 kB 07 1,420.50 kB 152,641.50 kB 08 704.00 kB 123,797.00 kB 09 690.50 kB 100,423.50 kB 10 5,211.00 kB 86,170.00 kB 11 179,402.33 kB 484,815.67 kB 12 438.50 kB 371,819.00 kB 13 470.00 kB 301,251.00 kB 14 112,044.00 kB 265,293.00 kB 15 746.00 kB 215,037.50 kB 16 1,471.50 kB 174,402.50 kB 17 910.00 kB 141,512.00 kB 18 913.50 kB 114,794.50 kB 19 876.50 kB 93,130.00 kB 20 658.50 kB 75,558.00 kB 21 845.00 kB 61,343.00 kB 22 984.00 kB 49,909.00 kB 23 761.00 kB 40,572.00 kB Sep 04 00 29,405.50 kB 41,294.50 kB 01 870.50 kB 40,123.50 kB 02 662.50 kB 32,623.50 kB 03 10,639.00 kB 27,762.00 kB 04 1,783.50 kB 23,501.00 kB 05 9,297.50 kB 20,019.50 kB 06 1,827.00 kB 17,378.50 kB 07 32,019.50 kB 39,361.00 kB 08 5,135.00 kB 55,571.50 kB 09 6,004.00 kB 46,155.50 kB 10 22,311.00 kB 41,754.50 kB 11 3,814.50 kB 38,096.00 kB 12 1,688.50 kB 31,468.00 kB 13 136.50 kB 25,536.50 kB 14 20,145.50 kB 30,579.50 kB 15 30,833.00 kB 48,052.00 kB 16 23,132.00 kB 56,242.00 kB 17 183.00 kB 45,591.00 kB 18 361.00 kB 36,996.50 kB 19 198.00 kB 30,005.50 kB 20 476.50 kB 24,369.00 kB 21 203.00 kB 19,804.50 kB 22 8,764.00 kB 17,111.00 kB 23 9,269.50 kB 17,352.00 kB Sep 05 00 6,258.00 kB 15,175.00 kB 01 51,140.50 kB 51,140.50 kB 02 57,467.00 kB 57,467.00 kB 03 39,856.67 kB 107,595.33 kB 04 283.00 kB 82,554.00 kB 05 14,447.50 kB 68,339.00 kB 06 4,178.50 kB 57,423.50 kB 07 20,228.00 kB 48,590.00 kB 08 272.00 kB 41,164.00 kB 09 789.50 kB 33,487.00 kB 10 2,712.50 kB 27,522.00 kB 11 1,136.00 kB 22,586.50 kB 12 1,502.50 kB 18,592.00 kB 13 3,547.50 kB 15,555.00 kB 14 5,743.50 kB 13,703.00 kB 15 3,312.00 kB 11,921.50 kB 16 47,157.50 kB 89,305.00 kB 17 566.00 kB 72,445.00 kB 18 360.50 kB 58,755.00 kB 19 219.50 kB 47,629.50 kB 20 833.00 kB 40,707.00 kB 21 203,318.33 kB 541,965.00 kB 22 4,267.50 kB 416,566.00 kB 23 609.00 kB 337,878.00 kB Sep 06 00 3,608.00 kB 274,304.00 kB 01 727.50 kB 222,378.50 kB 02 25,005.50 kB 184,877.00 kB 03 368.50 kB 149,842.00 kB 04 49.00 kB 121,385.00 kB 05 773.00 kB 103,576.00 kB 06 25,286.00 kB 93,297.50 kB 07 1,312.00 kB 75,824.00 kB 08 969.00 kB 61,618.00 kB 09 823.50 kB 50,060.50 kB 10 806.00 kB 40,703.00 kB 11 1,452.50 kB 33,234.00 kB 12 8,285.50 kB 28,497.00 kB 13 23,027.00 kB 34,943.50 kB 14 398.50 kB 38,931.50 kB 15 1,070.00 kB 31,716.00 kB 16 1,013.50 kB 25,895.00 kB 17 174.50 kB 21,030.50 kB 18 2,235.00 kB 17,459.50 kB 19 160.50 kB 14,174.50 kB 20 2,821.50 kB 11,934.50 kB 21 153.50 kB 9,779.00 kB 22 103.00 kB 8,355.00 kB 23 135,319.33 kB 366,369.33 kB Sep 07 00 3,447.50 kB 281,458.00 kB 01 4,194.00 kB 228,871.50 kB 02 322,390.50 kB 612,213.50 kB 03 231.00 kB 495,934.50 kB 04 223.50 kB 401,750.00 kB 05 438.50 kB 325,482.00 kB 06 272,250.00 kB 517,206.50 kB 07 301.00 kB 418,975.50 kB 08 275,977.00 kB 524,247.00 kB 09 128.00 kB 447,008.00 kB 10 393,756.67 kB 1,028,461.00 kB 11 834.00 kB 789,906.00 kB 12 7,000.00 kB 640,940.50 kB 13 7,231.50 kB 520,255.50 kB 14 1,752.00 kB 422,221.50 kB 15 124.50 kB 342,084.00 kB 16 133.50 kB 277,112.50 kB 17 122.50 kB 224,486.00 kB 18 130.00 kB 181,856.50 kB 19 134.00 kB 147,330.50 kB 20 118.50 kB 119,360.00 kB 21 20,954.00 kB 100,662.50 kB 22 155.50 kB 81,565.00 kB 23 150.50 kB 66,095.50 kB -
Temporary Files
Size of temporary files
Key values
- 0 Temp Files size Peak
- Date
Size of temporary files (5 minutes period)
NO DATASET
Number of temporary files
Key values
- 0 per second Temp Files Peak
- Date
Number of temporary files (5 minutes period)
NO DATASET
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Sep 01 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Sep 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 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Sep 03 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Sep 04 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Sep 05 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Sep 06 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Sep 07 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 17.04 sec Highest CPU-cost vacuum
Table pub2.term_set_enrichment_agent
Database ctdprd51 - 2024-09-07 07:53:01 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 17.04 sec Highest CPU-cost vacuum
Table pub2.term_set_enrichment_agent
Database ctdprd51 - 2024-09-07 07:53:01 Date
Analyzes per table
Key values
- pubc.log_query (176) Main table analyzed (database ctdprd51)
- 206 analyzes Total
Vacuums per table
Key values
- pubc.log_query (35) Main table vacuumed on database ctdprd51
- 55 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 35 29 15,530 0 2,262 0 75 3,719 752 5,445,415 ctdprd51.pub2.term_set_enrichment 6 0 15,486 0 5,544 0 0 7,426 12 512,216 ctdprd51.pub2.term_set_enrichment_agent 6 0 715,506 0 252,349 0 0 357,245 20 21,229,920 ctdprd51.pg_catalog.pg_statistic 3 3 1,760 0 353 0 111 1,000 337 1,568,777 ctdprd51.pg_toast.pg_toast_2619 2 2 7,926 0 2,698 0 19,842 6,878 2,211 1,255,185 ctdprd51.pg_toast.pg_toast_486223 2 0 78 0 0 0 0 2 0 376 ctdprd51.pub2.term_comp_agent 1 0 164 0 17 0 0 14 1 9,245 Total 55 34 756,450 1,701 263,223 0 20,028 376,284 3,333 30,021,134 Tuples removed per table
Key values
- pg_toast.pg_toast_2619 (8596) Main table with removed tuples on database ctdprd51
- 10067 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pg_toast.pg_toast_2619 2 2 8,596 41,477 0 0 25,184 ctdprd51.pg_catalog.pg_statistic 3 3 1,265 7,777 0 0 870 ctdprd51.pubc.log_query 35 29 206 154,309 0 0 4,814 ctdprd51.pub2.term_set_enrichment 6 0 0 2,095,748 0 0 34,653 ctdprd51.pub2.term_set_enrichment_agent 6 0 0 142,817,691 0 0 1,622,931 ctdprd51.pub2.term_comp_agent 1 0 0 5,754 0 0 54 ctdprd51.pg_toast.pg_toast_486223 2 0 0 0 0 0 0 Total 55 34 10,067 145,122,756 0 0 1,688,506 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.pg_toast.pg_toast_2619 2 2 8596 0 ctdprd51.pg_catalog.pg_statistic 3 3 1265 0 ctdprd51.pubc.log_query 35 29 206 0 ctdprd51.pub2.term_set_enrichment 6 0 0 0 ctdprd51.pub2.term_set_enrichment_agent 6 0 0 0 ctdprd51.pub2.term_comp_agent 1 0 0 0 ctdprd51.pg_toast.pg_toast_486223 2 0 0 0 Total 55 34 10,067 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Sep 01 00 0 2 01 0 3 02 0 2 03 0 3 04 0 1 05 0 5 06 0 1 07 0 1 08 0 3 09 0 0 10 0 1 11 0 1 12 0 0 13 0 3 14 0 1 15 0 0 16 0 1 17 0 0 18 0 1 19 0 0 20 0 0 21 0 0 22 0 1 23 0 2 Sep 02 00 0 0 01 0 4 02 0 1 03 0 2 04 0 1 05 0 5 06 0 5 07 0 1 08 0 2 09 0 2 10 0 0 11 0 0 12 0 1 13 0 1 14 0 0 15 0 1 16 0 1 17 0 1 18 0 0 19 0 0 20 0 3 21 0 0 22 0 2 23 0 2 Sep 03 00 0 2 01 0 7 02 0 2 03 0 1 04 0 3 05 0 2 06 0 1 07 0 0 08 0 1 09 0 1 10 0 0 11 0 1 12 0 0 13 0 1 14 0 1 15 0 0 16 0 0 17 0 1 18 0 1 19 0 0 20 0 1 21 0 0 22 0 0 23 0 1 Sep 04 00 0 5 01 0 4 02 0 3 03 0 3 04 0 1 05 0 2 06 0 0 07 0 0 08 0 1 09 0 0 10 0 0 11 0 0 12 0 1 13 0 0 14 0 0 15 0 0 16 0 0 17 0 0 18 0 0 19 0 0 20 0 1 21 0 0 22 0 0 23 0 0 Sep 05 00 0 2 01 0 2 02 0 2 03 0 1 04 0 2 05 0 2 06 0 1 07 0 1 08 0 0 09 0 2 10 0 2 11 0 2 12 0 2 13 0 1 14 0 1 15 0 2 16 0 1 17 0 0 18 0 0 19 0 1 20 0 1 21 0 1 22 0 1 23 0 0 Sep 06 00 0 5 01 0 3 02 0 3 03 0 1 04 0 0 05 0 3 06 0 2 07 0 2 08 0 1 09 0 1 10 0 1 11 0 1 12 0 1 13 0 1 14 0 1 15 0 0 16 0 1 17 0 0 18 0 0 19 0 0 20 0 0 21 0 0 22 0 0 23 0 0 Sep 07 00 0 1 01 0 1 02 0 2 03 0 1 04 0 1 05 0 3 06 0 1 07 0 1 08 0 0 09 0 3 10 0 1 11 0 4 12 0 5 13 0 7 14 0 3 15 0 0 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 0 0 22 0 0 23 0 0 - 17.04 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- unknown Main Lock Type
- 0 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query NO DATASET
Queries that waited the most
Rank Wait time Query NO DATASET
-
Queries
Queries by type
Key values
- 3,872 Total read queries
- 343 Total write queries
Queries by database
Key values
- unknown Main database
- 2,501 Requests
- 6h50m2s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 5,197 Requests
User Request type Count Duration editeu Total 22 1m23s select 22 1m23s postgres Total 108 42m53s copy to 108 42m53s pubc Total 2 6s884ms select 2 6s884ms pubeu Total 3,387 5h44m51s cte 30 1m24s select 3,357 5h43m26s qaeu Total 75 3m4s cte 17 56s970ms select 58 2m7s unknown Total 5,197 14h32m8s copy to 694 6h32m47s cte 36 46s926ms others 10 1m9s select 4,457 7h57m24s zbx_monitor Total 1 1s601ms select 1 1s601ms Duration by user
Key values
- 14h32m8s (unknown) Main time consuming user
User Request type Count Duration editeu Total 22 1m23s select 22 1m23s postgres Total 108 42m53s copy to 108 42m53s pubc Total 2 6s884ms select 2 6s884ms pubeu Total 3,387 5h44m51s cte 30 1m24s select 3,357 5h43m26s qaeu Total 75 3m4s cte 17 56s970ms select 58 2m7s unknown Total 5,197 14h32m8s copy to 694 6h32m47s cte 36 46s926ms others 10 1m9s select 4,457 7h57m24s zbx_monitor Total 1 1s601ms select 1 1s601ms Queries by host
Key values
- unknown Main host
- 8,792 Requests
- 21h4m31s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 4,173 Requests
- 9h53m13s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2024-09-03 03:19:52 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 3,778 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 23m42s COPY pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;[ Date: 2024-09-07 19:00:39 ]
2 23m42s COPY pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;[ Date: 2024-09-07 19:43:04 ]
3 18m21s SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1239879') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-09-07 02:17:54 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
4 17m40s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-09-04 00:17:42 ]
5 16m41s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-09-07 00:16:43 ]
6 16m39s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-09-06 00:16:40 ]
7 16m38s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-09-03 00:16:40 ]
8 16m35s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-09-01 00:16:38 ]
9 16m34s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-09-05 00:16:35 ]
10 16m33s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-09-02 00:16:35 ]
11 10m47s SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'SLC6A2') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'R-HSA-6809583' AND tp.pathway_acc_db_cd = 'REACT'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'VITAMIN A' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;[ Date: 2024-09-04 07:31:10 - Bind query: yes ]
12 10m39s SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN (( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Label.Gene */ gd.gene_id FROM term_label l INNER JOIN dag_path dp ON l.term_id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(l.nm) LIKE 'OSTEOARTHRITIS' AND l.object_type_id = 3 AND gd.curated_reference_qty > 0)) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2024-09-05 22:39:59 - Bind query: yes ]
13 7m17s SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA' OR tp.nm = 'promoter' OR tp.nm = 'enhancer' OR tp.nm = 'exon' OR tp.nm = 'intron' OR tp.nm = '5'' UTR' OR tp.nm = '3'' UTR' OR tp.nm = 'polyA tail'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008152' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA01100' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'MICROPLASTICS' AND t.object_type_id = 2)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt;[ Date: 2024-09-05 11:12:32 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
14 7m11s SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA' OR tp.nm = 'promoter' OR tp.nm = 'enhancer' OR tp.nm = 'exon' OR tp.nm = 'intron' OR tp.nm = '5'' UTR' OR tp.nm = '3'' UTR' OR tp.nm = 'polyA tail'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008152' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA01100' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'MICROPLASTICS' AND t.object_type_id = 2)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt;[ Date: 2024-09-05 11:12:28 - Bind query: yes ]
15 7m8s SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA' OR tp.nm = 'promoter' OR tp.nm = 'enhancer' OR tp.nm = 'exon' OR tp.nm = 'intron' OR tp.nm = '5'' UTR' OR tp.nm = '3'' UTR' OR tp.nm = 'polyA tail'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008152' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA01100' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'MICROPLASTICS' AND t.object_type_id = 2)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt;[ Date: 2024-09-05 11:12:27 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
16 7m4s SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA' OR tp.nm = 'promoter' OR tp.nm = 'enhancer' OR tp.nm = 'exon' OR tp.nm = 'intron' OR tp.nm = '5'' UTR' OR tp.nm = '3'' UTR' OR tp.nm = 'polyA tail'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008152' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA01100' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'MICROPLASTICS' AND t.object_type_id = 2)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt;[ Date: 2024-09-05 11:12:16 - Bind query: yes ]
17 6m50s COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;[ Date: 2024-09-07 19:54:47 ]
18 6m48s COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;[ Date: 2024-09-07 19:12:21 ]
19 6m3s 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 = '1230176') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-09-05 16:40:54 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
20 5m42s SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008152' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA01100' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'MICROPLASTICS' AND t.object_type_id = 2)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;[ Date: 2024-09-05 11:23:01 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 2h7m25s 943 1s442ms 23s635ms 8s107ms select ? "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casrn "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" from ( with sq as ( select distinct c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casrn, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort from term c inner join gene_chem_reference gcr on c.id = gcr.chem_id inner join term g on gcr.gene_id = g.id where (c.id = ?)) select distinct sq.chem_nm, sq.chem_acc_txt, sq.casrn, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm from sq inner join gene_go_annot gga on sq.gene_id = gga.gene_id inner join dag_node gt on gga.go_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where gga.is_not = false and (d.id = ?) order by sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Sep 03 16 77 6m33s 5s112ms 17 66 2m57s 2s687ms 18 9 22s213ms 2s468ms 20 60 4m57s 4s965ms 21 39 4m51s 7s476ms 23 27 4m2s 8s972ms Sep 04 00 447 1h21m34s 10s949ms 01 21 3m 8s585ms Sep 05 00 5 8s640ms 1s728ms 04 1 8s325ms 8s325ms 12 18 48s991ms 2s721ms 13 23 1m2s 2s733ms 14 3 8s155ms 2s718ms 15 10 1m3s 6s333ms 16 11 29s821ms 2s711ms 17 3 5s180ms 1s726ms 18 3 36s133ms 12s44ms 22 36 4m9s 6s930ms 23 10 57s527ms 5s752ms Sep 06 00 3 58s786ms 19s595ms 01 7 1m44s 14s898ms 06 2 8s2ms 4s1ms 07 51 5m39s 6s660ms 08 10 54s722ms 5s472ms 18 1 2s74ms 2s74ms [ User: pubeu - Total duration: 49m32s - Times executed: 319 ]
-
SELECT /* BatchChemGODAO */ 'd000638' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1337831)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-09-04 00:26:45 Duration: 23s635ms Bind query: yes
-
SELECT /* BatchChemGODAO */ 'd000638' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1337831)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-09-04 00:18:33 Duration: 22s630ms Bind query: yes
-
SELECT /* BatchChemGODAO */ 'd000077185' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1383119)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-09-06 01:20:49 Duration: 22s557ms Database: ctdprd51 User: pubeu Bind query: yes
2 1h57m23s 7 16m33s 17m40s 16m46s select maint_query_logs_archive ();Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Sep 01 00 1 16m35s 16m35s Sep 02 00 1 16m33s 16m33s Sep 03 00 1 16m38s 16m38s Sep 04 00 1 17m40s 17m40s Sep 05 00 1 16m34s 16m34s Sep 06 00 1 16m39s 16m39s Sep 07 00 1 16m41s 16m41s -
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-09-04 00:17:42 Duration: 17m40s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-09-07 00:16:43 Duration: 16m41s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-09-06 00:16:40 Duration: 16m39s
3 40m22s 20 1s508ms 18m21s 2m1s 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 #3
Day Hour Count Duration Avg duration Sep 01 06 2 3s186ms 1s593ms 10 1 1s584ms 1s584ms 21 1 1m43s 1m43s Sep 02 04 1 3m25s 3m25s 16 2 3s114ms 1s557ms Sep 03 06 1 1s572ms 1s572ms 07 1 1s526ms 1s526ms 13 1 1s636ms 1s636ms Sep 04 02 1 1s580ms 1s580ms 08 2 4m16s 2m8s Sep 05 10 2 4s85ms 2s42ms 16 1 6m3s 6m3s Sep 06 02 1 1s570ms 1s570ms Sep 07 02 2 23m48s 11m54s 12 1 45s392ms 45s392ms [ User: pubeu - Total duration: 39m22s - Times executed: 10 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1239879') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-09-07 02:17:54 Duration: 18m21s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1230176') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-09-05 16:40:54 Duration: 6m3s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1233869') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-09-07 02:06:30 Duration: 5m27s Database: ctdprd51 User: pubeu Bind query: yes
4 28m41s 4 7m4s 7m17s 7m10s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ? or tp.nm = ? or tp.nm = ? or tp.nm = ? or tp.nm = ? or tp.nm = ? or tp.nm = ? or tp.nm = ? or tp.nm = ? or tp.nm = ?))) and gcr.gene_id = any (array (( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Sep 05 11 4 28m41s 7m10s [ User: pubeu - Total duration: 14m25s - Times executed: 2 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA' OR tp.nm = 'promoter' OR tp.nm = 'enhancer' OR tp.nm = 'exon' OR tp.nm = 'intron' OR tp.nm = '5'' UTR' OR tp.nm = '3'' UTR' OR tp.nm = 'polyA tail'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008152' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA01100' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'MICROPLASTICS' AND t.object_type_id = 2)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt;
Date: 2024-09-05 11:12:32 Duration: 7m17s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA' OR tp.nm = 'promoter' OR tp.nm = 'enhancer' OR tp.nm = 'exon' OR tp.nm = 'intron' OR tp.nm = '5'' UTR' OR tp.nm = '3'' UTR' OR tp.nm = 'polyA tail'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008152' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA01100' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'MICROPLASTICS' AND t.object_type_id = 2)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt;
Date: 2024-09-05 11:12:28 Duration: 7m11s Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA' OR tp.nm = 'promoter' OR tp.nm = 'enhancer' OR tp.nm = 'exon' OR tp.nm = 'intron' OR tp.nm = '5'' UTR' OR tp.nm = '3'' UTR' OR tp.nm = 'polyA tail'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008152' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA01100' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'MICROPLASTICS' AND t.object_type_id = 2)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt;
Date: 2024-09-05 11:12:27 Duration: 7m8s Database: ctdprd51 User: pubeu Bind query: yes
5 24m41s 369 3s811ms 16s274ms 4s14ms select coalesce(st.alt_nm, t.nm) slimtermnm, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.curated_reference_qty > ?) curatedcount, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.indirect_gene_qty > ?) inferredcount from slim_term st inner join term t on st.slim_term_id = t.id where st.slim_id = ? order by ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Sep 01 00 7 28s17ms 4s2ms 02 1 3s845ms 3s845ms 03 1 4s235ms 4s235ms 06 1 3s992ms 3s992ms 11 4 15s737ms 3s934ms 13 1 3s894ms 3s894ms 14 1 3s874ms 3s874ms 17 1 4s54ms 4s54ms 20 2 7s832ms 3s916ms 21 1 3s989ms 3s989ms 22 1 3s908ms 3s908ms 23 3 23s953ms 7s984ms Sep 02 00 1 3s881ms 3s881ms 01 3 11s737ms 3s912ms 02 6 23s412ms 3s902ms 03 6 23s646ms 3s941ms 04 7 27s417ms 3s916ms 05 1 3s936ms 3s936ms 06 9 35s599ms 3s955ms 07 10 39s268ms 3s926ms 08 4 15s522ms 3s880ms 09 6 23s639ms 3s939ms 10 1 3s881ms 3s881ms 11 1 3s866ms 3s866ms 13 1 3s887ms 3s887ms 14 1 3s912ms 3s912ms 15 2 8s133ms 4s66ms 16 1 3s916ms 3s916ms 17 3 11s631ms 3s877ms 22 2 7s835ms 3s917ms 23 3 14s12ms 4s670ms Sep 03 03 3 11s993ms 3s997ms 04 4 15s945ms 3s986ms 05 14 55s516ms 3s965ms 06 2 7s949ms 3s974ms 07 2 7s923ms 3s961ms 08 3 11s601ms 3s867ms 09 3 12s10ms 4s3ms 11 3 12s43ms 4s14ms 13 2 7s762ms 3s881ms 14 6 23s603ms 3s933ms 15 2 7s896ms 3s948ms 17 4 15s721ms 3s930ms 18 12 50s646ms 4s220ms 19 12 48s634ms 4s52ms 20 1 3s907ms 3s907ms 21 3 11s898ms 3s966ms 22 4 16s335ms 4s83ms 23 7 27s621ms 3s945ms Sep 04 00 1 3s884ms 3s884ms 02 3 11s828ms 3s942ms 03 3 11s820ms 3s940ms 04 3 13s212ms 4s404ms 06 4 15s583ms 3s895ms 07 10 39s610ms 3s961ms 08 9 35s328ms 3s925ms 09 2 8s254ms 4s127ms 10 3 12s12ms 4s4ms 11 5 20s531ms 4s106ms 12 1 3s852ms 3s852ms 13 2 7s830ms 3s915ms 14 1 3s920ms 3s920ms 15 2 7s793ms 3s896ms 16 2 7s856ms 3s928ms 17 3 11s912ms 3s970ms 19 1 3s933ms 3s933ms 20 11 44s854ms 4s77ms 21 17 1m7s 3s964ms 23 2 7s829ms 3s914ms Sep 05 00 1 4s141ms 4s141ms 02 12 47s852ms 3s987ms 03 1 4s117ms 4s117ms 04 2 7s756ms 3s878ms 05 4 16s94ms 4s23ms 07 2 7s837ms 3s918ms 08 3 11s923ms 3s974ms 09 2 7s753ms 3s876ms 10 1 4s53ms 4s53ms 11 3 11s775ms 3s925ms 12 1 3s993ms 3s993ms 13 1 3s910ms 3s910ms 14 1 3s868ms 3s868ms 18 5 19s814ms 3s962ms 20 2 7s982ms 3s991ms 21 2 7s693ms 3s846ms 22 1 3s913ms 3s913ms 23 1 3s862ms 3s862ms Sep 06 00 2 7s858ms 3s929ms 01 2 8s117ms 4s58ms 03 1 3s884ms 3s884ms 05 3 12s257ms 4s85ms 06 1 3s997ms 3s997ms 07 1 4s22ms 4s22ms 08 3 11s717ms 3s905ms 09 2 7s834ms 3s917ms 11 1 3s947ms 3s947ms 12 1 4s40ms 4s40ms 13 1 3s876ms 3s876ms 15 5 19s673ms 3s934ms 17 9 35s77ms 3s897ms 21 1 3s997ms 3s997ms Sep 07 00 1 4s12ms 4s12ms 02 3 11s819ms 3s939ms 03 2 8s485ms 4s242ms 04 4 15s796ms 3s949ms 05 1 4s556ms 4s556ms 06 5 19s735ms 3s947ms 07 1 3s897ms 3s897ms 11 1 3s896ms 3s896ms 12 1 4s172ms 4s172ms 13 5 19s645ms 3s929ms 17 1 3s962ms 3s962ms 20 1 3s920ms 3s920ms 22 1 3s967ms 3s967ms [ User: pubeu - Total duration: 12m10s - Times executed: 184 ]
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1393242') AND stm.slim_term_id = st.slim_term_id AND cd.curated_reference_qty > 0) curatedCount, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1393242') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-09-01 23:10:10 Duration: 16s274ms 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 = '1337944') 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 = '1337944') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-09-02 23:04:03 Duration: 5s487ms 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 = '1322258') 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 = '1322258') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-09-04 04:37:55 Duration: 5s189ms Database: ctdprd51 User: pubeu Bind query: yes
6 23m42s 1 23m42s 23m42s 23m42s copy pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Sep 07 19 1 23m42s 23m42s -
COPY pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2024-09-07 19:00:39 Duration: 23m42s
7 23m42s 1 23m42s 23m42s 23m42s copy pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Sep 07 19 1 23m42s 23m42s -
COPY pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2024-09-07 19:43:04 Duration: 23m42s
8 14m6s 25 33s435ms 34s663ms 33s866ms copy pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) to stdout;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Sep 01 06 1 33s749ms 33s749ms 10 1 33s830ms 33s830ms 14 1 33s668ms 33s668ms 18 1 33s775ms 33s775ms Sep 02 06 1 33s790ms 33s790ms 10 1 33s657ms 33s657ms 14 1 33s809ms 33s809ms 18 1 33s763ms 33s763ms Sep 03 06 1 33s833ms 33s833ms 10 1 33s792ms 33s792ms 14 1 33s798ms 33s798ms 18 1 34s663ms 34s663ms Sep 04 06 1 33s834ms 33s834ms 10 1 33s890ms 33s890ms 14 1 33s855ms 33s855ms 18 1 33s850ms 33s850ms Sep 05 06 1 34s608ms 34s608ms 10 1 33s819ms 33s819ms 14 1 33s741ms 33s741ms 18 1 33s908ms 33s908ms Sep 06 06 1 33s866ms 33s866ms 10 1 33s898ms 33s898ms 14 1 33s890ms 33s890ms 18 1 33s933ms 33s933ms Sep 07 19 1 33s435ms 33s435ms [ User: postgres - Total duration: 13m33s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 13m33s - Times executed: 24 ]
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-09-03 18:05:36 Duration: 34s663ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-09-05 06:05:36 Duration: 34s608ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-09-06 18:05:35 Duration: 33s933ms Database: ctdprd51 User: postgres Application: pg_dump
9 13m5s 673 1s50ms 1s577ms 1s167ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where exposuremarkerterm.id = ? or receptorterm.id = ? group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Sep 01 00 2 2s257ms 1s128ms 01 4 4s689ms 1s172ms 02 1 1s197ms 1s197ms 03 5 6s55ms 1s211ms 04 4 4s867ms 1s216ms 05 5 6s90ms 1s218ms 06 2 2s310ms 1s155ms 07 1 1s189ms 1s189ms 08 1 1s206ms 1s206ms 09 1 1s177ms 1s177ms 10 4 4s766ms 1s191ms 11 3 3s525ms 1s175ms 12 2 2s344ms 1s172ms 13 6 7s62ms 1s177ms 14 1 1s185ms 1s185ms 15 8 9s568ms 1s196ms 16 3 3s614ms 1s204ms 17 4 4s756ms 1s189ms 18 4 4s740ms 1s185ms 19 4 4s648ms 1s162ms 20 6 6s913ms 1s152ms 21 2 2s323ms 1s161ms 22 5 6s9ms 1s201ms 23 4 4s807ms 1s201ms Sep 02 00 6 6s953ms 1s158ms 01 3 3s631ms 1s210ms 02 5 6s 1s200ms 03 8 9s411ms 1s176ms 04 6 7s30ms 1s171ms 05 7 8s509ms 1s215ms 06 2 2s408ms 1s204ms 07 6 7s8ms 1s168ms 08 7 8s291ms 1s184ms 09 6 7s130ms 1s188ms 10 7 8s250ms 1s178ms 11 3 3s481ms 1s160ms 12 2 2s292ms 1s146ms 13 4 4s629ms 1s157ms 14 2 2s256ms 1s128ms 15 2 2s347ms 1s173ms 16 4 4s632ms 1s158ms 17 1 1s198ms 1s198ms 18 5 5s876ms 1s175ms 19 4 4s632ms 1s158ms 20 3 3s513ms 1s171ms 21 2 2s493ms 1s246ms 22 1 1s159ms 1s159ms 23 6 6s951ms 1s158ms Sep 03 00 4 4s633ms 1s158ms 01 1 1s145ms 1s145ms 02 3 3s524ms 1s174ms 03 3 3s543ms 1s181ms 04 5 5s986ms 1s197ms 05 2 2s549ms 1s274ms 06 8 9s245ms 1s155ms 07 2 2s279ms 1s139ms 08 5 5s883ms 1s176ms 09 4 4s740ms 1s185ms 10 1 1s180ms 1s180ms 11 4 4s596ms 1s149ms 12 3 3s395ms 1s131ms 14 1 1s111ms 1s111ms 15 1 1s173ms 1s173ms 16 1 1s116ms 1s116ms 20 1 1s187ms 1s187ms 21 2 2s370ms 1s185ms 22 3 3s528ms 1s176ms 23 3 3s505ms 1s168ms Sep 04 00 2 2s376ms 1s188ms 01 4 4s719ms 1s179ms 02 4 4s801ms 1s200ms 03 6 7s102ms 1s183ms 04 1 1s127ms 1s127ms 05 9 10s716ms 1s190ms 06 6 6s921ms 1s153ms 07 3 3s451ms 1s150ms 08 3 3s435ms 1s145ms 09 2 2s333ms 1s166ms 10 4 4s567ms 1s141ms 11 7 8s233ms 1s176ms 12 1 1s122ms 1s122ms 13 11 12s570ms 1s142ms 14 6 7s76ms 1s179ms 15 5 5s805ms 1s161ms 16 4 4s576ms 1s144ms 17 13 15s138ms 1s164ms 18 5 5s868ms 1s173ms 19 5 5s904ms 1s180ms 20 9 10s412ms 1s156ms 21 5 5s813ms 1s162ms 22 6 7s108ms 1s184ms 23 7 8s297ms 1s185ms Sep 05 00 7 8s156ms 1s165ms 01 7 8s199ms 1s171ms 02 7 8s204ms 1s172ms 03 11 12s882ms 1s171ms 04 10 11s594ms 1s159ms 05 8 9s451ms 1s181ms 06 8 9s299ms 1s162ms 07 8 9s255ms 1s156ms 08 3 3s477ms 1s159ms 09 4 4s678ms 1s169ms 10 5 5s594ms 1s118ms 11 7 8s204ms 1s172ms 12 3 3s473ms 1s157ms 13 4 4s706ms 1s176ms 14 1 1s151ms 1s151ms 15 5 5s825ms 1s165ms 16 3 3s421ms 1s140ms 17 2 2s301ms 1s150ms 18 4 4s735ms 1s183ms 19 2 2s327ms 1s163ms 20 2 2s349ms 1s174ms 21 6 7s64ms 1s177ms 22 6 6s884ms 1s147ms 23 6 7s290ms 1s215ms Sep 06 00 4 4s474ms 1s118ms 01 2 2s265ms 1s132ms 02 3 3s484ms 1s161ms 05 4 4s825ms 1s206ms 07 2 2s258ms 1s129ms 08 1 1s213ms 1s213ms 09 1 1s98ms 1s98ms 10 1 1s138ms 1s138ms 11 2 2s325ms 1s162ms 12 6 6s829ms 1s138ms 13 1 1s168ms 1s168ms 14 3 3s402ms 1s134ms 15 1 1s177ms 1s177ms 16 7 8s87ms 1s155ms 17 1 1s156ms 1s156ms 18 5 5s803ms 1s160ms 19 1 1s103ms 1s103ms 20 8 9s283ms 1s160ms 21 3 3s386ms 1s128ms 22 4 4s683ms 1s170ms 23 6 6s959ms 1s159ms Sep 07 00 9 10s270ms 1s141ms 01 3 3s475ms 1s158ms 02 1 1s103ms 1s103ms 03 6 6s984ms 1s164ms 04 8 9s248ms 1s156ms 05 3 3s533ms 1s177ms 06 3 3s525ms 1s175ms 07 8 9s223ms 1s152ms 08 2 2s288ms 1s144ms 09 3 3s461ms 1s153ms 10 8 9s184ms 1s148ms 11 5 5s727ms 1s145ms 12 4 4s489ms 1s122ms 13 4 4s608ms 1s152ms 14 3 3s430ms 1s143ms 15 2 2s371ms 1s185ms 16 3 3s439ms 1s146ms 17 7 8s83ms 1s154ms 18 3 3s461ms 1s153ms 19 4 4s579ms 1s144ms 20 8 8s822ms 1s102ms 21 4 4s480ms 1s120ms 23 8 9s542ms 1s192ms [ User: pubeu - Total duration: 7m6s - Times executed: 366 ]
-
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 = '1995494' or receptorTerm.id = '1995494' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-09-05 23:06:28 Duration: 1s577ms 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 = '1505848' or receptorTerm.id = '1505848' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-09-02 21:14:59 Duration: 1s327ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '1437597' or receptorTerm.id = '1437597' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-09-03 05:38:39 Duration: 1s311ms Bind query: yes
10 10m47s 1 10m47s 10m47s 10m47s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Sep 04 07 1 10m47s 10m47s -
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'SLC6A2') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'R-HSA-6809583' AND tp.pathway_acc_db_cd = 'REACT'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'VITAMIN A' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-09-04 07:31:10 Duration: 10m47s Bind query: yes
11 10m39s 1 10m39s 10m39s 10m39s select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in (( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select gd.gene_id from term_label l inner join dag_path dp on l.term_id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(l.nm) like ? and l.object_type_id = ? and gd.curated_reference_qty > ?)) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Sep 05 22 1 10m39s 10m39s -
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN (( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Label.Gene */ gd.gene_id FROM term_label l INNER JOIN dag_path dp ON l.term_id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(l.nm) LIKE 'OSTEOARTHRITIS' AND l.object_type_id = 3 AND gd.curated_reference_qty > 0)) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-09-05 22:39:59 Duration: 10m39s Bind query: yes
12 9m1s 10 2s431ms 2m20s 54s130ms select r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refacc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, count(*) over () fullrowcount from reference r where r.id in ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?)) order by r.sort_txt limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Sep 02 16 1 1m35s 1m35s 18 4 4m54s 1m13s 19 1 29s141ms 29s141ms Sep 03 09 2 1m12s 36s299ms Sep 04 23 1 46s246ms 46s246ms Sep 06 13 1 2s431ms 2s431ms [ User: pubeu - Total duration: 6m57s - Times executed: 7 ]
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2079326')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-09-02 18:28:05 Duration: 2m20s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1431383')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-09-02 16:39:17 Duration: 1m35s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2079326')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-09-02 18:26:33 Duration: 52s506ms Database: ctdprd51 User: pubeu Bind query: yes
13 6m50s 1 6m50s 6m50s 6m50s copy pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Sep 07 19 1 6m50s 6m50s -
COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-09-07 19:54:47 Duration: 6m50s
14 6m48s 1 6m48s 6m48s 6m48s copy pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Sep 07 19 1 6m48s 6m48s -
COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-09-07 19:12:21 Duration: 6m48s
15 6m25s 97 1s2ms 5s880ms 3s972ms select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Sep 01 01 1 5s158ms 5s158ms 06 1 1s26ms 1s26ms 09 1 5s284ms 5s284ms 11 1 5s830ms 5s830ms 12 2 10s766ms 5s383ms 13 1 1s32ms 1s32ms 15 1 1s15ms 1s15ms 17 1 5s748ms 5s748ms 18 1 4s802ms 4s802ms 19 1 5s58ms 5s58ms 23 1 5s431ms 5s431ms Sep 02 00 1 1s28ms 1s28ms 02 1 4s811ms 4s811ms 03 3 15s630ms 5s210ms 09 2 2s42ms 1s21ms 11 1 4s863ms 4s863ms 18 1 1s32ms 1s32ms 21 1 4s869ms 4s869ms 23 1 4s870ms 4s870ms Sep 03 03 1 5s167ms 5s167ms 04 2 10s791ms 5s395ms 05 2 6s356ms 3s178ms 07 6 31s565ms 5s260ms 09 2 10s866ms 5s433ms 10 1 5s216ms 5s216ms 12 1 1s38ms 1s38ms 13 1 1s53ms 1s53ms 16 1 1s9ms 1s9ms 18 2 9s754ms 4s877ms 20 1 5s20ms 5s20ms Sep 04 01 1 1s12ms 1s12ms 03 1 5s649ms 5s649ms 04 1 5s755ms 5s755ms 05 2 6s75ms 3s37ms 06 1 5s28ms 5s28ms 09 5 25s217ms 5s43ms 11 1 1s56ms 1s56ms 15 1 5s213ms 5s213ms 20 3 6s922ms 2s307ms 23 1 5s293ms 5s293ms Sep 05 03 1 5s268ms 5s268ms 04 3 16s20ms 5s340ms 05 5 18s720ms 3s744ms 08 2 10s753ms 5s376ms 11 1 5s233ms 5s233ms 12 2 10s461ms 5s230ms 14 1 4s891ms 4s891ms 16 1 1s24ms 1s24ms 20 1 1s36ms 1s36ms 21 2 6s604ms 3s302ms Sep 06 02 1 1s8ms 1s8ms 05 2 6s298ms 3s149ms 08 2 10s166ms 5s83ms 11 1 1s35ms 1s35ms 14 1 5s93ms 5s93ms 18 1 4s991ms 4s991ms 19 1 5s416ms 5s416ms 22 1 5s400ms 5s400ms Sep 07 02 1 1s42ms 1s42ms 05 1 1s21ms 1s21ms 10 1 1s28ms 1s28ms 11 1 5s13ms 5s13ms 16 2 10s343ms 5s171ms 22 1 1s49ms 1s49ms 23 1 1s15ms 1s15ms [ User: pubeu - Total duration: 2m40s - Times executed: 42 ]
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1260513' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-09-05 05:51:03 Duration: 5s880ms 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 = '1402942' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-09-01 11:15:18 Duration: 5s830ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1260513' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-09-05 04:03:32 Duration: 5s771ms Bind query: yes
16 6m2s 25 14s387ms 14s677ms 14s486ms copy edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Sep 01 06 1 14s508ms 14s508ms 10 1 14s525ms 14s525ms 14 1 14s472ms 14s472ms 18 1 14s677ms 14s677ms Sep 02 06 1 14s478ms 14s478ms 10 1 14s516ms 14s516ms 14 1 14s479ms 14s479ms 18 1 14s478ms 14s478ms Sep 03 06 1 14s539ms 14s539ms 10 1 14s398ms 14s398ms 14 1 14s492ms 14s492ms 18 1 14s587ms 14s587ms Sep 04 06 1 14s464ms 14s464ms 10 1 14s506ms 14s506ms 14 1 14s466ms 14s466ms 18 1 14s550ms 14s550ms Sep 05 06 1 14s432ms 14s432ms 10 1 14s483ms 14s483ms 14 1 14s434ms 14s434ms 18 1 14s423ms 14s423ms Sep 06 06 1 14s526ms 14s526ms 10 1 14s467ms 14s467ms 14 1 14s438ms 14s438ms 18 1 14s429ms 14s429ms Sep 07 18 1 14s387ms 14s387ms [ User: postgres - Total duration: 6m2s - Times executed: 25 ]
[ Application: pg_dump - Total duration: 6m2s - Times executed: 25 ]
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-01 18:00:16 Duration: 14s677ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-03 18:00:16 Duration: 14s587ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-04 18:00:16 Duration: 14s550ms Database: ctdprd51 User: postgres Application: pg_dump
17 5m42s 1 5m42s 5m42s 5m42s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where gcr.gene_id = any (array (( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Sep 05 11 1 5m42s 5m42s [ User: pubeu - Total duration: 5m42s - Times executed: 1 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008152' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA01100' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'MICROPLASTICS' AND t.object_type_id = 2)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-09-05 11:23:01 Duration: 5m42s Database: ctdprd51 User: pubeu Bind query: yes
18 5m39s 3 1m48s 2m1s 1m53s 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 diseaseterm.nm_sort, phenotypeterm.nm_sort limit ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Sep 04 07 1 1m48s 1m48s Sep 05 07 1 1m48s 1m48s Sep 07 15 1 2m1s 2m1s [ User: pubeu - Total duration: 5m39s - Times executed: 3 ]
-
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 = '1212255') and diseaseTerm.object_type_id = 3 ORDER BY diseaseTerm.nm_sort, phenotypeTerm.nm_sort LIMIT 50;
Date: 2024-09-07 15:34:37 Duration: 2m1s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1230013') and diseaseTerm.object_type_id = 3 ORDER BY diseaseTerm.nm_sort, phenotypeTerm.nm_sort LIMIT 50;
Date: 2024-09-05 07:36:40 Duration: 1m48s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1230013') and diseaseTerm.object_type_id = 3 ORDER BY diseaseTerm.nm_sort, phenotypeTerm.nm_sort LIMIT 50;
Date: 2024-09-04 07:29:20 Duration: 1m48s Database: ctdprd51 User: pubeu Bind query: yes
19 5m37s 1 5m37s 5m37s 5m37s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ? or tp.nm = ? or tp.nm = ? or tp.nm = ? or tp.nm = ? or tp.nm = ? or tp.nm = ? or tp.nm = ? or tp.nm = ? or tp.nm = ?))) and gcr.gene_id = any (array (( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Sep 05 11 1 5m37s 5m37s [ User: pubeu - Total duration: 5m37s - Times executed: 1 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA' OR tp.nm = 'promoter' OR tp.nm = 'enhancer' OR tp.nm = 'exon' OR tp.nm = 'intron' OR tp.nm = '5'' UTR' OR tp.nm = '3'' UTR' OR tp.nm = 'polyA tail'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008152' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA01100' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'MICROPLASTICS' AND t.object_type_id = 2)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-09-05 11:01:44 Duration: 5m37s Database: ctdprd51 User: pubeu Bind query: yes
20 5m36s 25 13s402ms 13s551ms 13s448ms copy edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Sep 01 06 1 13s414ms 13s414ms 10 1 13s541ms 13s541ms 14 1 13s428ms 13s428ms 18 1 13s551ms 13s551ms Sep 02 06 1 13s449ms 13s449ms 10 1 13s402ms 13s402ms 14 1 13s419ms 13s419ms 18 1 13s442ms 13s442ms Sep 03 06 1 13s526ms 13s526ms 10 1 13s409ms 13s409ms 14 1 13s436ms 13s436ms 18 1 13s445ms 13s445ms Sep 04 06 1 13s438ms 13s438ms 10 1 13s434ms 13s434ms 14 1 13s419ms 13s419ms 18 1 13s424ms 13s424ms Sep 05 06 1 13s446ms 13s446ms 10 1 13s450ms 13s450ms 14 1 13s444ms 13s444ms 18 1 13s448ms 13s448ms Sep 06 06 1 13s443ms 13s443ms 10 1 13s439ms 13s439ms 14 1 13s446ms 13s446ms 18 1 13s434ms 13s434ms Sep 07 18 1 13s477ms 13s477ms -
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-01 18:00:44 Duration: 13s551ms
-
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-01 10:00:44 Duration: 13s541ms
-
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-03 06:00:44 Duration: 13s526ms
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 943 2h7m25s 1s442ms 23s635ms 8s107ms select ? "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casrn "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" from ( with sq as ( select distinct c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casrn, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort from term c inner join gene_chem_reference gcr on c.id = gcr.chem_id inner join term g on gcr.gene_id = g.id where (c.id = ?)) select distinct sq.chem_nm, sq.chem_acc_txt, sq.casrn, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm from sq inner join gene_go_annot gga on sq.gene_id = gga.gene_id inner join dag_node gt on gga.go_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where gga.is_not = false and (d.id = ?) order by sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Sep 03 16 77 6m33s 5s112ms 17 66 2m57s 2s687ms 18 9 22s213ms 2s468ms 20 60 4m57s 4s965ms 21 39 4m51s 7s476ms 23 27 4m2s 8s972ms Sep 04 00 447 1h21m34s 10s949ms 01 21 3m 8s585ms Sep 05 00 5 8s640ms 1s728ms 04 1 8s325ms 8s325ms 12 18 48s991ms 2s721ms 13 23 1m2s 2s733ms 14 3 8s155ms 2s718ms 15 10 1m3s 6s333ms 16 11 29s821ms 2s711ms 17 3 5s180ms 1s726ms 18 3 36s133ms 12s44ms 22 36 4m9s 6s930ms 23 10 57s527ms 5s752ms Sep 06 00 3 58s786ms 19s595ms 01 7 1m44s 14s898ms 06 2 8s2ms 4s1ms 07 51 5m39s 6s660ms 08 10 54s722ms 5s472ms 18 1 2s74ms 2s74ms [ User: pubeu - Total duration: 49m32s - Times executed: 319 ]
-
SELECT /* BatchChemGODAO */ 'd000638' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1337831)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-09-04 00:26:45 Duration: 23s635ms Bind query: yes
-
SELECT /* BatchChemGODAO */ 'd000638' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1337831)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-09-04 00:18:33 Duration: 22s630ms Bind query: yes
-
SELECT /* BatchChemGODAO */ 'd000077185' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1383119)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-09-06 01:20:49 Duration: 22s557ms Database: ctdprd51 User: pubeu Bind query: yes
2 673 13m5s 1s50ms 1s577ms 1s167ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where exposuremarkerterm.id = ? or receptorterm.id = ? group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Sep 01 00 2 2s257ms 1s128ms 01 4 4s689ms 1s172ms 02 1 1s197ms 1s197ms 03 5 6s55ms 1s211ms 04 4 4s867ms 1s216ms 05 5 6s90ms 1s218ms 06 2 2s310ms 1s155ms 07 1 1s189ms 1s189ms 08 1 1s206ms 1s206ms 09 1 1s177ms 1s177ms 10 4 4s766ms 1s191ms 11 3 3s525ms 1s175ms 12 2 2s344ms 1s172ms 13 6 7s62ms 1s177ms 14 1 1s185ms 1s185ms 15 8 9s568ms 1s196ms 16 3 3s614ms 1s204ms 17 4 4s756ms 1s189ms 18 4 4s740ms 1s185ms 19 4 4s648ms 1s162ms 20 6 6s913ms 1s152ms 21 2 2s323ms 1s161ms 22 5 6s9ms 1s201ms 23 4 4s807ms 1s201ms Sep 02 00 6 6s953ms 1s158ms 01 3 3s631ms 1s210ms 02 5 6s 1s200ms 03 8 9s411ms 1s176ms 04 6 7s30ms 1s171ms 05 7 8s509ms 1s215ms 06 2 2s408ms 1s204ms 07 6 7s8ms 1s168ms 08 7 8s291ms 1s184ms 09 6 7s130ms 1s188ms 10 7 8s250ms 1s178ms 11 3 3s481ms 1s160ms 12 2 2s292ms 1s146ms 13 4 4s629ms 1s157ms 14 2 2s256ms 1s128ms 15 2 2s347ms 1s173ms 16 4 4s632ms 1s158ms 17 1 1s198ms 1s198ms 18 5 5s876ms 1s175ms 19 4 4s632ms 1s158ms 20 3 3s513ms 1s171ms 21 2 2s493ms 1s246ms 22 1 1s159ms 1s159ms 23 6 6s951ms 1s158ms Sep 03 00 4 4s633ms 1s158ms 01 1 1s145ms 1s145ms 02 3 3s524ms 1s174ms 03 3 3s543ms 1s181ms 04 5 5s986ms 1s197ms 05 2 2s549ms 1s274ms 06 8 9s245ms 1s155ms 07 2 2s279ms 1s139ms 08 5 5s883ms 1s176ms 09 4 4s740ms 1s185ms 10 1 1s180ms 1s180ms 11 4 4s596ms 1s149ms 12 3 3s395ms 1s131ms 14 1 1s111ms 1s111ms 15 1 1s173ms 1s173ms 16 1 1s116ms 1s116ms 20 1 1s187ms 1s187ms 21 2 2s370ms 1s185ms 22 3 3s528ms 1s176ms 23 3 3s505ms 1s168ms Sep 04 00 2 2s376ms 1s188ms 01 4 4s719ms 1s179ms 02 4 4s801ms 1s200ms 03 6 7s102ms 1s183ms 04 1 1s127ms 1s127ms 05 9 10s716ms 1s190ms 06 6 6s921ms 1s153ms 07 3 3s451ms 1s150ms 08 3 3s435ms 1s145ms 09 2 2s333ms 1s166ms 10 4 4s567ms 1s141ms 11 7 8s233ms 1s176ms 12 1 1s122ms 1s122ms 13 11 12s570ms 1s142ms 14 6 7s76ms 1s179ms 15 5 5s805ms 1s161ms 16 4 4s576ms 1s144ms 17 13 15s138ms 1s164ms 18 5 5s868ms 1s173ms 19 5 5s904ms 1s180ms 20 9 10s412ms 1s156ms 21 5 5s813ms 1s162ms 22 6 7s108ms 1s184ms 23 7 8s297ms 1s185ms Sep 05 00 7 8s156ms 1s165ms 01 7 8s199ms 1s171ms 02 7 8s204ms 1s172ms 03 11 12s882ms 1s171ms 04 10 11s594ms 1s159ms 05 8 9s451ms 1s181ms 06 8 9s299ms 1s162ms 07 8 9s255ms 1s156ms 08 3 3s477ms 1s159ms 09 4 4s678ms 1s169ms 10 5 5s594ms 1s118ms 11 7 8s204ms 1s172ms 12 3 3s473ms 1s157ms 13 4 4s706ms 1s176ms 14 1 1s151ms 1s151ms 15 5 5s825ms 1s165ms 16 3 3s421ms 1s140ms 17 2 2s301ms 1s150ms 18 4 4s735ms 1s183ms 19 2 2s327ms 1s163ms 20 2 2s349ms 1s174ms 21 6 7s64ms 1s177ms 22 6 6s884ms 1s147ms 23 6 7s290ms 1s215ms Sep 06 00 4 4s474ms 1s118ms 01 2 2s265ms 1s132ms 02 3 3s484ms 1s161ms 05 4 4s825ms 1s206ms 07 2 2s258ms 1s129ms 08 1 1s213ms 1s213ms 09 1 1s98ms 1s98ms 10 1 1s138ms 1s138ms 11 2 2s325ms 1s162ms 12 6 6s829ms 1s138ms 13 1 1s168ms 1s168ms 14 3 3s402ms 1s134ms 15 1 1s177ms 1s177ms 16 7 8s87ms 1s155ms 17 1 1s156ms 1s156ms 18 5 5s803ms 1s160ms 19 1 1s103ms 1s103ms 20 8 9s283ms 1s160ms 21 3 3s386ms 1s128ms 22 4 4s683ms 1s170ms 23 6 6s959ms 1s159ms Sep 07 00 9 10s270ms 1s141ms 01 3 3s475ms 1s158ms 02 1 1s103ms 1s103ms 03 6 6s984ms 1s164ms 04 8 9s248ms 1s156ms 05 3 3s533ms 1s177ms 06 3 3s525ms 1s175ms 07 8 9s223ms 1s152ms 08 2 2s288ms 1s144ms 09 3 3s461ms 1s153ms 10 8 9s184ms 1s148ms 11 5 5s727ms 1s145ms 12 4 4s489ms 1s122ms 13 4 4s608ms 1s152ms 14 3 3s430ms 1s143ms 15 2 2s371ms 1s185ms 16 3 3s439ms 1s146ms 17 7 8s83ms 1s154ms 18 3 3s461ms 1s153ms 19 4 4s579ms 1s144ms 20 8 8s822ms 1s102ms 21 4 4s480ms 1s120ms 23 8 9s542ms 1s192ms [ User: pubeu - Total duration: 7m6s - Times executed: 366 ]
-
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 = '1995494' or receptorTerm.id = '1995494' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-09-05 23:06:28 Duration: 1s577ms 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 = '1505848' or receptorTerm.id = '1505848' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-09-02 21:14:59 Duration: 1s327ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '1437597' or receptorTerm.id = '1437597' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-09-03 05:38:39 Duration: 1s311ms Bind query: yes
3 369 24m41s 3s811ms 16s274ms 4s14ms select coalesce(st.alt_nm, t.nm) slimtermnm, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.curated_reference_qty > ?) curatedcount, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.indirect_gene_qty > ?) inferredcount from slim_term st inner join term t on st.slim_term_id = t.id where st.slim_id = ? order by ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Sep 01 00 7 28s17ms 4s2ms 02 1 3s845ms 3s845ms 03 1 4s235ms 4s235ms 06 1 3s992ms 3s992ms 11 4 15s737ms 3s934ms 13 1 3s894ms 3s894ms 14 1 3s874ms 3s874ms 17 1 4s54ms 4s54ms 20 2 7s832ms 3s916ms 21 1 3s989ms 3s989ms 22 1 3s908ms 3s908ms 23 3 23s953ms 7s984ms Sep 02 00 1 3s881ms 3s881ms 01 3 11s737ms 3s912ms 02 6 23s412ms 3s902ms 03 6 23s646ms 3s941ms 04 7 27s417ms 3s916ms 05 1 3s936ms 3s936ms 06 9 35s599ms 3s955ms 07 10 39s268ms 3s926ms 08 4 15s522ms 3s880ms 09 6 23s639ms 3s939ms 10 1 3s881ms 3s881ms 11 1 3s866ms 3s866ms 13 1 3s887ms 3s887ms 14 1 3s912ms 3s912ms 15 2 8s133ms 4s66ms 16 1 3s916ms 3s916ms 17 3 11s631ms 3s877ms 22 2 7s835ms 3s917ms 23 3 14s12ms 4s670ms Sep 03 03 3 11s993ms 3s997ms 04 4 15s945ms 3s986ms 05 14 55s516ms 3s965ms 06 2 7s949ms 3s974ms 07 2 7s923ms 3s961ms 08 3 11s601ms 3s867ms 09 3 12s10ms 4s3ms 11 3 12s43ms 4s14ms 13 2 7s762ms 3s881ms 14 6 23s603ms 3s933ms 15 2 7s896ms 3s948ms 17 4 15s721ms 3s930ms 18 12 50s646ms 4s220ms 19 12 48s634ms 4s52ms 20 1 3s907ms 3s907ms 21 3 11s898ms 3s966ms 22 4 16s335ms 4s83ms 23 7 27s621ms 3s945ms Sep 04 00 1 3s884ms 3s884ms 02 3 11s828ms 3s942ms 03 3 11s820ms 3s940ms 04 3 13s212ms 4s404ms 06 4 15s583ms 3s895ms 07 10 39s610ms 3s961ms 08 9 35s328ms 3s925ms 09 2 8s254ms 4s127ms 10 3 12s12ms 4s4ms 11 5 20s531ms 4s106ms 12 1 3s852ms 3s852ms 13 2 7s830ms 3s915ms 14 1 3s920ms 3s920ms 15 2 7s793ms 3s896ms 16 2 7s856ms 3s928ms 17 3 11s912ms 3s970ms 19 1 3s933ms 3s933ms 20 11 44s854ms 4s77ms 21 17 1m7s 3s964ms 23 2 7s829ms 3s914ms Sep 05 00 1 4s141ms 4s141ms 02 12 47s852ms 3s987ms 03 1 4s117ms 4s117ms 04 2 7s756ms 3s878ms 05 4 16s94ms 4s23ms 07 2 7s837ms 3s918ms 08 3 11s923ms 3s974ms 09 2 7s753ms 3s876ms 10 1 4s53ms 4s53ms 11 3 11s775ms 3s925ms 12 1 3s993ms 3s993ms 13 1 3s910ms 3s910ms 14 1 3s868ms 3s868ms 18 5 19s814ms 3s962ms 20 2 7s982ms 3s991ms 21 2 7s693ms 3s846ms 22 1 3s913ms 3s913ms 23 1 3s862ms 3s862ms Sep 06 00 2 7s858ms 3s929ms 01 2 8s117ms 4s58ms 03 1 3s884ms 3s884ms 05 3 12s257ms 4s85ms 06 1 3s997ms 3s997ms 07 1 4s22ms 4s22ms 08 3 11s717ms 3s905ms 09 2 7s834ms 3s917ms 11 1 3s947ms 3s947ms 12 1 4s40ms 4s40ms 13 1 3s876ms 3s876ms 15 5 19s673ms 3s934ms 17 9 35s77ms 3s897ms 21 1 3s997ms 3s997ms Sep 07 00 1 4s12ms 4s12ms 02 3 11s819ms 3s939ms 03 2 8s485ms 4s242ms 04 4 15s796ms 3s949ms 05 1 4s556ms 4s556ms 06 5 19s735ms 3s947ms 07 1 3s897ms 3s897ms 11 1 3s896ms 3s896ms 12 1 4s172ms 4s172ms 13 5 19s645ms 3s929ms 17 1 3s962ms 3s962ms 20 1 3s920ms 3s920ms 22 1 3s967ms 3s967ms [ User: pubeu - Total duration: 12m10s - Times executed: 184 ]
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1393242') AND stm.slim_term_id = st.slim_term_id AND cd.curated_reference_qty > 0) curatedCount, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1393242') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-09-01 23:10:10 Duration: 16s274ms 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 = '1337944') 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 = '1337944') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-09-02 23:04:03 Duration: 5s487ms 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 = '1322258') 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 = '1322258') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-09-04 04:37:55 Duration: 5s189ms Database: ctdprd51 User: pubeu Bind query: yes
4 181 3m52s 1s119ms 2s35ms 1s286ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or receptorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Sep 01 01 1 1s285ms 1s285ms 02 3 4s162ms 1s387ms 03 2 2s535ms 1s267ms 04 2 2s728ms 1s364ms 05 2 2s748ms 1s374ms 06 2 2s505ms 1s252ms 09 3 3s832ms 1s277ms 12 3 3s818ms 1s272ms 13 1 1s343ms 1s343ms 14 1 1s229ms 1s229ms 16 2 2s573ms 1s286ms 20 2 2s505ms 1s252ms 22 2 2s603ms 1s301ms 23 1 1s281ms 1s281ms Sep 02 00 4 5s513ms 1s378ms 01 1 1s287ms 1s287ms 02 1 1s540ms 1s540ms 03 1 1s268ms 1s268ms 04 1 1s302ms 1s302ms 05 4 5s305ms 1s326ms 06 1 1s374ms 1s374ms 07 2 2s614ms 1s307ms 09 2 2s502ms 1s251ms 10 2 2s544ms 1s272ms 11 1 1s197ms 1s197ms 12 1 1s271ms 1s271ms 16 1 1s310ms 1s310ms 18 1 1s278ms 1s278ms 19 1 1s279ms 1s279ms 20 1 1s210ms 1s210ms 21 1 1s273ms 1s273ms Sep 03 00 3 3s817ms 1s272ms 01 1 1s290ms 1s290ms 02 1 1s405ms 1s405ms 05 3 3s976ms 1s325ms 06 1 1s296ms 1s296ms 07 1 1s273ms 1s273ms 08 1 1s264ms 1s264ms 09 1 1s278ms 1s278ms 10 2 2s627ms 1s313ms 11 1 1s347ms 1s347ms 13 1 1s176ms 1s176ms 17 1 1s290ms 1s290ms 18 1 1s248ms 1s248ms 19 2 2s549ms 1s274ms 22 1 1s545ms 1s545ms 23 3 3s781ms 1s260ms Sep 04 00 1 1s308ms 1s308ms 02 5 6s465ms 1s293ms 04 4 5s67ms 1s266ms 05 2 2s698ms 1s349ms 07 2 2s481ms 1s240ms 12 1 1s258ms 1s258ms 14 1 1s249ms 1s249ms 15 6 7s566ms 1s261ms 17 2 2s511ms 1s255ms 19 2 2s522ms 1s261ms 20 1 1s188ms 1s188ms 22 2 2s479ms 1s239ms 23 1 1s315ms 1s315ms Sep 05 00 1 1s212ms 1s212ms 01 1 1s294ms 1s294ms 04 3 3s759ms 1s253ms 05 7 8s929ms 1s275ms 06 1 1s292ms 1s292ms 09 1 1s245ms 1s245ms 10 5 7s170ms 1s434ms 12 1 1s301ms 1s301ms 13 3 3s873ms 1s291ms 14 1 1s275ms 1s275ms 17 2 2s536ms 1s268ms 18 1 1s330ms 1s330ms 21 1 1s234ms 1s234ms 23 1 1s291ms 1s291ms Sep 06 00 1 1s270ms 1s270ms 02 2 2s508ms 1s254ms 05 2 2s620ms 1s310ms 06 1 1s270ms 1s270ms 08 2 2s546ms 1s273ms 09 3 3s762ms 1s254ms 10 1 1s211ms 1s211ms 16 1 1s292ms 1s292ms 17 1 1s253ms 1s253ms 18 1 1s285ms 1s285ms 21 1 1s276ms 1s276ms 22 1 1s223ms 1s223ms 23 2 2s517ms 1s258ms Sep 07 00 3 3s675ms 1s225ms 01 2 2s526ms 1s263ms 03 1 1s255ms 1s255ms 04 1 1s297ms 1s297ms 05 2 2s649ms 1s324ms 07 1 1s227ms 1s227ms 09 3 3s801ms 1s267ms 11 1 1s261ms 1s261ms 12 2 2s500ms 1s250ms 14 1 1s215ms 1s215ms 16 1 1s274ms 1s274ms 18 1 1s238ms 1s238ms 19 2 2s367ms 1s183ms 21 2 2s347ms 1s173ms 22 1 1s296ms 1s296ms 23 2 2s714ms 1s357ms [ User: pubeu - Total duration: 2m7s - Times executed: 100 ]
[ User: qaeu - Total duration: 8s20ms - Times executed: 6 ]
-
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 = '1216066') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1216066') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-09-05 10:53:25 Duration: 2s35ms 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 = '1235403') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1235403') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-09-02 00:43:42 Duration: 1s687ms 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 = '1230580') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1230580') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-09-03 22:32:59 Duration: 1s545ms Database: ctdprd51 User: pubeu Bind query: yes
5 134 4m36s 2s24ms 2s140ms 2s65ms select distinct phenotypeterm.nm as gonm, phenotypeterm.nm_html as gonmhtml, phenotypeterm.acc_txt as goacc, diseaseterm.nm as diseasenm, diseaseterm.nm_html as diseasenmhtml, diseaseterm.acc_txt as diseaseacc, diseaseterm.acc_db_cd as diseaseaccdbcd, chemterm.nm as chemnm, chemterm.nm_html as chemnmhtml, chemterm.acc_txt as chemacc, geneterm.nm as genesymbol, geneterm.nm_html as genesymbolhtml, geneterm.acc_txt as geneacc, count(*) over () fullrowcount from phenotype_term_reference viachemptr, phenotype_term_reference viageneptr, term phenotypeterm, term diseaseterm, term geneterm, term chemterm where diseaseterm.id = any (array ( select baseterm.id from term baseterm where baseterm.object_type_id = ? and baseterm.id in ( select term_id from term_label tl where upper(tl.nm) = ? and tl.object_type_id = ?))) and viachemptr.phenotype_id = phenotypeterm.id and viachemptr.term_object_type_id = ? and viachemptr.term_id = diseaseterm.id and viachemptr.via_term_object_type_id = ? and viachemptr.via_term_id = chemterm.id and viachemptr.term_id = viageneptr.term_id and viachemptr.phenotype_id = viageneptr.phenotype_id and viageneptr.via_term_object_type_id = ? and viageneptr.via_term_id = geneterm.id and exists ( select ? from gene_chem_reference where gene_id = geneterm.id and chem_id = chemterm.id) group by phenotypeterm.nm, phenotypeterm.nm_html, phenotypeterm.acc_txt, diseaseterm.nm, diseaseterm.nm_html, diseaseterm.acc_txt, diseaseterm.acc_db_cd, chemterm.nm, chemterm.nm_html, chemterm.acc_txt, geneterm.nm, geneterm.nm_html, geneterm.acc_txt order by chemterm.nm limit ? offset ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Sep 06 01 11 22s808ms 2s73ms 02 26 53s638ms 2s63ms 03 8 16s492ms 2s61ms 08 67 2m18s 2s65ms 09 22 45s428ms 2s64ms [ User: pubeu - Total duration: 49s766ms - Times executed: 24 ]
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ASTHMA' AND tl.object_type_id = 3))) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50 OFFSET 800;
Date: 2024-09-06 08:01:33 Duration: 2s140ms Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ASTHMA' AND tl.object_type_id = 3))) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50 OFFSET 4700;
Date: 2024-09-06 08:04:11 Duration: 2s135ms Bind query: yes
-
select distinct phenotypeTerm.nm AS goNm, phenotypeTerm.nm_html AS goNmHtml, phenotypeTerm.acc_txt AS goAcc, diseaseTerm.nm AS diseaseNm, diseaseTerm.nm_html AS diseaseNmHtml, diseaseTerm.acc_txt AS diseaseAcc, diseaseTerm.acc_db_cd AS diseaseAccDbCd, chemTerm.nm AS chemNm, chemTerm.nm_html AS chemNmHtml, chemTerm.acc_txt AS chemAcc, geneTerm.nm AS geneSymbol, geneTerm.nm_html AS geneSymbolHtml, geneTerm.acc_txt AS geneAcc, COUNT(*) OVER () fullRowCount from PHENOTYPE_TERM_REFERENCE viaChemPTR, PHENOTYPE_TERM_REFERENCE viaGenePTR, TERM phenotypeTerm, TERM diseaseTerm, TERM geneTerm, TERM chemTerm where diseaseTerm.id = ANY (ARRAY ( select baseTerm.id from term baseTerm WHERE baseTerm.object_type_id = 3 and baseTerm.id in ( select term_id from term_label tl WHERE UPPER(tl.nm) = 'ASTHMA' AND tl.object_type_id = 3))) and viaChemPTR.phenotype_id = phenotypeTerm.id and viaChemPTR.term_object_type_id = 3 and viaChemPTR.term_id = diseaseTerm.id and viaChemPTR.via_term_object_type_id = 2 and viaChemPTR.via_term_id = chemTerm.id and viaChemPTR.term_id = viaGenePTR.term_id and viaChemPTR.phenotype_id = viaGenePTR.phenotype_id and viaGenePTR.via_term_object_type_id = 4 and viaGenePTR.via_term_id = geneTerm.id and exists ( select 1 from gene_chem_reference where gene_id = geneTerm.id and chem_id = chemTerm.id) GROUP BY phenotypeTerm.nm, phenotypeTerm.nm_html, phenotypeTerm.acc_txt, diseaseTerm.nm, diseaseTerm.nm_html, diseaseTerm.acc_txt, diseaseTerm.acc_db_cd, chemTerm.nm, chemTerm.nm_html, chemTerm.acc_txt, geneTerm.nm, geneTerm.nm_html, geneTerm.acc_txt order by chemTerm.nm LIMIT 50 OFFSET 7700;
Date: 2024-09-06 08:08:24 Duration: 2s122ms Bind query: yes
6 122 2m41s 1s183ms 1s750ms 1s324ms 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 Sep 01 00 1 1s488ms 1s488ms 02 1 1s204ms 1s204ms 04 3 3s920ms 1s306ms 05 4 5s383ms 1s345ms 06 2 2s575ms 1s287ms 07 1 1s501ms 1s501ms 08 2 2s577ms 1s288ms 11 3 3s811ms 1s270ms 13 1 1s339ms 1s339ms 14 2 3s37ms 1s518ms 19 1 1s211ms 1s211ms 20 1 1s299ms 1s299ms 23 1 1s402ms 1s402ms Sep 02 00 3 3s707ms 1s235ms 01 1 1s221ms 1s221ms 02 1 1s369ms 1s369ms 03 1 1s248ms 1s248ms 05 6 8s77ms 1s346ms 06 1 1s275ms 1s275ms 08 1 1s209ms 1s209ms 09 2 2s557ms 1s278ms 10 1 1s270ms 1s270ms 12 2 2s502ms 1s251ms 13 2 2s646ms 1s323ms 15 1 1s356ms 1s356ms 16 2 3s253ms 1s626ms 17 1 1s606ms 1s606ms 18 1 1s258ms 1s258ms Sep 03 03 2 2s665ms 1s332ms 05 3 4s140ms 1s380ms 07 2 2s665ms 1s332ms 08 2 2s447ms 1s223ms 09 1 1s288ms 1s288ms 10 1 1s280ms 1s280ms 11 1 1s354ms 1s354ms 14 2 2s539ms 1s269ms 18 1 1s240ms 1s240ms Sep 04 01 1 1s289ms 1s289ms 04 1 1s311ms 1s311ms 05 2 2s768ms 1s384ms 06 1 1s228ms 1s228ms 07 2 2s549ms 1s274ms 15 1 1s264ms 1s264ms 20 2 2s970ms 1s485ms 22 1 1s301ms 1s301ms Sep 05 00 1 1s200ms 1s200ms 04 1 1s267ms 1s267ms 05 3 4s141ms 1s380ms 06 3 3s723ms 1s241ms 07 1 1s295ms 1s295ms 09 1 1s212ms 1s212ms 10 1 1s236ms 1s236ms 11 5 6s539ms 1s307ms 14 1 1s195ms 1s195ms 15 2 2s895ms 1s447ms 16 2 3s9ms 1s504ms 19 2 2s517ms 1s258ms 20 2 2s554ms 1s277ms 22 1 1s391ms 1s391ms Sep 06 00 1 1s318ms 1s318ms 05 2 2s741ms 1s370ms 11 1 1s368ms 1s368ms 12 1 1s325ms 1s325ms 14 1 1s430ms 1s430ms 19 2 2s564ms 1s282ms Sep 07 05 3 4s181ms 1s393ms 06 1 1s287ms 1s287ms 09 1 1s267ms 1s267ms 10 1 1s319ms 1s319ms 11 1 1s343ms 1s343ms 12 1 1s271ms 1s271ms 15 1 1s271ms 1s271ms 16 1 1s356ms 1s356ms 19 1 1s185ms 1s185ms 20 1 1s322ms 1s322ms 23 1 1s271ms 1s271ms [ User: pubeu - Total duration: 1m17s - Times executed: 58 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = '2079326') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2079326') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-09-01 14:56:35 Duration: 1s750ms 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 = '2079326') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2079326') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-09-02 16:16:53 Duration: 1s627ms 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 = '2079326') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2079326') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-09-02 16:16:55 Duration: 1s626ms Database: ctdprd51 User: pubeu Bind query: yes
7 97 6m25s 1s2ms 5s880ms 3s972ms select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Sep 01 01 1 5s158ms 5s158ms 06 1 1s26ms 1s26ms 09 1 5s284ms 5s284ms 11 1 5s830ms 5s830ms 12 2 10s766ms 5s383ms 13 1 1s32ms 1s32ms 15 1 1s15ms 1s15ms 17 1 5s748ms 5s748ms 18 1 4s802ms 4s802ms 19 1 5s58ms 5s58ms 23 1 5s431ms 5s431ms Sep 02 00 1 1s28ms 1s28ms 02 1 4s811ms 4s811ms 03 3 15s630ms 5s210ms 09 2 2s42ms 1s21ms 11 1 4s863ms 4s863ms 18 1 1s32ms 1s32ms 21 1 4s869ms 4s869ms 23 1 4s870ms 4s870ms Sep 03 03 1 5s167ms 5s167ms 04 2 10s791ms 5s395ms 05 2 6s356ms 3s178ms 07 6 31s565ms 5s260ms 09 2 10s866ms 5s433ms 10 1 5s216ms 5s216ms 12 1 1s38ms 1s38ms 13 1 1s53ms 1s53ms 16 1 1s9ms 1s9ms 18 2 9s754ms 4s877ms 20 1 5s20ms 5s20ms Sep 04 01 1 1s12ms 1s12ms 03 1 5s649ms 5s649ms 04 1 5s755ms 5s755ms 05 2 6s75ms 3s37ms 06 1 5s28ms 5s28ms 09 5 25s217ms 5s43ms 11 1 1s56ms 1s56ms 15 1 5s213ms 5s213ms 20 3 6s922ms 2s307ms 23 1 5s293ms 5s293ms Sep 05 03 1 5s268ms 5s268ms 04 3 16s20ms 5s340ms 05 5 18s720ms 3s744ms 08 2 10s753ms 5s376ms 11 1 5s233ms 5s233ms 12 2 10s461ms 5s230ms 14 1 4s891ms 4s891ms 16 1 1s24ms 1s24ms 20 1 1s36ms 1s36ms 21 2 6s604ms 3s302ms Sep 06 02 1 1s8ms 1s8ms 05 2 6s298ms 3s149ms 08 2 10s166ms 5s83ms 11 1 1s35ms 1s35ms 14 1 5s93ms 5s93ms 18 1 4s991ms 4s991ms 19 1 5s416ms 5s416ms 22 1 5s400ms 5s400ms Sep 07 02 1 1s42ms 1s42ms 05 1 1s21ms 1s21ms 10 1 1s28ms 1s28ms 11 1 5s13ms 5s13ms 16 2 10s343ms 5s171ms 22 1 1s49ms 1s49ms 23 1 1s15ms 1s15ms [ User: pubeu - Total duration: 2m40s - Times executed: 42 ]
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1260513' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-09-05 05:51:03 Duration: 5s880ms 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 = '1402942' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-09-01 11:15:18 Duration: 5s830ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1260513' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-09-05 04:03:32 Duration: 5s771ms Bind query: yes
8 88 2m3s 1s302ms 1s554ms 1s407ms select t.nm, t.nm_html nmhtml, t.secondary_nm secondarynm, t.acc_txt acc, ? || t.nm accquerystr, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, t.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term t where t.object_type_id = ? and regexp_replace(upper(substring(t.nm, ?, ?)), ?, ?) = ? order by t.nm_sort limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Sep 01 01 2 2s975ms 1s487ms 03 5 6s698ms 1s339ms 05 2 2s810ms 1s405ms 08 1 1s321ms 1s321ms 15 2 2s840ms 1s420ms 23 3 4s253ms 1s417ms Sep 02 00 1 1s322ms 1s322ms 04 4 5s752ms 1s438ms 05 6 8s920ms 1s486ms 06 1 1s465ms 1s465ms 13 1 1s401ms 1s401ms 22 1 1s318ms 1s318ms Sep 03 03 4 5s574ms 1s393ms 05 2 2s713ms 1s356ms 06 2 2s791ms 1s395ms 09 1 1s395ms 1s395ms 14 2 2s734ms 1s367ms 18 2 2s619ms 1s309ms 21 2 2s832ms 1s416ms 22 1 1s480ms 1s480ms Sep 04 01 1 1s337ms 1s337ms 02 1 1s371ms 1s371ms 04 7 9s874ms 1s410ms 05 2 2s641ms 1s320ms 06 2 2s750ms 1s375ms 07 2 2s920ms 1s460ms 10 2 2s761ms 1s380ms 18 4 5s949ms 1s487ms 23 1 1s360ms 1s360ms Sep 05 01 3 4s259ms 1s419ms 03 2 2s827ms 1s413ms 05 2 2s672ms 1s336ms 21 2 2s939ms 1s469ms 22 3 4s329ms 1s443ms Sep 06 05 2 2s965ms 1s482ms 10 1 1s312ms 1s312ms 14 1 1s335ms 1s335ms Sep 07 03 1 1s371ms 1s371ms 04 1 1s446ms 1s446ms 05 2 2s869ms 1s434ms 08 1 1s374ms 1s374ms [ User: pubeu - Total duration: 44s420ms - Times executed: 32 ]
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2024-09-03 03:14:32 Duration: 1s554ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2024-09-02 05:37:09 Duration: 1s526ms 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]', '#') = 'C' ORDER BY t.nm_sort LIMIT 100;
Date: 2024-09-04 18:33:26 Duration: 1s513ms Bind query: yes
9 78 4m14s 1s3ms 10s985ms 3s258ms 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 Sep 01 00 1 2s303ms 2s303ms 04 1 3s360ms 3s360ms 05 2 21s624ms 10s812ms 06 1 1s89ms 1s89ms 12 1 2s320ms 2s320ms 13 1 10s247ms 10s247ms 16 3 6s164ms 2s54ms 22 1 1s56ms 1s56ms 23 1 1s253ms 1s253ms Sep 02 04 1 2s51ms 2s51ms 06 3 5s476ms 1s825ms 07 3 3s326ms 1s108ms 10 1 2s317ms 2s317ms 17 4 11s999ms 2s999ms 20 1 2s218ms 2s218ms Sep 03 00 1 2s337ms 2s337ms 02 1 10s602ms 10s602ms 03 4 16s626ms 4s156ms 06 2 3s907ms 1s953ms 09 2 5s273ms 2s636ms 18 3 7s573ms 2s524ms 19 1 2s314ms 2s314ms 20 1 1s286ms 1s286ms 23 1 1s344ms 1s344ms Sep 04 01 1 1s319ms 1s319ms 02 1 10s702ms 10s702ms 03 1 4s957ms 4s957ms 04 3 5s950ms 1s983ms 07 2 2s88ms 1s44ms 11 1 1s217ms 1s217ms 14 1 6s167ms 6s167ms 21 1 1s325ms 1s325ms 23 2 3s780ms 1s890ms Sep 05 04 1 1s334ms 1s334ms 05 1 2s582ms 2s582ms 09 2 3s804ms 1s902ms 10 1 2s680ms 2s680ms 11 1 1s295ms 1s295ms 18 1 2s687ms 2s687ms Sep 06 01 1 4s375ms 4s375ms 02 1 10s40ms 10s40ms 03 1 10s391ms 10s391ms 08 1 1s224ms 1s224ms 09 1 1s276ms 1s276ms 10 2 2s327ms 1s163ms 12 1 10s84ms 10s84ms 13 1 1s355ms 1s355ms 18 2 3s711ms 1s855ms Sep 07 03 1 1s372ms 1s372ms 04 1 1s84ms 1s84ms 05 1 10s74ms 10s74ms 09 1 10s985ms 10s985ms 13 1 1s413ms 1s413ms 21 1 4s468ms 4s468ms [ User: pubeu - Total duration: 2m33s - Times executed: 42 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2086129') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-09-07 09:11:52 Duration: 10s985ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2086129') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-09-01 05:51:38 Duration: 10s908ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2086129') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-09-01 05:51:33 Duration: 10s716ms Bind query: yes
10 50 59s330ms 1s8ms 1s350ms 1s186ms 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 studycountries limit ? offset ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Sep 04 08 7 7s965ms 1s137ms 09 2 2s180ms 1s90ms Sep 05 05 12 12s851ms 1s70ms Sep 06 21 19 25s91ms 1s320ms 23 7 7s920ms 1s131ms Sep 07 01 3 3s321ms 1s107ms [ User: pubeu - Total duration: 6s87ms - Times executed: 5 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1325595') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1325595') 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 studyCountries LIMIT 50 OFFSET 350;
Date: 2024-09-06 21:39:35 Duration: 1s350ms 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 stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1325595') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1325595') 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 studyCountries LIMIT 50 OFFSET 2550;
Date: 2024-09-06 21:41:56 Duration: 1s349ms 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 = '1325595') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1325595') 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 studyCountries LIMIT 50 OFFSET 2100;
Date: 2024-09-06 21:41:17 Duration: 1s344ms Bind query: yes
11 49 3m22s 1s21ms 13s204ms 4s126ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Sep 01 06 1 1s574ms 1s574ms 13 2 3s779ms 1s889ms 16 1 6s882ms 6s882ms Sep 02 00 1 2s181ms 2s181ms 23 1 5s606ms 5s606ms Sep 03 00 1 1s225ms 1s225ms 02 1 4s392ms 4s392ms 03 6 29s204ms 4s867ms 05 2 3s235ms 1s617ms 08 1 2s175ms 2s175ms 09 1 3s965ms 3s965ms 16 1 1s294ms 1s294ms Sep 04 03 2 26s402ms 13s201ms 04 2 14s615ms 7s307ms 08 1 10s151ms 10s151ms 14 1 1s247ms 1s247ms 15 1 1s128ms 1s128ms 20 1 1s342ms 1s342ms 22 1 13s18ms 13s18ms Sep 05 03 1 10s476ms 10s476ms 06 1 13s51ms 13s51ms 13 1 5s331ms 5s331ms 16 1 1s416ms 1s416ms Sep 06 01 4 4s130ms 1s32ms 09 1 1s225ms 1s225ms 18 1 2s587ms 2s587ms Sep 07 01 6 11s473ms 1s912ms 02 1 1s895ms 1s895ms 04 1 2s658ms 2s658ms 07 1 2s628ms 2s628ms 11 1 1s36ms 1s36ms 21 1 10s872ms 10s872ms [ User: pubeu - Total duration: 1m44s - Times executed: 27 ]
-
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 = '2079094') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1774900;
Date: 2024-09-04 03:33:13 Duration: 13s204ms 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 = '2079094') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1774900;
Date: 2024-09-04 03:33:20 Duration: 13s197ms 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 = '2079094') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1766600;
Date: 2024-09-05 06:54:40 Duration: 13s51ms Bind query: yes
12 37 4m21s 1s99ms 34s714ms 7s64ms 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 #12
Day Hour Count Duration Avg duration Sep 01 18 1 4s605ms 4s605ms Sep 02 06 1 14s143ms 14s143ms 07 1 2s937ms 2s937ms 09 2 3s778ms 1s889ms 12 3 4s765ms 1s588ms 17 1 30s308ms 30s308ms Sep 03 03 1 14s717ms 14s717ms Sep 04 02 1 2s12ms 2s12ms 03 1 14s474ms 14s474ms 07 1 2s703ms 2s703ms 09 1 4s500ms 4s500ms 14 2 2s714ms 1s357ms 22 1 3s768ms 3s768ms Sep 05 04 1 2s135ms 2s135ms 08 1 14s23ms 14s23ms Sep 06 03 3 1m42s 34s301ms 18 1 4s650ms 4s650ms Sep 07 01 3 6s874ms 2s291ms 02 2 4s433ms 2s216ms 03 9 20s930ms 2s325ms [ User: pubeu - Total duration: 2m45s - Times executed: 22 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2086129') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-09-06 03:16:22 Duration: 34s714ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2086129') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-09-06 03:20:23 Duration: 34s617ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2086129') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-09-06 03:14:01 Duration: 33s573ms Bind query: yes
13 35 48s805ms 1s373ms 1s525ms 1s394ms 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 #13
Day Hour Count Duration Avg duration Sep 01 04 1 1s408ms 1s408ms 05 2 2s798ms 1s399ms 11 2 2s790ms 1s395ms Sep 02 05 2 2s769ms 1s384ms 16 1 1s392ms 1s392ms Sep 03 04 1 1s393ms 1s393ms 05 2 2s765ms 1s382ms Sep 04 04 1 1s373ms 1s373ms 05 3 4s157ms 1s385ms 06 2 2s793ms 1s396ms 07 1 1s381ms 1s381ms 08 2 2s799ms 1s399ms 16 2 2s769ms 1s384ms Sep 05 02 1 1s396ms 1s396ms 03 1 1s380ms 1s380ms 05 2 2s907ms 1s453ms 15 1 1s401ms 1s401ms Sep 06 05 3 4s178ms 1s392ms 17 1 1s387ms 1s387ms Sep 07 05 2 2s789ms 1s394ms 09 2 2s768ms 1s384ms [ User: pubeu - Total duration: 13s908ms - Times executed: 10 ]
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2024-09-05 05:38:35 Duration: 1s525ms Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2024-09-04 06:44:20 Duration: 1s410ms Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2024-09-01 04:48:35 Duration: 1s408ms Database: ctdprd51 User: pubeu Bind query: yes
14 34 1m17s 1s 3s444ms 2s281ms with recursive sub_node ( object_id, id, path, lvl ) as ( select n.object_id, n.id, array[n.nm_sort], ? from dag_node n where n.object_id = ? union all select n.object_id, n.id, cast(path || n.nm_sort as varchar(?)[]), sn.lvl + ? from dag_node n inner join sub_node sn on (n.parent_id = sn.id)) select distinct t.nm prinm, t.nm_html prinmhtml, t.secondary_nm secondarynm, t.acc_db_cd accdbcd, t.acc_txt termacc, t.is_leaf isleaf, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, t.has_genes hasgenes, sn.lvl, sn.path, max(sn.lvl) over () maxlvl, t.has_phenotypes hasphenotypes from sub_node sn inner join term t on sn.object_id = t.id where sn.lvl <= ? order by sn.path;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Sep 01 05 4 8s718ms 2s179ms Sep 02 05 4 8s696ms 2s174ms Sep 03 05 4 8s891ms 2s222ms 06 1 3s251ms 3s251ms Sep 04 05 4 8s775ms 2s193ms 07 1 3s308ms 3s308ms 08 1 2s360ms 2s360ms 13 1 1s886ms 1s886ms 21 1 1s841ms 1s841ms Sep 05 05 4 9s597ms 2s399ms 13 1 1s880ms 1s880ms Sep 06 05 3 7s753ms 2s584ms 16 1 1s889ms 1s889ms Sep 07 05 4 8s731ms 2s182ms [ User: pubeu - Total duration: 34s219ms - Times executed: 12 ]
[ User: qaeu - Total duration: 23s439ms - Times executed: 7 ]
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '592227' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2024-09-03 05:35:13 Duration: 3s444ms Database: ctdprd51 User: pubeu Bind query: yes
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '592227' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2024-09-04 05:40:12 Duration: 3s409ms Database: ctdprd51 User: qaeu Bind query: yes
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '592227' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2024-09-06 05:35:15 Duration: 3s382ms Database: ctdprd51 User: pubeu Bind query: yes
15 28 34s982ms 1s14ms 3s352ms 1s249ms 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 #15
Day Hour Count Duration Avg duration Sep 01 05 4 4s332ms 1s83ms Sep 02 05 3 3s648ms 1s216ms 22 1 1s46ms 1s46ms Sep 03 05 4 6s649ms 1s662ms Sep 04 00 1 1s29ms 1s29ms 05 4 4s922ms 1s230ms Sep 05 05 4 4s667ms 1s166ms Sep 06 05 4 4s983ms 1s245ms Sep 07 05 3 3s701ms 1s233ms [ User: qaeu - Total duration: 10s597ms - Times executed: 9 ]
[ User: pubeu - Total duration: 8s874ms - Times executed: 7 ]
-
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-09-03 05:55:01 Duration: 3s352ms Bind query: yes
-
SELECT /* ReferenceGeneGeneIxnsDAO */ fg.nm fromGeneSymbol, fg.acc_txt fromGeneAcc, tg.nm toGeneSymbol, tg.acc_txt toGeneAcc, ft.nm fromTaxonNm, ft.secondary_nm fromTaxonCommonNm, ft.acc_txt fromTaxonAcc, tt.nm toTaxonNm, tt.secondary_nm toTaxonCommonNm, tt.acc_txt toTaxonAcc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( SELECT STRING_AGG(ggt.throughput_txt, ', ' ORDER BY ggt.throughput_txt) FROM gene_gene_ref_throughput ggt WHERE ggt.gene_gene_reference_id = ggr.id) throughput, COUNT(*) OVER () fullRowCount FROM gene_gene_reference ggr INNER JOIN term fg ON ggr.from_gene_id = fg.id INNER JOIN term tg ON ggr.to_gene_id = tg.id INNER JOIN term ft ON ggr.from_taxon_id = ft.id INNER JOIN term tt ON ggr.to_taxon_id = tt.id WHERE ggr.reference_id = '111363' ORDER BY fg.nm_sort, tg.nm_sort LIMIT 50;
Date: 2024-09-06 05:38:13 Duration: 1s542ms 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-09-05 05:38:09 Duration: 1s376ms Database: ctdprd51 User: pubeu Bind query: yes
16 26 1m13s 1s 5s416ms 2s807ms select 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(?, ?) union select ?, r.id from reference r where r.title_abstract_fts @@ to_tsquery(?, ?) 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), ?, ?) like ?)) 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 = ? and (upper(l.acc_txt) like ?)) ii group by ii.cd;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Sep 01 03 1 5s42ms 5s42ms Sep 02 01 2 10s326ms 5s163ms 04 4 20s34ms 5s8ms 05 4 20s788ms 5s197ms Sep 03 04 6 6s696ms 1s116ms Sep 04 00 2 2s176ms 1s88ms 04 1 1s131ms 1s131ms 05 1 1s188ms 1s188ms 09 1 1s179ms 1s179ms Sep 06 06 1 1s161ms 1s161ms 17 1 1s 1s Sep 07 05 2 2s273ms 1s136ms [ User: pubeu - Total duration: 44s698ms - Times executed: 15 ]
-
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', 'CALCIUM_CHLORIDE') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'CALCIUM_CHLORIDE') 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 'CALCIUM_CHLORIDE')) 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 'CALCIUM_CHLORIDE')) ii GROUP BY ii.cd;
Date: 2024-09-02 05:17:51 Duration: 5s416ms Database: ctdprd51 User: pubeu Bind query: yes
-
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', 'CALCIUM_CHLORIDE') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'CALCIUM_CHLORIDE') 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 'CALCIUM_CHLORIDE')) 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 'CALCIUM_CHLORIDE')) ii GROUP BY ii.cd;
Date: 2024-09-02 05:17:51 Duration: 5s331ms Bind query: yes
-
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_2_3_4_TETRAHYDROISOQUINOLINE') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '1_2_3_4_TETRAHYDROISOQUINOLINE') 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 '1_2_3_4_TETRAHYDROISOQUINOLINE')) 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 '1_2_3_4_TETRAHYDROISOQUINOLINE')) ii GROUP BY ii.cd;
Date: 2024-09-02 01:24:45 Duration: 5s181ms Database: ctdprd51 User: pubeu Bind query: yes
17 25 14m6s 33s435ms 34s663ms 33s866ms 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 #17
Day Hour Count Duration Avg duration Sep 01 06 1 33s749ms 33s749ms 10 1 33s830ms 33s830ms 14 1 33s668ms 33s668ms 18 1 33s775ms 33s775ms Sep 02 06 1 33s790ms 33s790ms 10 1 33s657ms 33s657ms 14 1 33s809ms 33s809ms 18 1 33s763ms 33s763ms Sep 03 06 1 33s833ms 33s833ms 10 1 33s792ms 33s792ms 14 1 33s798ms 33s798ms 18 1 34s663ms 34s663ms Sep 04 06 1 33s834ms 33s834ms 10 1 33s890ms 33s890ms 14 1 33s855ms 33s855ms 18 1 33s850ms 33s850ms Sep 05 06 1 34s608ms 34s608ms 10 1 33s819ms 33s819ms 14 1 33s741ms 33s741ms 18 1 33s908ms 33s908ms Sep 06 06 1 33s866ms 33s866ms 10 1 33s898ms 33s898ms 14 1 33s890ms 33s890ms 18 1 33s933ms 33s933ms Sep 07 19 1 33s435ms 33s435ms [ User: postgres - Total duration: 13m33s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 13m33s - Times executed: 24 ]
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-09-03 18:05:36 Duration: 34s663ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-09-05 06:05:36 Duration: 34s608ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-09-06 18:05:35 Duration: 33s933ms Database: ctdprd51 User: postgres Application: pg_dump
18 25 6m2s 14s387ms 14s677ms 14s486ms copy edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Sep 01 06 1 14s508ms 14s508ms 10 1 14s525ms 14s525ms 14 1 14s472ms 14s472ms 18 1 14s677ms 14s677ms Sep 02 06 1 14s478ms 14s478ms 10 1 14s516ms 14s516ms 14 1 14s479ms 14s479ms 18 1 14s478ms 14s478ms Sep 03 06 1 14s539ms 14s539ms 10 1 14s398ms 14s398ms 14 1 14s492ms 14s492ms 18 1 14s587ms 14s587ms Sep 04 06 1 14s464ms 14s464ms 10 1 14s506ms 14s506ms 14 1 14s466ms 14s466ms 18 1 14s550ms 14s550ms Sep 05 06 1 14s432ms 14s432ms 10 1 14s483ms 14s483ms 14 1 14s434ms 14s434ms 18 1 14s423ms 14s423ms Sep 06 06 1 14s526ms 14s526ms 10 1 14s467ms 14s467ms 14 1 14s438ms 14s438ms 18 1 14s429ms 14s429ms Sep 07 18 1 14s387ms 14s387ms [ User: postgres - Total duration: 6m2s - Times executed: 25 ]
[ Application: pg_dump - Total duration: 6m2s - Times executed: 25 ]
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-01 18:00:16 Duration: 14s677ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-03 18:00:16 Duration: 14s587ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-04 18:00:16 Duration: 14s550ms Database: ctdprd51 User: postgres Application: pg_dump
19 25 5m36s 13s402ms 13s551ms 13s448ms copy edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Sep 01 06 1 13s414ms 13s414ms 10 1 13s541ms 13s541ms 14 1 13s428ms 13s428ms 18 1 13s551ms 13s551ms Sep 02 06 1 13s449ms 13s449ms 10 1 13s402ms 13s402ms 14 1 13s419ms 13s419ms 18 1 13s442ms 13s442ms Sep 03 06 1 13s526ms 13s526ms 10 1 13s409ms 13s409ms 14 1 13s436ms 13s436ms 18 1 13s445ms 13s445ms Sep 04 06 1 13s438ms 13s438ms 10 1 13s434ms 13s434ms 14 1 13s419ms 13s419ms 18 1 13s424ms 13s424ms Sep 05 06 1 13s446ms 13s446ms 10 1 13s450ms 13s450ms 14 1 13s444ms 13s444ms 18 1 13s448ms 13s448ms Sep 06 06 1 13s443ms 13s443ms 10 1 13s439ms 13s439ms 14 1 13s446ms 13s446ms 18 1 13s434ms 13s434ms Sep 07 18 1 13s477ms 13s477ms -
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-01 18:00:44 Duration: 13s551ms
-
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-01 10:00:44 Duration: 13s541ms
-
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-03 06:00:44 Duration: 13s526ms
20 25 3m22s 7s990ms 8s993ms 8s110ms copy pubc.log_query_bots (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, 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, user_agent_pattern) to stdout;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Sep 01 06 1 8s50ms 8s50ms 10 1 8s96ms 8s96ms 14 1 8s35ms 8s35ms 18 1 8s58ms 8s58ms Sep 02 06 1 8s63ms 8s63ms 10 1 8s34ms 8s34ms 14 1 8s114ms 8s114ms 18 1 8s67ms 8s67ms Sep 03 06 1 8s141ms 8s141ms 10 1 8s78ms 8s78ms 14 1 8s37ms 8s37ms 18 1 8s49ms 8s49ms Sep 04 06 1 8s79ms 8s79ms 10 1 8s100ms 8s100ms 14 1 8s102ms 8s102ms 18 1 8s48ms 8s48ms Sep 05 06 1 8s993ms 8s993ms 10 1 8s72ms 8s72ms 14 1 8s124ms 8s124ms 18 1 8s89ms 8s89ms Sep 06 06 1 8s75ms 8s75ms 10 1 8s66ms 8s66ms 14 1 8s104ms 8s104ms 18 1 8s77ms 8s77ms Sep 07 19 1 7s990ms 7s990ms -
COPY pubc.log_query_bots (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, 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, user_agent_pattern) TO stdout;
Date: 2024-09-05 06:05:45 Duration: 8s993ms
-
COPY pubc.log_query_bots (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, 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, user_agent_pattern) TO stdout;
Date: 2024-09-03 06:05:43 Duration: 8s141ms
-
COPY pubc.log_query_bots (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, 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, user_agent_pattern) TO stdout;
Date: 2024-09-05 14:05:44 Duration: 8s124ms
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 23m42s 23m42s 23m42s 1 23m42s copy pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Sep 07 19 1 23m42s 23m42s -
COPY pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2024-09-07 19:00:39 Duration: 23m42s
2 23m42s 23m42s 23m42s 1 23m42s copy pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Sep 07 19 1 23m42s 23m42s -
COPY pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) TO stdout;
Date: 2024-09-07 19:43:04 Duration: 23m42s
3 16m33s 17m40s 16m46s 7 1h57m23s select maint_query_logs_archive ();Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Sep 01 00 1 16m35s 16m35s Sep 02 00 1 16m33s 16m33s Sep 03 00 1 16m38s 16m38s Sep 04 00 1 17m40s 17m40s Sep 05 00 1 16m34s 16m34s Sep 06 00 1 16m39s 16m39s Sep 07 00 1 16m41s 16m41s -
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-09-04 00:17:42 Duration: 17m40s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-09-07 00:16:43 Duration: 16m41s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-09-06 00:16:40 Duration: 16m39s
4 10m47s 10m47s 10m47s 1 10m47s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Sep 04 07 1 10m47s 10m47s -
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'SLC6A2') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'R-HSA-6809583' AND tp.pathway_acc_db_cd = 'REACT'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'VITAMIN A' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-09-04 07:31:10 Duration: 10m47s Bind query: yes
5 10m39s 10m39s 10m39s 1 10m39s select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in (( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select gd.gene_id from term_label l inner join dag_path dp on l.term_id = dp.ancestor_object_id inner join gene_disease gd on dp.descendant_object_id = gd.disease_id where upper(l.nm) like ? and l.object_type_id = ? and gd.curated_reference_qty > ?)) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Sep 05 22 1 10m39s 10m39s -
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN (( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterDiseaseWhereEquals.Label.Gene */ gd.gene_id FROM term_label l INNER JOIN dag_path dp ON l.term_id = dp.ancestor_object_id INNER JOIN gene_disease gd ON dp.descendant_object_id = gd.disease_id WHERE UPPER(l.nm) LIKE 'OSTEOARTHRITIS' AND l.object_type_id = 3 AND gd.curated_reference_qty > 0)) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-09-05 22:39:59 Duration: 10m39s Bind query: yes
6 7m4s 7m17s 7m10s 4 28m41s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ? or tp.nm = ? or tp.nm = ? or tp.nm = ? or tp.nm = ? or tp.nm = ? or tp.nm = ? or tp.nm = ? or tp.nm = ? or tp.nm = ?))) and gcr.gene_id = any (array (( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Sep 05 11 4 28m41s 7m10s [ User: pubeu - Total duration: 14m25s - Times executed: 2 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA' OR tp.nm = 'promoter' OR tp.nm = 'enhancer' OR tp.nm = 'exon' OR tp.nm = 'intron' OR tp.nm = '5'' UTR' OR tp.nm = '3'' UTR' OR tp.nm = 'polyA tail'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008152' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA01100' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'MICROPLASTICS' AND t.object_type_id = 2)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt;
Date: 2024-09-05 11:12:32 Duration: 7m17s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA' OR tp.nm = 'promoter' OR tp.nm = 'enhancer' OR tp.nm = 'exon' OR tp.nm = 'intron' OR tp.nm = '5'' UTR' OR tp.nm = '3'' UTR' OR tp.nm = 'polyA tail'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008152' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA01100' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'MICROPLASTICS' AND t.object_type_id = 2)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt;
Date: 2024-09-05 11:12:28 Duration: 7m11s Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA' OR tp.nm = 'promoter' OR tp.nm = 'enhancer' OR tp.nm = 'exon' OR tp.nm = 'intron' OR tp.nm = '5'' UTR' OR tp.nm = '3'' UTR' OR tp.nm = 'polyA tail'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008152' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA01100' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'MICROPLASTICS' AND t.object_type_id = 2)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt;
Date: 2024-09-05 11:12:27 Duration: 7m8s Database: ctdprd51 User: pubeu Bind query: yes
7 6m50s 6m50s 6m50s 1 6m50s copy pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Sep 07 19 1 6m50s 6m50s -
COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-09-07 19:54:47 Duration: 6m50s
8 6m48s 6m48s 6m48s 1 6m48s copy pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Sep 07 19 1 6m48s 6m48s -
COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-09-07 19:12:21 Duration: 6m48s
9 5m42s 5m42s 5m42s 1 5m42s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where gcr.gene_id = any (array (( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Sep 05 11 1 5m42s 5m42s [ User: pubeu - Total duration: 5m42s - Times executed: 1 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008152' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA01100' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'MICROPLASTICS' AND t.object_type_id = 2)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-09-05 11:23:01 Duration: 5m42s Database: ctdprd51 User: pubeu Bind query: yes
10 5m37s 5m37s 5m37s 1 5m37s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ? or tp.nm = ? or tp.nm = ? or tp.nm = ? or tp.nm = ? or tp.nm = ? or tp.nm = ? or tp.nm = ? or tp.nm = ? or tp.nm = ?))) and gcr.gene_id = any (array (( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Sep 05 11 1 5m37s 5m37s [ User: pubeu - Total duration: 5m37s - Times executed: 1 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein' OR tp.nm = 'gene' OR tp.nm = 'mRNA' OR tp.nm = 'promoter' OR tp.nm = 'enhancer' OR tp.nm = 'exon' OR tp.nm = 'intron' OR tp.nm = '5'' UTR' OR tp.nm = '3'' UTR' OR tp.nm = 'polyA tail'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008152' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA01100' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'MICROPLASTICS' AND t.object_type_id = 2)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;
Date: 2024-09-05 11:01:44 Duration: 5m37s Database: ctdprd51 User: pubeu Bind query: yes
11 1s508ms 18m21s 2m1s 20 40m22s 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 #11
Day Hour Count Duration Avg duration Sep 01 06 2 3s186ms 1s593ms 10 1 1s584ms 1s584ms 21 1 1m43s 1m43s Sep 02 04 1 3m25s 3m25s 16 2 3s114ms 1s557ms Sep 03 06 1 1s572ms 1s572ms 07 1 1s526ms 1s526ms 13 1 1s636ms 1s636ms Sep 04 02 1 1s580ms 1s580ms 08 2 4m16s 2m8s Sep 05 10 2 4s85ms 2s42ms 16 1 6m3s 6m3s Sep 06 02 1 1s570ms 1s570ms Sep 07 02 2 23m48s 11m54s 12 1 45s392ms 45s392ms [ User: pubeu - Total duration: 39m22s - Times executed: 10 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1239879') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-09-07 02:17:54 Duration: 18m21s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1230176') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-09-05 16:40:54 Duration: 6m3s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1233869') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-09-07 02:06:30 Duration: 5m27s Database: ctdprd51 User: pubeu Bind query: yes
12 1m48s 2m1s 1m53s 3 5m39s 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 diseaseterm.nm_sort, phenotypeterm.nm_sort limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Sep 04 07 1 1m48s 1m48s Sep 05 07 1 1m48s 1m48s Sep 07 15 1 2m1s 2m1s [ User: pubeu - Total duration: 5m39s - Times executed: 3 ]
-
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 = '1212255') and diseaseTerm.object_type_id = 3 ORDER BY diseaseTerm.nm_sort, phenotypeTerm.nm_sort LIMIT 50;
Date: 2024-09-07 15:34:37 Duration: 2m1s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1230013') and diseaseTerm.object_type_id = 3 ORDER BY diseaseTerm.nm_sort, phenotypeTerm.nm_sort LIMIT 50;
Date: 2024-09-05 07:36:40 Duration: 1m48s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1230013') and diseaseTerm.object_type_id = 3 ORDER BY diseaseTerm.nm_sort, phenotypeTerm.nm_sort LIMIT 50;
Date: 2024-09-04 07:29:20 Duration: 1m48s Database: ctdprd51 User: pubeu Bind query: yes
13 2s431ms 2m20s 54s130ms 10 9m1s select r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refacc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, count(*) over () fullrowcount from reference r where r.id in ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?)) order by r.sort_txt limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Sep 02 16 1 1m35s 1m35s 18 4 4m54s 1m13s 19 1 29s141ms 29s141ms Sep 03 09 2 1m12s 36s299ms Sep 04 23 1 46s246ms 46s246ms Sep 06 13 1 2s431ms 2s431ms [ User: pubeu - Total duration: 6m57s - Times executed: 7 ]
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2079326')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-09-02 18:28:05 Duration: 2m20s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1431383')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-09-02 16:39:17 Duration: 1m35s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2079326')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-09-02 18:26:33 Duration: 52s506ms Database: ctdprd51 User: pubeu Bind query: yes
14 33s435ms 34s663ms 33s866ms 25 14m6s 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 #14
Day Hour Count Duration Avg duration Sep 01 06 1 33s749ms 33s749ms 10 1 33s830ms 33s830ms 14 1 33s668ms 33s668ms 18 1 33s775ms 33s775ms Sep 02 06 1 33s790ms 33s790ms 10 1 33s657ms 33s657ms 14 1 33s809ms 33s809ms 18 1 33s763ms 33s763ms Sep 03 06 1 33s833ms 33s833ms 10 1 33s792ms 33s792ms 14 1 33s798ms 33s798ms 18 1 34s663ms 34s663ms Sep 04 06 1 33s834ms 33s834ms 10 1 33s890ms 33s890ms 14 1 33s855ms 33s855ms 18 1 33s850ms 33s850ms Sep 05 06 1 34s608ms 34s608ms 10 1 33s819ms 33s819ms 14 1 33s741ms 33s741ms 18 1 33s908ms 33s908ms Sep 06 06 1 33s866ms 33s866ms 10 1 33s898ms 33s898ms 14 1 33s890ms 33s890ms 18 1 33s933ms 33s933ms Sep 07 19 1 33s435ms 33s435ms [ User: postgres - Total duration: 13m33s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 13m33s - Times executed: 24 ]
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-09-03 18:05:36 Duration: 34s663ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-09-05 06:05:36 Duration: 34s608ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-09-06 18:05:35 Duration: 33s933ms Database: ctdprd51 User: postgres Application: pg_dump
15 14s387ms 14s677ms 14s486ms 25 6m2s copy edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Sep 01 06 1 14s508ms 14s508ms 10 1 14s525ms 14s525ms 14 1 14s472ms 14s472ms 18 1 14s677ms 14s677ms Sep 02 06 1 14s478ms 14s478ms 10 1 14s516ms 14s516ms 14 1 14s479ms 14s479ms 18 1 14s478ms 14s478ms Sep 03 06 1 14s539ms 14s539ms 10 1 14s398ms 14s398ms 14 1 14s492ms 14s492ms 18 1 14s587ms 14s587ms Sep 04 06 1 14s464ms 14s464ms 10 1 14s506ms 14s506ms 14 1 14s466ms 14s466ms 18 1 14s550ms 14s550ms Sep 05 06 1 14s432ms 14s432ms 10 1 14s483ms 14s483ms 14 1 14s434ms 14s434ms 18 1 14s423ms 14s423ms Sep 06 06 1 14s526ms 14s526ms 10 1 14s467ms 14s467ms 14 1 14s438ms 14s438ms 18 1 14s429ms 14s429ms Sep 07 18 1 14s387ms 14s387ms [ User: postgres - Total duration: 6m2s - Times executed: 25 ]
[ Application: pg_dump - Total duration: 6m2s - Times executed: 25 ]
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-01 18:00:16 Duration: 14s677ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-03 18:00:16 Duration: 14s587ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-04 18:00:16 Duration: 14s550ms Database: ctdprd51 User: postgres Application: pg_dump
16 13s402ms 13s551ms 13s448ms 25 5m36s copy edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Sep 01 06 1 13s414ms 13s414ms 10 1 13s541ms 13s541ms 14 1 13s428ms 13s428ms 18 1 13s551ms 13s551ms Sep 02 06 1 13s449ms 13s449ms 10 1 13s402ms 13s402ms 14 1 13s419ms 13s419ms 18 1 13s442ms 13s442ms Sep 03 06 1 13s526ms 13s526ms 10 1 13s409ms 13s409ms 14 1 13s436ms 13s436ms 18 1 13s445ms 13s445ms Sep 04 06 1 13s438ms 13s438ms 10 1 13s434ms 13s434ms 14 1 13s419ms 13s419ms 18 1 13s424ms 13s424ms Sep 05 06 1 13s446ms 13s446ms 10 1 13s450ms 13s450ms 14 1 13s444ms 13s444ms 18 1 13s448ms 13s448ms Sep 06 06 1 13s443ms 13s443ms 10 1 13s439ms 13s439ms 14 1 13s446ms 13s446ms 18 1 13s434ms 13s434ms Sep 07 18 1 13s477ms 13s477ms -
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-01 18:00:44 Duration: 13s551ms
-
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-01 10:00:44 Duration: 13s541ms
-
COPY edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-03 06:00:44 Duration: 13s526ms
17 7s990ms 8s993ms 8s110ms 25 3m22s copy pubc.log_query_bots (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, 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, user_agent_pattern) to stdout;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Sep 01 06 1 8s50ms 8s50ms 10 1 8s96ms 8s96ms 14 1 8s35ms 8s35ms 18 1 8s58ms 8s58ms Sep 02 06 1 8s63ms 8s63ms 10 1 8s34ms 8s34ms 14 1 8s114ms 8s114ms 18 1 8s67ms 8s67ms Sep 03 06 1 8s141ms 8s141ms 10 1 8s78ms 8s78ms 14 1 8s37ms 8s37ms 18 1 8s49ms 8s49ms Sep 04 06 1 8s79ms 8s79ms 10 1 8s100ms 8s100ms 14 1 8s102ms 8s102ms 18 1 8s48ms 8s48ms Sep 05 06 1 8s993ms 8s993ms 10 1 8s72ms 8s72ms 14 1 8s124ms 8s124ms 18 1 8s89ms 8s89ms Sep 06 06 1 8s75ms 8s75ms 10 1 8s66ms 8s66ms 14 1 8s104ms 8s104ms 18 1 8s77ms 8s77ms Sep 07 19 1 7s990ms 7s990ms -
COPY pubc.log_query_bots (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, 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, user_agent_pattern) TO stdout;
Date: 2024-09-05 06:05:45 Duration: 8s993ms
-
COPY pubc.log_query_bots (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, 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, user_agent_pattern) TO stdout;
Date: 2024-09-03 06:05:43 Duration: 8s141ms
-
COPY pubc.log_query_bots (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, 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, user_agent_pattern) TO stdout;
Date: 2024-09-05 14:05:44 Duration: 8s124ms
18 1s442ms 23s635ms 8s107ms 943 2h7m25s select ? "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casrn "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" from ( with sq as ( select distinct c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casrn, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort from term c inner join gene_chem_reference gcr on c.id = gcr.chem_id inner join term g on gcr.gene_id = g.id where (c.id = ?)) select distinct sq.chem_nm, sq.chem_acc_txt, sq.casrn, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm from sq inner join gene_go_annot gga on sq.gene_id = gga.gene_id inner join dag_node gt on gga.go_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where gga.is_not = false and (d.id = ?) order by sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Sep 03 16 77 6m33s 5s112ms 17 66 2m57s 2s687ms 18 9 22s213ms 2s468ms 20 60 4m57s 4s965ms 21 39 4m51s 7s476ms 23 27 4m2s 8s972ms Sep 04 00 447 1h21m34s 10s949ms 01 21 3m 8s585ms Sep 05 00 5 8s640ms 1s728ms 04 1 8s325ms 8s325ms 12 18 48s991ms 2s721ms 13 23 1m2s 2s733ms 14 3 8s155ms 2s718ms 15 10 1m3s 6s333ms 16 11 29s821ms 2s711ms 17 3 5s180ms 1s726ms 18 3 36s133ms 12s44ms 22 36 4m9s 6s930ms 23 10 57s527ms 5s752ms Sep 06 00 3 58s786ms 19s595ms 01 7 1m44s 14s898ms 06 2 8s2ms 4s1ms 07 51 5m39s 6s660ms 08 10 54s722ms 5s472ms 18 1 2s74ms 2s74ms [ User: pubeu - Total duration: 49m32s - Times executed: 319 ]
-
SELECT /* BatchChemGODAO */ 'd000638' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1337831)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-09-04 00:26:45 Duration: 23s635ms Bind query: yes
-
SELECT /* BatchChemGODAO */ 'd000638' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1337831)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-09-04 00:18:33 Duration: 22s630ms Bind query: yes
-
SELECT /* BatchChemGODAO */ 'd000077185' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1383119)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-09-06 01:20:49 Duration: 22s557ms Database: ctdprd51 User: pubeu Bind query: yes
19 1s99ms 34s714ms 7s64ms 37 4m21s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Sep 01 18 1 4s605ms 4s605ms Sep 02 06 1 14s143ms 14s143ms 07 1 2s937ms 2s937ms 09 2 3s778ms 1s889ms 12 3 4s765ms 1s588ms 17 1 30s308ms 30s308ms Sep 03 03 1 14s717ms 14s717ms Sep 04 02 1 2s12ms 2s12ms 03 1 14s474ms 14s474ms 07 1 2s703ms 2s703ms 09 1 4s500ms 4s500ms 14 2 2s714ms 1s357ms 22 1 3s768ms 3s768ms Sep 05 04 1 2s135ms 2s135ms 08 1 14s23ms 14s23ms Sep 06 03 3 1m42s 34s301ms 18 1 4s650ms 4s650ms Sep 07 01 3 6s874ms 2s291ms 02 2 4s433ms 2s216ms 03 9 20s930ms 2s325ms [ User: pubeu - Total duration: 2m45s - Times executed: 22 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2086129') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-09-06 03:16:22 Duration: 34s714ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2086129') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-09-06 03:20:23 Duration: 34s617ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2086129') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-09-06 03:14:01 Duration: 33s573ms Bind query: yes
20 1s21ms 13s204ms 4s126ms 49 3m22s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Sep 01 06 1 1s574ms 1s574ms 13 2 3s779ms 1s889ms 16 1 6s882ms 6s882ms Sep 02 00 1 2s181ms 2s181ms 23 1 5s606ms 5s606ms Sep 03 00 1 1s225ms 1s225ms 02 1 4s392ms 4s392ms 03 6 29s204ms 4s867ms 05 2 3s235ms 1s617ms 08 1 2s175ms 2s175ms 09 1 3s965ms 3s965ms 16 1 1s294ms 1s294ms Sep 04 03 2 26s402ms 13s201ms 04 2 14s615ms 7s307ms 08 1 10s151ms 10s151ms 14 1 1s247ms 1s247ms 15 1 1s128ms 1s128ms 20 1 1s342ms 1s342ms 22 1 13s18ms 13s18ms Sep 05 03 1 10s476ms 10s476ms 06 1 13s51ms 13s51ms 13 1 5s331ms 5s331ms 16 1 1s416ms 1s416ms Sep 06 01 4 4s130ms 1s32ms 09 1 1s225ms 1s225ms 18 1 2s587ms 2s587ms Sep 07 01 6 11s473ms 1s912ms 02 1 1s895ms 1s895ms 04 1 2s658ms 2s658ms 07 1 2s628ms 2s628ms 11 1 1s36ms 1s36ms 21 1 10s872ms 10s872ms [ User: pubeu - Total duration: 1m44s - Times executed: 27 ]
-
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 = '2079094') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1774900;
Date: 2024-09-04 03:33:13 Duration: 13s204ms 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 = '2079094') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1774900;
Date: 2024-09-04 03:33:20 Duration: 13s197ms 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 = '2079094') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 1766600;
Date: 2024-09-05 06:54:40 Duration: 13s51ms Bind query: yes
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 2s816ms 1 2s816ms 2s816ms 2s816ms SELECT /* GoDiseasesDAO */ ;Times Reported Time consuming prepare #1
Day Hour Count Duration Avg duration Sep 07 00 1 2s816ms 2s816ms -
SELECT /* GoDiseasesDAO */ ;
Date: 2024-09-04 00:18:05 Duration: 2s816ms Database: postgres
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 2s2ms 2 1s1ms 1s1ms 1s1ms SELECT /* ReferenceCitedGenesDAO */ ;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Sep 07 09 2 2s2ms 1s1ms -
SELECT /* ReferenceCitedGenesDAO */ ;
Date: 2024-09-03 09:20:50 Duration: 1s1ms Database: postgres
2 0ms 127 0ms 0ms 0ms ;Times Reported Time consuming bind #2
Day Hour Count Duration Avg duration Sep 01 07 6 0ms 0ms 11 2 0ms 0ms Sep 02 06 2 0ms 0ms 07 2 0ms 0ms 08 6 0ms 0ms 09 6 0ms 0ms 10 2 0ms 0ms 11 2 0ms 0ms Sep 03 06 2 0ms 0ms 07 4 0ms 0ms 09 2 0ms 0ms 10 6 0ms 0ms 16 20 0ms 0ms 21 4 0ms 0ms Sep 04 00 1 0ms 0ms 14 4 0ms 0ms 15 6 0ms 0ms Sep 05 06 2 0ms 0ms 07 2 0ms 0ms 11 4 0ms 0ms 12 2 0ms 0ms 13 2 0ms 0ms 14 2 0ms 0ms Sep 06 06 3 0ms 0ms 07 12 0ms 0ms 08 3 0ms 0ms 09 3 0ms 0ms 12 9 0ms 0ms 15 3 0ms 0ms 16 3 0ms 0ms [ User: pubeu - Total duration: 2m38s - Times executed: 58 ]
-
;
Date: Duration: 0ms Database: postgres User: ctdprd51 Remote: pubeu parameters: $1 = '2027969', $2 = '2027969'
-
Events
Log levels
Key values
- 244,491 Log entries
Events distribution
Key values
- 0 PANIC entries
- 7 FATAL entries
- 10 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 6 Max number of times the same event was reported
- 17 Total events found
Rank Times reported Error 1 6 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #1
Day Hour Count Sep 02 18 1 Sep 04 00 4 Sep 07 02 1 2 5 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #2
Day Hour Count Sep 02 18 1 Sep 04 00 3 Sep 07 02 1 3 5 ERROR: canceling statement due to user request
Times Reported Most Frequent Error / Event #3
Day Hour Count Sep 02 18 1 Sep 04 00 4 - ERROR: canceling statement due to user request
- ERROR: canceling statement due to user request
- ERROR: canceling statement due to user request
Statement: SELECT row_to_json(T) FROM ( SELECT CASE WHEN pg_is_in_recovery() THEN 0 ELSE pg_wal_lsn_diff(pg_current_wal_lsn(),'0/00000000') END AS WRITE, CASE WHEN NOT pg_is_in_recovery() THEN 0 ELSE pg_wal_lsn_diff(pg_last_wal_receive_lsn(),'0/00000000') END AS RECEIVE, count(*) FROM pg_ls_waldir() AS COUNT ) T;
Date: 2024-09-02 18:26:11
Statement: SELECT count(*) FROM pg_catalog.pg_stat_all_tables WHERE (n_dead_tup/(n_live_tup+n_dead_tup)::float8) > 0.2 AND (n_live_tup+n_dead_tup) > 50;
Date: 2024-09-04 00:07:31 Database: ctdprd51 Application: User: zbx_monitor Remote:
Statement: SELECT row_to_json(T) FROM ( SELECT archived_count, failed_count FROM pg_stat_archiver ) T;
Date: 2024-09-04 00:07:31
4 1 FATAL: canceling authentication due to timeout
Times Reported Most Frequent Error / Event #4
Day Hour Count Sep 06 03 1