-
Global information
- Generated on Sun Mar 23 04:15:13 2025
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20250322
- Parsed 171,155 log entries in 12s
- Log start from 2025-03-16 00:00:02 to 2025-03-22 23:59:41
-
Overview
Global Stats
- 341 Number of unique normalized queries
- 5,767 Number of queries
- 12h34m58s Total query duration
- 2025-03-16 00:00:26 First query
- 2025-03-22 23:59:41 Last query
- 4 queries/s at 2025-03-20 23:34:39 Query peak
- 12h34m58s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 12h34m58s Execute total duration
- 344 Number of events
- 18 Number of unique normalized events
- 246 Max number of times the same event was reported
- 0 Number of cancellation
- 81 Total number of automatic vacuums
- 233 Total number of automatic analyzes
- 215 Number temporary file
- 271.47 MiB Max size of temporary file
- 64.86 MiB Average size of temporary file
- 15,288 Total number of sessions
- 80 sessions at 2025-03-22 09:34:33 Session peak
- 287d4h19m36s Total duration of sessions
- 27m2s Average duration of sessions
- 0 Average queries per session
- 2s963ms Average queries duration per session
- 27m Average idle time per session
- 15,288 Total number of connections
- 85 connections/s at 2025-03-16 03:46:37 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 4 queries/s Query Peak
- 2025-03-20 23:34:39 Date
SELECT Traffic
Key values
- 4 queries/s Query Peak
- 2025-03-20 23:34:39 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2025-03-21 10:41:01 Date
Queries duration
Key values
- 12h34m58s 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) Mar 16 00 23 0ms 26m28s 1m12s 3s10ms 11s220ms 26m36s 01 31 0ms 5s828ms 1s840ms 4s88ms 4s148ms 5s828ms 02 23 0ms 10s623ms 2s655ms 4s789ms 10s427ms 10s683ms 03 7 0ms 1s563ms 1s313ms 1s256ms 1s292ms 2s683ms 04 33 0ms 10s491ms 1s867ms 2s658ms 5s314ms 10s491ms 05 86 0ms 6s431ms 2s405ms 17s906ms 25s775ms 27s143ms 06 31 0ms 52s201ms 5s114ms 2s615ms 24s133ms 53s341ms 07 15 0ms 5s466ms 1s898ms 2s303ms 3s434ms 5s466ms 08 30 0ms 8s925ms 1s652ms 2s452ms 2s982ms 10s18ms 09 40 0ms 31s495ms 2s571ms 3s963ms 4s225ms 35s599ms 10 56 0ms 52s293ms 3s631ms 5s239ms 24s220ms 55s10ms 11 122 0ms 13s186ms 2s309ms 12s919ms 19s14ms 49s603ms 12 37 0ms 11s483ms 2s312ms 5s243ms 6s485ms 18s389ms 13 19 0ms 4s151ms 2s232ms 3s970ms 4s13ms 4s151ms 14 28 0ms 52s535ms 5s959ms 11s482ms 24s103ms 52s535ms 15 12 0ms 3s411ms 1s451ms 1s264ms 1s392ms 4s622ms 16 11 0ms 4s36ms 1s761ms 1s296ms 2s586ms 4s36ms 17 19 0ms 5s699ms 1s948ms 3s982ms 5s610ms 7s814ms 18 33 0ms 52s101ms 5s337ms 4s31ms 24s97ms 52s101ms 19 25 0ms 5s327ms 1s566ms 2s486ms 2s686ms 5s327ms 20 16 0ms 5s568ms 1s578ms 1s392ms 2s840ms 5s568ms 21 51 0ms 7s978ms 2s964ms 5s441ms 17s417ms 53s32ms 22 25 0ms 6s275ms 1s906ms 4s18ms 4s84ms 7s763ms 23 13 0ms 2s264ms 1s371ms 1s387ms 2s131ms 2s264ms Mar 17 00 20 0ms 26m 1m19s 2s625ms 4s260ms 26m6s 01 56 0ms 5s423ms 2s904ms 5s683ms 6s651ms 12s589ms 02 44 0ms 10s629ms 2s928ms 5s419ms 6s787ms 10s629ms 03 59 0ms 7s724ms 2s958ms 6s206ms 6s936ms 8s985ms 04 27 0ms 4s223ms 1s364ms 2s274ms 2s668ms 5s349ms 05 78 0ms 5s986ms 2s414ms 15s708ms 24s341ms 24s863ms 06 42 0ms 52s449ms 6s368ms 24s214ms 31s835ms 52s449ms 07 29 0ms 4s128ms 2s318ms 4s24ms 5s319ms 9s779ms 08 30 0ms 5s609ms 1s745ms 2s495ms 5s59ms 7s13ms 09 32 0ms 4s335ms 1s736ms 2s581ms 6s554ms 9s562ms 10 68 0ms 53s30ms 3s860ms 8s511ms 24s176ms 54s321ms 11 63 0ms 5s618ms 1s545ms 5s410ms 9s455ms 13s450ms 12 56 0ms 5s705ms 2s584ms 5s600ms 9s189ms 23s436ms 13 29 0ms 8s49ms 2s163ms 4s48ms 5s211ms 8s49ms 14 30 0ms 52s459ms 5s606ms 4s410ms 24s146ms 52s459ms 15 79 0ms 34s136ms 12s53ms 5s7ms 45s9ms 13m18s 16 18 0ms 5s400ms 1s668ms 2s509ms 5s159ms 5s400ms 17 30 0ms 1s945ms 1s300ms 1s375ms 3s195ms 5s729ms 18 48 0ms 52s646ms 5s33ms 7s74ms 43s685ms 52s646ms 19 35 0ms 5s511ms 2s169ms 4s95ms 6s920ms 11s385ms 20 23 0ms 5s625ms 1s778ms 2s748ms 4s88ms 8s450ms 21 22 0ms 5s145ms 1s724ms 2s679ms 4s126ms 5s145ms 22 15 0ms 7s797ms 2s82ms 1s499ms 3s13ms 7s797ms 23 21 0ms 3s967ms 1s625ms 2s490ms 3s967ms 5s844ms Mar 18 00 18 0ms 26m2s 1m29s 1s522ms 4s210ms 26m8s 01 14 0ms 40s159ms 4s429ms 1s769ms 2s985ms 40s159ms 02 34 0ms 11s209ms 2s765ms 5s456ms 5s964ms 16s701ms 03 16 0ms 5s425ms 2s967ms 4s73ms 4s199ms 10s832ms 04 28 0ms 4s273ms 1s597ms 2s996ms 4s212ms 8s236ms 05 78 0ms 6s459ms 2s371ms 17s791ms 24s753ms 28s523ms 06 22 0ms 52s487ms 6s923ms 3s832ms 24s168ms 56s404ms 07 6 0ms 4s118ms 1s881ms 1s465ms 1s610ms 4s118ms 08 39 0ms 4s14ms 1s723ms 3s996ms 6s513ms 25s710ms 09 17 0ms 5s289ms 2s156ms 3s902ms 5s208ms 6s400ms 10 22 0ms 1m29s 14s132ms 24s190ms 41s942ms 1m29s 11 35 0ms 16s856ms 5s28ms 8s153ms 12s319ms 49s843ms 12 10 0ms 4s247ms 2s832ms 3s961ms 3s986ms 4s247ms 13 24 0ms 1m33s 13s567ms 13s589ms 44s152ms 1m33s 14 34 0ms 52s370ms 4s739ms 6s241ms 24s67ms 52s370ms 15 5 0ms 4s123ms 2s83ms 1s257ms 2s565ms 4s123ms 16 6 0ms 4s228ms 1s710ms 1s178ms 1s222ms 4s228ms 17 14 0ms 3s174ms 1s476ms 1s384ms 3s2ms 4s61ms 18 42 0ms 52s746ms 4s410ms 8s455ms 24s146ms 52s746ms 19 21 0ms 3s928ms 1s676ms 1s516ms 3s8ms 5s117ms 20 37 0ms 2s273ms 1s482ms 3s610ms 4s217ms 7s239ms 21 35 0ms 14s712ms 2s202ms 3s708ms 7s972ms 17s244ms 22 47 0ms 4s240ms 1s626ms 3s21ms 4s455ms 5s181ms 23 65 0ms 4s430ms 1s563ms 4s239ms 5s916ms 5s963ms Mar 19 00 31 0ms 26m23s 52s734ms 3s36ms 3s991ms 26m30s 01 41 0ms 5s691ms 2s62ms 4s537ms 6s881ms 18s556ms 02 30 0ms 4s26ms 1s554ms 2s997ms 3s141ms 5s199ms 03 35 0ms 36s527ms 3s904ms 4s139ms 5s744ms 1m8s 04 30 0ms 6s393ms 1s822ms 2s865ms 6s925ms 9s130ms 05 72 0ms 6s412ms 2s301ms 14s690ms 21s34ms 26s350ms 06 51 0ms 53s728ms 4s237ms 12s403ms 24s333ms 53s728ms 07 26 0ms 8s650ms 2s789ms 4s507ms 8s477ms 10s906ms 08 28 0ms 2m1s 11s202ms 6s694ms 18s723ms 2m1s 09 34 0ms 15s342ms 2s329ms 4s44ms 5s820ms 15s342ms 10 41 0ms 25m52s 42s490ms 7s956ms 41s743ms 25m54s 11 22 0ms 4s57ms 1s542ms 1s539ms 4s57ms 4s168ms 12 41 0ms 6s446ms 1s817ms 2s992ms 5s357ms 17s484ms 13 20 0ms 4s228ms 1s902ms 3s532ms 4s160ms 5s489ms 14 62 0ms 52s425ms 4s213ms 20s669ms 24s261ms 52s425ms 15 23 0ms 22s30ms 2s719ms 2s980ms 4s59ms 23s515ms 16 12 0ms 4s108ms 1s669ms 1s494ms 1s506ms 5s601ms 17 27 0ms 4s234ms 1s646ms 2s661ms 3s983ms 4s234ms 18 36 0ms 52s602ms 4s740ms 7s181ms 24s252ms 52s602ms 19 39 0ms 6s287ms 1s609ms 4s582ms 5s574ms 7s117ms 20 29 0ms 19s721ms 2s397ms 2s843ms 4s6ms 21s206ms 21 39 0ms 12s408ms 1s805ms 3s381ms 4s393ms 13s905ms 22 59 0ms 10s445ms 2s245ms 8s39ms 12s557ms 19s667ms 23 25 0ms 17s464ms 2s278ms 2s970ms 3s109ms 24s371ms Mar 20 00 6 0ms 30m48s 5m10s 0ms 1s253ms 30m54s 01 20 0ms 10s497ms 1s806ms 1s503ms 1s656ms 11s738ms 02 18 0ms 19s497ms 3s387ms 4s92ms 4s122ms 19s497ms 03 37 0ms 8s789ms 1s852ms 3s587ms 5s592ms 8s789ms 04 33 0ms 4s322ms 1s863ms 4s152ms 5s213ms 8s370ms 05 52 0ms 11s693ms 2s457ms 11s693ms 15s553ms 24s734ms 06 40 0ms 52s343ms 5s841ms 18s317ms 29s46ms 52s343ms 07 28 0ms 29s157ms 3s89ms 4s899ms 7s273ms 34s542ms 08 28 0ms 1m49s 8s504ms 5s541ms 18s814ms 1m49s 09 30 0ms 6s438ms 1s741ms 2s784ms 5s223ms 9s89ms 10 48 0ms 52s386ms 5s134ms 21s34ms 30s138ms 52s386ms 11 23 0ms 5s79ms 2s111ms 2s818ms 5s332ms 15s116ms 12 34 0ms 4s570ms 1s550ms 3s248ms 4s134ms 13s145ms 13 12 0ms 1s580ms 1s345ms 1s437ms 1s554ms 3s270ms 14 25 0ms 54s34ms 5s647ms 4s123ms 12s584ms 54s34ms 15 13 0ms 10s656ms 3s239ms 3s937ms 4s401ms 10s656ms 16 23 0ms 19s132ms 2s934ms 2s624ms 4s98ms 20s422ms 17 30 0ms 9s562ms 1s676ms 2s245ms 3s751ms 14s490ms 18 34 0ms 52s260ms 5s69ms 3s994ms 24s228ms 52s260ms 19 36 0ms 2s967ms 1s349ms 3s494ms 4s367ms 12s247ms 20 17 0ms 1s486ms 1s315ms 1s400ms 2s617ms 2s712ms 21 14 0ms 9s762ms 1s840ms 1s311ms 1s483ms 9s762ms 22 25 0ms 3s941ms 1s458ms 2s578ms 3s810ms 4s326ms 23 42 0ms 6m29s 1m45s 12s36ms 5m 56m52s Mar 21 00 4 0ms 30m38s 7m43s 0ms 1s594ms 30m45s 01 0 0ms 0ms 0ms 0ms 0ms 0ms 02 0 0ms 0ms 0ms 0ms 0ms 0ms 03 0 0ms 0ms 0ms 0ms 0ms 0ms 04 0 0ms 0ms 0ms 0ms 0ms 0ms 05 54 0ms 5s426ms 2s234ms 14s672ms 16s79ms 31s29ms 06 31 0ms 11m46s 50s743ms 24s139ms 52s989ms 11m46s 07 11 0ms 4s63ms 1s650ms 1s625ms 2s575ms 4s63ms 08 24 0ms 19s240ms 2s652ms 2s827ms 5s387ms 20s684ms 09 32 0ms 5s645ms 2s168ms 3s296ms 6s563ms 13s254ms 10 68 0ms 52s312ms 4s128ms 19s234ms 26s731ms 52s312ms 11 74 0ms 19s948ms 2s189ms 6s466ms 19s210ms 24s999ms 12 80 0ms 5s625ms 1s461ms 6s332ms 7s702ms 9s120ms 13 46 0ms 4s313ms 1s647ms 4s313ms 6s610ms 8s511ms 14 76 0ms 52s845ms 3s15ms 10s892ms 29s290ms 1m5s 15 99 0ms 7s904ms 1s435ms 5s764ms 6s744ms 14s373ms 16 96 0ms 18s743ms 2s26ms 11s653ms 21s815ms 25s899ms 17 107 0ms 19s134ms 1s889ms 12s190ms 17s722ms 26s615ms 18 131 0ms 52s814ms 3s379ms 24s317ms 35s921ms 1m15s 19 99 0ms 20s643ms 2s266ms 8s168ms 19s786ms 39s713ms 20 72 0ms 5s642ms 1s429ms 5s506ms 7s9ms 10s751ms 21 96 0ms 27s407ms 2s556ms 7s669ms 20s763ms 54s886ms 22 56 0ms 5s911ms 1s472ms 4s958ms 7s824ms 9s307ms 23 45 0ms 6s278ms 1s751ms 5s159ms 6s333ms 11s35ms Mar 22 00 15 0ms 30m8s 2m2s 2s194ms 2s806ms 30m14s 01 8 0ms 20m30s 7m55s 35s81ms 37s375ms 1h1m22s 02 0 0ms 0ms 0ms 0ms 0ms 0ms 03 0 0ms 0ms 0ms 0ms 0ms 0ms 04 0 0ms 0ms 0ms 0ms 0ms 0ms 05 42 0ms 4s772ms 2s337ms 15s681ms 24s621ms 24s901ms 06 9 0ms 1s543ms 1s359ms 1s320ms 1s536ms 2s761ms 07 45 0ms 35s620ms 5s749ms 20s677ms 34s234ms 1m7s 08 12 0ms 34s634ms 6s888ms 1s485ms 34s531ms 34s634ms 09 26 0ms 34s545ms 7s92ms 4s40ms 30s344ms 1m2s 10 49 0ms 46s470ms 5s974ms 9s830ms 33s429ms 2m45s 11 17 0ms 32s416ms 5s428ms 1s505ms 5s183ms 1m3s 12 41 0ms 42s251ms 3s198ms 13s428ms 34s883ms 43s330ms 13 15 0ms 9s544ms 2s472ms 2s926ms 5s759ms 9s544ms 14 26 0ms 4s113ms 1s845ms 4s46ms 4s113ms 5s259ms 15 13 0ms 1s868ms 1s434ms 1s496ms 1s547ms 2s923ms 16 13 0ms 10s900ms 2s570ms 2s524ms 4s228ms 13s883ms 17 15 0ms 11s679ms 2s680ms 2s941ms 7s939ms 16s268ms 18 40 0ms 1m11s 10s705ms 41s795ms 1m5s 1m12s 19 61 0ms 24m35s 1m21s 1m53s 7m24s 24m39s 20 28 0ms 52s414ms 5s595ms 4s65ms 25s109ms 1m5s 21 14 0ms 3s384ms 1s387ms 1s248ms 2s707ms 3s384ms 22 24 0ms 5s568ms 1s683ms 3s770ms 4s783ms 5s568ms 23 23 0ms 5s629ms 2s67ms 2s882ms 5s629ms 11s996ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 16 00 22 0 1m15s 1s455ms 3s10ms 26m30s 01 31 0 1s840ms 2s661ms 4s88ms 5s828ms 02 23 0 2s655ms 1s409ms 4s789ms 10s683ms 03 7 0 1s313ms 0ms 1s256ms 2s683ms 04 33 0 1s867ms 1s477ms 2s658ms 8s222ms 05 82 0 2s414ms 5s390ms 17s906ms 27s143ms 06 20 10 5s171ms 1s368ms 2s482ms 41s748ms 07 15 0 1s898ms 1s267ms 2s303ms 5s466ms 08 30 0 1s652ms 1s384ms 2s452ms 4s38ms 09 40 0 2s571ms 2s531ms 3s963ms 8s923ms 10 45 10 3s644ms 2s765ms 5s239ms 42s275ms 11 122 0 2s309ms 9s876ms 12s919ms 19s930ms 12 37 0 2s312ms 2s720ms 5s243ms 18s389ms 13 19 0 2s232ms 1s492ms 3s970ms 4s60ms 14 18 10 5s959ms 2s433ms 11s482ms 52s535ms 15 12 0 1s451ms 1s206ms 1s264ms 4s622ms 16 11 0 1s761ms 1s203ms 1s296ms 4s36ms 17 19 0 1s948ms 1s374ms 3s982ms 7s814ms 18 23 10 5s337ms 3s799ms 4s31ms 41s614ms 19 25 0 1s566ms 1s319ms 2s486ms 5s327ms 20 16 0 1s578ms 1s243ms 1s392ms 5s568ms 21 51 0 2s964ms 1s394ms 5s441ms 53s32ms 22 25 0 1s906ms 1s412ms 4s18ms 7s763ms 23 13 0 1s371ms 1s202ms 1s387ms 2s264ms Mar 17 00 18 0 1m28s 1s273ms 2s425ms 26m 01 56 0 2s904ms 5s262ms 5s683ms 11s601ms 02 44 0 2s928ms 4s134ms 5s419ms 8s254ms 03 59 0 2s958ms 5s234ms 6s206ms 8s287ms 04 27 0 1s364ms 1s367ms 2s274ms 5s349ms 05 74 0 2s424ms 2s515ms 15s708ms 24s809ms 06 32 10 6s368ms 4s238ms 19s758ms 41s888ms 07 28 0 2s297ms 3s271ms 4s24ms 5s374ms 08 30 0 1s745ms 1s393ms 2s495ms 5s609ms 09 32 0 1s736ms 1s379ms 2s581ms 6s735ms 10 46 10 4s204ms 4s321ms 8s511ms 41s831ms 11 63 0 1s545ms 2s778ms 5s410ms 12s603ms 12 55 0 2s595ms 4s87ms 5s600ms 13s364ms 13 29 0 2s163ms 1s343ms 4s48ms 5s692ms 14 20 10 5s606ms 2s491ms 4s410ms 41s926ms 15 79 0 12s53ms 2s987ms 5s7ms 13m18s 16 18 0 1s668ms 1s389ms 2s509ms 5s400ms 17 30 0 1s300ms 1s246ms 1s375ms 4s259ms 18 37 10 5s88ms 3s210ms 7s74ms 43s685ms 19 34 0 2s158ms 2s704ms 4s95ms 8s225ms 20 23 0 1s778ms 1s335ms 2s748ms 8s450ms 21 22 0 1s724ms 1s317ms 2s679ms 5s145ms 22 15 0 2s82ms 1s317ms 1s499ms 7s797ms 23 21 0 1s625ms 1s371ms 2s490ms 5s844ms Mar 18 00 17 0 1m34s 1s379ms 1s522ms 16s70ms 01 14 0 4s429ms 1s332ms 1s769ms 40s159ms 02 34 0 2s765ms 4s191ms 5s456ms 16s701ms 03 16 0 2s967ms 2s988ms 4s73ms 10s832ms 04 28 0 1s597ms 1s460ms 2s996ms 8s236ms 05 74 0 2s374ms 2s981ms 17s791ms 28s523ms 06 11 10 7s116ms 1s519ms 3s917ms 52s487ms 07 6 0 1s881ms 0ms 1s465ms 4s118ms 08 39 0 1s723ms 1s502ms 3s996ms 25s710ms 09 16 0 2s114ms 1s520ms 3s902ms 6s400ms 10 12 10 14s132ms 4s490ms 24s190ms 1m29s 11 35 0 5s28ms 4s117ms 8s153ms 49s843ms 12 10 0 2s832ms 1s252ms 3s961ms 4s247ms 13 23 0 14s104ms 2s517ms 13s589ms 1m33s 14 24 10 4s739ms 2s359ms 6s241ms 52s370ms 15 5 0 2s83ms 0ms 1s257ms 4s123ms 16 6 0 1s710ms 0ms 1s178ms 4s228ms 17 14 0 1s476ms 1s241ms 1s384ms 4s61ms 18 32 10 4s410ms 2s962ms 8s455ms 52s746ms 19 21 0 1s676ms 1s499ms 1s516ms 5s117ms 20 37 0 1s482ms 2s493ms 3s610ms 7s239ms 21 35 0 2s202ms 1s542ms 3s708ms 17s244ms 22 47 0 1s626ms 2s983ms 3s21ms 4s484ms 23 65 0 1s563ms 2s986ms 4s239ms 5s918ms Mar 19 00 30 0 54s285ms 2s530ms 3s36ms 26m24s 01 40 0 2s68ms 1s555ms 4s44ms 18s556ms 02 30 0 1s554ms 1s514ms 2s997ms 5s199ms 03 34 0 3s965ms 2s873ms 4s139ms 1m8s 04 30 0 1s822ms 1s519ms 2s865ms 9s130ms 05 69 0 2s287ms 5s523ms 14s690ms 26s350ms 06 41 10 4s237ms 3s935ms 12s403ms 53s728ms 07 26 0 2s789ms 3s17ms 4s507ms 10s906ms 08 28 0 11s202ms 3s758ms 6s694ms 2m1s 09 34 0 2s329ms 2s625ms 4s44ms 6s461ms 10 31 10 42s490ms 3s43ms 7s956ms 52s726ms 11 22 0 1s542ms 1s427ms 1s539ms 4s168ms 12 41 0 1s817ms 2s319ms 2s992ms 17s484ms 13 20 0 1s902ms 1s495ms 3s532ms 5s489ms 14 52 10 4s213ms 5s500ms 20s669ms 52s425ms 15 22 0 2s784ms 1s501ms 2s980ms 23s515ms 16 12 0 1s669ms 1s393ms 1s494ms 5s601ms 17 27 0 1s646ms 1s514ms 2s661ms 4s72ms 18 26 10 4s740ms 1s495ms 7s181ms 52s602ms 19 39 0 1s609ms 2s620ms 4s582ms 7s117ms 20 28 0 2s381ms 1s490ms 2s672ms 9s811ms 21 39 0 1s805ms 2s557ms 3s381ms 4s406ms 22 59 0 2s245ms 4s118ms 8s39ms 19s667ms 23 25 0 2s278ms 1s493ms 2s970ms 24s371ms Mar 20 00 5 0 6m10s 0ms 0ms 30m48s 01 20 0 1s806ms 1s411ms 1s503ms 11s738ms 02 18 0 3s387ms 1s496ms 4s92ms 19s497ms 03 37 0 1s852ms 2s596ms 3s587ms 5s881ms 04 33 0 1s863ms 1s505ms 4s152ms 8s370ms 05 48 0 2s479ms 2s532ms 11s693ms 24s734ms 06 30 10 5s841ms 4s972ms 18s317ms 41s815ms 07 28 0 3s89ms 2s358ms 4s899ms 34s542ms 08 28 0 8s504ms 3s599ms 5s541ms 1m49s 09 30 0 1s741ms 1s472ms 2s784ms 9s89ms 10 38 10 5s134ms 5s612ms 21s34ms 52s386ms 11 23 0 2s111ms 1s444ms 2s818ms 15s116ms 12 34 0 1s550ms 1s616ms 3s248ms 13s145ms 13 12 0 1s345ms 1s212ms 1s437ms 3s270ms 14 19 6 5s647ms 2s487ms 4s96ms 29s128ms 15 13 0 3s239ms 1s217ms 3s937ms 5s641ms 16 23 0 2s934ms 1s430ms 2s624ms 20s422ms 17 30 0 1s676ms 1s471ms 2s245ms 14s490ms 18 24 10 5s69ms 2s140ms 3s994ms 41s722ms 19 35 0 1s303ms 1s364ms 1s538ms 12s247ms 20 17 0 1s315ms 1s275ms 1s400ms 2s712ms 21 14 0 1s840ms 1s242ms 1s311ms 9s762ms 22 25 0 1s458ms 1s374ms 2s578ms 4s326ms 23 42 0 1m45s 0ms 12s36ms 6m12s Mar 21 00 3 0 10m15s 0ms 0ms 30m38s 01 0 0 0ms 0ms 0ms 0ms 02 0 0 0ms 0ms 0ms 0ms 03 0 0 0ms 0ms 0ms 0ms 04 0 0 0ms 0ms 0ms 0ms 05 50 0 2s233ms 2s599ms 14s672ms 31s29ms 06 20 10 52s354ms 5s317ms 24s139ms 11m46s 07 11 0 1s650ms 0ms 1s625ms 4s63ms 08 24 0 2s652ms 1s416ms 2s827ms 6s641ms 09 32 0 2s168ms 2s34ms 3s296ms 11s118ms 10 58 8 4s20ms 3s912ms 19s234ms 35s935ms 11 74 0 2s189ms 4s72ms 6s466ms 19s891ms 12 80 0 1s461ms 3s730ms 6s332ms 8s6ms 13 46 0 1s647ms 2s715ms 4s313ms 7s303ms 14 67 9 3s15ms 7s495ms 12s136ms 52s845ms 15 99 0 1s435ms 3s841ms 5s764ms 13s128ms 16 96 0 2s26ms 5s325ms 11s653ms 25s899ms 17 107 0 1s889ms 5s332ms 12s190ms 26s615ms 18 121 10 3s379ms 18s684ms 24s317ms 42s118ms 19 99 0 2s266ms 5s357ms 8s168ms 23s14ms 20 71 0 1s408ms 3s818ms 5s506ms 10s751ms 21 96 0 2s556ms 4s980ms 7s669ms 38s973ms 22 56 0 1s472ms 2s863ms 4s958ms 9s307ms 23 45 0 1s751ms 2s736ms 5s159ms 11s35ms Mar 22 00 14 0 2m10s 1s357ms 2s194ms 30m8s 01 8 0 7m55s 0ms 35s81ms 1h1m22s 02 0 0 0ms 0ms 0ms 0ms 03 0 0 0ms 0ms 0ms 0ms 04 0 0 0ms 0ms 0ms 0ms 05 38 0 2s342ms 1s67ms 15s681ms 24s901ms 06 9 0 1s359ms 0ms 1s320ms 2s761ms 07 45 0 5s749ms 10s688ms 20s677ms 1m7s 08 12 0 6s888ms 1s321ms 1s485ms 34s634ms 09 24 0 7s489ms 0ms 4s40ms 34s545ms 10 47 0 6s129ms 2s487ms 9s830ms 2m45s 11 17 0 5s428ms 1s369ms 1s505ms 1m3s 12 39 0 3s244ms 1s709ms 13s428ms 43s330ms 13 15 0 2s472ms 1s382ms 2s926ms 9s544ms 14 26 0 1s845ms 2s682ms 4s46ms 5s259ms 15 13 0 1s434ms 1s312ms 1s496ms 2s923ms 16 13 0 2s570ms 1s356ms 2s524ms 13s883ms 17 15 0 2s680ms 1s246ms 2s941ms 16s268ms 18 14 26 10s705ms 2s649ms 41s795ms 1m12s 19 13 48 1m21s 1m26s 1m53s 24m38s 20 25 2 5s691ms 1s356ms 4s65ms 32s327ms 21 14 0 1s387ms 1s235ms 1s248ms 3s384ms 22 24 0 1s683ms 1s496ms 3s770ms 5s568ms 23 23 0 2s67ms 1s483ms 2s882ms 11s996ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Mar 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 Mar 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 Mar 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 Mar 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 Mar 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 Mar 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 1 0 1 0 7s695ms 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 Mar 22 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 Mar 16 00 0 22 22.00 0.00% 01 0 31 31.00 0.00% 02 0 23 23.00 0.00% 03 0 7 7.00 0.00% 04 0 33 33.00 0.00% 05 0 86 86.00 0.00% 06 0 24 24.00 0.00% 07 0 15 15.00 0.00% 08 0 31 31.00 0.00% 09 0 40 40.00 0.00% 10 0 46 46.00 0.00% 11 0 122 122.00 0.00% 12 0 37 37.00 0.00% 13 0 19 19.00 0.00% 14 0 18 18.00 0.00% 15 0 12 12.00 0.00% 16 0 11 11.00 0.00% 17 0 19 19.00 0.00% 18 0 23 23.00 0.00% 19 0 25 25.00 0.00% 20 0 16 16.00 0.00% 21 0 51 51.00 0.00% 22 0 25 25.00 0.00% 23 0 13 13.00 0.00% Mar 17 00 0 18 18.00 0.00% 01 0 56 56.00 0.00% 02 0 44 44.00 0.00% 03 0 59 59.00 0.00% 04 0 27 27.00 0.00% 05 0 84 84.00 0.00% 06 0 42 42.00 0.00% 07 0 37 37.00 0.00% 08 0 34 34.00 0.00% 09 0 35 35.00 0.00% 10 0 62 62.00 0.00% 11 0 64 64.00 0.00% 12 0 56 56.00 0.00% 13 0 31 31.00 0.00% 14 0 26 26.00 0.00% 15 0 79 79.00 0.00% 16 0 18 18.00 0.00% 17 0 30 30.00 0.00% 18 0 38 38.00 0.00% 19 0 35 35.00 0.00% 20 0 23 23.00 0.00% 21 0 22 22.00 0.00% 22 0 15 15.00 0.00% 23 0 21 21.00 0.00% Mar 18 00 0 16 16.00 0.00% 01 0 14 14.00 0.00% 02 0 34 34.00 0.00% 03 0 16 16.00 0.00% 04 0 28 28.00 0.00% 05 0 78 78.00 0.00% 06 0 12 12.00 0.00% 07 0 6 6.00 0.00% 08 0 39 39.00 0.00% 09 0 17 17.00 0.00% 10 0 13 13.00 0.00% 11 0 39 39.00 0.00% 12 0 10 10.00 0.00% 13 0 23 23.00 0.00% 14 0 24 24.00 0.00% 15 0 5 5.00 0.00% 16 0 6 6.00 0.00% 17 0 15 15.00 0.00% 18 0 32 32.00 0.00% 19 0 21 21.00 0.00% 20 0 37 37.00 0.00% 21 0 35 35.00 0.00% 22 0 47 47.00 0.00% 23 0 65 65.00 0.00% Mar 19 00 0 30 30.00 0.00% 01 0 41 41.00 0.00% 02 0 30 30.00 0.00% 03 0 35 35.00 0.00% 04 0 30 30.00 0.00% 05 0 72 72.00 0.00% 06 0 41 41.00 0.00% 07 0 26 26.00 0.00% 08 0 28 28.00 0.00% 09 0 34 34.00 0.00% 10 0 34 34.00 0.00% 11 0 24 24.00 0.00% 12 0 41 41.00 0.00% 13 0 23 23.00 0.00% 14 0 52 52.00 0.00% 15 0 23 23.00 0.00% 16 0 16 16.00 0.00% 17 0 32 32.00 0.00% 18 0 26 26.00 0.00% 19 0 39 39.00 0.00% 20 0 29 29.00 0.00% 21 0 39 39.00 0.00% 22 0 59 59.00 0.00% 23 0 25 25.00 0.00% Mar 20 00 0 4 4.00 0.00% 01 0 20 20.00 0.00% 02 0 18 18.00 0.00% 03 0 37 37.00 0.00% 04 0 33 33.00 0.00% 05 0 52 52.00 0.00% 06 0 34 34.00 0.00% 07 0 28 28.00 0.00% 08 0 29 29.00 0.00% 09 0 30 30.00 0.00% 10 0 48 48.00 0.00% 11 0 23 23.00 0.00% 12 0 35 35.00 0.00% 13 0 16 16.00 0.00% 14 0 19 19.00 0.00% 15 0 13 13.00 0.00% 16 0 24 24.00 0.00% 17 0 32 32.00 0.00% 18 0 24 24.00 0.00% 19 0 36 36.00 0.00% 20 0 17 17.00 0.00% 21 0 14 14.00 0.00% 22 0 25 25.00 0.00% 23 0 42 42.00 0.00% Mar 21 00 0 2 2.00 0.00% 01 0 0 0.00 0.00% 02 0 0 0.00 0.00% 03 0 0 0.00 0.00% 04 0 0 0.00 0.00% 05 0 54 54.00 0.00% 06 0 21 21.00 0.00% 07 0 11 11.00 0.00% 08 0 24 24.00 0.00% 09 0 37 37.00 0.00% 10 0 66 66.00 0.00% 11 0 79 79.00 0.00% 12 0 86 86.00 0.00% 13 0 53 53.00 0.00% 14 0 68 68.00 0.00% 15 0 110 110.00 0.00% 16 0 103 103.00 0.00% 17 0 107 107.00 0.00% 18 0 121 121.00 0.00% 19 0 99 99.00 0.00% 20 0 72 72.00 0.00% 21 0 96 96.00 0.00% 22 0 56 56.00 0.00% 23 0 45 45.00 0.00% Mar 22 00 0 13 13.00 0.00% 01 0 8 8.00 0.00% 02 0 0 0.00 0.00% 03 0 0 0.00 0.00% 04 0 0 0.00 0.00% 05 0 42 42.00 0.00% 06 0 9 9.00 0.00% 07 0 45 45.00 0.00% 08 0 12 12.00 0.00% 09 0 26 26.00 0.00% 10 0 49 49.00 0.00% 11 0 17 17.00 0.00% 12 0 41 41.00 0.00% 13 0 15 15.00 0.00% 14 0 26 26.00 0.00% 15 0 13 13.00 0.00% 16 0 13 13.00 0.00% 17 0 15 15.00 0.00% 18 0 14 14.00 0.00% 19 0 13 13.00 0.00% 20 0 26 26.00 0.00% 21 0 14 14.00 0.00% 22 0 24 24.00 0.00% 23 0 23 23.00 0.00% Day Hour Count Average / Second Mar 16 00 128 0.04/s 01 86 0.02/s 02 102 0.03/s 03 236 0.07/s 04 79 0.02/s 05 102 0.03/s 06 84 0.02/s 07 87 0.02/s 08 85 0.02/s 09 174 0.05/s 10 83 0.02/s 11 93 0.03/s 12 86 0.02/s 13 77 0.02/s 14 82 0.02/s 15 80 0.02/s 16 79 0.02/s 17 76 0.02/s 18 88 0.02/s 19 84 0.02/s 20 79 0.02/s 21 85 0.02/s 22 89 0.02/s 23 79 0.02/s Mar 17 00 89 0.02/s 01 99 0.03/s 02 91 0.03/s 03 94 0.03/s 04 90 0.03/s 05 118 0.03/s 06 155 0.04/s 07 80 0.02/s 08 84 0.02/s 09 87 0.02/s 10 85 0.02/s 11 84 0.02/s 12 88 0.02/s 13 80 0.02/s 14 80 0.02/s 15 96 0.03/s 16 85 0.02/s 17 81 0.02/s 18 93 0.03/s 19 80 0.02/s 20 76 0.02/s 21 79 0.02/s 22 82 0.02/s 23 91 0.03/s Mar 18 00 78 0.02/s 01 85 0.02/s 02 79 0.02/s 03 84 0.02/s 04 77 0.02/s 05 98 0.03/s 06 81 0.02/s 07 79 0.02/s 08 89 0.02/s 09 75 0.02/s 10 88 0.02/s 11 80 0.02/s 12 84 0.02/s 13 94 0.03/s 14 87 0.02/s 15 80 0.02/s 16 73 0.02/s 17 72 0.02/s 18 83 0.02/s 19 76 0.02/s 20 78 0.02/s 21 84 0.02/s 22 87 0.02/s 23 93 0.03/s Mar 19 00 80 0.02/s 01 85 0.02/s 02 92 0.03/s 03 89 0.02/s 04 82 0.02/s 05 99 0.03/s 06 101 0.03/s 07 79 0.02/s 08 82 0.02/s 09 105 0.03/s 10 88 0.02/s 11 81 0.02/s 12 81 0.02/s 13 76 0.02/s 14 83 0.02/s 15 85 0.02/s 16 79 0.02/s 17 78 0.02/s 18 81 0.02/s 19 81 0.02/s 20 80 0.02/s 21 87 0.02/s 22 112 0.03/s 23 89 0.02/s Mar 20 00 77 0.02/s 01 78 0.02/s 02 79 0.02/s 03 88 0.02/s 04 92 0.03/s 05 93 0.03/s 06 83 0.02/s 07 87 0.02/s 08 140 0.04/s 09 80 0.02/s 10 92 0.03/s 11 79 0.02/s 12 89 0.02/s 13 132 0.04/s 14 79 0.02/s 15 77 0.02/s 16 87 0.02/s 17 83 0.02/s 18 83 0.02/s 19 77 0.02/s 20 81 0.02/s 21 91 0.03/s 22 81 0.02/s 23 272 0.08/s Mar 21 00 64 0.02/s 01 68 0.02/s 02 63 0.02/s 03 64 0.02/s 04 63 0.02/s 05 86 0.02/s 06 81 0.02/s 07 77 0.02/s 08 79 0.02/s 09 82 0.02/s 10 88 0.02/s 11 83 0.02/s 12 78 0.02/s 13 78 0.02/s 14 88 0.02/s 15 101 0.03/s 16 107 0.03/s 17 81 0.02/s 18 97 0.03/s 19 99 0.03/s 20 89 0.02/s 21 91 0.03/s 22 82 0.02/s 23 79 0.02/s Mar 22 00 82 0.02/s 01 147 0.04/s 02 80 0.02/s 03 80 0.02/s 04 80 0.02/s 05 118 0.03/s 06 73 0.02/s 07 138 0.04/s 08 97 0.03/s 09 290 0.08/s 10 171 0.05/s 11 83 0.02/s 12 135 0.04/s 13 84 0.02/s 14 83 0.02/s 15 79 0.02/s 16 79 0.02/s 17 78 0.02/s 18 82 0.02/s 19 75 0.02/s 20 97 0.03/s 21 80 0.02/s 22 80 0.02/s 23 80 0.02/s Day Hour Count Average Duration Average idle time Mar 16 00 128 18m56s 18m43s 01 86 28m18s 28m18s 02 99 24m33s 24m33s 03 239 11m13s 11m13s 04 79 29m46s 29m45s 05 102 23m52s 23m50s 06 84 28m29s 28m28s 07 87 27m54s 27m54s 08 85 28m38s 28m37s 09 174 14m45s 14m45s 10 83 27m19s 27m16s 11 93 26m21s 26m18s 12 86 26m42s 26m41s 13 77 28m42s 28m42s 14 82 29m35s 29m33s 15 80 29m46s 29m46s 16 79 30m28s 30m28s 17 76 31m3s 31m2s 18 88 28m19s 28m17s 19 84 28m48s 28m47s 20 79 30m11s 30m10s 21 85 27m10s 27m9s 22 89 28m8s 28m7s 23 79 29m11s 29m11s Mar 17 00 89 27m45s 27m27s 01 99 25m7s 25m6s 02 91 26m56s 26m54s 03 94 24m55s 24m53s 04 90 26m1s 26m1s 05 118 20m51s 20m49s 06 155 16m4s 16m2s 07 80 29m34s 29m33s 08 84 29m4s 29m3s 09 87 27m25s 27m24s 10 85 27m59s 27m56s 11 84 29m31s 29m30s 12 88 25m29s 25m28s 13 80 30m4s 30m4s 14 80 29m47s 29m45s 15 96 26m23s 26m14s 16 85 28m47s 28m46s 17 81 29m53s 29m52s 18 93 25m42s 25m39s 19 80 28m33s 28m32s 20 76 31m2s 31m1s 21 79 28m39s 28m39s 22 82 28m53s 28m53s 23 91 27m8s 27m8s Mar 18 00 78 30m54s 30m33s 01 85 28m14s 28m13s 02 79 30m30s 30m28s 03 84 29m31s 29m31s 04 77 31m 30m59s 05 98 24m6s 24m4s 06 81 27m54s 27m52s 07 79 31m46s 31m45s 08 89 28m37s 28m36s 09 75 31m33s 31m32s 10 87 28m8s 28m4s 11 80 27m38s 27m36s 12 84 29m3s 29m3s 13 91 27m1s 26m58s 14 87 28m36s 28m34s 15 80 30m5s 30m5s 16 73 32m53s 32m53s 17 72 31m30s 31m29s 18 83 30m27s 30m25s 19 76 31m26s 31m26s 20 78 30m43s 30m42s 21 87 45m43s 45m42s 22 88 33m40s 33m39s 23 93 25m33s 25m32s Mar 19 00 80 29m57s 29m37s 01 85 29m17s 29m16s 02 92 25m42s 25m42s 03 89 27m26s 27m24s 04 82 27m49s 27m49s 05 99 24m44s 24m43s 06 101 23m46s 23m44s 07 79 30m51s 30m50s 08 82 29m20s 29m16s 09 105 23m20s 23m19s 10 87 27m13s 26m53s 11 79 28m49s 28m49s 12 81 31m7s 31m6s 13 76 31m52s 31m51s 14 83 29m40s 29m36s 15 85 28m52s 28m51s 16 79 30m13s 30m13s 17 80 39m43s 39m42s 18 82 35m20s 35m18s 19 81 29m2s 29m1s 20 80 30m39s 30m38s 21 87 26m36s 26m35s 22 112 22m34s 22m33s 23 89 25m56s 25m56s Mar 20 00 77 31m1s 30m37s 01 78 30m42s 30m41s 02 79 30m56s 30m55s 03 88 27m24s 27m23s 04 92 26m42s 26m41s 05 93 25m40s 25m39s 06 83 29m30s 29m27s 07 87 27m54s 27m53s 08 139 16m41s 16m40s 09 80 27m39s 27m39s 10 92 27m6s 27m3s 11 79 30m3s 30m2s 12 87 28m10s 28m10s 13 133 17m 17m 14 79 30m44s 30m42s 15 77 32m37s 32m36s 16 87 27m48s 27m47s 17 84 32m31s 32m30s 18 84 36m11s 36m9s 19 77 29m34s 29m33s 20 81 30m27s 30m26s 21 91 24m45s 24m45s 22 81 30m11s 30m11s 23 272 10m28s 10m12s Mar 21 00 67 31m4s 30m36s 01 65 31m26s 31m26s 02 63 30m39s 30m39s 03 64 30m41s 30m41s 04 63 30m39s 30m39s 05 86 50m11s 50m10s 06 81 29m1s 28m42s 07 77 31m23s 31m22s 08 79 27m46s 27m45s 09 82 29m12s 29m11s 10 83 28m57s 28m54s 11 83 28m37s 28m35s 12 78 32m7s 32m5s 13 78 29m47s 29m46s 14 88 29m41s 29m38s 15 101 23m2s 23m1s 16 107 22m25s 22m23s 17 81 28m16s 28m13s 18 97 27m2s 26m57s 19 99 24m44s 24m41s 20 89 26m23s 26m22s 21 91 24m19s 24m16s 22 85 55m15s 55m14s 23 80 40m 39m59s Mar 22 00 83 39m25s 39m3s 01 147 18m23s 17m57s 02 80 31m55s 31m55s 03 80 30m39s 30m39s 04 80 30m41s 30m41s 05 118 20m 19m59s 06 73 31m15s 31m14s 07 138 15m59s 15m57s 08 97 26m16s 26m15s 09 290 10m34s 10m33s 10 171 14m23s 14m22s 11 83 28m38s 28m37s 12 135 18m35s 18m34s 13 84 29m9s 29m9s 14 83 30m4s 30m3s 15 79 30m46s 30m45s 16 79 30m19s 30m19s 17 78 30m57s 30m57s 18 81 28m6s 28m1s 19 75 31m27s 30m21s 20 98 26m14s 26m12s 21 80 28m25s 28m24s 22 80 30m40s 30m40s 23 80 30m29s 30m29s -
Connections
Established Connections
Key values
- 85 connections Connection Peak
- 2025-03-16 03:46:37 Date
Connections per database
Key values
- ctdprd51 Main Database
- 15,288 connections Total
Connections per user
Key values
- pubeu Main User
- 15,288 connections Total
-
Sessions
Simultaneous sessions
Key values
- 80 sessions Session Peak
- 2025-03-22 09:34:33 Date
Histogram of session times
Key values
- 11,987 1800000-3600000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 15,288 sessions Total
Sessions per user
Key values
- pubeu Main User
- 15,288 sessions Total
Sessions per host
Key values
- 10.12.5.37 Main Host
- 15,288 sessions Total
Host Count Total Duration Average Duration 10.12.5.170 3 3m29s 1m9s 10.12.5.37 4,690 57d7h38m3s 17m35s 10.12.5.38 2,634 56d18s 30m36s 10.12.5.39 2,579 56d16m15s 31m16s 10.12.5.40 13 5m23s 24s911ms 10.12.5.45 2,666 55d23h52m15s 30m14s 10.12.5.46 2,632 56d1h16m1s 30m40s 192.168.201.10 6 1d12h42m43s 6h7m7s 192.168.201.14 14 4d3h58m32s 7h8m28s ::1 51 2h26m32s 2m52s Sessions per application
Key values
- unknown Main Application
- 15,288 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 174,684 buffers Checkpoint Peak
- 2025-03-18 15:10:38 Date
- 1619.764 seconds Highest write time
- 0.101 seconds Sync time
Checkpoints Wal files
Key values
- 484 files Wal files usage Peak
- 2025-03-18 14:16:17 Date
Checkpoints distance
Key values
- 16,530.06 Mo Distance Peak
- 2025-03-18 14:16:17 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Mar 16 00 4,544 455.241s 0.004s 455.369s 01 450 45.152s 0.002s 45.18s 02 5,859 586.992s 0.004s 587.109s 03 231 23.347s 0.003s 23.377s 04 3,764 377.003s 0.004s 377.081s 05 878 88.063s 0.003s 88.139s 06 1,973 197.706s 0.004s 197.737s 07 1,216 121.994s 0.005s 122.074s 08 1,336 133.914s 0.003s 133.944s 09 1,341 134.403s 0.004s 134.434s 10 60,850 1,660.369s 0.004s 1,660.9s 11 1,270 127.191s 0.004s 127.222s 12 1,057 106.117s 0.003s 106.195s 13 884 88.626s 0.003s 88.657s 14 800 80.204s 0.003s 80.233s 15 883 88.622s 0.004s 88.654s 16 734 73.596s 0.003s 73.678s 17 1,238 124.077s 0.003s 124.106s 18 840 84.214s 0.003s 84.245s 19 885 88.817s 0.004s 88.896s 20 961 96.34s 0.002s 96.37s 21 894 89.644s 0.004s 89.677s 22 127,371 1,619.584s 0.002s 1,620.339s 23 59,533 1,703.806s 0.006s 1,703.984s Mar 17 00 3,144 315.034s 0.004s 315.217s 01 50,858 1,619.561s 0.002s 1,620.396s 02 62,082 2,390.206s 0.004s 2,390.419s 03 1,696 170.008s 0.002s 170.086s 04 4,869 487.546s 0.002s 487.635s 05 1,247 125.03s 0.003s 125.059s 06 6,749 676.13s 0.003s 676.228s 07 1,308 131.119s 0.004s 131.15s 08 1,424 142.728s 0.003s 142.759s 09 9,220 923.334s 0.004s 923.46s 10 1,369 137.237s 0.003s 137.269s 11 1,151 115.464s 0.004s 115.541s 12 934 93.652s 0.004s 93.683s 13 2,228 223.257s 0.003s 223.336s 14 1,352 135.418s 0.003s 135.449s 15 1,049 105.053s 0.004s 105.129s 16 841 84.321s 0.004s 84.351s 17 1,394 139.7s 0.003s 139.732s 18 905 90.838s 0.002s 90.917s 19 1,089 109.193s 0.004s 109.224s 20 2,315 231.985s 0.003s 232.03s 21 8,089 809.808s 0.003s 810.273s 22 131,154 1,811.316s 0.004s 1,811.844s 23 3,750 375.582s 0.004s 375.613s Mar 18 00 4,200 420.822s 0.005s 420.953s 01 1,380 138.319s 0.003s 138.397s 02 468 46.965s 0.002s 46.994s 03 5,258 526.639s 0.002s 526.762s 04 5,067 507.299s 0.002s 507.378s 05 6,511 652.078s 0.002s 652.178s 06 1,116 111.969s 0.003s 112.047s 07 5,268 527.385s 0.003s 527.454s 08 2,668 267.212s 0.002s 267.287s 09 837 83.927s 0.002s 83.956s 10 6,810 681.874s 0.005s 685.231s 11 814 81.717s 0.003s 81.803s 12 1,162 116.502s 0.002s 116.532s 13 10,851 818.566s 0.102s 818.882s 14 1,535 153.83s 0.002s 159.769s 15 175,172 1,667.967s 0.003s 1,668.498s 16 1,272 127.506s 0.002s 127.63s 17 6,431 643.987s 0.002s 644.147s 18 1,016 101.821s 0.004s 101.852s 19 741 74.392s 0.002s 74.422s 20 965 96.733s 0.002s 96.823s 21 1,111 111.246s 0.002s 111.276s 22 2,940 294.532s 0.002s 294.61s 23 1,885 188.881s 0.002s 188.96s Mar 19 00 3,362 336.878s 0.002s 336.951s 01 61,634 1,673.457s 0.005s 1,673.654s 02 1,401 140.532s 0.002s 140.611s 03 61,051 1,639.666s 0.003s 1,639.822s 04 6,919 692.903s 0.004s 692.996s 05 3,691 369.671s 0.003s 369.702s 06 752 75.434s 0.003s 75.465s 07 1,285 128.89s 0.002s 128.965s 08 11,470 1,148.436s 0.003s 1,148.571s 09 500 50.16s 0.002s 50.189s 10 1,483 148.618s 0.001s 148.64s 11 57,599 2,328.882s 0.006s 2,329.111s 12 6,055 606.159s 0.003s 606.246s 13 1,270 127.375s 0.004s 127.454s 14 1,352 135.41s 0.003s 135.441s 15 627 62.876s 0.002s 62.905s 16 1,373 137.711s 0.003s 137.741s 17 7,349 735.694s 0.004s 735.781s 18 746 74.791s 0.003s 74.821s 19 657 65.881s 0.002s 65.91s 20 745 74.801s 0.003s 74.832s 21 8,780 879.131s 0.002s 879.215s 22 787 79.013s 0.004s 79.044s 23 1,008 101.06s 0.002s 101.137s Mar 20 00 4,211 421.894s 0.004s 422.012s 01 492 49.363s 0.002s 49.44s 02 774 77.602s 0.003s 77.634s 03 1,476 147.945s 0.003s 147.976s 04 1,030 103.246s 0.004s 103.32s 05 51,500 1,654.323s 0.004s 1,654.493s 06 1,054 105.756s 0.003s 105.832s 07 748 74.899s 0.002s 74.93s 08 2,735 273.925s 0.003s 273.998s 09 863 86.527s 0.002s 86.558s 10 1,993 199.704s 0.003s 199.782s 11 5,733 574.187s 0.008s 574.275s 12 4,435 444.167s 0.004s 444.247s 13 695 69.819s 0.004s 69.897s 14 4,414 442.068s 0.004s 442.142s 15 5,562 556.897s 0.004s 556.948s 16 6,498 650.764s 0.003s 650.846s 17 1,106 110.978s 0.004s 111.054s 18 16,338 1,634.135s 0.003s 1,634.241s 19 904 90.714s 0.003s 90.744s 20 816 81.81s 0.002s 81.841s 21 1,055 105.761s 0.004s 105.839s 22 1,202 120.462s 0.004s 120.493s 23 1,900 190.466s 0.002s 190.499s Mar 21 00 4,255 426.638s 0.003s 426.721s 01 31 3.282s 0.002s 3.313s 02 0 0s 0s 0s 03 0 0s 0s 0s 04 0 0s 0s 0s 05 148 14.842s 0.001s 14.856s 06 835 83.86s 0.003s 83.893s 07 4,988 499.492s 0.003s 499.534s 08 636 63.703s 0.003s 63.735s 09 826 82.823s 0.003s 82.9s 10 4,663 466.923s 0.003s 467.001s 11 3,964 397.098s 0.004s 397.13s 12 828 83.012s 0.003s 83.087s 13 782 78.526s 0.003s 78.556s 14 930 93.238s 0.003s 93.268s 15 2,739 274.49s 0.003s 274.571s 16 907 91.067s 0.003s 91.096s 17 748 75.017s 0.003s 75.046s 18 762 76.441s 0.004s 76.473s 19 581 58.377s 0.003s 58.408s 20 728 73.009s 0.002s 73.092s 21 587 58.978s 0.002s 59.016s 22 1,023 102.546s 0.003s 102.576s 23 577 57.974s 0.003s 58.004s Mar 22 00 5,482 549.133s 0.003s 549.211s 01 168 17.022s 0.002s 17.103s 02 0 0s 0s 0s 03 0 0s 0s 0s 04 0 0s 0s 0s 05 155 15.627s 0.001s 15.642s 06 85,420 1,637.346s 0.003s 1,637.798s 07 343 34.604s 0.002s 34.634s 08 4,881 488.819s 0.002s 488.886s 09 5,801 581.073s 0.003s 581.181s 10 305 30.682s 0.002s 30.714s 11 331 33.332s 0.002s 33.414s 12 505 50.617s 0.002s 50.646s 13 648 65.108s 0.002s 65.138s 14 563 56.594s 0.002s 56.623s 15 5,018 502.439s 0.002s 502.499s 16 521 52.273s 0.002s 52.302s 17 518 52.089s 0.002s 52.12s 18 851 85.35s 0.002s 85.432s 19 5,200 520.835s 0.002s 520.902s 20 76,810 1,637.834s 0.002s 1,637.863s 21 769 77.097s 0.002s 77.127s 22 1,093 109.543s 0.002s 109.573s 23 803 80.514s 0.003s 80.597s Day Hour Added Removed Recycled Synced files Longest sync Average sync Mar 16 00 0 0 2 97 0.001s 0.002s 01 0 0 0 36 0.001s 0.002s 02 0 0 4 46 0.001s 0.002s 03 0 0 0 20 0.001s 0.002s 04 0 0 1 52 0.001s 0.002s 05 0 0 1 36 0.001s 0.002s 06 0 0 0 94 0.001s 0.002s 07 0 0 1 132 0.002s 0.002s 08 0 0 0 122 0.001s 0.002s 09 0 0 0 35 0.001s 0.002s 10 0 0 39 43 0.001s 0.002s 11 0 0 0 40 0.001s 0.002s 12 0 0 1 43 0.001s 0.002s 13 0 0 0 23 0.001s 0.002s 14 0 0 0 31 0.001s 0.002s 15 0 0 0 27 0.001s 0.002s 16 0 0 1 21 0.001s 0.002s 17 0 0 0 29 0.001s 0.002s 18 0 0 0 28 0.001s 0.002s 19 0 0 1 26 0.001s 0.002s 20 0 0 0 26 0.001s 0.002s 21 0 0 0 22 0.001s 0.002s 22 0 0 60 34 0.001s 0.001s 23 0 0 8 52 0.001s 0.003s Mar 17 00 0 0 2 79 0.001s 0.002s 01 0 0 66 32 0.001s 0.001s 02 0 0 8 98 0.001s 0.003s 03 0 0 1 51 0.001s 0.002s 04 0 0 2 62 0.001s 0.002s 05 0 0 0 42 0.001s 0.002s 06 0 0 3 148 0.001s 0.002s 07 0 0 0 118 0.001s 0.002s 08 0 0 0 121 0.001s 0.002s 09 0 0 5 145 0.001s 0.002s 10 0 0 0 124 0.001s 0.002s 11 0 0 1 78 0.002s 0.002s 12 0 0 0 22 0.001s 0.002s 13 0 0 1 123 0.001s 0.002s 14 0 0 0 128 0.001s 0.002s 15 0 0 1 71 0.001s 0.002s 16 0 0 0 22 0.001s 0.002s 17 0 0 0 28 0.001s 0.002s 18 0 0 1 25 0.001s 0.002s 19 0 0 0 29 0.001s 0.002s 20 0 0 1 42 0.001s 0.002s 21 0 0 36 38 0.001s 0.002s 22 0 0 38 58 0.001s 0.002s 23 0 0 0 40 0.001s 0.002s Mar 18 00 0 0 2 78 0.001s 0.002s 01 0 0 1 45 0.001s 0.002s 02 0 0 0 41 0.001s 0.002s 03 0 0 2 64 0.001s 0.002s 04 0 0 1 57 0.001s 0.002s 05 0 0 3 51 0.001s 0.002s 06 0 0 1 34 0.001s 0.002s 07 0 0 3 43 0.001s 0.002s 08 0 0 1 85 0.001s 0.002s 09 0 0 0 39 0.001s 0.002s 10 0 0 274 156 0.001s 0.002s 11 0 0 1 120 0.001s 0.002s 12 0 0 0 117 0.001s 0.002s 13 0 39 0 67 0.097s 0.004s 14 0 0 484 26 0.001s 0.001s 15 0 0 35 52 0.001s 0.003s 16 0 0 1 79 0.001s 0.002s 17 0 0 4 134 0.001s 0.002s 18 0 0 0 77 0.001s 0.002s 19 0 0 0 20 0.001s 0.002s 20 0 1 0 24 0.001s 0.002s 21 0 0 0 20 0.001s 0.002s 22 0 1 0 35 0.001s 0.002s 23 0 1 0 39 0.001s 0.002s Mar 19 00 0 4 0 32 0.001s 0.001s 01 0 38 0 112 0.001s 0.003s 02 0 1 0 54 0.001s 0.002s 03 0 33 0 49 0.001s 0.002s 04 0 5 0 43 0.001s 0.002s 05 0 0 0 48 0.001s 0.002s 06 0 0 0 45 0.001s 0.002s 07 0 1 0 40 0.001s 0.002s 08 0 7 0 56 0.001s 0.002s 09 0 0 0 32 0.001s 0.002s 10 0 1 0 29 0.001s 0.001s 11 0 38 0 257 0.001s 0.003s 12 0 3 0 88 0.001s 0.002s 13 0 1 0 104 0.001s 0.002s 14 0 0 0 54 0.001s 0.002s 15 0 0 0 42 0.001s 0.002s 16 0 0 0 102 0.001s 0.002s 17 0 5 0 238 0.001s 0.002s 18 0 0 0 81 0.001s 0.002s 19 0 0 0 40 0.001s 0.002s 20 0 0 0 34 0.001s 0.002s 21 0 5 0 56 0.001s 0.002s 22 0 0 0 39 0.001s 0.002s 23 0 1 0 33 0.001s 0.002s Mar 20 00 0 1 0 79 0.001s 0.002s 01 0 1 0 39 0.001s 0.002s 02 0 0 0 47 0.001s 0.002s 03 0 0 0 49 0.001s 0.002s 04 0 1 0 49 0.001s 0.002s 05 0 34 0 49 0.001s 0.002s 06 0 1 0 92 0.001s 0.002s 07 0 0 0 78 0.001s 0.002s 08 0 1 0 129 0.001s 0.002s 09 0 0 0 42 0.001s 0.002s 10 0 1 0 100 0.001s 0.002s 11 0 3 0 103 0.002s 0.002s 12 0 2 0 174 0.001s 0.002s 13 0 1 0 132 0.001s 0.002s 14 0 1 0 135 0.001s 0.002s 15 0 4 0 141 0.001s 0.002s 16 0 3 0 126 0.001s 0.002s 17 0 1 0 121 0.001s 0.002s 18 0 10 0 42 0.001s 0.002s 19 0 0 0 26 0.001s 0.002s 20 0 0 0 18 0.001s 0.002s 21 0 1 0 28 0.001s 0.002s 22 0 0 0 19 0.001s 0.002s 23 0 0 0 27 0.001s 0.002s Mar 21 00 0 2 0 74 0.001s 0.002s 01 0 0 0 16 0.001s 0.002s 02 0 0 0 0 0s 0s 03 0 0 0 0 0s 0s 04 0 0 0 0 0s 0s 05 0 0 0 17 0.001s 0.001s 06 0 0 0 56 0.001s 0.002s 07 0 3 0 46 0.001s 0.002s 08 0 0 0 82 0.001s 0.002s 09 0 1 0 133 0.001s 0.002s 10 0 2 0 147 0.001s 0.002s 11 0 0 0 141 0.001s 0.002s 12 0 1 0 118 0.001s 0.002s 13 0 0 0 127 0.001s 0.002s 14 0 0 0 91 0.001s 0.002s 15 0 2 0 149 0.001s 0.002s 16 0 0 0 126 0.001s 0.002s 17 0 0 0 21 0.001s 0.002s 18 0 0 0 35 0.001s 0.002s 19 0 0 0 20 0.001s 0.002s 20 0 1 0 25 0.001s 0.002s 21 0 0 0 20 0.001s 0.002s 22 0 0 0 28 0.001s 0.002s 23 0 0 0 22 0.001s 0.002s Mar 22 00 0 1 0 77 0.001s 0.002s 01 0 1 0 26 0.001s 0.002s 02 0 0 0 0 0s 0s 03 0 0 0 0 0s 0s 04 0 0 0 0 0s 0s 05 0 0 0 17 0.001s 0.001s 06 0 3 31 48 0.001s 0.002s 07 0 0 0 35 0.001s 0.002s 08 0 0 3 48 0.001s 0.002s 09 0 0 3 40 0.001s 0.002s 10 0 0 0 27 0.001s 0.002s 11 0 0 1 28 0.001s 0.002s 12 0 0 0 31 0.001s 0.002s 13 0 0 0 28 0.001s 0.002s 14 0 0 0 28 0.001s 0.002s 15 0 0 2 48 0.001s 0.002s 16 0 0 0 29 0.001s 0.002s 17 0 0 0 26 0.001s 0.002s 18 0 0 1 42 0.001s 0.002s 19 0 0 3 39 0.001s 0.002s 20 0 0 0 32 0.001s 0.002s 21 0 0 0 28 0.001s 0.002s 22 0 0 0 36 0.001s 0.002s 23 0 0 1 29 0.001s 0.002s Day Hour Count Avg time (sec) Mar 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 Mar 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 Mar 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 Mar 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 Mar 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 Mar 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 Mar 22 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 Mar 16 00 17,087.50 kB 30,729.00 kB 01 1,298.50 kB 25,313.00 kB 02 30,228.50 kB 40,418.00 kB 03 432.00 kB 50,571.00 kB 04 12,776.00 kB 42,305.00 kB 05 2,425.00 kB 35,673.00 kB 06 4,774.00 kB 29,594.50 kB 07 2,666.00 kB 24,717.00 kB 08 2,419.00 kB 20,483.50 kB 09 1,925.50 kB 17,001.50 kB 10 318,972.50 kB 604,788.00 kB 11 1,911.50 kB 490,239.50 kB 12 2,778.00 kB 397,504.00 kB 13 1,938.50 kB 322,427.50 kB 14 2,265.00 kB 261,616.00 kB 15 2,166.00 kB 212,292.00 kB 16 2,005.00 kB 172,358.00 kB 17 2,333.00 kB 140,043.00 kB 18 2,507.50 kB 113,884.50 kB 19 2,562.50 kB 92,755.00 kB 20 2,701.50 kB 75,616.50 kB 21 2,526.50 kB 61,751.00 kB 22 462,017.00 kB 462,017.00 kB 23 217,318.67 kB 584,333.00 kB Mar 17 00 12,431.50 kB 450,384.50 kB 01 558,299.00 kB 558,299.00 kB 02 219,315.67 kB 541,795.33 kB 03 4,655.00 kB 419,212.50 kB 04 16,146.50 kB 341,865.00 kB 05 2,449.00 kB 278,360.50 kB 06 24,273.00 kB 228,168.50 kB 07 2,659.00 kB 187,240.50 kB 08 2,923.00 kB 152,216.50 kB 09 38,360.50 kB 128,556.00 kB 10 2,829.50 kB 106,675.00 kB 11 2,523.50 kB 86,903.00 kB 12 2,180.50 kB 70,833.50 kB 13 5,939.00 kB 58,224.00 kB 14 3,646.50 kB 48,093.00 kB 15 3,083.00 kB 39,578.50 kB 16 2,622.50 kB 32,552.00 kB 17 2,999.00 kB 26,925.50 kB 18 2,699.00 kB 22,325.50 kB 19 3,245.00 kB 18,684.50 kB 20 7,231.00 kB 16,140.00 kB 21 37,368.00 kB 43,102.00 kB 22 558,090.00 kB 1,050,183.50 kB 23 12,726.00 kB 853,426.00 kB Mar 18 00 16,288.50 kB 694,308.50 kB 01 4,304.50 kB 563,095.00 kB 02 1,516.00 kB 456,650.00 kB 03 17,128.00 kB 372,503.00 kB 04 8,223.50 kB 303,609.00 kB 05 27,751.00 kB 251,460.50 kB 06 1,901.00 kB 204,059.50 kB 07 25,026.50 kB 167,969.00 kB 08 9,023.50 kB 139,211.50 kB 09 2,196.50 kB 113,817.00 kB 10 2,248,205.50 kB 2,292,896.00 kB 11 2,750.50 kB 3,837,468.50 kB 12 2,826.00 kB 3,108,857.50 kB 13 55,000.00 kB 2,523,961.50 kB 14 8,463,389.00 kB 8,463,389.00 kB 15 191,308.33 kB 6,932,397.67 kB 16 3,249.00 kB 5,315,464.50 kB 17 32,293.00 kB 4,311,647.00 kB 18 2,730.50 kB 3,493,000.50 kB 19 2,322.50 kB 2,829,776.50 kB 20 2,670.50 kB 2,292,599.50 kB 21 2,484.50 kB 1,857,493.00 kB 22 9,590.00 kB 1,505,761.00 kB 23 5,852.00 kB 1,221,400.00 kB Mar 19 00 28,414.00 kB 1,044,375.00 kB 01 221,207.67 kB 908,914.00 kB 02 4,153.50 kB 697,489.00 kB 03 273,771.00 kB 617,161.50 kB 04 30,374.50 kB 503,088.50 kB 05 12,306.50 kB 412,377.50 kB 06 1,548.50 kB 334,361.50 kB 07 3,818.00 kB 271,557.00 kB 08 59,729.00 kB 228,667.50 kB 09 1,522.50 kB 188,166.50 kB 10 12,221.00 kB 161,719.00 kB 11 203,930.67 kB 494,806.00 kB 12 30,063.50 kB 386,191.50 kB 13 3,274.50 kB 316,015.50 kB 14 1,300.00 kB 256,230.00 kB 15 1,358.00 kB 207,797.50 kB 16 3,591.50 kB 168,971.00 kB 17 35,463.50 kB 143,556.00 kB 18 1,740.00 kB 116,686.50 kB 19 1,784.50 kB 94,835.50 kB 20 1,902.00 kB 77,170.00 kB 21 38,255.00 kB 67,618.50 kB 22 2,402.50 kB 57,361.50 kB 23 2,570.00 kB 46,948.50 kB Mar 20 00 15,305.00 kB 40,214.50 kB 01 1,569.00 kB 33,636.50 kB 02 2,430.00 kB 27,635.00 kB 03 4,293.50 kB 23,274.50 kB 04 2,955.50 kB 19,394.50 kB 05 282,364.00 kB 533,825.00 kB 06 2,270.00 kB 432,861.00 kB 07 2,247.00 kB 351,071.50 kB 08 8,929.50 kB 285,454.00 kB 09 2,821.50 kB 232,287.00 kB 10 7,342.00 kB 189,194.50 kB 11 20,374.00 kB 157,513.50 kB 12 21,905.50 kB 131,749.50 kB 13 1,945.00 kB 107,111.00 kB 14 13,773.00 kB 88,380.00 kB 15 26,290.00 kB 75,453.00 kB 16 31,350.50 kB 69,147.50 kB 17 3,337.00 kB 56,632.50 kB 18 82,893.50 kB 155,480.00 kB 19 2,652.00 kB 126,437.50 kB 20 2,550.00 kB 102,885.00 kB 21 2,910.50 kB 83,886.50 kB 22 2,815.50 kB 68,479.50 kB 23 2,298.50 kB 55,976.50 kB Mar 21 00 13,424.00 kB 47,871.50 kB 01 60.50 kB 38,859.50 kB 02 0.00 kB 0.00 kB 03 0.00 kB 0.00 kB 04 0.00 kB 0.00 kB 05 998.00 kB 33,236.00 kB 06 1,823.00 kB 28,669.50 kB 07 23,330.00 kB 43,018.50 kB 08 1,862.50 kB 35,165.00 kB 09 2,437.50 kB 28,922.50 kB 10 18,607.50 kB 29,961.50 kB 11 3,470.50 kB 30,301.50 kB 12 2,562.00 kB 25,073.50 kB 13 2,314.50 kB 20,775.00 kB 14 2,439.00 kB 17,326.00 kB 15 9,574.50 kB 16,153.00 kB 16 2,769.00 kB 15,144.50 kB 17 1,751.00 kB 12,631.50 kB 18 2,036.00 kB 10,629.50 kB 19 1,705.50 kB 8,940.00 kB 20 1,856.50 kB 7,602.50 kB 21 1,712.00 kB 6,472.50 kB 22 2,059.50 kB 5,627.50 kB 23 1,759.00 kB 4,895.50 kB Mar 22 00 9,100.50 kB 14,255.50 kB 01 481.00 kB 11,786.00 kB 02 0.00 kB 0.00 kB 03 0.00 kB 0.00 kB 04 0.00 kB 0.00 kB 05 1,007.00 kB 10,154.00 kB 06 279,535.50 kB 530,129.00 kB 07 946.50 kB 429,592.00 kB 08 23,154.00 kB 352,367.50 kB 09 29,954.00 kB 291,128.00 kB 10 907.50 kB 235,956.50 kB 11 855.00 kB 191,314.50 kB 12 1,095.00 kB 155,147.00 kB 13 843.50 kB 125,850.00 kB 14 1,114.50 kB 102,138.00 kB 15 17,663.50 kB 86,046.50 kB 16 1,369.50 kB 69,970.00 kB 17 1,553.00 kB 56,977.00 kB 18 2,048.00 kB 46,516.50 kB 19 23,943.50 kB 42,897.50 kB 20 2,141.00 kB 39,506.00 kB 21 2,212.50 kB 32,418.50 kB 22 2,742.00 kB 26,766.00 kB 23 2,487.00 kB 22,156.00 kB -
Temporary Files
Size of temporary files
Key values
- 723.61 MiB Temp Files size Peak
- 2025-03-18 13:55:54 Date
Number of temporary files
Key values
- 10 per second Temp Files Peak
- 2025-03-18 13:54:22 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Mar 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 Mar 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 Mar 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 85 4.79 GiB 57.75 MiB 11 0 0 0 12 0 0 0 13 130 8.82 GiB 69.51 MiB 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 Mar 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 Mar 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 Mar 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 Mar 22 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Queries generating the most temporary files (N)
Rank Count Total size Min size Max size Avg size Query 1 205 13.35 GiB 8.00 KiB 148.23 MiB 66.70 MiB select * from pgbulkload.pg_bulkload (?);-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=edit.DB_LINK,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/pubChemCIDDBLink.txt.log,parse-badfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/pubChemCIDDBLink.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/pubChemCIDDBLink.txt.DUPE}');
Date: 2025-03-18 13:56:08 Duration: 1m33s
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=edit.DB_LINK,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/pubChemSIDDBLink.txt.log,parse-badfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/pubChemSIDDBLink.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/pubChemSIDDBLink.txt.DUPE}');
Date: 2025-03-18 10:22:26 Duration: 1m29s
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=edit.DB_LINK,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/pubChemSIDDBLink.txt.log,parse-badfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/pubChemSIDDBLink.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/voc/termLabelSynonyms/output/pubChemSIDDBLink.txt.DUPE}');
Date: 2025-03-18 13:53:08 Duration: 1m27s
Queries generating the largest temporary files
Rank Size Query 1 148.23 MiB SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2025-03-18 13:55:54 ]
2 148.03 MiB SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2025-03-18 13:52:55 ]
3 147.61 MiB SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2025-03-18 13:52:55 ]
4 147.59 MiB SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2025-03-18 13:55:26 ]
5 147.50 MiB SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2025-03-18 10:22:11 ]
6 147.03 MiB SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2025-03-18 13:55:54 ]
7 146.98 MiB SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2025-03-18 13:52:29 ]
8 146.92 MiB SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2025-03-18 10:22:11 ]
9 146.89 MiB SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2025-03-18 10:21:45 ]
10 145.75 MiB SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2025-03-18 13:55:54 ]
11 145.58 MiB SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2025-03-18 13:52:29 ]
12 145.52 MiB SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2025-03-18 10:22:11 ]
13 145.23 MiB SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2025-03-18 13:52:55 ]
14 144.19 MiB SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2025-03-18 13:55:26 ]
15 144.00 MiB SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2025-03-18 13:55:26 ]
16 143.75 MiB SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2025-03-18 10:21:45 ]
17 143.24 MiB SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2025-03-18 10:22:11 ]
18 142.21 MiB SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2025-03-18 13:52:55 ]
19 142.09 MiB SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2025-03-18 13:55:54 ]
20 142.00 MiB SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2025-03-18 13:52:29 ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 29.03 sec Highest CPU-cost vacuum
Table pub2.term_set_enrichment_agent
Database ctdprd51 - 2025-03-18 14:24:57 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 29.03 sec Highest CPU-cost vacuum
Table pub2.term_set_enrichment_agent
Database ctdprd51 - 2025-03-18 14:24:57 Date
Analyzes per table
Key values
- pubc.log_query (212) Main table analyzed (database ctdprd51)
- 233 analyzes Total
Table Number of analyzes ctdprd51.pubc.log_query 212 ctdprd51.pub2.term_set_enrichment_agent 4 ctdprd51.pub2.term_set_enrichment 4 ctdprd51.edit.exp_outcome 2 ctdprd51.edit.exp_receptor_race 1 ctdprd51.pub2.term_comp_agent 1 ctdprd51.edit.exp_receptor_gender 1 ctdprd51.pg_catalog.pg_attribute 1 ctdprd51.edit.exp_receptor 1 ctdprd51.edit.exp_event 1 ctdprd51.edit.exp_stressor 1 ctdprd51.edit.exp_stressor_stressor_src 1 ctdprd51.edit.exp_event_location 1 ctdprd51.pubc.new_bots 1 ctdprd51.edit.exp_event_project 1 Total 233 Vacuums per table
Key values
- pubc.log_query (66) Main table vacuumed on database ctdprd51
- 81 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 66 48 64,478 0 11,610 0 3,061 16,940 2,401 14,293,554 ctdprd51.pg_toast.pg_toast_2619 3 3 12,310 0 3,626 0 29,884 9,560 3,096 1,708,326 ctdprd51.pg_toast.pg_toast_486223 3 1 108 0 11 0 0 22 8 14,799 ctdprd51.pub2.term_set_enrichment_agent 2 0 490,017 0 207,985 0 0 244,808 9 14,517,889 ctdprd51.pub2.term_set_enrichment 2 0 10,346 0 4,981 0 0 5,067 4 321,463 ctdprd51.edit.exp_stressor_stressor_src 1 1 2,602 0 677 0 0 1,169 534 2,886,162 ctdprd51.edit.exp_event_project 1 1 2,401 0 440 0 0 1,025 350 1,936,796 ctdprd51.pg_catalog.pg_statistic 1 1 754 0 202 0 116 532 184 663,484 ctdprd51.edit.exp_outcome 1 1 556 0 95 0 0 140 48 241,425 ctdprd51.pg_toast.pg_toast_486240 1 1 497 0 9 0 0 333 5 39,297 Total 81 57 584,069 5,325 229,636 0 33,061 279,596 6,639 36,623,195 Tuples removed per table
Key values
- pubc.log_query (13035) Main table with removed tuples on database ctdprd51
- 40901 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pubc.log_query 66 48 13,035 832,476 0 0 36,079 ctdprd51.pg_toast.pg_toast_2619 3 3 11,734 58,891 85 0 37,776 ctdprd51.edit.exp_stressor_stressor_src 1 1 10,041 306,887 0 0 1,518 ctdprd51.edit.exp_event_project 1 1 4,864 103,141 0 0 1,235 ctdprd51.pg_toast.pg_toast_486240 1 1 638 0 0 108 0 ctdprd51.pg_catalog.pg_statistic 1 1 501 3,256 0 0 410 ctdprd51.edit.exp_outcome 1 1 64 32,894 0 0 326 ctdprd51.pg_toast.pg_toast_486223 3 1 24 0 0 5 0 ctdprd51.pub2.term_set_enrichment_agent 2 0 0 106,948,328 0 0 1,215,324 ctdprd51.pub2.term_set_enrichment 2 0 0 1,603,295 0 0 26,521 Total 81 57 40,901 109,889,168 85 113 1,319,189 Pages removed per table
Key values
- pg_toast.pg_toast_486240 (108) Main table with removed pages on database ctdprd51
- 113 pages Total removed
Table Number of vacuums Index scans Tuples removed Pages removed ctdprd51.pg_toast.pg_toast_486240 1 1 638 108 ctdprd51.pg_toast.pg_toast_486223 3 1 24 5 ctdprd51.pub2.term_set_enrichment_agent 2 0 0 0 ctdprd51.edit.exp_stressor_stressor_src 1 1 10041 0 ctdprd51.pubc.log_query 66 48 13035 0 ctdprd51.edit.exp_event_project 1 1 4864 0 ctdprd51.pg_catalog.pg_statistic 1 1 501 0 ctdprd51.pub2.term_set_enrichment 2 0 0 0 ctdprd51.edit.exp_outcome 1 1 64 0 ctdprd51.pg_toast.pg_toast_2619 3 3 11734 0 Total 81 57 40,901 113 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Mar 16 00 1 4 01 1 4 02 0 3 03 1 0 04 0 3 05 1 2 06 1 2 07 0 1 08 0 1 09 1 1 10 1 1 11 0 0 12 0 1 13 1 0 14 0 1 15 0 1 16 0 0 17 1 1 18 0 1 19 0 0 20 0 1 21 0 0 22 2 3 23 0 0 Mar 17 00 2 2 01 1 5 02 2 3 03 1 2 04 0 2 05 1 2 06 0 1 07 1 1 08 0 2 09 0 1 10 1 1 11 0 1 12 0 1 13 1 1 14 0 0 15 0 1 16 0 1 17 1 0 18 0 1 19 0 0 20 0 1 21 0 1 22 1 1 23 0 0 Mar 18 00 1 2 01 1 4 02 1 3 03 1 2 04 1 1 05 0 2 06 1 1 07 0 1 08 0 1 09 1 1 10 0 1 11 0 0 12 1 1 13 0 1 14 1 2 15 1 0 16 0 1 17 0 1 18 0 0 19 0 0 20 0 1 21 1 0 22 0 1 23 0 0 Mar 19 00 1 2 01 2 4 02 0 3 03 1 2 04 1 2 05 1 2 06 0 1 07 0 1 08 1 1 09 0 1 10 2 3 11 0 3 12 1 2 13 0 2 14 1 1 15 0 2 16 2 8 17 0 2 18 1 1 19 0 1 20 1 2 21 0 1 22 0 1 23 1 1 Mar 20 00 1 2 01 1 4 02 1 3 03 0 2 04 1 3 05 0 1 06 1 1 07 0 2 08 1 1 09 0 1 10 0 1 11 1 1 12 2 5 13 0 1 14 0 1 15 0 0 16 1 1 17 0 0 18 0 1 19 0 0 20 0 1 21 1 0 22 0 0 23 1 1 Mar 21 00 1 0 01 0 0 02 0 0 03 0 0 04 0 0 05 0 6 06 1 7 07 1 3 08 1 3 09 1 3 10 1 2 11 1 1 12 0 1 13 0 1 14 1 1 15 0 1 16 0 1 17 1 0 18 0 1 19 0 1 20 0 0 21 0 1 22 1 0 23 0 0 Mar 22 00 2 2 01 0 1 02 0 0 03 0 0 04 0 0 05 0 2 06 1 4 07 0 1 08 1 2 09 0 1 10 0 2 11 0 1 12 1 1 13 0 0 14 0 2 15 1 1 16 0 1 17 1 2 18 0 1 19 0 1 20 1 2 21 0 1 22 1 0 23 0 1 - 29.03 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- unknown Main Lock Type
- 0 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query NO DATASET
Queries that waited the most
Rank Wait time Query NO DATASET
-
Queries
Queries by type
Key values
- 5,386 Total read queries
- 374 Total write queries
Queries by database
Key values
- unknown Main database
- 3,815 Requests
- 8h30m49s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 9,098 Requests
User Request type Count Duration edit Total 2 2s428ms tcl 2 2s428ms editeu Total 2 6s34ms select 2 6s34ms load Total 6 2m59s select 6 2m59s postgres Total 108 59m47s copy to 108 59m47s pubc Total 6 34s525ms insert 3 30s400ms select 3 4s124ms pubeu Total 4,196 7h30m55s cte 42 2m10s select 4,154 7h28m45s qaeu Total 82 3m49s cte 17 58s198ms select 65 2m51s unknown Total 9,098 18h53m39s copy to 699 6h51m13s cte 83 2m27s delete 3 15s774ms others 9 56s732ms select 8,304 11h58m45s Duration by user
Key values
- 18h53m39s (unknown) Main time consuming user
User Request type Count Duration edit Total 2 2s428ms tcl 2 2s428ms editeu Total 2 6s34ms select 2 6s34ms load Total 6 2m59s select 6 2m59s postgres Total 108 59m47s copy to 108 59m47s pubc Total 6 34s525ms insert 3 30s400ms select 3 4s124ms pubeu Total 4,196 7h30m55s cte 42 2m10s select 4,154 7h28m45s qaeu Total 82 3m49s cte 17 58s198ms select 65 2m51s unknown Total 9,098 18h53m39s copy to 699 6h51m13s cte 83 2m27s delete 3 15s774ms others 9 56s732ms select 8,304 11h58m45s Queries by host
Key values
- unknown Main host
- 13,500 Requests
- 1d3h31m54s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 5,715 Requests
- 12h7m23s (unknown)
- Main time consuming application
Application Request type Count Duration pgAdmin 4 - CONN:4900747 Total 1 1s374ms select 1 1s374ms pgAdmin 4 - CONN:8392375 Total 1 10s133ms insert 1 10s133ms pgAdmin 4 - CONN:9292574 Total 1 1s214ms tcl 1 1s214ms pg_dump Total 49 27m22s copy to 49 27m22s unknown Total 5,715 12h7m23s copy to 260 1h54m2s cte 62 2m26s delete 1 5s258ms others 7 44s140ms select 5,385 10h10m4s Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2025-03-21 15:22:32 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 5,566 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 30m48s /* * 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: 2025-03-20 00:30:50 ]
2 30m38s /* * 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: 2025-03-21 00:30:40 ]
3 30m8s /* * 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: 2025-03-22 00:30:09 ]
4 26m28s /* * 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: 2025-03-16 00:26:30 ]
5 26m23s /* * 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: 2025-03-19 00:26:25 ]
6 26m2s /* * 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: 2025-03-18 00:26:04 ]
7 26m /* * 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: 2025-03-17 00:26:02 ]
8 25m52s select maint_query_logs_archive ();[ Date: 2025-03-19 10:31:04 ]
9 24m35s 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: 2025-03-22 19:45:29 ]
10 24m22s 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: 2025-03-22 19:01:27 ]
11 20m30s 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 = '2100762') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2025-03-22 01:35:06 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
12 20m27s 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 = '2100762') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2025-03-22 01:35:02 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
13 20m23s 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 = '2100762') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2025-03-22 01:35:02 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
14 11m46s SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) 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 'STAT3') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05010' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'TRAZODONE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 500;[ Date: 2025-03-21 06:39:00 - Bind query: yes ]
15 11m30s SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) 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 'STAT3') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05010' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'TRAZODONE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 500;[ Date: 2025-03-21 06:33:44 - Bind query: yes ]
16 7m5s COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;[ Date: 2025-03-22 19:57:40 ]
17 7m3s COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;[ Date: 2025-03-22 19:13:34 ]
18 6m29s 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 = '2098714') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2025-03-20 23:06:52 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
19 6m27s 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 = '2098714') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2025-03-20 23:06:52 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
20 6m23s 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 = '2098714') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2025-03-20 23:06:46 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 3h42m23s 8 25m52s 30m48s 27m47s select maint_query_logs_archive ();Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 16 00 1 26m28s 26m28s Mar 17 00 1 26m 26m Mar 18 00 1 26m2s 26m2s Mar 19 00 1 26m23s 26m23s 10 1 25m52s 25m52s Mar 20 00 1 30m48s 30m48s Mar 21 00 1 30m38s 30m38s Mar 22 00 1 30m8s 30m8s -
/* * 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: 2025-03-20 00:30:50 Duration: 30m48s
-
/* * 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: 2025-03-21 00:30:40 Duration: 30m38s
-
/* * 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: 2025-03-22 00:30:09 Duration: 30m8s
2 2h35m1s 154 1s26ms 20m30s 1m select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 16 00 1 30s901ms 30s901ms 06 1 1s61ms 1s61ms 09 1 31s495ms 31s495ms 12 2 6s744ms 3s372ms 21 1 2s782ms 2s782ms 23 2 4s523ms 2s261ms Mar 17 02 1 2s981ms 2s981ms 04 2 2s139ms 1s69ms 06 3 1m21s 27s135ms 18 2 48s218ms 24s109ms Mar 18 02 2 2s674ms 1s337ms 03 2 3s973ms 1s986ms 07 1 1s610ms 1s610ms 09 1 1s65ms 1s65ms 10 1 3s255ms 3s255ms 15 1 2s565ms 2s565ms 21 1 14s712ms 14s712ms Mar 19 02 5 8s341ms 1s668ms 03 1 1s634ms 1s634ms 06 5 22s427ms 4s485ms 09 5 5s562ms 1s112ms 10 4 5s756ms 1s439ms 11 3 3s658ms 1s219ms 13 1 1s86ms 1s86ms 19 1 4s376ms 4s376ms 20 1 4s406ms 4s406ms 21 2 4s883ms 2s441ms 22 9 10s98ms 1s122ms 23 1 17s464ms 17s464ms Mar 20 03 1 1s578ms 1s578ms 04 1 1s56ms 1s56ms 07 1 29s157ms 29s157ms 08 2 1m1s 30s701ms 12 13 15s328ms 1s179ms 13 4 4s483ms 1s120ms 16 1 17s229ms 17s229ms 17 2 5s345ms 2s672ms 21 2 10s853ms 5s426ms 23 33 1h13m21s 2m13s Mar 21 00 1 5s69ms 5s69ms 09 1 2s229ms 2s229ms 15 1 5s764ms 5s764ms 23 1 1s599ms 1s599ms Mar 22 01 6 1h3m11s 10m31s 07 2 1m10s 35s325ms 08 2 1m9s 34s582ms 09 4 2m7s 31s901ms 10 8 3m26s 25s799ms 11 2 1m3s 31s995ms 12 1 42s251ms 42s251ms 20 1 32s327ms 32s327ms 21 1 3s384ms 3s384ms [ User: pubeu - Total duration: 2h18m44s - Times executed: 88 ]
-
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 = '2100762') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-03-22 01:35:06 Duration: 20m30s 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 = '2100762') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-03-22 01:35:02 Duration: 20m27s 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 = '2100762') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-03-22 01:35:02 Duration: 20m23s Database: ctdprd51 User: pubeu Bind query: yes
3 32m52s 1,581 1s151ms 1s723ms 1s247ms 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 #3
Day Hour Count Duration Avg duration Mar 16 00 9 11s945ms 1s327ms 01 17 20s950ms 1s232ms 02 7 8s739ms 1s248ms 03 3 3s815ms 1s271ms 04 13 16s285ms 1s252ms 05 11 13s652ms 1s241ms 06 11 13s718ms 1s247ms 07 4 4s959ms 1s239ms 08 14 17s342ms 1s238ms 09 20 25s543ms 1s277ms 10 24 29s719ms 1s238ms 11 17 20s928ms 1s231ms 12 16 19s717ms 1s232ms 13 7 8s554ms 1s222ms 14 5 6s133ms 1s226ms 15 6 7s456ms 1s242ms 16 6 7s544ms 1s257ms 17 3 3s725ms 1s241ms 18 8 10s51ms 1s256ms 19 13 15s916ms 1s224ms 20 8 9s884ms 1s235ms 21 7 8s778ms 1s254ms 22 6 7s475ms 1s245ms 23 4 4s924ms 1s231ms Mar 17 00 10 12s548ms 1s254ms 01 13 16s254ms 1s250ms 02 8 10s96ms 1s262ms 03 8 9s859ms 1s232ms 04 12 14s761ms 1s230ms 05 16 19s993ms 1s249ms 06 8 10s88ms 1s261ms 07 8 9s851ms 1s231ms 08 16 19s748ms 1s234ms 09 12 15s55ms 1s254ms 10 16 19s852ms 1s240ms 11 13 15s845ms 1s218ms 12 15 18s514ms 1s234ms 13 14 17s263ms 1s233ms 14 9 11s96ms 1s232ms 15 4 5s117ms 1s279ms 16 10 12s407ms 1s240ms 17 21 25s857ms 1s231ms 18 18 23s297ms 1s294ms 19 17 21s672ms 1s274ms 20 12 15s575ms 1s297ms 21 8 9s728ms 1s216ms 22 2 2s421ms 1s210ms 23 7 8s704ms 1s243ms Mar 18 00 6 7s787ms 1s297ms 01 2 2s567ms 1s283ms 02 4 4s920ms 1s230ms 03 3 3s745ms 1s248ms 05 4 5s9ms 1s252ms 06 2 2s525ms 1s262ms 07 1 1s251ms 1s251ms 08 1 1s186ms 1s186ms 09 1 1s300ms 1s300ms 10 1 1s176ms 1s176ms 11 1 1s180ms 1s180ms 12 1 1s252ms 1s252ms 13 6 7s160ms 1s193ms 14 12 14s676ms 1s223ms 15 1 1s257ms 1s257ms 16 5 6s35ms 1s207ms 17 7 8s716ms 1s245ms 18 6 7s446ms 1s241ms 19 4 4s966ms 1s241ms 20 6 7s503ms 1s250ms 21 4 4s783ms 1s195ms 22 2 2s451ms 1s225ms 23 7 8s521ms 1s217ms Mar 19 00 12 15s211ms 1s267ms 01 9 11s575ms 1s286ms 02 4 5s19ms 1s254ms 03 7 8s645ms 1s235ms 04 4 4s765ms 1s191ms 05 5 6s493ms 1s298ms 06 6 8s278ms 1s379ms 07 2 2s997ms 1s498ms 08 2 2s685ms 1s342ms 09 5 6s175ms 1s235ms 10 4 5s176ms 1s294ms 11 6 7s591ms 1s265ms 12 7 8s641ms 1s234ms 13 1 1s245ms 1s245ms 16 1 1s324ms 1s324ms 17 7 8s486ms 1s212ms 18 1 1s251ms 1s251ms 19 11 13s632ms 1s239ms 20 8 9s567ms 1s195ms 21 4 4s764ms 1s191ms 22 4 4s940ms 1s235ms 23 6 7s439ms 1s239ms Mar 20 00 3 3s670ms 1s223ms 01 8 9s952ms 1s244ms 02 5 6s266ms 1s253ms 03 12 14s538ms 1s211ms 04 9 10s928ms 1s214ms 05 8 9s661ms 1s207ms 06 4 4s819ms 1s204ms 07 7 8s619ms 1s231ms 08 7 8s583ms 1s226ms 09 12 14s291ms 1s190ms 10 7 9s198ms 1s314ms 11 5 7s274ms 1s454ms 12 10 13s375ms 1s337ms 13 3 4s279ms 1s426ms 14 8 10s344ms 1s293ms 15 1 1s217ms 1s217ms 16 13 16s462ms 1s266ms 17 4 5s25ms 1s256ms 18 11 14s212ms 1s292ms 19 18 22s463ms 1s247ms 20 9 11s244ms 1s249ms 21 8 10s131ms 1s266ms 22 15 18s828ms 1s255ms 23 2 2s532ms 1s266ms Mar 21 00 1 1s594ms 1s594ms 05 8 10s506ms 1s313ms 06 3 4s43ms 1s347ms 07 4 5s592ms 1s398ms 08 8 9s984ms 1s248ms 09 15 18s401ms 1s226ms 10 33 40s875ms 1s238ms 11 35 43s262ms 1s236ms 12 54 1m6s 1s235ms 13 30 36s983ms 1s232ms 14 33 40s808ms 1s236ms 15 61 1m15s 1s244ms 16 37 46s18ms 1s243ms 17 57 1m11s 1s245ms 18 39 49s27ms 1s257ms 19 43 53s728ms 1s249ms 20 38 46s746ms 1s230ms 21 34 41s283ms 1s214ms 22 23 28s553ms 1s241ms 23 14 17s274ms 1s233ms Mar 22 00 1 1s304ms 1s304ms 05 3 3s936ms 1s312ms 06 3 3s570ms 1s190ms 07 3 3s768ms 1s256ms 08 4 4s894ms 1s223ms 09 1 1s397ms 1s397ms 10 8 10s62ms 1s257ms 11 4 4s941ms 1s235ms 12 7 9s76ms 1s296ms 13 5 6s836ms 1s367ms 14 12 15s538ms 1s294ms 15 5 6s428ms 1s285ms 16 3 3s868ms 1s289ms 17 5 6s219ms 1s243ms 18 5 6s39ms 1s207ms 19 5 6s50ms 1s210ms 20 7 8s569ms 1s224ms 21 8 9s813ms 1s226ms 22 6 7s266ms 1s211ms 23 8 10s46ms 1s255ms [ User: pubeu - Total duration: 11m1s - Times executed: 527 ]
[ User: qaeu - Total duration: 1s296ms - Times executed: 1 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '1802929' or receptorTerm.id = '1802929' 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: 2025-03-20 11:48:32 Duration: 1s723ms 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 = '1450109' or receptorTerm.id = '1450109' 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: 2025-03-21 05:39:08 Duration: 1s678ms 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 = '1481503' or receptorTerm.id = '1481503' 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: 2025-03-21 07:25:33 Duration: 1s625ms Database: ctdprd51 User: pubeu Bind query: yes
4 27m24s 403 3s849ms 5s713ms 4s80ms 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 #4
Day Hour Count Duration Avg duration Mar 16 00 1 4s107ms 4s107ms 01 4 16s291ms 4s72ms 02 1 4s789ms 4s789ms 04 2 8s102ms 4s51ms 05 2 8s158ms 4s79ms 07 1 3s998ms 3s998ms 08 1 4s38ms 4s38ms 09 3 12s355ms 4s118ms 10 3 12s34ms 4s11ms 11 2 8s54ms 4s27ms 12 7 28s347ms 4s49ms 13 6 24s195ms 4s32ms 14 3 12s383ms 4s127ms 16 2 8s16ms 4s8ms 17 1 3s982ms 3s982ms 18 6 23s948ms 3s991ms 19 1 3s999ms 3s999ms 21 2 8s133ms 4s66ms 22 3 12s180ms 4s60ms Mar 17 01 30 2m2s 4s85ms 02 20 1m21s 4s63ms 03 30 2m2s 4s87ms 05 3 12s384ms 4s128ms 06 5 20s696ms 4s139ms 07 9 36s395ms 4s43ms 08 1 4s22ms 4s22ms 09 3 12s586ms 4s195ms 10 4 18s23ms 4s505ms 11 2 8s198ms 4s99ms 12 15 1m 4s38ms 13 7 28s381ms 4s54ms 14 1 4s63ms 4s63ms 15 5 20s41ms 4s8ms 16 1 3s910ms 3s910ms 18 4 16s308ms 4s77ms 19 5 20s403ms 4s80ms 20 2 8s165ms 4s82ms 21 2 8s395ms 4s197ms 23 2 7s904ms 3s952ms Mar 18 00 1 4s210ms 4s210ms 01 1 3s997ms 3s997ms 02 4 16s678ms 4s169ms 03 6 24s611ms 4s101ms 04 3 12s610ms 4s203ms 06 1 3s917ms 3s917ms 07 1 4s118ms 4s118ms 08 4 15s887ms 3s971ms 09 3 12s44ms 4s14ms 10 1 3s959ms 3s959ms 11 19 1m16s 4s42ms 12 5 20s266ms 4s53ms 13 2 8s92ms 4s46ms 15 1 4s123ms 4s123ms 16 1 4s228ms 4s228ms 18 3 12s423ms 4s141ms 19 1 3s928ms 3s928ms 22 3 12s196ms 4s65ms 23 2 8s617ms 4s308ms Mar 19 00 2 8s237ms 4s118ms 01 2 8s28ms 4s14ms 02 1 4s26ms 4s26ms 03 2 7s972ms 3s986ms 05 6 25s271ms 4s211ms 06 2 7s931ms 3s965ms 07 3 12s533ms 4s177ms 08 4 15s992ms 3s998ms 09 7 28s684ms 4s97ms 10 6 24s354ms 4s59ms 11 1 4s57ms 4s57ms 13 3 12s243ms 4s81ms 14 4 16s168ms 4s42ms 15 2 8s367ms 4s183ms 16 1 4s108ms 4s108ms 17 2 8s218ms 4s109ms 18 1 4s303ms 4s303ms 20 1 3s905ms 3s905ms 21 1 3s891ms 3s891ms 22 1 4s118ms 4s118ms Mar 20 02 5 20s180ms 4s36ms 03 3 12s535ms 4s178ms 04 5 20s394ms 4s78ms 05 1 3s849ms 3s849ms 06 1 4s211ms 4s211ms 08 3 12s128ms 4s42ms 09 3 11s872ms 3s957ms 10 3 12s467ms 4s155ms 11 2 8s149ms 4s74ms 12 2 8s54ms 4s27ms 14 6 24s267ms 4s44ms 15 3 12s280ms 4s93ms 16 1 4s98ms 4s98ms 18 3 11s959ms 3s986ms 22 1 3s941ms 3s941ms Mar 21 06 1 4s22ms 4s22ms 07 1 4s63ms 4s63ms 08 1 3s862ms 3s862ms 09 3 12s103ms 4s34ms 10 3 12s341ms 4s113ms 11 4 16s171ms 4s42ms 12 2 8s42ms 4s21ms 13 6 25s161ms 4s193ms 14 5 21s198ms 4s239ms 15 1 4s9ms 4s9ms 17 2 8s303ms 4s151ms 18 2 8s232ms 4s116ms 19 1 4s86ms 4s86ms 20 1 4s281ms 4s281ms 22 1 4s40ms 4s40ms 23 1 4s14ms 4s14ms Mar 22 05 1 4s351ms 4s351ms 09 1 4s40ms 4s40ms 11 3 12s36ms 4s12ms 13 1 4s127ms 4s127ms 14 1 4s67ms 4s67ms 16 1 4s72ms 4s72ms 17 1 4s23ms 4s23ms 20 1 4s65ms 4s65ms [ User: pubeu - Total duration: 12m10s - Times executed: 179 ]
-
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 = '1350325') 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 = '1350325') 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: 2025-03-17 10:46:13 Duration: 5s713ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1406854') 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 = '1406854') 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: 2025-03-16 02:39:16 Duration: 4s789ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1298377') 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 = '1298377') 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: 2025-03-21 14:05:03 Duration: 4s669ms Bind query: yes
5 24m35s 1 24m35s 24m35s 24m35s 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 #5
Day Hour Count Duration Avg duration Mar 22 19 1 24m35s 24m35s -
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: 2025-03-22 19:45:29 Duration: 24m35s
6 24m22s 1 24m22s 24m22s 24m22s copy pub1.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Mar 22 19 1 24m22s 24m22s -
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: 2025-03-22 19:01:27 Duration: 24m22s
7 23m16s 2 11m30s 11m46s 11m38s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 21 06 2 23m16s 11m38s -
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) 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 'STAT3') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05010' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'TRAZODONE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 500;
Date: 2025-03-21 06:39:00 Duration: 11m46s Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) 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 'STAT3') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05010' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'TRAZODONE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 500;
Date: 2025-03-21 06:33:44 Duration: 11m30s Bind query: yes
8 21m55s 25 52s101ms 54s34ms 52s614ms 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 Mar 16 06 1 52s201ms 52s201ms 10 1 52s293ms 52s293ms 14 1 52s535ms 52s535ms 18 1 52s101ms 52s101ms Mar 17 06 1 52s449ms 52s449ms 10 1 53s30ms 53s30ms 14 1 52s459ms 52s459ms 18 1 52s646ms 52s646ms Mar 18 06 1 52s487ms 52s487ms 10 1 52s163ms 52s163ms 14 1 52s370ms 52s370ms 18 1 52s746ms 52s746ms Mar 19 06 1 53s728ms 53s728ms 10 1 52s726ms 52s726ms 14 1 52s425ms 52s425ms 18 1 52s602ms 52s602ms Mar 20 06 1 52s343ms 52s343ms 10 1 52s386ms 52s386ms 14 1 54s34ms 54s34ms 18 1 52s260ms 52s260ms Mar 21 06 1 52s989ms 52s989ms 10 1 52s312ms 52s312ms 14 1 52s845ms 52s845ms 18 1 52s814ms 52s814ms Mar 22 20 1 52s414ms 52s414ms [ User: postgres - Total duration: 21m2s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 21m2s - 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: 2025-03-20 14:05:56 Duration: 54s34ms 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: 2025-03-19 06:05:55 Duration: 53s728ms 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: 2025-03-17 10:05:54 Duration: 53s30ms Database: ctdprd51 User: postgres Application: pg_dump
9 16m34s 662 1s466ms 1s894ms 1s502ms 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 #9
Day Hour Count Duration Avg duration Mar 16 00 1 1s516ms 1s516ms 01 1 1s493ms 1s493ms 05 3 4s513ms 1s504ms 09 1 1s611ms 1s611ms 12 2 3s 1s500ms 13 1 1s492ms 1s492ms 14 1 1s489ms 1s489ms 15 1 1s502ms 1s502ms 20 1 1s494ms 1s494ms 22 3 4s461ms 1s487ms Mar 17 02 1 1s481ms 1s481ms 03 1 1s515ms 1s515ms 05 2 2s996ms 1s498ms 07 1 1s587ms 1s587ms 08 1 1s491ms 1s491ms 12 3 4s448ms 1s482ms 13 1 1s497ms 1s497ms 14 3 4s559ms 1s519ms 15 5 7s481ms 1s496ms 16 3 4s488ms 1s496ms 17 5 7s494ms 1s498ms 18 2 3s69ms 1s534ms 19 1 1s492ms 1s492ms 20 3 4s476ms 1s492ms 21 1 1s490ms 1s490ms 22 4 6s44ms 1s511ms 23 6 9s34ms 1s505ms Mar 18 00 4 6s13ms 1s503ms 01 3 4s479ms 1s493ms 02 2 2s989ms 1s494ms 03 2 2s988ms 1s494ms 04 5 7s511ms 1s502ms 05 7 10s465ms 1s495ms 06 2 2s997ms 1s498ms 08 1 1s502ms 1s502ms 09 4 6s37ms 1s509ms 10 1 1s502ms 1s502ms 11 4 5s996ms 1s499ms 13 1 1s499ms 1s499ms 17 4 6s118ms 1s529ms 18 19 28s612ms 1s505ms 19 15 22s452ms 1s496ms 20 21 31s419ms 1s496ms 21 21 31s637ms 1s506ms 22 35 52s512ms 1s500ms 23 46 1m9s 1s501ms Mar 19 00 11 16s540ms 1s503ms 01 20 30s70ms 1s503ms 02 12 18s68ms 1s505ms 03 17 25s615ms 1s506ms 04 13 19s703ms 1s515ms 05 11 16s569ms 1s506ms 06 16 24s25ms 1s501ms 07 10 14s967ms 1s496ms 08 5 7s442ms 1s488ms 09 11 16s699ms 1s518ms 10 12 18s85ms 1s507ms 11 8 12s30ms 1s503ms 12 15 22s615ms 1s507ms 13 6 8s981ms 1s496ms 14 17 25s514ms 1s500ms 15 12 17s914ms 1s492ms 16 5 7s458ms 1s491ms 17 10 14s980ms 1s498ms 18 13 19s353ms 1s488ms 19 16 23s865ms 1s491ms 20 15 22s393ms 1s492ms 21 19 28s477ms 1s498ms 22 22 33s6ms 1s500ms 23 15 22s535ms 1s502ms Mar 20 01 3 4s500ms 1s500ms 02 2 2s991ms 1s495ms 03 6 9s79ms 1s513ms 04 2 2s992ms 1s496ms 05 3 4s472ms 1s490ms 07 1 1s493ms 1s493ms 08 1 1s487ms 1s487ms 09 1 1s503ms 1s503ms 11 2 3s2ms 1s501ms 12 1 1s488ms 1s488ms 14 1 1s500ms 1s500ms 15 1 1s482ms 1s482ms 16 2 3s10ms 1s505ms 18 2 2s993ms 1s496ms 19 1 1s538ms 1s538ms 20 1 1s486ms 1s486ms 21 1 1s483ms 1s483ms 22 2 3s10ms 1s505ms 23 2 3s414ms 1s707ms Mar 21 05 2 2s990ms 1s495ms 07 3 4s511ms 1s503ms 09 2 3s1ms 1s500ms 13 1 1s503ms 1s503ms 15 1 1s506ms 1s506ms 17 1 1s527ms 1s527ms 19 2 3s33ms 1s516ms 20 1 1s521ms 1s521ms 21 1 1s505ms 1s505ms 22 4 6s48ms 1s512ms 23 2 3s44ms 1s522ms Mar 22 05 3 4s548ms 1s516ms 06 3 4s579ms 1s526ms 07 3 4s503ms 1s501ms 08 4 5s925ms 1s481ms 09 1 1s524ms 1s524ms 10 1 1s495ms 1s495ms 11 2 2s965ms 1s482ms 12 2 3s2ms 1s501ms 14 2 3s36ms 1s518ms 15 1 1s496ms 1s496ms 16 2 2s999ms 1s499ms 17 2 2s994ms 1s497ms 19 2 2s987ms 1s493ms 22 7 10s473ms 1s496ms 23 6 8s958ms 1s493ms [ User: pubeu - Total duration: 6m16s - Times executed: 250 ]
-
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: 2025-03-20 23:00:52 Duration: 1s894ms 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: 2025-03-19 12:08:30 Duration: 1s632ms 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: 2025-03-18 18:07:39 Duration: 1s623ms Database: ctdprd51 User: pubeu Bind query: yes
10 13m40s 51 2s865ms 33s690ms 16s79ms select t.nm, t.nm_sort nmsort, t.acc_txt acc, t.acc_db_cd accdbcd, ? objecttypecd, null accdisplay from term t where t.id in ( select gga.go_term_id from gene_chem_reference gcr inner join gene_go_annot gga on gcr.gene_id = gga.gene_id inner join dag_node n on gga.go_term_id = n.object_id where gcr.chem_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and gga.is_not = false and n.dag_id = ?) order by t.nm_sort;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 17 15 51 13m40s 16s79ms [ User: pubeu - Total duration: 4m57s - Times executed: 15 ]
-
SELECT /* VennDAO.getTermQuerySQL */ t.nm, t.nm_sort nmsort, t.acc_txt acc, t.acc_db_cd accdbcd, 'go' objectTypeCd, NULL accDisplay FROM term t WHERE t.id IN ( SELECT /* VennChemGODAO */ gga.go_term_id FROM gene_chem_reference gcr INNER JOIN gene_go_annot gga ON gcr.gene_id = gga.gene_id INNER JOIN dag_node n ON gga.go_term_id = n.object_id where gcr.chem_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 1287988) AND gga.is_not = false AND n.dag_id = 5) ORDER BY t.nm_sort;
Date: 2025-03-17 15:25:41 Duration: 33s690ms Bind query: yes
-
SELECT /* VennDAO.getTermQuerySQL */ t.nm, t.nm_sort nmsort, t.acc_txt acc, t.acc_db_cd accdbcd, 'go' objectTypeCd, NULL accDisplay FROM term t WHERE t.id IN ( SELECT /* VennChemGODAO */ gga.go_term_id FROM gene_chem_reference gcr INNER JOIN gene_go_annot gga ON gcr.gene_id = gga.gene_id INNER JOIN dag_node n ON gga.go_term_id = n.object_id where gcr.chem_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 1341808) AND gga.is_not = false AND n.dag_id = 5) ORDER BY t.nm_sort;
Date: 2025-03-17 15:25:21 Duration: 32s604ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* VennDAO.getTermQuerySQL */ t.nm, t.nm_sort nmsort, t.acc_txt acc, t.acc_db_cd accdbcd, 'go' objectTypeCd, NULL accDisplay FROM term t WHERE t.id IN ( SELECT /* VennChemGODAO */ gga.go_term_id FROM gene_chem_reference gcr INNER JOIN gene_go_annot gga ON gcr.gene_id = gga.gene_id INNER JOIN dag_node n ON gga.go_term_id = n.object_id where gcr.chem_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 1341808) AND gga.is_not = false AND n.dag_id = 5) ORDER BY t.nm_sort;
Date: 2025-03-17 15:25:22 Duration: 32s42ms Database: ctdprd51 User: pubeu Bind query: yes
11 11m38s 43 1s278ms 27s407ms 16s238ms 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 g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Mar 19 20 1 19s721ms 19s721ms Mar 20 02 1 19s497ms 19s497ms 08 1 18s814ms 18s814ms 10 1 19s626ms 19s626ms 16 1 19s132ms 19s132ms Mar 21 08 1 19s240ms 19s240ms 10 4 1m16s 19s16ms 11 3 59s50ms 19s683ms 16 5 35s182ms 7s36ms 17 4 39s748ms 9s937ms 18 8 2m36s 19s530ms 19 4 1m16s 19s178ms 21 6 2m10s 21s715ms 22 2 2s631ms 1s315ms 23 1 6s278ms 6s278ms [ User: pubeu - Total duration: 5m4s - 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 = '2089799') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-03-21 21:34:39 Duration: 27s407ms 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 = '2089434') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-03-21 21:34:44 Duration: 26s345ms 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 = '2093396') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-03-21 18:35:23 Duration: 20s597ms Bind query: yes
12 10m32s 453 1s278ms 2s494ms 1s395ms 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 #12
Day Hour Count Duration Avg duration Mar 16 00 4 5s967ms 1s491ms 01 5 7s141ms 1s428ms 02 5 6s921ms 1s384ms 04 3 4s147ms 1s382ms 05 3 4s374ms 1s458ms 07 1 1s364ms 1s364ms 09 1 1s369ms 1s369ms 10 2 2s689ms 1s344ms 12 4 5s338ms 1s334ms 13 1 1s418ms 1s418ms 14 2 2s775ms 1s387ms 15 2 2s739ms 1s369ms 17 2 2s811ms 1s405ms 18 6 8s187ms 1s364ms 19 5 6s742ms 1s348ms 20 4 5s557ms 1s389ms 21 1 1s330ms 1s330ms 22 3 4s169ms 1s389ms Mar 17 01 4 5s668ms 1s417ms 02 3 4s192ms 1s397ms 03 1 1s395ms 1s395ms 04 2 2s709ms 1s354ms 05 3 4s213ms 1s404ms 06 3 4s133ms 1s377ms 07 2 2s743ms 1s371ms 08 2 2s805ms 1s402ms 09 2 2s729ms 1s364ms 10 1 1s377ms 1s377ms 11 1 1s349ms 1s349ms 12 5 6s870ms 1s374ms 13 1 1s353ms 1s353ms 14 1 1s419ms 1s419ms 15 1 1s354ms 1s354ms 16 2 2s761ms 1s380ms 18 4 5s851ms 1s462ms 19 3 4s316ms 1s438ms 20 3 4s138ms 1s379ms 21 2 2s633ms 1s316ms 22 4 5s418ms 1s354ms Mar 18 00 2 2s725ms 1s362ms 01 1 1s365ms 1s365ms 02 4 5s446ms 1s361ms 04 2 2s737ms 1s368ms 05 4 5s513ms 1s378ms 09 1 1s304ms 1s304ms 13 4 5s409ms 1s352ms 14 4 5s392ms 1s348ms 17 1 1s283ms 1s283ms 18 2 2s689ms 1s344ms 20 4 6s336ms 1s584ms 21 1 1s291ms 1s291ms 22 2 2s823ms 1s411ms 23 4 5s508ms 1s377ms Mar 19 00 3 3s924ms 1s308ms 01 1 1s310ms 1s310ms 02 1 1s466ms 1s466ms 04 1 1s335ms 1s335ms 05 4 5s810ms 1s452ms 06 2 3s140ms 1s570ms 07 1 1s487ms 1s487ms 08 1 1s522ms 1s522ms 10 1 1s420ms 1s420ms 11 2 2s712ms 1s356ms 12 1 1s376ms 1s376ms 14 3 3s981ms 1s327ms 15 1 1s423ms 1s423ms 16 1 1s428ms 1s428ms 18 8 10s798ms 1s349ms 19 4 5s210ms 1s302ms 20 1 1s289ms 1s289ms 21 2 2s816ms 1s408ms 22 2 2s768ms 1s384ms Mar 20 01 4 5s739ms 1s434ms 02 3 4s171ms 1s390ms 04 10 13s359ms 1s335ms 05 3 4s79ms 1s359ms 06 2 2s655ms 1s327ms 07 2 2s691ms 1s345ms 08 2 2s826ms 1s413ms 09 2 2s674ms 1s337ms 10 1 2s62ms 2s62ms 11 2 2s803ms 1s401ms 12 3 4s726ms 1s575ms 14 1 1s392ms 1s392ms 15 3 4s140ms 1s380ms 16 2 2s814ms 1s407ms 17 2 3s 1s500ms 18 5 7s124ms 1s424ms 19 3 4s222ms 1s407ms 20 5 6s971ms 1s394ms 22 5 6s793ms 1s358ms Mar 21 05 6 9s207ms 1s534ms 06 3 4s576ms 1s525ms 07 1 1s621ms 1s621ms 08 5 7s161ms 1s432ms 09 2 2s750ms 1s375ms 10 2 2s754ms 1s377ms 11 12 16s606ms 1s383ms 12 9 12s309ms 1s367ms 13 2 2s715ms 1s357ms 14 4 5s535ms 1s383ms 15 15 20s597ms 1s373ms 16 7 9s609ms 1s372ms 17 14 19s476ms 1s391ms 18 28 39s107ms 1s396ms 19 9 12s409ms 1s378ms 20 9 12s124ms 1s347ms 21 13 17s748ms 1s365ms 22 7 10s 1s428ms 23 11 15s105ms 1s373ms Mar 22 00 2 2s793ms 1s396ms 01 1 1s373ms 1s373ms 05 2 2s887ms 1s443ms 06 1 1s320ms 1s320ms 07 2 2s998ms 1s499ms 09 1 1s594ms 1s594ms 10 9 12s374ms 1s374ms 11 4 5s465ms 1s366ms 12 5 7s501ms 1s500ms 13 1 1s775ms 1s775ms 14 1 1s442ms 1s442ms 15 5 7s463ms 1s492ms 16 1 1s662ms 1s662ms 17 2 3s11ms 1s505ms 18 2 2s652ms 1s326ms 19 3 4s51ms 1s350ms 20 4 5s607ms 1s401ms 21 3 4s53ms 1s351ms 22 3 4s158ms 1s386ms 23 2 2s788ms 1s394ms [ User: pubeu - Total duration: 3m35s - Times executed: 153 ]
[ User: qaeu - Total duration: 8s622ms - 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 = '1228424') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1228424') 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: 2025-03-21 05:39:07 Duration: 2s494ms 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 = '1259375') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1259375') 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: 2025-03-18 20:56:08 Duration: 2s233ms 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 = '1263467') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1263467') 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: 2025-03-20 10:17:12 Duration: 2s62ms Database: ctdprd51 User: pubeu Bind query: yes
13 8m40s 119 1s31ms 6s86ms 4s370ms 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 #13
Day Hour Count Duration Avg duration Mar 16 02 1 5s356ms 5s356ms 05 7 38s546ms 5s506ms 07 2 6s553ms 3s276ms 11 1 5s596ms 5s596ms 14 1 5s850ms 5s850ms 17 1 5s522ms 5s522ms 20 1 5s568ms 5s568ms Mar 17 04 1 1s91ms 1s91ms 05 9 42s960ms 4s773ms 06 2 2s268ms 1s134ms 07 1 1s68ms 1s68ms 08 1 5s609ms 5s609ms 10 2 11s122ms 5s561ms 11 2 11s28ms 5s514ms 12 1 5s600ms 5s600ms 13 1 1s80ms 1s80ms 14 1 5s497ms 5s497ms 15 1 1s44ms 1s44ms 16 1 1s72ms 1s72ms 17 1 1s75ms 1s75ms 19 1 5s511ms 5s511ms 20 1 5s625ms 5s625ms Mar 18 02 3 16s701ms 5s567ms 03 2 10s832ms 5s416ms 05 7 34s539ms 4s934ms 09 1 5s289ms 5s289ms 13 1 1s65ms 1s65ms 15 1 1s67ms 1s67ms Mar 19 01 1 5s378ms 5s378ms 03 1 5s415ms 5s415ms 04 2 10s913ms 5s456ms 05 1 6s86ms 6s86ms 07 2 10s906ms 5s453ms 13 1 1s88ms 1s88ms 14 6 31s676ms 5s279ms 15 1 1s60ms 1s60ms 20 1 5s404ms 5s404ms 22 3 16s520ms 5s506ms 23 1 5s622ms 5s622ms Mar 20 04 1 1s52ms 1s52ms 05 2 10s382ms 5s191ms 07 1 1s53ms 1s53ms 08 2 2s112ms 1s56ms 09 1 1s31ms 1s31ms 11 1 1s69ms 1s69ms 12 1 1s69ms 1s69ms 15 1 5s641ms 5s641ms 17 2 2s127ms 1s63ms Mar 21 08 1 5s387ms 5s387ms 09 5 23s17ms 4s603ms 10 2 2s116ms 1s58ms 14 1 5s519ms 5s519ms 16 6 33s309ms 5s551ms 17 3 17s257ms 5s752ms 19 2 2s166ms 1s83ms 23 3 12s123ms 4s41ms Mar 22 07 6 32s459ms 5s409ms 13 1 5s759ms 5s759ms 22 1 5s568ms 5s568ms 23 1 5s629ms 5s629ms [ User: pubeu - Total duration: 1m59s - Times executed: 33 ]
-
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 = '1335449' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-03-19 05:04:28 Duration: 6s86ms 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 = '1337969' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-03-17 05:56:03 Duration: 5s986ms 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 = '1323615' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-03-21 17:55:31 Duration: 5s952ms Bind query: yes
14 8m16s 353 1s274ms 1s771ms 1s406ms 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 #14
Day Hour Count Duration Avg duration Mar 16 00 2 3s22ms 1s511ms 01 1 1s339ms 1s339ms 02 1 1s369ms 1s369ms 04 6 8s392ms 1s398ms 05 8 11s421ms 1s427ms 06 4 5s486ms 1s371ms 07 2 2s719ms 1s359ms 08 7 9s730ms 1s390ms 09 5 7s200ms 1s440ms 10 10 13s917ms 1s391ms 11 4 5s428ms 1s357ms 12 2 2s743ms 1s371ms 13 1 1s423ms 1s423ms 14 3 4s125ms 1s375ms 16 2 2s717ms 1s358ms 17 3 4s117ms 1s372ms 18 1 1s326ms 1s326ms 19 1 1s377ms 1s377ms 21 2 2s778ms 1s389ms 22 1 1s353ms 1s353ms 23 2 2s782ms 1s391ms Mar 17 00 1 1s355ms 1s355ms 01 3 4s160ms 1s386ms 02 2 2s720ms 1s360ms 03 4 5s638ms 1s409ms 04 3 4s289ms 1s429ms 05 7 9s875ms 1s410ms 06 3 4s125ms 1s375ms 08 4 5s633ms 1s408ms 09 4 5s523ms 1s380ms 10 5 6s790ms 1s358ms 11 5 7s49ms 1s409ms 12 4 5s531ms 1s382ms 13 1 1s343ms 1s343ms 14 1 1s397ms 1s397ms 15 1 1s399ms 1s399ms 17 1 1s375ms 1s375ms 18 3 4s414ms 1s471ms 19 3 4s548ms 1s516ms 20 2 2s926ms 1s463ms 22 1 1s330ms 1s330ms Mar 18 04 1 1s460ms 1s460ms 05 5 7s208ms 1s441ms 07 1 1s465ms 1s465ms 11 1 1s548ms 1s548ms 12 2 2s670ms 1s335ms 13 1 1s300ms 1s300ms 14 2 2s736ms 1s368ms 17 1 1s384ms 1s384ms 20 2 2s728ms 1s364ms 22 1 1s323ms 1s323ms Mar 19 02 4 5s642ms 1s410ms 05 3 4s463ms 1s487ms 06 2 3s101ms 1s550ms 07 2 3s77ms 1s538ms 08 2 3s151ms 1s575ms 09 3 4s166ms 1s388ms 12 5 6s901ms 1s380ms 13 1 1s366ms 1s366ms 15 1 1s511ms 1s511ms 16 2 2s862ms 1s431ms 17 3 4s150ms 1s383ms 19 1 1s296ms 1s296ms 21 3 4s365ms 1s455ms Mar 20 00 1 1s584ms 1s584ms 01 1 1s411ms 1s411ms 02 1 1s418ms 1s418ms 03 3 4s167ms 1s389ms 04 2 2s713ms 1s356ms 05 3 4s215ms 1s405ms 06 2 2s614ms 1s307ms 07 1 1s367ms 1s367ms 08 3 4s225ms 1s408ms 09 2 2s557ms 1s278ms 11 1 1s633ms 1s633ms 12 2 2s854ms 1s427ms 13 3 4s253ms 1s417ms 15 2 2s722ms 1s361ms 17 3 4s384ms 1s461ms 18 1 1s434ms 1s434ms 19 1 1s364ms 1s364ms 20 1 1s393ms 1s393ms Mar 21 05 3 4s199ms 1s399ms 06 3 4s535ms 1s511ms 08 2 2s929ms 1s464ms 10 1 1s343ms 1s343ms 11 1 1s447ms 1s447ms 12 2 2s625ms 1s312ms 13 3 4s336ms 1s445ms 14 2 2s877ms 1s438ms 15 10 14s64ms 1s406ms 16 12 16s961ms 1s413ms 17 10 13s683ms 1s368ms 18 27 37s505ms 1s389ms 19 20 27s755ms 1s387ms 20 7 9s573ms 1s367ms 21 12 16s365ms 1s363ms 22 4 5s667ms 1s416ms 23 2 2s736ms 1s368ms Mar 22 05 2 3s86ms 1s543ms 06 1 1s357ms 1s357ms 09 1 1s489ms 1s489ms 10 2 2s884ms 1s442ms 12 3 4s391ms 1s463ms 14 3 4s995ms 1s665ms 16 2 2s983ms 1s491ms 17 1 1s486ms 1s486ms 18 1 1s384ms 1s384ms 19 1 1s434ms 1s434ms 20 3 4s132ms 1s377ms 22 2 2s861ms 1s430ms 23 2 2s860ms 1s430ms [ User: pubeu - Total duration: 2m58s - Times executed: 126 ]
-
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 = '2096440') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2096440') 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: 2025-03-22 14:36:01 Duration: 1s771ms 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 = '2097512') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2097512') 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: 2025-03-22 14:59:25 Duration: 1s763ms 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 = '2088280') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2088280') 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: 2025-03-19 08:27:15 Duration: 1s752ms Bind query: yes
15 7m5s 1 7m5s 7m5s 7m5s copy pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Mar 22 19 1 7m5s 7m5s -
COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2025-03-22 19:57:40 Duration: 7m5s
16 7m3s 1 7m3s 7m3s 7m3s copy pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Mar 22 19 1 7m3s 7m3s -
COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2025-03-22 19:13:34 Duration: 7m3s
17 7m 117 1s2ms 11s559ms 3s590ms 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 Mar 16 00 2 4s64ms 2s32ms 02 3 9s310ms 3s103ms 04 1 10s491ms 10s491ms 06 1 1s139ms 1s139ms 07 2 2s512ms 1s256ms 08 1 1s238ms 1s238ms 09 1 2s804ms 2s804ms 10 2 3s830ms 1s915ms 21 1 1s41ms 1s41ms 22 1 2s605ms 2s605ms Mar 17 00 2 7s599ms 3s799ms 01 2 3s382ms 1s691ms 02 2 11s711ms 5s855ms 03 3 9s274ms 3s91ms 04 1 1s158ms 1s158ms 06 2 3s842ms 1s921ms 07 2 3s552ms 1s776ms 08 1 1s394ms 1s394ms 09 1 2s667ms 2s667ms 11 2 2s774ms 1s387ms 12 2 6s756ms 3s378ms 19 2 9s199ms 4s599ms 21 1 1s123ms 1s123ms Mar 18 02 1 5s456ms 5s456ms 04 1 2s624ms 2s624ms 06 1 2s574ms 2s574ms 09 1 1s5ms 1s5ms 10 1 1s234ms 1s234ms 11 1 1s217ms 1s217ms 14 1 1s100ms 1s100ms 18 1 1s32ms 1s32ms 21 3 16s103ms 5s367ms Mar 19 03 1 2s642ms 2s642ms 04 1 6s393ms 6s393ms 05 2 3s802ms 1s901ms 10 1 1s212ms 1s212ms 12 1 5s554ms 5s554ms 13 2 2s511ms 1s255ms 17 2 4s103ms 2s51ms 19 2 8s81ms 4s40ms 21 2 3s225ms 1s612ms 22 2 13s28ms 6s514ms 23 1 2s543ms 2s543ms Mar 20 01 1 10s497ms 10s497ms 03 2 3s874ms 1s937ms 06 10 39s487ms 3s948ms 07 3 8s689ms 2s896ms 11 3 11s413ms 3s804ms 12 2 5s810ms 2s905ms 17 1 1s236ms 1s236ms 18 1 2s140ms 2s140ms 22 1 2s569ms 2s569ms Mar 21 05 2 2s535ms 1s267ms 08 1 4s573ms 4s573ms 10 1 1s760ms 1s760ms 12 1 4s804ms 4s804ms Mar 22 00 4 9s603ms 2s400ms 01 1 10s431ms 10s431ms 07 7 1m8s 9s731ms 09 1 2s974ms 2s974ms 13 1 1s160ms 1s160ms 14 1 1s210ms 1s210ms 16 1 10s900ms 10s900ms 18 1 2s628ms 2s628ms 20 4 23s666ms 5s916ms 21 1 1s102ms 1s102ms [ User: pubeu - Total duration: 3m11s - Times executed: 54 ]
-
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 = '2100762') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-03-22 07:14:05 Duration: 11s559ms 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 = '2100762') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-03-22 07:14:08 Duration: 11s481ms 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 = '2093936') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-03-22 20:46:50 Duration: 11s449ms Bind query: yes
18 6m19s 25 15s54ms 15s356ms 15s187ms copy edit.db_link (object_id, object_type_id, acc_txt, db_id, type_cd, is_primary, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Mar 16 06 1 15s54ms 15s54ms 10 1 15s356ms 15s356ms 14 1 15s155ms 15s155ms 18 1 15s69ms 15s69ms Mar 17 06 1 15s165ms 15s165ms 10 1 15s176ms 15s176ms 14 1 15s177ms 15s177ms 18 1 15s253ms 15s253ms Mar 18 06 1 15s288ms 15s288ms 10 1 15s280ms 15s280ms 14 1 15s187ms 15s187ms 18 1 15s134ms 15s134ms Mar 19 06 1 15s185ms 15s185ms 10 1 15s125ms 15s125ms 14 1 15s217ms 15s217ms 18 1 15s88ms 15s88ms Mar 20 06 1 15s156ms 15s156ms 10 1 15s269ms 15s269ms 14 1 15s157ms 15s157ms 18 1 15s170ms 15s170ms Mar 21 06 1 15s231ms 15s231ms 10 1 15s124ms 15s124ms 14 1 15s240ms 15s240ms 18 1 15s264ms 15s264ms Mar 22 18 1 15s156ms 15s156ms [ User: postgres - Total duration: 6m19s - Times executed: 25 ]
[ Application: pg_dump - Total duration: 6m19s - 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: 2025-03-16 10:00:17 Duration: 15s356ms 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: 2025-03-18 06:00:17 Duration: 15s288ms 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: 2025-03-18 10:00:17 Duration: 15s280ms Database: ctdprd51 User: postgres Application: pg_dump
19 5m49s 25 13s881ms 14s142ms 13s986ms copy edit.ixn_actor (ixn_id, position_seq, object_type_id, acc_txt, acc_db_id, object_nm, actor_form_type_id, qual_actor_form_type_id, seq_acc_txt, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Mar 16 06 1 14s8ms 14s8ms 10 1 14s142ms 14s142ms 14 1 13s964ms 13s964ms 18 1 13s931ms 13s931ms Mar 17 06 1 14s32ms 14s32ms 10 1 13s939ms 13s939ms 14 1 14s34ms 14s34ms 18 1 14s38ms 14s38ms Mar 18 06 1 14s4ms 14s4ms 10 1 13s998ms 13s998ms 14 1 13s969ms 13s969ms 18 1 13s969ms 13s969ms Mar 19 06 1 14s78ms 14s78ms 10 1 13s938ms 13s938ms 14 1 13s987ms 13s987ms 18 1 13s895ms 13s895ms Mar 20 06 1 13s976ms 13s976ms 10 1 13s999ms 13s999ms 14 1 13s970ms 13s970ms 18 1 13s882ms 13s882ms Mar 21 06 1 14s43ms 14s43ms 10 1 13s881ms 13s881ms 14 1 13s940ms 13s940ms 18 1 14s79ms 14s79ms Mar 22 18 1 13s961ms 13s961ms -
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: 2025-03-16 10:00:46 Duration: 14s142ms
-
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: 2025-03-21 18:00:46 Duration: 14s79ms
-
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: 2025-03-19 06:00:46 Duration: 14s78ms
20 5m41s 24 14s130ms 14s334ms 14s228ms copy edit.reference (id, title, journal_nm, issue, pages_txt, page_position_seq, volume, pub_dt_format_mask, pub_start_dt, pub_end_dt, pub_start_season_nm, pub_end_season_nm, is_review, is_author_list_complete, affiliation_txt, abstract_txt, create_by, create_tm, mod_by, mod_tm) to stdout;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Mar 16 06 1 14s198ms 14s198ms 10 1 14s227ms 14s227ms 14 1 14s204ms 14s204ms 18 1 14s202ms 14s202ms Mar 17 06 1 14s269ms 14s269ms 10 1 14s231ms 14s231ms 14 1 14s194ms 14s194ms 18 1 14s283ms 14s283ms Mar 18 06 1 14s185ms 14s185ms 10 1 14s215ms 14s215ms 14 1 14s130ms 14s130ms 18 1 14s230ms 14s230ms Mar 19 06 1 14s299ms 14s299ms 10 1 14s136ms 14s136ms 14 1 14s322ms 14s322ms 18 1 14s334ms 14s334ms Mar 20 06 1 14s267ms 14s267ms 10 1 14s228ms 14s228ms 18 1 14s181ms 14s181ms Mar 21 06 1 14s207ms 14s207ms 10 1 14s166ms 14s166ms 14 1 14s244ms 14s244ms 18 1 14s302ms 14s302ms Mar 22 18 1 14s232ms 14s232ms -
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: 2025-03-19 18:01:00 Duration: 14s334ms
-
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: 2025-03-19 14:01:00 Duration: 14s322ms
-
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: 2025-03-21 18:01:00 Duration: 14s302ms
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 1,581 32m52s 1s151ms 1s723ms 1s247ms 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 Mar 16 00 9 11s945ms 1s327ms 01 17 20s950ms 1s232ms 02 7 8s739ms 1s248ms 03 3 3s815ms 1s271ms 04 13 16s285ms 1s252ms 05 11 13s652ms 1s241ms 06 11 13s718ms 1s247ms 07 4 4s959ms 1s239ms 08 14 17s342ms 1s238ms 09 20 25s543ms 1s277ms 10 24 29s719ms 1s238ms 11 17 20s928ms 1s231ms 12 16 19s717ms 1s232ms 13 7 8s554ms 1s222ms 14 5 6s133ms 1s226ms 15 6 7s456ms 1s242ms 16 6 7s544ms 1s257ms 17 3 3s725ms 1s241ms 18 8 10s51ms 1s256ms 19 13 15s916ms 1s224ms 20 8 9s884ms 1s235ms 21 7 8s778ms 1s254ms 22 6 7s475ms 1s245ms 23 4 4s924ms 1s231ms Mar 17 00 10 12s548ms 1s254ms 01 13 16s254ms 1s250ms 02 8 10s96ms 1s262ms 03 8 9s859ms 1s232ms 04 12 14s761ms 1s230ms 05 16 19s993ms 1s249ms 06 8 10s88ms 1s261ms 07 8 9s851ms 1s231ms 08 16 19s748ms 1s234ms 09 12 15s55ms 1s254ms 10 16 19s852ms 1s240ms 11 13 15s845ms 1s218ms 12 15 18s514ms 1s234ms 13 14 17s263ms 1s233ms 14 9 11s96ms 1s232ms 15 4 5s117ms 1s279ms 16 10 12s407ms 1s240ms 17 21 25s857ms 1s231ms 18 18 23s297ms 1s294ms 19 17 21s672ms 1s274ms 20 12 15s575ms 1s297ms 21 8 9s728ms 1s216ms 22 2 2s421ms 1s210ms 23 7 8s704ms 1s243ms Mar 18 00 6 7s787ms 1s297ms 01 2 2s567ms 1s283ms 02 4 4s920ms 1s230ms 03 3 3s745ms 1s248ms 05 4 5s9ms 1s252ms 06 2 2s525ms 1s262ms 07 1 1s251ms 1s251ms 08 1 1s186ms 1s186ms 09 1 1s300ms 1s300ms 10 1 1s176ms 1s176ms 11 1 1s180ms 1s180ms 12 1 1s252ms 1s252ms 13 6 7s160ms 1s193ms 14 12 14s676ms 1s223ms 15 1 1s257ms 1s257ms 16 5 6s35ms 1s207ms 17 7 8s716ms 1s245ms 18 6 7s446ms 1s241ms 19 4 4s966ms 1s241ms 20 6 7s503ms 1s250ms 21 4 4s783ms 1s195ms 22 2 2s451ms 1s225ms 23 7 8s521ms 1s217ms Mar 19 00 12 15s211ms 1s267ms 01 9 11s575ms 1s286ms 02 4 5s19ms 1s254ms 03 7 8s645ms 1s235ms 04 4 4s765ms 1s191ms 05 5 6s493ms 1s298ms 06 6 8s278ms 1s379ms 07 2 2s997ms 1s498ms 08 2 2s685ms 1s342ms 09 5 6s175ms 1s235ms 10 4 5s176ms 1s294ms 11 6 7s591ms 1s265ms 12 7 8s641ms 1s234ms 13 1 1s245ms 1s245ms 16 1 1s324ms 1s324ms 17 7 8s486ms 1s212ms 18 1 1s251ms 1s251ms 19 11 13s632ms 1s239ms 20 8 9s567ms 1s195ms 21 4 4s764ms 1s191ms 22 4 4s940ms 1s235ms 23 6 7s439ms 1s239ms Mar 20 00 3 3s670ms 1s223ms 01 8 9s952ms 1s244ms 02 5 6s266ms 1s253ms 03 12 14s538ms 1s211ms 04 9 10s928ms 1s214ms 05 8 9s661ms 1s207ms 06 4 4s819ms 1s204ms 07 7 8s619ms 1s231ms 08 7 8s583ms 1s226ms 09 12 14s291ms 1s190ms 10 7 9s198ms 1s314ms 11 5 7s274ms 1s454ms 12 10 13s375ms 1s337ms 13 3 4s279ms 1s426ms 14 8 10s344ms 1s293ms 15 1 1s217ms 1s217ms 16 13 16s462ms 1s266ms 17 4 5s25ms 1s256ms 18 11 14s212ms 1s292ms 19 18 22s463ms 1s247ms 20 9 11s244ms 1s249ms 21 8 10s131ms 1s266ms 22 15 18s828ms 1s255ms 23 2 2s532ms 1s266ms Mar 21 00 1 1s594ms 1s594ms 05 8 10s506ms 1s313ms 06 3 4s43ms 1s347ms 07 4 5s592ms 1s398ms 08 8 9s984ms 1s248ms 09 15 18s401ms 1s226ms 10 33 40s875ms 1s238ms 11 35 43s262ms 1s236ms 12 54 1m6s 1s235ms 13 30 36s983ms 1s232ms 14 33 40s808ms 1s236ms 15 61 1m15s 1s244ms 16 37 46s18ms 1s243ms 17 57 1m11s 1s245ms 18 39 49s27ms 1s257ms 19 43 53s728ms 1s249ms 20 38 46s746ms 1s230ms 21 34 41s283ms 1s214ms 22 23 28s553ms 1s241ms 23 14 17s274ms 1s233ms Mar 22 00 1 1s304ms 1s304ms 05 3 3s936ms 1s312ms 06 3 3s570ms 1s190ms 07 3 3s768ms 1s256ms 08 4 4s894ms 1s223ms 09 1 1s397ms 1s397ms 10 8 10s62ms 1s257ms 11 4 4s941ms 1s235ms 12 7 9s76ms 1s296ms 13 5 6s836ms 1s367ms 14 12 15s538ms 1s294ms 15 5 6s428ms 1s285ms 16 3 3s868ms 1s289ms 17 5 6s219ms 1s243ms 18 5 6s39ms 1s207ms 19 5 6s50ms 1s210ms 20 7 8s569ms 1s224ms 21 8 9s813ms 1s226ms 22 6 7s266ms 1s211ms 23 8 10s46ms 1s255ms [ User: pubeu - Total duration: 11m1s - Times executed: 527 ]
[ User: qaeu - Total duration: 1s296ms - Times executed: 1 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '1802929' or receptorTerm.id = '1802929' 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: 2025-03-20 11:48:32 Duration: 1s723ms 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 = '1450109' or receptorTerm.id = '1450109' 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: 2025-03-21 05:39:08 Duration: 1s678ms 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 = '1481503' or receptorTerm.id = '1481503' 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: 2025-03-21 07:25:33 Duration: 1s625ms Database: ctdprd51 User: pubeu Bind query: yes
2 662 16m34s 1s466ms 1s894ms 1s502ms select coalesce(d.abbr_display, d.nm_display) nm # ?, d.description # ?, coalesce(d.abbr, d.nm) anchor # ?, get_homepage_url (d.id) url # ? from db d # ? where d.id in (# ? select l.db_id # ? from db_link l # ? where l.type_cd = ? # ? and l.object_type_id = ?) # ? order by ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 16 00 1 1s516ms 1s516ms 01 1 1s493ms 1s493ms 05 3 4s513ms 1s504ms 09 1 1s611ms 1s611ms 12 2 3s 1s500ms 13 1 1s492ms 1s492ms 14 1 1s489ms 1s489ms 15 1 1s502ms 1s502ms 20 1 1s494ms 1s494ms 22 3 4s461ms 1s487ms Mar 17 02 1 1s481ms 1s481ms 03 1 1s515ms 1s515ms 05 2 2s996ms 1s498ms 07 1 1s587ms 1s587ms 08 1 1s491ms 1s491ms 12 3 4s448ms 1s482ms 13 1 1s497ms 1s497ms 14 3 4s559ms 1s519ms 15 5 7s481ms 1s496ms 16 3 4s488ms 1s496ms 17 5 7s494ms 1s498ms 18 2 3s69ms 1s534ms 19 1 1s492ms 1s492ms 20 3 4s476ms 1s492ms 21 1 1s490ms 1s490ms 22 4 6s44ms 1s511ms 23 6 9s34ms 1s505ms Mar 18 00 4 6s13ms 1s503ms 01 3 4s479ms 1s493ms 02 2 2s989ms 1s494ms 03 2 2s988ms 1s494ms 04 5 7s511ms 1s502ms 05 7 10s465ms 1s495ms 06 2 2s997ms 1s498ms 08 1 1s502ms 1s502ms 09 4 6s37ms 1s509ms 10 1 1s502ms 1s502ms 11 4 5s996ms 1s499ms 13 1 1s499ms 1s499ms 17 4 6s118ms 1s529ms 18 19 28s612ms 1s505ms 19 15 22s452ms 1s496ms 20 21 31s419ms 1s496ms 21 21 31s637ms 1s506ms 22 35 52s512ms 1s500ms 23 46 1m9s 1s501ms Mar 19 00 11 16s540ms 1s503ms 01 20 30s70ms 1s503ms 02 12 18s68ms 1s505ms 03 17 25s615ms 1s506ms 04 13 19s703ms 1s515ms 05 11 16s569ms 1s506ms 06 16 24s25ms 1s501ms 07 10 14s967ms 1s496ms 08 5 7s442ms 1s488ms 09 11 16s699ms 1s518ms 10 12 18s85ms 1s507ms 11 8 12s30ms 1s503ms 12 15 22s615ms 1s507ms 13 6 8s981ms 1s496ms 14 17 25s514ms 1s500ms 15 12 17s914ms 1s492ms 16 5 7s458ms 1s491ms 17 10 14s980ms 1s498ms 18 13 19s353ms 1s488ms 19 16 23s865ms 1s491ms 20 15 22s393ms 1s492ms 21 19 28s477ms 1s498ms 22 22 33s6ms 1s500ms 23 15 22s535ms 1s502ms Mar 20 01 3 4s500ms 1s500ms 02 2 2s991ms 1s495ms 03 6 9s79ms 1s513ms 04 2 2s992ms 1s496ms 05 3 4s472ms 1s490ms 07 1 1s493ms 1s493ms 08 1 1s487ms 1s487ms 09 1 1s503ms 1s503ms 11 2 3s2ms 1s501ms 12 1 1s488ms 1s488ms 14 1 1s500ms 1s500ms 15 1 1s482ms 1s482ms 16 2 3s10ms 1s505ms 18 2 2s993ms 1s496ms 19 1 1s538ms 1s538ms 20 1 1s486ms 1s486ms 21 1 1s483ms 1s483ms 22 2 3s10ms 1s505ms 23 2 3s414ms 1s707ms Mar 21 05 2 2s990ms 1s495ms 07 3 4s511ms 1s503ms 09 2 3s1ms 1s500ms 13 1 1s503ms 1s503ms 15 1 1s506ms 1s506ms 17 1 1s527ms 1s527ms 19 2 3s33ms 1s516ms 20 1 1s521ms 1s521ms 21 1 1s505ms 1s505ms 22 4 6s48ms 1s512ms 23 2 3s44ms 1s522ms Mar 22 05 3 4s548ms 1s516ms 06 3 4s579ms 1s526ms 07 3 4s503ms 1s501ms 08 4 5s925ms 1s481ms 09 1 1s524ms 1s524ms 10 1 1s495ms 1s495ms 11 2 2s965ms 1s482ms 12 2 3s2ms 1s501ms 14 2 3s36ms 1s518ms 15 1 1s496ms 1s496ms 16 2 2s999ms 1s499ms 17 2 2s994ms 1s497ms 19 2 2s987ms 1s493ms 22 7 10s473ms 1s496ms 23 6 8s958ms 1s493ms [ User: pubeu - Total duration: 6m16s - Times executed: 250 ]
-
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: 2025-03-20 23:00:52 Duration: 1s894ms 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: 2025-03-19 12:08:30 Duration: 1s632ms 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: 2025-03-18 18:07:39 Duration: 1s623ms Database: ctdprd51 User: pubeu Bind query: yes
3 453 10m32s 1s278ms 2s494ms 1s395ms 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 #3
Day Hour Count Duration Avg duration Mar 16 00 4 5s967ms 1s491ms 01 5 7s141ms 1s428ms 02 5 6s921ms 1s384ms 04 3 4s147ms 1s382ms 05 3 4s374ms 1s458ms 07 1 1s364ms 1s364ms 09 1 1s369ms 1s369ms 10 2 2s689ms 1s344ms 12 4 5s338ms 1s334ms 13 1 1s418ms 1s418ms 14 2 2s775ms 1s387ms 15 2 2s739ms 1s369ms 17 2 2s811ms 1s405ms 18 6 8s187ms 1s364ms 19 5 6s742ms 1s348ms 20 4 5s557ms 1s389ms 21 1 1s330ms 1s330ms 22 3 4s169ms 1s389ms Mar 17 01 4 5s668ms 1s417ms 02 3 4s192ms 1s397ms 03 1 1s395ms 1s395ms 04 2 2s709ms 1s354ms 05 3 4s213ms 1s404ms 06 3 4s133ms 1s377ms 07 2 2s743ms 1s371ms 08 2 2s805ms 1s402ms 09 2 2s729ms 1s364ms 10 1 1s377ms 1s377ms 11 1 1s349ms 1s349ms 12 5 6s870ms 1s374ms 13 1 1s353ms 1s353ms 14 1 1s419ms 1s419ms 15 1 1s354ms 1s354ms 16 2 2s761ms 1s380ms 18 4 5s851ms 1s462ms 19 3 4s316ms 1s438ms 20 3 4s138ms 1s379ms 21 2 2s633ms 1s316ms 22 4 5s418ms 1s354ms Mar 18 00 2 2s725ms 1s362ms 01 1 1s365ms 1s365ms 02 4 5s446ms 1s361ms 04 2 2s737ms 1s368ms 05 4 5s513ms 1s378ms 09 1 1s304ms 1s304ms 13 4 5s409ms 1s352ms 14 4 5s392ms 1s348ms 17 1 1s283ms 1s283ms 18 2 2s689ms 1s344ms 20 4 6s336ms 1s584ms 21 1 1s291ms 1s291ms 22 2 2s823ms 1s411ms 23 4 5s508ms 1s377ms Mar 19 00 3 3s924ms 1s308ms 01 1 1s310ms 1s310ms 02 1 1s466ms 1s466ms 04 1 1s335ms 1s335ms 05 4 5s810ms 1s452ms 06 2 3s140ms 1s570ms 07 1 1s487ms 1s487ms 08 1 1s522ms 1s522ms 10 1 1s420ms 1s420ms 11 2 2s712ms 1s356ms 12 1 1s376ms 1s376ms 14 3 3s981ms 1s327ms 15 1 1s423ms 1s423ms 16 1 1s428ms 1s428ms 18 8 10s798ms 1s349ms 19 4 5s210ms 1s302ms 20 1 1s289ms 1s289ms 21 2 2s816ms 1s408ms 22 2 2s768ms 1s384ms Mar 20 01 4 5s739ms 1s434ms 02 3 4s171ms 1s390ms 04 10 13s359ms 1s335ms 05 3 4s79ms 1s359ms 06 2 2s655ms 1s327ms 07 2 2s691ms 1s345ms 08 2 2s826ms 1s413ms 09 2 2s674ms 1s337ms 10 1 2s62ms 2s62ms 11 2 2s803ms 1s401ms 12 3 4s726ms 1s575ms 14 1 1s392ms 1s392ms 15 3 4s140ms 1s380ms 16 2 2s814ms 1s407ms 17 2 3s 1s500ms 18 5 7s124ms 1s424ms 19 3 4s222ms 1s407ms 20 5 6s971ms 1s394ms 22 5 6s793ms 1s358ms Mar 21 05 6 9s207ms 1s534ms 06 3 4s576ms 1s525ms 07 1 1s621ms 1s621ms 08 5 7s161ms 1s432ms 09 2 2s750ms 1s375ms 10 2 2s754ms 1s377ms 11 12 16s606ms 1s383ms 12 9 12s309ms 1s367ms 13 2 2s715ms 1s357ms 14 4 5s535ms 1s383ms 15 15 20s597ms 1s373ms 16 7 9s609ms 1s372ms 17 14 19s476ms 1s391ms 18 28 39s107ms 1s396ms 19 9 12s409ms 1s378ms 20 9 12s124ms 1s347ms 21 13 17s748ms 1s365ms 22 7 10s 1s428ms 23 11 15s105ms 1s373ms Mar 22 00 2 2s793ms 1s396ms 01 1 1s373ms 1s373ms 05 2 2s887ms 1s443ms 06 1 1s320ms 1s320ms 07 2 2s998ms 1s499ms 09 1 1s594ms 1s594ms 10 9 12s374ms 1s374ms 11 4 5s465ms 1s366ms 12 5 7s501ms 1s500ms 13 1 1s775ms 1s775ms 14 1 1s442ms 1s442ms 15 5 7s463ms 1s492ms 16 1 1s662ms 1s662ms 17 2 3s11ms 1s505ms 18 2 2s652ms 1s326ms 19 3 4s51ms 1s350ms 20 4 5s607ms 1s401ms 21 3 4s53ms 1s351ms 22 3 4s158ms 1s386ms 23 2 2s788ms 1s394ms [ User: pubeu - Total duration: 3m35s - Times executed: 153 ]
[ User: qaeu - Total duration: 8s622ms - 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 = '1228424') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1228424') 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: 2025-03-21 05:39:07 Duration: 2s494ms 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 = '1259375') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1259375') 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: 2025-03-18 20:56:08 Duration: 2s233ms 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 = '1263467') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1263467') 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: 2025-03-20 10:17:12 Duration: 2s62ms Database: ctdprd51 User: pubeu Bind query: yes
4 403 27m24s 3s849ms 5s713ms 4s80ms 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 #4
Day Hour Count Duration Avg duration Mar 16 00 1 4s107ms 4s107ms 01 4 16s291ms 4s72ms 02 1 4s789ms 4s789ms 04 2 8s102ms 4s51ms 05 2 8s158ms 4s79ms 07 1 3s998ms 3s998ms 08 1 4s38ms 4s38ms 09 3 12s355ms 4s118ms 10 3 12s34ms 4s11ms 11 2 8s54ms 4s27ms 12 7 28s347ms 4s49ms 13 6 24s195ms 4s32ms 14 3 12s383ms 4s127ms 16 2 8s16ms 4s8ms 17 1 3s982ms 3s982ms 18 6 23s948ms 3s991ms 19 1 3s999ms 3s999ms 21 2 8s133ms 4s66ms 22 3 12s180ms 4s60ms Mar 17 01 30 2m2s 4s85ms 02 20 1m21s 4s63ms 03 30 2m2s 4s87ms 05 3 12s384ms 4s128ms 06 5 20s696ms 4s139ms 07 9 36s395ms 4s43ms 08 1 4s22ms 4s22ms 09 3 12s586ms 4s195ms 10 4 18s23ms 4s505ms 11 2 8s198ms 4s99ms 12 15 1m 4s38ms 13 7 28s381ms 4s54ms 14 1 4s63ms 4s63ms 15 5 20s41ms 4s8ms 16 1 3s910ms 3s910ms 18 4 16s308ms 4s77ms 19 5 20s403ms 4s80ms 20 2 8s165ms 4s82ms 21 2 8s395ms 4s197ms 23 2 7s904ms 3s952ms Mar 18 00 1 4s210ms 4s210ms 01 1 3s997ms 3s997ms 02 4 16s678ms 4s169ms 03 6 24s611ms 4s101ms 04 3 12s610ms 4s203ms 06 1 3s917ms 3s917ms 07 1 4s118ms 4s118ms 08 4 15s887ms 3s971ms 09 3 12s44ms 4s14ms 10 1 3s959ms 3s959ms 11 19 1m16s 4s42ms 12 5 20s266ms 4s53ms 13 2 8s92ms 4s46ms 15 1 4s123ms 4s123ms 16 1 4s228ms 4s228ms 18 3 12s423ms 4s141ms 19 1 3s928ms 3s928ms 22 3 12s196ms 4s65ms 23 2 8s617ms 4s308ms Mar 19 00 2 8s237ms 4s118ms 01 2 8s28ms 4s14ms 02 1 4s26ms 4s26ms 03 2 7s972ms 3s986ms 05 6 25s271ms 4s211ms 06 2 7s931ms 3s965ms 07 3 12s533ms 4s177ms 08 4 15s992ms 3s998ms 09 7 28s684ms 4s97ms 10 6 24s354ms 4s59ms 11 1 4s57ms 4s57ms 13 3 12s243ms 4s81ms 14 4 16s168ms 4s42ms 15 2 8s367ms 4s183ms 16 1 4s108ms 4s108ms 17 2 8s218ms 4s109ms 18 1 4s303ms 4s303ms 20 1 3s905ms 3s905ms 21 1 3s891ms 3s891ms 22 1 4s118ms 4s118ms Mar 20 02 5 20s180ms 4s36ms 03 3 12s535ms 4s178ms 04 5 20s394ms 4s78ms 05 1 3s849ms 3s849ms 06 1 4s211ms 4s211ms 08 3 12s128ms 4s42ms 09 3 11s872ms 3s957ms 10 3 12s467ms 4s155ms 11 2 8s149ms 4s74ms 12 2 8s54ms 4s27ms 14 6 24s267ms 4s44ms 15 3 12s280ms 4s93ms 16 1 4s98ms 4s98ms 18 3 11s959ms 3s986ms 22 1 3s941ms 3s941ms Mar 21 06 1 4s22ms 4s22ms 07 1 4s63ms 4s63ms 08 1 3s862ms 3s862ms 09 3 12s103ms 4s34ms 10 3 12s341ms 4s113ms 11 4 16s171ms 4s42ms 12 2 8s42ms 4s21ms 13 6 25s161ms 4s193ms 14 5 21s198ms 4s239ms 15 1 4s9ms 4s9ms 17 2 8s303ms 4s151ms 18 2 8s232ms 4s116ms 19 1 4s86ms 4s86ms 20 1 4s281ms 4s281ms 22 1 4s40ms 4s40ms 23 1 4s14ms 4s14ms Mar 22 05 1 4s351ms 4s351ms 09 1 4s40ms 4s40ms 11 3 12s36ms 4s12ms 13 1 4s127ms 4s127ms 14 1 4s67ms 4s67ms 16 1 4s72ms 4s72ms 17 1 4s23ms 4s23ms 20 1 4s65ms 4s65ms [ User: pubeu - Total duration: 12m10s - Times executed: 179 ]
-
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 = '1350325') 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 = '1350325') 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: 2025-03-17 10:46:13 Duration: 5s713ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1406854') 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 = '1406854') 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: 2025-03-16 02:39:16 Duration: 4s789ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1298377') 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 = '1298377') 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: 2025-03-21 14:05:03 Duration: 4s669ms Bind query: yes
5 353 8m16s 1s274ms 1s771ms 1s406ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or receptorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Mar 16 00 2 3s22ms 1s511ms 01 1 1s339ms 1s339ms 02 1 1s369ms 1s369ms 04 6 8s392ms 1s398ms 05 8 11s421ms 1s427ms 06 4 5s486ms 1s371ms 07 2 2s719ms 1s359ms 08 7 9s730ms 1s390ms 09 5 7s200ms 1s440ms 10 10 13s917ms 1s391ms 11 4 5s428ms 1s357ms 12 2 2s743ms 1s371ms 13 1 1s423ms 1s423ms 14 3 4s125ms 1s375ms 16 2 2s717ms 1s358ms 17 3 4s117ms 1s372ms 18 1 1s326ms 1s326ms 19 1 1s377ms 1s377ms 21 2 2s778ms 1s389ms 22 1 1s353ms 1s353ms 23 2 2s782ms 1s391ms Mar 17 00 1 1s355ms 1s355ms 01 3 4s160ms 1s386ms 02 2 2s720ms 1s360ms 03 4 5s638ms 1s409ms 04 3 4s289ms 1s429ms 05 7 9s875ms 1s410ms 06 3 4s125ms 1s375ms 08 4 5s633ms 1s408ms 09 4 5s523ms 1s380ms 10 5 6s790ms 1s358ms 11 5 7s49ms 1s409ms 12 4 5s531ms 1s382ms 13 1 1s343ms 1s343ms 14 1 1s397ms 1s397ms 15 1 1s399ms 1s399ms 17 1 1s375ms 1s375ms 18 3 4s414ms 1s471ms 19 3 4s548ms 1s516ms 20 2 2s926ms 1s463ms 22 1 1s330ms 1s330ms Mar 18 04 1 1s460ms 1s460ms 05 5 7s208ms 1s441ms 07 1 1s465ms 1s465ms 11 1 1s548ms 1s548ms 12 2 2s670ms 1s335ms 13 1 1s300ms 1s300ms 14 2 2s736ms 1s368ms 17 1 1s384ms 1s384ms 20 2 2s728ms 1s364ms 22 1 1s323ms 1s323ms Mar 19 02 4 5s642ms 1s410ms 05 3 4s463ms 1s487ms 06 2 3s101ms 1s550ms 07 2 3s77ms 1s538ms 08 2 3s151ms 1s575ms 09 3 4s166ms 1s388ms 12 5 6s901ms 1s380ms 13 1 1s366ms 1s366ms 15 1 1s511ms 1s511ms 16 2 2s862ms 1s431ms 17 3 4s150ms 1s383ms 19 1 1s296ms 1s296ms 21 3 4s365ms 1s455ms Mar 20 00 1 1s584ms 1s584ms 01 1 1s411ms 1s411ms 02 1 1s418ms 1s418ms 03 3 4s167ms 1s389ms 04 2 2s713ms 1s356ms 05 3 4s215ms 1s405ms 06 2 2s614ms 1s307ms 07 1 1s367ms 1s367ms 08 3 4s225ms 1s408ms 09 2 2s557ms 1s278ms 11 1 1s633ms 1s633ms 12 2 2s854ms 1s427ms 13 3 4s253ms 1s417ms 15 2 2s722ms 1s361ms 17 3 4s384ms 1s461ms 18 1 1s434ms 1s434ms 19 1 1s364ms 1s364ms 20 1 1s393ms 1s393ms Mar 21 05 3 4s199ms 1s399ms 06 3 4s535ms 1s511ms 08 2 2s929ms 1s464ms 10 1 1s343ms 1s343ms 11 1 1s447ms 1s447ms 12 2 2s625ms 1s312ms 13 3 4s336ms 1s445ms 14 2 2s877ms 1s438ms 15 10 14s64ms 1s406ms 16 12 16s961ms 1s413ms 17 10 13s683ms 1s368ms 18 27 37s505ms 1s389ms 19 20 27s755ms 1s387ms 20 7 9s573ms 1s367ms 21 12 16s365ms 1s363ms 22 4 5s667ms 1s416ms 23 2 2s736ms 1s368ms Mar 22 05 2 3s86ms 1s543ms 06 1 1s357ms 1s357ms 09 1 1s489ms 1s489ms 10 2 2s884ms 1s442ms 12 3 4s391ms 1s463ms 14 3 4s995ms 1s665ms 16 2 2s983ms 1s491ms 17 1 1s486ms 1s486ms 18 1 1s384ms 1s384ms 19 1 1s434ms 1s434ms 20 3 4s132ms 1s377ms 22 2 2s861ms 1s430ms 23 2 2s860ms 1s430ms [ User: pubeu - Total duration: 2m58s - Times executed: 126 ]
-
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 = '2096440') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2096440') 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: 2025-03-22 14:36:01 Duration: 1s771ms 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 = '2097512') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2097512') 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: 2025-03-22 14:59:25 Duration: 1s763ms 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 = '2088280') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2088280') 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: 2025-03-19 08:27:15 Duration: 1s752ms Bind query: yes
6 154 2h35m1s 1s26ms 20m30s 1m select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Mar 16 00 1 30s901ms 30s901ms 06 1 1s61ms 1s61ms 09 1 31s495ms 31s495ms 12 2 6s744ms 3s372ms 21 1 2s782ms 2s782ms 23 2 4s523ms 2s261ms Mar 17 02 1 2s981ms 2s981ms 04 2 2s139ms 1s69ms 06 3 1m21s 27s135ms 18 2 48s218ms 24s109ms Mar 18 02 2 2s674ms 1s337ms 03 2 3s973ms 1s986ms 07 1 1s610ms 1s610ms 09 1 1s65ms 1s65ms 10 1 3s255ms 3s255ms 15 1 2s565ms 2s565ms 21 1 14s712ms 14s712ms Mar 19 02 5 8s341ms 1s668ms 03 1 1s634ms 1s634ms 06 5 22s427ms 4s485ms 09 5 5s562ms 1s112ms 10 4 5s756ms 1s439ms 11 3 3s658ms 1s219ms 13 1 1s86ms 1s86ms 19 1 4s376ms 4s376ms 20 1 4s406ms 4s406ms 21 2 4s883ms 2s441ms 22 9 10s98ms 1s122ms 23 1 17s464ms 17s464ms Mar 20 03 1 1s578ms 1s578ms 04 1 1s56ms 1s56ms 07 1 29s157ms 29s157ms 08 2 1m1s 30s701ms 12 13 15s328ms 1s179ms 13 4 4s483ms 1s120ms 16 1 17s229ms 17s229ms 17 2 5s345ms 2s672ms 21 2 10s853ms 5s426ms 23 33 1h13m21s 2m13s Mar 21 00 1 5s69ms 5s69ms 09 1 2s229ms 2s229ms 15 1 5s764ms 5s764ms 23 1 1s599ms 1s599ms Mar 22 01 6 1h3m11s 10m31s 07 2 1m10s 35s325ms 08 2 1m9s 34s582ms 09 4 2m7s 31s901ms 10 8 3m26s 25s799ms 11 2 1m3s 31s995ms 12 1 42s251ms 42s251ms 20 1 32s327ms 32s327ms 21 1 3s384ms 3s384ms [ User: pubeu - Total duration: 2h18m44s - Times executed: 88 ]
-
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 = '2100762') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-03-22 01:35:06 Duration: 20m30s 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 = '2100762') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-03-22 01:35:02 Duration: 20m27s 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 = '2100762') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-03-22 01:35:02 Duration: 20m23s Database: ctdprd51 User: pubeu Bind query: yes
7 119 8m40s 1s31ms 6s86ms 4s370ms select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Mar 16 02 1 5s356ms 5s356ms 05 7 38s546ms 5s506ms 07 2 6s553ms 3s276ms 11 1 5s596ms 5s596ms 14 1 5s850ms 5s850ms 17 1 5s522ms 5s522ms 20 1 5s568ms 5s568ms Mar 17 04 1 1s91ms 1s91ms 05 9 42s960ms 4s773ms 06 2 2s268ms 1s134ms 07 1 1s68ms 1s68ms 08 1 5s609ms 5s609ms 10 2 11s122ms 5s561ms 11 2 11s28ms 5s514ms 12 1 5s600ms 5s600ms 13 1 1s80ms 1s80ms 14 1 5s497ms 5s497ms 15 1 1s44ms 1s44ms 16 1 1s72ms 1s72ms 17 1 1s75ms 1s75ms 19 1 5s511ms 5s511ms 20 1 5s625ms 5s625ms Mar 18 02 3 16s701ms 5s567ms 03 2 10s832ms 5s416ms 05 7 34s539ms 4s934ms 09 1 5s289ms 5s289ms 13 1 1s65ms 1s65ms 15 1 1s67ms 1s67ms Mar 19 01 1 5s378ms 5s378ms 03 1 5s415ms 5s415ms 04 2 10s913ms 5s456ms 05 1 6s86ms 6s86ms 07 2 10s906ms 5s453ms 13 1 1s88ms 1s88ms 14 6 31s676ms 5s279ms 15 1 1s60ms 1s60ms 20 1 5s404ms 5s404ms 22 3 16s520ms 5s506ms 23 1 5s622ms 5s622ms Mar 20 04 1 1s52ms 1s52ms 05 2 10s382ms 5s191ms 07 1 1s53ms 1s53ms 08 2 2s112ms 1s56ms 09 1 1s31ms 1s31ms 11 1 1s69ms 1s69ms 12 1 1s69ms 1s69ms 15 1 5s641ms 5s641ms 17 2 2s127ms 1s63ms Mar 21 08 1 5s387ms 5s387ms 09 5 23s17ms 4s603ms 10 2 2s116ms 1s58ms 14 1 5s519ms 5s519ms 16 6 33s309ms 5s551ms 17 3 17s257ms 5s752ms 19 2 2s166ms 1s83ms 23 3 12s123ms 4s41ms Mar 22 07 6 32s459ms 5s409ms 13 1 5s759ms 5s759ms 22 1 5s568ms 5s568ms 23 1 5s629ms 5s629ms [ User: pubeu - Total duration: 1m59s - Times executed: 33 ]
-
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 = '1335449' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-03-19 05:04:28 Duration: 6s86ms 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 = '1337969' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-03-17 05:56:03 Duration: 5s986ms 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 = '1323615' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-03-21 17:55:31 Duration: 5s952ms Bind query: yes
8 117 7m 1s2ms 11s559ms 3s590ms 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 #8
Day Hour Count Duration Avg duration Mar 16 00 2 4s64ms 2s32ms 02 3 9s310ms 3s103ms 04 1 10s491ms 10s491ms 06 1 1s139ms 1s139ms 07 2 2s512ms 1s256ms 08 1 1s238ms 1s238ms 09 1 2s804ms 2s804ms 10 2 3s830ms 1s915ms 21 1 1s41ms 1s41ms 22 1 2s605ms 2s605ms Mar 17 00 2 7s599ms 3s799ms 01 2 3s382ms 1s691ms 02 2 11s711ms 5s855ms 03 3 9s274ms 3s91ms 04 1 1s158ms 1s158ms 06 2 3s842ms 1s921ms 07 2 3s552ms 1s776ms 08 1 1s394ms 1s394ms 09 1 2s667ms 2s667ms 11 2 2s774ms 1s387ms 12 2 6s756ms 3s378ms 19 2 9s199ms 4s599ms 21 1 1s123ms 1s123ms Mar 18 02 1 5s456ms 5s456ms 04 1 2s624ms 2s624ms 06 1 2s574ms 2s574ms 09 1 1s5ms 1s5ms 10 1 1s234ms 1s234ms 11 1 1s217ms 1s217ms 14 1 1s100ms 1s100ms 18 1 1s32ms 1s32ms 21 3 16s103ms 5s367ms Mar 19 03 1 2s642ms 2s642ms 04 1 6s393ms 6s393ms 05 2 3s802ms 1s901ms 10 1 1s212ms 1s212ms 12 1 5s554ms 5s554ms 13 2 2s511ms 1s255ms 17 2 4s103ms 2s51ms 19 2 8s81ms 4s40ms 21 2 3s225ms 1s612ms 22 2 13s28ms 6s514ms 23 1 2s543ms 2s543ms Mar 20 01 1 10s497ms 10s497ms 03 2 3s874ms 1s937ms 06 10 39s487ms 3s948ms 07 3 8s689ms 2s896ms 11 3 11s413ms 3s804ms 12 2 5s810ms 2s905ms 17 1 1s236ms 1s236ms 18 1 2s140ms 2s140ms 22 1 2s569ms 2s569ms Mar 21 05 2 2s535ms 1s267ms 08 1 4s573ms 4s573ms 10 1 1s760ms 1s760ms 12 1 4s804ms 4s804ms Mar 22 00 4 9s603ms 2s400ms 01 1 10s431ms 10s431ms 07 7 1m8s 9s731ms 09 1 2s974ms 2s974ms 13 1 1s160ms 1s160ms 14 1 1s210ms 1s210ms 16 1 10s900ms 10s900ms 18 1 2s628ms 2s628ms 20 4 23s666ms 5s916ms 21 1 1s102ms 1s102ms [ User: pubeu - Total duration: 3m11s - Times executed: 54 ]
-
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 = '2100762') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-03-22 07:14:05 Duration: 11s559ms 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 = '2100762') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-03-22 07:14:08 Duration: 11s481ms 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 = '2093936') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-03-22 20:46:50 Duration: 11s449ms Bind query: yes
9 114 2m36s 1s263ms 1s496ms 1s371ms 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 #9
Day Hour Count Duration Avg duration Mar 16 04 2 2s741ms 1s370ms 05 2 2s776ms 1s388ms 08 1 1s481ms 1s481ms 20 2 2s745ms 1s372ms 22 1 1s290ms 1s290ms 23 1 1s278ms 1s278ms Mar 17 00 1 1s478ms 1s478ms 02 2 2s673ms 1s336ms 03 2 2s761ms 1s380ms 05 3 4s98ms 1s366ms 11 1 1s294ms 1s294ms 21 3 4s143ms 1s381ms 23 3 4s198ms 1s399ms Mar 18 00 1 1s379ms 1s379ms 01 1 1s415ms 1s415ms 02 1 1s336ms 1s336ms 03 1 1s334ms 1s334ms 05 2 2s795ms 1s397ms 06 1 1s334ms 1s334ms 08 1 1s316ms 1s316ms 10 1 1s313ms 1s313ms 11 2 2s734ms 1s367ms 22 3 4s118ms 1s372ms 23 1 1s319ms 1s319ms Mar 19 02 2 2s723ms 1s361ms 04 5 6s851ms 1s370ms 05 5 6s843ms 1s368ms 06 2 2s740ms 1s370ms 07 1 1s365ms 1s365ms 08 5 6s874ms 1s374ms 10 1 1s380ms 1s380ms 12 2 2s727ms 1s363ms 13 2 2s734ms 1s367ms 22 1 1s328ms 1s328ms 23 1 1s352ms 1s352ms Mar 20 01 1 1s316ms 1s316ms 05 4 5s456ms 1s364ms 07 1 1s375ms 1s375ms 08 2 2s689ms 1s344ms 09 1 1s413ms 1s413ms 11 5 6s750ms 1s350ms 14 1 1s355ms 1s355ms 17 1 1s487ms 1s487ms 19 1 1s308ms 1s308ms Mar 21 05 3 4s139ms 1s379ms 06 2 2s749ms 1s374ms 08 3 4s66ms 1s355ms 12 2 2s797ms 1s398ms 21 5 7s59ms 1s411ms Mar 22 00 2 2s770ms 1s385ms 05 2 2s726ms 1s363ms 08 1 1s360ms 1s360ms 10 1 1s439ms 1s439ms 11 1 1s369ms 1s369ms 12 1 1s448ms 1s448ms 13 1 1s360ms 1s360ms 14 1 1s361ms 1s361ms 15 1 1s393ms 1s393ms 16 2 2s704ms 1s352ms 17 1 1s397ms 1s397ms 18 1 1s449ms 1s449ms 20 1 1s359ms 1s359ms [ User: pubeu - Total duration: 1m15s - Times executed: 55 ]
-
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]', '#') = 'B' ORDER BY t.nm_sort LIMIT 100;
Date: 2025-03-21 21:40:52 Duration: 1s496ms 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: 2025-03-16 05:42:09 Duration: 1s496ms 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: 2025-03-20 17:45:21 Duration: 1s487ms Bind query: yes
10 75 2m28s 1s15ms 4s223ms 1s975ms 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 #10
Day Hour Count Duration Avg duration Mar 16 02 1 1s102ms 1s102ms 03 1 1s133ms 1s133ms 05 12 23s9ms 1s917ms 09 3 4s572ms 1s524ms 10 1 2s958ms 2s958ms 11 2 3s214ms 1s607ms Mar 17 04 2 5s893ms 2s946ms 05 1 3s250ms 3s250ms 06 1 1s368ms 1s368ms 07 1 1s823ms 1s823ms 10 1 2s168ms 2s168ms 19 2 6s253ms 3s126ms Mar 18 05 12 23s96ms 1s924ms 20 1 2s103ms 2s103ms Mar 19 14 11 21s883ms 1s989ms Mar 21 16 11 21s296ms 1s936ms Mar 22 07 12 23s69ms 1s922ms [ User: pubeu - Total duration: 29s96ms - Times executed: 15 ]
-
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 = '1405728') 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 = '1405728') 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: 2025-03-17 04:21:13 Duration: 4s223ms 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 = '1405728') 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 = '1405728') 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: 2025-03-18 05:11:18 Duration: 4s187ms 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 = '1405728') 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 = '1405728') 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: 2025-03-22 07:49:45 Duration: 4s179ms Bind query: yes
11 66 2m57s 1s72ms 7s978ms 2s696ms select ? "Input", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( select string_agg(stm.slim_term_nm, ? order by stm.slim_term_nm) from slim_term_mapping stm where stm.mapped_term_id = d.id) "DiseaseCategories", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(distinct r.acc_txt, ?) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id where (d.id = ?) group by g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by d.nm_sort, g.nm, "DirectEvidence", c.nm;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Mar 16 21 29 1m45s 3s648ms Mar 17 03 2 2s223ms 1s111ms 04 1 1s126ms 1s126ms Mar 18 04 14 15s549ms 1s110ms Mar 19 04 1 1s97ms 1s97ms 05 7 7s757ms 1s108ms 07 1 1s175ms 1s175ms 22 9 36s778ms 4s86ms Mar 22 15 1 1s868ms 1s868ms 22 1 4s562ms 4s562ms [ User: pubeu - Total duration: 37s184ms - Times executed: 17 ]
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'cardiac failure' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2088954) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2025-03-16 21:13:10 Duration: 7s978ms Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'proteinuria' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2094746) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2025-03-16 21:13:58 Duration: 7s865ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'pain' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2099930) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2025-03-16 21:13:49 Duration: 7s588ms Bind query: yes
12 65 2m27s 1s18ms 12s60ms 2s270ms select ? AS "Input", phenotypeterm.nm AS "PhenotypeName", phenotypeterm.acc_txt AS "PhenotypeID", diseaseterm.nm AS "DiseaseName", diseaseterm.acc_db_cd || ? || diseaseterm.acc_txt "DiseaseID", ( select string_agg(distinct geneterm.nm, ?) from term geneterm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneterm.id and ptr.via_term_object_type_id = ?) AS "GeneInferenceNetwork", ( select string_agg(distinct chemterm.nm, ?) from term chemterm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemterm.id and ptr.via_term_object_type_id = ?) AS "ChemInferenceNetwork", ( select string_agg(distinct r.acc_txt, ?) from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" 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 (diseaseterm.id = ?) and diseaseterm.object_type_id = ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Mar 16 11 65 2m27s 2s270ms [ User: pubeu - Total duration: 20s530ms - Times executed: 6 ]
-
SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'chemical and drug induced liver injury' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" 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 (diseaseTerm.id = 2089693) and diseaseTerm.object_type_id = 3;
Date: 2025-03-16 11:35:33 Duration: 12s60ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'hypertension' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" 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 (diseaseTerm.id = 2099769) and diseaseTerm.object_type_id = 3;
Date: 2025-03-16 11:40:07 Duration: 6s119ms Bind query: yes
-
SELECT /* BatchDiseasePhenotypeAssnsDAO */ 'kidney diseases' AS "Input", phenotypeTerm.nm as "PhenotypeName", phenotypeTerm.acc_txt as "PhenotypeID", diseaseTerm.nm as "DiseaseName", diseaseTerm.acc_db_cd || ':' || diseaseTerm.acc_txt "DiseaseID", ( SELECT STRING_AGG(distinct geneTerm.nm, '|') from term geneTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = geneTerm.id and ptr.via_term_object_type_id = 4) AS "GeneInferenceNetwork", ( SELECT STRING_AGG(distinct chemTerm.nm, '|') from term chemTerm, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and ptr.via_term_id = chemTerm.id and ptr.via_term_object_type_id = 2) AS "ChemInferenceNetwork", ( SELECT STRING_AGG(distinct r.acc_txt, '|') from reference r, phenotype_term_reference ptr where pt.phenotype_id = ptr.phenotype_id and pt.term_id = ptr.term_id and (r.id = ptr.reference_id or r.id = ptr.term_reference_id)) AS "PubMedIDs" 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 (diseaseTerm.id = 2098714) and diseaseTerm.object_type_id = 3;
Date: 2025-03-16 11:40:57 Duration: 5s772ms Bind query: yes
13 60 2m44s 1s25ms 32s240ms 2s736ms 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 Mar 16 01 1 2s584ms 2s584ms 04 2 6s865ms 3s432ms 12 1 5s634ms 5s634ms 17 1 5s699ms 5s699ms 19 2 6s623ms 3s311ms Mar 17 01 1 2s217ms 2s217ms 05 1 5s685ms 5s685ms 08 1 5s603ms 5s603ms 09 2 3s473ms 1s736ms 12 1 5s554ms 5s554ms 18 1 2s184ms 2s184ms 21 1 5s145ms 5s145ms Mar 18 01 2 3s896ms 1s948ms 02 2 6s905ms 3s452ms 07 1 1s372ms 1s372ms 08 28 40s155ms 1s434ms 21 1 1s25ms 1s25ms Mar 19 11 1 2s649ms 2s649ms 12 1 1s261ms 1s261ms 21 1 1s96ms 1s96ms Mar 20 11 1 1s486ms 1s486ms Mar 21 09 1 2s34ms 2s34ms 11 1 1s257ms 1s257ms 12 2 7s853ms 3s926ms Mar 22 07 1 32s240ms 32s240ms 13 1 2s202ms 2s202ms 14 1 1s471ms 1s471ms [ User: pubeu - Total duration: 1m13s - Times executed: 19 ]
-
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 = '2100762') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 3896350;
Date: 2025-03-22 07:04:52 Duration: 32s240ms 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 = '2100521') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 200;
Date: 2025-03-16 17:45:18 Duration: 5s699ms 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 = '2100521') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 200;
Date: 2025-03-17 05:51:34 Duration: 5s685ms Bind query: yes
14 60 2m23s 1s10ms 3s617ms 2s393ms with recursive sub_node ( object_id, id, path, lvl ) as ( select n.object_id, n.id, array[n.nm_sort], ? from dag_node n where n.object_id = ? union all select n.object_id, n.id, cast(path || n.nm_sort as varchar(?)[]), sn.lvl + ? from dag_node n inner join sub_node sn on (n.parent_id = sn.id)) select distinct t.nm prinm, t.nm_html prinmhtml, t.secondary_nm secondarynm, t.acc_db_cd accdbcd, t.acc_txt termacc, t.is_leaf isleaf, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, t.has_genes hasgenes, sn.lvl, sn.path, max(sn.lvl) over () maxlvl, t.has_phenotypes hasphenotypes from sub_node sn inner join term t on sn.object_id = t.id where sn.lvl <= ? order by sn.path;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Mar 16 05 4 8s917ms 2s229ms 06 1 3s402ms 3s402ms 10 1 2s907ms 2s907ms Mar 17 00 1 3s43ms 3s43ms 05 4 8s868ms 2s217ms 07 1 2s907ms 2s907ms 10 12 27s37ms 2s253ms 12 1 1s970ms 1s970ms 18 1 2s452ms 2s452ms 19 1 2s542ms 2s542ms Mar 18 05 4 9s245ms 2s311ms 06 1 2s885ms 2s885ms 09 1 2s820ms 2s820ms Mar 19 01 1 1s792ms 1s792ms 05 3 7s887ms 2s629ms 20 1 2s843ms 2s843ms Mar 20 05 4 8s729ms 2s182ms 19 1 2s967ms 2s967ms Mar 21 05 4 9s7ms 2s251ms 06 1 2s417ms 2s417ms 20 1 2s928ms 2s928ms Mar 22 05 4 9s158ms 2s289ms 09 2 4s652ms 2s326ms 10 2 4s626ms 2s313ms 12 2 4s600ms 2s300ms 20 1 3s11ms 3s11ms [ User: pubeu - Total duration: 53s928ms - Times executed: 17 ]
[ User: qaeu - Total duration: 23s950ms - 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 = '597156' 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: 2025-03-22 05:35:14 Duration: 3s617ms 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 = '597156' 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: 2025-03-22 09:55:20 Duration: 3s561ms 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 = '597156' 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: 2025-03-18 05:35:13 Duration: 3s550ms Database: ctdprd51 User: pubeu Bind query: yes
15 51 13m40s 2s865ms 33s690ms 16s79ms select t.nm, t.nm_sort nmsort, t.acc_txt acc, t.acc_db_cd accdbcd, ? objecttypecd, null accdisplay from term t where t.id in ( select gga.go_term_id from gene_chem_reference gcr inner join gene_go_annot gga on gcr.gene_id = gga.gene_id inner join dag_node n on gga.go_term_id = n.object_id where gcr.chem_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and gga.is_not = false and n.dag_id = ?) order by t.nm_sort;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Mar 17 15 51 13m40s 16s79ms [ User: pubeu - Total duration: 4m57s - Times executed: 15 ]
-
SELECT /* VennDAO.getTermQuerySQL */ t.nm, t.nm_sort nmsort, t.acc_txt acc, t.acc_db_cd accdbcd, 'go' objectTypeCd, NULL accDisplay FROM term t WHERE t.id IN ( SELECT /* VennChemGODAO */ gga.go_term_id FROM gene_chem_reference gcr INNER JOIN gene_go_annot gga ON gcr.gene_id = gga.gene_id INNER JOIN dag_node n ON gga.go_term_id = n.object_id where gcr.chem_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 1287988) AND gga.is_not = false AND n.dag_id = 5) ORDER BY t.nm_sort;
Date: 2025-03-17 15:25:41 Duration: 33s690ms Bind query: yes
-
SELECT /* VennDAO.getTermQuerySQL */ t.nm, t.nm_sort nmsort, t.acc_txt acc, t.acc_db_cd accdbcd, 'go' objectTypeCd, NULL accDisplay FROM term t WHERE t.id IN ( SELECT /* VennChemGODAO */ gga.go_term_id FROM gene_chem_reference gcr INNER JOIN gene_go_annot gga ON gcr.gene_id = gga.gene_id INNER JOIN dag_node n ON gga.go_term_id = n.object_id where gcr.chem_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 1341808) AND gga.is_not = false AND n.dag_id = 5) ORDER BY t.nm_sort;
Date: 2025-03-17 15:25:21 Duration: 32s604ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* VennDAO.getTermQuerySQL */ t.nm, t.nm_sort nmsort, t.acc_txt acc, t.acc_db_cd accdbcd, 'go' objectTypeCd, NULL accDisplay FROM term t WHERE t.id IN ( SELECT /* VennChemGODAO */ gga.go_term_id FROM gene_chem_reference gcr INNER JOIN gene_go_annot gga ON gcr.gene_id = gga.gene_id INNER JOIN dag_node n ON gga.go_term_id = n.object_id where gcr.chem_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 1341808) AND gga.is_not = false AND n.dag_id = 5) ORDER BY t.nm_sort;
Date: 2025-03-17 15:25:22 Duration: 32s42ms Database: ctdprd51 User: pubeu Bind query: yes
16 43 11m38s 1s278ms 27s407ms 16s238ms 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 g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Mar 19 20 1 19s721ms 19s721ms Mar 20 02 1 19s497ms 19s497ms 08 1 18s814ms 18s814ms 10 1 19s626ms 19s626ms 16 1 19s132ms 19s132ms Mar 21 08 1 19s240ms 19s240ms 10 4 1m16s 19s16ms 11 3 59s50ms 19s683ms 16 5 35s182ms 7s36ms 17 4 39s748ms 9s937ms 18 8 2m36s 19s530ms 19 4 1m16s 19s178ms 21 6 2m10s 21s715ms 22 2 2s631ms 1s315ms 23 1 6s278ms 6s278ms [ User: pubeu - Total duration: 5m4s - 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 = '2089799') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-03-21 21:34:39 Duration: 27s407ms 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 = '2089434') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-03-21 21:34:44 Duration: 26s345ms 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 = '2093396') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-03-21 18:35:23 Duration: 20s597ms Bind query: yes
17 37 55s566ms 1s21ms 4s972ms 1s501ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where stressorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or exposuremarkerterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Mar 16 05 4 4s803ms 1s200ms 08 2 2s285ms 1s142ms 14 1 1s322ms 1s322ms 21 1 3s973ms 3s973ms 22 1 1s993ms 1s993ms Mar 17 03 1 1s154ms 1s154ms 04 1 1s210ms 1s210ms 05 1 1s296ms 1s296ms 11 1 1s161ms 1s161ms Mar 18 02 1 1s202ms 1s202ms 05 3 3s869ms 1s289ms 09 2 2s321ms 1s160ms 11 1 2s15ms 2s15ms Mar 19 04 1 1s166ms 1s166ms 13 1 1s86ms 1s86ms 14 3 3s752ms 1s250ms Mar 20 03 1 1s209ms 1s209ms 06 1 4s972ms 4s972ms 15 1 3s976ms 3s976ms Mar 21 05 1 1s35ms 1s35ms 16 3 3s843ms 1s281ms 21 1 1s132ms 1s132ms 22 1 1s43ms 1s43ms Mar 22 07 3 3s734ms 1s244ms [ User: pubeu - Total duration: 19s192ms - Times executed: 12 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1420717') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1420717') 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: 2025-03-20 06:46:22 Duration: 4s972ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1281076') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1281076') 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: 2025-03-20 15:58:52 Duration: 3s976ms Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1281076') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1281076') 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: 2025-03-16 21:21:43 Duration: 3s973ms Bind query: yes
18 36 1m52s 1s299ms 6s578ms 3s117ms 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 #18
Day Hour Count Duration Avg duration Mar 16 05 4 13s648ms 3s412ms 08 1 1s958ms 1s958ms 11 1 3s3ms 3s3ms 22 1 6s275ms 6s275ms Mar 17 05 1 1s857ms 1s857ms 07 2 4s205ms 2s102ms 08 1 3s354ms 3s354ms Mar 18 05 4 13s561ms 3s390ms 12 2 4s131ms 2s65ms Mar 19 03 1 3s398ms 3s398ms 05 1 3s56ms 3s56ms 14 4 13s395ms 3s348ms Mar 20 03 1 1s299ms 1s299ms 04 1 1s374ms 1s374ms 09 2 8s547ms 4s273ms Mar 21 16 4 13s308ms 3s327ms Mar 22 07 4 13s686ms 3s421ms 13 1 2s164ms 2s164ms [ User: pubeu - Total duration: 33s673ms - Times executed: 12 ]
-
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 = '1405728'))) 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: 2025-03-22 07:49:40 Duration: 6s578ms 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 = '1405728'))) 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: 2025-03-18 05:11:13 Duration: 6s459ms 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 = '1405728'))) 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: 2025-03-20 09:05:28 Duration: 6s438ms Database: ctdprd51 User: pubeu Bind query: yes
19 36 57s447ms 1s57ms 3s276ms 1s595ms 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 #19
Day Hour Count Duration Avg duration Mar 16 05 4 7s598ms 1s899ms Mar 17 05 4 6s210ms 1s552ms Mar 18 05 4 5s895ms 1s473ms Mar 19 05 4 5s543ms 1s385ms Mar 20 05 4 6s551ms 1s637ms Mar 21 05 4 5s446ms 1s361ms Mar 22 05 4 6s59ms 1s514ms 09 2 2s996ms 1s498ms 10 2 3s891ms 1s945ms 12 2 2s902ms 1s451ms 19 1 3s276ms 3s276ms 21 1 1s75ms 1s75ms [ User: pubeu - Total duration: 8s138ms - Times executed: 6 ]
[ User: qaeu - Total duration: 4s295ms - Times executed: 3 ]
-
SELECT /* ReferenceGeneGeneIxnsDAO */ fg.nm fromGeneSymbol, fg.acc_txt fromGeneAcc, tg.nm toGeneSymbol, tg.acc_txt toGeneAcc, ft.nm fromTaxonNm, ft.secondary_nm fromTaxonCommonNm, ft.acc_txt fromTaxonAcc, tt.nm toTaxonNm, tt.secondary_nm toTaxonCommonNm, tt.acc_txt toTaxonAcc, ggr.experimental_sys_nm, ggr.experimental_sys_type, ( SELECT STRING_AGG(ggt.throughput_txt, ', ' ORDER BY ggt.throughput_txt) FROM gene_gene_ref_throughput ggt WHERE ggt.gene_gene_reference_id = ggr.id) throughput, COUNT(*) OVER () fullRowCount FROM gene_gene_reference ggr INNER JOIN term fg ON ggr.from_gene_id = fg.id INNER JOIN term tg ON ggr.to_gene_id = tg.id INNER JOIN term ft ON ggr.from_taxon_id = ft.id INNER JOIN term tt ON ggr.to_taxon_id = tt.id WHERE ggr.reference_id = '186380' ORDER BY fg.nm_sort, tg.nm_sort LIMIT 50;
Date: 2025-03-22 19:26:49 Duration: 3s276ms 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: 2025-03-16 05:43:09 Duration: 2s128ms 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: 2025-03-22 10:24:41 Duration: 2s91ms Bind query: yes
20 33 1m55s 1s2ms 5s886ms 3s497ms select ii.cd, count(ii.id) cnt from ( select ot.cd, tl.term_id id from object_type ot inner join term_label tl on ot.id = tl.object_type_id where tl.nm_fts @@ to_tsquery(?, ?) union select ?, r.id from reference r where r.title_abstract_fts @@ to_tsquery(?, ?) or r.id in ( select rpr.reference_id from reference_party_role rpr inner join reference_party rp on rpr.reference_party_id = rp.id where (substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ?)) union select ot.cd, l.object_id from db_link l inner join object_type ot on l.object_type_id = ot.id where l.type_cd = ? and (upper(l.acc_txt) like ?)) ii group by ii.cd;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Mar 16 06 2 2s230ms 1s115ms 23 2 2s131ms 1s65ms Mar 17 01 1 5s423ms 5s423ms 11 2 2s172ms 1s86ms 16 1 5s400ms 5s400ms 23 1 1s169ms 1s169ms Mar 18 13 1 5s365ms 5s365ms 21 2 2s97ms 1s48ms Mar 19 03 2 10s769ms 5s384ms 06 1 1s47ms 1s47ms Mar 20 06 1 5s349ms 5s349ms 07 3 16s86ms 5s362ms 08 2 11s427ms 5s713ms 23 2 3s787ms 1s893ms Mar 21 05 2 10s793ms 5s396ms 06 1 5s356ms 5s356ms 07 2 2s361ms 1s180ms 08 1 5s346ms 5s346ms 23 1 1s2ms 1s2ms Mar 22 12 1 5s372ms 5s372ms 23 2 10s718ms 5s359ms [ User: pubeu - Total duration: 58s436ms - Times executed: 16 ]
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'MPIPKUH1_016434') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'MPIPKUH1_016434') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'MPIPKUH1_016434')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'MPIPKUH1_016434')) ii GROUP BY ii.cd;
Date: 2025-03-20 08:03:08 Duration: 5s886ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'A306_00395') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'A306_00395') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'A306_00395')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'A306_00395')) ii GROUP BY ii.cd;
Date: 2025-03-20 08:08:47 Duration: 5s541ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'KEH15_P04') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'KEH15_P04') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'KEH15_P04')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'KEH15_P04')) ii GROUP BY ii.cd;
Date: 2025-03-21 05:43:23 Duration: 5s426ms Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 25m52s 30m48s 27m47s 8 3h42m23s select maint_query_logs_archive ();Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Mar 16 00 1 26m28s 26m28s Mar 17 00 1 26m 26m Mar 18 00 1 26m2s 26m2s Mar 19 00 1 26m23s 26m23s 10 1 25m52s 25m52s Mar 20 00 1 30m48s 30m48s Mar 21 00 1 30m38s 30m38s Mar 22 00 1 30m8s 30m8s -
/* * 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: 2025-03-20 00:30:50 Duration: 30m48s
-
/* * 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: 2025-03-21 00:30:40 Duration: 30m38s
-
/* * 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: 2025-03-22 00:30:09 Duration: 30m8s
2 24m35s 24m35s 24m35s 1 24m35s copy pub2.gene_disease_reference (id, gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id, ixn_id, network_score, source_cd, mod_tm) to stdout;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Mar 22 19 1 24m35s 24m35s -
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: 2025-03-22 19:45:29 Duration: 24m35s
3 24m22s 24m22s 24m22s 1 24m22s 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 #3
Day Hour Count Duration Avg duration Mar 22 19 1 24m22s 24m22s -
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: 2025-03-22 19:01:27 Duration: 24m22s
4 11m30s 11m46s 11m38s 2 23m16s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Mar 21 06 2 23m16s 11m38s -
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) 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 'STAT3') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05010' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'TRAZODONE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 500;
Date: 2025-03-21 06:39:00 Duration: 11m46s Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) 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 'STAT3') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05010' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'TRAZODONE' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 500;
Date: 2025-03-21 06:33:44 Duration: 11m30s Bind query: yes
5 7m5s 7m5s 7m5s 1 7m5s copy pub2.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 Mar 22 19 1 7m5s 7m5s -
COPY pub2.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2025-03-22 19:57:40 Duration: 7m5s
6 7m3s 7m3s 7m3s 1 7m3s copy pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) to stdout;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Mar 22 19 1 7m3s 7m3s -
COPY pub1.term_enrichment_agent (term_id, enriched_term_id, agent_term_id) TO stdout;
Date: 2025-03-22 19:13:34 Duration: 7m3s
7 1s26ms 20m30s 1m 154 2h35m1s 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 #7
Day Hour Count Duration Avg duration Mar 16 00 1 30s901ms 30s901ms 06 1 1s61ms 1s61ms 09 1 31s495ms 31s495ms 12 2 6s744ms 3s372ms 21 1 2s782ms 2s782ms 23 2 4s523ms 2s261ms Mar 17 02 1 2s981ms 2s981ms 04 2 2s139ms 1s69ms 06 3 1m21s 27s135ms 18 2 48s218ms 24s109ms Mar 18 02 2 2s674ms 1s337ms 03 2 3s973ms 1s986ms 07 1 1s610ms 1s610ms 09 1 1s65ms 1s65ms 10 1 3s255ms 3s255ms 15 1 2s565ms 2s565ms 21 1 14s712ms 14s712ms Mar 19 02 5 8s341ms 1s668ms 03 1 1s634ms 1s634ms 06 5 22s427ms 4s485ms 09 5 5s562ms 1s112ms 10 4 5s756ms 1s439ms 11 3 3s658ms 1s219ms 13 1 1s86ms 1s86ms 19 1 4s376ms 4s376ms 20 1 4s406ms 4s406ms 21 2 4s883ms 2s441ms 22 9 10s98ms 1s122ms 23 1 17s464ms 17s464ms Mar 20 03 1 1s578ms 1s578ms 04 1 1s56ms 1s56ms 07 1 29s157ms 29s157ms 08 2 1m1s 30s701ms 12 13 15s328ms 1s179ms 13 4 4s483ms 1s120ms 16 1 17s229ms 17s229ms 17 2 5s345ms 2s672ms 21 2 10s853ms 5s426ms 23 33 1h13m21s 2m13s Mar 21 00 1 5s69ms 5s69ms 09 1 2s229ms 2s229ms 15 1 5s764ms 5s764ms 23 1 1s599ms 1s599ms Mar 22 01 6 1h3m11s 10m31s 07 2 1m10s 35s325ms 08 2 1m9s 34s582ms 09 4 2m7s 31s901ms 10 8 3m26s 25s799ms 11 2 1m3s 31s995ms 12 1 42s251ms 42s251ms 20 1 32s327ms 32s327ms 21 1 3s384ms 3s384ms [ User: pubeu - Total duration: 2h18m44s - Times executed: 88 ]
-
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 = '2100762') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-03-22 01:35:06 Duration: 20m30s 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 = '2100762') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-03-22 01:35:02 Duration: 20m27s 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 = '2100762') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2025-03-22 01:35:02 Duration: 20m23s Database: ctdprd51 User: pubeu Bind query: yes
8 52s101ms 54s34ms 52s614ms 25 21m55s 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 Mar 16 06 1 52s201ms 52s201ms 10 1 52s293ms 52s293ms 14 1 52s535ms 52s535ms 18 1 52s101ms 52s101ms Mar 17 06 1 52s449ms 52s449ms 10 1 53s30ms 53s30ms 14 1 52s459ms 52s459ms 18 1 52s646ms 52s646ms Mar 18 06 1 52s487ms 52s487ms 10 1 52s163ms 52s163ms 14 1 52s370ms 52s370ms 18 1 52s746ms 52s746ms Mar 19 06 1 53s728ms 53s728ms 10 1 52s726ms 52s726ms 14 1 52s425ms 52s425ms 18 1 52s602ms 52s602ms Mar 20 06 1 52s343ms 52s343ms 10 1 52s386ms 52s386ms 14 1 54s34ms 54s34ms 18 1 52s260ms 52s260ms Mar 21 06 1 52s989ms 52s989ms 10 1 52s312ms 52s312ms 14 1 52s845ms 52s845ms 18 1 52s814ms 52s814ms Mar 22 20 1 52s414ms 52s414ms [ User: postgres - Total duration: 21m2s - Times executed: 24 ]
[ Application: pg_dump - Total duration: 21m2s - 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: 2025-03-20 14:05:56 Duration: 54s34ms 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: 2025-03-19 06:05:55 Duration: 53s728ms 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: 2025-03-17 10:05:54 Duration: 53s30ms Database: ctdprd51 User: postgres Application: pg_dump
9 1s278ms 27s407ms 16s238ms 43 11m38s 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 g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Mar 19 20 1 19s721ms 19s721ms Mar 20 02 1 19s497ms 19s497ms 08 1 18s814ms 18s814ms 10 1 19s626ms 19s626ms 16 1 19s132ms 19s132ms Mar 21 08 1 19s240ms 19s240ms 10 4 1m16s 19s16ms 11 3 59s50ms 19s683ms 16 5 35s182ms 7s36ms 17 4 39s748ms 9s937ms 18 8 2m36s 19s530ms 19 4 1m16s 19s178ms 21 6 2m10s 21s715ms 22 2 2s631ms 1s315ms 23 1 6s278ms 6s278ms [ User: pubeu - Total duration: 5m4s - 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 = '2089799') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-03-21 21:34:39 Duration: 27s407ms 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 = '2089434') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-03-21 21:34:44 Duration: 26s345ms 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 = '2093396') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-03-21 18:35:23 Duration: 20s597ms Bind query: yes
10 2s865ms 33s690ms 16s79ms 51 13m40s select t.nm, t.nm_sort nmsort, t.acc_txt acc, t.acc_db_cd accdbcd, ? objecttypecd, null accdisplay from term t where t.id in ( select gga.go_term_id from gene_chem_reference gcr inner join gene_go_annot gga on gcr.gene_id = gga.gene_id inner join dag_node n on gga.go_term_id = n.object_id where gcr.chem_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and gga.is_not = false and n.dag_id = ?) order by t.nm_sort;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Mar 17 15 51 13m40s 16s79ms [ User: pubeu - Total duration: 4m57s - Times executed: 15 ]
-
SELECT /* VennDAO.getTermQuerySQL */ t.nm, t.nm_sort nmsort, t.acc_txt acc, t.acc_db_cd accdbcd, 'go' objectTypeCd, NULL accDisplay FROM term t WHERE t.id IN ( SELECT /* VennChemGODAO */ gga.go_term_id FROM gene_chem_reference gcr INNER JOIN gene_go_annot gga ON gcr.gene_id = gga.gene_id INNER JOIN dag_node n ON gga.go_term_id = n.object_id where gcr.chem_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 1287988) AND gga.is_not = false AND n.dag_id = 5) ORDER BY t.nm_sort;
Date: 2025-03-17 15:25:41 Duration: 33s690ms Bind query: yes
-
SELECT /* VennDAO.getTermQuerySQL */ t.nm, t.nm_sort nmsort, t.acc_txt acc, t.acc_db_cd accdbcd, 'go' objectTypeCd, NULL accDisplay FROM term t WHERE t.id IN ( SELECT /* VennChemGODAO */ gga.go_term_id FROM gene_chem_reference gcr INNER JOIN gene_go_annot gga ON gcr.gene_id = gga.gene_id INNER JOIN dag_node n ON gga.go_term_id = n.object_id where gcr.chem_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 1341808) AND gga.is_not = false AND n.dag_id = 5) ORDER BY t.nm_sort;
Date: 2025-03-17 15:25:21 Duration: 32s604ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* VennDAO.getTermQuerySQL */ t.nm, t.nm_sort nmsort, t.acc_txt acc, t.acc_db_cd accdbcd, 'go' objectTypeCd, NULL accDisplay FROM term t WHERE t.id IN ( SELECT /* VennChemGODAO */ gga.go_term_id FROM gene_chem_reference gcr INNER JOIN gene_go_annot gga ON gcr.gene_id = gga.gene_id INNER JOIN dag_node n ON gga.go_term_id = n.object_id where gcr.chem_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = 1341808) AND gga.is_not = false AND n.dag_id = 5) ORDER BY t.nm_sort;
Date: 2025-03-17 15:25:22 Duration: 32s42ms Database: ctdprd51 User: pubeu Bind query: yes
11 15s54ms 15s356ms 15s187ms 25 6m19s 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 #11
Day Hour Count Duration Avg duration Mar 16 06 1 15s54ms 15s54ms 10 1 15s356ms 15s356ms 14 1 15s155ms 15s155ms 18 1 15s69ms 15s69ms Mar 17 06 1 15s165ms 15s165ms 10 1 15s176ms 15s176ms 14 1 15s177ms 15s177ms 18 1 15s253ms 15s253ms Mar 18 06 1 15s288ms 15s288ms 10 1 15s280ms 15s280ms 14 1 15s187ms 15s187ms 18 1 15s134ms 15s134ms Mar 19 06 1 15s185ms 15s185ms 10 1 15s125ms 15s125ms 14 1 15s217ms 15s217ms 18 1 15s88ms 15s88ms Mar 20 06 1 15s156ms 15s156ms 10 1 15s269ms 15s269ms 14 1 15s157ms 15s157ms 18 1 15s170ms 15s170ms Mar 21 06 1 15s231ms 15s231ms 10 1 15s124ms 15s124ms 14 1 15s240ms 15s240ms 18 1 15s264ms 15s264ms Mar 22 18 1 15s156ms 15s156ms [ User: postgres - Total duration: 6m19s - Times executed: 25 ]
[ Application: pg_dump - Total duration: 6m19s - 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: 2025-03-16 10:00:17 Duration: 15s356ms 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: 2025-03-18 06:00:17 Duration: 15s288ms 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: 2025-03-18 10:00:17 Duration: 15s280ms Database: ctdprd51 User: postgres Application: pg_dump
12 14s130ms 14s334ms 14s228ms 24 5m41s 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 #12
Day Hour Count Duration Avg duration Mar 16 06 1 14s198ms 14s198ms 10 1 14s227ms 14s227ms 14 1 14s204ms 14s204ms 18 1 14s202ms 14s202ms Mar 17 06 1 14s269ms 14s269ms 10 1 14s231ms 14s231ms 14 1 14s194ms 14s194ms 18 1 14s283ms 14s283ms Mar 18 06 1 14s185ms 14s185ms 10 1 14s215ms 14s215ms 14 1 14s130ms 14s130ms 18 1 14s230ms 14s230ms Mar 19 06 1 14s299ms 14s299ms 10 1 14s136ms 14s136ms 14 1 14s322ms 14s322ms 18 1 14s334ms 14s334ms Mar 20 06 1 14s267ms 14s267ms 10 1 14s228ms 14s228ms 18 1 14s181ms 14s181ms Mar 21 06 1 14s207ms 14s207ms 10 1 14s166ms 14s166ms 14 1 14s244ms 14s244ms 18 1 14s302ms 14s302ms Mar 22 18 1 14s232ms 14s232ms -
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: 2025-03-19 18:01:00 Duration: 14s334ms
-
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: 2025-03-19 14:01:00 Duration: 14s322ms
-
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: 2025-03-21 18:01:00 Duration: 14s302ms
13 13s881ms 14s142ms 13s986ms 25 5m49s 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 #13
Day Hour Count Duration Avg duration Mar 16 06 1 14s8ms 14s8ms 10 1 14s142ms 14s142ms 14 1 13s964ms 13s964ms 18 1 13s931ms 13s931ms Mar 17 06 1 14s32ms 14s32ms 10 1 13s939ms 13s939ms 14 1 14s34ms 14s34ms 18 1 14s38ms 14s38ms Mar 18 06 1 14s4ms 14s4ms 10 1 13s998ms 13s998ms 14 1 13s969ms 13s969ms 18 1 13s969ms 13s969ms Mar 19 06 1 14s78ms 14s78ms 10 1 13s938ms 13s938ms 14 1 13s987ms 13s987ms 18 1 13s895ms 13s895ms Mar 20 06 1 13s976ms 13s976ms 10 1 13s999ms 13s999ms 14 1 13s970ms 13s970ms 18 1 13s882ms 13s882ms Mar 21 06 1 14s43ms 14s43ms 10 1 13s881ms 13s881ms 14 1 13s940ms 13s940ms 18 1 14s79ms 14s79ms Mar 22 18 1 13s961ms 13s961ms -
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: 2025-03-16 10:00:46 Duration: 14s142ms
-
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: 2025-03-21 18:00:46 Duration: 14s79ms
-
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: 2025-03-19 06:00:46 Duration: 14s78ms
14 1s31ms 6s86ms 4s370ms 119 8m40s 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 Mar 16 02 1 5s356ms 5s356ms 05 7 38s546ms 5s506ms 07 2 6s553ms 3s276ms 11 1 5s596ms 5s596ms 14 1 5s850ms 5s850ms 17 1 5s522ms 5s522ms 20 1 5s568ms 5s568ms Mar 17 04 1 1s91ms 1s91ms 05 9 42s960ms 4s773ms 06 2 2s268ms 1s134ms 07 1 1s68ms 1s68ms 08 1 5s609ms 5s609ms 10 2 11s122ms 5s561ms 11 2 11s28ms 5s514ms 12 1 5s600ms 5s600ms 13 1 1s80ms 1s80ms 14 1 5s497ms 5s497ms 15 1 1s44ms 1s44ms 16 1 1s72ms 1s72ms 17 1 1s75ms 1s75ms 19 1 5s511ms 5s511ms 20 1 5s625ms 5s625ms Mar 18 02 3 16s701ms 5s567ms 03 2 10s832ms 5s416ms 05 7 34s539ms 4s934ms 09 1 5s289ms 5s289ms 13 1 1s65ms 1s65ms 15 1 1s67ms 1s67ms Mar 19 01 1 5s378ms 5s378ms 03 1 5s415ms 5s415ms 04 2 10s913ms 5s456ms 05 1 6s86ms 6s86ms 07 2 10s906ms 5s453ms 13 1 1s88ms 1s88ms 14 6 31s676ms 5s279ms 15 1 1s60ms 1s60ms 20 1 5s404ms 5s404ms 22 3 16s520ms 5s506ms 23 1 5s622ms 5s622ms Mar 20 04 1 1s52ms 1s52ms 05 2 10s382ms 5s191ms 07 1 1s53ms 1s53ms 08 2 2s112ms 1s56ms 09 1 1s31ms 1s31ms 11 1 1s69ms 1s69ms 12 1 1s69ms 1s69ms 15 1 5s641ms 5s641ms 17 2 2s127ms 1s63ms Mar 21 08 1 5s387ms 5s387ms 09 5 23s17ms 4s603ms 10 2 2s116ms 1s58ms 14 1 5s519ms 5s519ms 16 6 33s309ms 5s551ms 17 3 17s257ms 5s752ms 19 2 2s166ms 1s83ms 23 3 12s123ms 4s41ms Mar 22 07 6 32s459ms 5s409ms 13 1 5s759ms 5s759ms 22 1 5s568ms 5s568ms 23 1 5s629ms 5s629ms [ User: pubeu - Total duration: 1m59s - Times executed: 33 ]
-
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 = '1335449' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-03-19 05:04:28 Duration: 6s86ms 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 = '1337969' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-03-17 05:56:03 Duration: 5s986ms 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 = '1323615' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-03-21 17:55:31 Duration: 5s952ms Bind query: yes
15 3s849ms 5s713ms 4s80ms 403 27m24s select coalesce(st.alt_nm, t.nm) slimtermnm, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.curated_reference_qty > ?) curatedcount, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.indirect_gene_qty > ?) inferredcount from slim_term st inner join term t on st.slim_term_id = t.id where st.slim_id = ? order by ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Mar 16 00 1 4s107ms 4s107ms 01 4 16s291ms 4s72ms 02 1 4s789ms 4s789ms 04 2 8s102ms 4s51ms 05 2 8s158ms 4s79ms 07 1 3s998ms 3s998ms 08 1 4s38ms 4s38ms 09 3 12s355ms 4s118ms 10 3 12s34ms 4s11ms 11 2 8s54ms 4s27ms 12 7 28s347ms 4s49ms 13 6 24s195ms 4s32ms 14 3 12s383ms 4s127ms 16 2 8s16ms 4s8ms 17 1 3s982ms 3s982ms 18 6 23s948ms 3s991ms 19 1 3s999ms 3s999ms 21 2 8s133ms 4s66ms 22 3 12s180ms 4s60ms Mar 17 01 30 2m2s 4s85ms 02 20 1m21s 4s63ms 03 30 2m2s 4s87ms 05 3 12s384ms 4s128ms 06 5 20s696ms 4s139ms 07 9 36s395ms 4s43ms 08 1 4s22ms 4s22ms 09 3 12s586ms 4s195ms 10 4 18s23ms 4s505ms 11 2 8s198ms 4s99ms 12 15 1m 4s38ms 13 7 28s381ms 4s54ms 14 1 4s63ms 4s63ms 15 5 20s41ms 4s8ms 16 1 3s910ms 3s910ms 18 4 16s308ms 4s77ms 19 5 20s403ms 4s80ms 20 2 8s165ms 4s82ms 21 2 8s395ms 4s197ms 23 2 7s904ms 3s952ms Mar 18 00 1 4s210ms 4s210ms 01 1 3s997ms 3s997ms 02 4 16s678ms 4s169ms 03 6 24s611ms 4s101ms 04 3 12s610ms 4s203ms 06 1 3s917ms 3s917ms 07 1 4s118ms 4s118ms 08 4 15s887ms 3s971ms 09 3 12s44ms 4s14ms 10 1 3s959ms 3s959ms 11 19 1m16s 4s42ms 12 5 20s266ms 4s53ms 13 2 8s92ms 4s46ms 15 1 4s123ms 4s123ms 16 1 4s228ms 4s228ms 18 3 12s423ms 4s141ms 19 1 3s928ms 3s928ms 22 3 12s196ms 4s65ms 23 2 8s617ms 4s308ms Mar 19 00 2 8s237ms 4s118ms 01 2 8s28ms 4s14ms 02 1 4s26ms 4s26ms 03 2 7s972ms 3s986ms 05 6 25s271ms 4s211ms 06 2 7s931ms 3s965ms 07 3 12s533ms 4s177ms 08 4 15s992ms 3s998ms 09 7 28s684ms 4s97ms 10 6 24s354ms 4s59ms 11 1 4s57ms 4s57ms 13 3 12s243ms 4s81ms 14 4 16s168ms 4s42ms 15 2 8s367ms 4s183ms 16 1 4s108ms 4s108ms 17 2 8s218ms 4s109ms 18 1 4s303ms 4s303ms 20 1 3s905ms 3s905ms 21 1 3s891ms 3s891ms 22 1 4s118ms 4s118ms Mar 20 02 5 20s180ms 4s36ms 03 3 12s535ms 4s178ms 04 5 20s394ms 4s78ms 05 1 3s849ms 3s849ms 06 1 4s211ms 4s211ms 08 3 12s128ms 4s42ms 09 3 11s872ms 3s957ms 10 3 12s467ms 4s155ms 11 2 8s149ms 4s74ms 12 2 8s54ms 4s27ms 14 6 24s267ms 4s44ms 15 3 12s280ms 4s93ms 16 1 4s98ms 4s98ms 18 3 11s959ms 3s986ms 22 1 3s941ms 3s941ms Mar 21 06 1 4s22ms 4s22ms 07 1 4s63ms 4s63ms 08 1 3s862ms 3s862ms 09 3 12s103ms 4s34ms 10 3 12s341ms 4s113ms 11 4 16s171ms 4s42ms 12 2 8s42ms 4s21ms 13 6 25s161ms 4s193ms 14 5 21s198ms 4s239ms 15 1 4s9ms 4s9ms 17 2 8s303ms 4s151ms 18 2 8s232ms 4s116ms 19 1 4s86ms 4s86ms 20 1 4s281ms 4s281ms 22 1 4s40ms 4s40ms 23 1 4s14ms 4s14ms Mar 22 05 1 4s351ms 4s351ms 09 1 4s40ms 4s40ms 11 3 12s36ms 4s12ms 13 1 4s127ms 4s127ms 14 1 4s67ms 4s67ms 16 1 4s72ms 4s72ms 17 1 4s23ms 4s23ms 20 1 4s65ms 4s65ms [ User: pubeu - Total duration: 12m10s - Times executed: 179 ]
-
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 = '1350325') 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 = '1350325') 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: 2025-03-17 10:46:13 Duration: 5s713ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1406854') 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 = '1406854') 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: 2025-03-16 02:39:16 Duration: 4s789ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1298377') 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 = '1298377') 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: 2025-03-21 14:05:03 Duration: 4s669ms Bind query: yes
16 1s2ms 11s559ms 3s590ms 117 7m 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 #16
Day Hour Count Duration Avg duration Mar 16 00 2 4s64ms 2s32ms 02 3 9s310ms 3s103ms 04 1 10s491ms 10s491ms 06 1 1s139ms 1s139ms 07 2 2s512ms 1s256ms 08 1 1s238ms 1s238ms 09 1 2s804ms 2s804ms 10 2 3s830ms 1s915ms 21 1 1s41ms 1s41ms 22 1 2s605ms 2s605ms Mar 17 00 2 7s599ms 3s799ms 01 2 3s382ms 1s691ms 02 2 11s711ms 5s855ms 03 3 9s274ms 3s91ms 04 1 1s158ms 1s158ms 06 2 3s842ms 1s921ms 07 2 3s552ms 1s776ms 08 1 1s394ms 1s394ms 09 1 2s667ms 2s667ms 11 2 2s774ms 1s387ms 12 2 6s756ms 3s378ms 19 2 9s199ms 4s599ms 21 1 1s123ms 1s123ms Mar 18 02 1 5s456ms 5s456ms 04 1 2s624ms 2s624ms 06 1 2s574ms 2s574ms 09 1 1s5ms 1s5ms 10 1 1s234ms 1s234ms 11 1 1s217ms 1s217ms 14 1 1s100ms 1s100ms 18 1 1s32ms 1s32ms 21 3 16s103ms 5s367ms Mar 19 03 1 2s642ms 2s642ms 04 1 6s393ms 6s393ms 05 2 3s802ms 1s901ms 10 1 1s212ms 1s212ms 12 1 5s554ms 5s554ms 13 2 2s511ms 1s255ms 17 2 4s103ms 2s51ms 19 2 8s81ms 4s40ms 21 2 3s225ms 1s612ms 22 2 13s28ms 6s514ms 23 1 2s543ms 2s543ms Mar 20 01 1 10s497ms 10s497ms 03 2 3s874ms 1s937ms 06 10 39s487ms 3s948ms 07 3 8s689ms 2s896ms 11 3 11s413ms 3s804ms 12 2 5s810ms 2s905ms 17 1 1s236ms 1s236ms 18 1 2s140ms 2s140ms 22 1 2s569ms 2s569ms Mar 21 05 2 2s535ms 1s267ms 08 1 4s573ms 4s573ms 10 1 1s760ms 1s760ms 12 1 4s804ms 4s804ms Mar 22 00 4 9s603ms 2s400ms 01 1 10s431ms 10s431ms 07 7 1m8s 9s731ms 09 1 2s974ms 2s974ms 13 1 1s160ms 1s160ms 14 1 1s210ms 1s210ms 16 1 10s900ms 10s900ms 18 1 2s628ms 2s628ms 20 4 23s666ms 5s916ms 21 1 1s102ms 1s102ms [ User: pubeu - Total duration: 3m11s - Times executed: 54 ]
-
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 = '2100762') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-03-22 07:14:05 Duration: 11s559ms 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 = '2100762') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-03-22 07:14:08 Duration: 11s481ms 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 = '2093936') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-03-22 20:46:50 Duration: 11s449ms Bind query: yes
17 1s2ms 5s886ms 3s497ms 33 1m55s select ii.cd, count(ii.id) cnt from ( select ot.cd, tl.term_id id from object_type ot inner join term_label tl on ot.id = tl.object_type_id where tl.nm_fts @@ to_tsquery(?, ?) union select ?, r.id from reference r where r.title_abstract_fts @@ to_tsquery(?, ?) or r.id in ( select rpr.reference_id from reference_party_role rpr inner join reference_party rp on rpr.reference_party_id = rp.id where (substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ?)) union select ot.cd, l.object_id from db_link l inner join object_type ot on l.object_type_id = ot.id where l.type_cd = ? and (upper(l.acc_txt) like ?)) ii group by ii.cd;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Mar 16 06 2 2s230ms 1s115ms 23 2 2s131ms 1s65ms Mar 17 01 1 5s423ms 5s423ms 11 2 2s172ms 1s86ms 16 1 5s400ms 5s400ms 23 1 1s169ms 1s169ms Mar 18 13 1 5s365ms 5s365ms 21 2 2s97ms 1s48ms Mar 19 03 2 10s769ms 5s384ms 06 1 1s47ms 1s47ms Mar 20 06 1 5s349ms 5s349ms 07 3 16s86ms 5s362ms 08 2 11s427ms 5s713ms 23 2 3s787ms 1s893ms Mar 21 05 2 10s793ms 5s396ms 06 1 5s356ms 5s356ms 07 2 2s361ms 1s180ms 08 1 5s346ms 5s346ms 23 1 1s2ms 1s2ms Mar 22 12 1 5s372ms 5s372ms 23 2 10s718ms 5s359ms [ User: pubeu - Total duration: 58s436ms - Times executed: 16 ]
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'MPIPKUH1_016434') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'MPIPKUH1_016434') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'MPIPKUH1_016434')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'MPIPKUH1_016434')) ii GROUP BY ii.cd;
Date: 2025-03-20 08:03:08 Duration: 5s886ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'A306_00395') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'A306_00395') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'A306_00395')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'A306_00395')) ii GROUP BY ii.cd;
Date: 2025-03-20 08:08:47 Duration: 5s541ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', 'KEH15_P04') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'KEH15_P04') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'KEH15_P04')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE 'KEH15_P04')) ii GROUP BY ii.cd;
Date: 2025-03-21 05:43:23 Duration: 5s426ms Bind query: yes
18 1s299ms 6s578ms 3s117ms 36 1m52s 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 #18
Day Hour Count Duration Avg duration Mar 16 05 4 13s648ms 3s412ms 08 1 1s958ms 1s958ms 11 1 3s3ms 3s3ms 22 1 6s275ms 6s275ms Mar 17 05 1 1s857ms 1s857ms 07 2 4s205ms 2s102ms 08 1 3s354ms 3s354ms Mar 18 05 4 13s561ms 3s390ms 12 2 4s131ms 2s65ms Mar 19 03 1 3s398ms 3s398ms 05 1 3s56ms 3s56ms 14 4 13s395ms 3s348ms Mar 20 03 1 1s299ms 1s299ms 04 1 1s374ms 1s374ms 09 2 8s547ms 4s273ms Mar 21 16 4 13s308ms 3s327ms Mar 22 07 4 13s686ms 3s421ms 13 1 2s164ms 2s164ms [ User: pubeu - Total duration: 33s673ms - Times executed: 12 ]
-
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 = '1405728'))) 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: 2025-03-22 07:49:40 Duration: 6s578ms 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 = '1405728'))) 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: 2025-03-18 05:11:13 Duration: 6s459ms 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 = '1405728'))) 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: 2025-03-20 09:05:28 Duration: 6s438ms Database: ctdprd51 User: pubeu Bind query: yes
19 1s25ms 32s240ms 2s736ms 60 2m44s 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 Mar 16 01 1 2s584ms 2s584ms 04 2 6s865ms 3s432ms 12 1 5s634ms 5s634ms 17 1 5s699ms 5s699ms 19 2 6s623ms 3s311ms Mar 17 01 1 2s217ms 2s217ms 05 1 5s685ms 5s685ms 08 1 5s603ms 5s603ms 09 2 3s473ms 1s736ms 12 1 5s554ms 5s554ms 18 1 2s184ms 2s184ms 21 1 5s145ms 5s145ms Mar 18 01 2 3s896ms 1s948ms 02 2 6s905ms 3s452ms 07 1 1s372ms 1s372ms 08 28 40s155ms 1s434ms 21 1 1s25ms 1s25ms Mar 19 11 1 2s649ms 2s649ms 12 1 1s261ms 1s261ms 21 1 1s96ms 1s96ms Mar 20 11 1 1s486ms 1s486ms Mar 21 09 1 2s34ms 2s34ms 11 1 1s257ms 1s257ms 12 2 7s853ms 3s926ms Mar 22 07 1 32s240ms 32s240ms 13 1 2s202ms 2s202ms 14 1 1s471ms 1s471ms [ User: pubeu - Total duration: 1m13s - Times executed: 19 ]
-
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 = '2100762') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 3896350;
Date: 2025-03-22 07:04:52 Duration: 32s240ms 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 = '2100521') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 200;
Date: 2025-03-16 17:45:18 Duration: 5s699ms 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 = '2100521') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 200;
Date: 2025-03-17 05:51:34 Duration: 5s685ms Bind query: yes
20 1s72ms 7s978ms 2s696ms 66 2m57s select ? "Input", d.nm "DiseaseName", d.acc_db_cd || ? || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( select string_agg(stm.slim_term_nm, ? order by stm.slim_term_nm) from slim_term_mapping stm where stm.mapped_term_id = d.id) "DiseaseCategories", case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", string_agg(gdr.source_acc_txt, ? order by gdr.source_acc_txt) "OmimIDs", string_agg(distinct r.acc_txt, ?) "PubMedIDs" from gene_disease_reference gdr inner join term g on gdr.gene_id = g.id inner join term d on gdr.disease_id = d.id left outer join reference r on gdr.reference_id = r.id left outer join term c on gdr.via_chem_id = c.id where (d.id = ?) group by g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, case when gdr.via_chem_id is null then ( select string_agg(a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gdr.gene_id and a.disease_id = gdr.disease_id) else null end, c.nm, gdr.network_score order by d.nm_sort, g.nm, "DirectEvidence", c.nm;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Mar 16 21 29 1m45s 3s648ms Mar 17 03 2 2s223ms 1s111ms 04 1 1s126ms 1s126ms Mar 18 04 14 15s549ms 1s110ms Mar 19 04 1 1s97ms 1s97ms 05 7 7s757ms 1s108ms 07 1 1s175ms 1s175ms 22 9 36s778ms 4s86ms Mar 22 15 1 1s868ms 1s868ms 22 1 4s562ms 4s562ms [ User: pubeu - Total duration: 37s184ms - Times executed: 17 ]
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'cardiac failure' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2088954) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2025-03-16 21:13:10 Duration: 7s978ms Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'proteinuria' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2094746) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2025-03-16 21:13:58 Duration: 7s865ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BatchDiseaseGeneAssnsDAO */ 'pain' "Input", d.nm "DiseaseName", d.acc_db_cd || ':' || d.acc_txt "DiseaseID", g.nm "GeneSymbol", g.acc_txt "GeneID", ( SELECT STRING_AGG(stm.slim_term_nm, '|' ORDER BY stm.slim_term_nm) FROM slim_term_mapping stm WHERE stm.mapped_term_id = d.id) "DiseaseCategories", CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END "DirectEvidence", c.nm "InferenceChemicalName", gdr.network_score "InferenceScore", STRING_AGG(gdr.source_acc_txt, '|' ORDER BY gdr.source_acc_txt) "OmimIDs", STRING_AGG(DISTINCT r.acc_txt, '|') "PubMedIDs" FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id INNER JOIN term d ON gdr.disease_id = d.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id LEFT OUTER JOIN term c ON gdr.via_chem_id = c.id WHERE (d.id = 2099930) GROUP BY g.nm, g.acc_txt, d.nm, d.id, d.acc_txt, d.acc_db_cd, d.nm_sort, CASE WHEN gdr.via_chem_id IS NULL THEN ( SELECT STRING_AGG(a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gdr.gene_id AND a.disease_id = gdr.disease_id) ELSE NULL END, c.nm, gdr.network_score ORDER BY d.nm_sort, g.nm, "DirectEvidence", c.nm;
Date: 2025-03-16 21:13:49 Duration: 7s588ms 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 261 0ms 0ms 0ms ;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Mar 16 00 1 0ms 0ms 06 4 0ms 0ms 07 2 0ms 0ms 08 2 0ms 0ms Mar 17 00 1 0ms 0ms 05 10 0ms 0ms 06 8 0ms 0ms 07 12 0ms 0ms 08 6 0ms 0ms 09 2 0ms 0ms 10 6 0ms 0ms 11 4 0ms 0ms 13 4 0ms 0ms 14 6 0ms 0ms Mar 18 10 2 0ms 0ms 11 6 0ms 0ms 17 2 0ms 0ms Mar 19 10 6 0ms 0ms 11 4 0ms 0ms 13 2 0ms 0ms 16 2 0ms 0ms 17 4 0ms 0ms Mar 20 06 6 0ms 0ms 07 2 0ms 0ms 08 2 0ms 0ms 10 12 0ms 0ms 12 2 0ms 0ms 13 8 0ms 0ms 16 2 0ms 0ms 17 4 0ms 0ms 22 2 0ms 0ms Mar 21 09 12 0ms 0ms 10 21 0ms 0ms 11 12 0ms 0ms 12 9 0ms 0ms 13 18 0ms 0ms 14 3 0ms 0ms 15 36 0ms 0ms 16 9 0ms 0ms Mar 22 00 2 0ms 0ms 13 3 0ms 0ms [ User: pubeu - Total duration: 3m27s - Times executed: 93 ]
-
;
Date: Duration: 0ms Database: postgres
-
Events
Log levels
Key values
- 100,955 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 44 FATAL entries
- 276 ERROR entries
- 0 WARNING entries
- 24 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 246 Max number of times the same event was reported
- 344 Total events found
Rank Times reported Error 1 246 ERROR: syntax error in ts"..."
Times Reported Most Frequent Error / Event #1
Day Hour Count Mar 16 00 2 01 9 02 4 03 1 04 13 05 6 07 4 08 1 10 4 11 4 13 3 15 1 18 1 19 7 20 10 22 3 23 2 Mar 17 00 3 01 9 02 8 03 6 04 4 05 5 06 3 08 4 09 2 11 2 14 4 15 2 17 2 18 1 19 7 20 8 21 5 22 1 23 1 Mar 18 00 3 01 1 02 1 03 1 05 2 06 1 07 2 08 1 09 1 10 2 17 1 18 1 19 3 20 4 21 3 22 9 23 5 Mar 19 00 3 01 3 02 1 03 1 04 2 05 4 07 1 08 3 09 1 10 2 11 1 13 1 16 1 18 1 19 2 20 2 22 2 23 1 Mar 20 02 1 03 1 05 1 07 1 11 1 13 1 19 1 20 1 21 2 22 1 Mar 21 07 1 10 1 11 1 22 1 23 2 Mar 22 06 2 20 1 23 1 - ERROR: syntax error in ts"郵便局 羽曳が丘 ATM"
- ERROR: syntax error in ts"INAX & (LIXIL CWA-293 | LIXIL CWA293)"
- ERROR: syntax error in ts"0 & (-- | ) & 300 & 常规 & 否 & 30.49 & (-- | ) & 300 & 常规 & 普通排期 & 常规排期 & 排期成功 & 即将售卖 & (-- | ) & (2025-03-15 | 20250315) & (2025-02-26 | 20250226) & 6934665094675 & 15.90 & (-- | ) & 150 & 常规"
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2025-03-16 00:18:39 Database: ctdprd51 Application: User: pubeu Remote:
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 OR upper( l.acc_txt ) = $4 OR upper( l.acc_txt ) = $5 OR upper( l.acc_txt ) = $6 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2025-03-16 00:37:05
Statement: SELECT /* BasicCountsDAO gen */ ii.cd ,COUNT(ii.id) cnt FROM (SELECT ot.cd ,tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops',$1) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',$2) OR r.id IN (SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $3 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $4 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $5 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $6 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $7 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $8 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $9 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $10 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $11 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $12 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $13 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $14 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $15 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $16 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $17 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $18 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $19 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $20 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $21 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $22 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $23 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $24 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $25 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $26 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $27 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $28 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $29 ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper( l.acc_txt ) LIKE $30 OR upper( l.acc_txt ) LIKE $31 OR upper( l.acc_txt ) LIKE $32 OR upper( l.acc_txt ) LIKE $33 OR upper( l.acc_txt ) LIKE $34 OR upper( l.acc_txt ) LIKE $35 OR upper( l.acc_txt ) LIKE $36 OR upper( l.acc_txt ) LIKE $37 OR upper( l.acc_txt ) LIKE $38 OR upper( l.acc_txt ) LIKE $39 OR upper( l.acc_txt ) LIKE $40 OR upper( l.acc_txt ) LIKE $41 OR upper( l.acc_txt ) LIKE $42 OR upper( l.acc_txt ) LIKE $43 OR upper( l.acc_txt ) LIKE $44 OR upper( l.acc_txt ) LIKE $45 OR upper( l.acc_txt ) LIKE $46 OR upper( l.acc_txt ) LIKE $47 OR upper( l.acc_txt ) LIKE $48 OR upper( l.acc_txt ) LIKE $49 OR upper( l.acc_txt ) LIKE $50 ) ) ii GROUP BY ii.cd
Date: 2025-03-16 04:05:43
2 37 FATAL: canceling authentication due to timeout
Times Reported Most Frequent Error / Event #2
Day Hour Count Mar 16 02 2 03 12 Mar 20 23 3 Mar 21 00 2 01 1 Mar 22 01 1 09 16 3 13 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #3
Day Hour Count Mar 17 11 2 Mar 21 10 1 12 2 13 8 - ERROR: syntax error at or near ")" at character 4809
- ERROR: syntax error at or near "Query" at character 1
- ERROR: syntax error at or near ")" at character 4810
Statement: select distinct e.reference_acc_txt as "Reference", pref.abbr_authors_txt as "Author", referenceExp.author_summary as "AuthorSummary", (Select STRING_AGG( distinct eventproject.project_nm, '|')) as "AssociatedStudyTitles", eevent.collection_start_yr as "EnrollmentStartYear", eevent.collection_end_yr as "EnrollmentEndYear", (Select STRING_AGG( distinct studyFactor.nm, '|')) as "StudyFactors", (Select STRING_AGG(distinct stressorSrcType.nm, '|')) as "StressorSourceCategory", stressor.chem_term_nm as "ExposureStressorName", stressor.src_details as "StressorSourceDetails", stressor.sample_qty as "NumberOfStressorSamples", stressor.note as "StressorNotes", ereceptor.qty as "NumberOfReceptors", ereceptor.description as "Receptors", ereceptor.term_nm as "ReceptorDescription", ereceptor.term_acc_txt as "ReceptorID", ereceptor.note as "ReceptorNotes", (Select STRING_AGG(distinct COALESCE( COALESCE(NULLIF(CAST(receptorTobaccoUse.pct as int),0)) || '% ' || tobaccoUse.nm, COALESCE(COALESCE(NULLIF(CAST(receptorTobaccoUse.pct as int),0)) || '% ' , tobaccoUse.nm)), '|')) as "SmokingStatus", ereceptor.age || ' ' || age_uom.nm as "Age", age_qualifier.nm as "AgeQualifier", (Select STRING_AGG(distinct COALESCE( COALESCE(NULLIF(CAST(pct as int),0)) || '% ' || gender.nm, COALESCE(COALESCE(NULLIF(CAST(pct as int),0)) || '% ' , gender.nm)), '|') from exp_receptor_gender expgender left outer join gender on expgender.gender_id=gender.id where exp_receptor_id = ereceptor.id ) as "Sex", (Select STRING_AGG(distinct COALESCE( COALESCE(NULLIF(CAST(receptorRace.pct as int),0)) || '% ' || race.nm, COALESCE(COALESCE(NULLIF(CAST(receptorRace.pct as int),0)) || '% ' , race.nm)), '|')) as "Race", (Select STRING_AGG( distinct eventAssayMethod.nm, '|')) as "Methods" , eevent.detection_limit as "DetectionLimit", eevent.detection_limit_uom as "DetectionLimitUnitsOfMeasurement", eevent.detection_freq as "DetectionFrequency", emedium.nm as "Medium", eevent.exp_marker_term_nm as "ExposureMarker", eevent.exp_marker_lvl as "MarkerLevel", eevent.assay_uom as "MarkerUnitsOfMeasurement", eevent.assay_measurement_stat as "MarkerMeasurementStatistic", eevent.assay_note as "AssayNotes", (Select STRING_AGG( distinct country.nm, '|')) as "StudyCountries", (Select STRING_AGG( distinct eventLocation.geographic_region_nm, '|')) as "StateOrProvince", (Select STRING_AGG( distinct eventLocation.locality_txt, '|')) as "CityTownRegionOrArea", eevent.note as "ExposureEventNotes", eiot.description as "OutcomeRelationship", outcome.disease_term_nm as "DiseaseName", outcome.phenotype_action_degree_type_nm as "PhenotypeActionDegreeType", outcome.phenotype_term_nm as "PhenotypeName", (Select STRING_AGG( distinct expAnatomy.anatomy_term_nm, '|')) as "Anatomy", outcome.note as "ExposureOutcomeNotes" from exposure e left outer join reference pref on pref.acc_txt = e.reference_acc_txt left outer join reference_exp referenceExp on referenceExp.reference_acc_txt = e.reference_acc_txt left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id left outer join study_factor studyFactor on studyFactor.id = expStudyFactor.study_factor_id left outer join exp_event_project eventproject on eventproject.exp_event_id = e.exp_event_id inner join exp_stressor stressor on e.exp_stressor_id = stressor.id left outer join exp_receptor ereceptor on e.exp_receptor_id = ereceptor.id left outer join age_uom age_uom on ereceptor.age_uom_id = age_uom.id left outer join age_qualifier age_qualifier on ereceptor.age_qualifier_id = age_qualifier.id left outer join exp_event eevent on e.exp_event_id = eevent.id left outer join medium emedium on eevent.medium_id = emedium.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 ereceptor.id = receptorTobaccoUse.exp_receptor_id left outer join tobacco_use tobaccoUse on receptorTobaccoUse.tobacco_use_id = tobaccoUse.id left outer join exp_receptor_race receptorRace on ereceptor.id = receptorRace.exp_receptor_id left outer join race race on receptorRace.race_id = race.id left outer join exp_event_location eventLocation on eevent.id = eventLocation.exp_event_id left outer join country on eventLocation.country_id = country.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 exp_anatomy expAnatomy on outcome.id = expAnatomy.exp_outcome_id left outer join exp_event_assay_method eventAssayMethod on eevent.id = eventAssayMethod.exp_event_id where stressor.chem_acc_txt in (select acc_txt from term where id in )) or eevent.exp_marker_acc_txt in (select acc_txt from term where id in )) group by "Reference", "Author", "AuthorSummary", "EnrollmentStartYear", "EnrollmentEndYear", "ExposureStressorName", "StressorSourceDetails", "NumberOfStressorSamples", "StressorNotes", "NumberOfReceptors", "Receptors", "ReceptorDescription", "ReceptorID", "ReceptorNotes", "Age", "AgeQualifier", "DetectionLimit", "DetectionLimitUnitsOfMeasurement", "DetectionFrequency", "Medium", "ExposureMarker", "MarkerLevel", "MarkerUnitsOfMeasurement", "MarkerMeasurementStatistic", "AssayNotes", "ExposureEventNotes", "OutcomeRelationship", "DiseaseName", "PhenotypeActionDegreeType", "PhenotypeName", "ExposureOutcomeNotes", ereceptor.id, eventLocation.exp_event_id ;
Date: 2025-03-17 11:49:54 Database: ctdprd51 Application: User: pubeu Remote:
Statement: Query submissions per year SELECT TO_CHAR(DATE_TRUNC('year',query_tm), 'YYYY') "Year" ,COALESCE(SUM(submission_qty), 0) "Query Submissions" FROM pubc.log_query_archive GROUP BY DATE_TRUNC('year',query_tm) ORDER BY 1 DESC; SELECT TO_CHAR(DATE_TRUNC('year',query_tm), 'YYYY') "Year" ,COALESCE(SUM(submission_qty), 0) "Query Submissions" FROM pubc.log_query_archive GROUP BY DATE_TRUNC('year',query_tm) ORDER BY 1 DESC;
Date: 2025-03-21 10:47:52 Database: ctdprd51 Application: pgAdmin 4 - CONN:8960670 User: pubc Remote:
Statement: select distinct e.reference_acc_txt as "Reference", pref.abbr_authors_txt as "Author", referenceExp.author_summary as "AuthorSummary", (Select STRING_AGG( distinct eventproject.project_nm, '|')) as "AssociatedStudyTitles", eevent.collection_start_yr as "EnrollmentStartYear", eevent.collection_end_yr as "EnrollmentEndYear", (Select STRING_AGG( distinct studyFactor.nm, '|')) as "StudyFactors", (Select STRING_AGG(distinct stressorSrcType.nm, '|')) as "StressorSourceCategory", stressor.chem_term_nm as "ExposureStressorName", stressor.src_details as "StressorSourceDetails", stressor.sample_qty as "NumberOfStressorSamples", stressor.note as "StressorNotes", ereceptor.qty as "NumberOfReceptors", ereceptor.description as "Receptors", ereceptor.term_nm as "ReceptorDescription", ereceptor.term_acc_txt as "ReceptorID", ereceptor.note as "ReceptorNotes", (Select STRING_AGG(distinct COALESCE( COALESCE(NULLIF(CAST(receptorTobaccoUse.pct as int),0)) || '% ' || tobaccoUse.nm, COALESCE(COALESCE(NULLIF(CAST(receptorTobaccoUse.pct as int),0)) || '% ' , tobaccoUse.nm)), '|')) as "SmokingStatus", ereceptor.age || ' ' || age_uom.nm as "Age", age_qualifier.nm as "AgeQualifier", (Select STRING_AGG(distinct COALESCE( COALESCE(NULLIF(CAST(pct as int),0)) || '% ' || gender.nm, COALESCE(COALESCE(NULLIF(CAST(pct as int),0)) || '% ' , gender.nm)), '|') from exp_receptor_gender expgender left outer join gender on expgender.gender_id=gender.id where exp_receptor_id = ereceptor.id ) as "Sex", (Select STRING_AGG(distinct COALESCE( COALESCE(NULLIF(CAST(receptorRace.pct as int),0)) || '% ' || race.nm, COALESCE(COALESCE(NULLIF(CAST(receptorRace.pct as int),0)) || '% ' , race.nm)), '|')) as "Race", (Select STRING_AGG( distinct eventAssayMethod.nm, '|')) as "Methods" , eevent.detection_limit as "DetectionLimit", eevent.detection_limit_uom as "DetectionLimitUnitsOfMeasurement", eevent.detection_freq as "DetectionFrequency", emedium.nm as "Medium", eevent.exp_marker_term_nm as "ExposureMarker", eevent.exp_marker_lvl as "MarkerLevel", eevent.assay_uom as "MarkerUnitsOfMeasurement", eevent.assay_measurement_stat as "MarkerMeasurementStatistic", eevent.assay_note as "AssayNotes", (Select STRING_AGG( distinct country.nm, '|')) as "StudyCountries", (Select STRING_AGG( distinct eventLocation.geographic_region_nm, '|')) as "StateOrProvince", (Select STRING_AGG( distinct eventLocation.locality_txt, '|')) as "CityTownRegionOrArea", eevent.note as "ExposureEventNotes", eiot.description as "OutcomeRelationship", outcome.disease_term_nm as "DiseaseName", outcome.phenotype_action_degree_type_nm as "PhenotypeActionDegreeType", outcome.phenotype_term_nm as "PhenotypeName", (Select STRING_AGG( distinct expAnatomy.anatomy_term_nm, '|')) as "Anatomy", outcome.note as "ExposureOutcomeNotes" from exposure e left outer join reference pref on pref.acc_txt = e.reference_acc_txt left outer join reference_exp referenceExp on referenceExp.reference_acc_txt = e.reference_acc_txt left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id left outer join study_factor studyFactor on studyFactor.id = expStudyFactor.study_factor_id left outer join exp_event_project eventproject on eventproject.exp_event_id = e.exp_event_id inner join exp_stressor stressor on e.exp_stressor_id = stressor.id left outer join exp_receptor ereceptor on e.exp_receptor_id = ereceptor.id left outer join age_uom age_uom on ereceptor.age_uom_id = age_uom.id left outer join age_qualifier age_qualifier on ereceptor.age_qualifier_id = age_qualifier.id left outer join exp_event eevent on e.exp_event_id = eevent.id left outer join medium emedium on eevent.medium_id = emedium.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 ereceptor.id = receptorTobaccoUse.exp_receptor_id left outer join tobacco_use tobaccoUse on receptorTobaccoUse.tobacco_use_id = tobaccoUse.id left outer join exp_receptor_race receptorRace on ereceptor.id = receptorRace.exp_receptor_id left outer join race race on receptorRace.race_id = race.id left outer join exp_event_location eventLocation on eevent.id = eventLocation.exp_event_id left outer join country on eventLocation.country_id = country.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 exp_anatomy expAnatomy on outcome.id = expAnatomy.exp_outcome_id left outer join exp_event_assay_method eventAssayMethod on eevent.id = eventAssayMethod.exp_event_id where ereceptor.term_acc_txt in (select acc_txt from term where id in )) or eevent.exp_marker_acc_txt in (select acc_txt from term where id in )) group by "Reference", "Author", "AuthorSummary", "EnrollmentStartYear", "EnrollmentEndYear", "ExposureStressorName", "StressorSourceDetails", "NumberOfStressorSamples", "StressorNotes", "NumberOfReceptors", "Receptors", "ReceptorDescription", "ReceptorID", "ReceptorNotes", "Age", "AgeQualifier", "DetectionLimit", "DetectionLimitUnitsOfMeasurement", "DetectionFrequency", "Medium", "ExposureMarker", "MarkerLevel", "MarkerUnitsOfMeasurement", "MarkerMeasurementStatistic", "AssayNotes", "ExposureEventNotes", "OutcomeRelationship", "DiseaseName", "PhenotypeActionDegreeType", "PhenotypeName", "ExposureOutcomeNotes", ereceptor.id, eventLocation.exp_event_id ; SELECT n.object_id ,n.id ,ARRAY[n.nm_sort] ,1 FROM dag_node n WHERE n.object_id = $1 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: 2025-03-21 12:34:33 Database: ctdprd51 Application: User: pubeu Remote:
4 12 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #4
Day Hour Count Mar 18 21 3 22 1 Mar 19 17 2 18 1 Mar 20 17 1 18 1 Mar 21 22 1 23 1 Mar 22 00 1 5 10 ERROR: relation "..." does not exist
Times Reported Most Frequent Error / Event #5
Day Hour Count Mar 16 09 1 Mar 17 09 1 23 1 Mar 22 00 7 - ERROR: relation "disease_chem_gene" does not exist at character 369
- ERROR: relation "disease_chem_gene" does not exist at character 369
Statement: SELECT /* DiseaseIxnsDAO */ dcg.chem_id chemid ,c.nm chemnm ,c.nm_html chemnmhtml ,c.acc_txt chemacc ,c.secondary_nm casRN ,dcg.gene_id geneid ,g.nm genesymbol ,g.acc_txt geneacc ,dcg.ixn_id ixnId ,i.ixn_prose_txt ixnProse ,i.ixn_prose_html ixnProseHtml ,i.actions_txt ixnActions ,dcg.reference_qty refCount ,dcg.taxon_qty taxonCount FROM disease_chem_gene dcg INNER JOIN ixn i ON dcg.ixn_id = i.id INNER JOIN term g ON dcg.gene_id = g.id INNER JOIN term c ON dcg.chem_id = c.id WHERE dcg.disease_id = $1 AND g.object_type_id = 4 AND c.object_type_id = 2 ORDER BY c.nm_sort ,g.nm_sort LIMIT 50
Date: 2025-03-16 09:47:50 Database: ctdprd51 Application: User: pubeu Remote:
Statement: SELECT /* DiseaseIxnsDAO */ dcg.chem_id chemid ,c.nm chemnm ,c.nm_html chemnmhtml ,c.acc_txt chemacc ,c.secondary_nm casRN ,dcg.gene_id geneid ,g.nm genesymbol ,g.acc_txt geneacc ,dcg.ixn_id ixnId ,i.ixn_prose_txt ixnProse ,i.ixn_prose_html ixnProseHtml ,i.actions_txt ixnActions ,dcg.reference_qty refCount ,dcg.taxon_qty taxonCount FROM disease_chem_gene dcg INNER JOIN ixn i ON dcg.ixn_id = i.id INNER JOIN term g ON dcg.gene_id = g.id INNER JOIN term c ON dcg.chem_id = c.id WHERE dcg.disease_id = $1 AND g.object_type_id = 4 AND c.object_type_id = 2 ORDER BY g.nm_sort ,c.nm_sort LIMIT 50
Date: 2025-03-17 23:14:39 Database: ctdprd51 Application: User: pubeu Remote:
6 5 LOG: could not send data to client: Connection reset by peer
Times Reported Most Frequent Error / Event #6
Day Hour Count Mar 22 12 5 - LOG: could not send data to client: Connection reset by peer
- LOG: could not send data to client: Connection reset by peer
- LOG: could not send data to client: Connection reset by peer
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id
Date: 2025-03-22 12:22:15
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id
Date: 2025-03-22 12:22:15
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1) ORDER BY actionTypes
Date: 2025-03-22 12:22:15 Database: ctdprd51 Application: User: pubeu Remote:
7 5 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #7
Day Hour Count Mar 18 13 2 Mar 22 09 2 12 1 8 3 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #8
Day Hour Count Mar 20 23 1 Mar 22 01 1 12 1 - FATAL: connection to client lost
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Date: 2025-03-20 23:17:44
9 2 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #9
Day Hour Count Mar 20 23 1 Mar 22 01 1 - LOG: could not send data to client: Broken pipe
Statement: SELECT /* DiseaseGeneAssnsDAO */ d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId ,g.nm geneSymbol ,g.acc_txt geneAcc ,g.acc_db_cd geneAccDbCd ,g.id geneId ,gd.network_score networkScore ,gd.indirect_chem_qty inferredCount ,gd.reference_qty referenceCount ,gd.exposure_reference_qty exposureReferenceCount ,CASE WHEN gd.curated_reference_qty > 0 THEN (SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_axn a WHERE a.gene_id = gd.gene_id AND a.disease_id = gd.disease_id) ELSE NULL END actionTypes FROM gene_disease gd INNER JOIN term g ON gd.gene_id = g.id INNER JOIN term d ON gd.disease_id = d.id WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Date: 2025-03-20 23:17:44 Database: ctdprd51 Application: User: pubeu Remote:
10 2 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #10
Day Hour Count Mar 20 12 1 13 1 - ERROR: duplicate key value violates unique constraint "ixn_action_pk"
Detail: Key (ixn_id, action_type_id, action_degree_type_id)=(9045839, 1, 1) already exists.
Context: SQL statement "INSERT INTO edit.ixn_action (ixn_id ,action_type_id ,action_degree_type_id ,position_seq ,create_by ,mod_by ,create_tm ,mod_tm ) VALUES (p_ixn_id ,p_action_type_id ,p_action_degree_type_id ,p_position_seq ,p_create_by ,p_mod_by ,p_create_tm ,p_mod_tm )" PL/pgSQL function ins_ixn_action(integer,integer,integer,smallint,character varying,character varying,timestamp without time zone,timestamp without time zone) line 9 at SQL statementPL/pgSQL function ins_ixn(integer,smallint,integer,character varying,character varying,integer,timestamp without time zone,timestamp without time zone) line 32 at RAISEPL/pgSQL function upd_ixn_root_id(integer,integer) line 14 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_action(integer,integer,integer,smallint,character varying,character varying,timestamp without time zone,timestamp without time zone) line 30 at RAISEPL/pgSQL function ins_ixn(integer,smallint,integer,character varying,character varying,integer,timestamp without time zone,timestamp without time zone) line 32 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_actor(integer,smallint,integer,character varying,integer,character varying,integer,integer,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 40 at RAISEPL/pgSQL function ins_ixn_action(integer,integer,integer,smallint,character varying,character varying,timestamp without time zone,timestamp without time zone) line 30 at RAISEPL/pgSQL function ins_reference_ixn(character varying,integer,integer,character varying,integer,character varying,character varying,character varying,character varying,character varying,character varying,timestamp without time zone,timestamp without time zone) line 42 at RAISE
Statement: select * from edit.ins_ixn_action($1, $2, $3, $4, $5, $6, $7, $8) as resultDate: 2025-03-20 12:52:50
11 2 FATAL: ,g.nm_sort ,d.nm_sort 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 (...) 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 (...) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Times Reported Most Frequent Error / Event #11
Day Hour Count Mar 22 12 2 - FATAL: ,g.nm_sort ,d.nm_sort 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 = ) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort
Statement: SELECT /* DiseaseGeneAssnsDAO */
Date: 2025-03-22 12:22:15
12 1 ERROR: could not create unique index "..."
Times Reported Most Frequent Error / Event #12
Day Hour Count Mar 18 10 1 - ERROR: could not create unique index "term_label_ak1"
Detail: Key (term_id, term_label_type_id, nm)=(1281576, 38, 144221079) is duplicated.
Statement: SELECT * FROM pgbulkload.pg_bulkload($1)Date: 2025-03-18 10:24:12
13 1 ERROR: column "..." does not exist
Times Reported Most Frequent Error / Event #13
Day Hour Count Mar 21 10 1 - ERROR: column "upper_http_agent" does not exist at character 17
Statement: select distinct(upper_http_agent) from log_query where upper(http_user_agent) like upper('%BOT%') AND upper(http_user_agent) NOT like upper('%CTDBOT%')
Date: 2025-03-21 10:21:48 Database: ctdprd51 Application: pgAdmin 4 - CONN:3502083 User: pubc Remote:
14 1 ERROR: current transaction is aborted, commands ignored until end of transaction block
Times Reported Most Frequent Error / Event #14
Day Hour Count Mar 18 13 1 - ERROR: current transaction is aborted, commands ignored until end of transaction block
Statement: select count(*) from load.term_label where create_tm > '20250317' limit 100
Date: 2025-03-18 13:45:34
15 1 ERROR: invalid byte sequence for encoding
Times Reported Most Frequent Error / Event #15
Day Hour Count Mar 17 23 1 - ERROR: invalid byte sequence for encoding "UTF8": 0x00
Context: unnamed portal parameter $1
Statement: SELECT /* ObjectIdDAOImpl.LabelsAndAccs */ t.id ,t.nm ,t.nm_sort nmSort ,t.acc_txt acc ,t.acc_db_cd accDbCd FROM term t ,(SELECT li.term_id FROM term_label li WHERE UPPER(li.nm) = $1 AND li.object_type_id = 6 UNION SELECT l.object_id FROM db_link l WHERE upper( l.acc_txt ) = $2 AND l.object_type_id = 6 AND l.type_cd = 'A') ids WHERE t.id = ids.term_id ORDER BY CASE WHEN UPPER(t.nm) = $3 THEN 1 ELSE 2 END ,t.nm_sortDate: 2025-03-17 23:30:39
16 1 FATAL: FROM dag_path p WHERE p.ancestor_object_id = ) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort 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 (...) 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
Times Reported Most Frequent Error / Event #16
Day Hour Count Mar 22 12 1 - FATAL: FROM dag_path p WHERE p.ancestor_object_id = ) ORDER BY actionTypes ,gd.network_score DESC NULLS LAST ,g.nm_sort ,d.nm_sort 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
Statement: SELECT /* DiseaseGeneAssnsDAO */
Date: 2025-03-22 12:22:15
17 1 FATAL: connection to client lost d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId
Times Reported Most Frequent Error / Event #17
Day Hour Count Mar 22 12 1 - FATAL: connection to client lost d.nm diseaseNm ,d.acc_txt diseaseAcc ,d.acc_db_cd diseaseAccDbCd ,d.id diseaseId
Statement: SELECT /* DiseaseGeneAssnsDAO */
Date: 2025-03-22 12:22:15
18 1 ERROR: permission denied for table ...
Times Reported Most Frequent Error / Event #18
Day Hour Count Mar 18 13 1 - ERROR: permission denied for table term_label
Statement: begin transaction; delete from load.term_label where create_tm > '20250317'
Date: 2025-03-18 13:44:45