-
Global information
- Generated on Sun Sep 22 04:15:15 2024
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20240921
- Parsed 1,441,813 log entries in 14s
- Log start from 2024-09-15 00:00:01 to 2024-09-21 23:59:09
-
Overview
Global Stats
- 352 Number of unique normalized queries
- 3,773 Number of queries
- 7h38m33s Total query duration
- 2024-09-15 00:09:09 First query
- 2024-09-21 23:49:37 Last query
- 6 queries/s at 2024-09-20 11:38:23 Query peak
- 7h38m33s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 7h38m33s Execute total duration
- 19 Number of events
- 5 Number of unique normalized events
- 10 Max number of times the same event was reported
- 0 Number of cancellation
- 25 Total number of automatic vacuums
- 144 Total number of automatic analyzes
- 0 Number temporary file
- 0 Max size of temporary file
- 0.00 B Average size of temporary file
- 14,672 Total number of sessions
- 49 sessions at 2024-09-20 18:31:55 Session peak
- 282d16h2m38s Total duration of sessions
- 27m44s Average duration of sessions
- 0 Average queries per session
- 1s875ms Average queries duration per session
- 27m42s Average idle time per session
- 14,672 Total number of connections
- 18 connections/s at 2024-09-21 16:27:10 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 6 queries/s Query Peak
- 2024-09-20 11:38:23 Date
SELECT Traffic
Key values
- 6 queries/s Query Peak
- 2024-09-20 11:38:23 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2024-09-21 19:04:03 Date
Queries duration
Key values
- 7h38m33s 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 15 00 17 0ms 16m56s 1m4s 4s824ms 7s239ms 16m59s 01 13 0ms 7s547ms 3s618ms 3s909ms 7s537ms 11s505ms 02 33 0ms 18s31ms 3s260ms 6s875ms 10s193ms 18s31ms 03 10 0ms 5s377ms 2s394ms 1s387ms 3s884ms 6s648ms 04 29 0ms 13s824ms 2s248ms 3s793ms 7s684ms 13s824ms 05 52 0ms 8s569ms 2s263ms 9s777ms 14s675ms 24s792ms 06 27 0ms 34s117ms 5s707ms 9s536ms 9s907ms 55s642ms 07 8 0ms 8s350ms 2s551ms 1s269ms 1s651ms 8s350ms 08 68 0ms 10s163ms 3s358ms 11s86ms 13s121ms 18s551ms 09 44 0ms 4s110ms 2s530ms 11s166ms 11s356ms 18s854ms 10 24 0ms 34s401ms 5s198ms 2s33ms 9s574ms 55s402ms 11 15 0ms 5s129ms 1s716ms 1s351ms 2s968ms 6s458ms 12 14 0ms 10s420ms 2s220ms 1s358ms 5s35ms 10s420ms 13 34 0ms 15s805ms 3s281ms 13s359ms 18s69ms 19s117ms 14 74 0ms 34s84ms 4s403ms 11s509ms 22s870ms 54s480ms 15 55 0ms 3s998ms 3s271ms 12s732ms 19s464ms 22s707ms 16 31 0ms 10s47ms 2s674ms 3s830ms 3s880ms 11s154ms 17 33 0ms 4s78ms 3s474ms 7s863ms 8s900ms 11s500ms 18 19 0ms 34s19ms 6s126ms 1s306ms 9s499ms 53s898ms 19 12 0ms 3s798ms 1s777ms 1s349ms 2s534ms 3s798ms 20 14 0ms 4s131ms 1s461ms 1s238ms 1s354ms 9s555ms 21 12 0ms 5s59ms 2s149ms 1s353ms 1s669ms 9s960ms 22 9 0ms 10s143ms 3s702ms 2s705ms 4s388ms 10s143ms 23 8 0ms 3s823ms 1s901ms 1s522ms 2s389ms 3s823ms Sep 16 00 30 0ms 16m53s 36s95ms 5s554ms 12s450ms 16m53s 01 15 0ms 3s735ms 1s873ms 2s150ms 3s701ms 4s343ms 02 18 0ms 19s973ms 3s872ms 3s812ms 7s581ms 21s325ms 03 12 0ms 4s712ms 2s858ms 3s771ms 3s786ms 4s712ms 04 13 0ms 13s596ms 3s49ms 1s364ms 4s220ms 13s596ms 05 56 0ms 4s279ms 1s969ms 6s950ms 16s996ms 25s158ms 06 33 0ms 34s235ms 4s395ms 4s85ms 9s608ms 55s730ms 07 7 0ms 3s888ms 2s530ms 2s497ms 3s765ms 3s888ms 08 14 0ms 14s94ms 2s975ms 1s345ms 3s872ms 14s94ms 09 21 0ms 10s700ms 3s293ms 1s345ms 3s751ms 44s25ms 10 32 0ms 34s202ms 5s132ms 4s991ms 22s674ms 57s999ms 11 8 0ms 3s515ms 1s492ms 1s84ms 1s355ms 3s515ms 12 18 0ms 1m29s 18s820ms 3s942ms 1m29s 1m57s 13 31 0ms 2m7s 32s794ms 2m7s 2m7s 2m10s 14 32 0ms 54s241ms 6s512ms 9s596ms 43s412ms 54s241ms 15 13 0ms 3s775ms 1s657ms 1s581ms 2s323ms 3s775ms 16 17 0ms 3s811ms 1s706ms 2s320ms 3s766ms 3s811ms 17 4 0ms 3s896ms 1s891ms 0ms 1s162ms 3s896ms 18 23 0ms 34s20ms 5s643ms 3s877ms 9s573ms 54s73ms 19 8 0ms 5s372ms 1s928ms 1s258ms 2s289ms 5s372ms 20 7 0ms 14s542ms 3s143ms 1s148ms 1s349ms 14s542ms 21 12 0ms 3s804ms 1s424ms 1s357ms 3s804ms 4s531ms 22 11 0ms 3s845ms 1s546ms 1s351ms 2s77ms 3s845ms 23 10 0ms 2s398ms 1s417ms 1s354ms 1s509ms 2s398ms Sep 17 00 16 0ms 16m50s 1m5s 3s887ms 5s228ms 16m55s 01 16 0ms 2s478ms 1s368ms 1s268ms 1s367ms 4s918ms 02 6 0ms 3s822ms 1s675ms 1s348ms 2s303ms 3s822ms 03 19 0ms 14s273ms 3s132ms 3s787ms 7s225ms 14s273ms 04 17 0ms 10s848ms 3s292ms 4s911ms 6s375ms 14s169ms 05 53 0ms 4s582ms 2s108ms 5s754ms 14s722ms 25s157ms 06 22 0ms 33s995ms 5s577ms 2s547ms 10s735ms 54s892ms 07 4 0ms 2s252ms 1s440ms 0ms 1s147ms 2s252ms 08 13 0ms 19s262ms 3s947ms 3s803ms 3s946ms 19s262ms 09 14 0ms 4s335ms 1s914ms 1s288ms 3s840ms 5s457ms 10 23 0ms 33s931ms 6s74ms 5s3ms 16s187ms 54s315ms 11 13 0ms 3s891ms 1s990ms 2s309ms 3s740ms 3s891ms 12 12 0ms 2s560ms 1s382ms 1s336ms 1s353ms 2s560ms 13 57 0ms 5s995ms 2s550ms 10s766ms 12s943ms 25s713ms 14 21 0ms 34s124ms 5s680ms 1s299ms 9s586ms 54s403ms 15 13 0ms 1m26s 18s430ms 3s835ms 12s111ms 2m4s 16 13 0ms 14s334ms 2s855ms 1s442ms 3s834ms 14s334ms 17 10 0ms 4s148ms 1s853ms 1s352ms 3s670ms 6s109ms 18 28 0ms 34s139ms 5s670ms 4s133ms 12s336ms 1m7s 19 10 0ms 6s877ms 2s710ms 2s491ms 4s926ms 6s877ms 20 14 0ms 4s509ms 1s542ms 1s341ms 1s944ms 4s509ms 21 11 0ms 4s657ms 1s710ms 1s247ms 1s347ms 4s657ms 22 13 0ms 8s156ms 3s473ms 1s970ms 3s854ms 18s831ms 23 13 0ms 3s729ms 1s502ms 1s309ms 1s352ms 4s891ms Sep 18 00 23 0ms 17m4s 46s918ms 1s348ms 10s748ms 17m9s 01 25 0ms 5s290ms 2s235ms 5s202ms 5s599ms 8s419ms 02 8 0ms 3s154ms 1s575ms 1s344ms 1s366ms 3s154ms 03 10 0ms 4s423ms 2s109ms 1s358ms 3s725ms 4s423ms 04 21 0ms 5s249ms 2s251ms 3s744ms 4s851ms 5s249ms 05 51 0ms 7s111ms 2s441ms 8s799ms 16s142ms 24s502ms 06 22 0ms 34s49ms 5s950ms 3s775ms 42s210ms 1m1s 07 20 0ms 5s292ms 2s445ms 3s841ms 4s990ms 11s586ms 08 18 0ms 5s265ms 2s163ms 3s794ms 4s577ms 6s603ms 09 8 0ms 9s862ms 3s62ms 1s352ms 3s738ms 9s862ms 10 26 0ms 34s81ms 5s413ms 3s984ms 13s405ms 54s178ms 11 8 0ms 3s753ms 1s784ms 1s355ms 2s219ms 3s753ms 12 16 0ms 12s665ms 2s397ms 3s400ms 3s759ms 12s665ms 13 21 0ms 3s776ms 1s631ms 3s561ms 3s776ms 7s62ms 14 25 0ms 33s995ms 5s325ms 3s709ms 13s356ms 55s305ms 15 16 0ms 26s664ms 7s172ms 1s352ms 3s828ms 53s801ms 16 17 0ms 3s764ms 1s373ms 1s353ms 2s381ms 3s764ms 17 9 0ms 4s348ms 1s535ms 1s224ms 1s272ms 4s348ms 18 14 0ms 34s47ms 7s960ms 1s353ms 9s609ms 54s347ms 19 10 0ms 2s492ms 1s302ms 1s284ms 2s264ms 2s492ms 20 6 0ms 5s137ms 3s364ms 1s348ms 3s790ms 10s251ms 21 16 0ms 43s228ms 5s169ms 1s561ms 8s505ms 44s595ms 22 22 0ms 46s132ms 7s937ms 6s238ms 37s960ms 46s132ms 23 13 0ms 6s254ms 2s430ms 2s573ms 3s804ms 6s254ms Sep 19 00 18 0ms 17m1s 59s134ms 3s78ms 11s248ms 17m6s 01 15 0ms 3s836ms 2s220ms 3s736ms 3s836ms 4s906ms 02 25 0ms 4s494ms 2s1ms 3s748ms 4s494ms 7s562ms 03 18 0ms 4s594ms 2s746ms 3s900ms 7s432ms 8s921ms 04 22 0ms 4s965ms 1s901ms 2s141ms 4s965ms 8s900ms 05 47 0ms 4s562ms 2s129ms 4s562ms 14s667ms 25s140ms 06 19 0ms 34s149ms 6s430ms 3s742ms 9s605ms 54s398ms 07 9 0ms 3s718ms 1s650ms 1s305ms 2s484ms 3s718ms 08 16 0ms 14s278ms 2s734ms 3s753ms 3s957ms 14s278ms 09 13 0ms 15s2ms 3s215ms 3s730ms 3s846ms 16s111ms 10 23 0ms 34s320ms 5s672ms 3s727ms 23s734ms 43s416ms 11 15 0ms 5s949ms 1s634ms 1s351ms 3s394ms 5s949ms 12 18 0ms 7s298ms 2s813ms 3s139ms 6s742ms 20s116ms 13 20 0ms 4s822ms 1s758ms 3s399ms 3s806ms 7s718ms 14 25 0ms 2m13s 10s740ms 9s663ms 34s73ms 2m13s 15 60 0ms 6s611ms 2s225ms 6s707ms 8s768ms 17s803ms 16 25 0ms 3s954ms 2s56ms 4s383ms 4s421ms 5s545ms 17 11 0ms 3s832ms 1s699ms 2s221ms 3s229ms 3s832ms 18 20 0ms 34s24ms 7s875ms 9s661ms 42s164ms 54s238ms 19 18 0ms 4s33ms 2s964ms 4s952ms 7s625ms 11s996ms 20 21 0ms 4s82ms 2s570ms 3s724ms 8s148ms 8s965ms 21 55 0ms 16s157ms 2s611ms 8s716ms 11s934ms 17s105ms 22 17 0ms 7s160ms 2s368ms 2s817ms 5s19ms 10s245ms 23 12 0ms 4s487ms 1s723ms 1s951ms 4s226ms 5s845ms Sep 20 00 9 0ms 16m52s 1m54s 1s236ms 4s779ms 16m59s 01 9 0ms 17m28s 1m58s 1s818ms 3s804ms 17m28s 02 14 0ms 3s615ms 1s472ms 1s438ms 1s559ms 3s615ms 03 13 0ms 5s490ms 2s36ms 2s311ms 3s755ms 5s490ms 04 17 0ms 4s525ms 1s924ms 2s482ms 3s806ms 4s849ms 05 53 0ms 4s413ms 2s80ms 6s251ms 14s839ms 24s999ms 06 24 0ms 34s79ms 5s601ms 3s760ms 9s618ms 54s276ms 07 8 0ms 3s760ms 1s778ms 1s142ms 2s467ms 3s760ms 08 11 0ms 3s844ms 1s931ms 1s313ms 2s91ms 7s106ms 09 24 0ms 14s416ms 3s82ms 2s657ms 3s779ms 43s309ms 10 23 0ms 2m7s 11s564ms 8s217ms 42s292ms 2m11s 11 28 0ms 17m27s 40s400ms 3s246ms 16s31ms 17m27s 12 13 0ms 8m31s 40s737ms 2s193ms 2s420ms 8m33s 13 32 0ms 4s847ms 2s339ms 5s119ms 7s965ms 11s320ms 14 32 0ms 34s73ms 5s437ms 5s139ms 22s133ms 58s348ms 15 9 0ms 5s680ms 2s544ms 1s160ms 3s871ms 5s680ms 16 18 0ms 1s471ms 1s141ms 1s127ms 2s144ms 7s862ms 17 20 0ms 5s800ms 1s455ms 2s989ms 3s276ms 7s106ms 18 23 0ms 34s68ms 5s919ms 2s431ms 9s626ms 55s847ms 19 26 0ms 3s988ms 1s710ms 3s760ms 3s797ms 4s445ms 20 23 0ms 3s958ms 1s466ms 2s853ms 3s958ms 4s629ms 21 18 0ms 9s937ms 2s19ms 2s452ms 3s144ms 9s937ms 22 25 0ms 16s669ms 3s4ms 2s945ms 6s237ms 24s891ms 23 60 0ms 4s366ms 1s378ms 4s229ms 8s594ms 14s678ms Sep 21 00 38 0ms 17m3s 28s897ms 4s963ms 7s698ms 17m8s 01 30 0ms 10s463ms 2s32ms 4s903ms 9s56ms 10s463ms 02 21 0ms 9s979ms 1s922ms 2s291ms 2s695ms 9s979ms 03 29 0ms 16s856ms 2s248ms 3s836ms 5s119ms 16s856ms 04 18 0ms 19s644ms 3s878ms 3s796ms 11s294ms 19s644ms 05 52 0ms 1m17s 3s577ms 14s688ms 23s139ms 1m17s 06 19 0ms 10s240ms 1s991ms 2s484ms 4s761ms 10s240ms 07 25 0ms 19s131ms 2s434ms 3s20ms 5s634ms 24s70ms 08 18 0ms 3s992ms 1s622ms 1s745ms 3s626ms 5s252ms 09 23 0ms 6s474ms 1s779ms 2s413ms 4s333ms 6s474ms 10 26 0ms 4s984ms 2s143ms 3s903ms 4s984ms 13s86ms 11 24 0ms 13s10ms 2s713ms 2s514ms 5s165ms 20s694ms 12 17 0ms 4s94ms 1s867ms 2s704ms 3s830ms 5s209ms 13 23 0ms 9s877ms 2s172ms 2s381ms 8s559ms 12s402ms 14 24 0ms 5s152ms 1s877ms 3s347ms 5s550ms 11s340ms 15 30 0ms 6s512ms 2s192ms 5s155ms 6s512ms 9s615ms 16 46 0ms 1s935ms 1s529ms 5s319ms 6s908ms 8s157ms 17 35 0ms 15s909ms 2s404ms 4s677ms 7s970ms 19s755ms 18 46 0ms 1m10s 9s342ms 54s303ms 1m5s 1m10s 19 66 0ms 23m44s 1m13s 2m 7m13s 24m34s 20 49 0ms 5s807ms 1s542ms 4s341ms 5s807ms 8s111ms 21 37 0ms 1s903ms 1s301ms 3s291ms 4s712ms 7s77ms 22 23 0ms 7s940ms 1s673ms 2s106ms 2s542ms 7s940ms 23 24 0ms 5s91ms 1s776ms 3s499ms 5s30ms 10s154ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Sep 15 00 16 0 1m7s 1s135ms 4s62ms 16m59s 01 13 0 3s618ms 1s297ms 3s909ms 11s505ms 02 33 0 3s260ms 3s944ms 6s875ms 18s31ms 03 10 0 2s394ms 0ms 1s387ms 6s648ms 04 29 0 2s248ms 2s749ms 3s793ms 13s824ms 05 49 0 2s246ms 2s601ms 9s777ms 24s792ms 06 17 10 5s707ms 1s523ms 9s536ms 54s392ms 07 8 0 2s551ms 0ms 1s269ms 8s350ms 08 66 0 3s383ms 7s517ms 11s86ms 15s217ms 09 44 0 2s530ms 3s652ms 11s166ms 18s854ms 10 14 10 5s198ms 1s340ms 2s33ms 54s287ms 11 15 0 1s716ms 1s147ms 1s351ms 6s458ms 12 14 0 2s220ms 1s142ms 1s358ms 10s420ms 13 34 0 3s281ms 1s349ms 13s359ms 19s117ms 14 64 10 4s403ms 9s727ms 11s509ms 42s357ms 15 55 0 3s271ms 5s387ms 12s732ms 22s707ms 16 31 0 2s674ms 3s744ms 3s830ms 11s154ms 17 33 0 3s474ms 3s783ms 7s863ms 11s500ms 18 9 10 6s126ms 1s145ms 1s306ms 53s898ms 19 12 0 1s777ms 1s213ms 1s349ms 3s798ms 20 14 0 1s461ms 1s99ms 1s238ms 9s555ms 21 12 0 2s149ms 1s122ms 1s353ms 9s960ms 22 9 0 3s702ms 0ms 2s705ms 10s143ms 23 8 0 1s901ms 0ms 1s522ms 3s823ms Sep 16 00 29 0 37s173ms 2s549ms 5s554ms 16m53s 01 15 0 1s873ms 1s182ms 2s150ms 4s343ms 02 18 0 3s872ms 1s356ms 3s812ms 21s325ms 03 12 0 2s858ms 1s355ms 3s771ms 4s712ms 04 13 0 3s49ms 1s126ms 1s364ms 13s596ms 05 53 0 1s936ms 1s296ms 3s764ms 25s158ms 06 23 10 4s395ms 3s12ms 4s85ms 54s435ms 07 7 0 2s530ms 0ms 2s497ms 3s888ms 08 13 0 3s61ms 1s145ms 1s303ms 14s94ms 09 21 0 3s293ms 1s157ms 1s345ms 44s25ms 10 22 10 5s132ms 3s910ms 5s222ms 54s260ms 11 8 0 1s492ms 0ms 1s84ms 3s515ms 12 17 0 19s738ms 1s159ms 3s942ms 1m57s 13 31 0 32s794ms 44s829ms 2m7s 2m10s 14 22 10 6s512ms 3s743ms 9s596ms 54s241ms 15 13 0 1s657ms 1s163ms 1s581ms 3s775ms 16 17 0 1s706ms 1s175ms 2s320ms 3s811ms 17 4 0 1s891ms 0ms 0ms 3s896ms 18 13 10 5s643ms 1s346ms 3s877ms 54s73ms 19 8 0 1s928ms 0ms 1s258ms 5s372ms 20 7 0 3s143ms 0ms 1s148ms 14s542ms 21 12 0 1s424ms 1s88ms 1s357ms 4s531ms 22 10 0 1s493ms 1s179ms 1s311ms 3s845ms 23 10 0 1s417ms 1s183ms 1s354ms 2s398ms Sep 17 00 15 0 1m9s 1s351ms 3s887ms 16m50s 01 16 0 1s368ms 1s184ms 1s268ms 4s918ms 02 6 0 1s675ms 0ms 1s348ms 3s822ms 03 19 0 3s132ms 1s499ms 3s787ms 14s273ms 04 17 0 3s292ms 1s352ms 4s911ms 14s169ms 05 50 0 2s82ms 1s375ms 5s754ms 25s157ms 06 12 10 5s577ms 1s159ms 2s547ms 54s892ms 07 4 0 1s440ms 0ms 0ms 2s252ms 08 13 0 3s947ms 1s344ms 3s803ms 19s262ms 09 13 0 1s815ms 1s113ms 1s288ms 3s840ms 10 13 10 6s74ms 1s267ms 5s3ms 54s315ms 11 13 0 1s990ms 1s158ms 2s309ms 3s891ms 12 12 0 1s382ms 1s121ms 1s336ms 2s560ms 13 57 0 2s550ms 4s956ms 10s766ms 25s713ms 14 11 10 5s680ms 1s159ms 1s299ms 54s403ms 15 13 0 18s430ms 1s131ms 3s835ms 2m4s 16 13 0 2s855ms 1s196ms 1s442ms 14s334ms 17 10 0 1s853ms 1s144ms 1s352ms 6s109ms 18 18 10 5s670ms 1s354ms 9s540ms 54s40ms 19 10 0 2s710ms 0ms 2s491ms 6s877ms 20 14 0 1s542ms 1s146ms 1s341ms 4s509ms 21 11 0 1s710ms 1s133ms 1s247ms 4s657ms 22 13 0 3s473ms 1s188ms 1s970ms 18s831ms 23 13 0 1s502ms 1s167ms 1s309ms 4s891ms Sep 18 00 22 0 48s830ms 1s164ms 1s348ms 18s583ms 01 25 0 2s235ms 2s146ms 5s202ms 8s419ms 02 8 0 1s575ms 0ms 1s344ms 3s154ms 03 10 0 2s109ms 1s134ms 1s358ms 4s423ms 04 21 0 2s251ms 2s616ms 3s744ms 5s249ms 05 48 0 2s433ms 3s765ms 8s799ms 24s502ms 06 11 10 6s79ms 1s236ms 7s114ms 54s134ms 07 20 0 2s445ms 1s343ms 3s841ms 11s586ms 08 17 0 2s149ms 1s326ms 3s794ms 6s603ms 09 8 0 3s62ms 0ms 1s352ms 9s862ms 10 16 10 5s413ms 1s273ms 3s984ms 42s254ms 11 8 0 1s784ms 0ms 1s355ms 3s753ms 12 16 0 2s397ms 1s152ms 3s400ms 12s665ms 13 20 0 1s620ms 1s180ms 3s561ms 5s930ms 14 15 10 5s325ms 1s346ms 3s752ms 55s305ms 15 16 0 7s172ms 1s99ms 1s352ms 53s801ms 16 17 0 1s373ms 1s210ms 1s353ms 3s764ms 17 9 0 1s535ms 0ms 1s224ms 4s348ms 18 4 10 7s960ms 0ms 1s353ms 54s347ms 19 10 0 1s302ms 0ms 1s284ms 2s492ms 20 6 0 3s364ms 0ms 1s348ms 10s251ms 21 16 0 5s169ms 1s192ms 1s561ms 44s595ms 22 22 0 7s937ms 2s414ms 6s238ms 46s132ms 23 13 0 2s430ms 1s270ms 2s573ms 6s254ms Sep 19 00 17 0 1m2s 1s111ms 3s78ms 17m1s 01 15 0 2s220ms 1s158ms 3s736ms 4s906ms 02 25 0 2s1ms 1s446ms 3s748ms 7s562ms 03 18 0 2s746ms 1s244ms 3s900ms 8s921ms 04 22 0 1s901ms 1s217ms 2s141ms 8s900ms 05 44 0 2s100ms 1s156ms 4s562ms 25s140ms 06 9 10 6s430ms 1s158ms 3s742ms 54s398ms 07 9 0 1s650ms 0ms 1s305ms 3s718ms 08 16 0 2s734ms 1s248ms 3s753ms 14s278ms 09 13 0 3s215ms 1s127ms 3s730ms 16s111ms 10 13 10 5s672ms 1s151ms 3s727ms 43s416ms 11 15 0 1s634ms 1s103ms 1s351ms 5s949ms 12 18 0 2s813ms 1s47ms 3s139ms 20s116ms 13 20 0 1s758ms 1s325ms 3s399ms 7s718ms 14 16 9 10s740ms 2s295ms 9s663ms 2m13s 15 60 0 2s225ms 5s920ms 6s707ms 13s267ms 16 25 0 2s56ms 3s207ms 4s383ms 5s545ms 17 11 0 1s699ms 0ms 2s221ms 3s832ms 18 10 10 7s875ms 3s752ms 9s661ms 54s238ms 19 18 0 2s964ms 1s225ms 4s952ms 11s996ms 20 21 0 2s570ms 2s628ms 3s724ms 8s965ms 21 55 0 2s611ms 5s118ms 8s716ms 17s105ms 22 17 0 2s368ms 1s303ms 2s817ms 10s245ms 23 12 0 1s723ms 1s145ms 1s951ms 5s845ms Sep 20 00 8 0 2m8s 0ms 1s236ms 16m55s 01 9 0 1m58s 1s151ms 1s818ms 17m28s 02 13 0 1s440ms 1s151ms 1s306ms 3s615ms 03 13 0 2s36ms 1s200ms 2s311ms 5s490ms 04 17 0 1s924ms 1s276ms 2s482ms 4s849ms 05 50 0 2s53ms 1s788ms 6s251ms 24s999ms 06 14 10 5s601ms 1s139ms 3s760ms 42s222ms 07 8 0 1s778ms 0ms 1s142ms 3s760ms 08 10 0 1s798ms 1s22ms 1s313ms 3s844ms 09 24 0 3s82ms 0ms 2s657ms 43s309ms 10 11 10 12s348ms 1s342ms 8s217ms 2m11s 11 28 0 40s400ms 1s299ms 3s246ms 17m27s 12 13 0 40s737ms 1s94ms 2s193ms 8m33s 13 32 0 2s339ms 2s680ms 5s119ms 11s320ms 14 22 10 5s437ms 3s836ms 9s578ms 54s182ms 15 9 0 2s544ms 0ms 1s160ms 5s1ms 16 18 0 1s141ms 0ms 1s127ms 4s470ms 17 20 0 1s455ms 1s98ms 2s989ms 7s106ms 18 13 10 5s919ms 1s341ms 3s965ms 54s338ms 19 26 0 1s710ms 1s495ms 3s760ms 4s445ms 20 23 0 1s466ms 1s350ms 2s853ms 4s629ms 21 18 0 2s19ms 1s348ms 2s452ms 9s937ms 22 25 0 3s4ms 1s346ms 2s945ms 24s891ms 23 60 0 1s378ms 2s285ms 4s229ms 14s678ms Sep 21 00 37 0 29s542ms 3s248ms 4s963ms 17m3s 01 30 0 2s32ms 1s249ms 4s903ms 9s310ms 02 21 0 1s922ms 1s348ms 2s291ms 9s979ms 03 29 0 2s248ms 2s517ms 3s836ms 16s856ms 04 18 0 3s878ms 1s344ms 3s796ms 19s644ms 05 48 0 3s696ms 1s676ms 14s688ms 1m17s 06 19 0 1s991ms 1s303ms 2s484ms 10s240ms 07 25 0 2s434ms 1s651ms 3s20ms 24s70ms 08 18 0 1s622ms 1s159ms 1s745ms 5s252ms 09 23 0 1s779ms 1s386ms 2s413ms 6s474ms 10 26 0 2s143ms 1s589ms 3s903ms 13s86ms 11 24 0 2s713ms 1s612ms 2s514ms 20s694ms 12 17 0 1s867ms 1s251ms 2s704ms 5s209ms 13 23 0 2s172ms 1s357ms 2s381ms 12s402ms 14 24 0 1s877ms 2s264ms 3s347ms 11s340ms 15 30 0 2s192ms 3s405ms 5s155ms 9s615ms 16 46 0 1s529ms 3s305ms 5s319ms 8s157ms 17 35 0 2s404ms 2s446ms 4s677ms 19s755ms 18 21 25 9s342ms 4s360ms 54s303ms 1m10s 19 19 47 1m13s 1m11s 1m58s 23m40s 20 49 0 1s542ms 2s683ms 4s341ms 5s929ms 21 37 0 1s301ms 2s669ms 3s291ms 7s77ms 22 23 0 1s673ms 1s348ms 2s106ms 7s940ms 23 24 0 1s776ms 1s347ms 3s499ms 10s154ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Sep 15 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Sep 16 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 17 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 18 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 19 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 20 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 21 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 15 00 0 15 15.00 0.00% 01 0 13 13.00 0.00% 02 0 33 33.00 0.00% 03 0 10 10.00 0.00% 04 0 29 29.00 0.00% 05 0 52 52.00 0.00% 06 0 17 17.00 0.00% 07 0 8 8.00 0.00% 08 0 68 68.00 0.00% 09 0 44 44.00 0.00% 10 0 14 14.00 0.00% 11 0 15 15.00 0.00% 12 0 15 15.00 0.00% 13 0 34 34.00 0.00% 14 0 65 65.00 0.00% 15 0 55 55.00 0.00% 16 0 31 31.00 0.00% 17 0 33 33.00 0.00% 18 0 9 9.00 0.00% 19 0 12 12.00 0.00% 20 0 14 14.00 0.00% 21 0 12 12.00 0.00% 22 0 9 9.00 0.00% 23 0 8 8.00 0.00% Sep 16 00 0 28 28.00 0.00% 01 0 15 15.00 0.00% 02 0 18 18.00 0.00% 03 0 12 12.00 0.00% 04 0 13 13.00 0.00% 05 0 56 56.00 0.00% 06 0 23 23.00 0.00% 07 0 7 7.00 0.00% 08 0 14 14.00 0.00% 09 0 21 21.00 0.00% 10 0 23 23.00 0.00% 11 0 8 8.00 0.00% 12 0 18 18.00 0.00% 13 0 31 31.00 0.00% 14 0 22 22.00 0.00% 15 0 13 13.00 0.00% 16 0 17 17.00 0.00% 17 0 4 4.00 0.00% 18 0 13 13.00 0.00% 19 0 8 8.00 0.00% 20 0 7 7.00 0.00% 21 0 12 12.00 0.00% 22 0 11 11.00 0.00% 23 0 10 10.00 0.00% Sep 17 00 0 14 14.00 0.00% 01 0 16 16.00 0.00% 02 0 6 6.00 0.00% 03 0 19 19.00 0.00% 04 0 17 17.00 0.00% 05 0 53 53.00 0.00% 06 0 12 12.00 0.00% 07 0 4 4.00 0.00% 08 0 13 13.00 0.00% 09 0 16 16.00 0.00% 10 0 13 13.00 0.00% 11 0 13 13.00 0.00% 12 0 12 12.00 0.00% 13 0 57 57.00 0.00% 14 0 11 11.00 0.00% 15 0 13 13.00 0.00% 16 0 13 13.00 0.00% 17 0 10 10.00 0.00% 18 0 18 18.00 0.00% 19 0 10 10.00 0.00% 20 0 14 14.00 0.00% 21 0 11 11.00 0.00% 22 0 13 13.00 0.00% 23 0 13 13.00 0.00% Sep 18 00 0 21 21.00 0.00% 01 0 25 25.00 0.00% 02 0 8 8.00 0.00% 03 0 10 10.00 0.00% 04 0 21 21.00 0.00% 05 0 51 51.00 0.00% 06 0 12 12.00 0.00% 07 0 20 20.00 0.00% 08 0 18 18.00 0.00% 09 0 8 8.00 0.00% 10 0 16 16.00 0.00% 11 0 8 8.00 0.00% 12 0 19 19.00 0.00% 13 0 21 21.00 0.00% 14 0 15 15.00 0.00% 15 0 16 16.00 0.00% 16 0 17 17.00 0.00% 17 0 9 9.00 0.00% 18 0 4 4.00 0.00% 19 0 10 10.00 0.00% 20 0 6 6.00 0.00% 21 0 16 16.00 0.00% 22 0 22 22.00 0.00% 23 0 13 13.00 0.00% Sep 19 00 0 16 16.00 0.00% 01 0 15 15.00 0.00% 02 0 25 25.00 0.00% 03 0 18 18.00 0.00% 04 0 22 22.00 0.00% 05 0 47 47.00 0.00% 06 0 9 9.00 0.00% 07 0 9 9.00 0.00% 08 0 16 16.00 0.00% 09 0 13 13.00 0.00% 10 0 14 14.00 0.00% 11 0 16 16.00 0.00% 12 0 18 18.00 0.00% 13 0 20 20.00 0.00% 14 0 18 18.00 0.00% 15 0 62 62.00 0.00% 16 0 26 26.00 0.00% 17 0 11 11.00 0.00% 18 0 10 10.00 0.00% 19 0 18 18.00 0.00% 20 0 21 21.00 0.00% 21 0 55 55.00 0.00% 22 0 17 17.00 0.00% 23 0 12 12.00 0.00% Sep 20 00 0 7 7.00 0.00% 01 0 9 9.00 0.00% 02 0 14 14.00 0.00% 03 0 13 13.00 0.00% 04 0 17 17.00 0.00% 05 0 53 53.00 0.00% 06 0 14 14.00 0.00% 07 0 9 9.00 0.00% 08 0 13 13.00 0.00% 09 0 25 25.00 0.00% 10 0 13 13.00 0.00% 11 0 29 29.00 0.00% 12 0 13 13.00 0.00% 13 0 33 33.00 0.00% 14 0 23 23.00 0.00% 15 0 11 11.00 0.00% 16 0 18 18.00 0.00% 17 0 20 20.00 0.00% 18 0 13 13.00 0.00% 19 0 26 26.00 0.00% 20 0 23 23.00 0.00% 21 0 18 18.00 0.00% 22 0 25 25.00 0.00% 23 0 60 60.00 0.00% Sep 21 00 0 36 36.00 0.00% 01 0 30 30.00 0.00% 02 0 21 21.00 0.00% 03 0 29 29.00 0.00% 04 0 18 18.00 0.00% 05 0 52 52.00 0.00% 06 0 19 19.00 0.00% 07 0 25 25.00 0.00% 08 0 18 18.00 0.00% 09 0 23 23.00 0.00% 10 0 26 26.00 0.00% 11 0 24 24.00 0.00% 12 0 17 17.00 0.00% 13 0 23 23.00 0.00% 14 0 24 24.00 0.00% 15 0 30 30.00 0.00% 16 0 46 46.00 0.00% 17 0 35 35.00 0.00% 18 0 21 21.00 0.00% 19 0 19 19.00 0.00% 20 0 49 49.00 0.00% 21 0 37 37.00 0.00% 22 0 23 23.00 0.00% 23 0 24 24.00 0.00% Day Hour Count Average / Second Sep 15 00 89 0.02/s 01 85 0.02/s 02 93 0.03/s 03 79 0.02/s 04 100 0.03/s 05 100 0.03/s 06 87 0.02/s 07 86 0.02/s 08 92 0.03/s 09 79 0.02/s 10 79 0.02/s 11 79 0.02/s 12 81 0.02/s 13 81 0.02/s 14 82 0.02/s 15 192 0.05/s 16 326 0.09/s 17 237 0.07/s 18 72 0.02/s 19 79 0.02/s 20 76 0.02/s 21 73 0.02/s 22 78 0.02/s 23 80 0.02/s Sep 16 00 136 0.04/s 01 85 0.02/s 02 80 0.02/s 03 78 0.02/s 04 84 0.02/s 05 100 0.03/s 06 84 0.02/s 07 82 0.02/s 08 75 0.02/s 09 76 0.02/s 10 81 0.02/s 11 80 0.02/s 12 83 0.02/s 13 87 0.02/s 14 84 0.02/s 15 79 0.02/s 16 81 0.02/s 17 67 0.02/s 18 86 0.02/s 19 76 0.02/s 20 89 0.02/s 21 72 0.02/s 22 76 0.02/s 23 80 0.02/s Sep 17 00 79 0.02/s 01 80 0.02/s 02 81 0.02/s 03 96 0.03/s 04 89 0.02/s 05 94 0.03/s 06 80 0.02/s 07 80 0.02/s 08 72 0.02/s 09 81 0.02/s 10 94 0.03/s 11 81 0.02/s 12 75 0.02/s 13 110 0.03/s 14 78 0.02/s 15 79 0.02/s 16 73 0.02/s 17 78 0.02/s 18 81 0.02/s 19 82 0.02/s 20 74 0.02/s 21 71 0.02/s 22 85 0.02/s 23 79 0.02/s Sep 18 00 82 0.02/s 01 84 0.02/s 02 83 0.02/s 03 77 0.02/s 04 80 0.02/s 05 94 0.03/s 06 78 0.02/s 07 79 0.02/s 08 78 0.02/s 09 87 0.02/s 10 92 0.03/s 11 77 0.02/s 12 83 0.02/s 13 85 0.02/s 14 90 0.03/s 15 78 0.02/s 16 78 0.02/s 17 90 0.03/s 18 79 0.02/s 19 75 0.02/s 20 78 0.02/s 21 88 0.02/s 22 92 0.03/s 23 90 0.03/s Sep 19 00 81 0.02/s 01 81 0.02/s 02 80 0.02/s 03 80 0.02/s 04 80 0.02/s 05 93 0.03/s 06 85 0.02/s 07 80 0.02/s 08 79 0.02/s 09 84 0.02/s 10 96 0.03/s 11 85 0.02/s 12 78 0.02/s 13 77 0.02/s 14 81 0.02/s 15 84 0.02/s 16 74 0.02/s 17 78 0.02/s 18 81 0.02/s 19 81 0.02/s 20 79 0.02/s 21 76 0.02/s 22 79 0.02/s 23 79 0.02/s Sep 20 00 78 0.02/s 01 77 0.02/s 02 79 0.02/s 03 79 0.02/s 04 76 0.02/s 05 95 0.03/s 06 80 0.02/s 07 79 0.02/s 08 82 0.02/s 09 78 0.02/s 10 86 0.02/s 11 78 0.02/s 12 80 0.02/s 13 81 0.02/s 14 81 0.02/s 15 74 0.02/s 16 79 0.02/s 17 78 0.02/s 18 79 0.02/s 19 80 0.02/s 20 81 0.02/s 21 80 0.02/s 22 86 0.02/s 23 93 0.03/s Sep 21 00 118 0.03/s 01 88 0.02/s 02 83 0.02/s 03 91 0.03/s 04 87 0.02/s 05 90 0.03/s 06 72 0.02/s 07 75 0.02/s 08 126 0.04/s 09 85 0.02/s 10 105 0.03/s 11 83 0.02/s 12 83 0.02/s 13 102 0.03/s 14 113 0.03/s 15 110 0.03/s 16 136 0.04/s 17 88 0.02/s 18 87 0.02/s 19 86 0.02/s 20 135 0.04/s 21 86 0.02/s 22 90 0.03/s 23 88 0.02/s Day Hour Count Average Duration Average idle time Sep 15 00 89 27m2s 26m50s 01 85 27m50s 27m49s 02 93 25m58s 25m57s 03 79 31m20s 31m20s 04 100 24m32s 24m31s 05 100 23m41s 23m40s 06 87 27m58s 27m56s 07 86 28m5s 28m4s 08 92 26m41s 26m39s 09 79 29m1s 29m 10 79 30m51s 30m49s 11 79 31m21s 31m21s 12 81 28m53s 28m52s 13 81 29m29s 29m27s 14 82 29m58s 29m54s 15 192 11m37s 11m36s 16 326 7m16s 7m15s 17 237 11m30s 11m30s 18 72 30m22s 30m20s 19 79 30m34s 30m34s 20 76 31m12s 31m12s 21 73 31m8s 31m8s 22 78 30m46s 30m46s 23 80 30m1s 30m1s Sep 16 00 136 18m7s 17m59s 01 85 28m26s 28m26s 02 80 30m37s 30m36s 03 78 31m8s 31m7s 04 84 29m2s 29m2s 05 100 23m44s 23m43s 06 84 28m33s 28m32s 07 82 29m12s 29m11s 08 75 32m12s 32m11s 09 76 31m51s 31m50s 10 81 30m3s 30m1s 11 80 30m43s 30m43s 12 82 28m34s 28m30s 13 87 27m20s 27m8s 14 84 29m35s 29m32s 15 79 30m22s 30m22s 16 82 33m10s 33m9s 17 67 31m56s 31m56s 18 86 29m13s 29m12s 19 76 30m44s 30m44s 20 89 27m57s 27m56s 21 72 30m 30m 22 76 31m15s 31m15s 23 80 31m11s 31m11s Sep 17 00 79 30m56s 30m42s 01 80 30m28s 30m28s 02 81 29m35s 29m35s 03 96 25m27s 25m26s 04 89 27m25s 27m24s 05 94 26m1s 26m 06 80 28m47s 28m45s 07 80 31m55s 31m55s 08 72 31m59s 31m59s 09 79 31m16s 31m15s 10 94 25m30s 25m28s 11 83 32m46s 32m46s 12 75 31m28s 31m27s 13 110 21m51s 21m49s 14 78 30m34s 30m32s 15 79 30m56s 30m53s 16 73 30m7s 30m7s 17 78 31m8s 31m7s 18 81 29m45s 29m43s 19 82 29m29s 29m29s 20 74 32m13s 32m12s 21 71 31m19s 31m18s 22 85 29m3s 29m3s 23 79 30m33s 30m33s Sep 18 00 82 30m9s 29m56s 01 84 28m6s 28m5s 02 83 29m29s 29m29s 03 77 31m17s 31m17s 04 80 30m13s 30m12s 05 94 25m51s 25m49s 06 78 30m40s 30m39s 07 79 30m45s 30m44s 08 78 30m27s 30m27s 09 87 28m11s 28m11s 10 92 26m48s 26m46s 11 77 30m16s 30m16s 12 83 29m9s 29m8s 13 85 28m36s 28m36s 14 90 26m29s 26m27s 15 78 29m36s 29m34s 16 78 30m40s 30m40s 17 90 26m29s 26m29s 18 79 29m48s 29m47s 19 75 31m58s 31m58s 20 78 31m11s 31m10s 21 88 26m23s 26m22s 22 92 25m35s 25m33s 23 90 28m8s 28m8s Sep 19 00 81 29m16s 29m3s 01 81 29m56s 29m55s 02 80 29m36s 29m35s 03 80 31m18s 31m18s 04 80 29m28s 29m28s 05 93 25m20s 25m19s 06 85 29m 28m58s 07 80 30m26s 30m26s 08 79 31m20s 31m20s 09 84 29m2s 29m1s 10 96 24m55s 24m53s 11 82 29m23s 29m23s 12 78 31m3s 31m3s 13 77 30m21s 30m21s 14 81 28m52s 28m49s 15 84 28m46s 28m44s 16 74 31m28s 31m28s 17 78 30m54s 30m54s 18 81 29m48s 29m46s 19 84 46m10s 46m9s 20 79 30m26s 30m26s 21 76 29m42s 29m40s 22 79 30m23s 30m23s 23 79 31m30s 31m30s Sep 20 00 77 31m31s 31m18s 01 78 31m7s 30m54s 02 79 31m3s 31m3s 03 79 30m12s 30m11s 04 76 30m49s 30m49s 05 95 25m47s 25m46s 06 80 30m19s 30m17s 07 79 31m 30m59s 08 81 30m11s 30m11s 09 78 30m37s 30m37s 10 86 29m38s 29m35s 11 77 28m50s 28m35s 12 81 30m47s 30m40s 13 81 28m25s 28m24s 14 81 29m41s 29m38s 15 74 31m49s 31m49s 16 79 31m35s 31m34s 17 76 30m28s 30m28s 18 79 30m50s 30m48s 19 82 39m 38m59s 20 82 31m4s 31m3s 21 80 29m2s 29m1s 22 86 27m57s 27m56s 23 93 26m19s 26m18s Sep 21 00 118 20m57s 20m48s 01 88 26m58s 26m57s 02 83 28m20s 28m19s 03 91 26m9s 26m8s 04 87 28m57s 28m57s 05 90 26m10s 26m8s 06 72 31m53s 31m52s 07 75 28m41s 28m40s 08 126 22m7s 22m7s 09 85 28m17s 28m16s 10 104 23m35s 23m35s 11 83 29m18s 29m17s 12 83 27m50s 27m50s 13 102 23m48s 23m47s 14 113 21m8s 21m8s 15 110 22m19s 22m18s 16 136 17m51s 17m51s 17 89 32m2s 32m1s 18 86 27m16s 27m11s 19 87 28m22s 27m26s 20 135 18m1s 18m 21 86 25m29s 25m28s 22 90 27m26s 27m25s 23 88 27m2s 27m2s -
Connections
Established Connections
Key values
- 18 connections Connection Peak
- 2024-09-21 16:27:10 Date
Connections per database
Key values
- ctdprd51 Main Database
- 14,672 connections Total
Connections per user
Key values
- pubeu Main User
- 14,672 connections Total
-
Sessions
Simultaneous sessions
Key values
- 49 sessions Session Peak
- 2024-09-20 18:31:55 Date
Histogram of session times
Key values
- 12,195 1800000-3600000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 14,672 sessions Total
Sessions per user
Key values
- pubeu Main User
- 14,672 sessions Total
Sessions per host
Key values
- 10.12.5.37 Main Host
- 14,672 sessions Total
Host Count Total Duration Average Duration 10.12.5.37 4,076 56d2h28m32s 19m49s 10.12.5.38 2,620 55d23h45m17s 30m46s 10.12.5.39 2,610 56d1m25s 30m53s 10.12.5.40 4 4m59s 1m14s 10.12.5.45 2,664 55d23h53m34s 30m16s 10.12.5.46 2,631 56d46m14s 30m40s 192.168.201.10 10 1d17h38m56s 4h9m53s 192.168.201.26 1 3h47m7s 3h47m7s 192.168.201.6 5 13h22m46s 2h40m33s ::1 51 2h13m44s 2m37s -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 247,914 buffers Checkpoint Peak
- 2024-09-19 02:58:41 Date
- 1620.040 seconds Highest write time
- 0.033 seconds Sync time
Checkpoints Wal files
Key values
- 40 files Wal files usage Peak
- 2024-09-19 00:28:41 Date
Checkpoints distance
Key values
- 1,264.12 Mo Distance Peak
- 2024-09-21 06:58:51 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Sep 15 00 799 80.32s 0.003s 80.406s 01 137 13.803s 0.002s 13.834s 02 186 18.813s 0.002s 18.843s 03 221 22.325s 0.002s 22.355s 04 151 15.304s 0.002s 15.334s 05 121 12.301s 0.002s 12.331s 06 258 26.03s 0.002s 26.061s 07 219 22.123s 0.002s 22.154s 08 177 17.92s 0.002s 17.951s 09 211 21.317s 0.002s 21.348s 10 5,574 558.436s 0.003s 558.554s 11 186 18.711s 0.002s 18.742s 12 117 11.895s 0.002s 11.927s 13 226 22.822s 0.002s 22.854s 14 148 15.007s 0.002s 15.037s 15 306 30.881s 0.002s 30.911s 16 2,037 204.308s 0.004s 204.34s 17 763 76.625s 0.003s 76.657s 18 271 27.335s 0.003s 27.366s 19 172 17.406s 0.003s 17.438s 20 148 15.001s 0.002s 15.031s 21 129 13.1s 0.002s 13.131s 22 120 12.193s 0.002s 12.224s 23 203 20.511s 0.003s 20.543s Sep 16 00 661 66.418s 0.003s 66.49s 01 123 12.503s 0.002s 12.534s 02 150 15.104s 0.002s 15.135s 03 1,372 137.635s 0.007s 137.72s 04 191 19.31s 0.002s 19.34s 05 186 18.809s 0.002s 18.841s 06 52,850 1,687.873s 0.004s 1,688.332s 07 22,593 1,695.39s 0.004s 1,695.616s 08 1,473 147.755s 0.003s 147.785s 09 4,800 480.856s 0.004s 480.964s 10 6,219 622.91s 0.006s 623.031s 11 2,040 204.562s 0.003s 204.637s 12 2,192 219.812s 0.003s 219.89s 13 1,166 117.033s 0.003s 117.063s 14 453 45.59s 0.002s 45.621s 15 133 13.496s 0.002s 13.529s 16 194 19.608s 0.002s 19.639s 17 302 30.432s 0.002s 30.463s 18 234 23.619s 0.002s 23.653s 19 163 16.509s 0.002s 16.541s 20 2,456 246.137s 0.003s 246.216s 21 181 18.316s 0.002s 18.348s 22 131 13.298s 0.002s 13.33s 23 131 13.301s 0.002s 13.333s Sep 17 00 5,378 538.876s 0.004s 539.031s 01 172 17.306s 0.002s 17.337s 02 155 15.701s 0.002s 15.732s 03 188 19.015s 0.002s 19.045s 04 167 16.913s 0.002s 16.944s 05 7,947 796.362s 0.003s 796.462s 06 291 29.338s 0.002s 29.369s 07 175 17.721s 0.002s 17.755s 08 3,503 351.084s 0.003s 351.177s 09 12,028 1,204.863s 0.002s 1,205.013s 10 10,329 1,034.691s 0.002s 1,034.828s 11 196 19.809s 0.002s 19.841s 12 172 17.415s 0.002s 17.445s 13 280 28.235s 0.002s 28.265s 14 224 22.618s 0.002s 22.648s 15 230 23.217s 0.002s 23.248s 16 134 13.597s 0.002s 13.628s 17 133 13.497s 0.002s 13.527s 18 246 24.818s 0.002s 24.849s 19 139 14.096s 0.002s 14.126s 20 122 12.394s 0.002s 12.423s 21 55,068 1,635.485s 0.003s 1,635.991s 22 147 14.899s 0.002s 14.929s 23 225 22.72s 0.002s 22.749s Sep 18 00 646 64.924s 0.003s 64.999s 01 165 16.609s 0.002s 16.641s 02 227 22.924s 0.002s 22.955s 03 2,005 200.928s 0.002s 201.005s 04 153 15.505s 0.002s 15.536s 05 13,949 1,397.44s 0.002s 1,397.6s 06 2,321 232.578s 0.002s 232.659s 07 188 18.909s 0.002s 18.939s 08 274 27.657s 0.002s 27.688s 09 925 92.848s 0.002s 92.929s 10 262 26.436s 0.003s 26.466s 11 1,315 131.93s 0.003s 131.96s 12 626 62.899s 0.003s 62.932s 13 360 36.248s 0.002s 36.278s 14 289 29.141s 0.002s 29.171s 15 206 20.816s 0.002s 20.847s 16 516 51.874s 0.002s 51.904s 17 121 12.294s 0.002s 12.326s 18 368 37.041s 0.002s 37.072s 19 6,532 653.5s 0.003s 653.637s 20 117 11.895s 0.002s 11.925s 21 100,612 3,238.852s 0.002s 3,239.755s 22 26,118 1,627.401s 0.003s 1,627.431s 23 4,267 427.601s 0.002s 427.681s Sep 19 00 58,752 1,650.883s 0.003s 1,651.465s 01 150 15.107s 0.002s 15.137s 02 248,024 1,631.129s 0.002s 1,631.634s 03 2,916 292.122s 0.003s 292.152s 04 1,125 112.881s 0.002s 112.959s 05 164 16.609s 0.002s 16.64s 06 15,656 1,566.575s 0.002s 1,566.835s 07 8,959 897.35s 0.002s 897.444s 08 557 55.983s 0.002s 56.015s 09 180 18.21s 0.002s 18.242s 10 2,866 287.267s 0.002s 287.298s 11 50,501 1,646.243s 0.003s 1,646.714s 12 691 69.413s 0.002s 69.443s 13 198 20.014s 0.002s 20.045s 14 1,414 141.86s 0.003s 141.934s 15 785 78.831s 0.002s 78.909s 16 14,491 1,449.742s 0.002s 1,450.013s 17 206 20.821s 0.002s 20.852s 18 2,688 269.398s 0.003s 269.429s 19 119 12.095s 0.002s 12.124s 20 131 13.299s 0.002s 13.329s 21 320 32.242s 0.002s 32.288s 22 9,213 922.781s 0.003s 922.943s 23 2,537 254.329s 0.002s 254.358s Sep 20 00 762 76.535s 0.003s 76.567s 01 56,888 1,629.142s 0.034s 1,629.698s 02 99 10.005s 0.001s 10.021s 03 209 21.116s 0.002s 21.148s 04 6,204 621.376s 0.002s 621.458s 05 16,984 1,623.508s 0.003s 1,623.694s 06 5,378 538.742s 0.003s 538.774s 07 716 71.921s 0.002s 71.95s 08 3,550 355.845s 0.003s 355.925s 09 327 32.943s 0.002s 32.987s 10 262 26.431s 0.002s 26.461s 11 2,016 202.043s 0.002s 202.073s 12 427 42.975s 0.002s 43.006s 13 423 42.559s 0.002s 42.639s 14 364 36.547s 0.002s 36.578s 15 586 58.902s 0.003s 58.931s 16 398 40.061s 0.002s 40.091s 17 270 27.228s 0.002s 27.258s 18 228 23.027s 0.002s 23.056s 19 106 10.791s 0.002s 10.821s 20 123 12.528s 0.002s 12.559s 21 125 12.703s 0.002s 12.733s 22 194 19.632s 0.002s 19.663s 23 160 16.209s 0.002s 16.24s Sep 21 00 6,130 614.148s 0.004s 614.233s 01 114 11.594s 0.002s 11.624s 02 1,443 144.758s 0.003s 144.789s 03 7,500 751.471s 0.004s 751.591s 04 148 14.805s 0.002s 14.836s 05 1,457 146.202s 0.002s 146.232s 06 74,191 1,639.095s 0.002s 1,639.629s 07 520 52.275s 0.002s 52.307s 08 2,923 292.835s 0.002s 292.892s 09 304 30.644s 0.002s 30.675s 10 49,997 1,662.097s 0.003s 1,662.555s 11 109 11.095s 0.002s 11.125s 12 201 20.314s 0.002s 20.344s 13 88 8.991s 0.002s 9.021s 14 85 8.689s 0.002s 8.719s 15 190 19.217s 0.002s 19.245s 16 79 8.089s 0.002s 8.119s 17 107 10.889s 0.002s 10.921s 18 96 9.792s 0.004s 9.825s 19 187 18.908s 0.002s 18.94s 20 81,045 1,623.836s 0.002s 1,623.868s 21 109 11.09s 0.002s 11.12s 22 151 15.303s 0.002s 15.334s 23 257 25.924s 0.002s 25.954s Day Hour Added Removed Recycled Synced files Longest sync Average sync Sep 15 00 0 0 1 64 0.001s 0.002s 01 0 0 0 28 0.001s 0.002s 02 0 0 0 26 0.001s 0.002s 03 0 0 0 36 0.001s 0.002s 04 0 0 0 28 0.001s 0.002s 05 0 0 0 20 0.001s 0.002s 06 0 0 0 36 0.001s 0.002s 07 0 0 0 65 0.001s 0.002s 08 0 0 0 29 0.001s 0.002s 09 0 0 0 28 0.001s 0.002s 10 0 0 4 43 0.001s 0.002s 11 0 0 0 29 0.001s 0.002s 12 0 0 0 21 0.001s 0.002s 13 0 0 0 31 0.001s 0.002s 14 0 0 0 22 0.001s 0.002s 15 0 0 0 32 0.001s 0.002s 16 0 0 0 32 0.001s 0.002s 17 0 0 0 33 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 21 0.001s 0.002s 21 0 0 0 22 0.001s 0.002s 22 0 0 0 19 0.001s 0.002s 23 0 0 0 28 0.001s 0.002s Sep 16 00 0 0 0 68 0.001s 0.002s 01 0 0 0 30 0.001s 0.002s 02 0 0 0 29 0.001s 0.002s 03 0 0 1 47 0.004s 0.002s 04 0 0 0 31 0.001s 0.002s 05 0 0 0 33 0.001s 0.002s 06 0 0 33 61 0.001s 0.002s 07 0 0 14 61 0.001s 0.002s 08 0 0 0 41 0.001s 0.002s 09 0 0 3 38 0.001s 0.002s 10 0 0 4 84 0.001s 0.002s 11 0 0 1 135 0.001s 0.002s 12 0 0 1 107 0.001s 0.002s 13 0 0 0 52 0.001s 0.002s 14 0 0 0 43 0.001s 0.002s 15 0 0 0 20 0.001s 0.002s 16 0 0 0 58 0.001s 0.002s 17 0 0 0 76 0.001s 0.002s 18 0 0 0 64 0.001s 0.002s 19 0 0 0 20 0.001s 0.002s 20 0 0 1 56 0.001s 0.002s 21 0 0 0 27 0.001s 0.002s 22 0 0 0 20 0.001s 0.002s 23 0 0 0 19 0.001s 0.002s Sep 17 00 0 0 4 93 0.001s 0.002s 01 0 0 0 30 0.001s 0.002s 02 0 0 0 30 0.001s 0.002s 03 0 0 0 39 0.001s 0.002s 04 0 0 0 34 0.001s 0.002s 05 0 0 3 53 0.001s 0.002s 06 0 0 0 41 0.001s 0.002s 07 0 0 0 64 0.001s 0.002s 08 0 0 2 46 0.001s 0.002s 09 0 0 7 104 0.001s 0.002s 10 0 0 6 100 0.001s 0.002s 11 0 0 0 28 0.001s 0.002s 12 0 0 0 61 0.001s 0.002s 13 0 0 0 71 0.001s 0.002s 14 0 0 0 67 0.001s 0.002s 15 0 0 0 28 0.001s 0.002s 16 0 0 0 23 0.001s 0.002s 17 0 0 0 20 0.001s 0.002s 18 0 0 0 37 0.001s 0.002s 19 0 0 0 21 0.001s 0.002s 20 0 0 0 19 0.001s 0.002s 21 0 0 37 41 0.001s 0.002s 22 0 0 0 22 0.001s 0.002s 23 0 0 0 30 0.001s 0.002s Sep 18 00 0 0 0 70 0.001s 0.002s 01 0 0 0 28 0.001s 0.002s 02 0 0 0 31 0.001s 0.002s 03 0 0 1 43 0.001s 0.002s 04 0 0 0 29 0.001s 0.002s 05 0 0 8 65 0.001s 0.002s 06 0 0 1 51 0.001s 0.002s 07 0 0 0 30 0.001s 0.002s 08 0 0 0 30 0.001s 0.002s 09 0 0 1 43 0.001s 0.002s 10 0 0 0 69 0.001s 0.002s 11 0 0 0 112 0.001s 0.002s 12 0 0 0 124 0.001s 0.002s 13 0 0 0 80 0.001s 0.002s 14 0 0 0 73 0.001s 0.002s 15 0 0 0 64 0.001s 0.002s 16 0 0 0 70 0.001s 0.002s 17 0 0 0 21 0.001s 0.002s 18 0 0 0 42 0.001s 0.002s 19 0 0 6 61 0.002s 0.002s 20 0 0 0 20 0.001s 0.002s 21 0 0 67 50 0.001s 0.002s 22 0 0 0 30 0.001s 0.002s 23 0 0 1 36 0.001s 0.002s Sep 19 00 0 0 40 86 0.001s 0.002s 01 0 0 0 28 0.001s 0.002s 02 0 0 37 52 0.001s 0.002s 03 0 0 0 47 0.001s 0.002s 04 0 0 1 50 0.001s 0.002s 05 0 0 0 30 0.001s 0.002s 06 0 0 16 105 0.001s 0.002s 07 0 0 3 44 0.001s 0.002s 08 0 0 0 50 0.001s 0.002s 09 0 0 0 32 0.001s 0.002s 10 0 0 0 74 0.001s 0.002s 11 0 0 34 144 0.001s 0.002s 12 0 0 0 70 0.001s 0.002s 13 0 0 0 29 0.001s 0.002s 14 0 0 1 95 0.001s 0.002s 15 0 0 1 86 0.001s 0.002s 16 0 0 17 128 0.001s 0.002s 17 0 0 0 35 0.001s 0.002s 18 0 0 0 28 0.001s 0.002s 19 0 0 0 22 0.001s 0.002s 20 0 0 0 20 0.001s 0.002s 21 0 0 0 31 0.001s 0.002s 22 0 0 5 51 0.001s 0.002s 23 0 0 0 36 0.001s 0.002s Sep 20 00 0 0 0 67 0.001s 0.002s 01 0 0 38 48 0.017s 0.003s 02 0 0 0 18 0.001s 0.001s 03 0 0 0 38 0.001s 0.002s 04 0 0 4 42 0.001s 0.002s 05 0 0 10 42 0.002s 0.002s 06 0 0 0 90 0.001s 0.002s 07 0 0 0 146 0.001s 0.002s 08 0 0 1 132 0.001s 0.002s 09 0 0 1 110 0.001s 0.002s 10 0 0 0 73 0.001s 0.002s 11 0 0 0 136 0.001s 0.002s 12 0 0 0 80 0.001s 0.002s 13 0 0 1 120 0.001s 0.002s 14 0 0 0 85 0.001s 0.002s 15 0 0 0 129 0.001s 0.002s 16 0 0 0 132 0.001s 0.002s 17 0 0 0 106 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 0 19 0.001s 0.002s 21 0 0 0 19 0.001s 0.002s 22 0 0 0 29 0.001s 0.002s 23 0 0 0 21 0.001s 0.002s Sep 21 00 0 0 4 83 0.001s 0.002s 01 0 0 0 28 0.001s 0.002s 02 0 0 0 54 0.001s 0.002s 03 0 0 4 60 0.001s 0.002s 04 0 0 0 31 0.001s 0.002s 05 0 0 0 39 0.001s 0.002s 06 0 0 39 57 0.001s 0.002s 07 0 0 0 47 0.001s 0.002s 08 0 0 2 47 0.001s 0.002s 09 0 0 0 34 0.001s 0.002s 10 0 0 33 50 0.001s 0.002s 11 0 0 0 19 0.001s 0.002s 12 0 0 0 28 0.001s 0.002s 13 0 0 0 18 0.001s 0.002s 14 0 0 0 20 0.001s 0.002s 15 0 0 0 26 0.001s 0.002s 16 0 0 0 20 0.001s 0.002s 17 0 0 0 21 0.001s 0.002s 18 0 0 0 25 0.003s 0.002s 19 0 0 0 27 0.001s 0.002s 20 0 0 0 26 0.001s 0.002s 21 0 0 0 23 0.001s 0.002s 22 0 0 0 20 0.001s 0.002s 23 0 0 0 30 0.001s 0.002s Day Hour Count Avg time (sec) Sep 15 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Sep 16 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 17 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 18 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 19 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 20 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 21 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 15 00 2,329.50 kB 55,141.50 kB 01 175.00 kB 44,761.50 kB 02 203.50 kB 36,294.50 kB 03 364.00 kB 29,453.50 kB 04 214.00 kB 23,898.50 kB 05 72.00 kB 19,385.00 kB 06 515.50 kB 15,794.50 kB 07 439.50 kB 12,868.50 kB 08 310.00 kB 10,476.00 kB 09 361.00 kB 8,552.00 kB 10 29,388.00 kB 55,149.50 kB 11 388.00 kB 44,771.00 kB 12 157.50 kB 36,294.50 kB 13 380.00 kB 29,450.50 kB 14 183.50 kB 23,909.00 kB 15 609.00 kB 19,466.00 kB 16 827.00 kB 15,936.50 kB 17 544.00 kB 13,012.50 kB 18 414.00 kB 10,601.00 kB 19 131.50 kB 8,635.00 kB 20 170.00 kB 7,026.00 kB 21 197.50 kB 5,727.00 kB 22 184.00 kB 4,675.00 kB 23 396.50 kB 3,839.50 kB Sep 16 00 1,873.00 kB 3,431.00 kB 01 202.50 kB 2,866.50 kB 02 213.00 kB 2,362.50 kB 03 4,168.00 kB 6,291.00 kB 04 246.50 kB 5,205.50 kB 05 278.50 kB 4,283.00 kB 06 267,422.50 kB 503,667.50 kB 07 115,184.50 kB 429,874.50 kB 08 4,167.50 kB 349,170.50 kB 09 22,602.50 kB 285,117.00 kB 10 33,226.50 kB 238,931.50 kB 11 7,082.00 kB 194,622.00 kB 12 7,150.50 kB 159,561.00 kB 13 3,547.00 kB 129,684.50 kB 14 1,214.00 kB 105,555.00 kB 15 189.00 kB 85,535.00 kB 16 313.50 kB 69,330.00 kB 17 641.50 kB 56,270.50 kB 18 467.00 kB 45,688.00 kB 19 173.00 kB 37,042.50 kB 20 7,303.00 kB 31,318.00 kB 21 202.00 kB 25,479.00 kB 22 186.00 kB 20,674.50 kB 23 181.00 kB 16,780.00 kB Sep 17 00 25,327.00 kB 31,396.00 kB 01 194.00 kB 41,274.50 kB 02 212.00 kB 33,471.50 kB 03 388.50 kB 27,170.00 kB 04 270.00 kB 22,057.50 kB 05 29,811.50 kB 39,005.50 kB 06 671.00 kB 50,683.00 kB 07 275.00 kB 41,090.00 kB 08 13,859.00 kB 34,711.50 kB 09 58,640.50 kB 108,779.00 kB 10 44,726.00 kB 96,696.00 kB 11 367.50 kB 78,431.50 kB 12 291.50 kB 63,583.00 kB 13 557.50 kB 51,594.50 kB 14 312.50 kB 41,865.00 kB 15 414.50 kB 33,989.50 kB 16 136.50 kB 27,559.50 kB 17 144.00 kB 22,350.50 kB 18 498.00 kB 18,189.00 kB 19 183.50 kB 14,774.00 kB 20 143.50 kB 11,997.00 kB 21 301,668.50 kB 306,489.00 kB 22 192.50 kB 515,315.00 kB 23 447.00 kB 417,469.00 kB Sep 18 00 1,782.00 kB 338,449.50 kB 01 204.50 kB 274,249.00 kB 02 363.00 kB 222,197.50 kB 03 7,357.50 kB 180,750.00 kB 04 231.50 kB 147,092.50 kB 05 66,075.50 kB 131,653.50 kB 06 7,036.50 kB 108,017.50 kB 07 340.50 kB 87,559.50 kB 08 544.50 kB 71,003.50 kB 09 2,483.50 kB 57,801.00 kB 10 631.50 kB 47,109.50 kB 11 778.00 kB 38,318.50 kB 12 1,548.50 kB 31,247.00 kB 13 829.00 kB 25,575.50 kB 14 663.00 kB 20,821.50 kB 15 304.00 kB 16,931.00 kB 16 1,180.50 kB 13,875.00 kB 17 124.50 kB 11,342.00 kB 18 697.00 kB 9,295.50 kB 19 46,582.00 kB 88,336.50 kB 20 140.00 kB 71,580.50 kB 21 544,560.00 kB 544,560.00 kB 22 509.00 kB 468,722.50 kB 23 14,263.00 kB 382,371.50 kB Sep 19 00 321,518.00 kB 609,528.00 kB 01 215.50 kB 493,822.50 kB 02 298,765.50 kB 509,128.50 kB 03 9,151.00 kB 512,298.50 kB 04 3,075.50 kB 415,544.50 kB 05 312.00 kB 336,649.50 kB 06 109,528.50 kB 283,764.00 kB 07 46,201.50 kB 248,267.00 kB 08 1,641.50 kB 201,475.00 kB 09 407.00 kB 163,291.00 kB 10 1,500.00 kB 132,547.50 kB 11 276,469.00 kB 523,951.00 kB 12 1,733.00 kB 424,662.00 kB 13 403.50 kB 344,159.50 kB 14 4,414.00 kB 279,578.00 kB 15 1,990.00 kB 226,750.00 kB 16 147,265.00 kB 206,859.50 kB 17 550.00 kB 172,564.00 kB 18 848.50 kB 139,957.00 kB 19 185.00 kB 113,403.00 kB 20 154.00 kB 91,888.00 kB 21 461.00 kB 74,490.00 kB 22 33,066.00 kB 65,139.00 kB 23 8,489.50 kB 55,878.00 kB Sep 20 00 2,147.00 kB 45,610.00 kB 01 309,361.00 kB 328,682.50 kB 02 386.00 kB 556,569.00 kB 03 425.50 kB 475,928.50 kB 04 27,438.00 kB 388,268.50 kB 05 60,994.50 kB 323,066.50 kB 06 21,714.50 kB 271,269.50 kB 07 1,979.00 kB 220,089.00 kB 08 11,934.00 kB 179,537.50 kB 09 836.50 kB 146,586.00 kB 10 524.00 kB 118,867.50 kB 11 5,337.00 kB 96,856.00 kB 12 950.50 kB 79,061.00 kB 13 1,117.00 kB 64,195.00 kB 14 862.00 kB 52,174.50 kB 15 1,550.50 kB 42,585.50 kB 16 1,168.50 kB 34,698.50 kB 17 710.00 kB 28,275.00 kB 18 414.00 kB 22,992.50 kB 19 160.50 kB 18,655.00 kB 20 155.00 kB 15,142.00 kB 21 188.50 kB 12,298.00 kB 22 407.00 kB 10,039.50 kB 23 223.00 kB 8,171.50 kB Sep 21 00 29,943.50 kB 32,420.50 kB 01 202.50 kB 49,315.50 kB 02 4,047.50 kB 40,627.50 kB 03 25,921.00 kB 37,119.00 kB 04 268.00 kB 30,917.00 kB 05 998.50 kB 25,201.50 kB 06 324,237.00 kB 334,438.50 kB 07 1,451.00 kB 553,560.00 kB 08 9,460.00 kB 449,452.00 kB 09 651.50 kB 364,978.50 kB 10 271,734.50 kB 513,924.00 kB 11 189.00 kB 416,426.50 kB 12 420.00 kB 337,382.50 kB 13 174.50 kB 273,315.00 kB 14 160.50 kB 221,416.00 kB 15 416.50 kB 179,404.00 kB 16 173.00 kB 145,371.00 kB 17 209.50 kB 117,791.00 kB 18 181.00 kB 95,444.50 kB 19 437.50 kB 77,370.00 kB 20 224.50 kB 62,734.00 kB 21 191.50 kB 50,851.50 kB 22 221.00 kB 41,230.50 kB 23 483.00 kB 33,488.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 15 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Sep 16 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 17 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 18 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 19 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 20 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 21 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
- 45.59 sec Highest CPU-cost vacuum
Table pub2.term_set_enrichment_agent
Database ctdprd51 - 2024-09-19 02:30:31 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 45.59 sec Highest CPU-cost vacuum
Table pub2.term_set_enrichment_agent
Database ctdprd51 - 2024-09-19 02:30:31 Date
Analyzes per table
Key values
- pubc.log_query (131) Main table analyzed (database ctdprd51)
- 144 analyzes Total
Table Number of analyzes ctdprd51.pubc.log_query 131 ctdprd51.pub2.term_set_enrichment 3 ctdprd51.pub2.term_set_enrichment_agent 2 ctdprd51.pub2.term_comp_agent 1 ctdprd51.pub2.term_comp 1 ctdprd51.edit.tm_reference 1 ctdprd51.pg_catalog.pg_shdepend 1 ctdprd51.edit.ixn 1 ctdprd51.edit.ixn_action 1 ctdprd51.edit.tm_reference_term 1 ctdprd51.edit.reference_ixn 1 Total 144 Vacuums per table
Key values
- pubc.log_query (16) Main table vacuumed on database ctdprd51
- 25 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 16 12 4,527 0 834 0 0 1,437 411 2,922,128 ctdprd51.pg_toast.pg_toast_2619 2 2 8,514 0 2,402 0 19,952 6,650 2,155 1,236,156 ctdprd51.pub2.term_set_enrichment 2 0 16,313 0 7,603 0 0 8,049 4 499,585 ctdprd51.pg_catalog.pg_statistic 1 1 640 0 121 0 36 388 116 529,420 ctdprd51.pg_toast.pg_toast_486223 1 0 48 0 0 0 0 1 0 188 ctdprd51.pub2.term_comp 1 0 149 0 5 0 0 24 2 13,763 ctdprd51.edit.tm_reference_term 1 1 990 0 29 0 0 493 22 202,520 ctdprd51.pub2.term_set_enrichment_agent 1 0 431,788 0 194,419 0 0 215,771 9 12,800,215 Total 25 16 462,969 1,157 205,413 0 19,988 232,813 2,719 18,203,975 Tuples removed per table
Key values
- pg_toast.pg_toast_2619 (8102) Main table with removed tuples on database ctdprd51
- 11386 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,102 40,016 0 0 25,184 ctdprd51.edit.tm_reference_term 1 1 2,706 28,057 0 0 449 ctdprd51.pg_catalog.pg_statistic 1 1 437 2,619 0 0 290 ctdprd51.pubc.log_query 16 12 141 20,802 0 0 858 ctdprd51.pg_toast.pg_toast_486223 1 0 0 0 0 0 0 ctdprd51.pub2.term_comp 1 0 0 6,404 0 0 65 ctdprd51.pub2.term_set_enrichment 2 0 0 2,541,962 0 0 42,023 ctdprd51.pub2.term_set_enrichment_agent 1 0 0 93,955,144 0 0 1,067,677 Total 25 16 11,386 96,595,004 0 0 1,136,546 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_catalog.pg_statistic 1 1 437 0 ctdprd51.pg_toast.pg_toast_486223 1 0 0 0 ctdprd51.pub2.term_comp 1 0 0 0 ctdprd51.pg_toast.pg_toast_2619 2 2 8102 0 ctdprd51.pubc.log_query 16 12 141 0 ctdprd51.pub2.term_set_enrichment 2 0 0 0 ctdprd51.edit.tm_reference_term 1 1 2706 0 ctdprd51.pub2.term_set_enrichment_agent 1 0 0 0 Total 25 16 11,386 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Sep 15 00 0 1 01 0 1 02 0 1 03 0 1 04 0 1 05 0 3 06 0 1 07 0 0 08 0 1 09 0 1 10 0 2 11 0 0 12 0 0 13 0 1 14 0 1 15 0 1 16 0 1 17 0 0 18 0 1 19 0 0 20 0 0 21 0 0 22 0 0 23 0 1 Sep 16 00 0 0 01 0 2 02 0 1 03 0 1 04 0 2 05 0 3 06 0 1 07 0 1 08 0 1 09 0 1 10 0 2 11 0 1 12 0 1 13 0 1 14 0 0 15 0 0 16 0 1 17 0 0 18 0 0 19 0 0 20 0 1 21 0 0 22 0 0 23 0 1 Sep 17 00 0 1 01 0 1 02 0 1 03 0 1 04 0 2 05 0 4 06 0 0 07 0 1 08 0 0 09 0 1 10 0 1 11 0 0 12 0 1 13 0 0 14 0 1 15 0 0 16 0 0 17 0 1 18 0 0 19 0 0 20 0 1 21 0 0 22 0 0 23 0 1 Sep 18 00 0 1 01 0 1 02 0 2 03 0 1 04 0 1 05 0 4 06 0 1 07 0 0 08 0 1 09 0 1 10 0 2 11 0 0 12 0 1 13 0 0 14 0 1 15 0 0 16 0 0 17 0 0 18 0 1 19 0 0 20 0 0 21 0 1 22 0 1 23 0 1 Sep 19 00 0 1 01 0 1 02 0 2 03 0 2 04 0 1 05 0 3 06 0 3 07 0 1 08 0 2 09 0 1 10 0 0 11 0 1 12 0 0 13 0 1 14 0 0 15 0 0 16 0 1 17 0 1 18 0 0 19 0 0 20 0 0 21 0 1 22 0 0 23 0 0 Sep 20 00 0 1 01 0 1 02 0 1 03 0 1 04 0 1 05 0 4 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 2 15 0 0 16 0 0 17 0 1 18 0 0 19 0 0 20 0 0 21 0 1 22 0 0 23 0 0 Sep 21 00 0 2 01 0 2 02 0 1 03 0 2 04 0 1 05 0 6 06 0 3 07 0 1 08 0 2 09 0 1 10 0 0 11 0 1 12 0 0 13 0 0 14 0 0 15 0 1 16 0 0 17 0 0 18 0 0 19 0 1 20 0 0 21 0 0 22 0 1 23 0 0 - 45.59 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,420 Total read queries
- 346 Total write queries
Queries by database
Key values
- unknown Main database
- 2,173 Requests
- 5h27m44s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 5,196 Requests
User Request type Count Duration load Total 2 26s163ms select 2 26s163ms postgres Total 108 43m7s copy to 108 43m7s pubeu Total 3,458 4h16m43s cte 38 1m59s select 3,420 4h14m43s qaeu Total 79 3m7s cte 17 56s119ms select 62 2m11s unknown Total 5,196 13h12m58s copy to 700 6h36m45s cte 27 37s359ms others 9 44s310ms select 4,460 6h34m51s Duration by user
Key values
- 13h12m58s (unknown) Main time consuming user
User Request type Count Duration load Total 2 26s163ms select 2 26s163ms postgres Total 108 43m7s copy to 108 43m7s pubeu Total 3,458 4h16m43s cte 38 1m59s select 3,420 4h14m43s qaeu Total 79 3m7s cte 17 56s119ms select 62 2m11s unknown Total 5,196 13h12m58s copy to 700 6h36m45s cte 27 37s359ms others 9 44s310ms select 4,460 6h34m51s Queries by host
Key values
- unknown Main host
- 8,843 Requests
- 18h16m23s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 3,724 Requests
- 7h18m51s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2024-09-21 19:04:03 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 3,564 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 23m44s 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-21 19:43:00 ]
2 23m38s 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-21 19:00:33 ]
3 17m28s SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1239879') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-09-20 01:11:33 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
4 17m27s SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1239879') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-09-20 11:45:38 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
5 17m4s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-09-18 00:17:06 ]
6 17m3s /* * 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-21 00:17:04 ]
7 17m1s /* * 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-19 00:17:03 ]
8 16m56s /* * 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-15 00:16:57 ]
9 16m53s /* * 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-16 00:16:55 ]
10 16m52s /* * 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-20 00:16:54 ]
11 16m50s /* * 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-17 00:16:52 ]
12 8m31s SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1257694') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-09-20 12:01:30 - Bind query: yes ]
13 6m49s COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;[ Date: 2024-09-21 19:54:43 ]
14 6m49s COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;[ Date: 2024-09-21 19:12:16 ]
15 2m13s SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'mRNA'))) 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 'NFE2L2')))) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2024-09-19 14:42:34 - Bind query: yes ]
16 2m7s SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'mRNA'))) 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 'NFE2L2')))) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2024-09-16 13:30:29 - Bind query: yes ]
17 2m7s SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'mRNA'))) 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 'NFE2L2')))) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2024-09-20 10:18:00 - Bind query: yes ]
18 2m7s SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'mRNA'))) 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 'NFE2L2')))) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2024-09-16 13:41:33 - Bind query: yes ]
19 2m7s SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'mRNA'))) 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 'NFE2L2')))) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2024-09-16 13:55:30 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
20 2m7s SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'mRNA'))) 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 'NFE2L2')))) ORDER BY g.nm_sort, g.id LIMIT 50;[ Date: 2024-09-16 13:45:19 - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 1h58m41s 7 16m50s 17m4s 16m57s select maint_query_logs_archive ();Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Sep 15 00 1 16m56s 16m56s Sep 16 00 1 16m53s 16m53s Sep 17 00 1 16m50s 16m50s Sep 18 00 1 17m4s 17m4s Sep 19 00 1 17m1s 17m1s Sep 20 00 1 16m52s 16m52s Sep 21 00 1 17m3s 17m3s -
/* * 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-18 00:17:06 Duration: 17m4s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-09-21 00:17:04 Duration: 17m3s
-
/* * 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-19 00:17:03 Duration: 17m1s
2 45m6s 15 1s445ms 17m28s 3m 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 #2
Day Hour Count Duration Avg duration Sep 15 02 1 1s445ms 1s445ms 21 1 1s486ms 1s486ms Sep 16 02 2 4s518ms 2s259ms 14 1 1s555ms 1s555ms Sep 18 04 1 1s514ms 1s514ms Sep 20 01 1 17m28s 17m28s 11 2 17m30s 8m45s 12 1 8m31s 8m31s 19 1 1s495ms 1s495ms Sep 21 05 1 1m17s 1m17s 07 1 3s66ms 3s66ms 10 2 3s136ms 1s568ms [ User: pubeu - Total duration: 35m6s - Times executed: 8 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1239879') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-09-20 01:11:33 Duration: 17m28s 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 = '1239879') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-09-20 11:45:38 Duration: 17m27s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1257694') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-09-20 12:01:30 Duration: 8m31s Bind query: yes
3 31m9s 487 3s668ms 15s805ms 3s839ms 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 15 00 1 3s821ms 3s821ms 03 1 3s884ms 3s884ms 05 3 11s205ms 3s735ms 08 30 1m53s 3s788ms 09 19 1m11s 3s748ms 12 2 7s738ms 3s869ms 13 22 1m35s 4s345ms 14 55 3m28s 3s786ms 15 43 2m43s 3s791ms 16 13 49s298ms 3s792ms 17 29 1m49s 3s787ms 19 2 7s540ms 3s770ms 20 1 4s131ms 4s131ms 21 1 3s946ms 3s946ms 22 1 3s796ms 3s796ms 23 1 3s745ms 3s745ms Sep 16 01 2 7s436ms 3s718ms 02 4 15s581ms 3s895ms 03 5 18s815ms 3s763ms 05 1 3s764ms 3s764ms 06 2 7s630ms 3s815ms 07 3 11s355ms 3s785ms 08 1 3s872ms 3s872ms 09 3 11s971ms 3s990ms 10 4 15s742ms 3s935ms 12 2 7s741ms 3s870ms 13 1 3s800ms 3s800ms 14 2 7s541ms 3s770ms 15 2 7s507ms 3s753ms 16 3 11s364ms 3s788ms 17 1 3s896ms 3s896ms 18 1 3s877ms 3s877ms 21 1 3s804ms 3s804ms 22 1 3s845ms 3s845ms Sep 17 00 3 11s433ms 3s811ms 02 1 3s822ms 3s822ms 03 1 3s787ms 3s787ms 04 2 7s613ms 3s806ms 05 1 3s766ms 3s766ms 08 6 24s599ms 4s99ms 09 2 7s606ms 3s803ms 10 1 3s784ms 3s784ms 11 4 15s83ms 3s770ms 13 2 8s715ms 4s357ms 15 2 7s601ms 3s800ms 16 3 11s331ms 3s777ms 17 2 7s818ms 3s909ms 18 3 11s833ms 3s944ms 19 2 7s514ms 3s757ms 22 1 3s854ms 3s854ms 23 1 3s729ms 3s729ms Sep 18 00 1 3s927ms 3s927ms 01 7 26s398ms 3s771ms 03 2 7s605ms 3s802ms 04 6 22s381ms 3s730ms 05 4 15s825ms 3s956ms 06 1 3s775ms 3s775ms 07 3 11s409ms 3s803ms 08 3 11s309ms 3s769ms 09 2 7s527ms 3s763ms 10 5 19s89ms 3s817ms 11 1 3s753ms 3s753ms 12 1 3s759ms 3s759ms 13 2 7s522ms 3s761ms 14 2 7s461ms 3s730ms 15 1 3s828ms 3s828ms 16 1 3s764ms 3s764ms 20 2 7s479ms 3s739ms 21 1 3s842ms 3s842ms 22 1 3s771ms 3s771ms 23 2 7s539ms 3s769ms Sep 19 00 7 26s631ms 3s804ms 01 6 22s605ms 3s767ms 02 6 22s626ms 3s771ms 03 7 26s620ms 3s802ms 04 2 7s862ms 3s931ms 06 2 7s552ms 3s776ms 07 1 3s718ms 3s718ms 08 4 15s663ms 3s915ms 09 3 11s349ms 3s783ms 10 1 3s727ms 3s727ms 11 1 3s748ms 3s748ms 12 3 11s426ms 3s808ms 13 3 11s513ms 3s837ms 14 1 4s646ms 4s646ms 15 1 3s845ms 3s845ms 16 1 3s954ms 3s954ms 17 1 3s832ms 3s832ms 18 4 15s342ms 3s835ms 19 12 46s479ms 3s873ms 20 9 34s384ms 3s820ms 21 6 22s414ms 3s735ms 22 1 3s704ms 3s704ms Sep 20 00 1 3s793ms 3s793ms 01 2 7s543ms 3s771ms 03 2 7s513ms 3s756ms 04 2 7s558ms 3s779ms 05 2 7s753ms 3s876ms 06 2 7s582ms 3s791ms 08 2 7s557ms 3s778ms 09 1 3s725ms 3s725ms 12 1 3s849ms 3s849ms 13 3 11s680ms 3s893ms 14 2 7s625ms 3s812ms 15 2 7s469ms 3s734ms 18 2 7s760ms 3s880ms 19 4 15s309ms 3s827ms 20 2 7s693ms 3s846ms Sep 21 01 2 7s549ms 3s774ms 02 2 7s687ms 3s843ms 03 5 19s259ms 3s851ms 04 1 3s796ms 3s796ms 05 1 3s775ms 3s775ms 06 1 3s889ms 3s889ms 08 2 7s791ms 3s895ms 10 2 7s633ms 3s816ms 11 1 3s731ms 3s731ms 12 4 15s449ms 3s862ms 14 1 3s796ms 3s796ms 15 2 7s565ms 3s782ms 17 1 3s846ms 3s846ms 19 1 3s865ms 3s865ms 20 1 5s807ms 5s807ms [ User: pubeu - Total duration: 12m24s - Times executed: 195 ]
-
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-15 13:39:12 Duration: 15s805ms 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 = '1323115') 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 = '1323115') 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-21 20:23:07 Duration: 5s807ms 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-17 08:20:07 Duration: 5s87ms Bind query: yes
4 23m44s 1 23m44s 23m44s 23m44s copy pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Sep 21 19 1 23m44s 23m44s -
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-21 19:43:00 Duration: 23m44s
5 23m38s 1 23m38s 23m38s 23m38s copy pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Sep 21 19 1 23m38s 23m38s -
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-21 19:00:33 Duration: 23m38s
6 17m55s 9 50s946ms 2m13s 1m59s select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in ( select gcr.gene_id from gene_chem_reference gcr where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?)))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Sep 16 13 7 13m34s 1m56s Sep 19 14 1 2m13s 2m13s Sep 20 10 1 2m7s 2m7s [ User: pubeu - Total duration: 4m14s - Times executed: 2 ]
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'mRNA'))) 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 'NFE2L2')))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-09-19 14:42:34 Duration: 2m13s Bind query: yes
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'mRNA'))) 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 'NFE2L2')))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-09-16 13:30:29 Duration: 2m7s Bind query: yes
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'mRNA'))) 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 'NFE2L2')))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-09-20 10:18:00 Duration: 2m7s Bind query: yes
7 14m12s 25 33s712ms 34s401ms 34s85ms 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 #7
Day Hour Count Duration Avg duration Sep 15 06 1 34s117ms 34s117ms 10 1 34s401ms 34s401ms 14 1 34s84ms 34s84ms 18 1 34s19ms 34s19ms Sep 16 06 1 34s235ms 34s235ms 10 1 34s202ms 34s202ms 14 1 34s70ms 34s70ms 18 1 34s20ms 34s20ms Sep 17 06 1 33s995ms 33s995ms 10 1 33s931ms 33s931ms 14 1 34s124ms 34s124ms 18 1 34s139ms 34s139ms Sep 18 06 1 34s49ms 34s49ms 10 1 34s81ms 34s81ms 14 1 33s995ms 33s995ms 18 1 34s47ms 34s47ms Sep 19 06 1 34s149ms 34s149ms 10 1 34s320ms 34s320ms 14 1 34s73ms 34s73ms 18 1 34s24ms 34s24ms Sep 20 06 1 34s79ms 34s79ms 10 1 34s122ms 34s122ms 14 1 34s73ms 34s73ms 18 1 34s68ms 34s68ms Sep 21 19 1 33s712ms 33s712ms [ User: postgres - Total duration: 13m38s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 13m38s - Times executed: 24 ]
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-09-15 10:05:35 Duration: 34s401ms 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-19 10:05:36 Duration: 34s320ms 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-16 06:05:35 Duration: 34s235ms Database: ctdprd51 User: postgres Application: pg_dump
8 12m38s 666 1s52ms 1s293ms 1s138ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where exposuremarkerterm.id = ? or receptorterm.id = ? group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Sep 15 00 3 3s450ms 1s150ms 01 1 1s202ms 1s202ms 02 6 7s164ms 1s194ms 03 2 2s386ms 1s193ms 04 3 3s529ms 1s176ms 05 5 6s80ms 1s216ms 06 3 3s418ms 1s139ms 07 2 2s324ms 1s162ms 08 3 3s473ms 1s157ms 09 6 7s 1s166ms 10 2 2s240ms 1s120ms 11 5 5s641ms 1s128ms 12 5 5s677ms 1s135ms 13 4 4s457ms 1s114ms 15 3 3s378ms 1s126ms 16 8 9s109ms 1s138ms 17 2 2s218ms 1s109ms 18 5 5s657ms 1s131ms 19 2 2s256ms 1s128ms 20 5 5s601ms 1s120ms 21 3 3s348ms 1s116ms 22 1 1s224ms 1s224ms 23 2 2s362ms 1s181ms Sep 16 00 3 3s488ms 1s162ms 01 5 5s814ms 1s162ms 02 5 5s837ms 1s167ms 03 1 1s198ms 1s198ms 04 5 5s632ms 1s126ms 05 9 10s576ms 1s175ms 06 4 4s546ms 1s136ms 07 1 1s150ms 1s150ms 08 6 6s827ms 1s137ms 09 5 5s703ms 1s140ms 10 6 6s804ms 1s134ms 11 3 3s342ms 1s114ms 12 6 6s851ms 1s141ms 13 5 5s628ms 1s125ms 14 5 5s717ms 1s143ms 15 7 8s136ms 1s162ms 16 10 11s557ms 1s155ms 18 6 6s835ms 1s139ms 19 3 3s383ms 1s127ms 20 3 3s424ms 1s141ms 21 6 6s700ms 1s116ms 22 5 5s889ms 1s177ms 23 3 3s525ms 1s175ms Sep 17 00 3 3s412ms 1s137ms 01 7 8s211ms 1s173ms 02 2 2s303ms 1s151ms 03 6 6s999ms 1s166ms 04 2 2s309ms 1s154ms 05 6 7s15ms 1s169ms 06 6 6s864ms 1s144ms 07 2 2s274ms 1s137ms 08 2 2s264ms 1s132ms 09 8 9s14ms 1s126ms 10 4 4s609ms 1s152ms 11 6 6s910ms 1s151ms 12 6 6s777ms 1s129ms 13 3 3s409ms 1s136ms 14 6 6s739ms 1s123ms 15 3 3s346ms 1s115ms 16 2 2s278ms 1s139ms 17 5 5s685ms 1s137ms 18 5 5s687ms 1s137ms 19 2 2s311ms 1s155ms 20 6 6s803ms 1s133ms 21 3 3s391ms 1s130ms 22 1 1s158ms 1s158ms 23 4 4s586ms 1s146ms Sep 18 00 10 11s410ms 1s141ms 01 2 2s283ms 1s141ms 02 1 1s133ms 1s133ms 03 3 3s449ms 1s149ms 04 3 3s384ms 1s128ms 05 3 3s547ms 1s182ms 06 1 1s164ms 1s164ms 07 1 1s158ms 1s158ms 08 2 2s274ms 1s137ms 09 1 1s122ms 1s122ms 10 1 1s157ms 1s157ms 11 4 4s450ms 1s112ms 12 3 3s439ms 1s146ms 13 2 2s257ms 1s128ms 14 7 7s933ms 1s133ms 15 6 6s725ms 1s120ms 16 6 6s755ms 1s125ms 17 3 3s345ms 1s115ms 18 1 1s135ms 1s135ms 19 7 7s904ms 1s129ms 20 1 1s105ms 1s105ms 21 4 4s507ms 1s126ms 22 1 1s155ms 1s155ms 23 3 3s490ms 1s163ms Sep 19 00 3 3s333ms 1s111ms 01 5 5s693ms 1s138ms 02 5 5s737ms 1s147ms 03 2 2s262ms 1s131ms 04 4 4s598ms 1s149ms 05 5 5s907ms 1s181ms 06 4 4s597ms 1s149ms 07 2 2s242ms 1s121ms 08 5 5s625ms 1s125ms 09 6 6s694ms 1s115ms 10 6 6s754ms 1s125ms 11 8 8s980ms 1s122ms 12 4 4s498ms 1s124ms 13 9 10s136ms 1s126ms 14 7 7s940ms 1s134ms 15 3 3s390ms 1s130ms 16 3 3s399ms 1s133ms 17 3 3s343ms 1s114ms 18 1 1s124ms 1s124ms 19 3 3s348ms 1s116ms 20 4 4s504ms 1s126ms 21 3 3s362ms 1s120ms 22 4 4s569ms 1s142ms 23 4 4s613ms 1s153ms Sep 20 00 3 3s317ms 1s105ms 01 2 2s270ms 1s135ms 02 5 5s600ms 1s120ms 03 3 3s397ms 1s132ms 04 5 5s668ms 1s133ms 05 6 6s903ms 1s150ms 06 5 5s610ms 1s122ms 07 4 4s538ms 1s134ms 08 2 2s285ms 1s142ms 09 1 1s156ms 1s156ms 10 4 4s508ms 1s127ms 11 2 2s218ms 1s109ms 12 8 8s950ms 1s118ms 13 3 3s345ms 1s115ms 14 3 3s281ms 1s93ms 15 2 2s206ms 1s103ms 16 6 6s619ms 1s103ms 17 3 3s302ms 1s100ms 18 2 2s243ms 1s121ms 19 4 4s470ms 1s117ms 20 3 3s304ms 1s101ms 21 5 5s521ms 1s104ms 22 7 7s983ms 1s140ms 23 9 10s248ms 1s138ms Sep 21 00 2 2s320ms 1s160ms 01 7 7s930ms 1s132ms 02 7 8s29ms 1s147ms 03 5 5s730ms 1s146ms 04 6 6s805ms 1s134ms 05 3 3s589ms 1s196ms 06 3 3s436ms 1s145ms 07 3 3s425ms 1s141ms 08 5 5s681ms 1s136ms 09 6 6s786ms 1s131ms 10 2 2s279ms 1s139ms 11 6 6s782ms 1s130ms 12 3 3s354ms 1s118ms 13 2 2s359ms 1s179ms 14 1 1s121ms 1s121ms 15 1 1s160ms 1s160ms 16 4 4s560ms 1s140ms 17 2 2s278ms 1s139ms 18 4 4s491ms 1s122ms 19 8 8s815ms 1s101ms 21 6 6s639ms 1s106ms 22 3 3s359ms 1s119ms 23 8 9s21ms 1s127ms [ User: pubeu - Total duration: 6m29s - Times executed: 343 ]
-
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-15 05:43:42 Duration: 1s293ms 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-19 05:38:41 Duration: 1s259ms 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-16 05:38:39 Duration: 1s257ms Bind query: yes
9 7m33s 18 4s886ms 40s706ms 25s218ms 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 #9
Day Hour Count Duration Avg duration Sep 16 12 6 3m45s 37s556ms 13 3 1m49s 36s371ms Sep 17 22 3 18s831ms 6s277ms Sep 18 15 6 1m40s 16s775ms [ User: pubeu - Total duration: 4m52s - Times executed: 10 ]
-
SELECT /* BatchChemGODAO */ 'd000082' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1341439)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-09-16 13:02:00 Duration: 40s706ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchChemGODAO */ 'd000082' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1341439)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-09-16 12:57:05 Duration: 40s457ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchChemGODAO */ 'd000082' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1341439)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-09-16 12:37:48 Duration: 40s323ms Database: ctdprd51 User: pubeu Bind query: yes
10 6m49s 1 6m49s 6m49s 6m49s copy pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Sep 21 19 1 6m49s 6m49s -
COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-09-21 19:54:43 Duration: 6m49s
11 6m49s 1 6m49s 6m49s 6m49s copy pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Sep 21 19 1 6m49s 6m49s -
COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-09-21 19:12:16 Duration: 6m49s
12 6m47s 301 1s340ms 1s564ms 1s354ms select coalesce(d.abbr_display, d.nm_display) nm # ?, d.description # ?, coalesce(d.abbr, d.nm) anchor # ?, get_homepage_url (d.id) url # ? from db d # ? where d.id in (# ? select l.db_id # ? from db_link l # ? where l.type_cd = ? # ? and l.object_type_id = ?) # ? order by ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Sep 15 04 1 1s363ms 1s363ms 05 2 2s692ms 1s346ms 09 3 4s71ms 1s357ms 10 2 2s703ms 1s351ms 11 3 4s60ms 1s353ms 12 2 2s703ms 1s351ms 13 4 5s395ms 1s348ms 14 1 1s355ms 1s355ms 15 2 2s697ms 1s348ms 16 1 1s346ms 1s346ms 17 1 1s346ms 1s346ms 18 1 1s360ms 1s360ms 19 2 2s696ms 1s348ms 20 2 2s705ms 1s352ms 21 1 1s353ms 1s353ms 22 2 2s712ms 1s356ms 23 1 1s367ms 1s367ms Sep 16 00 1 1s341ms 1s341ms 01 1 1s352ms 1s352ms 02 2 2s708ms 1s354ms 03 1 1s355ms 1s355ms 04 2 2s722ms 1s361ms 05 4 5s469ms 1s367ms 06 1 1s354ms 1s354ms 07 2 2s712ms 1s356ms 08 1 1s345ms 1s345ms 09 1 1s345ms 1s345ms 10 1 1s355ms 1s355ms 11 3 4s67ms 1s355ms 12 1 1s347ms 1s347ms 13 2 2s692ms 1s346ms 14 1 1s347ms 1s347ms 15 1 1s348ms 1s348ms 16 2 2s699ms 1s349ms 17 1 1s352ms 1s352ms 18 2 2s705ms 1s352ms 19 1 1s349ms 1s349ms 20 1 1s352ms 1s352ms 21 3 4s54ms 1s351ms 22 2 2s702ms 1s351ms 23 1 1s354ms 1s354ms Sep 17 00 1 1s351ms 1s351ms 01 1 1s353ms 1s353ms 02 2 2s698ms 1s349ms 03 1 1s509ms 1s509ms 04 1 1s352ms 1s352ms 05 4 5s406ms 1s351ms 06 1 1s356ms 1s356ms 08 3 4s39ms 1s346ms 09 1 1s354ms 1s354ms 10 2 2s726ms 1s363ms 11 1 1s350ms 1s350ms 12 2 2s698ms 1s349ms 13 1 1s351ms 1s351ms 14 1 1s350ms 1s350ms 15 2 2s693ms 1s346ms 16 1 1s359ms 1s359ms 17 1 1s352ms 1s352ms 18 2 2s703ms 1s351ms 19 1 1s351ms 1s351ms 20 2 2s692ms 1s346ms 21 1 1s347ms 1s347ms 22 1 1s376ms 1s376ms 23 2 2s697ms 1s348ms Sep 18 00 2 2s692ms 1s346ms 02 2 2s692ms 1s346ms 03 2 2s714ms 1s357ms 04 1 1s349ms 1s349ms 05 3 4s50ms 1s350ms 06 1 1s345ms 1s345ms 07 1 1s350ms 1s350ms 08 2 2s702ms 1s351ms 09 1 1s352ms 1s352ms 10 1 1s349ms 1s349ms 11 1 1s355ms 1s355ms 12 2 2s706ms 1s353ms 13 1 1s352ms 1s352ms 14 2 2s703ms 1s351ms 15 1 1s352ms 1s352ms 16 3 4s68ms 1s356ms 17 1 1s351ms 1s351ms 18 2 2s700ms 1s350ms 19 1 1s348ms 1s348ms 20 1 1s348ms 1s348ms 21 1 1s367ms 1s367ms 22 3 4s85ms 1s361ms Sep 19 00 2 2s706ms 1s353ms 01 1 1s348ms 1s348ms 02 2 2s695ms 1s347ms 03 1 1s381ms 1s381ms 04 1 1s346ms 1s346ms 05 2 2s687ms 1s343ms 11 1 1s351ms 1s351ms 12 1 1s356ms 1s356ms 18 1 1s351ms 1s351ms 23 1 1s357ms 1s357ms Sep 20 01 2 2s702ms 1s351ms 05 2 2s708ms 1s354ms 07 1 1s347ms 1s347ms 08 1 1s344ms 1s344ms 13 1 1s357ms 1s357ms 14 1 1s349ms 1s349ms 18 3 4s53ms 1s351ms 19 4 5s416ms 1s354ms 20 5 6s763ms 1s352ms 21 7 9s444ms 1s349ms 22 4 5s405ms 1s351ms 23 3 4s53ms 1s351ms Sep 21 00 5 6s759ms 1s351ms 01 3 4s79ms 1s359ms 02 9 12s147ms 1s349ms 03 8 10s795ms 1s349ms 04 4 5s393ms 1s348ms 05 4 5s421ms 1s355ms 06 1 1s350ms 1s350ms 07 5 6s796ms 1s359ms 08 2 2s702ms 1s351ms 09 7 9s555ms 1s365ms 10 4 5s430ms 1s357ms 11 4 5s400ms 1s350ms 12 3 4s51ms 1s350ms 13 5 6s774ms 1s354ms 14 2 2s710ms 1s355ms 15 2 2s732ms 1s366ms 16 5 6s913ms 1s382ms 17 7 9s445ms 1s349ms 18 5 6s874ms 1s374ms 19 3 4s72ms 1s357ms 20 7 9s654ms 1s379ms 21 7 9s473ms 1s353ms 22 6 8s122ms 1s353ms 23 7 9s469ms 1s352ms [ User: pubeu - Total duration: 3m28s - Times executed: 154 ]
-
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-21 20:28:43 Duration: 1s564ms 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-17 03:22:07 Duration: 1s509ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2024-09-21 16:27:24 Duration: 1s481ms Database: ctdprd51 User: pubeu Bind query: yes
13 6m45s 113 1s5ms 10s992ms 3s591ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Sep 15 03 1 1s271ms 1s271ms 04 1 2s635ms 2s635ms 06 3 5s395ms 1s798ms 08 20 1m13s 3s671ms 09 1 2s466ms 2s466ms 10 1 1s50ms 1s50ms 16 1 10s47ms 10s47ms 19 1 2s534ms 2s534ms 22 1 10s143ms 10s143ms Sep 16 00 3 6s88ms 2s29ms 01 1 1s176ms 1s176ms 03 1 1s342ms 1s342ms 04 2 10s852ms 5s426ms 05 3 3s462ms 1s154ms 06 1 1s153ms 1s153ms 08 1 10s4ms 10s4ms 09 4 33s874ms 8s468ms 10 1 1s285ms 1s285ms 14 1 1s288ms 1s288ms 23 1 2s398ms 2s398ms Sep 17 01 1 1s18ms 1s18ms 04 1 1s79ms 1s79ms 13 1 4s956ms 4s956ms 16 1 1s305ms 1s305ms 23 1 2s361ms 2s361ms Sep 18 01 2 2s57ms 1s28ms 02 1 3s154ms 3s154ms 07 4 20s921ms 5s230ms 08 2 5s904ms 2s952ms 09 1 9s862ms 9s862ms 10 2 2s203ms 1s101ms 15 1 1s27ms 1s27ms 19 1 1s284ms 1s284ms 20 2 10s251ms 5s125ms 21 3 4s976ms 1s658ms 22 4 25s408ms 6s352ms 23 3 5s940ms 1s980ms Sep 19 02 1 2s708ms 2s708ms 12 1 1s115ms 1s115ms 13 1 1s120ms 1s120ms 17 1 2s116ms 2s116ms 21 1 1s527ms 1s527ms 23 2 5s22ms 2s511ms Sep 20 02 1 1s559ms 1s559ms 03 1 2s718ms 2s718ms 07 1 3s94ms 3s94ms 08 1 1s313ms 1s313ms 13 1 2s301ms 2s301ms 17 1 5s800ms 5s800ms 21 1 9s937ms 9s937ms 22 3 11s693ms 3s897ms 23 1 2s406ms 2s406ms Sep 21 00 1 10s494ms 10s494ms 01 1 1s14ms 1s14ms 02 1 9s979ms 9s979ms 04 1 1s81ms 1s81ms 06 1 10s240ms 10s240ms 07 1 1s295ms 1s295ms 09 1 6s474ms 6s474ms 10 1 4s570ms 4s570ms 12 1 1s219ms 1s219ms 13 2 12s154ms 6s77ms 17 1 1s70ms 1s70ms 18 1 2s506ms 2s506ms 22 2 3s718ms 1s859ms [ User: pubeu - Total duration: 3m42s - Times executed: 55 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2086129') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-09-18 22:59:40 Duration: 10s992ms 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-16 09:26:22 Duration: 10s700ms 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-18 22:59:37 Duration: 10s672ms Bind query: yes
14 6m3s 25 14s369ms 15s714ms 14s558ms 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 #14
Day Hour Count Duration Avg duration Sep 15 06 1 14s549ms 14s549ms 10 1 14s504ms 14s504ms 14 1 14s634ms 14s634ms 18 1 14s369ms 14s369ms Sep 16 06 1 14s626ms 14s626ms 10 1 14s479ms 14s479ms 14 1 14s436ms 14s436ms 18 1 14s412ms 14s412ms Sep 17 06 1 14s937ms 14s937ms 10 1 14s487ms 14s487ms 14 1 14s565ms 14s565ms 18 1 14s423ms 14s423ms Sep 18 06 1 14s495ms 14s495ms 10 1 14s508ms 14s508ms 14 1 14s477ms 14s477ms 18 1 14s523ms 14s523ms Sep 19 06 1 14s521ms 14s521ms 10 1 15s714ms 15s714ms 14 1 14s442ms 14s442ms 18 1 14s467ms 14s467ms Sep 20 06 1 14s433ms 14s433ms 10 1 14s544ms 14s544ms 14 1 14s451ms 14s451ms 18 1 14s519ms 14s519ms Sep 21 18 1 14s429ms 14s429ms [ User: postgres - Total duration: 6m3s - Times executed: 25 ]
[ Application: pg_dump - Total duration: 6m3s - Times executed: 25 ]
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-19 10:00:17 Duration: 15s714ms 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-17 06:00:17 Duration: 14s937ms 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-15 14:00:16 Duration: 14s634ms Database: ctdprd51 User: postgres Application: pg_dump
15 5m52s 75 4s110ms 5s353ms 4s703ms 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 15 02 2 9s146ms 4s573ms 03 1 4s983ms 4s983ms 06 3 14s878ms 4s959ms 07 1 4s283ms 4s283ms 08 1 5s225ms 5s225ms 09 1 4s110ms 4s110ms 21 2 9s960ms 4s980ms Sep 16 03 2 8s946ms 4s473ms 04 1 4s220ms 4s220ms 09 2 9s56ms 4s528ms 10 1 4s356ms 4s356ms 14 2 9s905ms 4s952ms Sep 17 00 1 5s118ms 5s118ms 04 3 14s169ms 4s723ms 09 1 4s335ms 4s335ms 13 6 27s759ms 4s626ms 19 1 5s353ms 5s353ms 20 1 4s509ms 4s509ms 21 1 4s657ms 4s657ms 22 2 9s901ms 4s950ms Sep 18 00 5 24s217ms 4s843ms 01 1 5s290ms 5s290ms 03 1 4s423ms 4s423ms 04 1 5s249ms 5s249ms 05 1 4s233ms 4s233ms 23 1 4s457ms 4s457ms Sep 19 02 1 4s494ms 4s494ms 03 2 8s921ms 4s460ms 04 3 13s866ms 4s622ms 12 1 4s918ms 4s918ms 22 1 4s342ms 4s342ms 23 1 4s487ms 4s487ms Sep 20 04 1 4s525ms 4s525ms 10 1 4s437ms 4s437ms 11 1 4s219ms 4s219ms 13 1 4s847ms 4s847ms 14 1 4s618ms 4s618ms 18 2 9s839ms 4s919ms 23 2 8s699ms 4s349ms Sep 21 01 1 5s248ms 5s248ms 10 3 14s692ms 4s897ms 14 2 10s152ms 5s76ms 15 3 13s841ms 4s613ms 17 1 4s550ms 4s550ms 18 2 9s319ms 4s659ms [ User: pubeu - Total duration: 3m11s - Times executed: 41 ]
-
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 = '1310804' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-09-17 19:14:40 Duration: 5s353ms 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 = '1428797' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-09-15 06:49:51 Duration: 5s342ms 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 = '1397671' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-09-18 01:19:10 Duration: 5s290ms Bind query: yes
16 5m51s 25 13s990ms 14s113ms 14s59ms copy edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Sep 15 06 1 14s83ms 14s83ms 10 1 14s113ms 14s113ms 14 1 14s82ms 14s82ms 18 1 14s36ms 14s36ms Sep 16 06 1 14s62ms 14s62ms 10 1 14s98ms 14s98ms 14 1 14s85ms 14s85ms 18 1 14s42ms 14s42ms Sep 17 06 1 14s97ms 14s97ms 10 1 14s86ms 14s86ms 14 1 14s70ms 14s70ms 18 1 14s12ms 14s12ms Sep 18 06 1 14s20ms 14s20ms 10 1 14s34ms 14s34ms 14 1 14s58ms 14s58ms 18 1 14s92ms 14s92ms Sep 19 06 1 14s107ms 14s107ms 10 1 14s62ms 14s62ms 14 1 14s40ms 14s40ms 18 1 14s7ms 14s7ms Sep 20 06 1 14s55ms 14s55ms 10 1 14s9ms 14s9ms 14 1 13s990ms 13s990ms 18 1 14s39ms 14s39ms Sep 21 18 1 14s85ms 14s85ms -
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-15 10:00:58 Duration: 14s113ms
-
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-19 06:00:58 Duration: 14s107ms
-
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-16 10:00:58 Duration: 14s98ms
17 5m38s 25 13s386ms 14s472ms 13s544ms copy edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Sep 15 06 1 13s527ms 13s527ms 10 1 13s464ms 13s464ms 14 1 13s509ms 13s509ms 18 1 13s386ms 13s386ms Sep 16 06 1 13s516ms 13s516ms 10 1 13s470ms 13s470ms 14 1 13s445ms 13s445ms 18 1 13s435ms 13s435ms Sep 17 06 1 13s569ms 13s569ms 10 1 13s490ms 13s490ms 14 1 13s495ms 13s495ms 18 1 13s446ms 13s446ms Sep 18 06 1 13s441ms 13s441ms 10 1 13s433ms 13s433ms 14 1 13s741ms 13s741ms 18 1 13s488ms 13s488ms Sep 19 06 1 13s521ms 13s521ms 10 1 14s472ms 14s472ms 14 1 13s538ms 13s538ms 18 1 13s546ms 13s546ms Sep 20 06 1 13s544ms 13s544ms 10 1 13s594ms 13s594ms 14 1 13s509ms 13s509ms 18 1 13s514ms 13s514ms Sep 21 18 1 13s519ms 13s519ms -
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-19 10:00:47 Duration: 14s472ms
-
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-18 14:00:45 Duration: 13s741ms
-
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-20 10:00:44 Duration: 13s594ms
18 4m15s 59 1s84ms 43s228ms 4s331ms 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 #18
Day Hour Count Duration Avg duration Sep 15 00 1 1s787ms 1s787ms 04 1 13s824ms 13s824ms 05 1 1s426ms 1s426ms 21 1 1s494ms 1s494ms Sep 16 00 11 36s73ms 3s279ms 01 3 8s392ms 2s797ms 10 1 1s608ms 1s608ms 14 1 1s134ms 1s134ms 20 1 14s542ms 14s542ms 23 1 1s509ms 1s509ms Sep 17 03 1 14s273ms 14s273ms 05 1 4s582ms 4s582ms 06 1 1s342ms 1s342ms 10 2 17s832ms 8s916ms 12 1 2s560ms 2s560ms 13 10 15s891ms 1s589ms 16 1 1s442ms 1s442ms 22 1 1s764ms 1s764ms Sep 18 00 1 1s411ms 1s411ms 05 1 4s599ms 4s599ms 10 2 3s973ms 1s986ms 21 3 1m3s 21s32ms 22 2 6s688ms 3s344ms Sep 19 00 2 3s78ms 1s539ms 02 1 1s84ms 1s84ms 05 1 4s562ms 4s562ms 09 1 15s2ms 15s2ms 12 1 3s139ms 3s139ms 14 1 1s802ms 1s802ms Sep 20 06 1 1s150ms 1s150ms Sep 21 23 2 4s496ms 2s248ms [ User: pubeu - Total duration: 2m59s - Times executed: 33 ]
-
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 = '2078851') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-09-18 21:06:23 Duration: 43s228ms 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 = '2085888') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-09-18 21:36:31 Duration: 16s478ms 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 = '2079317') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-09-17 10:13:28 Duration: 16s187ms Database: ctdprd51 User: pubeu Bind query: yes
19 3m54s 29 1s22ms 46s132ms 8s90ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Sep 15 02 1 18s31ms 18s31ms 03 1 5s377ms 5s377ms 14 1 1s158ms 1s158ms 22 1 2s705ms 2s705ms Sep 16 00 1 2s927ms 2s927ms 06 1 2s929ms 2s929ms 12 1 5s245ms 5s245ms 18 1 2s993ms 2s993ms 19 1 5s372ms 5s372ms Sep 17 16 1 14s334ms 14s334ms Sep 18 01 3 3s225ms 1s75ms 08 1 5s265ms 5s265ms 10 1 1s715ms 1s715ms 11 1 1s709ms 1s709ms 19 1 2s492ms 2s492ms 22 4 2m5s 31s300ms Sep 20 00 1 4s779ms 4s779ms 04 1 1s963ms 1s963ms 08 1 1s22ms 1s22ms 14 1 2s418ms 2s418ms 19 1 3s146ms 3s146ms 21 1 4s579ms 4s579ms Sep 21 07 1 3s12ms 3s12ms 11 1 13s10ms 13s10ms [ User: pubeu - Total duration: 2m21s - Times executed: 17 ]
-
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 = '2078851') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2499950;
Date: 2024-09-18 22:02:20 Duration: 46s132ms 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 = '2078851') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 6247450;
Date: 2024-09-18 22:17:44 Duration: 37s968ms 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 = '2078851') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 6247150;
Date: 2024-09-18 22:19:38 Duration: 37s960ms Database: ctdprd51 User: pubeu Bind query: yes
20 3m25s 164 1s145ms 1s499ms 1s251ms 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 #20
Day Hour Count Duration Avg duration Sep 15 01 4 5s195ms 1s298ms 03 1 1s289ms 1s289ms 04 1 1s304ms 1s304ms 05 5 6s628ms 1s325ms 06 2 2s728ms 1s364ms 07 1 1s269ms 1s269ms 08 1 1s273ms 1s273ms 11 2 2s498ms 1s249ms 14 2 2s493ms 1s246ms 15 1 1s249ms 1s249ms 16 3 3s596ms 1s198ms 17 1 1s251ms 1s251ms 18 2 2s547ms 1s273ms 19 2 2s451ms 1s225ms 21 2 2s534ms 1s267ms 23 1 1s207ms 1s207ms Sep 16 00 1 1s205ms 1s205ms 02 1 1s260ms 1s260ms 05 3 4s5ms 1s335ms 06 3 3s840ms 1s280ms 08 1 1s236ms 1s236ms 09 3 3s745ms 1s248ms 10 1 1s233ms 1s233ms 14 1 1s322ms 1s322ms 21 1 1s169ms 1s169ms Sep 17 01 2 2s535ms 1s267ms 03 2 2s772ms 1s386ms 04 1 1s312ms 1s312ms 05 5 6s420ms 1s284ms 07 1 1s233ms 1s233ms 10 2 2s486ms 1s243ms 11 1 1s201ms 1s201ms 12 1 1s204ms 1s204ms 13 1 1s248ms 1s248ms 14 2 2s461ms 1s230ms 16 1 1s196ms 1s196ms 18 2 2s468ms 1s234ms 19 3 3s698ms 1s232ms 21 1 1s228ms 1s228ms 23 2 2s565ms 1s282ms Sep 18 02 1 1s315ms 1s315ms 03 1 1s225ms 1s225ms 05 2 2s656ms 1s328ms 06 3 3s609ms 1s203ms 07 2 2s472ms 1s236ms 08 1 1s171ms 1s171ms 10 1 1s273ms 1s273ms 12 1 1s237ms 1s237ms 14 1 1s232ms 1s232ms 15 1 1s172ms 1s172ms 16 4 4s900ms 1s225ms 17 2 2s462ms 1s231ms 21 2 2s500ms 1s250ms 23 1 1s241ms 1s241ms Sep 19 00 1 1s218ms 1s218ms 03 1 1s236ms 1s236ms 04 1 1s257ms 1s257ms 05 2 2s669ms 1s334ms 06 2 2s495ms 1s247ms 08 1 1s248ms 1s248ms 09 1 1s254ms 1s254ms 12 1 1s208ms 1s208ms 13 4 4s848ms 1s212ms 14 1 1s238ms 1s238ms 15 2 2s416ms 1s208ms 17 1 1s249ms 1s249ms 18 1 1s145ms 1s145ms 19 2 2s398ms 1s199ms 20 1 1s210ms 1s210ms 23 1 1s237ms 1s237ms Sep 20 00 1 1s236ms 1s236ms 01 1 1s256ms 1s256ms 02 1 1s178ms 1s178ms 03 2 2s368ms 1s184ms 04 2 2s482ms 1s241ms 05 7 8s947ms 1s278ms 06 4 4s851ms 1s212ms 09 3 3s649ms 1s216ms 11 1 1s182ms 1s182ms 12 1 1s227ms 1s227ms 14 1 1s214ms 1s214ms 16 2 2s694ms 1s347ms 17 1 1s188ms 1s188ms 18 1 1s236ms 1s236ms 19 1 1s223ms 1s223ms 20 2 2s485ms 1s242ms 21 1 1s235ms 1s235ms 22 1 1s197ms 1s197ms 23 1 1s227ms 1s227ms Sep 21 00 1 1s226ms 1s226ms 04 1 1s176ms 1s176ms 05 2 2s617ms 1s308ms 06 1 1s172ms 1s172ms 08 1 1s224ms 1s224ms 12 1 1s251ms 1s251ms 14 1 1s230ms 1s230ms 15 1 1s466ms 1s466ms 16 1 1s230ms 1s230ms 22 1 1s253ms 1s253ms [ User: pubeu - Total duration: 1m43s - Times executed: 83 ]
[ User: qaeu - Total duration: 8s78ms - 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 = '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-17 03:36:22 Duration: 1s499ms 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-15 06:24:58 Duration: 1s478ms 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-20 16:10:05 Duration: 1s471ms Database: ctdprd51 User: pubeu Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 666 12m38s 1s52ms 1s293ms 1s138ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where exposuremarkerterm.id = ? or receptorterm.id = ? group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Sep 15 00 3 3s450ms 1s150ms 01 1 1s202ms 1s202ms 02 6 7s164ms 1s194ms 03 2 2s386ms 1s193ms 04 3 3s529ms 1s176ms 05 5 6s80ms 1s216ms 06 3 3s418ms 1s139ms 07 2 2s324ms 1s162ms 08 3 3s473ms 1s157ms 09 6 7s 1s166ms 10 2 2s240ms 1s120ms 11 5 5s641ms 1s128ms 12 5 5s677ms 1s135ms 13 4 4s457ms 1s114ms 15 3 3s378ms 1s126ms 16 8 9s109ms 1s138ms 17 2 2s218ms 1s109ms 18 5 5s657ms 1s131ms 19 2 2s256ms 1s128ms 20 5 5s601ms 1s120ms 21 3 3s348ms 1s116ms 22 1 1s224ms 1s224ms 23 2 2s362ms 1s181ms Sep 16 00 3 3s488ms 1s162ms 01 5 5s814ms 1s162ms 02 5 5s837ms 1s167ms 03 1 1s198ms 1s198ms 04 5 5s632ms 1s126ms 05 9 10s576ms 1s175ms 06 4 4s546ms 1s136ms 07 1 1s150ms 1s150ms 08 6 6s827ms 1s137ms 09 5 5s703ms 1s140ms 10 6 6s804ms 1s134ms 11 3 3s342ms 1s114ms 12 6 6s851ms 1s141ms 13 5 5s628ms 1s125ms 14 5 5s717ms 1s143ms 15 7 8s136ms 1s162ms 16 10 11s557ms 1s155ms 18 6 6s835ms 1s139ms 19 3 3s383ms 1s127ms 20 3 3s424ms 1s141ms 21 6 6s700ms 1s116ms 22 5 5s889ms 1s177ms 23 3 3s525ms 1s175ms Sep 17 00 3 3s412ms 1s137ms 01 7 8s211ms 1s173ms 02 2 2s303ms 1s151ms 03 6 6s999ms 1s166ms 04 2 2s309ms 1s154ms 05 6 7s15ms 1s169ms 06 6 6s864ms 1s144ms 07 2 2s274ms 1s137ms 08 2 2s264ms 1s132ms 09 8 9s14ms 1s126ms 10 4 4s609ms 1s152ms 11 6 6s910ms 1s151ms 12 6 6s777ms 1s129ms 13 3 3s409ms 1s136ms 14 6 6s739ms 1s123ms 15 3 3s346ms 1s115ms 16 2 2s278ms 1s139ms 17 5 5s685ms 1s137ms 18 5 5s687ms 1s137ms 19 2 2s311ms 1s155ms 20 6 6s803ms 1s133ms 21 3 3s391ms 1s130ms 22 1 1s158ms 1s158ms 23 4 4s586ms 1s146ms Sep 18 00 10 11s410ms 1s141ms 01 2 2s283ms 1s141ms 02 1 1s133ms 1s133ms 03 3 3s449ms 1s149ms 04 3 3s384ms 1s128ms 05 3 3s547ms 1s182ms 06 1 1s164ms 1s164ms 07 1 1s158ms 1s158ms 08 2 2s274ms 1s137ms 09 1 1s122ms 1s122ms 10 1 1s157ms 1s157ms 11 4 4s450ms 1s112ms 12 3 3s439ms 1s146ms 13 2 2s257ms 1s128ms 14 7 7s933ms 1s133ms 15 6 6s725ms 1s120ms 16 6 6s755ms 1s125ms 17 3 3s345ms 1s115ms 18 1 1s135ms 1s135ms 19 7 7s904ms 1s129ms 20 1 1s105ms 1s105ms 21 4 4s507ms 1s126ms 22 1 1s155ms 1s155ms 23 3 3s490ms 1s163ms Sep 19 00 3 3s333ms 1s111ms 01 5 5s693ms 1s138ms 02 5 5s737ms 1s147ms 03 2 2s262ms 1s131ms 04 4 4s598ms 1s149ms 05 5 5s907ms 1s181ms 06 4 4s597ms 1s149ms 07 2 2s242ms 1s121ms 08 5 5s625ms 1s125ms 09 6 6s694ms 1s115ms 10 6 6s754ms 1s125ms 11 8 8s980ms 1s122ms 12 4 4s498ms 1s124ms 13 9 10s136ms 1s126ms 14 7 7s940ms 1s134ms 15 3 3s390ms 1s130ms 16 3 3s399ms 1s133ms 17 3 3s343ms 1s114ms 18 1 1s124ms 1s124ms 19 3 3s348ms 1s116ms 20 4 4s504ms 1s126ms 21 3 3s362ms 1s120ms 22 4 4s569ms 1s142ms 23 4 4s613ms 1s153ms Sep 20 00 3 3s317ms 1s105ms 01 2 2s270ms 1s135ms 02 5 5s600ms 1s120ms 03 3 3s397ms 1s132ms 04 5 5s668ms 1s133ms 05 6 6s903ms 1s150ms 06 5 5s610ms 1s122ms 07 4 4s538ms 1s134ms 08 2 2s285ms 1s142ms 09 1 1s156ms 1s156ms 10 4 4s508ms 1s127ms 11 2 2s218ms 1s109ms 12 8 8s950ms 1s118ms 13 3 3s345ms 1s115ms 14 3 3s281ms 1s93ms 15 2 2s206ms 1s103ms 16 6 6s619ms 1s103ms 17 3 3s302ms 1s100ms 18 2 2s243ms 1s121ms 19 4 4s470ms 1s117ms 20 3 3s304ms 1s101ms 21 5 5s521ms 1s104ms 22 7 7s983ms 1s140ms 23 9 10s248ms 1s138ms Sep 21 00 2 2s320ms 1s160ms 01 7 7s930ms 1s132ms 02 7 8s29ms 1s147ms 03 5 5s730ms 1s146ms 04 6 6s805ms 1s134ms 05 3 3s589ms 1s196ms 06 3 3s436ms 1s145ms 07 3 3s425ms 1s141ms 08 5 5s681ms 1s136ms 09 6 6s786ms 1s131ms 10 2 2s279ms 1s139ms 11 6 6s782ms 1s130ms 12 3 3s354ms 1s118ms 13 2 2s359ms 1s179ms 14 1 1s121ms 1s121ms 15 1 1s160ms 1s160ms 16 4 4s560ms 1s140ms 17 2 2s278ms 1s139ms 18 4 4s491ms 1s122ms 19 8 8s815ms 1s101ms 21 6 6s639ms 1s106ms 22 3 3s359ms 1s119ms 23 8 9s21ms 1s127ms [ User: pubeu - Total duration: 6m29s - Times executed: 343 ]
-
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-15 05:43:42 Duration: 1s293ms 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-19 05:38:41 Duration: 1s259ms 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-16 05:38:39 Duration: 1s257ms Bind query: yes
2 487 31m9s 3s668ms 15s805ms 3s839ms select coalesce(st.alt_nm, t.nm) slimtermnm, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.curated_reference_qty > ?) curatedcount, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.indirect_gene_qty > ?) inferredcount from slim_term st inner join term t on st.slim_term_id = t.id where st.slim_id = ? order by ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Sep 15 00 1 3s821ms 3s821ms 03 1 3s884ms 3s884ms 05 3 11s205ms 3s735ms 08 30 1m53s 3s788ms 09 19 1m11s 3s748ms 12 2 7s738ms 3s869ms 13 22 1m35s 4s345ms 14 55 3m28s 3s786ms 15 43 2m43s 3s791ms 16 13 49s298ms 3s792ms 17 29 1m49s 3s787ms 19 2 7s540ms 3s770ms 20 1 4s131ms 4s131ms 21 1 3s946ms 3s946ms 22 1 3s796ms 3s796ms 23 1 3s745ms 3s745ms Sep 16 01 2 7s436ms 3s718ms 02 4 15s581ms 3s895ms 03 5 18s815ms 3s763ms 05 1 3s764ms 3s764ms 06 2 7s630ms 3s815ms 07 3 11s355ms 3s785ms 08 1 3s872ms 3s872ms 09 3 11s971ms 3s990ms 10 4 15s742ms 3s935ms 12 2 7s741ms 3s870ms 13 1 3s800ms 3s800ms 14 2 7s541ms 3s770ms 15 2 7s507ms 3s753ms 16 3 11s364ms 3s788ms 17 1 3s896ms 3s896ms 18 1 3s877ms 3s877ms 21 1 3s804ms 3s804ms 22 1 3s845ms 3s845ms Sep 17 00 3 11s433ms 3s811ms 02 1 3s822ms 3s822ms 03 1 3s787ms 3s787ms 04 2 7s613ms 3s806ms 05 1 3s766ms 3s766ms 08 6 24s599ms 4s99ms 09 2 7s606ms 3s803ms 10 1 3s784ms 3s784ms 11 4 15s83ms 3s770ms 13 2 8s715ms 4s357ms 15 2 7s601ms 3s800ms 16 3 11s331ms 3s777ms 17 2 7s818ms 3s909ms 18 3 11s833ms 3s944ms 19 2 7s514ms 3s757ms 22 1 3s854ms 3s854ms 23 1 3s729ms 3s729ms Sep 18 00 1 3s927ms 3s927ms 01 7 26s398ms 3s771ms 03 2 7s605ms 3s802ms 04 6 22s381ms 3s730ms 05 4 15s825ms 3s956ms 06 1 3s775ms 3s775ms 07 3 11s409ms 3s803ms 08 3 11s309ms 3s769ms 09 2 7s527ms 3s763ms 10 5 19s89ms 3s817ms 11 1 3s753ms 3s753ms 12 1 3s759ms 3s759ms 13 2 7s522ms 3s761ms 14 2 7s461ms 3s730ms 15 1 3s828ms 3s828ms 16 1 3s764ms 3s764ms 20 2 7s479ms 3s739ms 21 1 3s842ms 3s842ms 22 1 3s771ms 3s771ms 23 2 7s539ms 3s769ms Sep 19 00 7 26s631ms 3s804ms 01 6 22s605ms 3s767ms 02 6 22s626ms 3s771ms 03 7 26s620ms 3s802ms 04 2 7s862ms 3s931ms 06 2 7s552ms 3s776ms 07 1 3s718ms 3s718ms 08 4 15s663ms 3s915ms 09 3 11s349ms 3s783ms 10 1 3s727ms 3s727ms 11 1 3s748ms 3s748ms 12 3 11s426ms 3s808ms 13 3 11s513ms 3s837ms 14 1 4s646ms 4s646ms 15 1 3s845ms 3s845ms 16 1 3s954ms 3s954ms 17 1 3s832ms 3s832ms 18 4 15s342ms 3s835ms 19 12 46s479ms 3s873ms 20 9 34s384ms 3s820ms 21 6 22s414ms 3s735ms 22 1 3s704ms 3s704ms Sep 20 00 1 3s793ms 3s793ms 01 2 7s543ms 3s771ms 03 2 7s513ms 3s756ms 04 2 7s558ms 3s779ms 05 2 7s753ms 3s876ms 06 2 7s582ms 3s791ms 08 2 7s557ms 3s778ms 09 1 3s725ms 3s725ms 12 1 3s849ms 3s849ms 13 3 11s680ms 3s893ms 14 2 7s625ms 3s812ms 15 2 7s469ms 3s734ms 18 2 7s760ms 3s880ms 19 4 15s309ms 3s827ms 20 2 7s693ms 3s846ms Sep 21 01 2 7s549ms 3s774ms 02 2 7s687ms 3s843ms 03 5 19s259ms 3s851ms 04 1 3s796ms 3s796ms 05 1 3s775ms 3s775ms 06 1 3s889ms 3s889ms 08 2 7s791ms 3s895ms 10 2 7s633ms 3s816ms 11 1 3s731ms 3s731ms 12 4 15s449ms 3s862ms 14 1 3s796ms 3s796ms 15 2 7s565ms 3s782ms 17 1 3s846ms 3s846ms 19 1 3s865ms 3s865ms 20 1 5s807ms 5s807ms [ User: pubeu - Total duration: 12m24s - Times executed: 195 ]
-
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-15 13:39:12 Duration: 15s805ms 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 = '1323115') 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 = '1323115') 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-21 20:23:07 Duration: 5s807ms 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-17 08:20:07 Duration: 5s87ms Bind query: yes
3 301 6m47s 1s340ms 1s564ms 1s354ms 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 #3
Day Hour Count Duration Avg duration Sep 15 04 1 1s363ms 1s363ms 05 2 2s692ms 1s346ms 09 3 4s71ms 1s357ms 10 2 2s703ms 1s351ms 11 3 4s60ms 1s353ms 12 2 2s703ms 1s351ms 13 4 5s395ms 1s348ms 14 1 1s355ms 1s355ms 15 2 2s697ms 1s348ms 16 1 1s346ms 1s346ms 17 1 1s346ms 1s346ms 18 1 1s360ms 1s360ms 19 2 2s696ms 1s348ms 20 2 2s705ms 1s352ms 21 1 1s353ms 1s353ms 22 2 2s712ms 1s356ms 23 1 1s367ms 1s367ms Sep 16 00 1 1s341ms 1s341ms 01 1 1s352ms 1s352ms 02 2 2s708ms 1s354ms 03 1 1s355ms 1s355ms 04 2 2s722ms 1s361ms 05 4 5s469ms 1s367ms 06 1 1s354ms 1s354ms 07 2 2s712ms 1s356ms 08 1 1s345ms 1s345ms 09 1 1s345ms 1s345ms 10 1 1s355ms 1s355ms 11 3 4s67ms 1s355ms 12 1 1s347ms 1s347ms 13 2 2s692ms 1s346ms 14 1 1s347ms 1s347ms 15 1 1s348ms 1s348ms 16 2 2s699ms 1s349ms 17 1 1s352ms 1s352ms 18 2 2s705ms 1s352ms 19 1 1s349ms 1s349ms 20 1 1s352ms 1s352ms 21 3 4s54ms 1s351ms 22 2 2s702ms 1s351ms 23 1 1s354ms 1s354ms Sep 17 00 1 1s351ms 1s351ms 01 1 1s353ms 1s353ms 02 2 2s698ms 1s349ms 03 1 1s509ms 1s509ms 04 1 1s352ms 1s352ms 05 4 5s406ms 1s351ms 06 1 1s356ms 1s356ms 08 3 4s39ms 1s346ms 09 1 1s354ms 1s354ms 10 2 2s726ms 1s363ms 11 1 1s350ms 1s350ms 12 2 2s698ms 1s349ms 13 1 1s351ms 1s351ms 14 1 1s350ms 1s350ms 15 2 2s693ms 1s346ms 16 1 1s359ms 1s359ms 17 1 1s352ms 1s352ms 18 2 2s703ms 1s351ms 19 1 1s351ms 1s351ms 20 2 2s692ms 1s346ms 21 1 1s347ms 1s347ms 22 1 1s376ms 1s376ms 23 2 2s697ms 1s348ms Sep 18 00 2 2s692ms 1s346ms 02 2 2s692ms 1s346ms 03 2 2s714ms 1s357ms 04 1 1s349ms 1s349ms 05 3 4s50ms 1s350ms 06 1 1s345ms 1s345ms 07 1 1s350ms 1s350ms 08 2 2s702ms 1s351ms 09 1 1s352ms 1s352ms 10 1 1s349ms 1s349ms 11 1 1s355ms 1s355ms 12 2 2s706ms 1s353ms 13 1 1s352ms 1s352ms 14 2 2s703ms 1s351ms 15 1 1s352ms 1s352ms 16 3 4s68ms 1s356ms 17 1 1s351ms 1s351ms 18 2 2s700ms 1s350ms 19 1 1s348ms 1s348ms 20 1 1s348ms 1s348ms 21 1 1s367ms 1s367ms 22 3 4s85ms 1s361ms Sep 19 00 2 2s706ms 1s353ms 01 1 1s348ms 1s348ms 02 2 2s695ms 1s347ms 03 1 1s381ms 1s381ms 04 1 1s346ms 1s346ms 05 2 2s687ms 1s343ms 11 1 1s351ms 1s351ms 12 1 1s356ms 1s356ms 18 1 1s351ms 1s351ms 23 1 1s357ms 1s357ms Sep 20 01 2 2s702ms 1s351ms 05 2 2s708ms 1s354ms 07 1 1s347ms 1s347ms 08 1 1s344ms 1s344ms 13 1 1s357ms 1s357ms 14 1 1s349ms 1s349ms 18 3 4s53ms 1s351ms 19 4 5s416ms 1s354ms 20 5 6s763ms 1s352ms 21 7 9s444ms 1s349ms 22 4 5s405ms 1s351ms 23 3 4s53ms 1s351ms Sep 21 00 5 6s759ms 1s351ms 01 3 4s79ms 1s359ms 02 9 12s147ms 1s349ms 03 8 10s795ms 1s349ms 04 4 5s393ms 1s348ms 05 4 5s421ms 1s355ms 06 1 1s350ms 1s350ms 07 5 6s796ms 1s359ms 08 2 2s702ms 1s351ms 09 7 9s555ms 1s365ms 10 4 5s430ms 1s357ms 11 4 5s400ms 1s350ms 12 3 4s51ms 1s350ms 13 5 6s774ms 1s354ms 14 2 2s710ms 1s355ms 15 2 2s732ms 1s366ms 16 5 6s913ms 1s382ms 17 7 9s445ms 1s349ms 18 5 6s874ms 1s374ms 19 3 4s72ms 1s357ms 20 7 9s654ms 1s379ms 21 7 9s473ms 1s353ms 22 6 8s122ms 1s353ms 23 7 9s469ms 1s352ms [ User: pubeu - Total duration: 3m28s - Times executed: 154 ]
-
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-21 20:28:43 Duration: 1s564ms 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-17 03:22:07 Duration: 1s509ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2024-09-21 16:27:24 Duration: 1s481ms Database: ctdprd51 User: pubeu Bind query: yes
4 164 3m25s 1s145ms 1s499ms 1s251ms 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 15 01 4 5s195ms 1s298ms 03 1 1s289ms 1s289ms 04 1 1s304ms 1s304ms 05 5 6s628ms 1s325ms 06 2 2s728ms 1s364ms 07 1 1s269ms 1s269ms 08 1 1s273ms 1s273ms 11 2 2s498ms 1s249ms 14 2 2s493ms 1s246ms 15 1 1s249ms 1s249ms 16 3 3s596ms 1s198ms 17 1 1s251ms 1s251ms 18 2 2s547ms 1s273ms 19 2 2s451ms 1s225ms 21 2 2s534ms 1s267ms 23 1 1s207ms 1s207ms Sep 16 00 1 1s205ms 1s205ms 02 1 1s260ms 1s260ms 05 3 4s5ms 1s335ms 06 3 3s840ms 1s280ms 08 1 1s236ms 1s236ms 09 3 3s745ms 1s248ms 10 1 1s233ms 1s233ms 14 1 1s322ms 1s322ms 21 1 1s169ms 1s169ms Sep 17 01 2 2s535ms 1s267ms 03 2 2s772ms 1s386ms 04 1 1s312ms 1s312ms 05 5 6s420ms 1s284ms 07 1 1s233ms 1s233ms 10 2 2s486ms 1s243ms 11 1 1s201ms 1s201ms 12 1 1s204ms 1s204ms 13 1 1s248ms 1s248ms 14 2 2s461ms 1s230ms 16 1 1s196ms 1s196ms 18 2 2s468ms 1s234ms 19 3 3s698ms 1s232ms 21 1 1s228ms 1s228ms 23 2 2s565ms 1s282ms Sep 18 02 1 1s315ms 1s315ms 03 1 1s225ms 1s225ms 05 2 2s656ms 1s328ms 06 3 3s609ms 1s203ms 07 2 2s472ms 1s236ms 08 1 1s171ms 1s171ms 10 1 1s273ms 1s273ms 12 1 1s237ms 1s237ms 14 1 1s232ms 1s232ms 15 1 1s172ms 1s172ms 16 4 4s900ms 1s225ms 17 2 2s462ms 1s231ms 21 2 2s500ms 1s250ms 23 1 1s241ms 1s241ms Sep 19 00 1 1s218ms 1s218ms 03 1 1s236ms 1s236ms 04 1 1s257ms 1s257ms 05 2 2s669ms 1s334ms 06 2 2s495ms 1s247ms 08 1 1s248ms 1s248ms 09 1 1s254ms 1s254ms 12 1 1s208ms 1s208ms 13 4 4s848ms 1s212ms 14 1 1s238ms 1s238ms 15 2 2s416ms 1s208ms 17 1 1s249ms 1s249ms 18 1 1s145ms 1s145ms 19 2 2s398ms 1s199ms 20 1 1s210ms 1s210ms 23 1 1s237ms 1s237ms Sep 20 00 1 1s236ms 1s236ms 01 1 1s256ms 1s256ms 02 1 1s178ms 1s178ms 03 2 2s368ms 1s184ms 04 2 2s482ms 1s241ms 05 7 8s947ms 1s278ms 06 4 4s851ms 1s212ms 09 3 3s649ms 1s216ms 11 1 1s182ms 1s182ms 12 1 1s227ms 1s227ms 14 1 1s214ms 1s214ms 16 2 2s694ms 1s347ms 17 1 1s188ms 1s188ms 18 1 1s236ms 1s236ms 19 1 1s223ms 1s223ms 20 2 2s485ms 1s242ms 21 1 1s235ms 1s235ms 22 1 1s197ms 1s197ms 23 1 1s227ms 1s227ms Sep 21 00 1 1s226ms 1s226ms 04 1 1s176ms 1s176ms 05 2 2s617ms 1s308ms 06 1 1s172ms 1s172ms 08 1 1s224ms 1s224ms 12 1 1s251ms 1s251ms 14 1 1s230ms 1s230ms 15 1 1s466ms 1s466ms 16 1 1s230ms 1s230ms 22 1 1s253ms 1s253ms [ User: pubeu - Total duration: 1m43s - Times executed: 83 ]
[ User: qaeu - Total duration: 8s78ms - 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 = '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-17 03:36:22 Duration: 1s499ms 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-15 06:24:58 Duration: 1s478ms 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-20 16:10:05 Duration: 1s471ms Database: ctdprd51 User: pubeu Bind query: yes
5 113 6m45s 1s5ms 10s992ms 3s591ms 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 #5
Day Hour Count Duration Avg duration Sep 15 03 1 1s271ms 1s271ms 04 1 2s635ms 2s635ms 06 3 5s395ms 1s798ms 08 20 1m13s 3s671ms 09 1 2s466ms 2s466ms 10 1 1s50ms 1s50ms 16 1 10s47ms 10s47ms 19 1 2s534ms 2s534ms 22 1 10s143ms 10s143ms Sep 16 00 3 6s88ms 2s29ms 01 1 1s176ms 1s176ms 03 1 1s342ms 1s342ms 04 2 10s852ms 5s426ms 05 3 3s462ms 1s154ms 06 1 1s153ms 1s153ms 08 1 10s4ms 10s4ms 09 4 33s874ms 8s468ms 10 1 1s285ms 1s285ms 14 1 1s288ms 1s288ms 23 1 2s398ms 2s398ms Sep 17 01 1 1s18ms 1s18ms 04 1 1s79ms 1s79ms 13 1 4s956ms 4s956ms 16 1 1s305ms 1s305ms 23 1 2s361ms 2s361ms Sep 18 01 2 2s57ms 1s28ms 02 1 3s154ms 3s154ms 07 4 20s921ms 5s230ms 08 2 5s904ms 2s952ms 09 1 9s862ms 9s862ms 10 2 2s203ms 1s101ms 15 1 1s27ms 1s27ms 19 1 1s284ms 1s284ms 20 2 10s251ms 5s125ms 21 3 4s976ms 1s658ms 22 4 25s408ms 6s352ms 23 3 5s940ms 1s980ms Sep 19 02 1 2s708ms 2s708ms 12 1 1s115ms 1s115ms 13 1 1s120ms 1s120ms 17 1 2s116ms 2s116ms 21 1 1s527ms 1s527ms 23 2 5s22ms 2s511ms Sep 20 02 1 1s559ms 1s559ms 03 1 2s718ms 2s718ms 07 1 3s94ms 3s94ms 08 1 1s313ms 1s313ms 13 1 2s301ms 2s301ms 17 1 5s800ms 5s800ms 21 1 9s937ms 9s937ms 22 3 11s693ms 3s897ms 23 1 2s406ms 2s406ms Sep 21 00 1 10s494ms 10s494ms 01 1 1s14ms 1s14ms 02 1 9s979ms 9s979ms 04 1 1s81ms 1s81ms 06 1 10s240ms 10s240ms 07 1 1s295ms 1s295ms 09 1 6s474ms 6s474ms 10 1 4s570ms 4s570ms 12 1 1s219ms 1s219ms 13 2 12s154ms 6s77ms 17 1 1s70ms 1s70ms 18 1 2s506ms 2s506ms 22 2 3s718ms 1s859ms [ User: pubeu - Total duration: 3m42s - Times executed: 55 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2086129') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-09-18 22:59:40 Duration: 10s992ms 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-16 09:26:22 Duration: 10s700ms 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-18 22:59:37 Duration: 10s672ms Bind query: yes
6 106 3m13s 1s9ms 6s304ms 1s821ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where associatedterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Sep 15 02 4 13s978ms 3s494ms 04 4 8s67ms 2s16ms Sep 16 06 1 1s366ms 1s366ms Sep 18 23 1 6s254ms 6s254ms Sep 20 05 1 1s788ms 1s788ms 17 1 2s25ms 2s25ms 20 2 2s513ms 1s256ms 23 3 4s229ms 1s409ms Sep 21 00 7 11s871ms 1s695ms 06 2 3s928ms 1s964ms 10 2 4s483ms 2s241ms 12 1 1s382ms 1s382ms 13 5 13s205ms 2s641ms 14 8 13s824ms 1s728ms 15 13 21s797ms 1s676ms 16 18 31s675ms 1s759ms 17 8 13s766ms 1s720ms 20 18 24s864ms 1s381ms 21 4 6s841ms 1s710ms 22 3 5s265ms 1s755ms [ User: pubeu - Total duration: 1m1s - Times executed: 31 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1393242'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort;
Date: 2024-09-21 13:55:44 Duration: 6s304ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1393242'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort;
Date: 2024-09-18 23:34:10 Duration: 6s254ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1432896'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort;
Date: 2024-09-15 02:15:59 Duration: 3s598ms Database: ctdprd51 User: pubeu Bind query: yes
7 102 2m12s 1s160ms 1s659ms 1s303ms 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 #7
Day Hour Count Duration Avg duration Sep 15 02 1 1s318ms 1s318ms 03 1 1s387ms 1s387ms 05 2 2s765ms 1s382ms 10 2 2s498ms 1s249ms 11 1 1s254ms 1s254ms 16 1 1s243ms 1s243ms 20 1 1s238ms 1s238ms Sep 16 00 2 2s617ms 1s308ms 01 2 2s760ms 1s380ms 02 1 1s286ms 1s286ms 05 5 6s507ms 1s301ms 06 2 2s727ms 1s363ms 08 1 1s303ms 1s303ms 14 2 2s528ms 1s264ms 19 1 1s258ms 1s258ms 23 1 1s274ms 1s274ms Sep 17 02 1 1s226ms 1s226ms 03 1 1s205ms 1s205ms 05 2 2s803ms 1s401ms 09 1 1s288ms 1s288ms 18 2 2s552ms 1s276ms 20 1 1s279ms 1s279ms 21 1 1s247ms 1s247ms 23 1 1s250ms 1s250ms Sep 18 02 1 1s366ms 1s366ms 04 1 1s242ms 1s242ms 05 3 4s15ms 1s338ms 06 2 2s528ms 1s264ms 09 1 1s197ms 1s197ms 16 1 1s314ms 1s314ms 21 2 2s417ms 1s208ms 22 1 1s244ms 1s244ms Sep 19 01 1 1s198ms 1s198ms 02 3 4s 1s333ms 03 1 1s244ms 1s244ms 04 2 2s564ms 1s282ms 05 4 5s340ms 1s335ms 07 4 5s449ms 1s362ms 08 2 2s490ms 1s245ms 10 2 2s497ms 1s248ms 16 1 1s214ms 1s214ms 21 1 1s248ms 1s248ms 22 3 4s406ms 1s468ms Sep 20 04 1 1s280ms 1s280ms 05 2 2s677ms 1s338ms 07 1 1s489ms 1s489ms 08 1 1s285ms 1s285ms 09 1 1s289ms 1s289ms 11 1 1s298ms 1s298ms 14 2 2s453ms 1s226ms 15 2 2s393ms 1s196ms 19 1 1s275ms 1s275ms 22 1 1s255ms 1s255ms 23 1 1s283ms 1s283ms Sep 21 00 1 1s323ms 1s323ms 03 2 2s545ms 1s272ms 05 3 3s986ms 1s328ms 06 2 2s432ms 1s216ms 14 2 2s573ms 1s286ms 17 4 5s891ms 1s472ms 20 2 2s449ms 1s224ms [ User: pubeu - Total duration: 1m6s - Times executed: 51 ]
-
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-19 07:00:22 Duration: 1s659ms 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 = '2080083') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2080083') 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-21 17:11:08 Duration: 1s575ms 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 = '2080083') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2080083') 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-19 22:25:22 Duration: 1s573ms Database: ctdprd51 User: pubeu Bind query: yes
8 86 1m54s 1s263ms 1s393ms 1s327ms 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 15 03 1 1s357ms 1s357ms 04 1 1s309ms 1s309ms 05 2 2s671ms 1s335ms 10 3 3s982ms 1s327ms 19 1 1s326ms 1s326ms Sep 16 00 1 1s268ms 1s268ms 03 2 2s647ms 1s323ms 05 3 3s930ms 1s310ms 06 1 1s339ms 1s339ms 09 1 1s302ms 1s302ms 10 1 1s320ms 1s320ms 13 2 2s532ms 1s266ms 20 1 1s349ms 1s349ms Sep 17 01 1 1s367ms 1s367ms 04 1 1s371ms 1s371ms 05 2 2s656ms 1s328ms 11 1 1s330ms 1s330ms 13 1 1s316ms 1s316ms 21 1 1s333ms 1s333ms Sep 18 00 1 1s342ms 1s342ms 04 5 6s640ms 1s328ms 05 3 4s32ms 1s344ms 07 6 7s957ms 1s326ms 10 1 1s268ms 1s268ms 23 1 1s339ms 1s339ms Sep 19 05 3 3s979ms 1s326ms 08 1 1s343ms 1s343ms 13 1 1s325ms 1s325ms 15 2 2s651ms 1s325ms 16 1 1s317ms 1s317ms 18 1 1s341ms 1s341ms 21 1 1s349ms 1s349ms 22 3 4s6ms 1s335ms 23 2 2s662ms 1s331ms Sep 20 02 2 2s589ms 1s294ms 05 3 3s991ms 1s330ms 10 1 1s342ms 1s342ms 15 1 1s281ms 1s281ms 18 1 1s341ms 1s341ms 19 1 1s342ms 1s342ms 21 1 1s358ms 1s358ms 22 2 2s620ms 1s310ms 23 1 1s319ms 1s319ms Sep 21 01 1 1s330ms 1s330ms 05 3 3s990ms 1s330ms 06 1 1s303ms 1s303ms 09 1 1s301ms 1s301ms 11 2 2s754ms 1s377ms 12 2 2s656ms 1s328ms 15 1 1s277ms 1s277ms 21 3 4s99ms 1s366ms [ User: pubeu - Total duration: 47s928ms - Times executed: 36 ]
-
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-18 04:47:48 Duration: 1s393ms 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-21 11:43:46 Duration: 1s378ms 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-21 11:49:59 Duration: 1s375ms Bind query: yes
9 75 5m52s 4s110ms 5s353ms 4s703ms select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Sep 15 02 2 9s146ms 4s573ms 03 1 4s983ms 4s983ms 06 3 14s878ms 4s959ms 07 1 4s283ms 4s283ms 08 1 5s225ms 5s225ms 09 1 4s110ms 4s110ms 21 2 9s960ms 4s980ms Sep 16 03 2 8s946ms 4s473ms 04 1 4s220ms 4s220ms 09 2 9s56ms 4s528ms 10 1 4s356ms 4s356ms 14 2 9s905ms 4s952ms Sep 17 00 1 5s118ms 5s118ms 04 3 14s169ms 4s723ms 09 1 4s335ms 4s335ms 13 6 27s759ms 4s626ms 19 1 5s353ms 5s353ms 20 1 4s509ms 4s509ms 21 1 4s657ms 4s657ms 22 2 9s901ms 4s950ms Sep 18 00 5 24s217ms 4s843ms 01 1 5s290ms 5s290ms 03 1 4s423ms 4s423ms 04 1 5s249ms 5s249ms 05 1 4s233ms 4s233ms 23 1 4s457ms 4s457ms Sep 19 02 1 4s494ms 4s494ms 03 2 8s921ms 4s460ms 04 3 13s866ms 4s622ms 12 1 4s918ms 4s918ms 22 1 4s342ms 4s342ms 23 1 4s487ms 4s487ms Sep 20 04 1 4s525ms 4s525ms 10 1 4s437ms 4s437ms 11 1 4s219ms 4s219ms 13 1 4s847ms 4s847ms 14 1 4s618ms 4s618ms 18 2 9s839ms 4s919ms 23 2 8s699ms 4s349ms Sep 21 01 1 5s248ms 5s248ms 10 3 14s692ms 4s897ms 14 2 10s152ms 5s76ms 15 3 13s841ms 4s613ms 17 1 4s550ms 4s550ms 18 2 9s319ms 4s659ms [ User: pubeu - Total duration: 3m11s - Times executed: 41 ]
-
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 = '1310804' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-09-17 19:14:40 Duration: 5s353ms 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 = '1428797' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-09-15 06:49:51 Duration: 5s342ms 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 = '1397671' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-09-18 01:19:10 Duration: 5s290ms Bind query: yes
10 69 2m9s 1s298ms 6s97ms 1s878ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where associatedterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and ptr.term_object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Sep 15 08 1 2s103ms 2s103ms Sep 17 13 10 27s779ms 2s777ms Sep 19 12 1 1s907ms 1s907ms 15 1 5s920ms 5s920ms Sep 20 05 1 1s715ms 1s715ms 11 1 3s246ms 3s246ms 17 1 1s928ms 1s928ms 20 1 1s328ms 1s328ms 23 1 1s314ms 1s314ms Sep 21 00 6 9s658ms 1s609ms 06 1 1s637ms 1s637ms 10 3 4s864ms 1s621ms 12 1 1s322ms 1s322ms 13 2 7s755ms 3s877ms 14 4 6s146ms 1s536ms 15 6 9s412ms 1s568ms 16 8 13s51ms 1s631ms 17 4 6s309ms 1s577ms 20 11 14s696ms 1s336ms 21 2 2s953ms 1s476ms 22 3 4s587ms 1s529ms [ User: pubeu - Total duration: 53s92ms - Times executed: 30 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1393242'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-09-21 13:55:31 Duration: 6s97ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1393242'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-09-17 13:54:15 Duration: 5s995ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1393242'))) and ptr.term_object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2024-09-17 13:51:49 Duration: 5s968ms Bind query: yes
11 63 2m17s 1s18ms 5s182ms 2s179ms select e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, ( select string_agg(distinct stressorterm.nm || ? || ( select cd from object_type where id = stressorterm.object_type_id) || ? || stressorterm.nm_html || ? || stressorterm.acc_txt || ? || stressorterm.acc_db_cd, ?)) as stressoragents, ( select string_agg(distinct coalesce(receptorterm.nm, ?) || ? || coalesce(( select cd from object_type where id = receptorterm.object_type_id), ?) || ? || coalesce(receptorterm.nm_html, ?) || ? || coalesce(receptorterm.acc_txt, ?) || ? || coalesce(receptorterm.acc_db_cd, ?) || ? || receptor.description, ?)) as receptors, ( select string_agg(distinct country.nm, ?)) as studycountries, ( select string_agg(distinct location.locality_txt, ?)) as localities, ( select string_agg(distinct event.medium_nm || ? || coalesce(event.medium_term_acc_txt, ?), ?)) as assaymediums, ( select string_agg(distinct exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd, ?)) as assayedmarkers, ( select string_agg(distinct diseaseterm.nm || ? || ( select cd from object_type where id = diseaseterm.object_type_id) || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd, ?)) as diseases, ( select string_agg(distinct phenotypeterm.nm || ? || ( select cd from object_type where id = phenotypeterm.object_type_id) || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd, ?)) as phenotypes, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, re.author_summary summary, count(*) over () fullrowcount from exposure e inner join reference r on e.reference_id = r.id inner join exp_stressor stressor on e.exp_stressor_id = stressor.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join term receptorterm on receptor.term_id = receptorterm.id left outer join exp_event event on e.exp_event_id = event.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join exp_event_location location on e.exp_event_id = location.exp_event_id left outer join country on location.country_id = country.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id inner join reference_exp re on e.reference_id = re.reference_id left outer join exp_study_factor expstudyfactor on re.id = expstudyfactor.reference_exp_id where e.reference_id = any (array ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like ?) and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressoragents limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Sep 15 08 1 1s80ms 1s80ms 20 1 1s273ms 1s273ms Sep 16 10 1 1s135ms 1s135ms 13 2 3s602ms 1s801ms 14 1 1s256ms 1s256ms Sep 17 13 14 39s741ms 2s838ms Sep 18 04 1 1s294ms 1s294ms Sep 19 12 2 4s719ms 2s359ms 15 4 8s783ms 2s195ms 21 1 5s145ms 5s145ms Sep 20 00 1 2s826ms 2s826ms 04 2 3s702ms 1s851ms 09 1 3s779ms 3s779ms 19 1 1s844ms 1s844ms 20 1 1s702ms 1s702ms 23 3 4s758ms 1s586ms Sep 21 00 2 4s192ms 2s96ms 01 1 2s521ms 2s521ms 06 1 1s48ms 1s48ms 08 3 4s259ms 1s419ms 09 2 2s840ms 1s420ms 10 2 2s607ms 1s303ms 11 4 13s762ms 3s440ms 14 1 1s164ms 1s164ms 16 1 1s291ms 1s291ms 17 2 2s909ms 1s454ms 18 1 1s615ms 1s615ms 19 1 1s264ms 1s264ms 20 3 5s80ms 1s693ms 22 1 1s72ms 1s72ms 23 1 5s30ms 5s30ms [ User: pubeu - Total duration: 57s867ms - Times executed: 28 ]
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1393242') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1393242') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-09-21 11:22:32 Duration: 5s182ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1393242') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1393242') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-09-17 13:51:55 Duration: 5s168ms Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1393242') and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1393242') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-09-21 11:09:11 Duration: 5s165ms Bind query: yes
12 61 1m8s 1s52ms 1s167ms 1s123ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where exposuremarkerterm.id = ? or receptorterm.id = ? group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Sep 16 08 1 1s117ms 1s117ms Sep 17 08 1 1s151ms 1s151ms 10 1 1s167ms 1s167ms 13 1 1s147ms 1s147ms Sep 19 03 1 1s148ms 1s148ms 10 1 1s151ms 1s151ms 11 1 1s100ms 1s100ms Sep 20 16 2 2s229ms 1s114ms 19 6 6s705ms 1s117ms 20 5 5s599ms 1s119ms 22 1 1s157ms 1s157ms 23 2 2s180ms 1s90ms Sep 21 02 1 1s146ms 1s146ms 03 4 4s477ms 1s119ms 06 1 1s159ms 1s159ms 07 4 4s528ms 1s132ms 08 2 2s248ms 1s124ms 09 1 1s134ms 1s134ms 10 2 2s240ms 1s120ms 11 1 1s150ms 1s150ms 13 5 5s680ms 1s136ms 14 1 1s142ms 1s142ms 16 2 2s285ms 1s142ms 18 2 2s265ms 1s132ms 21 9 9s866ms 1s96ms 23 3 3s373ms 1s124ms [ User: pubeu - Total duration: 11s415ms - Times executed: 10 ]
-
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 = '1828756' or receptorTerm.id = '1828756' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort;
Date: 2024-09-17 10:43:58 Duration: 1s167ms 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 = '2030788' or receptorTerm.id = '2030788' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort;
Date: 2024-09-21 06:23:55 Duration: 1s159ms 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 = '2052709' or receptorTerm.id = '2052709' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort;
Date: 2024-09-21 08:35:55 Duration: 1s158ms Bind query: yes
13 59 4m15s 1s84ms 43s228ms 4s331ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Sep 15 00 1 1s787ms 1s787ms 04 1 13s824ms 13s824ms 05 1 1s426ms 1s426ms 21 1 1s494ms 1s494ms Sep 16 00 11 36s73ms 3s279ms 01 3 8s392ms 2s797ms 10 1 1s608ms 1s608ms 14 1 1s134ms 1s134ms 20 1 14s542ms 14s542ms 23 1 1s509ms 1s509ms Sep 17 03 1 14s273ms 14s273ms 05 1 4s582ms 4s582ms 06 1 1s342ms 1s342ms 10 2 17s832ms 8s916ms 12 1 2s560ms 2s560ms 13 10 15s891ms 1s589ms 16 1 1s442ms 1s442ms 22 1 1s764ms 1s764ms Sep 18 00 1 1s411ms 1s411ms 05 1 4s599ms 4s599ms 10 2 3s973ms 1s986ms 21 3 1m3s 21s32ms 22 2 6s688ms 3s344ms Sep 19 00 2 3s78ms 1s539ms 02 1 1s84ms 1s84ms 05 1 4s562ms 4s562ms 09 1 15s2ms 15s2ms 12 1 3s139ms 3s139ms 14 1 1s802ms 1s802ms Sep 20 06 1 1s150ms 1s150ms Sep 21 23 2 4s496ms 2s248ms [ User: pubeu - Total duration: 2m59s - Times executed: 33 ]
-
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 = '2078851') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-09-18 21:06:23 Duration: 43s228ms 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 = '2085888') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-09-18 21:36:31 Duration: 16s478ms 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 = '2079317') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-09-17 10:13:28 Duration: 16s187ms Database: ctdprd51 User: pubeu Bind query: yes
14 36 1m44s 1s123ms 6s618ms 2s890ms select * from ( select g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, count(*) over () fullrowcount from term g where g.id in ( select gt.gene_id from dag_path dp inner join gene_taxon gt on dp.descendant_object_id = gt.taxon_id where dp.ancestor_object_id = ? union all select gcr.gene_id from dag_path dp inner join gene_chem_reference gcr on dp.descendant_object_id = gcr.taxon_id where dp.ancestor_object_id = ?) offset ?) mq order by mq.genesymbolsort limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Sep 15 08 1 5s531ms 5s531ms Sep 20 08 1 2s91ms 2s91ms 09 15 43s309ms 2s887ms 11 17 50s65ms 2s945ms 13 2 3s70ms 1s535ms [ User: pubeu - Total duration: 45s743ms - Times executed: 14 ]
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '652528' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '652528') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-09-20 11:38:25 Duration: 6s618ms Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '652528' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '652528') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-09-20 09:57:27 Duration: 6s30ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '652528' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '652528') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-09-15 08:22:39 Duration: 5s531ms Database: ctdprd51 User: pubeu Bind query: yes
15 35 1m29s 1s1ms 3s340ms 2s549ms 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 #15
Day Hour Count Duration Avg duration Sep 15 05 3 7s644ms 2s548ms 08 2 5s80ms 2s540ms Sep 16 05 3 7s654ms 2s551ms 08 1 1s859ms 1s859ms 12 1 3s204ms 3s204ms 22 1 2s77ms 2s77ms Sep 17 05 3 7s653ms 2s551ms 09 1 3s207ms 3s207ms Sep 18 05 3 7s682ms 2s560ms 06 1 3s231ms 3s231ms 08 1 2s391ms 2s391ms 13 1 1s858ms 1s858ms Sep 19 05 3 7s642ms 2s547ms Sep 20 02 1 1s879ms 1s879ms 05 3 7s601ms 2s533ms 08 1 3s262ms 3s262ms 10 2 6s663ms 3s331ms Sep 21 05 4 8s625ms 2s156ms [ User: pubeu - Total duration: 48s935ms - Times executed: 16 ]
[ User: qaeu - Total duration: 23s118ms - 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 = '652528' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 4 ORDER BY sn.path;
Date: 2024-09-20 10:23:39 Duration: 3s340ms 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-17 05:35:12 Duration: 3s330ms 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-15 05:35:12 Duration: 3s327ms Database: ctdprd51 User: pubeu Bind query: yes
16 32 1m17s 1s421ms 4s406ms 2s422ms 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 exists ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and upper(baseterm.nm) like ?) and viachemptr.via_term_id = dp.descendant_object_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 ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Sep 19 20 6 12s368ms 2s61ms 21 23 57s108ms 2s482ms Sep 20 13 3 8s32ms 2s677ms [ User: pubeu - Total duration: 19s366ms - Times executed: 8 ]
-
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 exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'CADMIUM') and viaChemPTR.via_term_id = dp.descendant_object_id) 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;
Date: 2024-09-19 21:22:27 Duration: 4s406ms 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 exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'CADMIUM') and viaChemPTR.via_term_id = dp.descendant_object_id) 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;
Date: 2024-09-19 21:22:29 Duration: 4s309ms 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 exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'PLASTICS') and viaChemPTR.via_term_id = dp.descendant_object_id) 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;
Date: 2024-09-19 21:00:57 Duration: 2s786ms Database: ctdprd51 User: pubeu Bind query: yes
17 31 40s469ms 1s4ms 2s101ms 1s305ms 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 #17
Day Hour Count Duration Avg duration Sep 15 05 4 4s551ms 1s137ms Sep 16 05 4 5s848ms 1s462ms Sep 17 05 4 5s285ms 1s321ms Sep 18 05 3 3s631ms 1s210ms Sep 19 01 1 1s39ms 1s39ms 05 4 5s189ms 1s297ms Sep 20 05 4 5s553ms 1s388ms Sep 21 05 4 5s50ms 1s262ms 08 1 2s101ms 2s101ms 16 1 1s123ms 1s123ms 22 1 1s95ms 1s95ms [ User: pubeu - Total duration: 6s674ms - Times executed: 6 ]
[ User: qaeu - Total duration: 5s179ms - Times executed: 4 ]
-
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 = '181498' ORDER BY fg.nm_sort, tg.nm_sort LIMIT 50;
Date: 2024-09-21 08:12:28 Duration: 2s101ms 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-16 05:38:08 Duration: 1s711ms 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-21 05:38:08 Duration: 1s545ms Bind query: yes
18 29 3m54s 1s22ms 46s132ms 8s90ms 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 #18
Day Hour Count Duration Avg duration Sep 15 02 1 18s31ms 18s31ms 03 1 5s377ms 5s377ms 14 1 1s158ms 1s158ms 22 1 2s705ms 2s705ms Sep 16 00 1 2s927ms 2s927ms 06 1 2s929ms 2s929ms 12 1 5s245ms 5s245ms 18 1 2s993ms 2s993ms 19 1 5s372ms 5s372ms Sep 17 16 1 14s334ms 14s334ms Sep 18 01 3 3s225ms 1s75ms 08 1 5s265ms 5s265ms 10 1 1s715ms 1s715ms 11 1 1s709ms 1s709ms 19 1 2s492ms 2s492ms 22 4 2m5s 31s300ms Sep 20 00 1 4s779ms 4s779ms 04 1 1s963ms 1s963ms 08 1 1s22ms 1s22ms 14 1 2s418ms 2s418ms 19 1 3s146ms 3s146ms 21 1 4s579ms 4s579ms Sep 21 07 1 3s12ms 3s12ms 11 1 13s10ms 13s10ms [ User: pubeu - Total duration: 2m21s - Times executed: 17 ]
-
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 = '2078851') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2499950;
Date: 2024-09-18 22:02:20 Duration: 46s132ms 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 = '2078851') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 6247450;
Date: 2024-09-18 22:17:44 Duration: 37s968ms 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 = '2078851') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 6247150;
Date: 2024-09-18 22:19:38 Duration: 37s960ms Database: ctdprd51 User: pubeu Bind query: yes
19 25 14m12s 33s712ms 34s401ms 34s85ms 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 #19
Day Hour Count Duration Avg duration Sep 15 06 1 34s117ms 34s117ms 10 1 34s401ms 34s401ms 14 1 34s84ms 34s84ms 18 1 34s19ms 34s19ms Sep 16 06 1 34s235ms 34s235ms 10 1 34s202ms 34s202ms 14 1 34s70ms 34s70ms 18 1 34s20ms 34s20ms Sep 17 06 1 33s995ms 33s995ms 10 1 33s931ms 33s931ms 14 1 34s124ms 34s124ms 18 1 34s139ms 34s139ms Sep 18 06 1 34s49ms 34s49ms 10 1 34s81ms 34s81ms 14 1 33s995ms 33s995ms 18 1 34s47ms 34s47ms Sep 19 06 1 34s149ms 34s149ms 10 1 34s320ms 34s320ms 14 1 34s73ms 34s73ms 18 1 34s24ms 34s24ms Sep 20 06 1 34s79ms 34s79ms 10 1 34s122ms 34s122ms 14 1 34s73ms 34s73ms 18 1 34s68ms 34s68ms Sep 21 19 1 33s712ms 33s712ms [ User: postgres - Total duration: 13m38s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 13m38s - Times executed: 24 ]
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-09-15 10:05:35 Duration: 34s401ms 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-19 10:05:36 Duration: 34s320ms 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-16 06:05:35 Duration: 34s235ms Database: ctdprd51 User: postgres Application: pg_dump
20 25 6m3s 14s369ms 15s714ms 14s558ms 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 #20
Day Hour Count Duration Avg duration Sep 15 06 1 14s549ms 14s549ms 10 1 14s504ms 14s504ms 14 1 14s634ms 14s634ms 18 1 14s369ms 14s369ms Sep 16 06 1 14s626ms 14s626ms 10 1 14s479ms 14s479ms 14 1 14s436ms 14s436ms 18 1 14s412ms 14s412ms Sep 17 06 1 14s937ms 14s937ms 10 1 14s487ms 14s487ms 14 1 14s565ms 14s565ms 18 1 14s423ms 14s423ms Sep 18 06 1 14s495ms 14s495ms 10 1 14s508ms 14s508ms 14 1 14s477ms 14s477ms 18 1 14s523ms 14s523ms Sep 19 06 1 14s521ms 14s521ms 10 1 15s714ms 15s714ms 14 1 14s442ms 14s442ms 18 1 14s467ms 14s467ms Sep 20 06 1 14s433ms 14s433ms 10 1 14s544ms 14s544ms 14 1 14s451ms 14s451ms 18 1 14s519ms 14s519ms Sep 21 18 1 14s429ms 14s429ms [ User: postgres - Total duration: 6m3s - Times executed: 25 ]
[ Application: pg_dump - Total duration: 6m3s - Times executed: 25 ]
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-19 10:00:17 Duration: 15s714ms 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-17 06:00:17 Duration: 14s937ms 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-15 14:00:16 Duration: 14s634ms Database: ctdprd51 User: postgres Application: pg_dump
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 23m44s 23m44s 23m44s 1 23m44s copy pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Sep 21 19 1 23m44s 23m44s -
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-21 19:43:00 Duration: 23m44s
2 23m38s 23m38s 23m38s 1 23m38s copy pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Sep 21 19 1 23m38s 23m38s -
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-21 19:00:33 Duration: 23m38s
3 16m50s 17m4s 16m57s 7 1h58m41s select maint_query_logs_archive ();Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Sep 15 00 1 16m56s 16m56s Sep 16 00 1 16m53s 16m53s Sep 17 00 1 16m50s 16m50s Sep 18 00 1 17m4s 17m4s Sep 19 00 1 17m1s 17m1s Sep 20 00 1 16m52s 16m52s Sep 21 00 1 17m3s 17m3s -
/* * 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-18 00:17:06 Duration: 17m4s
-
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-09-21 00:17:04 Duration: 17m3s
-
/* * 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-19 00:17:03 Duration: 17m1s
4 6m49s 6m49s 6m49s 1 6m49s copy pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Sep 21 19 1 6m49s 6m49s -
COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-09-21 19:54:43 Duration: 6m49s
5 6m49s 6m49s 6m49s 1 6m49s copy pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Sep 21 19 1 6m49s 6m49s -
COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2024-09-21 19:12:16 Duration: 6m49s
6 1s445ms 17m28s 3m 15 45m6s 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 #6
Day Hour Count Duration Avg duration Sep 15 02 1 1s445ms 1s445ms 21 1 1s486ms 1s486ms Sep 16 02 2 4s518ms 2s259ms 14 1 1s555ms 1s555ms Sep 18 04 1 1s514ms 1s514ms Sep 20 01 1 17m28s 17m28s 11 2 17m30s 8m45s 12 1 8m31s 8m31s 19 1 1s495ms 1s495ms Sep 21 05 1 1m17s 1m17s 07 1 3s66ms 3s66ms 10 2 3s136ms 1s568ms [ User: pubeu - Total duration: 35m6s - Times executed: 8 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1239879') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-09-20 01:11:33 Duration: 17m28s 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 = '1239879') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-09-20 11:45:38 Duration: 17m27s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1257694') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-09-20 12:01:30 Duration: 8m31s Bind query: yes
7 50s946ms 2m13s 1m59s 9 17m55s select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in ( select gcr.gene_id from gene_chem_reference gcr where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?)))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Sep 16 13 7 13m34s 1m56s Sep 19 14 1 2m13s 2m13s Sep 20 10 1 2m7s 2m7s [ User: pubeu - Total duration: 4m14s - Times executed: 2 ]
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'mRNA'))) 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 'NFE2L2')))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-09-19 14:42:34 Duration: 2m13s Bind query: yes
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'mRNA'))) 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 'NFE2L2')))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-09-16 13:30:29 Duration: 2m7s Bind query: yes
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'mRNA'))) 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 'NFE2L2')))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-09-20 10:18:00 Duration: 2m7s Bind query: yes
8 33s712ms 34s401ms 34s85ms 25 14m12s 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 15 06 1 34s117ms 34s117ms 10 1 34s401ms 34s401ms 14 1 34s84ms 34s84ms 18 1 34s19ms 34s19ms Sep 16 06 1 34s235ms 34s235ms 10 1 34s202ms 34s202ms 14 1 34s70ms 34s70ms 18 1 34s20ms 34s20ms Sep 17 06 1 33s995ms 33s995ms 10 1 33s931ms 33s931ms 14 1 34s124ms 34s124ms 18 1 34s139ms 34s139ms Sep 18 06 1 34s49ms 34s49ms 10 1 34s81ms 34s81ms 14 1 33s995ms 33s995ms 18 1 34s47ms 34s47ms Sep 19 06 1 34s149ms 34s149ms 10 1 34s320ms 34s320ms 14 1 34s73ms 34s73ms 18 1 34s24ms 34s24ms Sep 20 06 1 34s79ms 34s79ms 10 1 34s122ms 34s122ms 14 1 34s73ms 34s73ms 18 1 34s68ms 34s68ms Sep 21 19 1 33s712ms 33s712ms [ User: postgres - Total duration: 13m38s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 13m38s - Times executed: 24 ]
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-09-15 10:05:35 Duration: 34s401ms 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-19 10:05:36 Duration: 34s320ms 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-16 06:05:35 Duration: 34s235ms Database: ctdprd51 User: postgres Application: pg_dump
9 4s886ms 40s706ms 25s218ms 18 7m33s 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 #9
Day Hour Count Duration Avg duration Sep 16 12 6 3m45s 37s556ms 13 3 1m49s 36s371ms Sep 17 22 3 18s831ms 6s277ms Sep 18 15 6 1m40s 16s775ms [ User: pubeu - Total duration: 4m52s - Times executed: 10 ]
-
SELECT /* BatchChemGODAO */ 'd000082' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1341439)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-09-16 13:02:00 Duration: 40s706ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchChemGODAO */ 'd000082' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1341439)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-09-16 12:57:05 Duration: 40s457ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchChemGODAO */ 'd000082' "Input", sqi.chem_nm "ChemicalName", sqi.chem_acc_txt "ChemicalID", sqi.casRN "CasRN", sqi.gene_symbol "GeneSymbol", sqi.gene_acc_txt "GeneID", sqi.ontology_nm "Ontology", sqi.go_term_nm "GoTermName", sqi.go_acc_txt "GoTermID" FROM ( WITH sq AS ( SELECT DISTINCT c.id chem_id, c.nm chem_nm, c.acc_txt chem_acc_txt, c.secondary_nm casRN, c.nm_sort chem_nm_sort, gcr.gene_id, g.nm gene_symbol, g.acc_txt gene_acc_txt, g.nm_sort gene_symbol_sort FROM term c INNER JOIN gene_chem_reference gcr ON c.id = gcr.chem_id INNER JOIN term g ON gcr.gene_id = g.id WHERE (c.id = 1341439)) SELECT DISTINCT sq.chem_nm, sq.chem_acc_txt, sq.casRN, sq.gene_symbol, sq.gene_acc_txt, gt.nm go_term_nm, gt.acc_txt go_acc_txt, sq.chem_nm_sort, sq.gene_symbol_sort, gt.nm_sort, d.nm ontology_nm FROM sq INNER JOIN gene_go_annot gga ON sq.gene_id = gga.gene_id INNER JOIN dag_node gt ON gga.go_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE gga.is_not = false AND (d.id = 5) ORDER BY sq.chem_nm_sort, sq.gene_symbol_sort, d.nm, gt.nm_sort) sqi;
Date: 2024-09-16 12:37:48 Duration: 40s323ms Database: ctdprd51 User: pubeu Bind query: yes
10 14s369ms 15s714ms 14s558ms 25 6m3s copy edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Sep 15 06 1 14s549ms 14s549ms 10 1 14s504ms 14s504ms 14 1 14s634ms 14s634ms 18 1 14s369ms 14s369ms Sep 16 06 1 14s626ms 14s626ms 10 1 14s479ms 14s479ms 14 1 14s436ms 14s436ms 18 1 14s412ms 14s412ms Sep 17 06 1 14s937ms 14s937ms 10 1 14s487ms 14s487ms 14 1 14s565ms 14s565ms 18 1 14s423ms 14s423ms Sep 18 06 1 14s495ms 14s495ms 10 1 14s508ms 14s508ms 14 1 14s477ms 14s477ms 18 1 14s523ms 14s523ms Sep 19 06 1 14s521ms 14s521ms 10 1 15s714ms 15s714ms 14 1 14s442ms 14s442ms 18 1 14s467ms 14s467ms Sep 20 06 1 14s433ms 14s433ms 10 1 14s544ms 14s544ms 14 1 14s451ms 14s451ms 18 1 14s519ms 14s519ms Sep 21 18 1 14s429ms 14s429ms [ User: postgres - Total duration: 6m3s - Times executed: 25 ]
[ Application: pg_dump - Total duration: 6m3s - Times executed: 25 ]
-
COPY edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-19 10:00:17 Duration: 15s714ms 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-17 06:00:17 Duration: 14s937ms 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-15 14:00:16 Duration: 14s634ms Database: ctdprd51 User: postgres Application: pg_dump
11 13s990ms 14s113ms 14s59ms 25 5m51s copy edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Sep 15 06 1 14s83ms 14s83ms 10 1 14s113ms 14s113ms 14 1 14s82ms 14s82ms 18 1 14s36ms 14s36ms Sep 16 06 1 14s62ms 14s62ms 10 1 14s98ms 14s98ms 14 1 14s85ms 14s85ms 18 1 14s42ms 14s42ms Sep 17 06 1 14s97ms 14s97ms 10 1 14s86ms 14s86ms 14 1 14s70ms 14s70ms 18 1 14s12ms 14s12ms Sep 18 06 1 14s20ms 14s20ms 10 1 14s34ms 14s34ms 14 1 14s58ms 14s58ms 18 1 14s92ms 14s92ms Sep 19 06 1 14s107ms 14s107ms 10 1 14s62ms 14s62ms 14 1 14s40ms 14s40ms 18 1 14s7ms 14s7ms Sep 20 06 1 14s55ms 14s55ms 10 1 14s9ms 14s9ms 14 1 13s990ms 13s990ms 18 1 14s39ms 14s39ms Sep 21 18 1 14s85ms 14s85ms -
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-15 10:00:58 Duration: 14s113ms
-
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-19 06:00:58 Duration: 14s107ms
-
COPY edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) TO stdout;
Date: 2024-09-16 10:00:58 Duration: 14s98ms
12 13s386ms 14s472ms 13s544ms 25 5m38s 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 #12
Day Hour Count Duration Avg duration Sep 15 06 1 13s527ms 13s527ms 10 1 13s464ms 13s464ms 14 1 13s509ms 13s509ms 18 1 13s386ms 13s386ms Sep 16 06 1 13s516ms 13s516ms 10 1 13s470ms 13s470ms 14 1 13s445ms 13s445ms 18 1 13s435ms 13s435ms Sep 17 06 1 13s569ms 13s569ms 10 1 13s490ms 13s490ms 14 1 13s495ms 13s495ms 18 1 13s446ms 13s446ms Sep 18 06 1 13s441ms 13s441ms 10 1 13s433ms 13s433ms 14 1 13s741ms 13s741ms 18 1 13s488ms 13s488ms Sep 19 06 1 13s521ms 13s521ms 10 1 14s472ms 14s472ms 14 1 13s538ms 13s538ms 18 1 13s546ms 13s546ms Sep 20 06 1 13s544ms 13s544ms 10 1 13s594ms 13s594ms 14 1 13s509ms 13s509ms 18 1 13s514ms 13s514ms Sep 21 18 1 13s519ms 13s519ms -
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-19 10:00:47 Duration: 14s472ms
-
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-18 14:00:45 Duration: 13s741ms
-
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-20 10:00:44 Duration: 13s594ms
13 1s22ms 46s132ms 8s90ms 29 3m54s 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 #13
Day Hour Count Duration Avg duration Sep 15 02 1 18s31ms 18s31ms 03 1 5s377ms 5s377ms 14 1 1s158ms 1s158ms 22 1 2s705ms 2s705ms Sep 16 00 1 2s927ms 2s927ms 06 1 2s929ms 2s929ms 12 1 5s245ms 5s245ms 18 1 2s993ms 2s993ms 19 1 5s372ms 5s372ms Sep 17 16 1 14s334ms 14s334ms Sep 18 01 3 3s225ms 1s75ms 08 1 5s265ms 5s265ms 10 1 1s715ms 1s715ms 11 1 1s709ms 1s709ms 19 1 2s492ms 2s492ms 22 4 2m5s 31s300ms Sep 20 00 1 4s779ms 4s779ms 04 1 1s963ms 1s963ms 08 1 1s22ms 1s22ms 14 1 2s418ms 2s418ms 19 1 3s146ms 3s146ms 21 1 4s579ms 4s579ms Sep 21 07 1 3s12ms 3s12ms 11 1 13s10ms 13s10ms [ User: pubeu - Total duration: 2m21s - Times executed: 17 ]
-
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 = '2078851') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2499950;
Date: 2024-09-18 22:02:20 Duration: 46s132ms 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 = '2078851') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 6247450;
Date: 2024-09-18 22:17:44 Duration: 37s968ms 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 = '2078851') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 6247150;
Date: 2024-09-18 22:19:38 Duration: 37s960ms Database: ctdprd51 User: pubeu Bind query: yes
14 4s110ms 5s353ms 4s703ms 75 5m52s select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Sep 15 02 2 9s146ms 4s573ms 03 1 4s983ms 4s983ms 06 3 14s878ms 4s959ms 07 1 4s283ms 4s283ms 08 1 5s225ms 5s225ms 09 1 4s110ms 4s110ms 21 2 9s960ms 4s980ms Sep 16 03 2 8s946ms 4s473ms 04 1 4s220ms 4s220ms 09 2 9s56ms 4s528ms 10 1 4s356ms 4s356ms 14 2 9s905ms 4s952ms Sep 17 00 1 5s118ms 5s118ms 04 3 14s169ms 4s723ms 09 1 4s335ms 4s335ms 13 6 27s759ms 4s626ms 19 1 5s353ms 5s353ms 20 1 4s509ms 4s509ms 21 1 4s657ms 4s657ms 22 2 9s901ms 4s950ms Sep 18 00 5 24s217ms 4s843ms 01 1 5s290ms 5s290ms 03 1 4s423ms 4s423ms 04 1 5s249ms 5s249ms 05 1 4s233ms 4s233ms 23 1 4s457ms 4s457ms Sep 19 02 1 4s494ms 4s494ms 03 2 8s921ms 4s460ms 04 3 13s866ms 4s622ms 12 1 4s918ms 4s918ms 22 1 4s342ms 4s342ms 23 1 4s487ms 4s487ms Sep 20 04 1 4s525ms 4s525ms 10 1 4s437ms 4s437ms 11 1 4s219ms 4s219ms 13 1 4s847ms 4s847ms 14 1 4s618ms 4s618ms 18 2 9s839ms 4s919ms 23 2 8s699ms 4s349ms Sep 21 01 1 5s248ms 5s248ms 10 3 14s692ms 4s897ms 14 2 10s152ms 5s76ms 15 3 13s841ms 4s613ms 17 1 4s550ms 4s550ms 18 2 9s319ms 4s659ms [ User: pubeu - Total duration: 3m11s - Times executed: 41 ]
-
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 = '1310804' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-09-17 19:14:40 Duration: 5s353ms 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 = '1428797' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-09-15 06:49:51 Duration: 5s342ms 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 = '1397671' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-09-18 01:19:10 Duration: 5s290ms Bind query: yes
15 1s84ms 43s228ms 4s331ms 59 4m15s 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 #15
Day Hour Count Duration Avg duration Sep 15 00 1 1s787ms 1s787ms 04 1 13s824ms 13s824ms 05 1 1s426ms 1s426ms 21 1 1s494ms 1s494ms Sep 16 00 11 36s73ms 3s279ms 01 3 8s392ms 2s797ms 10 1 1s608ms 1s608ms 14 1 1s134ms 1s134ms 20 1 14s542ms 14s542ms 23 1 1s509ms 1s509ms Sep 17 03 1 14s273ms 14s273ms 05 1 4s582ms 4s582ms 06 1 1s342ms 1s342ms 10 2 17s832ms 8s916ms 12 1 2s560ms 2s560ms 13 10 15s891ms 1s589ms 16 1 1s442ms 1s442ms 22 1 1s764ms 1s764ms Sep 18 00 1 1s411ms 1s411ms 05 1 4s599ms 4s599ms 10 2 3s973ms 1s986ms 21 3 1m3s 21s32ms 22 2 6s688ms 3s344ms Sep 19 00 2 3s78ms 1s539ms 02 1 1s84ms 1s84ms 05 1 4s562ms 4s562ms 09 1 15s2ms 15s2ms 12 1 3s139ms 3s139ms 14 1 1s802ms 1s802ms Sep 20 06 1 1s150ms 1s150ms Sep 21 23 2 4s496ms 2s248ms [ User: pubeu - Total duration: 2m59s - Times executed: 33 ]
-
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 = '2078851') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-09-18 21:06:23 Duration: 43s228ms 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 = '2085888') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-09-18 21:36:31 Duration: 16s478ms 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 = '2079317') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-09-17 10:13:28 Duration: 16s187ms Database: ctdprd51 User: pubeu Bind query: yes
16 3s668ms 15s805ms 3s839ms 487 31m9s 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 #16
Day Hour Count Duration Avg duration Sep 15 00 1 3s821ms 3s821ms 03 1 3s884ms 3s884ms 05 3 11s205ms 3s735ms 08 30 1m53s 3s788ms 09 19 1m11s 3s748ms 12 2 7s738ms 3s869ms 13 22 1m35s 4s345ms 14 55 3m28s 3s786ms 15 43 2m43s 3s791ms 16 13 49s298ms 3s792ms 17 29 1m49s 3s787ms 19 2 7s540ms 3s770ms 20 1 4s131ms 4s131ms 21 1 3s946ms 3s946ms 22 1 3s796ms 3s796ms 23 1 3s745ms 3s745ms Sep 16 01 2 7s436ms 3s718ms 02 4 15s581ms 3s895ms 03 5 18s815ms 3s763ms 05 1 3s764ms 3s764ms 06 2 7s630ms 3s815ms 07 3 11s355ms 3s785ms 08 1 3s872ms 3s872ms 09 3 11s971ms 3s990ms 10 4 15s742ms 3s935ms 12 2 7s741ms 3s870ms 13 1 3s800ms 3s800ms 14 2 7s541ms 3s770ms 15 2 7s507ms 3s753ms 16 3 11s364ms 3s788ms 17 1 3s896ms 3s896ms 18 1 3s877ms 3s877ms 21 1 3s804ms 3s804ms 22 1 3s845ms 3s845ms Sep 17 00 3 11s433ms 3s811ms 02 1 3s822ms 3s822ms 03 1 3s787ms 3s787ms 04 2 7s613ms 3s806ms 05 1 3s766ms 3s766ms 08 6 24s599ms 4s99ms 09 2 7s606ms 3s803ms 10 1 3s784ms 3s784ms 11 4 15s83ms 3s770ms 13 2 8s715ms 4s357ms 15 2 7s601ms 3s800ms 16 3 11s331ms 3s777ms 17 2 7s818ms 3s909ms 18 3 11s833ms 3s944ms 19 2 7s514ms 3s757ms 22 1 3s854ms 3s854ms 23 1 3s729ms 3s729ms Sep 18 00 1 3s927ms 3s927ms 01 7 26s398ms 3s771ms 03 2 7s605ms 3s802ms 04 6 22s381ms 3s730ms 05 4 15s825ms 3s956ms 06 1 3s775ms 3s775ms 07 3 11s409ms 3s803ms 08 3 11s309ms 3s769ms 09 2 7s527ms 3s763ms 10 5 19s89ms 3s817ms 11 1 3s753ms 3s753ms 12 1 3s759ms 3s759ms 13 2 7s522ms 3s761ms 14 2 7s461ms 3s730ms 15 1 3s828ms 3s828ms 16 1 3s764ms 3s764ms 20 2 7s479ms 3s739ms 21 1 3s842ms 3s842ms 22 1 3s771ms 3s771ms 23 2 7s539ms 3s769ms Sep 19 00 7 26s631ms 3s804ms 01 6 22s605ms 3s767ms 02 6 22s626ms 3s771ms 03 7 26s620ms 3s802ms 04 2 7s862ms 3s931ms 06 2 7s552ms 3s776ms 07 1 3s718ms 3s718ms 08 4 15s663ms 3s915ms 09 3 11s349ms 3s783ms 10 1 3s727ms 3s727ms 11 1 3s748ms 3s748ms 12 3 11s426ms 3s808ms 13 3 11s513ms 3s837ms 14 1 4s646ms 4s646ms 15 1 3s845ms 3s845ms 16 1 3s954ms 3s954ms 17 1 3s832ms 3s832ms 18 4 15s342ms 3s835ms 19 12 46s479ms 3s873ms 20 9 34s384ms 3s820ms 21 6 22s414ms 3s735ms 22 1 3s704ms 3s704ms Sep 20 00 1 3s793ms 3s793ms 01 2 7s543ms 3s771ms 03 2 7s513ms 3s756ms 04 2 7s558ms 3s779ms 05 2 7s753ms 3s876ms 06 2 7s582ms 3s791ms 08 2 7s557ms 3s778ms 09 1 3s725ms 3s725ms 12 1 3s849ms 3s849ms 13 3 11s680ms 3s893ms 14 2 7s625ms 3s812ms 15 2 7s469ms 3s734ms 18 2 7s760ms 3s880ms 19 4 15s309ms 3s827ms 20 2 7s693ms 3s846ms Sep 21 01 2 7s549ms 3s774ms 02 2 7s687ms 3s843ms 03 5 19s259ms 3s851ms 04 1 3s796ms 3s796ms 05 1 3s775ms 3s775ms 06 1 3s889ms 3s889ms 08 2 7s791ms 3s895ms 10 2 7s633ms 3s816ms 11 1 3s731ms 3s731ms 12 4 15s449ms 3s862ms 14 1 3s796ms 3s796ms 15 2 7s565ms 3s782ms 17 1 3s846ms 3s846ms 19 1 3s865ms 3s865ms 20 1 5s807ms 5s807ms [ User: pubeu - Total duration: 12m24s - Times executed: 195 ]
-
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-15 13:39:12 Duration: 15s805ms 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 = '1323115') 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 = '1323115') 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-21 20:23:07 Duration: 5s807ms 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-17 08:20:07 Duration: 5s87ms Bind query: yes
17 1s5ms 10s992ms 3s591ms 113 6m45s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Sep 15 03 1 1s271ms 1s271ms 04 1 2s635ms 2s635ms 06 3 5s395ms 1s798ms 08 20 1m13s 3s671ms 09 1 2s466ms 2s466ms 10 1 1s50ms 1s50ms 16 1 10s47ms 10s47ms 19 1 2s534ms 2s534ms 22 1 10s143ms 10s143ms Sep 16 00 3 6s88ms 2s29ms 01 1 1s176ms 1s176ms 03 1 1s342ms 1s342ms 04 2 10s852ms 5s426ms 05 3 3s462ms 1s154ms 06 1 1s153ms 1s153ms 08 1 10s4ms 10s4ms 09 4 33s874ms 8s468ms 10 1 1s285ms 1s285ms 14 1 1s288ms 1s288ms 23 1 2s398ms 2s398ms Sep 17 01 1 1s18ms 1s18ms 04 1 1s79ms 1s79ms 13 1 4s956ms 4s956ms 16 1 1s305ms 1s305ms 23 1 2s361ms 2s361ms Sep 18 01 2 2s57ms 1s28ms 02 1 3s154ms 3s154ms 07 4 20s921ms 5s230ms 08 2 5s904ms 2s952ms 09 1 9s862ms 9s862ms 10 2 2s203ms 1s101ms 15 1 1s27ms 1s27ms 19 1 1s284ms 1s284ms 20 2 10s251ms 5s125ms 21 3 4s976ms 1s658ms 22 4 25s408ms 6s352ms 23 3 5s940ms 1s980ms Sep 19 02 1 2s708ms 2s708ms 12 1 1s115ms 1s115ms 13 1 1s120ms 1s120ms 17 1 2s116ms 2s116ms 21 1 1s527ms 1s527ms 23 2 5s22ms 2s511ms Sep 20 02 1 1s559ms 1s559ms 03 1 2s718ms 2s718ms 07 1 3s94ms 3s94ms 08 1 1s313ms 1s313ms 13 1 2s301ms 2s301ms 17 1 5s800ms 5s800ms 21 1 9s937ms 9s937ms 22 3 11s693ms 3s897ms 23 1 2s406ms 2s406ms Sep 21 00 1 10s494ms 10s494ms 01 1 1s14ms 1s14ms 02 1 9s979ms 9s979ms 04 1 1s81ms 1s81ms 06 1 10s240ms 10s240ms 07 1 1s295ms 1s295ms 09 1 6s474ms 6s474ms 10 1 4s570ms 4s570ms 12 1 1s219ms 1s219ms 13 2 12s154ms 6s77ms 17 1 1s70ms 1s70ms 18 1 2s506ms 2s506ms 22 2 3s718ms 1s859ms [ User: pubeu - Total duration: 3m42s - Times executed: 55 ]
-
SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm, d.acc_txt diseaseAcc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, g.nm geneSymbol, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId, gd.network_score networkScore, gd.indirect_chem_qty inferredCount, gd.reference_qty referenceCount, gd.exposure_reference_qty exposureReferenceCount, CASE WHEN gd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2086129') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-09-18 22:59:40 Duration: 10s992ms 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-16 09:26:22 Duration: 10s700ms 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-18 22:59:37 Duration: 10s672ms Bind query: yes
18 1s123ms 6s618ms 2s890ms 36 1m44s select * from ( select g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, count(*) over () fullrowcount from term g where g.id in ( select gt.gene_id from dag_path dp inner join gene_taxon gt on dp.descendant_object_id = gt.taxon_id where dp.ancestor_object_id = ? union all select gcr.gene_id from dag_path dp inner join gene_chem_reference gcr on dp.descendant_object_id = gcr.taxon_id where dp.ancestor_object_id = ?) offset ?) mq order by mq.genesymbolsort limit ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Sep 15 08 1 5s531ms 5s531ms Sep 20 08 1 2s91ms 2s91ms 09 15 43s309ms 2s887ms 11 17 50s65ms 2s945ms 13 2 3s70ms 1s535ms [ User: pubeu - Total duration: 45s743ms - Times executed: 14 ]
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '652528' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '652528') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-09-20 11:38:25 Duration: 6s618ms Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '652528' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '652528') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-09-20 09:57:27 Duration: 6s30ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '652528' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '652528') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2024-09-15 08:22:39 Duration: 5s531ms Database: ctdprd51 User: pubeu Bind query: yes
19 1s1ms 3s340ms 2s549ms 35 1m29s 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 #19
Day Hour Count Duration Avg duration Sep 15 05 3 7s644ms 2s548ms 08 2 5s80ms 2s540ms Sep 16 05 3 7s654ms 2s551ms 08 1 1s859ms 1s859ms 12 1 3s204ms 3s204ms 22 1 2s77ms 2s77ms Sep 17 05 3 7s653ms 2s551ms 09 1 3s207ms 3s207ms Sep 18 05 3 7s682ms 2s560ms 06 1 3s231ms 3s231ms 08 1 2s391ms 2s391ms 13 1 1s858ms 1s858ms Sep 19 05 3 7s642ms 2s547ms Sep 20 02 1 1s879ms 1s879ms 05 3 7s601ms 2s533ms 08 1 3s262ms 3s262ms 10 2 6s663ms 3s331ms Sep 21 05 4 8s625ms 2s156ms [ User: pubeu - Total duration: 48s935ms - Times executed: 16 ]
[ User: qaeu - Total duration: 23s118ms - 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 = '652528' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 4 ORDER BY sn.path;
Date: 2024-09-20 10:23:39 Duration: 3s340ms 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-17 05:35:12 Duration: 3s330ms 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-15 05:35:12 Duration: 3s327ms Database: ctdprd51 User: pubeu Bind query: yes
20 1s421ms 4s406ms 2s422ms 32 1m17s 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 exists ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id in ( select distinct id from term baseterm where object_type_id = ? and upper(baseterm.nm) like ?) and viachemptr.via_term_id = dp.descendant_object_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 ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Sep 19 20 6 12s368ms 2s61ms 21 23 57s108ms 2s482ms Sep 20 13 3 8s32ms 2s677ms [ User: pubeu - Total duration: 19s366ms - Times executed: 8 ]
-
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 exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'CADMIUM') and viaChemPTR.via_term_id = dp.descendant_object_id) 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;
Date: 2024-09-19 21:22:27 Duration: 4s406ms 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 exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'CADMIUM') and viaChemPTR.via_term_id = dp.descendant_object_id) 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;
Date: 2024-09-19 21:22:29 Duration: 4s309ms 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 exists ( select /* DBConstants.getDAGTermSQL */ distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id in ( select distinct id from term baseTerm where object_type_id = 2 and upper(baseTerm.nm) LIKE 'PLASTICS') and viaChemPTR.via_term_id = dp.descendant_object_id) 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;
Date: 2024-09-19 21:00:57 Duration: 2s786ms Database: ctdprd51 User: pubeu Bind query: yes
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 0ms 42 0ms 0ms 0ms ;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Sep 15 12 2 0ms 0ms 14 2 0ms 0ms Sep 16 10 2 0ms 0ms Sep 17 09 2 0ms 0ms Sep 19 10 2 0ms 0ms 11 2 0ms 0ms 14 2 0ms 0ms 15 2 0ms 0ms 16 2 0ms 0ms Sep 20 07 3 0ms 0ms 08 6 0ms 0ms 09 3 0ms 0ms 11 3 0ms 0ms 14 6 0ms 0ms 15 3 0ms 0ms [ User: pubeu - Total duration: 52s155ms - Times executed: 25 ]
-
;
Date: Duration: 0ms Database: postgres User: ctdprd51 Remote: pubeu parameters: $1 = '2085135'
-
Events
Log levels
Key values
- 1,377,594 Log entries
Events distribution
Key values
- 0 PANIC entries
- 2 FATAL entries
- 17 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 10 Max number of times the same event was reported
- 19 Total events found
Rank Times reported Error 1 10 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #1
Day Hour Count Sep 16 16 1 Sep 17 11 2 Sep 19 19 3 Sep 20 19 2 20 1 Sep 21 17 1 2 4 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #2
Day Hour Count Sep 16 13 1 14 2 Sep 17 11 1 3 2 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #3
Day Hour Count Sep 20 01 1 11 1 4 2 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #4
Day Hour Count Sep 20 01 1 11 1 5 1 ERROR: relation "..." does not exist
Times Reported Most Frequent Error / Event #5
Day Hour Count Sep 19 11 1 - ERROR: relation "cached" does not exist at character 15
Statement: select * from cached value
Date: 2024-09-19 11:07:46 Database: ctdprd51 Application: pgAdmin 4 - CONN:9138255 User: pub2 Remote: