-
Global information
- Generated on Wed Jun 18 04:15:48 2025
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20250617
- Parsed 813,759 log entries in 46s
- Log start from 2025-06-15 00:00:18 to 2025-06-18 03:14:02
-
Overview
Global Stats
- 452 Number of unique normalized queries
- 154,519 Number of queries
- 3d11h34m33s Total query duration
- 2025-06-15 00:00:18 First query
- 2025-06-18 03:14:02 Last query
- 13 queries/s at 2025-06-15 21:33:42 Query peak
- 3d11h34m33s Total query duration
- 0ms Prepare/parse total duration
- 2m44s Bind total duration
- 3d11h31m49s Execute total duration
- 197 Number of events
- 10 Number of unique normalized events
- 100 Max number of times the same event was reported
- 0 Number of cancellation
- 10 Total number of automatic vacuums
- 24 Total number of automatic analyzes
- 0 Number temporary file
- 0 Max size of temporary file
- 0.00 B Average size of temporary file
- 38,261 Total number of sessions
- 98 sessions at 2025-06-15 23:30:11 Session peak
- 103d31m14s Total duration of sessions
- 3m52s Average duration of sessions
- 4 Average queries per session
- 7s863ms Average queries duration per session
- 3m44s Average idle time per session
- 38,296 Total number of connections
- 46 connections/s at 2025-06-15 20:38:03 Connection peak
- 3 Total number of databases
SQL Traffic
Key values
- 13 queries/s Query Peak
- 2025-06-15 21:33:42 Date
SELECT Traffic
Key values
- 13 queries/s Query Peak
- 2025-06-15 21:33:42 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2025-06-18 02:03:54 Date
Queries duration
Key values
- 3d11h34m33s 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) Jun 15 00 334 1s50ms 3m52s 2s741ms 18s319ms 28s19ms 4m4s 01 331 0ms 5m13s 3s984ms 15s781ms 1m46s 6m47s 02 334 0ms 1m41s 2s691ms 28s619ms 1m10s 1m43s 03 377 1s27ms 18m20s 6s461ms 23s887ms 1m51s 18m26s 04 1,317 1s1ms 18m42s 2s531ms 1m12s 1m24s 18m49s 05 2,094 1s15ms 32s270ms 1s657ms 1m29s 1m50s 3m9s 06 1,798 1s5ms 4m37s 1s696ms 1m31s 1m52s 5m39s 07 424 0ms 51s864ms 1s731ms 18s382ms 21s79ms 59s150ms 08 465 1s5ms 4m36s 2s493ms 29s993ms 41s180ms 4m55s 09 392 0ms 18m40s 4s918ms 30s479ms 41s642ms 18m52s 10 521 1s4ms 9m56s 3s142ms 34s434ms 37s884ms 10m12s 11 2,241 1s 2m9s 1s604ms 1m52s 2m5s 4m6s 12 2,324 1s26ms 3m43s 1s625ms 1m52s 2m3s 3m55s 13 479 1s6ms 4m31s 2s502ms 31s780ms 35s207ms 4m44s 14 370 1s18ms 21s441ms 2s256ms 28s519ms 30s64ms 1m3s 15 479 1s 3m6s 2s403ms 38s295ms 45s949ms 3m16s 16 2,120 1s8ms 5m21s 2s180ms 2m32s 3m51s 8m38s 17 4,608 1s1ms 26s484ms 1s477ms 2m40s 2m50s 3m7s 18 4,672 1s8ms 18m30s 1s755ms 2m51s 3m17s 21m3s 19 3,190 1s1ms 13m31s 3s143ms 12m33s 13m41s 16m23s 20 3,088 0ms 47s213ms 1s683ms 2m48s 2m57s 4m2s 21 804 0ms 1m23s 3s107ms 1m35s 2m7s 23m20s 22 1 0ms 1s442ms 1s442ms 0ms 0ms 1s442ms 23 1,041 0ms 4m31s 2s64ms 1m25s 2m33s 7m40s Jun 16 00 2,472 1s1ms 6m24s 1s594ms 1m53s 2m1s 7m22s 01 2,982 1s6ms 15s672ms 1s409ms 1m33s 1m46s 2m22s 02 1,333 1s25ms 3m3s 1s804ms 1m21s 1m35s 3m27s 03 2,125 1s4ms 3m46s 1s735ms 1m40s 2m17s 4m34s 04 910 0ms 18m26s 2s746ms 1m14s 1m48s 18m37s 05 757 1s2ms 24s758ms 1s600ms 48s255ms 1m2s 1m12s 06 2,554 1s2ms 1m28s 1s493ms 1m33s 1m59s 3m14s 07 2,675 1s19ms 18m23s 1s895ms 1m49s 1m52s 19m1s 08 2,827 1s12ms 18m30s 1s921ms 1m52s 2m1s 20m17s 09 2,267 1s20ms 18m27s 2s286ms 1m37s 1m40s 19m43s 10 1,312 1s16ms 2m18s 1s840ms 1m44s 2m17s 2m52s 11 2,232 1s4ms 26s373ms 1s529ms 1m34s 1m37s 2m1s 12 3,494 1s8ms 19m36s 2s38ms 3m4s 4m9s 20m30s 13 3,376 1s4ms 18m59s 2s123ms 3m2s 3m25s 22m38s 14 3,295 1s8ms 4m32s 1s501ms 1m44s 1m55s 6m22s 15 3,123 1s 5m9s 1s536ms 1m50s 2m 6m8s 16 3,568 1s9ms 4m40s 1s714ms 2m22s 2m58s 6m12s 17 3,706 0ms 18m47s 2s133ms 2m51s 5m2s 20m26s 18 4,195 1s 4m59s 1s586ms 2m20s 2m39s 7m48s 19 3,844 1s8ms 18m52s 2s255ms 2m45s 6m46s 20m48s 20 3,784 1s8ms 18m53s 1s855ms 2m19s 2m45s 20m30s 21 4,648 1s12ms 18s706ms 1s426ms 2m22s 2m27s 2m38s 22 3,029 1s2ms 18m31s 2s287ms 1m52s 3m58s 19m39s 23 3,788 1s3ms 25s27ms 1s533ms 2m22s 2m33s 3m13s Jun 17 00 4,715 1s6ms 10m4s 1s737ms 2m46s 5m8s 11m36s 01 4,280 1s7ms 4m36s 1s696ms 2m41s 5m34s 5m58s 02 4,018 1s13ms 18m26s 1s988ms 2m54s 5m6s 21m 03 3,972 1s 5m30s 1s886ms 4m3s 4m36s 8m35s 04 4,715 1s 3m55s 1s708ms 3m1s 5m4s 7m9s 05 4,903 1s 1m29s 1s760ms 4m19s 4m47s 7m13s 06 4,833 1s8ms 19m23s 1s911ms 3m27s 5m23s 21m34s 07 4,806 1s1ms 18m33s 1s799ms 2m46s 3m13s 20m9s 08 4,931 1s9ms 5m13s 1s709ms 3m8s 4m10s 6m54s 09 560 1s4ms 1m11s 3s89ms 1m19s 1m39s 3m47s 10 467 1s6ms 4m19s 2s188ms 27s139ms 29s974ms 4m26s 11 361 0ms 1m10s 2s812ms 1m13s 1m18s 1m34s 12 436 1s 18m21s 6s74ms 42s821ms 5m17s 18m30s 13 335 0ms 2m44s 3s255ms 33s696ms 1m10s 2m55s 14 376 1s3ms 32s606ms 2s231ms 32s766ms 38s261ms 1m34s 15 333 0ms 4m13s 2s756ms 24s234ms 35s903ms 4m38s 16 282 0ms 4m28s 5s729ms 50s517ms 3m44s 4m29s 17 235 0ms 3m7s 4s964ms 1m4s 1m46s 3m21s 18 187 0ms 4m50s 4s285ms 25s298ms 27s572ms 5m9s 19 204 0ms 4m15s 4s701ms 21s50ms 35s949ms 4m15s 20 205 0ms 5m24s 5s659ms 15s902ms 3m36s 5m41s 21 299 0ms 18m24s 7s990ms 1m13s 2m36s 18m30s 22 343 1s 1m12s 3s125ms 59s941ms 1m18s 1m53s 23 362 1s9ms 1m8s 2s657ms 31s14ms 55s171ms 2m27s Jun 18 00 458 1s19ms 9m50s 3s34ms 23s896ms 30s909ms 9m58s 01 1,942 1s 20s541ms 1s692ms 2m8s 2m19s 2m45s 02 3,004 1s 18m44s 2s427ms 3m24s 4m8s 20m36s 03 857 1s3ms 18s46ms 1s624ms 2m35s 4m29s 4m29s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jun 15 00 334 0 2s741ms 11s218ms 18s319ms 3m12s 01 331 0 3s984ms 12s543ms 15s781ms 3m10s 02 332 0 2s689ms 17s641ms 28s619ms 1m36s 03 374 0 6s489ms 15s545ms 23s887ms 10m23s 04 1,317 0 2s531ms 58s488ms 1m12s 1m38s 05 2,089 0 1s654ms 1m8s 1m29s 2m22s 06 1,796 0 1s695ms 1m15s 1m31s 2m3s 07 424 0 1s731ms 17s124ms 18s382ms 54s613ms 08 462 0 2s493ms 21s710ms 29s993ms 56s427ms 09 390 0 4s929ms 21s701ms 30s479ms 42s819ms 10 520 0 3s142ms 26s33ms 34s434ms 55s842ms 11 2,239 0 1s603ms 1m42s 1m52s 2m18s 12 2,323 0 1s625ms 1m37s 1m52s 2m5s 13 476 0 2s504ms 26s480ms 30s658ms 39s153ms 14 368 0 2s255ms 23s312ms 28s519ms 45s944ms 15 478 0 2s402ms 27s630ms 38s295ms 51s315ms 16 2,119 0 2s179ms 1m58s 2m32s 7m49s 17 4,606 0 1s476ms 2m23s 2m40s 3m1s 18 4,669 0 1s755ms 2m39s 2m51s 4m1s 19 3,185 0 3s144ms 2m13s 12m33s 14m2s 20 3,086 0 1s682ms 2m27s 2m48s 2m59s 21 804 0 3s107ms 45s762ms 1m35s 2m8s 22 1 0 1s442ms 0ms 0ms 1s442ms 23 1,040 0 2s64ms 1m8s 1m25s 5m4s Jun 16 00 2,471 0 1s594ms 1m30s 1m53s 2m33s 01 2,981 0 1s408ms 1m28s 1m33s 1m59s 02 1,331 0 1s802ms 1m 1m21s 1m58s 03 2,125 0 1s735ms 1m26s 1m40s 2m17s 04 907 0 2s746ms 40s48ms 1m14s 1m50s 05 751 0 1s595ms 35s11ms 46s395ms 1m8s 06 2,553 0 1s493ms 1m17s 1m32s 2m6s 07 2,674 0 1s894ms 1m27s 1m49s 2m 08 2,827 0 1s921ms 1m36s 1m52s 2m20s 09 2,263 0 2s285ms 1m29s 1m37s 11m18s 10 1,311 0 1s839ms 1m17s 1m44s 2m32s 11 2,229 0 1s527ms 1m18s 1m34s 1m40s 12 3,491 0 2s37ms 2m8s 3m4s 4m51s 13 3,376 0 2s123ms 1m53s 3m2s 4m26s 14 3,291 0 1s499ms 1m34s 1m44s 2m2s 15 3,121 0 1s536ms 1m33s 1m50s 2m21s 16 3,568 0 1s714ms 1m55s 2m22s 5m50s 17 3,703 0 2s132ms 2m14s 2m51s 11m1s 18 4,194 0 1s586ms 2m8s 2m20s 6m18s 19 3,844 0 2s255ms 2m8s 2m45s 20m33s 20 3,782 0 1s855ms 2m4s 2m16s 4m2s 21 4,648 0 1s426ms 2m14s 2m22s 2m33s 22 3,028 0 2s287ms 1m35s 1m52s 19m33s 23 3,785 0 1s532ms 2m10s 2m22s 2m34s Jun 17 00 4,712 0 1s736ms 2m22s 2m46s 5m13s 01 4,278 0 1s695ms 2m21s 2m41s 5m40s 02 4,015 0 1s987ms 2m25s 2m54s 6m35s 03 3,972 0 1s886ms 2m44s 4m3s 4m57s 04 4,710 0 1s707ms 2m27s 3m1s 5m8s 05 4,896 0 1s759ms 3m5s 4m19s 5m6s 06 4,833 0 1s911ms 2m52s 3m27s 6m44s 07 4,806 0 1s799ms 2m37s 2m46s 6m45s 08 4,927 0 1s708ms 2m46s 3m8s 5m54s 09 557 0 3s90ms 35s497ms 1m19s 2m6s 10 467 0 2s188ms 18s808ms 27s139ms 31s691ms 11 360 0 2s810ms 19s251ms 1m13s 1m24s 12 436 0 6s74ms 20s114ms 42s821ms 6m35s 13 333 0 3s259ms 24s29ms 33s696ms 1m24s 14 374 0 2s231ms 20s522ms 32s766ms 41s788ms 15 333 0 2s756ms 17s952ms 24s234ms 42s39ms 16 280 0 5s756ms 23s261ms 50s517ms 4m26s 17 235 0 4s964ms 20s96ms 1m4s 2m5s 18 187 0 4s285ms 13s581ms 25s298ms 48s311ms 19 203 0 4s708ms 15s389ms 21s50ms 3m34s 20 205 0 5s659ms 12s536ms 15s902ms 3m39s 21 297 0 8s29ms 22s419ms 1m13s 4m24s 22 342 0 3s129ms 21s342ms 59s941ms 1m24s 23 358 0 2s661ms 17s212ms 31s14ms 1m18s Jun 18 00 454 0 3s41ms 20s625ms 23s896ms 32s504ms 01 1,902 0 1s677ms 1m43s 2m8s 2m22s 02 2,921 0 2s426ms 2m20s 3m7s 18m59s 03 831 0 1s600ms 2m9s 2m29s 4m24s Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jun 15 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Jun 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 Jun 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 Jun 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 Day Hour Prepare Bind Bind/Prepare Percentage of prepare Jun 15 00 0 334 334.00 0.00% 01 0 331 331.00 0.00% 02 0 334 334.00 0.00% 03 0 377 377.00 0.00% 04 0 1,324 1,324.00 0.00% 05 0 2,103 2,103.00 0.00% 06 0 1,809 1,809.00 0.00% 07 0 424 424.00 0.00% 08 0 465 465.00 0.00% 09 0 393 393.00 0.00% 10 0 521 521.00 0.00% 11 0 2,275 2,275.00 0.00% 12 0 2,365 2,365.00 0.00% 13 0 479 479.00 0.00% 14 0 370 370.00 0.00% 15 0 479 479.00 0.00% 16 0 2,148 2,148.00 0.00% 17 0 4,692 4,692.00 0.00% 18 0 4,770 4,770.00 0.00% 19 0 3,231 3,231.00 0.00% 20 0 3,133 3,133.00 0.00% 21 0 823 823.00 0.00% 22 0 1 1.00 0.00% 23 0 1,059 1,059.00 0.00% Jun 16 00 0 2,521 2,521.00 0.00% 01 0 3,012 3,012.00 0.00% 02 0 1,343 1,343.00 0.00% 03 0 2,137 2,137.00 0.00% 04 0 917 917.00 0.00% 05 0 762 762.00 0.00% 06 0 2,584 2,584.00 0.00% 07 0 2,729 2,729.00 0.00% 08 0 2,894 2,894.00 0.00% 09 0 2,317 2,317.00 0.00% 10 0 1,341 1,341.00 0.00% 11 0 2,269 2,269.00 0.00% 12 0 3,555 3,555.00 0.00% 13 0 3,432 3,432.00 0.00% 14 0 3,358 3,358.00 0.00% 15 0 3,155 3,155.00 0.00% 16 0 3,637 3,637.00 0.00% 17 0 3,800 3,800.00 0.00% 18 0 4,266 4,266.00 0.00% 19 0 3,896 3,896.00 0.00% 20 0 3,850 3,850.00 0.00% 21 0 4,729 4,729.00 0.00% 22 0 3,090 3,090.00 0.00% 23 0 3,876 3,876.00 0.00% Jun 17 00 0 4,855 4,855.00 0.00% 01 0 4,375 4,375.00 0.00% 02 0 4,103 4,103.00 0.00% 03 0 4,020 4,020.00 0.00% 04 0 4,783 4,783.00 0.00% 05 0 4,991 4,991.00 0.00% 06 0 4,922 4,922.00 0.00% 07 0 4,898 4,898.00 0.00% 08 0 5,049 5,049.00 0.00% 09 0 563 563.00 0.00% 10 0 470 470.00 0.00% 11 0 366 366.00 0.00% 12 0 444 444.00 0.00% 13 0 339 339.00 0.00% 14 0 376 376.00 0.00% 15 0 333 333.00 0.00% 16 0 282 282.00 0.00% 17 0 235 235.00 0.00% 18 0 187 187.00 0.00% 19 0 204 204.00 0.00% 20 0 205 205.00 0.00% 21 0 298 298.00 0.00% 22 0 343 343.00 0.00% 23 0 361 361.00 0.00% Jun 18 00 0 458 458.00 0.00% 01 0 1,967 1,967.00 0.00% 02 0 3,033 3,033.00 0.00% 03 0 865 865.00 0.00% Day Hour Count Average / Second Jun 15 00 183 0.05/s 01 221 0.06/s 02 284 0.08/s 03 280 0.08/s 04 311 0.09/s 05 400 0.11/s 06 301 0.08/s 07 154 0.04/s 08 191 0.05/s 09 134 0.04/s 10 129 0.04/s 11 419 0.12/s 12 498 0.14/s 13 249 0.07/s 14 176 0.05/s 15 182 0.05/s 16 434 0.12/s 17 770 0.21/s 18 812 0.23/s 19 478 0.13/s 20 1,296 0.36/s 21 2,733 0.76/s 22 59 0.02/s 23 543 0.15/s Jun 16 00 224 0.06/s 01 301 0.08/s 02 206 0.06/s 03 345 0.10/s 04 177 0.05/s 05 223 0.06/s 06 337 0.09/s 07 276 0.08/s 08 597 0.17/s 09 462 0.13/s 10 467 0.13/s 11 495 0.14/s 12 727 0.20/s 13 765 0.21/s 14 559 0.16/s 15 444 0.12/s 16 1,072 0.30/s 17 673 0.19/s 18 693 0.19/s 19 746 0.21/s 20 634 0.18/s 21 718 0.20/s 22 400 0.11/s 23 787 0.22/s Jun 17 00 1,016 0.28/s 01 858 0.24/s 02 934 0.26/s 03 875 0.24/s 04 865 0.24/s 05 1,195 0.33/s 06 1,584 0.44/s 07 1,074 0.30/s 08 1,141 0.32/s 09 351 0.10/s 10 221 0.06/s 11 228 0.06/s 12 177 0.05/s 13 249 0.07/s 14 314 0.09/s 15 221 0.06/s 16 228 0.06/s 17 175 0.05/s 18 124 0.03/s 19 135 0.04/s 20 111 0.03/s 21 250 0.07/s 22 247 0.07/s 23 193 0.05/s Jun 18 00 203 0.06/s 01 648 0.18/s 02 909 0.25/s 03 205 0.06/s Day Hour Count Average Duration Average idle time Jun 15 00 184 5m7s 5m2s 01 221 4m38s 4m32s 02 284 3m20s 3m17s 03 279 3m33s 3m24s 04 312 3m12s 3m1s 05 392 2m30s 2m21s 06 301 4m44s 4m34s 07 154 8m39s 8m34s 08 191 7m48s 7m42s 09 141 10m32s 10m19s 10 122 5m48s 5m35s 11 411 2m34s 2m26s 12 490 2m50s 2m42s 13 249 7m15s 7m10s 14 176 11m3s 10m58s 15 182 10m49s 10m43s 16 434 4m30s 4m20s 17 770 2m22s 2m13s 18 810 2m28s 2m18s 19 480 4m17s 3m56s 20 1,262 1m37s 1m33s 21 2,757 1m3s 1m2s 22 66 26m46s 26m46s 23 546 4m53s 4m49s Jun 16 00 224 8m23s 8m5s 01 301 6m46s 6m32s 02 206 8m54s 8m43s 03 344 5m34s 5m23s 04 178 9m58s 9m44s 05 223 8m47s 8m41s 06 337 5m57s 5m46s 07 276 7m8s 6m50s 08 593 3m22s 3m13s 09 464 4m12s 4m1s 10 465 4m13s 4m8s 11 495 4m 3m53s 12 726 2m43s 2m34s 13 765 2m38s 2m29s 14 560 3m23s 3m14s 15 444 4m31s 4m21s 16 1,072 1m47s 1m42s 17 674 3m24s 3m13s 18 696 4m53s 4m44s 19 746 2m43s 2m31s 20 634 3m5s 2m54s 21 718 2m44s 2m35s 22 400 4m58s 4m41s 23 787 2m29s 2m22s Jun 17 00 1,013 1m59s 1m51s 01 859 2m19s 2m10s 02 936 2m8s 2m 03 874 2m6s 1m57s 04 866 2m18s 2m9s 05 1,194 1m37s 1m29s 06 1,581 1m18s 1m12s 07 1,078 1m49s 1m41s 08 1,140 1m46s 1m39s 09 344 6m10s 6m5s 10 221 10m48s 10m43s 11 227 10m47s 10m43s 12 174 13m39s 13m24s 13 249 10m22s 10m18s 14 314 7m49s 7m47s 15 221 10m46s 10m42s 16 228 9m46s 9m39s 17 175 13m24s 13m17s 18 124 19m5s 18m59s 19 135 17m42s 17m35s 20 111 20m32s 20m22s 21 250 10m30s 10m20s 22 247 9m51s 9m47s 23 192 12m56s 12m51s Jun 18 00 204 12m3s 11m56s 01 645 3m41s 3m36s 02 912 2m35s 2m27s 03 205 4m7s 4m -
Connections
Established Connections
Key values
- 46 connections Connection Peak
- 2025-06-15 20:38:03 Date
Connections per database
Key values
- ctdprd51 Main Database
- 38,296 connections Total
Connections per user
Key values
- pubeu Main User
- 38,296 connections Total
-
Sessions
Simultaneous sessions
Key values
- 98 sessions Session Peak
- 2025-06-15 23:30:11 Date
Histogram of session times
Key values
- 14,178 1000-30000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 38,261 sessions Total
Sessions per user
Key values
- pubeu Main User
- 38,261 sessions Total
Sessions per host
Key values
- 10.12.5.53 Main Host
- 38,261 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 61,922 buffers Checkpoint Peak
- 2025-06-17 13:17:41 Date
- 1620.077 seconds Highest write time
- 0.043 seconds Sync time
Checkpoints Wal files
Key values
- 42 files Wal files usage Peak
- 2025-06-17 13:17:41 Date
Checkpoints distance
Key values
- 1,318.58 Mo Distance Peak
- 2025-06-17 13:17:41 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Jun 15 00 2,548 255.166s 0.004s 255.246s 01 2,912 291.488s 0.004s 291.524s 02 2,899 290.756s 0.008s 290.871s 03 1,128 112.813s 0.001s 112.876s 04 34,037 1,927.295s 0.005s 1,927.638s 05 3,014 301.794s 0.004s 301.875s 06 4,254 426.612s 0.004s 426.685s 07 2,032 203.563s 0.003s 203.644s 08 5,925 593.441s 0.011s 593.57s 09 5,845 585.74s 0.004s 585.823s 10 2,548 255.342s 0.004s 255.427s 11 3,049 305.805s 0.004s 305.892s 12 2,453 245.782s 0.003s 245.817s 13 2,577 258.216s 0.004s 258.3s 14 3,320 332.501s 0.002s 332.585s 15 4,514 452.366s 0.004s 452.479s 16 3,672 368.41s 0.002s 368.504s 17 2,942 295.117s 0.002s 295.196s 18 2,864 287.249s 0.003s 287.345s 19 3,939 395.237s 0.003s 395.317s 20 2,646 265.335s 0.004s 265.416s 21 1,041 104.371s 0.002s 104.406s 22 22 2.381s 0.002s 2.411s 23 3,178 318.737s 0.002s 318.814s Jun 16 00 3,017 302.282s 0.002s 302.358s 01 2,943 295.022s 0.003s 295.104s 02 3,025 303.376s 0.003s 303.431s 03 2,936 294.803s 0.003s 294.886s 04 3,989 399.602s 0.003s 399.697s 05 3,386 339.298s 0.004s 339.381s 06 5,245 525.983s 0.003s 526.049s 07 4,047 405.559s 0.004s 405.644s 08 3,629 363.899s 0.004s 364.005s 09 3,711 372.413s 0.004s 372.512s 10 3,510 352.677s 0.004s 352.759s 11 4,605 461.767s 0.004s 461.829s 12 2,755 276.392s 0.004s 276.474s 13 2,743 275.252s 0.003s 275.363s 14 2,643 265.068s 0.004s 265.15s 15 1,866 187.505s 0.003s 187.637s 16 2,672 268.024s 0.004s 268.128s 17 3,521 353.099s 0.003s 353.181s 18 1,978 198.581s 0.004s 198.634s 19 5,903 592.657s 0.002s 592.739s 20 1,979 198.605s 0.003s 198.685s 21 2,679 268.992s 0.003s 269.068s 22 2,855 286.795s 0.07s 287.654s 23 3,422 343.377s 0.003s 343.459s Jun 17 00 3,495 350.992s 0.004s 351.109s 01 4,783 480.037s 0.023s 480.165s 02 2,855 288.249s 0.003s 288.609s 03 3,090 311.125s 0.039s 311.328s 04 2,947 295.811s 0.004s 295.896s 05 4,466 449.194s 0.004s 449.475s 06 3,016 303.493s 0.003s 303.582s 07 3,509 352.398s 0.003s 352.492s 08 2,655 266.575s 0.004s 266.659s 09 4,438 445.072s 0.014s 445.183s 10 3,964 397.359s 0.004s 397.411s 11 4,248 425.621s 0.001s 425.695s 12 9,273 929.375s 0.004s 929.452s 13 64,143 1,842.424s 0.006s 1,843.067s 14 2,468 247.281s 0.004s 247.311s 15 2,185 219.061s 0.002s 219.143s 16 3,511 352.002s 0.002s 352.081s 17 2,230 224.139s 0.004s 224.225s 18 2,269 227.918s 0.003s 228.001s 19 2,079 208.439s 0.004s 208.521s 20 966 97.204s 0.003s 97.242s 21 2,938 295.539s 0.002s 295.755s 22 3,574 358.84s 0.003s 358.893s 23 5,484 549.76s 0.004s 549.867s Jun 18 00 2,211 221.927s 0.004s 222.009s 01 24,311 1,619.768s 0.002s 1,620.265s 02 60,041 1,835.396s 0.006s 1,835.616s 03 0 0s 0s 0s Day Hour Added Removed Recycled Synced files Longest sync Average sync Jun 15 00 0 0 1 44 0.001s 0.002s 01 0 0 0 45 0.001s 0.002s 02 0 0 1 37 0.005s 0.002s 03 0 0 1 14 0.001s 0.001s 04 0 0 21 76 0.001s 0.003s 05 0 0 1 40 0.001s 0.002s 06 0 0 1 43 0.001s 0.002s 07 0 0 1 34 0.001s 0.002s 08 0 0 4 53 0.009s 0.002s 09 0 0 1 42 0.001s 0.002s 10 0 0 1 29 0.001s 0.002s 11 0 0 1 32 0.001s 0.002s 12 0 0 0 23 0.001s 0.002s 13 0 0 1 23 0.001s 0.002s 14 0 0 1 29 0.001s 0.002s 15 0 0 1 23 0.001s 0.002s 16 0 0 2 32 0.001s 0.002s 17 0 0 1 22 0.001s 0.002s 18 0 0 1 22 0.001s 0.002s 19 0 0 1 30 0.001s 0.002s 20 0 0 1 23 0.001s 0.002s 21 0 0 0 19 0.001s 0.002s 22 0 0 0 12 0.001s 0.002s 23 0 0 1 12 0.001s 0.001s Jun 16 00 0 0 1 31 0.001s 0.002s 01 0 0 1 22 0.001s 0.002s 02 0 0 1 24 0.001s 0.002s 03 0 0 1 22 0.001s 0.002s 04 0 0 2 28 0.001s 0.002s 05 0 0 1 24 0.001s 0.002s 06 0 0 2 24 0.001s 0.002s 07 0 0 1 144 0.001s 0.002s 08 0 0 1 66 0.001s 0.002s 09 0 0 2 114 0.001s 0.002s 10 0 0 1 78 0.001s 0.002s 11 0 0 1 70 0.001s 0.002s 12 0 0 1 77 0.001s 0.002s 13 0 0 1 22 0.001s 0.002s 14 0 0 1 113 0.001s 0.002s 15 0 0 1 119 0.001s 0.002s 16 0 0 1 115 0.001s 0.002s 17 0 0 1 29 0.001s 0.002s 18 0 0 0 22 0.001s 0.002s 19 0 0 1 24 0.001s 0.002s 20 0 0 1 24 0.001s 0.002s 21 0 0 1 22 0.001s 0.002s 22 0 0 1 23 0.038s 0.007s 23 0 0 1 24 0.001s 0.002s Jun 17 00 0 0 1 22 0.001s 0.002s 01 0 0 2 30 0.021s 0.003s 02 0 0 1 22 0.002s 0.002s 03 0 0 1 23 0.026s 0.005s 04 0 0 1 21 0.001s 0.002s 05 0 0 1 22 0.002s 0.002s 06 0 0 1 23 0.001s 0.002s 07 0 0 1 27 0.001s 0.002s 08 0 0 1 59 0.002s 0.002s 09 0 0 2 82 0.011s 0.002s 10 0 0 1 39 0.001s 0.002s 11 0 0 2 68 0.001s 0.001s 12 0 0 2 35 0.001s 0.002s 13 0 0 43 137 0.001s 0.003s 14 0 0 0 23 0.001s 0.002s 15 0 0 1 22 0.001s 0.002s 16 0 0 1 30 0.001s 0.002s 17 0 0 1 22 0.001s 0.002s 18 0 0 1 23 0.001s 0.002s 19 0 0 1 22 0.001s 0.002s 20 0 0 0 21 0.001s 0.002s 21 0 0 2 43 0.001s 0.002s 22 0 0 1 36 0.002s 0.002s 23 0 0 3 32 0.001s 0.002s Jun 18 00 0 0 1 20 0.001s 0.002s 01 0 0 36 30 0.001s 0.001s 02 0 0 8 50 0.001s 0.003s 03 0 0 0 0 0s 0s Day Hour Count Avg time (sec) Jun 15 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Jun 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 Jun 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 Jun 18 00 0 0s 01 0 0s 02 0 0s 03 0 0s Day Hour Mean distance Mean estimate Jun 15 00 5,284.50 kB 5,455.00 kB 01 6,539.00 kB 7,273.50 kB 02 6,218.00 kB 7,030.00 kB 03 6,097.00 kB 6,920.00 kB 04 116,506.67 kB 296,844.67 kB 05 8,169.50 kB 229,716.00 kB 06 10,887.50 kB 188,029.50 kB 07 6,733.50 kB 153,835.00 kB 08 18,464.50 kB 127,903.50 kB 09 20,932.00 kB 107,696.50 kB 10 8,135.50 kB 9,168.00 kB 11 8,037.50 kB 8,869.50 kB 12 7,254.50 kB 8,657.50 kB 13 7,204.50 kB 8,350.50 kB 14 8,100.50 kB 8,449.50 kB 15 9,541.00 kB 10,074.00 kB 16 9,905.00 kB 10,028.50 kB 17 8,572.50 kB 9,854.50 kB 18 8,423.50 kB 9,576.00 kB 19 9,030.50 kB 9,471.50 kB 20 8,099.00 kB 9,286.00 kB 21 3,067.00 kB 8,164.50 kB 22 54.00 kB 6,878.00 kB 23 7,048.00 kB 7,048.00 kB Jun 16 00 9,010.50 kB 9,010.50 kB 01 9,719.50 kB 9,963.50 kB 02 10,338.00 kB 10,435.50 kB 03 9,964.50 kB 10,358.00 kB 04 10,587.00 kB 10,993.00 kB 05 10,423.50 kB 11,014.00 kB 06 12,300.50 kB 12,646.00 kB 07 12,953.00 kB 14,015.00 kB 08 11,291.00 kB 13,537.00 kB 09 11,255.00 kB 13,118.00 kB 10 10,504.50 kB 12,644.50 kB 11 10,612.00 kB 12,290.00 kB 12 7,862.00 kB 11,563.50 kB 13 7,807.50 kB 10,829.50 kB 14 7,457.50 kB 10,236.50 kB 15 5,088.00 kB 9,372.00 kB 16 8,327.50 kB 9,305.50 kB 17 5,828.50 kB 8,711.00 kB 18 5,354.50 kB 8,096.50 kB 19 9,533.50 kB 10,486.50 kB 20 5,718.00 kB 12,165.50 kB 21 7,373.00 kB 11,097.00 kB 22 7,891.00 kB 10,539.50 kB 23 9,662.00 kB 10,284.00 kB Jun 17 00 10,067.50 kB 10,358.00 kB 01 10,583.00 kB 10,735.00 kB 02 8,462.50 kB 10,447.50 kB 03 8,769.50 kB 10,051.50 kB 04 8,287.00 kB 9,760.00 kB 05 8,923.00 kB 9,658.00 kB 06 8,815.00 kB 9,671.50 kB 07 8,679.50 kB 9,515.50 kB 08 7,522.50 kB 9,147.50 kB 09 13,532.00 kB 13,532.00 kB 10 12,326.00 kB 16,944.00 kB 11 27,471.00 kB 27,471.00 kB 12 21,319.00 kB 29,866.00 kB 13 230,604.67 kB 610,683.67 kB 14 7,698.50 kB 470,031.50 kB 15 6,902.00 kB 382,065.50 kB 16 7,833.50 kB 310,941.50 kB 17 7,238.00 kB 253,237.50 kB 18 7,442.00 kB 206,538.00 kB 19 6,730.00 kB 168,601.00 kB 20 2,948.50 kB 137,305.50 kB 21 10,758.00 kB 112,551.00 kB 22 13,447.00 kB 94,384.00 kB 23 25,472.00 kB 81,335.00 kB Jun 18 00 6,901.00 kB 66,976.50 kB 01 65,321.00 kB 65,321.00 kB 02 215,518.67 kB 571,696.67 kB 03 0.00 kB 0.00 kB -
Temporary Files
Size of temporary files
Key values
- 0 Temp Files size Peak
- Date
Size of temporary files (5 minutes period)
NO DATASET
Number of temporary files
Key values
- 0 per second Temp Files Peak
- Date
Number of temporary files (5 minutes period)
NO DATASET
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Jun 15 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Jun 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 Jun 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 Jun 18 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 1.28 sec Highest CPU-cost vacuum
Table pubc.log_query
Database ctdprd51 - 2025-06-17 11:48:59 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 1.28 sec Highest CPU-cost vacuum
Table pubc.log_query
Database ctdprd51 - 2025-06-17 11:48:59 Date
Analyzes per table
Key values
- pubc.log_query (22) Main table analyzed (database ctdprd51)
- 24 analyzes Total
Vacuums per table
Key values
- pubc.log_query (10) Main table vacuumed on database ctdprd51
- 10 vacuums Total
Tuples removed per table
Key values
- pubc.log_query (645) Main table with removed tuples on database ctdprd51
- 645 tuples Total removed
Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Jun 15 00 1 1 01 0 2 02 1 1 03 1 1 04 0 2 05 1 0 06 0 1 07 0 1 08 0 0 09 0 1 10 1 0 11 0 1 12 0 0 13 0 0 14 0 1 15 1 0 16 0 1 17 0 0 18 0 1 19 0 0 20 0 0 21 0 0 22 0 0 23 1 0 Jun 16 00 0 1 01 0 0 02 0 0 03 0 1 04 0 0 05 0 0 06 1 0 07 0 1 08 0 0 09 0 0 10 0 1 11 0 0 12 0 0 13 0 0 14 0 0 15 0 0 16 0 0 17 0 1 18 0 0 19 1 0 20 0 0 21 0 0 22 0 0 23 0 0 Jun 17 00 0 0 01 0 1 02 0 0 03 0 0 04 0 0 05 0 0 06 0 0 07 0 1 08 0 0 09 0 0 10 0 0 11 1 0 12 0 0 13 0 0 14 0 0 15 0 1 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 0 0 22 0 0 23 0 0 Jun 18 00 0 0 01 0 2 02 0 0 03 0 0 - 1.28 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
- 154,241 Total read queries
- 278 Total write queries
Queries by database
Key values
- unknown Main database
- 133,834 Requests
- 2d22h34m5s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 364,640 Requests
User Request type Count Duration editeu Total 40 2m10s select 40 2m10s pub1 Total 4 12s530ms select 4 12s530ms pubeu Total 57,308 1d13h1m43s cte 97 4m46s select 57,211 1d12h56m56s qaeu Total 39 2m9s cte 9 31s844ms select 30 1m37s unknown Total 364,640 8d58m4s cte 556 23m38s select 364,084 8d34m26s Duration by user
Key values
- 8d58m4s (unknown) Main time consuming user
User Request type Count Duration editeu Total 40 2m10s select 40 2m10s pub1 Total 4 12s530ms select 4 12s530ms pubeu Total 57,308 1d13h1m43s cte 97 4m46s select 57,211 1d12h56m56s qaeu Total 39 2m9s cte 9 31s844ms select 30 1m37s unknown Total 364,640 8d58m4s cte 556 23m38s select 364,084 8d34m26s Queries by host
Key values
- unknown Main host
- 422,031 Requests
- 9d14h4m20s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 154,518 Requests
- 3d11h31m45s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2025-06-16 10:05:47 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 155,964 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 19m36s SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-06-16 12:49:49 - Bind query: yes ]
2 19m23s SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-06-17 06:34:28 - Bind query: yes ]
3 18m59s SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-06-16 13:57:47 - Bind query: yes ]
4 18m53s SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-06-16 20:30:03 - Bind query: yes ]
5 18m52s SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-06-16 19:21:52 - Bind query: yes ]
6 18m51s SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-06-16 19:31:13 - Bind query: yes ]
7 18m47s SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-06-16 17:19:03 - Bind query: yes ]
8 18m44s SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-06-18 02:11:00 - Bind query: yes ]
9 18m42s SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-06-15 04:04:47 - Bind query: yes ]
10 18m40s SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-06-15 09:43:58 - Bind query: yes ]
11 18m38s SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-06-18 02:42:52 - Bind query: yes ]
12 18m33s SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-06-17 07:53:59 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
13 18m31s SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-06-16 22:26:43 - Bind query: yes ]
14 18m30s SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-06-15 18:44:23 - Bind query: yes ]
15 18m30s SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-06-16 08:31:30 - Bind query: yes ]
16 18m28s SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-06-16 22:37:33 - Bind query: yes ]
17 18m27s SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-06-16 09:37:45 - Bind query: yes ]
18 18m26s SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-06-16 04:24:38 - Bind query: yes ]
19 18m26s SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-06-17 02:31:27 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
20 18m24s SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-06-17 21:19:26 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 2d24m3s 120,708 1s180ms 7s995ms 1s443ms 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 #1
Day Hour Count Duration Avg duration Jun 15 03 1 1s588ms 1s588ms 04 914 22m3s 1s448ms 05 1,544 37m34s 1s460ms 06 1,286 30m23s 1s417ms 07 1 1s293ms 1s293ms 08 1 1s634ms 1s634ms 09 1 1s434ms 1s434ms 11 1,646 39m25s 1s437ms 12 1,812 43m11s 1s429ms 13 27 37s680ms 1s395ms 14 15 21s100ms 1s406ms 15 15 21s893ms 1s459ms 16 1,555 37m2s 1s429ms 17 4,049 1h36m11s 1s425ms 18 4,128 1h38m13s 1s427ms 19 2,692 1h4m8s 1s429ms 20 2,721 1h8m22s 1s507ms 21 536 24m58s 2s795ms 22 1 1s442ms 1s442ms 23 923 25m39s 1s667ms Jun 16 00 2,218 51m10s 1s384ms 01 2,660 1h11s 1s357ms 02 981 22m17s 1s363ms 03 1,601 36m44s 1s376ms 04 519 11m47s 1s363ms 05 428 9m41s 1s358ms 06 2,092 47m53s 1s373ms 07 2,397 56m16s 1s408ms 08 2,346 56m47s 1s452ms 09 1,750 41m53s 1s436ms 10 805 19m8s 1s426ms 11 1,785 42m10s 1s417ms 12 2,958 1h12m51s 1s477ms 13 2,897 1h10m21s 1s457ms 14 2,673 1h1m11s 1s373ms 15 2,690 1h38s 1s352ms 16 2,997 1h13m23s 1s469ms 17 3,140 1h16m57s 1s470ms 18 3,648 1h26m5s 1s416ms 19 3,172 1h15m20s 1s425ms 20 3,329 1h19m23s 1s431ms 21 4,224 1h37m3s 1s378ms 22 2,584 1h2m6s 1s441ms 23 3,060 1h15m10s 1s473ms Jun 17 00 4,064 1h40m 1s476ms 01 3,759 1h31m7s 1s454ms 02 3,482 1h25m28s 1s472ms 03 3,340 1h20m40s 1s449ms 04 4,036 1h34m58s 1s412ms 05 4,262 1h46m59s 1s506ms 06 4,303 1h45m20s 1s468ms 07 3,984 1h35m9s 1s433ms 08 4,283 1h43m36s 1s451ms 09 50 1m6s 1s326ms 12 6 8s878ms 1s479ms 13 2 2s826ms 1s413ms 16 1 1s357ms 1s357ms 17 1 1s447ms 1s447ms 22 2 2s953ms 1s476ms Jun 18 00 5 7s153ms 1s430ms 01 1,324 32m3s 1s452ms 02 2,335 55m56s 1s437ms 03 647 15m50s 1s469ms [ User: pubeu - Total duration: 6h31m2s - Times executed: 15240 ]
-
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-06-15 21:33:42 Duration: 7s995ms 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-06-15 21:33:43 Duration: 7s968ms 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-06-15 21:33:43 Duration: 7s836ms Bind query: yes
2 13h9s 315 1s306ms 19m36s 2m28s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jun 15 00 4 7m2s 1m45s 01 10 14m17s 1m25s 02 3 3m57s 1m19s 03 6 30m16s 5m2s 04 6 18m51s 3m8s 05 2 5s686ms 2s843ms 06 2 4m38s 2m19s 07 5 9s295ms 1s859ms 08 2 4m38s 2m19s 09 2 18m41s 9m20s 10 5 10m7s 2m1s 11 3 2m13s 44s558ms 12 5 3m54s 46s980ms 13 5 4m37s 55s569ms 14 1 1s577ms 1s577ms 15 4 3m13s 48s314ms 16 12 23m41s 1m58s 17 2 5s299ms 2s649ms 18 7 20m19s 2m54s 19 4 10m56s 2m44s 20 4 8s235ms 2s58ms 23 1 4m31s 4m31s Jun 16 00 5 6m33s 1m18s 01 3 6s14ms 2s4ms 02 3 3m6s 1m2s 03 3 3m49s 1m16s 04 1 18m26s 18m26s 05 1 3s139ms 3s139ms 06 2 5s151ms 2s575ms 07 1 18m23s 18m23s 08 2 18m32s 9m16s 09 5 28m34s 5m42s 10 1 2m18s 2m18s 11 4 6s491ms 1s622ms 12 5 19m46s 3m57s 13 3 19m4s 6m21s 14 1 4m32s 4m32s 15 3 5m12s 1m44s 16 4 9m2s 2m15s 17 4 33m1s 8m15s 18 9 9m53s 1m5s 19 9 47m19s 5m15s 20 3 18m57s 6m19s 21 2 3s198ms 1s599ms 22 10 40m34s 4m3s 23 1 1s771ms 1s771ms Jun 17 00 5 16m20s 3m16s 01 6 14m32s 2m25s 02 7 26m 3m42s 03 5 5m50s 1m10s 04 5 9m20s 1m52s 05 2 2s856ms 1s428ms 06 8 24m50s 3m6s 07 4 22m55s 5m43s 08 7 9m56s 1m25s 09 2 3s82ms 1s541ms 10 4 4m24s 1m6s 11 2 3s912ms 1s956ms 12 8 30m4s 3m45s 13 3 5s293ms 1s764ms 14 6 16s599ms 2s766ms 15 4 4m20s 1m5s 16 13 14m24s 1m6s 17 6 3m17s 32s980ms 18 2 4m52s 2m26s 19 4 7m55s 1m58s 20 5 12m40s 2m32s 21 7 22m50s 3m15s 22 3 5s331ms 1s777ms 23 2 4s237ms 2s118ms Jun 18 00 4 9m55s 2m28s 01 3 4s645ms 1s548ms 02 8 40m43s 5m5s [ User: pubeu - Total duration: 2h17m31s - Times executed: 65 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-06-16 12:49:49 Duration: 19m36s Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-06-17 06:34:28 Duration: 19m23s Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-06-16 13:57:47 Duration: 18m59s Bind query: yes
3 4h41m19s 13,897 1s28ms 10s694ms 1s214ms 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 Jun 15 00 193 3m55s 1s220ms 01 198 3m58s 1s204ms 02 176 3m35s 1s221ms 03 196 3m57s 1s211ms 04 206 4m10s 1s213ms 05 264 5m26s 1s235ms 06 283 5m37s 1s192ms 07 193 3m47s 1s179ms 08 197 3m48s 1s158ms 09 176 3m28s 1s184ms 10 229 4m27s 1s169ms 11 273 5m26s 1s196ms 12 228 4m30s 1s188ms 13 178 3m27s 1s164ms 14 151 2m52s 1s140ms 15 172 3m21s 1s174ms 16 298 5m51s 1s180ms 17 274 5m29s 1s203ms 18 172 3m27s 1s204ms 19 202 4m2s 1s199ms 20 115 2m24s 1s258ms 21 72 3m33s 2s960ms 23 35 49s673ms 1s419ms Jun 16 00 105 2m 1s144ms 01 124 2m23s 1s154ms 02 147 2m50s 1s158ms 03 288 5m34s 1s161ms 04 176 3m23s 1s154ms 05 133 2m35s 1s170ms 06 167 3m18s 1s187ms 07 108 2m9s 1s198ms 08 197 3m59s 1s218ms 09 226 4m31s 1s202ms 10 251 5m6s 1s220ms 11 183 3m43s 1s222ms 12 203 4m22s 1s294ms 13 139 3m5s 1s331ms 14 339 6m41s 1s183ms 15 147 2m50s 1s160ms 16 193 3m56s 1s225ms 17 204 4m12s 1s235ms 18 218 4m20s 1s195ms 19 338 6m52s 1s221ms 20 157 3m16s 1s252ms 21 132 2m38s 1s198ms 22 167 3m23s 1s216ms 23 366 7m37s 1s249ms Jun 17 00 243 5m2s 1s243ms 01 185 3m45s 1s217ms 02 178 3m41s 1s243ms 03 308 6m24s 1s249ms 04 340 6m53s 1s216ms 05 189 3m58s 1s263ms 06 150 3m7s 1s253ms 07 396 8m7s 1s230ms 08 183 3m49s 1s255ms 09 194 3m52s 1s200ms 10 215 4m11s 1s171ms 11 166 3m12s 1s160ms 12 182 3m36s 1s187ms 13 126 2m26s 1s164ms 14 146 2m49s 1s160ms 15 118 2m17s 1s167ms 16 86 1m40s 1s173ms 17 62 1m19s 1s278ms 18 52 1m1s 1s178ms 19 49 56s612ms 1s155ms 20 78 1m31s 1s178ms 21 76 1m31s 1s198ms 22 112 2m14s 1s196ms 23 134 2m41s 1s204ms Jun 18 00 246 4m51s 1s185ms 01 216 4m19s 1s203ms 02 207 4m4s 1s181ms 03 71 1m25s 1s203ms [ User: pubeu - Total duration: 44m1s - Times executed: 2092 ]
[ User: qaeu - Total duration: 1s322ms - 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 = '1579657' or receptorTerm.id = '1579657' 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-06-15 21:33:36 Duration: 10s694ms 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 = '1782138' or receptorTerm.id = '1782138' 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-06-15 21:33:46 Duration: 9s964ms 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 = '2039692' or receptorTerm.id = '2039692' 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-06-15 21:33:50 Duration: 9s310ms Bind query: yes
4 2h51m44s 484 1s40ms 1m29s 21s290ms 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 #4
Day Hour Count Duration Avg duration Jun 15 02 5 2m13s 26s704ms 03 4 1m19s 19s797ms 04 11 4m5s 22s311ms 05 10 4m17s 25s787ms 06 3 22s203ms 7s401ms 08 7 2m22s 20s385ms 09 7 2m18s 19s809ms 10 2 31s29ms 15s514ms 11 2 30s17ms 15s8ms 12 6 1m34s 15s764ms 13 9 1m52s 12s514ms 14 17 4m9s 14s649ms 15 10 2m30s 15s89ms 17 5 1m18s 15s672ms 18 9 2m23s 15s925ms 19 11 3m 16s403ms 20 13 4m7s 19s39ms 21 2 1m24s 42s240ms 23 3 45s890ms 15s296ms Jun 16 00 3 49s791ms 16s597ms 01 3 46s607ms 15s535ms 02 10 2m16s 13s608ms 03 1 17s22ms 17s22ms 06 2 32s85ms 16s42ms 07 6 1m39s 16s562ms 08 3 1m23s 27s723ms 09 3 48s874ms 16s291ms 10 14 4m42s 20s158ms 11 9 2m35s 17s307ms 12 12 5m16s 26s391ms 13 16 6m57s 26s65ms 14 2 32s666ms 16s333ms 15 8 2m3s 15s449ms 16 8 2m9s 16s175ms 18 1 2s852ms 2s852ms 19 6 1m34s 15s818ms 20 13 3m48s 17s565ms 21 2 30s223ms 15s111ms 22 3 48s716ms 16s238ms 23 4 1m4s 16s196ms Jun 17 00 2 32s644ms 16s322ms 01 1 1s505ms 1s505ms 02 8 3m58s 29s872ms 03 13 5m21s 24s758ms 04 4 1m5s 16s253ms 05 21 11m4s 31s621ms 06 17 6m37s 23s404ms 07 8 2m10s 16s327ms 08 18 5m58s 19s932ms 09 19 12m33s 39s654ms 10 2 31s874ms 15s937ms 11 4 1m2s 15s601ms 13 6 2m50s 28s416ms 14 4 1m23s 20s911ms 16 14 3m30s 15s39ms 17 11 5m5s 27s785ms 18 8 2m4s 15s588ms 19 5 1m15s 15s135ms 21 16 8m 30s44ms 22 12 5m46s 28s915ms 23 8 3m39s 27s437ms Jun 18 00 3 39s299ms 13s99ms 01 10 2m3s 12s359ms 02 3 2m3s 41s8ms 03 2 33s742ms 16s871ms [ User: pubeu - Total duration: 55m36s - Times executed: 123 ]
-
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 = '2101260') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-06-17 05:30:57 Duration: 1m29s 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 = '2095942') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-06-15 21:34:35 Duration: 1m23s 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 = '2101260') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-06-17 06:01:39 Duration: 1m13s Bind query: yes
5 1h25m14s 13 1m7s 13m31s 6m33s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by diseaseterm.nm_sort, phenotypeterm.nm_sort limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jun 15 19 6 1h15m34s 12m35s Jun 17 11 6 6m55s 1m9s 13 1 2m44s 2m44s [ User: pubeu - Total duration: 1m7s - Times executed: 1 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1249155') and diseaseTerm.object_type_id = 3 ORDER BY diseaseTerm.nm_sort, phenotypeTerm.nm_sort LIMIT 50;
Date: 2025-06-15 19:12:49 Duration: 13m31s Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1249155') and diseaseTerm.object_type_id = 3 ORDER BY diseaseTerm.nm_sort, phenotypeTerm.nm_sort LIMIT 50;
Date: 2025-06-15 19:01:34 Duration: 12m32s Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1249155') and diseaseTerm.object_type_id = 3 ORDER BY diseaseTerm.nm_sort, phenotypeTerm.nm_sort LIMIT 50;
Date: 2025-06-15 19:22:10 Duration: 12m26s Bind query: yes
6 1h2m42s 1,156 1s 8s721ms 3s254ms 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 #6
Day Hour Count Duration Avg duration Jun 15 00 7 29s375ms 4s196ms 01 10 33s639ms 3s363ms 02 13 41s759ms 3s212ms 03 12 35s896ms 2s991ms 04 16 1m 3s775ms 05 10 34s787ms 3s478ms 06 11 35s240ms 3s203ms 07 9 27s351ms 3s39ms 08 3 9s887ms 3s295ms 09 10 28s296ms 2s829ms 10 10 42s252ms 4s225ms 11 13 44s965ms 3s458ms 12 9 33s88ms 3s676ms 13 19 43s984ms 2s314ms 14 14 52s444ms 3s746ms 15 32 1m43s 3s244ms 16 16 49s804ms 3s112ms 17 20 1m4s 3s214ms 18 10 40s802ms 4s80ms 19 17 54s468ms 3s204ms 20 11 42s682ms 3s880ms 23 3 5s725ms 1s908ms Jun 16 00 15 41s209ms 2s747ms 01 12 37s177ms 3s98ms 02 16 55s720ms 3s482ms 03 21 1m7s 3s202ms 04 22 55s117ms 2s505ms 05 10 43s133ms 4s313ms 06 6 22s148ms 3s691ms 07 6 21s31ms 3s505ms 08 14 47s227ms 3s373ms 09 11 30s106ms 2s736ms 10 12 25s659ms 2s138ms 11 17 52s787ms 3s105ms 12 11 42s5ms 3s818ms 13 14 42s506ms 3s36ms 14 13 39s729ms 3s56ms 15 35 1m36s 2s768ms 16 28 1m41s 3s616ms 17 5 15s521ms 3s104ms 18 9 31s88ms 3s454ms 19 11 47s310ms 4s300ms 20 16 44s242ms 2s765ms 21 15 58s19ms 3s867ms 22 10 27s99ms 2s709ms 23 17 1m5s 3s834ms Jun 17 00 22 1m26s 3s926ms 01 12 48s949ms 4s79ms 02 15 47s310ms 3s154ms 03 20 56s627ms 2s831ms 04 16 51s755ms 3s234ms 05 19 1m8s 3s593ms 06 21 1m9s 3s326ms 07 25 1m13s 2s945ms 08 27 1m28s 3s285ms 09 32 1m29s 2s788ms 10 31 1m19s 2s572ms 11 13 36s913ms 2s839ms 12 15 56s912ms 3s794ms 13 12 32s856ms 2s738ms 14 25 1m20s 3s236ms 15 22 1m14s 3s371ms 16 22 1m4s 2s948ms 17 11 41s386ms 3s762ms 18 20 58s368ms 2s918ms 19 29 1m32s 3s203ms 20 16 40s942ms 2s558ms 21 15 54s514ms 3s634ms 22 16 47s782ms 2s986ms 23 16 49s681ms 3s105ms Jun 18 00 14 1m 4s322ms 01 25 1m32s 3s690ms 02 20 1m11s 3s552ms 03 4 21s86ms 5s271ms [ User: pubeu - Total duration: 11m1s - Times executed: 202 ]
-
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 = '1411566'))) 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-06-17 23:02:53 Duration: 8s721ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1411566'))) 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-06-17 02:32:00 Duration: 8s386ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1411566'))) 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-06-15 20:04:22 Duration: 8s80ms Bind query: yes
7 53m59s 2,101 1s238ms 7s738ms 1s541ms select ;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jun 15 04 9 14s99ms 1s566ms 05 7 10s481ms 1s497ms 06 7 10s645ms 1s520ms 11 30 45s885ms 1s529ms 12 39 58s563ms 1s501ms 16 24 36s977ms 1s540ms 17 68 1m41s 1s499ms 18 90 2m15s 1s502ms 19 31 46s299ms 1s493ms 20 52 1m19s 1s538ms 21 41 1m29s 2s180ms 23 18 47s978ms 2s665ms Jun 16 00 43 1m4s 1s498ms 01 29 41s705ms 1s438ms 02 10 14s338ms 1s433ms 03 13 18s394ms 1s414ms 04 6 8s726ms 1s454ms 05 2 2s642ms 1s321ms 06 25 37s50ms 1s482ms 07 34 51s974ms 1s528ms 08 48 1m15s 1s572ms 09 26 40s43ms 1s540ms 10 14 21s93ms 1s506ms 11 23 34s68ms 1s481ms 12 49 1m18s 1s599ms 13 40 1m 1s500ms 14 33 48s562ms 1s471ms 15 28 39s642ms 1s415ms 16 46 1m12s 1s567ms 17 68 1m48s 1s594ms 18 66 1m37s 1s484ms 19 47 1m9s 1s483ms 20 66 1m37s 1s477ms 21 75 1m49s 1s462ms 22 50 1m15s 1s512ms 23 84 2m11s 1s567ms Jun 17 00 106 2m50s 1s609ms 01 70 1m46s 1s526ms 02 58 1m30s 1s564ms 03 47 1m11s 1s515ms 04 67 1m38s 1s473ms 05 85 2m10s 1s540ms 06 77 1m57s 1s520ms 07 86 2m9s 1s503ms 08 107 2m42s 1s515ms Jun 18 01 20 30s222ms 1s511ms 02 28 41s713ms 1s489ms 03 9 13s261ms 1s473ms [ User: pubeu - Total duration: 7m38s - Times executed: 276 ]
-
SELECT /* GeneBrowseTermsDAO */ ;
Date: 2025-06-15 21:33:19 Duration: 7s738ms Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ ;
Date: 2025-06-15 23:30:15 Duration: 7s513ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ ;
Date: 2025-06-15 23:30:15 Duration: 7s196ms Database: ctdprd51 User: pubeu Bind query: yes
8 52m33s 2,328 1s150ms 10s296ms 1s354ms 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 #8
Day Hour Count Duration Avg duration Jun 15 00 29 38s689ms 1s334ms 01 31 41s751ms 1s346ms 02 37 50s998ms 1s378ms 03 48 1m8s 1s419ms 04 39 54s570ms 1s399ms 05 37 50s190ms 1s356ms 06 40 52s440ms 1s311ms 07 32 41s936ms 1s310ms 08 25 32s193ms 1s287ms 09 36 45s927ms 1s275ms 10 31 40s400ms 1s303ms 11 38 51s581ms 1s357ms 12 31 40s655ms 1s311ms 13 38 50s271ms 1s322ms 14 28 37s254ms 1s330ms 15 44 57s695ms 1s311ms 16 38 51s963ms 1s367ms 17 18 24s283ms 1s349ms 18 29 42s541ms 1s466ms 19 30 40s768ms 1s358ms 20 21 30s643ms 1s459ms 21 7 18s883ms 2s697ms 23 6 7s760ms 1s293ms Jun 16 00 9 11s846ms 1s316ms 01 34 43s281ms 1s272ms 02 27 35s446ms 1s312ms 03 25 32s705ms 1s308ms 04 30 38s83ms 1s269ms 05 32 40s599ms 1s268ms 06 28 36s785ms 1s313ms 07 18 23s436ms 1s302ms 08 47 1m2s 1s335ms 09 32 42s317ms 1s322ms 10 26 35s103ms 1s350ms 11 22 29s826ms 1s355ms 12 33 52s798ms 1s599ms 13 23 30s264ms 1s315ms 14 44 58s555ms 1s330ms 15 28 36s437ms 1s301ms 16 49 1m6s 1s347ms 17 51 1m9s 1s359ms 18 30 39s909ms 1s330ms 19 43 1m1s 1s437ms 20 25 33s917ms 1s356ms 21 20 27s162ms 1s358ms 22 45 1m1s 1s376ms 23 44 1m 1s374ms Jun 17 00 33 46s81ms 1s396ms 01 20 26s567ms 1s328ms 02 37 53s684ms 1s450ms 03 43 57s410ms 1s335ms 04 36 49s61ms 1s362ms 05 33 44s483ms 1s347ms 06 32 43s392ms 1s356ms 07 24 34s769ms 1s448ms 08 41 58s637ms 1s430ms 09 28 37s894ms 1s353ms 10 43 56s690ms 1s318ms 11 37 46s878ms 1s266ms 12 36 47s189ms 1s310ms 13 44 57s860ms 1s315ms 14 41 58s257ms 1s420ms 15 32 41s874ms 1s308ms 16 21 27s449ms 1s307ms 17 23 39s698ms 1s726ms 18 14 17s617ms 1s258ms 19 9 11s162ms 1s240ms 20 8 10s232ms 1s279ms 21 30 39s618ms 1s320ms 22 22 29s296ms 1s331ms 23 30 39s520ms 1s317ms Jun 18 00 45 59s491ms 1s322ms 01 41 53s678ms 1s309ms 02 37 49s94ms 1s326ms 03 10 13s135ms 1s313ms [ User: pubeu - Total duration: 8m39s - Times executed: 362 ]
-
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 = '1273502') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1273502') 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-06-15 21:33:23 Duration: 10s296ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1242708') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1242708') 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-06-16 12:14:41 Duration: 5s759ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1260132') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1260132') 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-06-17 17:15:07 Duration: 5s512ms Database: ctdprd51 User: pubeu Bind query: yes
9 49m37s 675 1s 25s791ms 4s410ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jun 15 00 3 23s142ms 7s714ms 01 2 3s118ms 1s559ms 02 4 13s713ms 3s428ms 03 1 1s28ms 1s28ms 04 12 57s686ms 4s807ms 05 12 51s1ms 4s250ms 06 9 32s654ms 3s628ms 07 8 17s846ms 2s230ms 08 8 35s549ms 4s443ms 09 2 20s434ms 10s217ms 10 6 44s519ms 7s419ms 11 6 32s428ms 5s404ms 12 6 35s209ms 5s868ms 14 1 4s935ms 4s935ms 15 9 22s981ms 2s553ms 16 10 35s342ms 3s534ms 17 13 58s571ms 4s505ms 18 22 1m13s 3s341ms 19 13 1m9s 5s320ms 20 15 1m27s 5s808ms 21 2 27s202ms 13s601ms 23 7 48s518ms 6s931ms Jun 16 00 7 17s541ms 2s505ms 01 13 59s966ms 4s612ms 02 7 42s780ms 6s111ms 03 13 27s526ms 2s117ms 04 4 24s779ms 6s194ms 05 3 11s188ms 3s729ms 06 5 12s544ms 2s508ms 07 10 28s 2s800ms 08 9 53s55ms 5s895ms 09 11 57s730ms 5s248ms 10 4 19s849ms 4s962ms 11 5 20s848ms 4s169ms 12 12 47s432ms 3s952ms 13 15 1m4s 4s275ms 14 15 59s44ms 3s936ms 15 13 44s679ms 3s436ms 16 15 57s138ms 3s809ms 17 17 1m8s 4s52ms 18 15 45s928ms 3s61ms 19 11 1m17s 7s71ms 20 12 1m26s 7s242ms 21 16 1m9s 4s317ms 22 7 27s254ms 3s893ms 23 8 32s338ms 4s42ms Jun 17 00 14 1m32s 6s606ms 01 16 1m5s 4s87ms 02 14 57s362ms 4s97ms 03 8 32s737ms 4s92ms 04 18 1m11s 3s944ms 05 12 56s146ms 4s678ms 06 20 2m5s 6s283ms 07 16 59s636ms 3s727ms 08 16 1m27s 5s451ms 09 4 8s961ms 2s240ms 10 2 2s962ms 1s481ms 12 4 27s969ms 6s992ms 13 5 23s683ms 4s736ms 14 9 39s344ms 4s371ms 15 8 29s382ms 3s672ms 16 5 18s861ms 3s772ms 17 2 13s650ms 6s825ms 18 1 6s144ms 6s144ms 19 3 8s839ms 2s946ms 20 5 20s498ms 4s99ms 21 6 11s441ms 1s906ms 22 10 58s417ms 5s841ms 23 12 1m7s 5s640ms Jun 18 00 3 13s104ms 4s368ms 01 23 1m1s 2s679ms 02 17 54s578ms 3s210ms 03 4 10s92ms 2s523ms [ User: pubeu - Total duration: 8m7s - Times executed: 106 ]
-
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 = '2106675') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-06-15 21:33:49 Duration: 25s791ms 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 = '2096523') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-06-15 23:30:25 Duration: 16s280ms 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 = '2094859') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-06-15 23:30:24 Duration: 15s740ms Database: ctdprd51 User: pubeu Bind query: yes
10 49m 388 1s13ms 37s136ms 7s579ms select sq.*, count(*) over () fullrowcount from ( select distinct gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid from dag_node gt inner join gene_go_annot gga on gt.object_id = gga.go_term_id inner join term g on gga.gene_id = g.id where gt.id in ( select p.descendant_dag_node_id from dag_path p where p.ancestor_object_id = ?) and gga.is_not = false) sq order by sq.gonmsort, sq.genesymbolsort limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jun 15 00 4 11s637ms 2s909ms 01 2 3s507ms 1s753ms 02 6 47s499ms 7s916ms 03 3 5s571ms 1s857ms 04 1 4s369ms 4s369ms 05 4 1m18s 19s569ms 06 1 3s235ms 3s235ms 07 1 4s401ms 4s401ms 08 7 25s647ms 3s663ms 09 3 5s159ms 1s719ms 10 10 1m22s 8s236ms 11 7 48s948ms 6s992ms 12 5 37s966ms 7s593ms 13 4 26s534ms 6s633ms 14 5 12s246ms 2s449ms 15 1 1s84ms 1s84ms 16 5 1m22s 16s402ms 17 6 1m29s 14s839ms 18 9 1m36s 10s698ms 19 3 15s237ms 5s79ms 20 4 39s66ms 9s766ms 21 1 1s133ms 1s133ms 23 1 10s770ms 10s770ms Jun 16 00 6 40s953ms 6s825ms 01 5 29s4ms 5s800ms 02 7 32s785ms 4s683ms 03 8 30s508ms 3s813ms 04 2 3s552ms 1s776ms 05 5 1m2s 12s537ms 06 8 25s920ms 3s240ms 07 5 57s822ms 11s564ms 08 5 29s142ms 5s828ms 09 4 32s386ms 8s96ms 10 3 25s211ms 8s403ms 11 7 1m4s 9s160ms 12 8 53s533ms 6s691ms 13 5 30s432ms 6s86ms 14 5 42s370ms 8s474ms 15 2 2s531ms 1s265ms 16 3 13s550ms 4s516ms 17 4 41s401ms 10s350ms 18 4 44s676ms 11s169ms 19 10 1m47s 10s722ms 20 9 1m18s 8s685ms 21 4 23s717ms 5s929ms 22 11 1m1s 5s633ms 23 4 56s987ms 14s246ms Jun 17 00 3 11s716ms 3s905ms 01 5 38s589ms 7s717ms 02 6 49s485ms 8s247ms 03 3 23s492ms 7s830ms 04 10 1m49s 10s911ms 05 7 1m49s 15s620ms 06 3 34s772ms 11s590ms 07 10 49s793ms 4s979ms 08 5 22s299ms 4s459ms 09 5 10s796ms 2s159ms 10 4 31s362ms 7s840ms 11 3 6s693ms 2s231ms 12 4 59s328ms 14s832ms 13 10 1m17s 7s740ms 14 13 1m36s 7s407ms 15 14 1m40s 7s166ms 16 4 30s515ms 7s628ms 17 10 1m37s 9s700ms 18 3 34s4ms 11s334ms 19 6 41s181ms 6s863ms 20 3 34s16ms 11s338ms 21 3 7s216ms 2s405ms 22 3 20s826ms 6s942ms 23 5 24s70ms 4s814ms Jun 18 00 3 21s908ms 7s302ms 01 6 38s62ms 6s343ms 02 7 31s231ms 4s461ms 03 3 7s219ms 2s406ms [ User: pubeu - Total duration: 10m33s - Times executed: 82 ]
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1265161') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-06-17 05:19:05 Duration: 37s136ms Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1234207') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-06-15 10:07:31 Duration: 36s553ms Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1234207') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-06-17 02:13:39 Duration: 28s614ms Database: ctdprd51 User: pubeu Bind query: yes
11 41m30s 977 1s 11s479ms 2s549ms select e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, ( select string_agg(distinct stressorterm.nm || ? || ( select cd from object_type where id = stressorterm.object_type_id) || ? || stressorterm.nm_html || ? || stressorterm.acc_txt || ? || stressorterm.acc_db_cd, ?)) as stressoragents, ( select string_agg(distinct coalesce(receptorterm.nm, ?) || ? || coalesce(( select cd from object_type where id = receptorterm.object_type_id), ?) || ? || coalesce(receptorterm.nm_html, ?) || ? || coalesce(receptorterm.acc_txt, ?) || ? || coalesce(receptorterm.acc_db_cd, ?) || ? || receptor.description, ?)) as receptors, ( select string_agg(distinct country.nm, ?)) as studycountries, ( select string_agg(distinct location.locality_txt, ?)) as localities, ( select string_agg(distinct event.medium_nm || ? || coalesce(event.medium_term_acc_txt, ?), ?)) as assaymediums, ( select string_agg(distinct exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd, ?)) as assayedmarkers, ( select string_agg(distinct diseaseterm.nm || ? || ( select cd from object_type where id = diseaseterm.object_type_id) || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd, ?)) as diseases, ( select string_agg(distinct phenotypeterm.nm || ? || ( select cd from object_type where id = phenotypeterm.object_type_id) || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd, ?)) as phenotypes, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, re.author_summary summary, count(*) over () fullrowcount from exposure e inner join reference r on e.reference_id = r.id inner join exp_stressor stressor on e.exp_stressor_id = stressor.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join term receptorterm on receptor.term_id = receptorterm.id left outer join exp_event event on e.exp_event_id = event.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join exp_event_location location on e.exp_event_id = location.exp_event_id left outer join country on location.country_id = country.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id inner join reference_exp re on e.reference_id = re.reference_id left outer join exp_study_factor expstudyfactor on re.id = expstudyfactor.reference_exp_id where e.reference_id = any (array ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like ?) and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressoragents limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jun 15 00 12 30s157ms 2s513ms 01 8 16s998ms 2s124ms 02 6 15s234ms 2s539ms 03 10 26s438ms 2s643ms 04 11 28s236ms 2s566ms 05 7 15s633ms 2s233ms 06 9 23s655ms 2s628ms 07 10 23s674ms 2s367ms 08 9 27s757ms 3s84ms 09 3 10s986ms 3s662ms 10 14 32s644ms 2s331ms 11 11 30s579ms 2s779ms 12 12 29s101ms 2s425ms 13 17 38s925ms 2s289ms 14 8 15s45ms 1s880ms 15 25 57s404ms 2s296ms 16 12 31s435ms 2s619ms 17 5 13s800ms 2s760ms 18 13 28s423ms 2s186ms 19 13 29s385ms 2s260ms 20 8 33s184ms 4s148ms 21 2 10s722ms 5s361ms 23 4 9s460ms 2s365ms Jun 16 00 8 12s594ms 1s574ms 01 10 26s612ms 2s661ms 02 18 39s952ms 2s219ms 03 18 48s658ms 2s703ms 04 19 44s538ms 2s344ms 05 9 22s278ms 2s475ms 06 13 33s320ms 2s563ms 07 10 21s917ms 2s191ms 08 11 31s802ms 2s891ms 09 10 19s575ms 1s957ms 10 10 27s591ms 2s759ms 11 7 15s508ms 2s215ms 12 19 49s906ms 2s626ms 13 16 44s429ms 2s776ms 14 7 17s653ms 2s521ms 15 35 1m24s 2s400ms 16 21 1m3s 3s21ms 17 10 26s373ms 2s637ms 18 14 32s691ms 2s335ms 19 16 40s266ms 2s516ms 20 15 46s843ms 3s122ms 21 14 36s239ms 2s588ms 22 8 25s66ms 3s133ms 23 11 28s999ms 2s636ms Jun 17 00 19 42s839ms 2s254ms 01 17 51s155ms 3s9ms 02 12 27s880ms 2s323ms 03 10 22s68ms 2s206ms 04 8 23s306ms 2s913ms 05 25 1m15s 3s11ms 06 18 43s342ms 2s407ms 07 16 34s35ms 2s127ms 08 22 51s685ms 2s349ms 09 30 1m13s 2s444ms 10 26 1m8s 2s638ms 11 18 40s574ms 2s254ms 12 4 8s851ms 2s212ms 13 14 34s66ms 2s433ms 14 6 7s905ms 1s317ms 15 15 34s397ms 2s293ms 16 15 34s44ms 2s269ms 17 18 59s727ms 3s318ms 18 18 56s227ms 3s123ms 19 14 35s694ms 2s549ms 20 10 26s368ms 2s636ms 21 11 40s862ms 3s714ms 22 10 24s938ms 2s493ms 23 10 26s504ms 2s650ms Jun 18 00 16 39s976ms 2s498ms 01 11 21s758ms 1s978ms 02 17 38s762ms 2s280ms 03 9 27s503ms 3s55ms [ User: pubeu - Total duration: 6m56s - Times executed: 158 ]
-
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 = '1411566') 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 = '1411566') 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-06-18 03:00:24 Duration: 11s479ms 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 = '1449732') 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 = '1449732') 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-06-17 21:48:05 Duration: 10s3ms 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 = '1411566') 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 = '1411566') 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-06-15 20:37:05 Duration: 8s69ms Bind query: yes
12 31m4s 13 43s781ms 3m19s 2m23s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by phenotypeterm.nm_sort, diseaseterm.nm_sort limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jun 16 12 1 1m48s 1m48s 13 5 9m26s 1m53s Jun 17 03 4 12m38s 3m9s 04 2 6m26s 3m13s 17 1 43s781ms 43s781ms [ User: pubeu - Total duration: 7m47s - Times executed: 4 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1240939') and diseaseTerm.object_type_id = 3 ORDER BY phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;
Date: 2025-06-17 04:08:05 Duration: 3m19s Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1240939') and diseaseTerm.object_type_id = 3 ORDER BY phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;
Date: 2025-06-17 03:36:58 Duration: 3m15s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1240939') and diseaseTerm.object_type_id = 3 ORDER BY phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;
Date: 2025-06-17 03:57:37 Duration: 3m11s Bind query: yes
13 30m40s 617 1s1ms 12s827ms 2s983ms select * from ( select g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, count(*) over () fullrowcount from term g where g.id in ( select gt.gene_id from dag_path dp inner join gene_taxon gt on dp.descendant_object_id = gt.taxon_id where dp.ancestor_object_id = ? union all select gcr.gene_id from dag_path dp inner join gene_chem_reference gcr on dp.descendant_object_id = gcr.taxon_id where dp.ancestor_object_id = ?) offset ?) mq order by mq.genesymbolsort limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jun 15 00 2 4s436ms 2s218ms 01 5 10s545ms 2s109ms 02 5 12s588ms 2s517ms 03 4 9s456ms 2s364ms 04 6 20s291ms 3s381ms 05 9 25s75ms 2s786ms 06 4 12s79ms 3s19ms 07 3 9s913ms 3s304ms 08 4 11s823ms 2s955ms 09 5 14s42ms 2s808ms 10 1 4s1ms 4s1ms 11 8 27s715ms 3s464ms 12 2 8s685ms 4s342ms 13 5 15s269ms 3s53ms 14 1 1s77ms 1s77ms 16 3 10s200ms 3s400ms 17 6 17s779ms 2s963ms 18 8 15s653ms 1s956ms 19 11 35s87ms 3s189ms 20 5 10s538ms 2s107ms 21 34 2m37s 4s642ms 23 3 18s945ms 6s315ms Jun 16 00 1 1s530ms 1s530ms 01 3 11s701ms 3s900ms 02 2 4s621ms 2s310ms 03 4 13s795ms 3s448ms 04 4 8s299ms 2s74ms 05 2 2s507ms 1s253ms 06 3 15s278ms 5s92ms 07 3 11s651ms 3s883ms 08 5 13s744ms 2s748ms 09 5 18s86ms 3s617ms 10 3 8s450ms 2s816ms 11 7 18s589ms 2s655ms 12 11 33s392ms 3s35ms 13 14 39s838ms 2s845ms 14 2 3s586ms 1s793ms 15 5 18s769ms 3s753ms 16 6 16s546ms 2s757ms 17 9 25s684ms 2s853ms 18 8 21s436ms 2s679ms 19 13 23s466ms 1s805ms 20 4 7s840ms 1s960ms 21 3 4s886ms 1s628ms 22 8 22s807ms 2s850ms 23 6 14s541ms 2s423ms Jun 17 00 4 9s194ms 2s298ms 01 8 20s456ms 2s557ms 02 3 10s811ms 3s603ms 03 7 14s756ms 2s108ms 04 3 10s44ms 3s348ms 05 8 28s50ms 3s506ms 06 8 27s563ms 3s445ms 07 5 21s744ms 4s348ms 08 9 19s20ms 2s113ms 09 13 40s416ms 3s108ms 10 6 13s633ms 2s272ms 11 7 13s921ms 1s988ms 12 8 15s622ms 1s952ms 13 5 14s230ms 2s846ms 14 8 15s810ms 1s976ms 15 4 7s394ms 1s848ms 16 12 28s193ms 2s349ms 17 3 6s683ms 2s227ms 18 6 15s824ms 2s637ms 19 4 8s429ms 2s107ms 20 4 9s464ms 2s366ms 21 4 9s627ms 2s406ms 22 4 13s395ms 3s348ms 23 4 8s523ms 2s130ms Jun 18 00 7 16s718ms 2s388ms 01 55 2m36s 2s854ms 02 110 6m5s 3s324ms 03 33 1m44s 3s172ms [ User: pubeu - Total duration: 7m28s - Times executed: 158 ]
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '555263' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '555263') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-06-15 21:33:41 Duration: 12s827ms Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '596649' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '596649') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-06-15 21:33:24 Duration: 12s389ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '313082' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '313082') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-06-15 21:33:26 Duration: 12s143ms Database: ctdprd51 User: pubeu Bind query: yes
14 28m52s 1,104 1s472ms 6s441ms 1s569ms 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 #14
Day Hour Count Duration Avg duration Jun 15 00 4 6s77ms 1s519ms 01 4 6s196ms 1s549ms 02 2 3s307ms 1s653ms 03 1 1s502ms 1s502ms 04 12 18s553ms 1s546ms 05 9 13s992ms 1s554ms 06 28 43s605ms 1s557ms 07 54 1m23s 1s544ms 08 48 1m14s 1s560ms 09 49 1m17s 1s576ms 10 45 1m10s 1s565ms 11 44 1m9s 1s577ms 12 22 35s132ms 1s596ms 13 11 17s271ms 1s570ms 14 3 4s619ms 1s539ms 15 12 18s730ms 1s560ms 16 20 31s478ms 1s573ms 17 13 20s165ms 1s551ms 18 6 9s418ms 1s569ms 19 8 12s559ms 1s569ms 20 7 10s966ms 1s566ms 21 6 15s464ms 2s577ms 23 3 4s605ms 1s535ms Jun 16 00 4 6s83ms 1s520ms 01 10 15s436ms 1s543ms 02 11 16s993ms 1s544ms 03 22 34s415ms 1s564ms 04 36 55s305ms 1s536ms 05 30 46s317ms 1s543ms 06 7 10s933ms 1s561ms 07 8 12s535ms 1s566ms 08 9 14s209ms 1s578ms 09 25 39s59ms 1s562ms 10 23 36s30ms 1s566ms 11 12 18s775ms 1s564ms 12 21 35s156ms 1s674ms 13 18 27s764ms 1s542ms 14 30 46s710ms 1s557ms 15 11 16s830ms 1s530ms 16 8 12s297ms 1s537ms 17 15 23s624ms 1s574ms 18 20 31s392ms 1s569ms 19 26 41s133ms 1s582ms 20 12 18s701ms 1s558ms 21 16 25s193ms 1s574ms 22 6 9s210ms 1s535ms 23 28 44s258ms 1s580ms Jun 17 00 10 15s838ms 1s583ms 01 7 11s9ms 1s572ms 02 6 9s354ms 1s559ms 03 8 12s369ms 1s546ms 04 21 32s512ms 1s548ms 05 6 9s369ms 1s561ms 06 16 25s294ms 1s580ms 07 38 1m 1s580ms 08 9 14s569ms 1s618ms 09 14 21s849ms 1s560ms 10 11 16s993ms 1s544ms 11 19 29s437ms 1s549ms 12 10 15s572ms 1s557ms 13 2 3s8ms 1s504ms 14 10 15s507ms 1s550ms 15 13 20s48ms 1s542ms 16 14 21s646ms 1s546ms 17 8 12s370ms 1s546ms 18 7 10s915ms 1s559ms 19 9 13s989ms 1s554ms 20 8 12s258ms 1s532ms 21 7 10s904ms 1s557ms 22 6 9s218ms 1s536ms 23 3 4s665ms 1s555ms Jun 18 00 4 6s286ms 1s571ms 01 8 12s139ms 1s517ms 02 9 14s499ms 1s611ms 03 2 3s76ms 1s538ms [ User: pubeu - Total duration: 4m27s - Times executed: 170 ]
-
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-06-15 21:33:38 Duration: 6s441ms 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-06-16 12:14:48 Duration: 3s318ms 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-06-15 09:56:36 Duration: 2s824ms Bind query: yes
15 27m2s 1,214 1s159ms 3s178ms 1s336ms 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 #15
Day Hour Count Duration Avg duration Jun 15 00 17 23s580ms 1s387ms 01 11 15s38ms 1s367ms 02 13 17s446ms 1s342ms 03 16 22s471ms 1s404ms 04 13 17s651ms 1s357ms 05 33 46s855ms 1s419ms 06 12 15s775ms 1s314ms 07 22 28s661ms 1s302ms 08 12 15s285ms 1s273ms 09 16 20s741ms 1s296ms 10 30 38s128ms 1s270ms 11 25 33s328ms 1s333ms 12 15 20s597ms 1s373ms 13 12 15s916ms 1s326ms 14 21 27s701ms 1s319ms 15 25 31s898ms 1s275ms 16 21 27s121ms 1s291ms 17 18 24s711ms 1s372ms 18 23 31s581ms 1s373ms 19 24 31s651ms 1s318ms 20 9 11s802ms 1s311ms 21 2 2s674ms 1s337ms 23 2 2s599ms 1s299ms Jun 16 00 7 8s819ms 1s259ms 01 12 15s211ms 1s267ms 02 18 23s399ms 1s299ms 03 14 18s345ms 1s310ms 04 21 27s111ms 1s291ms 05 16 21s252ms 1s328ms 06 20 26s674ms 1s333ms 07 9 12s22ms 1s335ms 08 14 18s931ms 1s352ms 09 23 30s943ms 1s345ms 10 13 16s951ms 1s303ms 11 10 13s303ms 1s330ms 12 24 32s213ms 1s342ms 13 17 22s379ms 1s316ms 14 18 23s656ms 1s314ms 15 18 23s446ms 1s302ms 16 18 23s917ms 1s328ms 17 11 15s106ms 1s373ms 18 19 25s470ms 1s340ms 19 15 20s108ms 1s340ms 20 8 12s46ms 1s505ms 21 13 17s102ms 1s315ms 22 14 18s916ms 1s351ms 23 16 21s672ms 1s354ms Jun 17 00 16 21s253ms 1s328ms 01 20 26s792ms 1s339ms 02 20 28s493ms 1s424ms 03 11 14s891ms 1s353ms 04 16 21s903ms 1s368ms 05 23 34s240ms 1s488ms 06 27 37s744ms 1s397ms 07 17 23s243ms 1s367ms 08 21 29s551ms 1s407ms 09 27 34s751ms 1s287ms 10 21 27s905ms 1s328ms 11 15 19s299ms 1s286ms 12 27 36s165ms 1s339ms 13 9 11s448ms 1s272ms 14 13 16s740ms 1s287ms 15 25 32s486ms 1s299ms 16 10 13s171ms 1s317ms 17 4 6s342ms 1s585ms 18 11 14s106ms 1s282ms 19 12 15s533ms 1s294ms 20 8 10s303ms 1s287ms 21 20 26s691ms 1s334ms 22 18 23s879ms 1s326ms 23 7 9s361ms 1s337ms Jun 18 00 19 25s27ms 1s317ms 01 15 20s125ms 1s341ms 02 14 18s298ms 1s307ms 03 8 10s814ms 1s351ms [ User: pubeu - Total duration: 4m20s - Times executed: 190 ]
-
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 = '2102978') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2102978') 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-06-17 05:47:25 Duration: 3s178ms 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 = '2105236') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2105236') 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-06-15 05:13:26 Duration: 3s80ms 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 = '2100088') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2100088') 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-06-17 17:17:05 Duration: 2s435ms Bind query: yes
16 25m47s 252 1s12ms 20s449ms 6s139ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where phenotypeterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and associatedterm.object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jun 15 01 3 7s708ms 2s569ms 02 1 3s315ms 3s315ms 03 2 3s933ms 1s966ms 05 3 22s425ms 7s475ms 06 3 8s281ms 2s760ms 07 1 2s566ms 2s566ms 08 1 1s542ms 1s542ms 09 4 7s749ms 1s937ms 10 1 4s112ms 4s112ms 11 2 2s593ms 1s296ms 13 5 20s634ms 4s126ms 14 4 21s70ms 5s267ms 15 2 4s108ms 2s54ms 16 2 19s501ms 9s750ms 17 2 20s220ms 10s110ms 18 7 37s51ms 5s293ms 19 3 37s410ms 12s470ms 23 1 16s788ms 16s788ms Jun 16 00 3 30s571ms 10s190ms 01 1 1s107ms 1s107ms 02 1 1s198ms 1s198ms 03 5 11s949ms 2s389ms 04 2 22s911ms 11s455ms 05 4 20s251ms 5s62ms 06 5 7s472ms 1s494ms 07 2 18s588ms 9s294ms 08 5 44s693ms 8s938ms 09 4 16s252ms 4s63ms 10 5 58s788ms 11s757ms 11 1 6s13ms 6s13ms 13 3 11s63ms 3s687ms 14 3 37s669ms 12s556ms 15 5 15s661ms 3s132ms 16 3 22s199ms 7s399ms 17 10 1m13s 7s386ms 18 4 7s990ms 1s997ms 19 13 1m16s 5s882ms 20 4 37s386ms 9s346ms 21 4 26s801ms 6s700ms 22 2 7s755ms 3s877ms 23 4 4s683ms 1s170ms Jun 17 00 5 1m 12s118ms 01 5 37s957ms 7s591ms 02 4 24s314ms 6s78ms 03 1 5s118ms 5s118ms 04 5 42s258ms 8s451ms 05 6 26s44ms 4s340ms 06 4 9s276ms 2s319ms 07 5 36s 7s200ms 08 7 59s111ms 8s444ms 09 4 6s202ms 1s550ms 10 2 2s836ms 1s418ms 11 7 46s122ms 6s588ms 12 1 1s523ms 1s523ms 13 5 33s463ms 6s692ms 14 2 11s346ms 5s673ms 15 3 36s383ms 12s127ms 16 2 9s912ms 4s956ms 17 5 33s76ms 6s615ms 18 4 42s670ms 10s667ms 19 3 26s57ms 8s685ms 20 3 14s909ms 4s969ms 21 7 29s605ms 4s229ms 22 5 30s133ms 6s26ms 23 3 15s104ms 5s34ms Jun 18 00 3 4s955ms 1s651ms 01 6 1m5s 10s833ms 02 4 32s214ms 8s53ms 03 1 2s552ms 2s552ms [ User: pubeu - Total duration: 3m - Times executed: 41 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1234207'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-06-17 08:27:13 Duration: 20s449ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1234207'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-06-17 05:19:15 Duration: 20s51ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1234207'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-06-15 17:26:07 Duration: 19s167ms Database: ctdprd51 User: pubeu Bind query: yes
17 24m17s 84 1s59ms 1m15s 17s352ms 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 gd.network_score nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jun 15 01 2 4s198ms 2s99ms 10 4 1m4s 16s178ms 11 2 32s151ms 16s75ms 15 2 10s463ms 5s231ms 16 5 1m20s 16s45ms 17 1 15s530ms 15s530ms 19 2 8s149ms 4s74ms Jun 16 02 2 10s81ms 5s40ms 03 2 4s565ms 2s282ms 04 4 1m2s 15s723ms 05 2 31s679ms 15s839ms 10 2 4s346ms 2s173ms 12 6 3m42s 37s131ms 14 2 8s174ms 4s87ms 16 2 3s563ms 1s781ms 17 6 2m58s 29s757ms 23 5 57s407ms 11s481ms Jun 17 00 2 35s516ms 17s758ms 02 6 2m24s 24s118ms 05 1 1s59ms 1s59ms 07 4 1m7s 16s810ms 08 2 34s781ms 17s390ms 13 4 1m4s 16s232ms 14 2 1m1s 30s992ms 16 1 16s487ms 16s487ms 17 5 2m17s 27s425ms Jun 18 00 5 1m19s 15s803ms 01 1 15s239ms 15s239ms [ User: pubeu - Total duration: 4m46s - Times executed: 13 ]
-
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 = '2107033') ORDER BY gd.network_score NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-06-16 12:36:03 Duration: 1m15s 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 = '2096635') ORDER BY gd.network_score NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-06-16 17:05:24 Duration: 1m8s 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 = '2105795') ORDER BY gd.network_score NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-06-17 02:42:48 Duration: 45s91ms Bind query: yes
18 22m2s 296 1s2ms 32s736ms 4s468ms 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 #18
Day Hour Count Duration Avg duration Jun 15 00 3 8s79ms 2s693ms 01 3 9s835ms 3s278ms 02 1 1s82ms 1s82ms 03 9 27s808ms 3s89ms 04 3 9s530ms 3s176ms 05 7 11s546ms 1s649ms 07 8 42s315ms 5s289ms 08 6 20s139ms 3s356ms 09 1 4s872ms 4s872ms 10 6 40s396ms 6s732ms 11 1 1s256ms 1s256ms 12 3 12s739ms 4s246ms 13 9 40s109ms 4s456ms 14 5 26s763ms 5s352ms 15 12 54s519ms 4s543ms 16 2 6s599ms 3s299ms 17 1 2s532ms 2s532ms 18 9 11s766ms 1s307ms 19 4 14s190ms 3s547ms 21 1 32s736ms 32s736ms 23 1 1s15ms 1s15ms Jun 16 00 3 16s249ms 5s416ms 01 2 2s141ms 1s70ms 02 7 29s262ms 4s180ms 03 5 21s49ms 4s209ms 04 7 30s876ms 4s410ms 05 3 3s172ms 1s57ms 06 3 3s415ms 1s138ms 08 2 12s723ms 6s361ms 10 6 32s465ms 5s410ms 11 6 18s484ms 3s80ms 12 3 16s707ms 5s569ms 13 1 5s586ms 5s586ms 14 1 6s825ms 6s825ms 15 9 43s176ms 4s797ms 16 4 20s266ms 5s66ms 17 2 2s184ms 1s92ms 18 3 12s712ms 4s237ms 19 4 12s995ms 3s248ms 20 1 1s90ms 1s90ms 21 3 12s102ms 4s34ms 22 2 12s138ms 6s69ms 23 9 40s801ms 4s533ms Jun 17 00 1 5s922ms 5s922ms 01 3 17s749ms 5s916ms 02 3 14s365ms 4s788ms 03 6 35s649ms 5s941ms 04 2 12s861ms 6s430ms 05 11 46s39ms 4s185ms 06 1 1s111ms 1s111ms 07 5 30s4ms 6s 08 5 21s590ms 4s318ms 09 19 1m40s 5s299ms 10 5 21s164ms 4s232ms 11 1 1s28ms 1s28ms 12 3 14s7ms 4s669ms 13 8 33s247ms 4s155ms 14 2 6s57ms 3s28ms 16 3 7s648ms 2s549ms 18 1 1s31ms 1s31ms 21 10 1m1s 6s128ms 22 9 59s177ms 6s575ms 23 11 1m6s 6s67ms Jun 18 00 2 10s809ms 5s404ms 01 2 11s649ms 5s824ms 02 1 5s628ms 5s628ms 03 1 1s17ms 1s17ms [ User: pubeu - Total duration: 4m32s - Times executed: 48 ]
[ User: qaeu - Total duration: 3s335ms - Times executed: 3 ]
-
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 = '1435534' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-06-15 21:33:45 Duration: 32s736ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1290778' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-06-16 12:45:20 Duration: 14s673ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1289572' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-06-15 10:04:17 Duration: 13s132ms Bind query: yes
19 22m1s 38 1s7ms 1m28s 34s776ms select r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refacc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, count(*) over () fullrowcount from reference r where r.id in ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?)) order by r.sort_txt limit ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jun 15 06 4 3m20s 50s111ms 07 2 1m42s 51s191ms 15 1 3s274ms 3s274ms 21 2 2s231ms 1s115ms 23 2 2s67ms 1s33ms Jun 16 02 2 1m35s 47s588ms 03 10 6m37s 39s784ms 06 3 3m7s 1m2s 09 2 5s366ms 2s683ms 17 3 2m22s 47s470ms Jun 17 05 1 45s659ms 45s659ms 07 1 2s646ms 2s646ms 13 1 58s705ms 58s705ms 18 2 4s583ms 2s291ms 23 1 41s888ms 41s888ms Jun 18 02 1 29s270ms 29s270ms [ User: pubeu - Total duration: 6m18s - Times executed: 10 ]
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1285584')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-06-16 06:59:38 Duration: 1m28s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1438472')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-06-16 17:58:15 Duration: 1m24s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1248153')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-06-17 13:42:35 Duration: 58s705ms Bind query: yes
20 12m1s 278 1s3ms 4s234ms 2s593ms 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 #20
Day Hour Count Duration Avg duration Jun 15 02 2 5s961ms 2s980ms 03 3 8s806ms 2s935ms 05 5 14s504ms 2s900ms 06 2 5s156ms 2s578ms 08 3 7s614ms 2s538ms 09 2 5s337ms 2s668ms 10 1 3s274ms 3s274ms 11 2 6s127ms 3s63ms 12 1 2s261ms 2s261ms 13 3 6s875ms 2s291ms 14 2 4s955ms 2s477ms 15 1 2s803ms 2s803ms 16 1 3s700ms 3s700ms 17 2 6s294ms 3s147ms 18 3 8s696ms 2s898ms 19 5 14s86ms 2s817ms 20 2 6s380ms 3s190ms 23 1 2s769ms 2s769ms Jun 16 00 1 2s124ms 2s124ms 01 1 3s231ms 3s231ms 02 2 5s355ms 2s677ms 04 3 7s600ms 2s533ms 05 6 13s842ms 2s307ms 06 1 1s984ms 1s984ms 07 1 2s828ms 2s828ms 09 4 12s371ms 3s92ms 10 1 2s534ms 2s534ms 11 3 9s411ms 3s137ms 12 3 8s679ms 2s893ms 14 4 11s213ms 2s803ms 15 2 4s206ms 2s103ms 17 3 9s473ms 3s157ms 18 1 2s15ms 2s15ms 20 2 5s648ms 2s824ms 22 1 2s244ms 2s244ms 23 3 8s140ms 2s713ms Jun 17 00 3 8s585ms 2s861ms 01 2 5s920ms 2s960ms 02 3 10s418ms 3s472ms 04 5 14s988ms 2s997ms 05 7 21s609ms 3s87ms 08 4 14s571ms 3s642ms 09 3 9s116ms 3s38ms 11 1 3s412ms 3s412ms 13 2 5s349ms 2s674ms 14 2 4s355ms 2s177ms 16 2 3s849ms 1s924ms 19 1 3s252ms 3s252ms 21 2 4s487ms 2s243ms 22 1 1s752ms 1s752ms 23 4 9s1ms 2s250ms Jun 18 00 4 9s242ms 2s310ms 01 40 1m35s 2s398ms 02 83 3m24s 2s463ms 03 26 1m2s 2s393ms [ User: pubeu - Total duration: 1m53s - Times executed: 39 ]
[ User: qaeu - Total duration: 10s525ms - Times executed: 3 ]
-
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 = '660706' 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-06-17 08:05:37 Duration: 4s234ms 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 = '599193' 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-06-15 09:55:36 Duration: 4s188ms 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 = '660706' 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-06-15 18:59:20 Duration: 3s811ms Database: ctdprd51 User: pubeu Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 120,708 2d24m3s 1s180ms 7s995ms 1s443ms 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 #1
Day Hour Count Duration Avg duration Jun 15 03 1 1s588ms 1s588ms 04 914 22m3s 1s448ms 05 1,544 37m34s 1s460ms 06 1,286 30m23s 1s417ms 07 1 1s293ms 1s293ms 08 1 1s634ms 1s634ms 09 1 1s434ms 1s434ms 11 1,646 39m25s 1s437ms 12 1,812 43m11s 1s429ms 13 27 37s680ms 1s395ms 14 15 21s100ms 1s406ms 15 15 21s893ms 1s459ms 16 1,555 37m2s 1s429ms 17 4,049 1h36m11s 1s425ms 18 4,128 1h38m13s 1s427ms 19 2,692 1h4m8s 1s429ms 20 2,721 1h8m22s 1s507ms 21 536 24m58s 2s795ms 22 1 1s442ms 1s442ms 23 923 25m39s 1s667ms Jun 16 00 2,218 51m10s 1s384ms 01 2,660 1h11s 1s357ms 02 981 22m17s 1s363ms 03 1,601 36m44s 1s376ms 04 519 11m47s 1s363ms 05 428 9m41s 1s358ms 06 2,092 47m53s 1s373ms 07 2,397 56m16s 1s408ms 08 2,346 56m47s 1s452ms 09 1,750 41m53s 1s436ms 10 805 19m8s 1s426ms 11 1,785 42m10s 1s417ms 12 2,958 1h12m51s 1s477ms 13 2,897 1h10m21s 1s457ms 14 2,673 1h1m11s 1s373ms 15 2,690 1h38s 1s352ms 16 2,997 1h13m23s 1s469ms 17 3,140 1h16m57s 1s470ms 18 3,648 1h26m5s 1s416ms 19 3,172 1h15m20s 1s425ms 20 3,329 1h19m23s 1s431ms 21 4,224 1h37m3s 1s378ms 22 2,584 1h2m6s 1s441ms 23 3,060 1h15m10s 1s473ms Jun 17 00 4,064 1h40m 1s476ms 01 3,759 1h31m7s 1s454ms 02 3,482 1h25m28s 1s472ms 03 3,340 1h20m40s 1s449ms 04 4,036 1h34m58s 1s412ms 05 4,262 1h46m59s 1s506ms 06 4,303 1h45m20s 1s468ms 07 3,984 1h35m9s 1s433ms 08 4,283 1h43m36s 1s451ms 09 50 1m6s 1s326ms 12 6 8s878ms 1s479ms 13 2 2s826ms 1s413ms 16 1 1s357ms 1s357ms 17 1 1s447ms 1s447ms 22 2 2s953ms 1s476ms Jun 18 00 5 7s153ms 1s430ms 01 1,324 32m3s 1s452ms 02 2,335 55m56s 1s437ms 03 647 15m50s 1s469ms [ User: pubeu - Total duration: 6h31m2s - Times executed: 15240 ]
-
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-06-15 21:33:42 Duration: 7s995ms 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-06-15 21:33:43 Duration: 7s968ms 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-06-15 21:33:43 Duration: 7s836ms Bind query: yes
2 13,897 4h41m19s 1s28ms 10s694ms 1s214ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where exposuremarkerterm.id = ? or receptorterm.id = ? group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jun 15 00 193 3m55s 1s220ms 01 198 3m58s 1s204ms 02 176 3m35s 1s221ms 03 196 3m57s 1s211ms 04 206 4m10s 1s213ms 05 264 5m26s 1s235ms 06 283 5m37s 1s192ms 07 193 3m47s 1s179ms 08 197 3m48s 1s158ms 09 176 3m28s 1s184ms 10 229 4m27s 1s169ms 11 273 5m26s 1s196ms 12 228 4m30s 1s188ms 13 178 3m27s 1s164ms 14 151 2m52s 1s140ms 15 172 3m21s 1s174ms 16 298 5m51s 1s180ms 17 274 5m29s 1s203ms 18 172 3m27s 1s204ms 19 202 4m2s 1s199ms 20 115 2m24s 1s258ms 21 72 3m33s 2s960ms 23 35 49s673ms 1s419ms Jun 16 00 105 2m 1s144ms 01 124 2m23s 1s154ms 02 147 2m50s 1s158ms 03 288 5m34s 1s161ms 04 176 3m23s 1s154ms 05 133 2m35s 1s170ms 06 167 3m18s 1s187ms 07 108 2m9s 1s198ms 08 197 3m59s 1s218ms 09 226 4m31s 1s202ms 10 251 5m6s 1s220ms 11 183 3m43s 1s222ms 12 203 4m22s 1s294ms 13 139 3m5s 1s331ms 14 339 6m41s 1s183ms 15 147 2m50s 1s160ms 16 193 3m56s 1s225ms 17 204 4m12s 1s235ms 18 218 4m20s 1s195ms 19 338 6m52s 1s221ms 20 157 3m16s 1s252ms 21 132 2m38s 1s198ms 22 167 3m23s 1s216ms 23 366 7m37s 1s249ms Jun 17 00 243 5m2s 1s243ms 01 185 3m45s 1s217ms 02 178 3m41s 1s243ms 03 308 6m24s 1s249ms 04 340 6m53s 1s216ms 05 189 3m58s 1s263ms 06 150 3m7s 1s253ms 07 396 8m7s 1s230ms 08 183 3m49s 1s255ms 09 194 3m52s 1s200ms 10 215 4m11s 1s171ms 11 166 3m12s 1s160ms 12 182 3m36s 1s187ms 13 126 2m26s 1s164ms 14 146 2m49s 1s160ms 15 118 2m17s 1s167ms 16 86 1m40s 1s173ms 17 62 1m19s 1s278ms 18 52 1m1s 1s178ms 19 49 56s612ms 1s155ms 20 78 1m31s 1s178ms 21 76 1m31s 1s198ms 22 112 2m14s 1s196ms 23 134 2m41s 1s204ms Jun 18 00 246 4m51s 1s185ms 01 216 4m19s 1s203ms 02 207 4m4s 1s181ms 03 71 1m25s 1s203ms [ User: pubeu - Total duration: 44m1s - Times executed: 2092 ]
[ User: qaeu - Total duration: 1s322ms - 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 = '1579657' or receptorTerm.id = '1579657' 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-06-15 21:33:36 Duration: 10s694ms 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 = '1782138' or receptorTerm.id = '1782138' 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-06-15 21:33:46 Duration: 9s964ms 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 = '2039692' or receptorTerm.id = '2039692' 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-06-15 21:33:50 Duration: 9s310ms Bind query: yes
3 2,328 52m33s 1s150ms 10s296ms 1s354ms 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 Jun 15 00 29 38s689ms 1s334ms 01 31 41s751ms 1s346ms 02 37 50s998ms 1s378ms 03 48 1m8s 1s419ms 04 39 54s570ms 1s399ms 05 37 50s190ms 1s356ms 06 40 52s440ms 1s311ms 07 32 41s936ms 1s310ms 08 25 32s193ms 1s287ms 09 36 45s927ms 1s275ms 10 31 40s400ms 1s303ms 11 38 51s581ms 1s357ms 12 31 40s655ms 1s311ms 13 38 50s271ms 1s322ms 14 28 37s254ms 1s330ms 15 44 57s695ms 1s311ms 16 38 51s963ms 1s367ms 17 18 24s283ms 1s349ms 18 29 42s541ms 1s466ms 19 30 40s768ms 1s358ms 20 21 30s643ms 1s459ms 21 7 18s883ms 2s697ms 23 6 7s760ms 1s293ms Jun 16 00 9 11s846ms 1s316ms 01 34 43s281ms 1s272ms 02 27 35s446ms 1s312ms 03 25 32s705ms 1s308ms 04 30 38s83ms 1s269ms 05 32 40s599ms 1s268ms 06 28 36s785ms 1s313ms 07 18 23s436ms 1s302ms 08 47 1m2s 1s335ms 09 32 42s317ms 1s322ms 10 26 35s103ms 1s350ms 11 22 29s826ms 1s355ms 12 33 52s798ms 1s599ms 13 23 30s264ms 1s315ms 14 44 58s555ms 1s330ms 15 28 36s437ms 1s301ms 16 49 1m6s 1s347ms 17 51 1m9s 1s359ms 18 30 39s909ms 1s330ms 19 43 1m1s 1s437ms 20 25 33s917ms 1s356ms 21 20 27s162ms 1s358ms 22 45 1m1s 1s376ms 23 44 1m 1s374ms Jun 17 00 33 46s81ms 1s396ms 01 20 26s567ms 1s328ms 02 37 53s684ms 1s450ms 03 43 57s410ms 1s335ms 04 36 49s61ms 1s362ms 05 33 44s483ms 1s347ms 06 32 43s392ms 1s356ms 07 24 34s769ms 1s448ms 08 41 58s637ms 1s430ms 09 28 37s894ms 1s353ms 10 43 56s690ms 1s318ms 11 37 46s878ms 1s266ms 12 36 47s189ms 1s310ms 13 44 57s860ms 1s315ms 14 41 58s257ms 1s420ms 15 32 41s874ms 1s308ms 16 21 27s449ms 1s307ms 17 23 39s698ms 1s726ms 18 14 17s617ms 1s258ms 19 9 11s162ms 1s240ms 20 8 10s232ms 1s279ms 21 30 39s618ms 1s320ms 22 22 29s296ms 1s331ms 23 30 39s520ms 1s317ms Jun 18 00 45 59s491ms 1s322ms 01 41 53s678ms 1s309ms 02 37 49s94ms 1s326ms 03 10 13s135ms 1s313ms [ User: pubeu - Total duration: 8m39s - Times executed: 362 ]
-
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 = '1273502') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1273502') 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-06-15 21:33:23 Duration: 10s296ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1242708') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1242708') 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-06-16 12:14:41 Duration: 5s759ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1260132') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1260132') 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-06-17 17:15:07 Duration: 5s512ms Database: ctdprd51 User: pubeu Bind query: yes
4 2,101 53m59s 1s238ms 7s738ms 1s541ms select ;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jun 15 04 9 14s99ms 1s566ms 05 7 10s481ms 1s497ms 06 7 10s645ms 1s520ms 11 30 45s885ms 1s529ms 12 39 58s563ms 1s501ms 16 24 36s977ms 1s540ms 17 68 1m41s 1s499ms 18 90 2m15s 1s502ms 19 31 46s299ms 1s493ms 20 52 1m19s 1s538ms 21 41 1m29s 2s180ms 23 18 47s978ms 2s665ms Jun 16 00 43 1m4s 1s498ms 01 29 41s705ms 1s438ms 02 10 14s338ms 1s433ms 03 13 18s394ms 1s414ms 04 6 8s726ms 1s454ms 05 2 2s642ms 1s321ms 06 25 37s50ms 1s482ms 07 34 51s974ms 1s528ms 08 48 1m15s 1s572ms 09 26 40s43ms 1s540ms 10 14 21s93ms 1s506ms 11 23 34s68ms 1s481ms 12 49 1m18s 1s599ms 13 40 1m 1s500ms 14 33 48s562ms 1s471ms 15 28 39s642ms 1s415ms 16 46 1m12s 1s567ms 17 68 1m48s 1s594ms 18 66 1m37s 1s484ms 19 47 1m9s 1s483ms 20 66 1m37s 1s477ms 21 75 1m49s 1s462ms 22 50 1m15s 1s512ms 23 84 2m11s 1s567ms Jun 17 00 106 2m50s 1s609ms 01 70 1m46s 1s526ms 02 58 1m30s 1s564ms 03 47 1m11s 1s515ms 04 67 1m38s 1s473ms 05 85 2m10s 1s540ms 06 77 1m57s 1s520ms 07 86 2m9s 1s503ms 08 107 2m42s 1s515ms Jun 18 01 20 30s222ms 1s511ms 02 28 41s713ms 1s489ms 03 9 13s261ms 1s473ms [ User: pubeu - Total duration: 7m38s - Times executed: 276 ]
-
SELECT /* GeneBrowseTermsDAO */ ;
Date: 2025-06-15 21:33:19 Duration: 7s738ms Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ ;
Date: 2025-06-15 23:30:15 Duration: 7s513ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ ;
Date: 2025-06-15 23:30:15 Duration: 7s196ms Database: ctdprd51 User: pubeu Bind query: yes
5 1,214 27m2s 1s159ms 3s178ms 1s336ms 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 Jun 15 00 17 23s580ms 1s387ms 01 11 15s38ms 1s367ms 02 13 17s446ms 1s342ms 03 16 22s471ms 1s404ms 04 13 17s651ms 1s357ms 05 33 46s855ms 1s419ms 06 12 15s775ms 1s314ms 07 22 28s661ms 1s302ms 08 12 15s285ms 1s273ms 09 16 20s741ms 1s296ms 10 30 38s128ms 1s270ms 11 25 33s328ms 1s333ms 12 15 20s597ms 1s373ms 13 12 15s916ms 1s326ms 14 21 27s701ms 1s319ms 15 25 31s898ms 1s275ms 16 21 27s121ms 1s291ms 17 18 24s711ms 1s372ms 18 23 31s581ms 1s373ms 19 24 31s651ms 1s318ms 20 9 11s802ms 1s311ms 21 2 2s674ms 1s337ms 23 2 2s599ms 1s299ms Jun 16 00 7 8s819ms 1s259ms 01 12 15s211ms 1s267ms 02 18 23s399ms 1s299ms 03 14 18s345ms 1s310ms 04 21 27s111ms 1s291ms 05 16 21s252ms 1s328ms 06 20 26s674ms 1s333ms 07 9 12s22ms 1s335ms 08 14 18s931ms 1s352ms 09 23 30s943ms 1s345ms 10 13 16s951ms 1s303ms 11 10 13s303ms 1s330ms 12 24 32s213ms 1s342ms 13 17 22s379ms 1s316ms 14 18 23s656ms 1s314ms 15 18 23s446ms 1s302ms 16 18 23s917ms 1s328ms 17 11 15s106ms 1s373ms 18 19 25s470ms 1s340ms 19 15 20s108ms 1s340ms 20 8 12s46ms 1s505ms 21 13 17s102ms 1s315ms 22 14 18s916ms 1s351ms 23 16 21s672ms 1s354ms Jun 17 00 16 21s253ms 1s328ms 01 20 26s792ms 1s339ms 02 20 28s493ms 1s424ms 03 11 14s891ms 1s353ms 04 16 21s903ms 1s368ms 05 23 34s240ms 1s488ms 06 27 37s744ms 1s397ms 07 17 23s243ms 1s367ms 08 21 29s551ms 1s407ms 09 27 34s751ms 1s287ms 10 21 27s905ms 1s328ms 11 15 19s299ms 1s286ms 12 27 36s165ms 1s339ms 13 9 11s448ms 1s272ms 14 13 16s740ms 1s287ms 15 25 32s486ms 1s299ms 16 10 13s171ms 1s317ms 17 4 6s342ms 1s585ms 18 11 14s106ms 1s282ms 19 12 15s533ms 1s294ms 20 8 10s303ms 1s287ms 21 20 26s691ms 1s334ms 22 18 23s879ms 1s326ms 23 7 9s361ms 1s337ms Jun 18 00 19 25s27ms 1s317ms 01 15 20s125ms 1s341ms 02 14 18s298ms 1s307ms 03 8 10s814ms 1s351ms [ User: pubeu - Total duration: 4m20s - Times executed: 190 ]
-
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 = '2102978') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2102978') 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-06-17 05:47:25 Duration: 3s178ms 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 = '2105236') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2105236') 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-06-15 05:13:26 Duration: 3s80ms 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 = '2100088') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2100088') 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-06-17 17:17:05 Duration: 2s435ms Bind query: yes
6 1,156 1h2m42s 1s 8s721ms 3s254ms 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 #6
Day Hour Count Duration Avg duration Jun 15 00 7 29s375ms 4s196ms 01 10 33s639ms 3s363ms 02 13 41s759ms 3s212ms 03 12 35s896ms 2s991ms 04 16 1m 3s775ms 05 10 34s787ms 3s478ms 06 11 35s240ms 3s203ms 07 9 27s351ms 3s39ms 08 3 9s887ms 3s295ms 09 10 28s296ms 2s829ms 10 10 42s252ms 4s225ms 11 13 44s965ms 3s458ms 12 9 33s88ms 3s676ms 13 19 43s984ms 2s314ms 14 14 52s444ms 3s746ms 15 32 1m43s 3s244ms 16 16 49s804ms 3s112ms 17 20 1m4s 3s214ms 18 10 40s802ms 4s80ms 19 17 54s468ms 3s204ms 20 11 42s682ms 3s880ms 23 3 5s725ms 1s908ms Jun 16 00 15 41s209ms 2s747ms 01 12 37s177ms 3s98ms 02 16 55s720ms 3s482ms 03 21 1m7s 3s202ms 04 22 55s117ms 2s505ms 05 10 43s133ms 4s313ms 06 6 22s148ms 3s691ms 07 6 21s31ms 3s505ms 08 14 47s227ms 3s373ms 09 11 30s106ms 2s736ms 10 12 25s659ms 2s138ms 11 17 52s787ms 3s105ms 12 11 42s5ms 3s818ms 13 14 42s506ms 3s36ms 14 13 39s729ms 3s56ms 15 35 1m36s 2s768ms 16 28 1m41s 3s616ms 17 5 15s521ms 3s104ms 18 9 31s88ms 3s454ms 19 11 47s310ms 4s300ms 20 16 44s242ms 2s765ms 21 15 58s19ms 3s867ms 22 10 27s99ms 2s709ms 23 17 1m5s 3s834ms Jun 17 00 22 1m26s 3s926ms 01 12 48s949ms 4s79ms 02 15 47s310ms 3s154ms 03 20 56s627ms 2s831ms 04 16 51s755ms 3s234ms 05 19 1m8s 3s593ms 06 21 1m9s 3s326ms 07 25 1m13s 2s945ms 08 27 1m28s 3s285ms 09 32 1m29s 2s788ms 10 31 1m19s 2s572ms 11 13 36s913ms 2s839ms 12 15 56s912ms 3s794ms 13 12 32s856ms 2s738ms 14 25 1m20s 3s236ms 15 22 1m14s 3s371ms 16 22 1m4s 2s948ms 17 11 41s386ms 3s762ms 18 20 58s368ms 2s918ms 19 29 1m32s 3s203ms 20 16 40s942ms 2s558ms 21 15 54s514ms 3s634ms 22 16 47s782ms 2s986ms 23 16 49s681ms 3s105ms Jun 18 00 14 1m 4s322ms 01 25 1m32s 3s690ms 02 20 1m11s 3s552ms 03 4 21s86ms 5s271ms [ User: pubeu - Total duration: 11m1s - Times executed: 202 ]
-
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 = '1411566'))) 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-06-17 23:02:53 Duration: 8s721ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1411566'))) 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-06-17 02:32:00 Duration: 8s386ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1411566'))) 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-06-15 20:04:22 Duration: 8s80ms Bind query: yes
7 1,104 28m52s 1s472ms 6s441ms 1s569ms 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 #7
Day Hour Count Duration Avg duration Jun 15 00 4 6s77ms 1s519ms 01 4 6s196ms 1s549ms 02 2 3s307ms 1s653ms 03 1 1s502ms 1s502ms 04 12 18s553ms 1s546ms 05 9 13s992ms 1s554ms 06 28 43s605ms 1s557ms 07 54 1m23s 1s544ms 08 48 1m14s 1s560ms 09 49 1m17s 1s576ms 10 45 1m10s 1s565ms 11 44 1m9s 1s577ms 12 22 35s132ms 1s596ms 13 11 17s271ms 1s570ms 14 3 4s619ms 1s539ms 15 12 18s730ms 1s560ms 16 20 31s478ms 1s573ms 17 13 20s165ms 1s551ms 18 6 9s418ms 1s569ms 19 8 12s559ms 1s569ms 20 7 10s966ms 1s566ms 21 6 15s464ms 2s577ms 23 3 4s605ms 1s535ms Jun 16 00 4 6s83ms 1s520ms 01 10 15s436ms 1s543ms 02 11 16s993ms 1s544ms 03 22 34s415ms 1s564ms 04 36 55s305ms 1s536ms 05 30 46s317ms 1s543ms 06 7 10s933ms 1s561ms 07 8 12s535ms 1s566ms 08 9 14s209ms 1s578ms 09 25 39s59ms 1s562ms 10 23 36s30ms 1s566ms 11 12 18s775ms 1s564ms 12 21 35s156ms 1s674ms 13 18 27s764ms 1s542ms 14 30 46s710ms 1s557ms 15 11 16s830ms 1s530ms 16 8 12s297ms 1s537ms 17 15 23s624ms 1s574ms 18 20 31s392ms 1s569ms 19 26 41s133ms 1s582ms 20 12 18s701ms 1s558ms 21 16 25s193ms 1s574ms 22 6 9s210ms 1s535ms 23 28 44s258ms 1s580ms Jun 17 00 10 15s838ms 1s583ms 01 7 11s9ms 1s572ms 02 6 9s354ms 1s559ms 03 8 12s369ms 1s546ms 04 21 32s512ms 1s548ms 05 6 9s369ms 1s561ms 06 16 25s294ms 1s580ms 07 38 1m 1s580ms 08 9 14s569ms 1s618ms 09 14 21s849ms 1s560ms 10 11 16s993ms 1s544ms 11 19 29s437ms 1s549ms 12 10 15s572ms 1s557ms 13 2 3s8ms 1s504ms 14 10 15s507ms 1s550ms 15 13 20s48ms 1s542ms 16 14 21s646ms 1s546ms 17 8 12s370ms 1s546ms 18 7 10s915ms 1s559ms 19 9 13s989ms 1s554ms 20 8 12s258ms 1s532ms 21 7 10s904ms 1s557ms 22 6 9s218ms 1s536ms 23 3 4s665ms 1s555ms Jun 18 00 4 6s286ms 1s571ms 01 8 12s139ms 1s517ms 02 9 14s499ms 1s611ms 03 2 3s76ms 1s538ms [ User: pubeu - Total duration: 4m27s - Times executed: 170 ]
-
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-06-15 21:33:38 Duration: 6s441ms 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-06-16 12:14:48 Duration: 3s318ms 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-06-15 09:56:36 Duration: 2s824ms Bind query: yes
8 977 41m30s 1s 11s479ms 2s549ms 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 #8
Day Hour Count Duration Avg duration Jun 15 00 12 30s157ms 2s513ms 01 8 16s998ms 2s124ms 02 6 15s234ms 2s539ms 03 10 26s438ms 2s643ms 04 11 28s236ms 2s566ms 05 7 15s633ms 2s233ms 06 9 23s655ms 2s628ms 07 10 23s674ms 2s367ms 08 9 27s757ms 3s84ms 09 3 10s986ms 3s662ms 10 14 32s644ms 2s331ms 11 11 30s579ms 2s779ms 12 12 29s101ms 2s425ms 13 17 38s925ms 2s289ms 14 8 15s45ms 1s880ms 15 25 57s404ms 2s296ms 16 12 31s435ms 2s619ms 17 5 13s800ms 2s760ms 18 13 28s423ms 2s186ms 19 13 29s385ms 2s260ms 20 8 33s184ms 4s148ms 21 2 10s722ms 5s361ms 23 4 9s460ms 2s365ms Jun 16 00 8 12s594ms 1s574ms 01 10 26s612ms 2s661ms 02 18 39s952ms 2s219ms 03 18 48s658ms 2s703ms 04 19 44s538ms 2s344ms 05 9 22s278ms 2s475ms 06 13 33s320ms 2s563ms 07 10 21s917ms 2s191ms 08 11 31s802ms 2s891ms 09 10 19s575ms 1s957ms 10 10 27s591ms 2s759ms 11 7 15s508ms 2s215ms 12 19 49s906ms 2s626ms 13 16 44s429ms 2s776ms 14 7 17s653ms 2s521ms 15 35 1m24s 2s400ms 16 21 1m3s 3s21ms 17 10 26s373ms 2s637ms 18 14 32s691ms 2s335ms 19 16 40s266ms 2s516ms 20 15 46s843ms 3s122ms 21 14 36s239ms 2s588ms 22 8 25s66ms 3s133ms 23 11 28s999ms 2s636ms Jun 17 00 19 42s839ms 2s254ms 01 17 51s155ms 3s9ms 02 12 27s880ms 2s323ms 03 10 22s68ms 2s206ms 04 8 23s306ms 2s913ms 05 25 1m15s 3s11ms 06 18 43s342ms 2s407ms 07 16 34s35ms 2s127ms 08 22 51s685ms 2s349ms 09 30 1m13s 2s444ms 10 26 1m8s 2s638ms 11 18 40s574ms 2s254ms 12 4 8s851ms 2s212ms 13 14 34s66ms 2s433ms 14 6 7s905ms 1s317ms 15 15 34s397ms 2s293ms 16 15 34s44ms 2s269ms 17 18 59s727ms 3s318ms 18 18 56s227ms 3s123ms 19 14 35s694ms 2s549ms 20 10 26s368ms 2s636ms 21 11 40s862ms 3s714ms 22 10 24s938ms 2s493ms 23 10 26s504ms 2s650ms Jun 18 00 16 39s976ms 2s498ms 01 11 21s758ms 1s978ms 02 17 38s762ms 2s280ms 03 9 27s503ms 3s55ms [ User: pubeu - Total duration: 6m56s - Times executed: 158 ]
-
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 = '1411566') 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 = '1411566') 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-06-18 03:00:24 Duration: 11s479ms 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 = '1449732') 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 = '1449732') 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-06-17 21:48:05 Duration: 10s3ms 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 = '1411566') 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 = '1411566') 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-06-15 20:37:05 Duration: 8s69ms Bind query: yes
9 675 49m37s 1s 25s791ms 4s410ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jun 15 00 3 23s142ms 7s714ms 01 2 3s118ms 1s559ms 02 4 13s713ms 3s428ms 03 1 1s28ms 1s28ms 04 12 57s686ms 4s807ms 05 12 51s1ms 4s250ms 06 9 32s654ms 3s628ms 07 8 17s846ms 2s230ms 08 8 35s549ms 4s443ms 09 2 20s434ms 10s217ms 10 6 44s519ms 7s419ms 11 6 32s428ms 5s404ms 12 6 35s209ms 5s868ms 14 1 4s935ms 4s935ms 15 9 22s981ms 2s553ms 16 10 35s342ms 3s534ms 17 13 58s571ms 4s505ms 18 22 1m13s 3s341ms 19 13 1m9s 5s320ms 20 15 1m27s 5s808ms 21 2 27s202ms 13s601ms 23 7 48s518ms 6s931ms Jun 16 00 7 17s541ms 2s505ms 01 13 59s966ms 4s612ms 02 7 42s780ms 6s111ms 03 13 27s526ms 2s117ms 04 4 24s779ms 6s194ms 05 3 11s188ms 3s729ms 06 5 12s544ms 2s508ms 07 10 28s 2s800ms 08 9 53s55ms 5s895ms 09 11 57s730ms 5s248ms 10 4 19s849ms 4s962ms 11 5 20s848ms 4s169ms 12 12 47s432ms 3s952ms 13 15 1m4s 4s275ms 14 15 59s44ms 3s936ms 15 13 44s679ms 3s436ms 16 15 57s138ms 3s809ms 17 17 1m8s 4s52ms 18 15 45s928ms 3s61ms 19 11 1m17s 7s71ms 20 12 1m26s 7s242ms 21 16 1m9s 4s317ms 22 7 27s254ms 3s893ms 23 8 32s338ms 4s42ms Jun 17 00 14 1m32s 6s606ms 01 16 1m5s 4s87ms 02 14 57s362ms 4s97ms 03 8 32s737ms 4s92ms 04 18 1m11s 3s944ms 05 12 56s146ms 4s678ms 06 20 2m5s 6s283ms 07 16 59s636ms 3s727ms 08 16 1m27s 5s451ms 09 4 8s961ms 2s240ms 10 2 2s962ms 1s481ms 12 4 27s969ms 6s992ms 13 5 23s683ms 4s736ms 14 9 39s344ms 4s371ms 15 8 29s382ms 3s672ms 16 5 18s861ms 3s772ms 17 2 13s650ms 6s825ms 18 1 6s144ms 6s144ms 19 3 8s839ms 2s946ms 20 5 20s498ms 4s99ms 21 6 11s441ms 1s906ms 22 10 58s417ms 5s841ms 23 12 1m7s 5s640ms Jun 18 00 3 13s104ms 4s368ms 01 23 1m1s 2s679ms 02 17 54s578ms 3s210ms 03 4 10s92ms 2s523ms [ User: pubeu - Total duration: 8m7s - Times executed: 106 ]
-
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 = '2106675') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-06-15 21:33:49 Duration: 25s791ms 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 = '2096523') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-06-15 23:30:25 Duration: 16s280ms 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 = '2094859') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-06-15 23:30:24 Duration: 15s740ms Database: ctdprd51 User: pubeu Bind query: yes
10 617 30m40s 1s1ms 12s827ms 2s983ms select * from ( select g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, count(*) over () fullrowcount from term g where g.id in ( select gt.gene_id from dag_path dp inner join gene_taxon gt on dp.descendant_object_id = gt.taxon_id where dp.ancestor_object_id = ? union all select gcr.gene_id from dag_path dp inner join gene_chem_reference gcr on dp.descendant_object_id = gcr.taxon_id where dp.ancestor_object_id = ?) offset ?) mq order by mq.genesymbolsort limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jun 15 00 2 4s436ms 2s218ms 01 5 10s545ms 2s109ms 02 5 12s588ms 2s517ms 03 4 9s456ms 2s364ms 04 6 20s291ms 3s381ms 05 9 25s75ms 2s786ms 06 4 12s79ms 3s19ms 07 3 9s913ms 3s304ms 08 4 11s823ms 2s955ms 09 5 14s42ms 2s808ms 10 1 4s1ms 4s1ms 11 8 27s715ms 3s464ms 12 2 8s685ms 4s342ms 13 5 15s269ms 3s53ms 14 1 1s77ms 1s77ms 16 3 10s200ms 3s400ms 17 6 17s779ms 2s963ms 18 8 15s653ms 1s956ms 19 11 35s87ms 3s189ms 20 5 10s538ms 2s107ms 21 34 2m37s 4s642ms 23 3 18s945ms 6s315ms Jun 16 00 1 1s530ms 1s530ms 01 3 11s701ms 3s900ms 02 2 4s621ms 2s310ms 03 4 13s795ms 3s448ms 04 4 8s299ms 2s74ms 05 2 2s507ms 1s253ms 06 3 15s278ms 5s92ms 07 3 11s651ms 3s883ms 08 5 13s744ms 2s748ms 09 5 18s86ms 3s617ms 10 3 8s450ms 2s816ms 11 7 18s589ms 2s655ms 12 11 33s392ms 3s35ms 13 14 39s838ms 2s845ms 14 2 3s586ms 1s793ms 15 5 18s769ms 3s753ms 16 6 16s546ms 2s757ms 17 9 25s684ms 2s853ms 18 8 21s436ms 2s679ms 19 13 23s466ms 1s805ms 20 4 7s840ms 1s960ms 21 3 4s886ms 1s628ms 22 8 22s807ms 2s850ms 23 6 14s541ms 2s423ms Jun 17 00 4 9s194ms 2s298ms 01 8 20s456ms 2s557ms 02 3 10s811ms 3s603ms 03 7 14s756ms 2s108ms 04 3 10s44ms 3s348ms 05 8 28s50ms 3s506ms 06 8 27s563ms 3s445ms 07 5 21s744ms 4s348ms 08 9 19s20ms 2s113ms 09 13 40s416ms 3s108ms 10 6 13s633ms 2s272ms 11 7 13s921ms 1s988ms 12 8 15s622ms 1s952ms 13 5 14s230ms 2s846ms 14 8 15s810ms 1s976ms 15 4 7s394ms 1s848ms 16 12 28s193ms 2s349ms 17 3 6s683ms 2s227ms 18 6 15s824ms 2s637ms 19 4 8s429ms 2s107ms 20 4 9s464ms 2s366ms 21 4 9s627ms 2s406ms 22 4 13s395ms 3s348ms 23 4 8s523ms 2s130ms Jun 18 00 7 16s718ms 2s388ms 01 55 2m36s 2s854ms 02 110 6m5s 3s324ms 03 33 1m44s 3s172ms [ User: pubeu - Total duration: 7m28s - Times executed: 158 ]
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '555263' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '555263') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-06-15 21:33:41 Duration: 12s827ms Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '596649' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '596649') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-06-15 21:33:24 Duration: 12s389ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '313082' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '313082') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-06-15 21:33:26 Duration: 12s143ms Database: ctdprd51 User: pubeu Bind query: yes
11 484 2h51m44s 1s40ms 1m29s 21s290ms 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 Jun 15 02 5 2m13s 26s704ms 03 4 1m19s 19s797ms 04 11 4m5s 22s311ms 05 10 4m17s 25s787ms 06 3 22s203ms 7s401ms 08 7 2m22s 20s385ms 09 7 2m18s 19s809ms 10 2 31s29ms 15s514ms 11 2 30s17ms 15s8ms 12 6 1m34s 15s764ms 13 9 1m52s 12s514ms 14 17 4m9s 14s649ms 15 10 2m30s 15s89ms 17 5 1m18s 15s672ms 18 9 2m23s 15s925ms 19 11 3m 16s403ms 20 13 4m7s 19s39ms 21 2 1m24s 42s240ms 23 3 45s890ms 15s296ms Jun 16 00 3 49s791ms 16s597ms 01 3 46s607ms 15s535ms 02 10 2m16s 13s608ms 03 1 17s22ms 17s22ms 06 2 32s85ms 16s42ms 07 6 1m39s 16s562ms 08 3 1m23s 27s723ms 09 3 48s874ms 16s291ms 10 14 4m42s 20s158ms 11 9 2m35s 17s307ms 12 12 5m16s 26s391ms 13 16 6m57s 26s65ms 14 2 32s666ms 16s333ms 15 8 2m3s 15s449ms 16 8 2m9s 16s175ms 18 1 2s852ms 2s852ms 19 6 1m34s 15s818ms 20 13 3m48s 17s565ms 21 2 30s223ms 15s111ms 22 3 48s716ms 16s238ms 23 4 1m4s 16s196ms Jun 17 00 2 32s644ms 16s322ms 01 1 1s505ms 1s505ms 02 8 3m58s 29s872ms 03 13 5m21s 24s758ms 04 4 1m5s 16s253ms 05 21 11m4s 31s621ms 06 17 6m37s 23s404ms 07 8 2m10s 16s327ms 08 18 5m58s 19s932ms 09 19 12m33s 39s654ms 10 2 31s874ms 15s937ms 11 4 1m2s 15s601ms 13 6 2m50s 28s416ms 14 4 1m23s 20s911ms 16 14 3m30s 15s39ms 17 11 5m5s 27s785ms 18 8 2m4s 15s588ms 19 5 1m15s 15s135ms 21 16 8m 30s44ms 22 12 5m46s 28s915ms 23 8 3m39s 27s437ms Jun 18 00 3 39s299ms 13s99ms 01 10 2m3s 12s359ms 02 3 2m3s 41s8ms 03 2 33s742ms 16s871ms [ User: pubeu - Total duration: 55m36s - Times executed: 123 ]
-
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 = '2101260') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-06-17 05:30:57 Duration: 1m29s 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 = '2095942') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-06-15 21:34:35 Duration: 1m23s 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 = '2101260') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-06-17 06:01:39 Duration: 1m13s Bind query: yes
12 405 11m26s 1s21ms 2s509ms 1s696ms select c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposurereferencecount, case when cd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from chem_disease_axn a where a.chem_id = cd.chem_id and a.disease_id = cd.disease_id) else null end actiontypes from chem_disease cd inner join term c on cd.chem_id = c.id inner join term d on cd.disease_id = d.id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, cd.network_score desc nulls last, d.nm_sort, c.nm_sort limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jun 15 00 7 10s564ms 1s509ms 01 3 5s284ms 1s761ms 02 2 3s788ms 1s894ms 03 5 9s96ms 1s819ms 04 5 8s723ms 1s744ms 05 3 4s548ms 1s516ms 06 4 6s544ms 1s636ms 07 2 3s338ms 1s669ms 08 3 5s322ms 1s774ms 10 9 15s66ms 1s674ms 11 2 2s794ms 1s397ms 12 7 12s985ms 1s855ms 13 4 6s991ms 1s747ms 14 3 5s312ms 1s770ms 15 7 11s844ms 1s692ms 16 3 5s705ms 1s901ms 17 8 13s139ms 1s642ms 18 6 10s673ms 1s778ms 19 7 13s399ms 1s914ms 20 6 10s27ms 1s671ms Jun 16 00 2 3s237ms 1s618ms 01 5 7s698ms 1s539ms 02 6 10s235ms 1s705ms 03 7 10s803ms 1s543ms 04 6 10s251ms 1s708ms 05 4 6s410ms 1s602ms 06 6 10s946ms 1s824ms 07 2 3s213ms 1s606ms 08 4 8s135ms 2s33ms 09 3 5s870ms 1s956ms 10 4 6s956ms 1s739ms 11 7 11s234ms 1s604ms 12 4 6s904ms 1s726ms 13 4 7s5ms 1s751ms 14 4 5s915ms 1s478ms 15 8 13s480ms 1s685ms 16 7 11s57ms 1s579ms 17 1 1s917ms 1s917ms 18 4 7s80ms 1s770ms 19 7 11s283ms 1s611ms 20 10 17s798ms 1s779ms 21 6 9s801ms 1s633ms 22 11 19s84ms 1s734ms 23 5 8s936ms 1s787ms Jun 17 00 8 13s117ms 1s639ms 01 6 10s900ms 1s816ms 02 6 10s440ms 1s740ms 03 9 14s365ms 1s596ms 04 7 11s905ms 1s700ms 05 3 5s864ms 1s954ms 06 8 13s795ms 1s724ms 07 9 13s995ms 1s555ms 08 6 11s386ms 1s897ms 09 11 18s619ms 1s692ms 10 11 19s831ms 1s802ms 11 7 11s683ms 1s669ms 12 6 10s405ms 1s734ms 13 5 8s404ms 1s680ms 14 5 9s469ms 1s893ms 15 9 14s596ms 1s621ms 16 7 11s525ms 1s646ms 17 5 7s620ms 1s524ms 18 2 3s137ms 1s568ms 19 7 12s541ms 1s791ms 20 4 7s115ms 1s778ms 21 4 5s882ms 1s470ms 22 13 20s836ms 1s602ms 23 6 9s818ms 1s636ms Jun 18 00 6 10s202ms 1s700ms 01 2 2s651ms 1s325ms 02 6 9s552ms 1s592ms 03 4 6s872ms 1s718ms [ User: pubeu - Total duration: 1m57s - Times executed: 70 ]
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1411566') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-06-17 06:22:47 Duration: 2s509ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1411566') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-06-17 06:21:06 Duration: 2s457ms Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1411566') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-06-16 22:24:46 Duration: 2s328ms Bind query: yes
13 388 49m 1s13ms 37s136ms 7s579ms select sq.*, count(*) over () fullrowcount from ( select distinct gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid from dag_node gt inner join gene_go_annot gga on gt.object_id = gga.go_term_id inner join term g on gga.gene_id = g.id where gt.id in ( select p.descendant_dag_node_id from dag_path p where p.ancestor_object_id = ?) and gga.is_not = false) sq order by sq.gonmsort, sq.genesymbolsort limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jun 15 00 4 11s637ms 2s909ms 01 2 3s507ms 1s753ms 02 6 47s499ms 7s916ms 03 3 5s571ms 1s857ms 04 1 4s369ms 4s369ms 05 4 1m18s 19s569ms 06 1 3s235ms 3s235ms 07 1 4s401ms 4s401ms 08 7 25s647ms 3s663ms 09 3 5s159ms 1s719ms 10 10 1m22s 8s236ms 11 7 48s948ms 6s992ms 12 5 37s966ms 7s593ms 13 4 26s534ms 6s633ms 14 5 12s246ms 2s449ms 15 1 1s84ms 1s84ms 16 5 1m22s 16s402ms 17 6 1m29s 14s839ms 18 9 1m36s 10s698ms 19 3 15s237ms 5s79ms 20 4 39s66ms 9s766ms 21 1 1s133ms 1s133ms 23 1 10s770ms 10s770ms Jun 16 00 6 40s953ms 6s825ms 01 5 29s4ms 5s800ms 02 7 32s785ms 4s683ms 03 8 30s508ms 3s813ms 04 2 3s552ms 1s776ms 05 5 1m2s 12s537ms 06 8 25s920ms 3s240ms 07 5 57s822ms 11s564ms 08 5 29s142ms 5s828ms 09 4 32s386ms 8s96ms 10 3 25s211ms 8s403ms 11 7 1m4s 9s160ms 12 8 53s533ms 6s691ms 13 5 30s432ms 6s86ms 14 5 42s370ms 8s474ms 15 2 2s531ms 1s265ms 16 3 13s550ms 4s516ms 17 4 41s401ms 10s350ms 18 4 44s676ms 11s169ms 19 10 1m47s 10s722ms 20 9 1m18s 8s685ms 21 4 23s717ms 5s929ms 22 11 1m1s 5s633ms 23 4 56s987ms 14s246ms Jun 17 00 3 11s716ms 3s905ms 01 5 38s589ms 7s717ms 02 6 49s485ms 8s247ms 03 3 23s492ms 7s830ms 04 10 1m49s 10s911ms 05 7 1m49s 15s620ms 06 3 34s772ms 11s590ms 07 10 49s793ms 4s979ms 08 5 22s299ms 4s459ms 09 5 10s796ms 2s159ms 10 4 31s362ms 7s840ms 11 3 6s693ms 2s231ms 12 4 59s328ms 14s832ms 13 10 1m17s 7s740ms 14 13 1m36s 7s407ms 15 14 1m40s 7s166ms 16 4 30s515ms 7s628ms 17 10 1m37s 9s700ms 18 3 34s4ms 11s334ms 19 6 41s181ms 6s863ms 20 3 34s16ms 11s338ms 21 3 7s216ms 2s405ms 22 3 20s826ms 6s942ms 23 5 24s70ms 4s814ms Jun 18 00 3 21s908ms 7s302ms 01 6 38s62ms 6s343ms 02 7 31s231ms 4s461ms 03 3 7s219ms 2s406ms [ User: pubeu - Total duration: 10m33s - Times executed: 82 ]
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1265161') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-06-17 05:19:05 Duration: 37s136ms Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1234207') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-06-15 10:07:31 Duration: 36s553ms Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1234207') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-06-17 02:13:39 Duration: 28s614ms Database: ctdprd51 User: pubeu Bind query: yes
14 315 13h9s 1s306ms 19m36s 2m28s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jun 15 00 4 7m2s 1m45s 01 10 14m17s 1m25s 02 3 3m57s 1m19s 03 6 30m16s 5m2s 04 6 18m51s 3m8s 05 2 5s686ms 2s843ms 06 2 4m38s 2m19s 07 5 9s295ms 1s859ms 08 2 4m38s 2m19s 09 2 18m41s 9m20s 10 5 10m7s 2m1s 11 3 2m13s 44s558ms 12 5 3m54s 46s980ms 13 5 4m37s 55s569ms 14 1 1s577ms 1s577ms 15 4 3m13s 48s314ms 16 12 23m41s 1m58s 17 2 5s299ms 2s649ms 18 7 20m19s 2m54s 19 4 10m56s 2m44s 20 4 8s235ms 2s58ms 23 1 4m31s 4m31s Jun 16 00 5 6m33s 1m18s 01 3 6s14ms 2s4ms 02 3 3m6s 1m2s 03 3 3m49s 1m16s 04 1 18m26s 18m26s 05 1 3s139ms 3s139ms 06 2 5s151ms 2s575ms 07 1 18m23s 18m23s 08 2 18m32s 9m16s 09 5 28m34s 5m42s 10 1 2m18s 2m18s 11 4 6s491ms 1s622ms 12 5 19m46s 3m57s 13 3 19m4s 6m21s 14 1 4m32s 4m32s 15 3 5m12s 1m44s 16 4 9m2s 2m15s 17 4 33m1s 8m15s 18 9 9m53s 1m5s 19 9 47m19s 5m15s 20 3 18m57s 6m19s 21 2 3s198ms 1s599ms 22 10 40m34s 4m3s 23 1 1s771ms 1s771ms Jun 17 00 5 16m20s 3m16s 01 6 14m32s 2m25s 02 7 26m 3m42s 03 5 5m50s 1m10s 04 5 9m20s 1m52s 05 2 2s856ms 1s428ms 06 8 24m50s 3m6s 07 4 22m55s 5m43s 08 7 9m56s 1m25s 09 2 3s82ms 1s541ms 10 4 4m24s 1m6s 11 2 3s912ms 1s956ms 12 8 30m4s 3m45s 13 3 5s293ms 1s764ms 14 6 16s599ms 2s766ms 15 4 4m20s 1m5s 16 13 14m24s 1m6s 17 6 3m17s 32s980ms 18 2 4m52s 2m26s 19 4 7m55s 1m58s 20 5 12m40s 2m32s 21 7 22m50s 3m15s 22 3 5s331ms 1s777ms 23 2 4s237ms 2s118ms Jun 18 00 4 9m55s 2m28s 01 3 4s645ms 1s548ms 02 8 40m43s 5m5s [ User: pubeu - Total duration: 2h17m31s - Times executed: 65 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-06-16 12:49:49 Duration: 19m36s Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-06-17 06:34:28 Duration: 19m23s Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-06-16 13:57:47 Duration: 18m59s Bind query: yes
15 296 22m2s 1s2ms 32s736ms 4s468ms select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jun 15 00 3 8s79ms 2s693ms 01 3 9s835ms 3s278ms 02 1 1s82ms 1s82ms 03 9 27s808ms 3s89ms 04 3 9s530ms 3s176ms 05 7 11s546ms 1s649ms 07 8 42s315ms 5s289ms 08 6 20s139ms 3s356ms 09 1 4s872ms 4s872ms 10 6 40s396ms 6s732ms 11 1 1s256ms 1s256ms 12 3 12s739ms 4s246ms 13 9 40s109ms 4s456ms 14 5 26s763ms 5s352ms 15 12 54s519ms 4s543ms 16 2 6s599ms 3s299ms 17 1 2s532ms 2s532ms 18 9 11s766ms 1s307ms 19 4 14s190ms 3s547ms 21 1 32s736ms 32s736ms 23 1 1s15ms 1s15ms Jun 16 00 3 16s249ms 5s416ms 01 2 2s141ms 1s70ms 02 7 29s262ms 4s180ms 03 5 21s49ms 4s209ms 04 7 30s876ms 4s410ms 05 3 3s172ms 1s57ms 06 3 3s415ms 1s138ms 08 2 12s723ms 6s361ms 10 6 32s465ms 5s410ms 11 6 18s484ms 3s80ms 12 3 16s707ms 5s569ms 13 1 5s586ms 5s586ms 14 1 6s825ms 6s825ms 15 9 43s176ms 4s797ms 16 4 20s266ms 5s66ms 17 2 2s184ms 1s92ms 18 3 12s712ms 4s237ms 19 4 12s995ms 3s248ms 20 1 1s90ms 1s90ms 21 3 12s102ms 4s34ms 22 2 12s138ms 6s69ms 23 9 40s801ms 4s533ms Jun 17 00 1 5s922ms 5s922ms 01 3 17s749ms 5s916ms 02 3 14s365ms 4s788ms 03 6 35s649ms 5s941ms 04 2 12s861ms 6s430ms 05 11 46s39ms 4s185ms 06 1 1s111ms 1s111ms 07 5 30s4ms 6s 08 5 21s590ms 4s318ms 09 19 1m40s 5s299ms 10 5 21s164ms 4s232ms 11 1 1s28ms 1s28ms 12 3 14s7ms 4s669ms 13 8 33s247ms 4s155ms 14 2 6s57ms 3s28ms 16 3 7s648ms 2s549ms 18 1 1s31ms 1s31ms 21 10 1m1s 6s128ms 22 9 59s177ms 6s575ms 23 11 1m6s 6s67ms Jun 18 00 2 10s809ms 5s404ms 01 2 11s649ms 5s824ms 02 1 5s628ms 5s628ms 03 1 1s17ms 1s17ms [ User: pubeu - Total duration: 4m32s - Times executed: 48 ]
[ User: qaeu - Total duration: 3s335ms - Times executed: 3 ]
-
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 = '1435534' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-06-15 21:33:45 Duration: 32s736ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1290778' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-06-16 12:45:20 Duration: 14s673ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1289572' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-06-15 10:04:17 Duration: 13s132ms Bind query: yes
16 278 12m1s 1s3ms 4s234ms 2s593ms 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 #16
Day Hour Count Duration Avg duration Jun 15 02 2 5s961ms 2s980ms 03 3 8s806ms 2s935ms 05 5 14s504ms 2s900ms 06 2 5s156ms 2s578ms 08 3 7s614ms 2s538ms 09 2 5s337ms 2s668ms 10 1 3s274ms 3s274ms 11 2 6s127ms 3s63ms 12 1 2s261ms 2s261ms 13 3 6s875ms 2s291ms 14 2 4s955ms 2s477ms 15 1 2s803ms 2s803ms 16 1 3s700ms 3s700ms 17 2 6s294ms 3s147ms 18 3 8s696ms 2s898ms 19 5 14s86ms 2s817ms 20 2 6s380ms 3s190ms 23 1 2s769ms 2s769ms Jun 16 00 1 2s124ms 2s124ms 01 1 3s231ms 3s231ms 02 2 5s355ms 2s677ms 04 3 7s600ms 2s533ms 05 6 13s842ms 2s307ms 06 1 1s984ms 1s984ms 07 1 2s828ms 2s828ms 09 4 12s371ms 3s92ms 10 1 2s534ms 2s534ms 11 3 9s411ms 3s137ms 12 3 8s679ms 2s893ms 14 4 11s213ms 2s803ms 15 2 4s206ms 2s103ms 17 3 9s473ms 3s157ms 18 1 2s15ms 2s15ms 20 2 5s648ms 2s824ms 22 1 2s244ms 2s244ms 23 3 8s140ms 2s713ms Jun 17 00 3 8s585ms 2s861ms 01 2 5s920ms 2s960ms 02 3 10s418ms 3s472ms 04 5 14s988ms 2s997ms 05 7 21s609ms 3s87ms 08 4 14s571ms 3s642ms 09 3 9s116ms 3s38ms 11 1 3s412ms 3s412ms 13 2 5s349ms 2s674ms 14 2 4s355ms 2s177ms 16 2 3s849ms 1s924ms 19 1 3s252ms 3s252ms 21 2 4s487ms 2s243ms 22 1 1s752ms 1s752ms 23 4 9s1ms 2s250ms Jun 18 00 4 9s242ms 2s310ms 01 40 1m35s 2s398ms 02 83 3m24s 2s463ms 03 26 1m2s 2s393ms [ User: pubeu - Total duration: 1m53s - Times executed: 39 ]
[ User: qaeu - Total duration: 10s525ms - Times executed: 3 ]
-
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 = '660706' 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-06-17 08:05:37 Duration: 4s234ms 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 = '599193' 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-06-15 09:55:36 Duration: 4s188ms 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 = '660706' 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-06-15 18:59:20 Duration: 3s811ms Database: ctdprd51 User: pubeu Bind query: yes
17 252 25m47s 1s12ms 20s449ms 6s139ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where phenotypeterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and associatedterm.object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jun 15 01 3 7s708ms 2s569ms 02 1 3s315ms 3s315ms 03 2 3s933ms 1s966ms 05 3 22s425ms 7s475ms 06 3 8s281ms 2s760ms 07 1 2s566ms 2s566ms 08 1 1s542ms 1s542ms 09 4 7s749ms 1s937ms 10 1 4s112ms 4s112ms 11 2 2s593ms 1s296ms 13 5 20s634ms 4s126ms 14 4 21s70ms 5s267ms 15 2 4s108ms 2s54ms 16 2 19s501ms 9s750ms 17 2 20s220ms 10s110ms 18 7 37s51ms 5s293ms 19 3 37s410ms 12s470ms 23 1 16s788ms 16s788ms Jun 16 00 3 30s571ms 10s190ms 01 1 1s107ms 1s107ms 02 1 1s198ms 1s198ms 03 5 11s949ms 2s389ms 04 2 22s911ms 11s455ms 05 4 20s251ms 5s62ms 06 5 7s472ms 1s494ms 07 2 18s588ms 9s294ms 08 5 44s693ms 8s938ms 09 4 16s252ms 4s63ms 10 5 58s788ms 11s757ms 11 1 6s13ms 6s13ms 13 3 11s63ms 3s687ms 14 3 37s669ms 12s556ms 15 5 15s661ms 3s132ms 16 3 22s199ms 7s399ms 17 10 1m13s 7s386ms 18 4 7s990ms 1s997ms 19 13 1m16s 5s882ms 20 4 37s386ms 9s346ms 21 4 26s801ms 6s700ms 22 2 7s755ms 3s877ms 23 4 4s683ms 1s170ms Jun 17 00 5 1m 12s118ms 01 5 37s957ms 7s591ms 02 4 24s314ms 6s78ms 03 1 5s118ms 5s118ms 04 5 42s258ms 8s451ms 05 6 26s44ms 4s340ms 06 4 9s276ms 2s319ms 07 5 36s 7s200ms 08 7 59s111ms 8s444ms 09 4 6s202ms 1s550ms 10 2 2s836ms 1s418ms 11 7 46s122ms 6s588ms 12 1 1s523ms 1s523ms 13 5 33s463ms 6s692ms 14 2 11s346ms 5s673ms 15 3 36s383ms 12s127ms 16 2 9s912ms 4s956ms 17 5 33s76ms 6s615ms 18 4 42s670ms 10s667ms 19 3 26s57ms 8s685ms 20 3 14s909ms 4s969ms 21 7 29s605ms 4s229ms 22 5 30s133ms 6s26ms 23 3 15s104ms 5s34ms Jun 18 00 3 4s955ms 1s651ms 01 6 1m5s 10s833ms 02 4 32s214ms 8s53ms 03 1 2s552ms 2s552ms [ User: pubeu - Total duration: 3m - Times executed: 41 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1234207'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-06-17 08:27:13 Duration: 20s449ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1234207'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-06-17 05:19:15 Duration: 20s51ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1234207'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-06-15 17:26:07 Duration: 19s167ms Database: ctdprd51 User: pubeu Bind query: yes
18 231 4m58s 1s57ms 6s590ms 1s294ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where exposuremarkerterm.id = ? or receptorterm.id = ? group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jun 15 00 2 2s504ms 1s252ms 02 10 12s566ms 1s256ms 03 10 13s17ms 1s301ms 04 6 9s358ms 1s559ms 05 15 27s732ms 1s848ms 07 1 1s84ms 1s84ms 09 2 2s622ms 1s311ms 10 12 13s971ms 1s164ms 11 15 17s550ms 1s170ms 12 13 15s932ms 1s225ms 14 1 1s224ms 1s224ms 15 1 1s289ms 1s289ms 16 2 2s388ms 1s194ms 17 2 2s424ms 1s212ms 18 1 1s257ms 1s257ms 19 1 1s202ms 1s202ms 20 1 1s144ms 1s144ms 21 1 6s590ms 6s590ms Jun 16 00 1 1s200ms 1s200ms 01 2 2s451ms 1s225ms 02 1 1s186ms 1s186ms 03 2 2s266ms 1s133ms 05 1 1s57ms 1s57ms 06 2 2s214ms 1s107ms 07 1 1s149ms 1s149ms 08 2 2s409ms 1s204ms 09 1 1s138ms 1s138ms 10 1 1s219ms 1s219ms 11 12 13s771ms 1s147ms 12 6 7s100ms 1s183ms 13 1 1s245ms 1s245ms 14 2 2s324ms 1s162ms 15 1 1s203ms 1s203ms 16 1 1s306ms 1s306ms 18 1 1s266ms 1s266ms 21 2 2s570ms 1s285ms 23 4 4s913ms 1s228ms Jun 17 00 1 1s212ms 1s212ms 01 2 2s368ms 1s184ms 02 2 2s427ms 1s213ms 03 1 1s114ms 1s114ms 04 2 2s464ms 1s232ms 05 1 1s213ms 1s213ms 06 2 2s457ms 1s228ms 07 2 2s473ms 1s236ms 08 3 3s580ms 1s193ms 10 1 1s214ms 1s214ms 11 2 2s447ms 1s223ms 12 20 24s113ms 1s205ms 13 2 2s264ms 1s132ms 14 1 1s71ms 1s71ms 17 1 1s88ms 1s88ms 18 2 2s261ms 1s130ms 20 2 2s321ms 1s160ms 21 12 14s353ms 1s196ms 22 13 19s129ms 1s471ms 23 12 15s112ms 1s259ms Jun 18 00 2 2s408ms 1s204ms 01 1 1s231ms 1s231ms 02 3 3s693ms 1s231ms 03 1 1s111ms 1s111ms [ User: pubeu - Total duration: 54s571ms - Times executed: 39 ]
-
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 = '1473355' or receptorTerm.id = '1473355' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort;
Date: 2025-06-15 21:33:34 Duration: 6s590ms 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 = '1455947' or receptorTerm.id = '1455947' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort;
Date: 2025-06-15 05:15:09 Duration: 3s210ms 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 = '1455947' or receptorTerm.id = '1455947' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort;
Date: 2025-06-15 05:00:46 Duration: 3s176ms Database: ctdprd51 User: pubeu Bind query: yes
19 156 4m23s 1s 5s596ms 1s687ms select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where diseaseterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jun 15 04 2 2s494ms 1s247ms 05 1 1s685ms 1s685ms 06 2 4s437ms 2s218ms 07 1 1s146ms 1s146ms 10 1 2s626ms 2s626ms 11 3 5s233ms 1s744ms 12 3 5s951ms 1s983ms 13 3 4s440ms 1s480ms 14 1 2s269ms 2s269ms 15 2 4s56ms 2s28ms 16 2 3s572ms 1s786ms 17 4 7s397ms 1s849ms 18 3 4s56ms 1s352ms 19 3 4s522ms 1s507ms 20 4 9s310ms 2s327ms 23 2 2s737ms 1s368ms Jun 16 00 3 4s892ms 1s630ms 01 3 4s684ms 1s561ms 03 2 3s827ms 1s913ms 06 2 3s237ms 1s618ms 07 3 5s811ms 1s937ms 08 1 1s55ms 1s55ms 09 3 4s756ms 1s585ms 10 2 2s937ms 1s468ms 11 2 2s786ms 1s393ms 12 3 5s593ms 1s864ms 14 1 1s875ms 1s875ms 15 3 4s452ms 1s484ms 16 3 3s476ms 1s158ms 17 5 8s226ms 1s645ms 18 8 12s757ms 1s594ms 19 4 7s924ms 1s981ms 20 2 2s886ms 1s443ms 21 2 3s518ms 1s759ms 22 5 8s129ms 1s625ms 23 4 6s890ms 1s722ms Jun 17 00 5 8s562ms 1s712ms 01 5 7s451ms 1s490ms 02 2 5s181ms 2s590ms 03 3 3s785ms 1s261ms 04 5 7s688ms 1s537ms 05 4 8s950ms 2s237ms 06 7 14s489ms 2s69ms 07 5 8s188ms 1s637ms 08 5 7s785ms 1s557ms 10 1 1s100ms 1s100ms 13 1 1s929ms 1s929ms 14 2 2s576ms 1s288ms 16 1 1s325ms 1s325ms 17 1 2s450ms 2s450ms 18 2 3s989ms 1s994ms 19 2 2s915ms 1s457ms 20 1 1s615ms 1s615ms 22 1 1s389ms 1s389ms Jun 18 00 1 1s75ms 1s75ms 01 1 1s13ms 1s13ms 02 2 2s999ms 1s499ms 03 1 1s160ms 1s160ms [ User: pubeu - Total duration: 51s269ms - Times executed: 27 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2099635') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-06-17 05:50:28 Duration: 5s596ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2094859') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-06-15 20:30:12 Duration: 2s816ms Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2094859') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-06-17 06:34:35 Duration: 2s812ms Bind query: yes
20 154 11m4s 1s1ms 16s97ms 4s312ms select sq.*, count(*) over () fullrowcount from ( select distinct gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid from dag_node gt inner join gene_go_annot gga on gt.object_id = gga.go_term_id inner join term g on gga.gene_id = g.id where gt.id in ( select p.descendant_dag_node_id from dag_path p where p.ancestor_object_id = ?) and gga.is_not = false) sq order by sq.gonmsort, sq.genesymbolsort limit ? offset ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jun 15 00 2 2s433ms 1s216ms 01 4 9s683ms 2s420ms 02 2 2s552ms 1s276ms 04 3 4s856ms 1s618ms 05 2 3s516ms 1s758ms 07 2 2s24ms 1s12ms 09 8 1m25s 10s707ms 10 4 18s241ms 4s560ms 11 2 13s255ms 6s627ms 12 4 19s937ms 4s984ms 13 8 21s700ms 2s712ms 14 2 5s770ms 2s885ms 15 2 3s60ms 1s530ms 16 3 3s60ms 1s20ms 19 1 1s742ms 1s742ms Jun 16 01 3 8s124ms 2s708ms 02 4 42s178ms 10s544ms 03 4 26s517ms 6s629ms 06 3 12s200ms 4s66ms 08 1 2s94ms 2s94ms 09 3 4s341ms 1s447ms 10 2 10s957ms 5s478ms 12 3 3s577ms 1s192ms 13 2 3s118ms 1s559ms 16 3 3s512ms 1s170ms 17 4 13s323ms 3s330ms 18 1 1s265ms 1s265ms 19 1 2s760ms 2s760ms 20 1 1s746ms 1s746ms 23 1 1s68ms 1s68ms Jun 17 00 4 22s966ms 5s741ms 02 1 1s90ms 1s90ms 03 2 3s67ms 1s533ms 04 10 1m9s 6s976ms 05 6 42s530ms 7s88ms 06 1 4s123ms 4s123ms 07 2 11s644ms 5s822ms 08 3 22s297ms 7s432ms 09 8 37s968ms 4s746ms 10 2 4s817ms 2s408ms 14 2 11s954ms 5s977ms 15 1 1s179ms 1s179ms 16 6 18s862ms 3s143ms 17 2 3s246ms 1s623ms 20 1 1s23ms 1s23ms 21 3 5s72ms 1s690ms 22 1 1s32ms 1s32ms 23 1 2s162ms 2s162ms Jun 18 01 8 50s617ms 6s327ms 02 5 14s371ms 2s874ms [ User: pubeu - Total duration: 2m42s - Times executed: 35 ]
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1240934') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50 OFFSET 400;
Date: 2025-06-15 09:59:02 Duration: 16s97ms Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1275545') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50 OFFSET 250;
Date: 2025-06-17 05:18:45 Duration: 13s83ms Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1276161') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50 OFFSET 350;
Date: 2025-06-15 09:39:17 Duration: 11s97ms Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 1m7s 13m31s 6m33s 13 1h25m14s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by diseaseterm.nm_sort, phenotypeterm.nm_sort limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jun 15 19 6 1h15m34s 12m35s Jun 17 11 6 6m55s 1m9s 13 1 2m44s 2m44s [ User: pubeu - Total duration: 1m7s - Times executed: 1 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1249155') and diseaseTerm.object_type_id = 3 ORDER BY diseaseTerm.nm_sort, phenotypeTerm.nm_sort LIMIT 50;
Date: 2025-06-15 19:12:49 Duration: 13m31s Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1249155') and diseaseTerm.object_type_id = 3 ORDER BY diseaseTerm.nm_sort, phenotypeTerm.nm_sort LIMIT 50;
Date: 2025-06-15 19:01:34 Duration: 12m32s Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1249155') and diseaseTerm.object_type_id = 3 ORDER BY diseaseTerm.nm_sort, phenotypeTerm.nm_sort LIMIT 50;
Date: 2025-06-15 19:22:10 Duration: 12m26s Bind query: yes
2 1s306ms 19m36s 2m28s 315 13h9s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jun 15 00 4 7m2s 1m45s 01 10 14m17s 1m25s 02 3 3m57s 1m19s 03 6 30m16s 5m2s 04 6 18m51s 3m8s 05 2 5s686ms 2s843ms 06 2 4m38s 2m19s 07 5 9s295ms 1s859ms 08 2 4m38s 2m19s 09 2 18m41s 9m20s 10 5 10m7s 2m1s 11 3 2m13s 44s558ms 12 5 3m54s 46s980ms 13 5 4m37s 55s569ms 14 1 1s577ms 1s577ms 15 4 3m13s 48s314ms 16 12 23m41s 1m58s 17 2 5s299ms 2s649ms 18 7 20m19s 2m54s 19 4 10m56s 2m44s 20 4 8s235ms 2s58ms 23 1 4m31s 4m31s Jun 16 00 5 6m33s 1m18s 01 3 6s14ms 2s4ms 02 3 3m6s 1m2s 03 3 3m49s 1m16s 04 1 18m26s 18m26s 05 1 3s139ms 3s139ms 06 2 5s151ms 2s575ms 07 1 18m23s 18m23s 08 2 18m32s 9m16s 09 5 28m34s 5m42s 10 1 2m18s 2m18s 11 4 6s491ms 1s622ms 12 5 19m46s 3m57s 13 3 19m4s 6m21s 14 1 4m32s 4m32s 15 3 5m12s 1m44s 16 4 9m2s 2m15s 17 4 33m1s 8m15s 18 9 9m53s 1m5s 19 9 47m19s 5m15s 20 3 18m57s 6m19s 21 2 3s198ms 1s599ms 22 10 40m34s 4m3s 23 1 1s771ms 1s771ms Jun 17 00 5 16m20s 3m16s 01 6 14m32s 2m25s 02 7 26m 3m42s 03 5 5m50s 1m10s 04 5 9m20s 1m52s 05 2 2s856ms 1s428ms 06 8 24m50s 3m6s 07 4 22m55s 5m43s 08 7 9m56s 1m25s 09 2 3s82ms 1s541ms 10 4 4m24s 1m6s 11 2 3s912ms 1s956ms 12 8 30m4s 3m45s 13 3 5s293ms 1s764ms 14 6 16s599ms 2s766ms 15 4 4m20s 1m5s 16 13 14m24s 1m6s 17 6 3m17s 32s980ms 18 2 4m52s 2m26s 19 4 7m55s 1m58s 20 5 12m40s 2m32s 21 7 22m50s 3m15s 22 3 5s331ms 1s777ms 23 2 4s237ms 2s118ms Jun 18 00 4 9m55s 2m28s 01 3 4s645ms 1s548ms 02 8 40m43s 5m5s [ User: pubeu - Total duration: 2h17m31s - Times executed: 65 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-06-16 12:49:49 Duration: 19m36s Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-06-17 06:34:28 Duration: 19m23s Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-06-16 13:57:47 Duration: 18m59s Bind query: yes
3 43s781ms 3m19s 2m23s 13 31m4s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by phenotypeterm.nm_sort, diseaseterm.nm_sort limit ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jun 16 12 1 1m48s 1m48s 13 5 9m26s 1m53s Jun 17 03 4 12m38s 3m9s 04 2 6m26s 3m13s 17 1 43s781ms 43s781ms [ User: pubeu - Total duration: 7m47s - Times executed: 4 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1240939') and diseaseTerm.object_type_id = 3 ORDER BY phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;
Date: 2025-06-17 04:08:05 Duration: 3m19s Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1240939') and diseaseTerm.object_type_id = 3 ORDER BY phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;
Date: 2025-06-17 03:36:58 Duration: 3m15s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1240939') and diseaseTerm.object_type_id = 3 ORDER BY phenotypeTerm.nm_sort, diseaseTerm.nm_sort LIMIT 50;
Date: 2025-06-17 03:57:37 Duration: 3m11s Bind query: yes
4 1s7ms 1m28s 34s776ms 38 22m1s select r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refacc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, count(*) over () fullrowcount from reference r where r.id in ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?)) order by r.sort_txt limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jun 15 06 4 3m20s 50s111ms 07 2 1m42s 51s191ms 15 1 3s274ms 3s274ms 21 2 2s231ms 1s115ms 23 2 2s67ms 1s33ms Jun 16 02 2 1m35s 47s588ms 03 10 6m37s 39s784ms 06 3 3m7s 1m2s 09 2 5s366ms 2s683ms 17 3 2m22s 47s470ms Jun 17 05 1 45s659ms 45s659ms 07 1 2s646ms 2s646ms 13 1 58s705ms 58s705ms 18 2 4s583ms 2s291ms 23 1 41s888ms 41s888ms Jun 18 02 1 29s270ms 29s270ms [ User: pubeu - Total duration: 6m18s - Times executed: 10 ]
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1285584')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-06-16 06:59:38 Duration: 1m28s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1438472')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-06-16 17:58:15 Duration: 1m24s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* RefsDAO */ r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refAcc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, COUNT(*) OVER () fullRowCount FROM reference r WHERE r.id IN ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1248153')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-06-17 13:42:35 Duration: 58s705ms Bind query: yes
5 1s40ms 1m29s 21s290ms 484 2h51m44s 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 #5
Day Hour Count Duration Avg duration Jun 15 02 5 2m13s 26s704ms 03 4 1m19s 19s797ms 04 11 4m5s 22s311ms 05 10 4m17s 25s787ms 06 3 22s203ms 7s401ms 08 7 2m22s 20s385ms 09 7 2m18s 19s809ms 10 2 31s29ms 15s514ms 11 2 30s17ms 15s8ms 12 6 1m34s 15s764ms 13 9 1m52s 12s514ms 14 17 4m9s 14s649ms 15 10 2m30s 15s89ms 17 5 1m18s 15s672ms 18 9 2m23s 15s925ms 19 11 3m 16s403ms 20 13 4m7s 19s39ms 21 2 1m24s 42s240ms 23 3 45s890ms 15s296ms Jun 16 00 3 49s791ms 16s597ms 01 3 46s607ms 15s535ms 02 10 2m16s 13s608ms 03 1 17s22ms 17s22ms 06 2 32s85ms 16s42ms 07 6 1m39s 16s562ms 08 3 1m23s 27s723ms 09 3 48s874ms 16s291ms 10 14 4m42s 20s158ms 11 9 2m35s 17s307ms 12 12 5m16s 26s391ms 13 16 6m57s 26s65ms 14 2 32s666ms 16s333ms 15 8 2m3s 15s449ms 16 8 2m9s 16s175ms 18 1 2s852ms 2s852ms 19 6 1m34s 15s818ms 20 13 3m48s 17s565ms 21 2 30s223ms 15s111ms 22 3 48s716ms 16s238ms 23 4 1m4s 16s196ms Jun 17 00 2 32s644ms 16s322ms 01 1 1s505ms 1s505ms 02 8 3m58s 29s872ms 03 13 5m21s 24s758ms 04 4 1m5s 16s253ms 05 21 11m4s 31s621ms 06 17 6m37s 23s404ms 07 8 2m10s 16s327ms 08 18 5m58s 19s932ms 09 19 12m33s 39s654ms 10 2 31s874ms 15s937ms 11 4 1m2s 15s601ms 13 6 2m50s 28s416ms 14 4 1m23s 20s911ms 16 14 3m30s 15s39ms 17 11 5m5s 27s785ms 18 8 2m4s 15s588ms 19 5 1m15s 15s135ms 21 16 8m 30s44ms 22 12 5m46s 28s915ms 23 8 3m39s 27s437ms Jun 18 00 3 39s299ms 13s99ms 01 10 2m3s 12s359ms 02 3 2m3s 41s8ms 03 2 33s742ms 16s871ms [ User: pubeu - Total duration: 55m36s - Times executed: 123 ]
-
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 = '2101260') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-06-17 05:30:57 Duration: 1m29s 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 = '2095942') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-06-15 21:34:35 Duration: 1m23s 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 = '2101260') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-06-17 06:01:39 Duration: 1m13s Bind query: yes
6 1s59ms 1m15s 17s352ms 84 24m17s 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 gd.network_score nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jun 15 01 2 4s198ms 2s99ms 10 4 1m4s 16s178ms 11 2 32s151ms 16s75ms 15 2 10s463ms 5s231ms 16 5 1m20s 16s45ms 17 1 15s530ms 15s530ms 19 2 8s149ms 4s74ms Jun 16 02 2 10s81ms 5s40ms 03 2 4s565ms 2s282ms 04 4 1m2s 15s723ms 05 2 31s679ms 15s839ms 10 2 4s346ms 2s173ms 12 6 3m42s 37s131ms 14 2 8s174ms 4s87ms 16 2 3s563ms 1s781ms 17 6 2m58s 29s757ms 23 5 57s407ms 11s481ms Jun 17 00 2 35s516ms 17s758ms 02 6 2m24s 24s118ms 05 1 1s59ms 1s59ms 07 4 1m7s 16s810ms 08 2 34s781ms 17s390ms 13 4 1m4s 16s232ms 14 2 1m1s 30s992ms 16 1 16s487ms 16s487ms 17 5 2m17s 27s425ms Jun 18 00 5 1m19s 15s803ms 01 1 15s239ms 15s239ms [ User: pubeu - Total duration: 4m46s - Times executed: 13 ]
-
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 = '2107033') ORDER BY gd.network_score NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-06-16 12:36:03 Duration: 1m15s 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 = '2096635') ORDER BY gd.network_score NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-06-16 17:05:24 Duration: 1m8s 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 = '2105795') ORDER BY gd.network_score NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-06-17 02:42:48 Duration: 45s91ms Bind query: yes
7 1s13ms 37s136ms 7s579ms 388 49m select sq.*, count(*) over () fullrowcount from ( select distinct gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid from dag_node gt inner join gene_go_annot gga on gt.object_id = gga.go_term_id inner join term g on gga.gene_id = g.id where gt.id in ( select p.descendant_dag_node_id from dag_path p where p.ancestor_object_id = ?) and gga.is_not = false) sq order by sq.gonmsort, sq.genesymbolsort limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jun 15 00 4 11s637ms 2s909ms 01 2 3s507ms 1s753ms 02 6 47s499ms 7s916ms 03 3 5s571ms 1s857ms 04 1 4s369ms 4s369ms 05 4 1m18s 19s569ms 06 1 3s235ms 3s235ms 07 1 4s401ms 4s401ms 08 7 25s647ms 3s663ms 09 3 5s159ms 1s719ms 10 10 1m22s 8s236ms 11 7 48s948ms 6s992ms 12 5 37s966ms 7s593ms 13 4 26s534ms 6s633ms 14 5 12s246ms 2s449ms 15 1 1s84ms 1s84ms 16 5 1m22s 16s402ms 17 6 1m29s 14s839ms 18 9 1m36s 10s698ms 19 3 15s237ms 5s79ms 20 4 39s66ms 9s766ms 21 1 1s133ms 1s133ms 23 1 10s770ms 10s770ms Jun 16 00 6 40s953ms 6s825ms 01 5 29s4ms 5s800ms 02 7 32s785ms 4s683ms 03 8 30s508ms 3s813ms 04 2 3s552ms 1s776ms 05 5 1m2s 12s537ms 06 8 25s920ms 3s240ms 07 5 57s822ms 11s564ms 08 5 29s142ms 5s828ms 09 4 32s386ms 8s96ms 10 3 25s211ms 8s403ms 11 7 1m4s 9s160ms 12 8 53s533ms 6s691ms 13 5 30s432ms 6s86ms 14 5 42s370ms 8s474ms 15 2 2s531ms 1s265ms 16 3 13s550ms 4s516ms 17 4 41s401ms 10s350ms 18 4 44s676ms 11s169ms 19 10 1m47s 10s722ms 20 9 1m18s 8s685ms 21 4 23s717ms 5s929ms 22 11 1m1s 5s633ms 23 4 56s987ms 14s246ms Jun 17 00 3 11s716ms 3s905ms 01 5 38s589ms 7s717ms 02 6 49s485ms 8s247ms 03 3 23s492ms 7s830ms 04 10 1m49s 10s911ms 05 7 1m49s 15s620ms 06 3 34s772ms 11s590ms 07 10 49s793ms 4s979ms 08 5 22s299ms 4s459ms 09 5 10s796ms 2s159ms 10 4 31s362ms 7s840ms 11 3 6s693ms 2s231ms 12 4 59s328ms 14s832ms 13 10 1m17s 7s740ms 14 13 1m36s 7s407ms 15 14 1m40s 7s166ms 16 4 30s515ms 7s628ms 17 10 1m37s 9s700ms 18 3 34s4ms 11s334ms 19 6 41s181ms 6s863ms 20 3 34s16ms 11s338ms 21 3 7s216ms 2s405ms 22 3 20s826ms 6s942ms 23 5 24s70ms 4s814ms Jun 18 00 3 21s908ms 7s302ms 01 6 38s62ms 6s343ms 02 7 31s231ms 4s461ms 03 3 7s219ms 2s406ms [ User: pubeu - Total duration: 10m33s - Times executed: 82 ]
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1265161') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-06-17 05:19:05 Duration: 37s136ms Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1234207') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-06-15 10:07:31 Duration: 36s553ms Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1234207') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-06-17 02:13:39 Duration: 28s614ms Database: ctdprd51 User: pubeu Bind query: yes
8 1s12ms 20s449ms 6s139ms 252 25m47s select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where phenotypeterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and associatedterm.object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jun 15 01 3 7s708ms 2s569ms 02 1 3s315ms 3s315ms 03 2 3s933ms 1s966ms 05 3 22s425ms 7s475ms 06 3 8s281ms 2s760ms 07 1 2s566ms 2s566ms 08 1 1s542ms 1s542ms 09 4 7s749ms 1s937ms 10 1 4s112ms 4s112ms 11 2 2s593ms 1s296ms 13 5 20s634ms 4s126ms 14 4 21s70ms 5s267ms 15 2 4s108ms 2s54ms 16 2 19s501ms 9s750ms 17 2 20s220ms 10s110ms 18 7 37s51ms 5s293ms 19 3 37s410ms 12s470ms 23 1 16s788ms 16s788ms Jun 16 00 3 30s571ms 10s190ms 01 1 1s107ms 1s107ms 02 1 1s198ms 1s198ms 03 5 11s949ms 2s389ms 04 2 22s911ms 11s455ms 05 4 20s251ms 5s62ms 06 5 7s472ms 1s494ms 07 2 18s588ms 9s294ms 08 5 44s693ms 8s938ms 09 4 16s252ms 4s63ms 10 5 58s788ms 11s757ms 11 1 6s13ms 6s13ms 13 3 11s63ms 3s687ms 14 3 37s669ms 12s556ms 15 5 15s661ms 3s132ms 16 3 22s199ms 7s399ms 17 10 1m13s 7s386ms 18 4 7s990ms 1s997ms 19 13 1m16s 5s882ms 20 4 37s386ms 9s346ms 21 4 26s801ms 6s700ms 22 2 7s755ms 3s877ms 23 4 4s683ms 1s170ms Jun 17 00 5 1m 12s118ms 01 5 37s957ms 7s591ms 02 4 24s314ms 6s78ms 03 1 5s118ms 5s118ms 04 5 42s258ms 8s451ms 05 6 26s44ms 4s340ms 06 4 9s276ms 2s319ms 07 5 36s 7s200ms 08 7 59s111ms 8s444ms 09 4 6s202ms 1s550ms 10 2 2s836ms 1s418ms 11 7 46s122ms 6s588ms 12 1 1s523ms 1s523ms 13 5 33s463ms 6s692ms 14 2 11s346ms 5s673ms 15 3 36s383ms 12s127ms 16 2 9s912ms 4s956ms 17 5 33s76ms 6s615ms 18 4 42s670ms 10s667ms 19 3 26s57ms 8s685ms 20 3 14s909ms 4s969ms 21 7 29s605ms 4s229ms 22 5 30s133ms 6s26ms 23 3 15s104ms 5s34ms Jun 18 00 3 4s955ms 1s651ms 01 6 1m5s 10s833ms 02 4 32s214ms 8s53ms 03 1 2s552ms 2s552ms [ User: pubeu - Total duration: 3m - Times executed: 41 ]
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1234207'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-06-17 08:27:13 Duration: 20s449ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1234207'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-06-17 05:19:15 Duration: 20s51ms Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where phenotypeTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1234207'))) and associatedTerm.object_type_id = 2 group by associatedTerm, associatedTermNmSort, phenotype, casRN, ixnId, ixnProseHtml, ixnProse, ixnSort, associatedTermId, phenotypeId, inferredCount ORDER BY associatedTermNmSort LIMIT 50;
Date: 2025-06-15 17:26:07 Duration: 19s167ms Database: ctdprd51 User: pubeu Bind query: yes
9 1s2ms 32s736ms 4s468ms 296 22m2s select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jun 15 00 3 8s79ms 2s693ms 01 3 9s835ms 3s278ms 02 1 1s82ms 1s82ms 03 9 27s808ms 3s89ms 04 3 9s530ms 3s176ms 05 7 11s546ms 1s649ms 07 8 42s315ms 5s289ms 08 6 20s139ms 3s356ms 09 1 4s872ms 4s872ms 10 6 40s396ms 6s732ms 11 1 1s256ms 1s256ms 12 3 12s739ms 4s246ms 13 9 40s109ms 4s456ms 14 5 26s763ms 5s352ms 15 12 54s519ms 4s543ms 16 2 6s599ms 3s299ms 17 1 2s532ms 2s532ms 18 9 11s766ms 1s307ms 19 4 14s190ms 3s547ms 21 1 32s736ms 32s736ms 23 1 1s15ms 1s15ms Jun 16 00 3 16s249ms 5s416ms 01 2 2s141ms 1s70ms 02 7 29s262ms 4s180ms 03 5 21s49ms 4s209ms 04 7 30s876ms 4s410ms 05 3 3s172ms 1s57ms 06 3 3s415ms 1s138ms 08 2 12s723ms 6s361ms 10 6 32s465ms 5s410ms 11 6 18s484ms 3s80ms 12 3 16s707ms 5s569ms 13 1 5s586ms 5s586ms 14 1 6s825ms 6s825ms 15 9 43s176ms 4s797ms 16 4 20s266ms 5s66ms 17 2 2s184ms 1s92ms 18 3 12s712ms 4s237ms 19 4 12s995ms 3s248ms 20 1 1s90ms 1s90ms 21 3 12s102ms 4s34ms 22 2 12s138ms 6s69ms 23 9 40s801ms 4s533ms Jun 17 00 1 5s922ms 5s922ms 01 3 17s749ms 5s916ms 02 3 14s365ms 4s788ms 03 6 35s649ms 5s941ms 04 2 12s861ms 6s430ms 05 11 46s39ms 4s185ms 06 1 1s111ms 1s111ms 07 5 30s4ms 6s 08 5 21s590ms 4s318ms 09 19 1m40s 5s299ms 10 5 21s164ms 4s232ms 11 1 1s28ms 1s28ms 12 3 14s7ms 4s669ms 13 8 33s247ms 4s155ms 14 2 6s57ms 3s28ms 16 3 7s648ms 2s549ms 18 1 1s31ms 1s31ms 21 10 1m1s 6s128ms 22 9 59s177ms 6s575ms 23 11 1m6s 6s67ms Jun 18 00 2 10s809ms 5s404ms 01 2 11s649ms 5s824ms 02 1 5s628ms 5s628ms 03 1 1s17ms 1s17ms [ User: pubeu - Total duration: 4m32s - Times executed: 48 ]
[ User: qaeu - Total duration: 3s335ms - Times executed: 3 ]
-
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 = '1435534' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-06-15 21:33:45 Duration: 32s736ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1290778' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-06-16 12:45:20 Duration: 14s673ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1289572' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-06-15 10:04:17 Duration: 13s132ms Bind query: yes
10 1s 25s791ms 4s410ms 675 49m37s 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 #10
Day Hour Count Duration Avg duration Jun 15 00 3 23s142ms 7s714ms 01 2 3s118ms 1s559ms 02 4 13s713ms 3s428ms 03 1 1s28ms 1s28ms 04 12 57s686ms 4s807ms 05 12 51s1ms 4s250ms 06 9 32s654ms 3s628ms 07 8 17s846ms 2s230ms 08 8 35s549ms 4s443ms 09 2 20s434ms 10s217ms 10 6 44s519ms 7s419ms 11 6 32s428ms 5s404ms 12 6 35s209ms 5s868ms 14 1 4s935ms 4s935ms 15 9 22s981ms 2s553ms 16 10 35s342ms 3s534ms 17 13 58s571ms 4s505ms 18 22 1m13s 3s341ms 19 13 1m9s 5s320ms 20 15 1m27s 5s808ms 21 2 27s202ms 13s601ms 23 7 48s518ms 6s931ms Jun 16 00 7 17s541ms 2s505ms 01 13 59s966ms 4s612ms 02 7 42s780ms 6s111ms 03 13 27s526ms 2s117ms 04 4 24s779ms 6s194ms 05 3 11s188ms 3s729ms 06 5 12s544ms 2s508ms 07 10 28s 2s800ms 08 9 53s55ms 5s895ms 09 11 57s730ms 5s248ms 10 4 19s849ms 4s962ms 11 5 20s848ms 4s169ms 12 12 47s432ms 3s952ms 13 15 1m4s 4s275ms 14 15 59s44ms 3s936ms 15 13 44s679ms 3s436ms 16 15 57s138ms 3s809ms 17 17 1m8s 4s52ms 18 15 45s928ms 3s61ms 19 11 1m17s 7s71ms 20 12 1m26s 7s242ms 21 16 1m9s 4s317ms 22 7 27s254ms 3s893ms 23 8 32s338ms 4s42ms Jun 17 00 14 1m32s 6s606ms 01 16 1m5s 4s87ms 02 14 57s362ms 4s97ms 03 8 32s737ms 4s92ms 04 18 1m11s 3s944ms 05 12 56s146ms 4s678ms 06 20 2m5s 6s283ms 07 16 59s636ms 3s727ms 08 16 1m27s 5s451ms 09 4 8s961ms 2s240ms 10 2 2s962ms 1s481ms 12 4 27s969ms 6s992ms 13 5 23s683ms 4s736ms 14 9 39s344ms 4s371ms 15 8 29s382ms 3s672ms 16 5 18s861ms 3s772ms 17 2 13s650ms 6s825ms 18 1 6s144ms 6s144ms 19 3 8s839ms 2s946ms 20 5 20s498ms 4s99ms 21 6 11s441ms 1s906ms 22 10 58s417ms 5s841ms 23 12 1m7s 5s640ms Jun 18 00 3 13s104ms 4s368ms 01 23 1m1s 2s679ms 02 17 54s578ms 3s210ms 03 4 10s92ms 2s523ms [ User: pubeu - Total duration: 8m7s - Times executed: 106 ]
-
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 = '2106675') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-06-15 21:33:49 Duration: 25s791ms 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 = '2096523') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-06-15 23:30:25 Duration: 16s280ms 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 = '2094859') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-06-15 23:30:24 Duration: 15s740ms Database: ctdprd51 User: pubeu Bind query: yes
11 1s1ms 16s97ms 4s312ms 154 11m4s select sq.*, count(*) over () fullrowcount from ( select distinct gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid from dag_node gt inner join gene_go_annot gga on gt.object_id = gga.go_term_id inner join term g on gga.gene_id = g.id where gt.id in ( select p.descendant_dag_node_id from dag_path p where p.ancestor_object_id = ?) and gga.is_not = false) sq order by sq.gonmsort, sq.genesymbolsort limit ? offset ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jun 15 00 2 2s433ms 1s216ms 01 4 9s683ms 2s420ms 02 2 2s552ms 1s276ms 04 3 4s856ms 1s618ms 05 2 3s516ms 1s758ms 07 2 2s24ms 1s12ms 09 8 1m25s 10s707ms 10 4 18s241ms 4s560ms 11 2 13s255ms 6s627ms 12 4 19s937ms 4s984ms 13 8 21s700ms 2s712ms 14 2 5s770ms 2s885ms 15 2 3s60ms 1s530ms 16 3 3s60ms 1s20ms 19 1 1s742ms 1s742ms Jun 16 01 3 8s124ms 2s708ms 02 4 42s178ms 10s544ms 03 4 26s517ms 6s629ms 06 3 12s200ms 4s66ms 08 1 2s94ms 2s94ms 09 3 4s341ms 1s447ms 10 2 10s957ms 5s478ms 12 3 3s577ms 1s192ms 13 2 3s118ms 1s559ms 16 3 3s512ms 1s170ms 17 4 13s323ms 3s330ms 18 1 1s265ms 1s265ms 19 1 2s760ms 2s760ms 20 1 1s746ms 1s746ms 23 1 1s68ms 1s68ms Jun 17 00 4 22s966ms 5s741ms 02 1 1s90ms 1s90ms 03 2 3s67ms 1s533ms 04 10 1m9s 6s976ms 05 6 42s530ms 7s88ms 06 1 4s123ms 4s123ms 07 2 11s644ms 5s822ms 08 3 22s297ms 7s432ms 09 8 37s968ms 4s746ms 10 2 4s817ms 2s408ms 14 2 11s954ms 5s977ms 15 1 1s179ms 1s179ms 16 6 18s862ms 3s143ms 17 2 3s246ms 1s623ms 20 1 1s23ms 1s23ms 21 3 5s72ms 1s690ms 22 1 1s32ms 1s32ms 23 1 2s162ms 2s162ms Jun 18 01 8 50s617ms 6s327ms 02 5 14s371ms 2s874ms [ User: pubeu - Total duration: 2m42s - Times executed: 35 ]
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1240934') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50 OFFSET 400;
Date: 2025-06-15 09:59:02 Duration: 16s97ms Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1275545') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50 OFFSET 250;
Date: 2025-06-17 05:18:45 Duration: 13s83ms Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1276161') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50 OFFSET 350;
Date: 2025-06-15 09:39:17 Duration: 11s97ms Bind query: yes
12 1s 8s721ms 3s254ms 1,156 1h2m42s 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 #12
Day Hour Count Duration Avg duration Jun 15 00 7 29s375ms 4s196ms 01 10 33s639ms 3s363ms 02 13 41s759ms 3s212ms 03 12 35s896ms 2s991ms 04 16 1m 3s775ms 05 10 34s787ms 3s478ms 06 11 35s240ms 3s203ms 07 9 27s351ms 3s39ms 08 3 9s887ms 3s295ms 09 10 28s296ms 2s829ms 10 10 42s252ms 4s225ms 11 13 44s965ms 3s458ms 12 9 33s88ms 3s676ms 13 19 43s984ms 2s314ms 14 14 52s444ms 3s746ms 15 32 1m43s 3s244ms 16 16 49s804ms 3s112ms 17 20 1m4s 3s214ms 18 10 40s802ms 4s80ms 19 17 54s468ms 3s204ms 20 11 42s682ms 3s880ms 23 3 5s725ms 1s908ms Jun 16 00 15 41s209ms 2s747ms 01 12 37s177ms 3s98ms 02 16 55s720ms 3s482ms 03 21 1m7s 3s202ms 04 22 55s117ms 2s505ms 05 10 43s133ms 4s313ms 06 6 22s148ms 3s691ms 07 6 21s31ms 3s505ms 08 14 47s227ms 3s373ms 09 11 30s106ms 2s736ms 10 12 25s659ms 2s138ms 11 17 52s787ms 3s105ms 12 11 42s5ms 3s818ms 13 14 42s506ms 3s36ms 14 13 39s729ms 3s56ms 15 35 1m36s 2s768ms 16 28 1m41s 3s616ms 17 5 15s521ms 3s104ms 18 9 31s88ms 3s454ms 19 11 47s310ms 4s300ms 20 16 44s242ms 2s765ms 21 15 58s19ms 3s867ms 22 10 27s99ms 2s709ms 23 17 1m5s 3s834ms Jun 17 00 22 1m26s 3s926ms 01 12 48s949ms 4s79ms 02 15 47s310ms 3s154ms 03 20 56s627ms 2s831ms 04 16 51s755ms 3s234ms 05 19 1m8s 3s593ms 06 21 1m9s 3s326ms 07 25 1m13s 2s945ms 08 27 1m28s 3s285ms 09 32 1m29s 2s788ms 10 31 1m19s 2s572ms 11 13 36s913ms 2s839ms 12 15 56s912ms 3s794ms 13 12 32s856ms 2s738ms 14 25 1m20s 3s236ms 15 22 1m14s 3s371ms 16 22 1m4s 2s948ms 17 11 41s386ms 3s762ms 18 20 58s368ms 2s918ms 19 29 1m32s 3s203ms 20 16 40s942ms 2s558ms 21 15 54s514ms 3s634ms 22 16 47s782ms 2s986ms 23 16 49s681ms 3s105ms Jun 18 00 14 1m 4s322ms 01 25 1m32s 3s690ms 02 20 1m11s 3s552ms 03 4 21s86ms 5s271ms [ User: pubeu - Total duration: 11m1s - Times executed: 202 ]
-
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 = '1411566'))) 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-06-17 23:02:53 Duration: 8s721ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1411566'))) 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-06-17 02:32:00 Duration: 8s386ms Database: ctdprd51 User: pubeu Bind query: yes
-
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' || associatedTerm.nm_html || '^' || associatedTerm.acc_txt || '^' || associatedTerm.acc_db_cd as associatedTerm, associatedTerm.id associatedTermId, ptr.ixn_id ixnId, associatedTerm.object_type_id || '|' || associatedTerm.nm_sort associatedTermNmSort, COALESCE(associatedTerm.secondary_nm, '') casRN, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype, phenotypeTerm.id phenotypeId, ( SELECT STRING_AGG(distinct taxonTerm.nm || '^' || 'taxon' || '^' || taxonTerm.nm_html || '^' || taxonTerm.acc_txt || '^' || taxonTerm.acc_db_cd || '^' || COALESCE(taxonTerm.secondary_nm, ''), '|')) as taxonTerms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || ia.level_seq || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, COUNT(DISTINCT taxonTerm.nm) taxonCount, i.ixn_prose_html ixnProseHtml, i.ixn_prose_txt ixnProse, i.sort_txt ixnSort, ( SELECT STRING_AGG(distinct r.acc_txt, '|')) as references, COUNT(DISTINCT ptr.reference_id) refCount, pt.indirect_term_qty inferredCount, COUNT(*) OVER () fullRowCount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedTerm on ptr.term_id = associatedTerm.id inner join term phenotypeTerm on ptr.phenotype_id = phenotypeTerm.id left outer join term taxonTerm on ptr.taxon_id = taxonTerm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedTerm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyTerm on ia.anatomy_id = anatomyTerm.id where associatedTerm.id = ANY (ARRAY (( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1411566'))) 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-06-15 20:04:22 Duration: 8s80ms Bind query: yes
13 1s1ms 12s827ms 2s983ms 617 30m40s select * from ( select g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, count(*) over () fullrowcount from term g where g.id in ( select gt.gene_id from dag_path dp inner join gene_taxon gt on dp.descendant_object_id = gt.taxon_id where dp.ancestor_object_id = ? union all select gcr.gene_id from dag_path dp inner join gene_chem_reference gcr on dp.descendant_object_id = gcr.taxon_id where dp.ancestor_object_id = ?) offset ?) mq order by mq.genesymbolsort limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jun 15 00 2 4s436ms 2s218ms 01 5 10s545ms 2s109ms 02 5 12s588ms 2s517ms 03 4 9s456ms 2s364ms 04 6 20s291ms 3s381ms 05 9 25s75ms 2s786ms 06 4 12s79ms 3s19ms 07 3 9s913ms 3s304ms 08 4 11s823ms 2s955ms 09 5 14s42ms 2s808ms 10 1 4s1ms 4s1ms 11 8 27s715ms 3s464ms 12 2 8s685ms 4s342ms 13 5 15s269ms 3s53ms 14 1 1s77ms 1s77ms 16 3 10s200ms 3s400ms 17 6 17s779ms 2s963ms 18 8 15s653ms 1s956ms 19 11 35s87ms 3s189ms 20 5 10s538ms 2s107ms 21 34 2m37s 4s642ms 23 3 18s945ms 6s315ms Jun 16 00 1 1s530ms 1s530ms 01 3 11s701ms 3s900ms 02 2 4s621ms 2s310ms 03 4 13s795ms 3s448ms 04 4 8s299ms 2s74ms 05 2 2s507ms 1s253ms 06 3 15s278ms 5s92ms 07 3 11s651ms 3s883ms 08 5 13s744ms 2s748ms 09 5 18s86ms 3s617ms 10 3 8s450ms 2s816ms 11 7 18s589ms 2s655ms 12 11 33s392ms 3s35ms 13 14 39s838ms 2s845ms 14 2 3s586ms 1s793ms 15 5 18s769ms 3s753ms 16 6 16s546ms 2s757ms 17 9 25s684ms 2s853ms 18 8 21s436ms 2s679ms 19 13 23s466ms 1s805ms 20 4 7s840ms 1s960ms 21 3 4s886ms 1s628ms 22 8 22s807ms 2s850ms 23 6 14s541ms 2s423ms Jun 17 00 4 9s194ms 2s298ms 01 8 20s456ms 2s557ms 02 3 10s811ms 3s603ms 03 7 14s756ms 2s108ms 04 3 10s44ms 3s348ms 05 8 28s50ms 3s506ms 06 8 27s563ms 3s445ms 07 5 21s744ms 4s348ms 08 9 19s20ms 2s113ms 09 13 40s416ms 3s108ms 10 6 13s633ms 2s272ms 11 7 13s921ms 1s988ms 12 8 15s622ms 1s952ms 13 5 14s230ms 2s846ms 14 8 15s810ms 1s976ms 15 4 7s394ms 1s848ms 16 12 28s193ms 2s349ms 17 3 6s683ms 2s227ms 18 6 15s824ms 2s637ms 19 4 8s429ms 2s107ms 20 4 9s464ms 2s366ms 21 4 9s627ms 2s406ms 22 4 13s395ms 3s348ms 23 4 8s523ms 2s130ms Jun 18 00 7 16s718ms 2s388ms 01 55 2m36s 2s854ms 02 110 6m5s 3s324ms 03 33 1m44s 3s172ms [ User: pubeu - Total duration: 7m28s - Times executed: 158 ]
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '555263' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '555263') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-06-15 21:33:41 Duration: 12s827ms Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '596649' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '596649') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-06-15 21:33:24 Duration: 12s389ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* TaxonGenesDAO */ * FROM ( SELECT g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gt.gene_id FROM dag_path dp INNER JOIN gene_taxon gt ON dp.descendant_object_id = gt.taxon_id WHERE dp.ancestor_object_id = '313082' UNION ALL SELECT gcr.gene_id FROM dag_path dp INNER JOIN gene_chem_reference gcr ON dp.descendant_object_id = gcr.taxon_id WHERE dp.ancestor_object_id = '313082') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-06-15 21:33:26 Duration: 12s143ms Database: ctdprd51 User: pubeu Bind query: yes
14 1s3ms 4s234ms 2s593ms 278 12m1s 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 Jun 15 02 2 5s961ms 2s980ms 03 3 8s806ms 2s935ms 05 5 14s504ms 2s900ms 06 2 5s156ms 2s578ms 08 3 7s614ms 2s538ms 09 2 5s337ms 2s668ms 10 1 3s274ms 3s274ms 11 2 6s127ms 3s63ms 12 1 2s261ms 2s261ms 13 3 6s875ms 2s291ms 14 2 4s955ms 2s477ms 15 1 2s803ms 2s803ms 16 1 3s700ms 3s700ms 17 2 6s294ms 3s147ms 18 3 8s696ms 2s898ms 19 5 14s86ms 2s817ms 20 2 6s380ms 3s190ms 23 1 2s769ms 2s769ms Jun 16 00 1 2s124ms 2s124ms 01 1 3s231ms 3s231ms 02 2 5s355ms 2s677ms 04 3 7s600ms 2s533ms 05 6 13s842ms 2s307ms 06 1 1s984ms 1s984ms 07 1 2s828ms 2s828ms 09 4 12s371ms 3s92ms 10 1 2s534ms 2s534ms 11 3 9s411ms 3s137ms 12 3 8s679ms 2s893ms 14 4 11s213ms 2s803ms 15 2 4s206ms 2s103ms 17 3 9s473ms 3s157ms 18 1 2s15ms 2s15ms 20 2 5s648ms 2s824ms 22 1 2s244ms 2s244ms 23 3 8s140ms 2s713ms Jun 17 00 3 8s585ms 2s861ms 01 2 5s920ms 2s960ms 02 3 10s418ms 3s472ms 04 5 14s988ms 2s997ms 05 7 21s609ms 3s87ms 08 4 14s571ms 3s642ms 09 3 9s116ms 3s38ms 11 1 3s412ms 3s412ms 13 2 5s349ms 2s674ms 14 2 4s355ms 2s177ms 16 2 3s849ms 1s924ms 19 1 3s252ms 3s252ms 21 2 4s487ms 2s243ms 22 1 1s752ms 1s752ms 23 4 9s1ms 2s250ms Jun 18 00 4 9s242ms 2s310ms 01 40 1m35s 2s398ms 02 83 3m24s 2s463ms 03 26 1m2s 2s393ms [ User: pubeu - Total duration: 1m53s - Times executed: 39 ]
[ User: qaeu - Total duration: 10s525ms - Times executed: 3 ]
-
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 = '660706' 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-06-17 08:05:37 Duration: 4s234ms 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 = '599193' 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-06-15 09:55:36 Duration: 4s188ms 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 = '660706' 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-06-15 18:59:20 Duration: 3s811ms Database: ctdprd51 User: pubeu Bind query: yes
15 1s 11s479ms 2s549ms 977 41m30s 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 #15
Day Hour Count Duration Avg duration Jun 15 00 12 30s157ms 2s513ms 01 8 16s998ms 2s124ms 02 6 15s234ms 2s539ms 03 10 26s438ms 2s643ms 04 11 28s236ms 2s566ms 05 7 15s633ms 2s233ms 06 9 23s655ms 2s628ms 07 10 23s674ms 2s367ms 08 9 27s757ms 3s84ms 09 3 10s986ms 3s662ms 10 14 32s644ms 2s331ms 11 11 30s579ms 2s779ms 12 12 29s101ms 2s425ms 13 17 38s925ms 2s289ms 14 8 15s45ms 1s880ms 15 25 57s404ms 2s296ms 16 12 31s435ms 2s619ms 17 5 13s800ms 2s760ms 18 13 28s423ms 2s186ms 19 13 29s385ms 2s260ms 20 8 33s184ms 4s148ms 21 2 10s722ms 5s361ms 23 4 9s460ms 2s365ms Jun 16 00 8 12s594ms 1s574ms 01 10 26s612ms 2s661ms 02 18 39s952ms 2s219ms 03 18 48s658ms 2s703ms 04 19 44s538ms 2s344ms 05 9 22s278ms 2s475ms 06 13 33s320ms 2s563ms 07 10 21s917ms 2s191ms 08 11 31s802ms 2s891ms 09 10 19s575ms 1s957ms 10 10 27s591ms 2s759ms 11 7 15s508ms 2s215ms 12 19 49s906ms 2s626ms 13 16 44s429ms 2s776ms 14 7 17s653ms 2s521ms 15 35 1m24s 2s400ms 16 21 1m3s 3s21ms 17 10 26s373ms 2s637ms 18 14 32s691ms 2s335ms 19 16 40s266ms 2s516ms 20 15 46s843ms 3s122ms 21 14 36s239ms 2s588ms 22 8 25s66ms 3s133ms 23 11 28s999ms 2s636ms Jun 17 00 19 42s839ms 2s254ms 01 17 51s155ms 3s9ms 02 12 27s880ms 2s323ms 03 10 22s68ms 2s206ms 04 8 23s306ms 2s913ms 05 25 1m15s 3s11ms 06 18 43s342ms 2s407ms 07 16 34s35ms 2s127ms 08 22 51s685ms 2s349ms 09 30 1m13s 2s444ms 10 26 1m8s 2s638ms 11 18 40s574ms 2s254ms 12 4 8s851ms 2s212ms 13 14 34s66ms 2s433ms 14 6 7s905ms 1s317ms 15 15 34s397ms 2s293ms 16 15 34s44ms 2s269ms 17 18 59s727ms 3s318ms 18 18 56s227ms 3s123ms 19 14 35s694ms 2s549ms 20 10 26s368ms 2s636ms 21 11 40s862ms 3s714ms 22 10 24s938ms 2s493ms 23 10 26s504ms 2s650ms Jun 18 00 16 39s976ms 2s498ms 01 11 21s758ms 1s978ms 02 17 38s762ms 2s280ms 03 9 27s503ms 3s55ms [ User: pubeu - Total duration: 6m56s - Times executed: 158 ]
-
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 = '1411566') 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 = '1411566') 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-06-18 03:00:24 Duration: 11s479ms 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 = '1449732') 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 = '1449732') 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-06-17 21:48:05 Duration: 10s3ms 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 = '1411566') 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 = '1411566') 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-06-15 20:37:05 Duration: 8s69ms Bind query: yes
16 1s21ms 2s509ms 1s696ms 405 11m26s select c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposurereferencecount, case when cd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from chem_disease_axn a where a.chem_id = cd.chem_id and a.disease_id = cd.disease_id) else null end actiontypes from chem_disease cd inner join term c on cd.chem_id = c.id inner join term d on cd.disease_id = d.id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, cd.network_score desc nulls last, d.nm_sort, c.nm_sort limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jun 15 00 7 10s564ms 1s509ms 01 3 5s284ms 1s761ms 02 2 3s788ms 1s894ms 03 5 9s96ms 1s819ms 04 5 8s723ms 1s744ms 05 3 4s548ms 1s516ms 06 4 6s544ms 1s636ms 07 2 3s338ms 1s669ms 08 3 5s322ms 1s774ms 10 9 15s66ms 1s674ms 11 2 2s794ms 1s397ms 12 7 12s985ms 1s855ms 13 4 6s991ms 1s747ms 14 3 5s312ms 1s770ms 15 7 11s844ms 1s692ms 16 3 5s705ms 1s901ms 17 8 13s139ms 1s642ms 18 6 10s673ms 1s778ms 19 7 13s399ms 1s914ms 20 6 10s27ms 1s671ms Jun 16 00 2 3s237ms 1s618ms 01 5 7s698ms 1s539ms 02 6 10s235ms 1s705ms 03 7 10s803ms 1s543ms 04 6 10s251ms 1s708ms 05 4 6s410ms 1s602ms 06 6 10s946ms 1s824ms 07 2 3s213ms 1s606ms 08 4 8s135ms 2s33ms 09 3 5s870ms 1s956ms 10 4 6s956ms 1s739ms 11 7 11s234ms 1s604ms 12 4 6s904ms 1s726ms 13 4 7s5ms 1s751ms 14 4 5s915ms 1s478ms 15 8 13s480ms 1s685ms 16 7 11s57ms 1s579ms 17 1 1s917ms 1s917ms 18 4 7s80ms 1s770ms 19 7 11s283ms 1s611ms 20 10 17s798ms 1s779ms 21 6 9s801ms 1s633ms 22 11 19s84ms 1s734ms 23 5 8s936ms 1s787ms Jun 17 00 8 13s117ms 1s639ms 01 6 10s900ms 1s816ms 02 6 10s440ms 1s740ms 03 9 14s365ms 1s596ms 04 7 11s905ms 1s700ms 05 3 5s864ms 1s954ms 06 8 13s795ms 1s724ms 07 9 13s995ms 1s555ms 08 6 11s386ms 1s897ms 09 11 18s619ms 1s692ms 10 11 19s831ms 1s802ms 11 7 11s683ms 1s669ms 12 6 10s405ms 1s734ms 13 5 8s404ms 1s680ms 14 5 9s469ms 1s893ms 15 9 14s596ms 1s621ms 16 7 11s525ms 1s646ms 17 5 7s620ms 1s524ms 18 2 3s137ms 1s568ms 19 7 12s541ms 1s791ms 20 4 7s115ms 1s778ms 21 4 5s882ms 1s470ms 22 13 20s836ms 1s602ms 23 6 9s818ms 1s636ms Jun 18 00 6 10s202ms 1s700ms 01 2 2s651ms 1s325ms 02 6 9s552ms 1s592ms 03 4 6s872ms 1s718ms [ User: pubeu - Total duration: 1m57s - Times executed: 70 ]
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1411566') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-06-17 06:22:47 Duration: 2s509ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1411566') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-06-17 06:21:06 Duration: 2s457ms Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1411566') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-06-16 22:24:46 Duration: 2s328ms Bind query: yes
17 1s 5s596ms 1s687ms 156 4m23s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where diseaseterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jun 15 04 2 2s494ms 1s247ms 05 1 1s685ms 1s685ms 06 2 4s437ms 2s218ms 07 1 1s146ms 1s146ms 10 1 2s626ms 2s626ms 11 3 5s233ms 1s744ms 12 3 5s951ms 1s983ms 13 3 4s440ms 1s480ms 14 1 2s269ms 2s269ms 15 2 4s56ms 2s28ms 16 2 3s572ms 1s786ms 17 4 7s397ms 1s849ms 18 3 4s56ms 1s352ms 19 3 4s522ms 1s507ms 20 4 9s310ms 2s327ms 23 2 2s737ms 1s368ms Jun 16 00 3 4s892ms 1s630ms 01 3 4s684ms 1s561ms 03 2 3s827ms 1s913ms 06 2 3s237ms 1s618ms 07 3 5s811ms 1s937ms 08 1 1s55ms 1s55ms 09 3 4s756ms 1s585ms 10 2 2s937ms 1s468ms 11 2 2s786ms 1s393ms 12 3 5s593ms 1s864ms 14 1 1s875ms 1s875ms 15 3 4s452ms 1s484ms 16 3 3s476ms 1s158ms 17 5 8s226ms 1s645ms 18 8 12s757ms 1s594ms 19 4 7s924ms 1s981ms 20 2 2s886ms 1s443ms 21 2 3s518ms 1s759ms 22 5 8s129ms 1s625ms 23 4 6s890ms 1s722ms Jun 17 00 5 8s562ms 1s712ms 01 5 7s451ms 1s490ms 02 2 5s181ms 2s590ms 03 3 3s785ms 1s261ms 04 5 7s688ms 1s537ms 05 4 8s950ms 2s237ms 06 7 14s489ms 2s69ms 07 5 8s188ms 1s637ms 08 5 7s785ms 1s557ms 10 1 1s100ms 1s100ms 13 1 1s929ms 1s929ms 14 2 2s576ms 1s288ms 16 1 1s325ms 1s325ms 17 1 2s450ms 2s450ms 18 2 3s989ms 1s994ms 19 2 2s915ms 1s457ms 20 1 1s615ms 1s615ms 22 1 1s389ms 1s389ms Jun 18 00 1 1s75ms 1s75ms 01 1 1s13ms 1s13ms 02 2 2s999ms 1s499ms 03 1 1s160ms 1s160ms [ User: pubeu - Total duration: 51s269ms - Times executed: 27 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2099635') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-06-17 05:50:28 Duration: 5s596ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2094859') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-06-15 20:30:12 Duration: 2s816ms Bind query: yes
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE diseaseTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '2094859') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-06-17 06:34:35 Duration: 2s812ms Bind query: yes
18 1s472ms 6s441ms 1s569ms 1,104 28m52s 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 #18
Day Hour Count Duration Avg duration Jun 15 00 4 6s77ms 1s519ms 01 4 6s196ms 1s549ms 02 2 3s307ms 1s653ms 03 1 1s502ms 1s502ms 04 12 18s553ms 1s546ms 05 9 13s992ms 1s554ms 06 28 43s605ms 1s557ms 07 54 1m23s 1s544ms 08 48 1m14s 1s560ms 09 49 1m17s 1s576ms 10 45 1m10s 1s565ms 11 44 1m9s 1s577ms 12 22 35s132ms 1s596ms 13 11 17s271ms 1s570ms 14 3 4s619ms 1s539ms 15 12 18s730ms 1s560ms 16 20 31s478ms 1s573ms 17 13 20s165ms 1s551ms 18 6 9s418ms 1s569ms 19 8 12s559ms 1s569ms 20 7 10s966ms 1s566ms 21 6 15s464ms 2s577ms 23 3 4s605ms 1s535ms Jun 16 00 4 6s83ms 1s520ms 01 10 15s436ms 1s543ms 02 11 16s993ms 1s544ms 03 22 34s415ms 1s564ms 04 36 55s305ms 1s536ms 05 30 46s317ms 1s543ms 06 7 10s933ms 1s561ms 07 8 12s535ms 1s566ms 08 9 14s209ms 1s578ms 09 25 39s59ms 1s562ms 10 23 36s30ms 1s566ms 11 12 18s775ms 1s564ms 12 21 35s156ms 1s674ms 13 18 27s764ms 1s542ms 14 30 46s710ms 1s557ms 15 11 16s830ms 1s530ms 16 8 12s297ms 1s537ms 17 15 23s624ms 1s574ms 18 20 31s392ms 1s569ms 19 26 41s133ms 1s582ms 20 12 18s701ms 1s558ms 21 16 25s193ms 1s574ms 22 6 9s210ms 1s535ms 23 28 44s258ms 1s580ms Jun 17 00 10 15s838ms 1s583ms 01 7 11s9ms 1s572ms 02 6 9s354ms 1s559ms 03 8 12s369ms 1s546ms 04 21 32s512ms 1s548ms 05 6 9s369ms 1s561ms 06 16 25s294ms 1s580ms 07 38 1m 1s580ms 08 9 14s569ms 1s618ms 09 14 21s849ms 1s560ms 10 11 16s993ms 1s544ms 11 19 29s437ms 1s549ms 12 10 15s572ms 1s557ms 13 2 3s8ms 1s504ms 14 10 15s507ms 1s550ms 15 13 20s48ms 1s542ms 16 14 21s646ms 1s546ms 17 8 12s370ms 1s546ms 18 7 10s915ms 1s559ms 19 9 13s989ms 1s554ms 20 8 12s258ms 1s532ms 21 7 10s904ms 1s557ms 22 6 9s218ms 1s536ms 23 3 4s665ms 1s555ms Jun 18 00 4 6s286ms 1s571ms 01 8 12s139ms 1s517ms 02 9 14s499ms 1s611ms 03 2 3s76ms 1s538ms [ User: pubeu - Total duration: 4m27s - Times executed: 170 ]
-
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-06-15 21:33:38 Duration: 6s441ms 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-06-16 12:14:48 Duration: 3s318ms 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-06-15 09:56:36 Duration: 2s824ms Bind query: yes
19 1s238ms 7s738ms 1s541ms 2,101 53m59s select ;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jun 15 04 9 14s99ms 1s566ms 05 7 10s481ms 1s497ms 06 7 10s645ms 1s520ms 11 30 45s885ms 1s529ms 12 39 58s563ms 1s501ms 16 24 36s977ms 1s540ms 17 68 1m41s 1s499ms 18 90 2m15s 1s502ms 19 31 46s299ms 1s493ms 20 52 1m19s 1s538ms 21 41 1m29s 2s180ms 23 18 47s978ms 2s665ms Jun 16 00 43 1m4s 1s498ms 01 29 41s705ms 1s438ms 02 10 14s338ms 1s433ms 03 13 18s394ms 1s414ms 04 6 8s726ms 1s454ms 05 2 2s642ms 1s321ms 06 25 37s50ms 1s482ms 07 34 51s974ms 1s528ms 08 48 1m15s 1s572ms 09 26 40s43ms 1s540ms 10 14 21s93ms 1s506ms 11 23 34s68ms 1s481ms 12 49 1m18s 1s599ms 13 40 1m 1s500ms 14 33 48s562ms 1s471ms 15 28 39s642ms 1s415ms 16 46 1m12s 1s567ms 17 68 1m48s 1s594ms 18 66 1m37s 1s484ms 19 47 1m9s 1s483ms 20 66 1m37s 1s477ms 21 75 1m49s 1s462ms 22 50 1m15s 1s512ms 23 84 2m11s 1s567ms Jun 17 00 106 2m50s 1s609ms 01 70 1m46s 1s526ms 02 58 1m30s 1s564ms 03 47 1m11s 1s515ms 04 67 1m38s 1s473ms 05 85 2m10s 1s540ms 06 77 1m57s 1s520ms 07 86 2m9s 1s503ms 08 107 2m42s 1s515ms Jun 18 01 20 30s222ms 1s511ms 02 28 41s713ms 1s489ms 03 9 13s261ms 1s473ms [ User: pubeu - Total duration: 7m38s - Times executed: 276 ]
-
SELECT /* GeneBrowseTermsDAO */ ;
Date: 2025-06-15 21:33:19 Duration: 7s738ms Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ ;
Date: 2025-06-15 23:30:15 Duration: 7s513ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ ;
Date: 2025-06-15 23:30:15 Duration: 7s196ms Database: ctdprd51 User: pubeu Bind query: yes
20 1s180ms 7s995ms 1s443ms 120,708 2d24m3s 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 #20
Day Hour Count Duration Avg duration Jun 15 03 1 1s588ms 1s588ms 04 914 22m3s 1s448ms 05 1,544 37m34s 1s460ms 06 1,286 30m23s 1s417ms 07 1 1s293ms 1s293ms 08 1 1s634ms 1s634ms 09 1 1s434ms 1s434ms 11 1,646 39m25s 1s437ms 12 1,812 43m11s 1s429ms 13 27 37s680ms 1s395ms 14 15 21s100ms 1s406ms 15 15 21s893ms 1s459ms 16 1,555 37m2s 1s429ms 17 4,049 1h36m11s 1s425ms 18 4,128 1h38m13s 1s427ms 19 2,692 1h4m8s 1s429ms 20 2,721 1h8m22s 1s507ms 21 536 24m58s 2s795ms 22 1 1s442ms 1s442ms 23 923 25m39s 1s667ms Jun 16 00 2,218 51m10s 1s384ms 01 2,660 1h11s 1s357ms 02 981 22m17s 1s363ms 03 1,601 36m44s 1s376ms 04 519 11m47s 1s363ms 05 428 9m41s 1s358ms 06 2,092 47m53s 1s373ms 07 2,397 56m16s 1s408ms 08 2,346 56m47s 1s452ms 09 1,750 41m53s 1s436ms 10 805 19m8s 1s426ms 11 1,785 42m10s 1s417ms 12 2,958 1h12m51s 1s477ms 13 2,897 1h10m21s 1s457ms 14 2,673 1h1m11s 1s373ms 15 2,690 1h38s 1s352ms 16 2,997 1h13m23s 1s469ms 17 3,140 1h16m57s 1s470ms 18 3,648 1h26m5s 1s416ms 19 3,172 1h15m20s 1s425ms 20 3,329 1h19m23s 1s431ms 21 4,224 1h37m3s 1s378ms 22 2,584 1h2m6s 1s441ms 23 3,060 1h15m10s 1s473ms Jun 17 00 4,064 1h40m 1s476ms 01 3,759 1h31m7s 1s454ms 02 3,482 1h25m28s 1s472ms 03 3,340 1h20m40s 1s449ms 04 4,036 1h34m58s 1s412ms 05 4,262 1h46m59s 1s506ms 06 4,303 1h45m20s 1s468ms 07 3,984 1h35m9s 1s433ms 08 4,283 1h43m36s 1s451ms 09 50 1m6s 1s326ms 12 6 8s878ms 1s479ms 13 2 2s826ms 1s413ms 16 1 1s357ms 1s357ms 17 1 1s447ms 1s447ms 22 2 2s953ms 1s476ms Jun 18 00 5 7s153ms 1s430ms 01 1,324 32m3s 1s452ms 02 2,335 55m56s 1s437ms 03 647 15m50s 1s469ms [ User: pubeu - Total duration: 6h31m2s - Times executed: 15240 ]
-
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-06-15 21:33:42 Duration: 7s995ms 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-06-15 21:33:43 Duration: 7s968ms 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-06-15 21:33:43 Duration: 7s836ms 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 2m39s 132 1s 1s484ms 1s210ms SELECT /* ReferenceCitedDiseasesDAO */ d.id, d.nm, d.nm_html nmHtml, d.acc_txt acc, d.acc_db_cd accdbcd, d.has_chems hasChems, d.has_genes hasGenes FROM term d WHERE d.id IN ( SELECT gdr.disease_id FROM gene_disease_reference gdr WHERE gdr.reference_id = $1 AND gdr.source_cd IN ('C', 'O') UNION ALL SELECT cdr.disease_id FROM chem_disease_reference cdr WHERE cdr.reference_id = $2 AND cdr.source_cd = 'C' UNION ALL select outcome.disease_id from exposure e, exp_outcome outcome where e.reference_id = $3 and e.exp_outcome_id = outcome.id) ORDER BY d.nm_sort;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Jun 18 05 2 2s219ms 1s109ms 20 2 2s92ms 1s46ms Jun 18 10 3 3s852ms 1s284ms 12 9 10s388ms 1s154ms 13 18 21s369ms 1s187ms 20 6 6s741ms 1s123ms Jun 18 02 2 2s50ms 1s25ms 03 8 9s620ms 1s202ms 05 16 19s46ms 1s190ms 08 8 11s413ms 1s426ms 09 4 4s846ms 1s211ms 14 4 4s409ms 1s102ms 17 24 29s282ms 1s220ms 21 4 4s636ms 1s159ms 22 20 25s256ms 1s262ms Jun 18 01 2 2s534ms 1s267ms -
SELECT /* ReferenceCitedDiseasesDAO */ d.id, d.nm, d.nm_html nmHtml, d.acc_txt acc, d.acc_db_cd accdbcd, d.has_chems hasChems, d.has_genes hasGenes FROM term d WHERE d.id IN ( SELECT gdr.disease_id FROM gene_disease_reference gdr WHERE gdr.reference_id = $1 AND gdr.source_cd IN ('C', 'O') UNION ALL SELECT cdr.disease_id FROM chem_disease_reference cdr WHERE cdr.reference_id = $2 AND cdr.source_cd = 'C' UNION ALL select outcome.disease_id from exposure e, exp_outcome outcome where e.reference_id = $3 and e.exp_outcome_id = outcome.id) ORDER BY d.nm_sort;
Date: 2025-06-17 08:07:41 Duration: 1s484ms Database: postgres parameters: $1 = '1264508'
-
SELECT /* ReferenceCitedDiseasesDAO */ d.id, d.nm, d.nm_html nmHtml, d.acc_txt acc, d.acc_db_cd accdbcd, d.has_chems hasChems, d.has_genes hasGenes FROM term d WHERE d.id IN ( SELECT gdr.disease_id FROM gene_disease_reference gdr WHERE gdr.reference_id = $1 AND gdr.source_cd IN ('C', 'O') UNION ALL SELECT cdr.disease_id FROM chem_disease_reference cdr WHERE cdr.reference_id = $2 AND cdr.source_cd = 'C' UNION ALL select outcome.disease_id from exposure e, exp_outcome outcome where e.reference_id = $3 and e.exp_outcome_id = outcome.id) ORDER BY d.nm_sort;
Date: 2025-06-17 17:19:23 Duration: 1s461ms Database: postgres parameters: $1 = '1411566', $2 = '1411566', $3 = 'chem%'
-
SELECT /* ReferenceCitedDiseasesDAO */ d.id, d.nm, d.nm_html nmHtml, d.acc_txt acc, d.acc_db_cd accdbcd, d.has_chems hasChems, d.has_genes hasGenes FROM term d WHERE d.id IN ( SELECT gdr.disease_id FROM gene_disease_reference gdr WHERE gdr.reference_id = $1 AND gdr.source_cd IN ('C', 'O') UNION ALL SELECT cdr.disease_id FROM chem_disease_reference cdr WHERE cdr.reference_id = $2 AND cdr.source_cd = 'C' UNION ALL select outcome.disease_id from exposure e, exp_outcome outcome where e.reference_id = $3 and e.exp_outcome_id = outcome.id) ORDER BY d.nm_sort;
Date: 2025-06-17 22:30:05 Duration: 1s390ms Database: postgres parameters: $1 = '1261189', $2 = '1261189'
2 27s399ms 23 1s7ms 1s579ms 1s191ms SELECT /* ReferenceCitedGenesDAO */ g.nm symbol, g.nm_html symbolHtml, g.secondary_nm nm, g.acc_txt acc, g.acc_db_cd accDbCd, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, g.id FROM term g WHERE g.id IN ( SELECT gdr.gene_id FROM gene_disease_reference gdr WHERE gdr.reference_id = $1 AND gdr.source_cd IN ('C', 'O') UNION ALL SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE gcr.reference_id = $2 UNION ALL SELECT ggr.from_gene_id FROM gene_gene_reference ggr WHERE ggr.reference_id = $3 UNION ALL SELECT ggr.to_gene_id FROM gene_gene_reference ggr WHERE ggr.reference_id = $4 UNION ALL select event.exp_marker_term_id from exposure e, exp_event event where e.reference_id = $5 and e.exp_event_id = event.id and event.exp_marker_type_id in ( select id from exp_marker_type where nm like 'gene%') UNION ALL SELECT term_id FROM phenotype_term_reference ptr WHERE ptr.reference_id = $6 and ptr.term_object_type_id = 4) ORDER BY g.nm_sort;Times Reported Time consuming bind #2
Day Hour Count Duration Avg duration 19 4 5s30ms 1s257ms 09 3 3s37ms 1s12ms 20 12 15s252ms 1s271ms 21 4 4s78ms 1s19ms -
SELECT /* ReferenceCitedGenesDAO */ g.nm symbol, g.nm_html symbolHtml, g.secondary_nm nm, g.acc_txt acc, g.acc_db_cd accDbCd, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, g.id FROM term g WHERE g.id IN ( SELECT gdr.gene_id FROM gene_disease_reference gdr WHERE gdr.reference_id = $1 AND gdr.source_cd IN ('C', 'O') UNION ALL SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE gcr.reference_id = $2 UNION ALL SELECT ggr.from_gene_id FROM gene_gene_reference ggr WHERE ggr.reference_id = $3 UNION ALL SELECT ggr.to_gene_id FROM gene_gene_reference ggr WHERE ggr.reference_id = $4 UNION ALL select event.exp_marker_term_id from exposure e, exp_event event where e.reference_id = $5 and e.exp_event_id = event.id and event.exp_marker_type_id in ( select id from exp_marker_type where nm like 'gene%') UNION ALL SELECT term_id FROM phenotype_term_reference ptr WHERE ptr.reference_id = $6 and ptr.term_object_type_id = 4) ORDER BY g.nm_sort;
Date: 2025-06-17 21:48:17 Duration: 1s579ms Database: postgres parameters: $1 = '2103772', $2 = '2103772'
-
SELECT /* ReferenceCitedGenesDAO */ g.nm symbol, g.nm_html symbolHtml, g.secondary_nm nm, g.acc_txt acc, g.acc_db_cd accDbCd, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, g.id FROM term g WHERE g.id IN ( SELECT gdr.gene_id FROM gene_disease_reference gdr WHERE gdr.reference_id = $1 AND gdr.source_cd IN ('C', 'O') UNION ALL SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE gcr.reference_id = $2 UNION ALL SELECT ggr.from_gene_id FROM gene_gene_reference ggr WHERE ggr.reference_id = $3 UNION ALL SELECT ggr.to_gene_id FROM gene_gene_reference ggr WHERE ggr.reference_id = $4 UNION ALL select event.exp_marker_term_id from exposure e, exp_event event where e.reference_id = $5 and e.exp_event_id = event.id and event.exp_marker_type_id in ( select id from exp_marker_type where nm like 'gene%') UNION ALL SELECT term_id FROM phenotype_term_reference ptr WHERE ptr.reference_id = $6 and ptr.term_object_type_id = 4) ORDER BY g.nm_sort;
Date: 2025-06-15 20:19:17 Duration: 1s467ms Database: postgres parameters: $1 = '4', $2 = 'A'
-
SELECT /* ReferenceCitedGenesDAO */ g.nm symbol, g.nm_html symbolHtml, g.secondary_nm nm, g.acc_txt acc, g.acc_db_cd accDbCd, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, g.id FROM term g WHERE g.id IN ( SELECT gdr.gene_id FROM gene_disease_reference gdr WHERE gdr.reference_id = $1 AND gdr.source_cd IN ('C', 'O') UNION ALL SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE gcr.reference_id = $2 UNION ALL SELECT ggr.from_gene_id FROM gene_gene_reference ggr WHERE ggr.reference_id = $3 UNION ALL SELECT ggr.to_gene_id FROM gene_gene_reference ggr WHERE ggr.reference_id = $4 UNION ALL select event.exp_marker_term_id from exposure e, exp_event event where e.reference_id = $5 and e.exp_event_id = event.id and event.exp_marker_type_id in ( select id from exp_marker_type where nm like 'gene%') UNION ALL SELECT term_id FROM phenotype_term_reference ptr WHERE ptr.reference_id = $6 and ptr.term_object_type_id = 4) ORDER BY g.nm_sort;
Date: 2025-06-17 21:34:23 Duration: 1s226ms Database: postgres parameters: $1 = '1652231', $2 = '1652231'
3 8s284ms 8 1s 1s60ms 1s35ms SELECT /* GeneDiseaseRefsDAO */ i.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT COALESCE(gdr.source_acc_txt, 'ZZZ' || r.sort_txt) refcolsort, CASE WHEN gdr.source_acc_db_id IS NOT NULL THEN get_disease_ixn_source_link_html (gdr.source_acc_db_id, gdr.source_acc_txt) ELSE NULL END AS sourceacclink, r.acc_txt refAcc, gdr.source_acc_txt sourceAcc, gdr.source_acc_db_id sourceAccDbId, r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, gdr.gene_id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, gdr.disease_id diseaseid, r.has_exposures hasExposures FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id WHERE gdr.gene_id = $1 AND gdr.disease_id = $2) i ORDER BY 1 LIMIT 50;Times Reported Time consuming bind #3
Day Hour Count Duration Avg duration 04 2 2s100ms 1s50ms 05 6 6s183ms 1s30ms -
SELECT /* GeneDiseaseRefsDAO */ i.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT COALESCE(gdr.source_acc_txt, 'ZZZ' || r.sort_txt) refcolsort, CASE WHEN gdr.source_acc_db_id IS NOT NULL THEN get_disease_ixn_source_link_html (gdr.source_acc_db_id, gdr.source_acc_txt) ELSE NULL END AS sourceacclink, r.acc_txt refAcc, gdr.source_acc_txt sourceAcc, gdr.source_acc_db_id sourceAccDbId, r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, gdr.gene_id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, gdr.disease_id diseaseid, r.has_exposures hasExposures FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id WHERE gdr.gene_id = $1 AND gdr.disease_id = $2) i ORDER BY 1 LIMIT 50;
Date: 2025-06-16 06:58:28 Duration: 1s60ms Database: postgres parameters: $1 = '4', $2 = 'A'
-
SELECT /* GeneDiseaseRefsDAO */ i.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT COALESCE(gdr.source_acc_txt, 'ZZZ' || r.sort_txt) refcolsort, CASE WHEN gdr.source_acc_db_id IS NOT NULL THEN get_disease_ixn_source_link_html (gdr.source_acc_db_id, gdr.source_acc_txt) ELSE NULL END AS sourceacclink, r.acc_txt refAcc, gdr.source_acc_txt sourceAcc, gdr.source_acc_db_id sourceAccDbId, r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, gdr.gene_id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, gdr.disease_id diseaseid, r.has_exposures hasExposures FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id WHERE gdr.gene_id = $1 AND gdr.disease_id = $2) i ORDER BY 1 LIMIT 50;
Date: 2025-06-15 05:14:50 Duration: 1s50ms Database: postgres parameters: $1 = '1455947', $2 = '1455947'
-
SELECT /* GeneDiseaseRefsDAO */ i.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT COALESCE(gdr.source_acc_txt, 'ZZZ' || r.sort_txt) refcolsort, CASE WHEN gdr.source_acc_db_id IS NOT NULL THEN get_disease_ixn_source_link_html (gdr.source_acc_db_id, gdr.source_acc_txt) ELSE NULL END AS sourceacclink, r.acc_txt refAcc, gdr.source_acc_txt sourceAcc, gdr.source_acc_db_id sourceAccDbId, r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, gdr.gene_id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, gdr.disease_id diseaseid, r.has_exposures hasExposures FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id WHERE gdr.gene_id = $1 AND gdr.disease_id = $2) i ORDER BY 1 LIMIT 50;
Date: 2025-06-16 06:58:35 Duration: 1s Database: postgres parameters: $1 = '4', $2 = 'A'
4 4s848ms 4 1s212ms 1s212ms 1s212ms SELECT /* GeneDiseaseRefsDAO */ i.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT COALESCE(gdr.source_acc_txt, 'ZZZ' || r.sort_txt) refcolsort, CASE WHEN gdr.source_acc_db_id IS NOT NULL THEN get_disease_ixn_source_link_html (gdr.source_acc_db_id, gdr.source_acc_txt) ELSE NULL END AS sourceacclink, r.acc_txt refAcc, gdr.source_acc_txt sourceAcc, gdr.source_acc_db_id sourceAccDbId, r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, gdr.gene_id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, gdr.disease_id diseaseid, r.has_exposures hasExposures FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id WHERE gdr.gene_id = $1 AND gdr.disease_id = $2) i ORDER BY 1;Times Reported Time consuming bind #4
Day Hour Count Duration Avg duration 06 4 4s848ms 1s212ms -
SELECT /* GeneDiseaseRefsDAO */ i.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT COALESCE(gdr.source_acc_txt, 'ZZZ' || r.sort_txt) refcolsort, CASE WHEN gdr.source_acc_db_id IS NOT NULL THEN get_disease_ixn_source_link_html (gdr.source_acc_db_id, gdr.source_acc_txt) ELSE NULL END AS sourceacclink, r.acc_txt refAcc, gdr.source_acc_txt sourceAcc, gdr.source_acc_db_id sourceAccDbId, r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, gdr.gene_id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, gdr.disease_id diseaseid, r.has_exposures hasExposures FROM gene_disease_reference gdr INNER JOIN term g ON gdr.gene_id = g.id LEFT OUTER JOIN reference r ON gdr.reference_id = r.id WHERE gdr.gene_id = $1 AND gdr.disease_id = $2) i ORDER BY 1;
Date: 2025-06-17 07:35:38 Duration: 1s212ms Database: postgres
5 4s691ms 4 1s172ms 1s172ms 1s172ms SELECT /* ReferenceDiseasesDAO */ i.*, COUNT(*) OVER () fullRowCount FROM ( SELECT d.nm diseasenm, d.nm_sort diseasenmsort, d.acc_txt diseaseacc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_reference_axn a WHERE a.chem_disease_reference_id = cdr.id) actionTypes, c.nm chemnm, c.nm_sort chemnmsort, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemId, NULL geneSymbol, NULL geneSymbolSort, NULL geneAcc, NULL geneAccDbCd, NULL geneId FROM chem_disease_reference cdr INNER JOIN term c ON cdr.chem_id = c.id INNER JOIN term d ON cdr.disease_id = d.id WHERE cdr.reference_id = $1 AND cdr.source_cd = 'C' UNION ALL SELECT d.nm diseasenm, d.nm_sort diseasenmsort, d.acc_txt diseaseacc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_reference_axn a WHERE a.gene_disease_reference_id = gdr.id) actionTypes, NULL chemnm, NULL chemnmsort, NULL chemnmhtml, NULL chemacc, NULL chemId, NULL casRN, g.nm geneSymbol, g.nm_sort geneSymbolSort, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId 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 WHERE gdr.reference_id = $2 AND gdr.source_cd IN ('C', 'O')) i ORDER BY 2, 8, 14 LIMIT 50;Times Reported Time consuming bind #5
Day Hour Count Duration Avg duration 04 4 4s691ms 1s172ms -
SELECT /* ReferenceDiseasesDAO */ i.*, COUNT(*) OVER () fullRowCount FROM ( SELECT d.nm diseasenm, d.nm_sort diseasenmsort, d.acc_txt diseaseacc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_reference_axn a WHERE a.chem_disease_reference_id = cdr.id) actionTypes, c.nm chemnm, c.nm_sort chemnmsort, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemId, NULL geneSymbol, NULL geneSymbolSort, NULL geneAcc, NULL geneAccDbCd, NULL geneId FROM chem_disease_reference cdr INNER JOIN term c ON cdr.chem_id = c.id INNER JOIN term d ON cdr.disease_id = d.id WHERE cdr.reference_id = $1 AND cdr.source_cd = 'C' UNION ALL SELECT d.nm diseasenm, d.nm_sort diseasenmsort, d.acc_txt diseaseacc, d.acc_db_cd diseaseAccDbCd, d.id diseaseId, ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM gene_disease_reference_axn a WHERE a.gene_disease_reference_id = gdr.id) actionTypes, NULL chemnm, NULL chemnmsort, NULL chemnmhtml, NULL chemacc, NULL chemId, NULL casRN, g.nm geneSymbol, g.nm_sort geneSymbolSort, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, g.id geneId 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 WHERE gdr.reference_id = $2 AND gdr.source_cd IN ('C', 'O')) i ORDER BY 2, 8, 14 LIMIT 50;
Date: 2025-06-17 05:47:47 Duration: 1s172ms Database: postgres
6 4s437ms 4 1s109ms 1s109ms 1s109ms 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 = $1 or receptorTerm.id = $2 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;Times Reported Time consuming bind #6
Day Hour Count Duration Avg duration 16 4 4s437ms 1s109ms -
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 = $1 or receptorTerm.id = $2 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-06-17 17:24:18 Duration: 1s109ms Database: postgres parameters: $1 = '2054840', $2 = '2054840'
7 4s112ms 4 1s28ms 1s28ms 1s28ms 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 = $1) 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 = $2) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like $3) 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;Times Reported Time consuming bind #7
Day Hour Count Duration Avg duration 20 4 4s112ms 1s28ms -
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 = $1) 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 = $2) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like $3) 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-06-17 21:47:55 Duration: 1s28ms Database: postgres parameters: $1 = '1449732', $2 = '1449732', $3 = 'chem%'
8 3s310ms 3 1s103ms 1s103ms 1s103ms 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 = $1) or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = $2) 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 phenotypeField LIMIT 50;Times Reported Time consuming bind #8
Day Hour Count Duration Avg duration 11 3 3s310ms 1s103ms -
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 = $1) or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = $2) 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 phenotypeField LIMIT 50;
Date: 2025-06-16 12:24:49 Duration: 1s103ms Database: postgres parameters: $1 = '2103825', $2 = '2103825'
9 0ms 7,662 0ms 0ms 0ms ;Times Reported Time consuming bind #9
Day Hour Count Duration Avg duration Jun 14 22 2 0ms 0ms 23 1 0ms 0ms Jun 15 04 18 0ms 0ms 05 24 0ms 0ms 06 26 0ms 0ms 09 2 0ms 0ms 11 72 0ms 0ms 12 90 0ms 0ms 15 2 0ms 0ms 16 64 0ms 0ms 17 168 0ms 0ms 18 206 0ms 0ms 19 96 0ms 0ms 20 104 0ms 0ms 21 30 0ms 0ms 23 48 0ms 0ms Jun 16 00 57 0ms 0ms 01 41 0ms 0ms 02 10 0ms 0ms 03 21 0ms 0ms 04 24 0ms 0ms 05 9 0ms 0ms 06 99 0ms 0ms 07 174 0ms 0ms 08 204 0ms 0ms 09 171 0ms 0ms 10 93 0ms 0ms 11 117 0ms 0ms 12 204 0ms 0ms 13 183 0ms 0ms 14 189 0ms 0ms 15 93 0ms 0ms 16 225 0ms 0ms 17 291 0ms 0ms 18 240 0ms 0ms 19 186 0ms 0ms 20 234 0ms 0ms 21 252 0ms 0ms 22 234 0ms 0ms 23 306 0ms 0ms Jun 17 00 300 0ms 0ms 01 206 0ms 0ms 02 162 0ms 0ms 03 178 0ms 0ms 04 324 0ms 0ms 05 336 0ms 0ms 06 412 0ms 0ms 07 376 0ms 0ms 08 536 0ms 0ms 09 12 0ms 0ms 10 20 0ms 0ms 11 12 0ms 0ms 12 28 0ms 0ms 13 12 0ms 0ms Jun 18 01 58 0ms 0ms 02 66 0ms 0ms 03 14 0ms 0ms [ User: pubeu - Total duration: 5m42s - Times executed: 221 ]
-
;
Date: Duration: 0ms Database: postgres parameters: $1 = '1449721', $2 = '1449721', $3 = 'chem%'
-
Events
Log levels
Key values
- 472,977 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 41 FATAL entries
- 119 ERROR entries
- 3 WARNING entries
- 34 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 100 Max number of times the same event was reported
- 197 Total events found
Rank Times reported Error 1 100 ERROR: syntax error in ts"..."
Times Reported Most Frequent Error / Event #1
Day Hour Count Jun 15 01 2 02 2 03 2 04 2 05 1 06 3 07 3 08 1 09 2 12 4 16 1 18 2 19 1 21 1 23 1 Jun 16 00 1 01 3 02 4 04 3 05 1 06 1 08 1 09 1 10 1 11 1 12 1 13 1 14 3 16 2 18 1 19 2 21 1 23 2 Jun 17 00 2 01 5 02 3 03 3 04 3 05 1 06 1 07 7 09 3 12 3 13 1 14 1 19 1 20 1 21 2 22 3 Jun 18 00 1 02 1 - ERROR: syntax error in ts"家庭教師 シニア"
- ERROR: syntax error in ts"国家公務員共済組合連合会 & 名城病院 名古屋大"
- ERROR: syntax error in ts"UJHMU7 & H4TKUBNTJ/|<MN"
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-06-15 03:50:01 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 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2025-06-15 04:05:31
Statement: SELECT /* GeneBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Symbol' THEN true ELSE false END isNameMatch ,CASE WHEN lt.nm_display='Name' THEN true ELSE false END isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM term t INNER JOIN term_label l ON l.term_id = t.id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 4 AND t.object_type_id = 4 AND l.id IN( SELECT FIRST_VALUE(i.id) OVER(PARTITION BY i.term_id ORDER BY it.priority_seq, i.nm) FROM term_label i INNER JOIN term_label_type it ON i.term_label_type_id = it.id WHERE i.object_type_id = 4 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ t.acc_txt acc ,'name:' || t.nm accQueryStr ,t.nm ,t.nm_html nmHtml ,t.secondary_nm secondaryNm ,l.acc_txt matchednm ,'Accession' matchedtype ,false isNameMatch ,false isSecondaryNameMatch ,t.has_chems hasChems ,t.has_diseases hasDiseases ,t.has_exposures hasExposures ,1 relevance ,t.nm_sort ,t.id ,t.has_phenotypes hasPhenotypes FROM db_link l INNER JOIN term t ON l.object_id = t.id WHERE l.type_cd = 'A' AND l.object_type_id = 4 AND (upper( l.acc_txt ) = $3 OR upper( l.acc_txt ) = $4 OR upper( l.acc_txt ) = $5 OR upper( l.acc_txt ) = $6 ) ORDER BY 13,14 ) sq LIMIT 50
Date: 2025-06-15 06:13:42
2 29 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #2
Day Hour Count Jun 15 03 1 04 1 09 1 18 1 19 6 Jun 16 04 1 07 1 08 1 09 1 12 1 13 1 17 1 19 2 20 1 22 2 Jun 17 02 1 06 1 07 1 12 1 21 1 Jun 18 02 2 3 29 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #3
Day Hour Count Jun 15 03 1 04 1 09 1 18 1 19 6 Jun 16 04 1 07 1 08 1 09 1 12 1 13 1 17 1 19 2 20 1 22 2 Jun 17 02 1 06 1 07 1 12 1 21 1 Jun 18 02 2 4 15 ERROR: value too long for type character varying(...)
Times Reported Most Frequent Error / Event #4
Day Hour Count Jun 15 05 1 19 1 21 1 Jun 16 03 1 05 1 06 2 09 1 10 1 22 1 Jun 17 06 1 21 1 22 1 Jun 18 00 1 02 1 - ERROR: value too long for type character varying(256)
Statement: INSERT /* AdvancedQueryDAO.logQuery */ INTO pubc.log_query (type_cd ,query_tm ,submission_qty ,session_id ,server_nm ,node_nm ,remote_addr ,http_user_agent ,results_qty ,execution_ms ,gene_txt ,taxon_txt ,chem_txt ,acc_txt ,party_nm_txt ,gene_query_type ,taxon_query_type ,chem_query_type ,party_query_type ,action_type_txt ,pathway_txt ,pathway_query_type ,gene_form_type_txt ,action_degree_type_txt,go_txt ,go_query_type ,disease_txt ,disease_query_type ,gd_assn_type ,from_yr ,through_yr ,title_abstract_txt ,review_status ) VALUES ($1 ,CURRENT_TIMESTAMP ,1 ,$2 ,$3 ,NULLIF($4,'') ,SUBSTR($5,1,128) ,NULLIF(SUBSTR($6,1,256),'') ,$7 ,NULLIF($8,-1) ,NULLIF($9,'') ,NULLIF($10,'') ,NULLIF($11,'') ,NULLIF(SUBSTR($12,1,4000),'') ,NULLIF($13,'') ,NULLIF($14,'') ,NULLIF($15,'') ,NULLIF($16,'') ,NULLIF($17,'') ,NULLIF(SUBSTR($18,1,4000),'') ,NULLIF(SUBSTR($19,1,4000),'') ,NULLIF(SUBSTR($20,1,4000),'') ,NULLIF(SUBSTR($21,1,4000),'') ,NULLIF(SUBSTR($22,1,4000),'') ,NULLIF($23,'') ,NULLIF($24,'') ,NULLIF(SUBSTR($25,1,4000),'') ,NULLIF($26,'') ,NULLIF($27,'') ,NULLIF($28,0) ,NULLIF($29,0) ,NULLIF($30,'') ,NULLIF($31,'') ) RETURNING id
Date: 2025-06-15 05:33:24
5 12 FATAL: canceling authentication due to timeout
Times Reported Most Frequent Error / Event #5
Day Hour Count Jun 15 21 5 22 2 23 5 6 4 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #6
Day Hour Count Jun 16 17 1 18 3 7 3 ERROR: relation "..." does not exist
Times Reported Most Frequent Error / Event #7
Day Hour Count Jun 16 15 2 18 1 - 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 g.nm_sort ,c.nm_sort LIMIT 50
Date: 2025-06-16 15:34:13
8 3 WARNING: is not a PostgreSQL server process
Times Reported Most Frequent Error / Event #8
Day Hour Count Jun 16 10 3 9 1 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #9
Day Hour Count Jun 16 11 1 - ERROR: syntax error at or near "where" at character 133
Statement: select distinct table_name, column_name, table_schema from information_schema.columns where column_name like '%action_degree_type%' where table_schema = 'pub1'
Date: 2025-06-16 11:13:59 Database: ctdprd51 Application: pgAdmin 4 - CONN:8333948 User: pub1 Remote:
10 1 LOG: database system was shut down at ...
Times Reported Most Frequent Error / Event #10
Day Hour Count Jun 15 09 1