-
Global information
- Generated on Sun Jun 1 04:15:39 2025
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20250531
- Parsed 1,172,578 log entries in 37s
- Log start from 2025-05-25 00:00:00 to 2025-05-31 23:59:54
-
Overview
Global Stats
- 1,018 Number of unique normalized queries
- 87,893 Number of queries
- 7d22h2m42s Total query duration
- 2025-05-25 00:00:18 First query
- 2025-05-31 23:59:54 Last query
- 10 queries/s at 2025-05-30 23:02:59 Query peak
- 7d22h2m42s Total query duration
- 9m28s Prepare/parse total duration
- 3m2s Bind total duration
- 7d21h50m11s Execute total duration
- 16,722 Number of events
- 27 Number of unique normalized events
- 13,680 Max number of times the same event was reported
- 0 Number of cancellation
- 242 Total number of automatic vacuums
- 335 Total number of automatic analyzes
- 3,009 Number temporary file
- 1.00 GiB Max size of temporary file
- 203.46 MiB Average size of temporary file
- 91,170 Total number of sessions
- 142 sessions at 2025-05-27 22:08:33 Session peak
- 304d21h44m25s Total duration of sessions
- 4m48s Average duration of sessions
- 0 Average queries per session
- 7s504ms Average queries duration per session
- 4m41s Average idle time per session
- 104,381 Total number of connections
- 122 connections/s at 2025-05-25 03:07:02 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 10 queries/s Query Peak
- 2025-05-30 23:02:59 Date
SELECT Traffic
Key values
- 10 queries/s Query Peak
- 2025-05-30 20:35:41 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 2 queries/s Query Peak
- 2025-05-30 23:09:07 Date
Queries duration
Key values
- 7d22h2m42s 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) May 25 00 411 1s20ms 5m46s 4s587ms 1m2s 5m31s 6m6s 01 424 1s8ms 18m45s 7s346ms 40s722ms 1m30s 18m49s 02 471 1s 6m51s 4s875ms 56s825ms 2m18s 13m52s 03 480 1s1ms 1m15s 2s588ms 51s52ms 1m44s 2m11s 04 371 0ms 33s713ms 2s576ms 45s94ms 1m 1m27s 05 451 1s10ms 2m21s 2s924ms 45s636ms 1m40s 2m48s 06 402 1s5ms 3m37s 3s84ms 48s437ms 1m20s 3m42s 07 397 1s1ms 20s358ms 2s763ms 54s299ms 1m5s 1m18s 08 421 1s6ms 18m41s 6s406ms 39s220ms 4m41s 19m45s 09 411 1s3ms 25s341ms 1s970ms 23s680ms 30s354ms 1m7s 10 419 1s2ms 1m4s 2s586ms 47s355ms 1m6s 1m49s 11 319 0ms 3m36s 2s484ms 20s674ms 33s822ms 3m57s 12 0 0ms 0ms 0ms 0ms 0ms 0ms 13 1 0ms 1s439ms 1s439ms 0ms 0ms 1s439ms 14 12 0ms 1m4s 13s850ms 1s363ms 44s232ms 1m36s 15 0 0ms 0ms 0ms 0ms 0ms 0ms 16 0 0ms 0ms 0ms 0ms 0ms 0ms 17 0 0ms 0ms 0ms 0ms 0ms 0ms 18 11 0ms 1m5s 15s72ms 0ms 44s309ms 1m37s 19 2 0ms 1s429ms 1s322ms 0ms 1s215ms 1s429ms 20 0 0ms 0ms 0ms 0ms 0ms 0ms 21 1 0ms 1s157ms 1s157ms 0ms 0ms 1s157ms 22 0 0ms 0ms 0ms 0ms 0ms 0ms 23 0 0ms 0ms 0ms 0ms 0ms 0ms May 26 00 2 0ms 5m46s 2m56s 0ms 0ms 5m52s 01 0 0ms 0ms 0ms 0ms 0ms 0ms 02 2 0ms 5s646ms 3s915ms 0ms 2s183ms 5s646ms 03 150 0ms 17s790ms 2s756ms 40s339ms 57s97ms 1m12s 04 408 0ms 7m10s 4s263ms 1m18s 1m23s 7m59s 05 26 0ms 4s726ms 2s133ms 9s257ms 17s430ms 24s41ms 06 16 0ms 1m4s 11s43ms 1s235ms 24s410ms 1m36s 07 4 0ms 1s86ms 1s36ms 0ms 1s25ms 1s86ms 08 228 0ms 4m46s 6s40ms 1m5s 4m41s 4m57s 09 310 0ms 18s31ms 1s951ms 16s676ms 43s313ms 1m26s 10 309 1s13ms 1m5s 2s497ms 29s575ms 54s372ms 1m42s 11 337 1s 19s88ms 1s793ms 21s178ms 25s24ms 43s603ms 12 526 1s9ms 16s794ms 1s597ms 22s254ms 27s644ms 51s311ms 13 645 1s2ms 18s717ms 1s848ms 36s19ms 52s693ms 1m4s 14 486 1s4ms 1m5s 2s453ms 1m1s 1m17s 2m9s 15 702 1s7ms 27s627ms 1s761ms 37s142ms 1m11s 1m20s 16 677 1s 18s943ms 1s626ms 33s722ms 42s249ms 47s5ms 17 573 1s8ms 21s599ms 1s591ms 24s609ms 28s696ms 1m17s 18 804 1s6ms 1m17s 1s838ms 43s70ms 1m16s 1m59s 19 754 1s16ms 29s880ms 1s644ms 32s714ms 44s21ms 2m1s 20 784 1s3ms 23s583ms 1s670ms 35s897ms 57s214ms 1m21s 21 824 1s23ms 25s47ms 1s744ms 38s850ms 1m13s 1m36s 22 774 1s7ms 1m8s 2s74ms 42s337ms 1m16s 3m1s 23 771 1s2ms 16s412ms 1s469ms 27s419ms 37s393ms 51s411ms May 27 00 782 1s 5m43s 1s975ms 28s990ms 48s955ms 6m14s 01 779 1s 1m26s 1s856ms 38s628ms 1m20s 3m7s 02 830 1s14ms 58s90ms 1s850ms 41s634ms 1m1s 2m18s 03 863 1s1ms 4m50s 2s191ms 36s940ms 58s19ms 5m19s 04 993 1s5ms 18m15s 4s191ms 51s508ms 1m44s 37m11s 05 905 1s5ms 1m10s 2s48ms 54s855ms 1m29s 2m59s 06 859 1s24ms 1m57s 2s30ms 56s814ms 1m21s 2m10s 07 1,061 1s14ms 7s574ms 1s472ms 36s47ms 39s283ms 48s253ms 08 973 1s 57s285ms 1s733ms 46s194ms 1m3s 2m46s 09 1,031 1s15ms 4m28s 2s385ms 51s38ms 2m34s 9m25s 10 884 1s7ms 7m2s 2s728ms 49s851ms 1m39s 8m29s 11 995 1s5ms 2m11s 1s936ms 45s91ms 1m30s 4m51s 12 815 0ms 5m8s 2s802ms 1m17s 2m19s 5m49s 13 989 1s6ms 18m24s 4s237ms 1m1s 4m51s 24m24s 14 878 0ms 19m4s 7s955ms 3m17s 4m43s 43m37s 15 1,093 1s9ms 21m38s 7s633ms 4m50s 20m2s 23m8s 16 1,048 1s11ms 18m45s 9s950ms 5m4s 23m16s 38m2s 17 859 1s6ms 18m22s 6s107ms 1m49s 8m40s 22m25s 18 940 1s4ms 7m1s 4s566ms 2m44s 7m14s 9m9s 19 7 0ms 2m45s 25s235ms 1s375ms 6s922ms 2m45s 20 0 0ms 0ms 0ms 0ms 0ms 0ms 21 323 0ms 29s263ms 2s273ms 1m9s 1m23s 1m23s 22 1,045 0ms 2m30s 3s44ms 1m55s 2m55s 3m54s 23 633 1s4ms 18m22s 8s145ms 4m8s 7m7s 18m43s May 28 00 318 0ms 19m43s 22s450ms 6m26s 18m43s 19m51s 01 1 0ms 1s543ms 1s543ms 0ms 0ms 1s543ms 02 0 0ms 0ms 0ms 0ms 0ms 0ms 03 0 0ms 0ms 0ms 0ms 0ms 0ms 04 0 0ms 0ms 0ms 0ms 0ms 0ms 05 20 0ms 4s868ms 2s470ms 3s502ms 14s667ms 25s400ms 06 14 0ms 1m6s 11s863ms 5s532ms 24s321ms 1m22s 07 48 0ms 22s311ms 2s93ms 4s52ms 16s227ms 23s581ms 08 36 0ms 14s52ms 2s860ms 4s106ms 7s21ms 23s330ms 09 19 0ms 7s867ms 2s260ms 3s336ms 3s848ms 10s116ms 10 50 0ms 1m6s 5s390ms 7s578ms 24s309ms 1m39s 11 38 0ms 17s412ms 3s399ms 6s334ms 7s918ms 35s648ms 12 39 0ms 7m7s 18s951ms 7s331ms 19s406ms 7m15s 13 30 0ms 11s246ms 2s793ms 4s603ms 6s378ms 11s246ms 14 39 0ms 1m6s 5s621ms 4s660ms 12s571ms 1m37s 15 54 0ms 6s529ms 2s600ms 8s346ms 11s157ms 12s628ms 16 28 0ms 3s39ms 1s548ms 2s727ms 3s4ms 3s39ms 17 23 0ms 21s808ms 2s785ms 2s947ms 4s861ms 24s895ms 18 50 0ms 25m44s 1m8s 1m57s 4m20s 25m44s 19 31 0ms 33m27s 1m27s 8s662ms 46s989ms 33m38s 20 49 0ms 3m9s 10s339ms 40s285ms 41s989ms 3m9s 21 39 0ms 47m20s 2m22s 7s602ms 2m10s 47m21s 22 165 0ms 7m2s 16s141ms 1m50s 3m39s 7m2s 23 355 1s1ms 3m19s 2s963ms 34s223ms 1m1s 4m4s May 29 00 395 1s5ms 13m55s 7s329ms 2m14s 3m32s 14m23s 01 369 1s2ms 26m35s 8s551ms 1m32s 2m31s 27m23s 02 321 0ms 5m28s 3s957ms 21s712ms 1m38s 6m2s 03 429 1s2ms 1h53m30s 33s770ms 43s594ms 3m38s 1h53m41s 04 161 0ms 1h1m50s 30s616ms 38s711ms 3m23s 1h2m2s 05 81 0ms 47m57s 38s555ms 16s43ms 25s782ms 48m23s 06 36 0ms 1m7s 5s911ms 6s311ms 25s750ms 1m23s 07 76 0ms 2h4m45s 1m47s 9s460ms 47s530ms 2h5m6s 08 496 1s41ms 34m27s 5s656ms 20s947ms 27s492ms 34m41s 09 455 1s47ms 27s653ms 1s604ms 16s417ms 43s116ms 1m7s 10 532 1s12ms 1m6s 1s874ms 29s847ms 45s777ms 2m4s 11 641 1s 7m6s 3s657ms 1m2s 4m40s 8m19s 12 764 1s 37m17s 6s921ms 1m43s 5m35s 38m1s 13 1,031 1s3ms 19m18s 8s678ms 6m39s 19m8s 26m9s 14 878 1s6ms 18m33s 7s629ms 5m23s 18m42s 19m3s 15 902 1s1ms 20m23s 8s289ms 7m27s 11m54s 20m44s 16 688 1s1ms 6m20s 3s545ms 49s910ms 4m53s 6m35s 17 655 0ms 19m19s 10s405ms 7m8s 7m37s 24m46s 18 353 0ms 5m1s 3s949ms 1m4s 1m53s 5m1s 19 669 0ms 20m48s 6s703ms 1m43s 4m15s 20m49s 20 779 0ms 18m32s 9s331ms 6m53s 7m58s 19m12s 21 862 0ms 18m16s 5s287ms 1m20s 5m34s 18m16s 22 0 0ms 0ms 0ms 0ms 0ms 0ms 23 1 0ms 3s246ms 3s246ms 0ms 0ms 3s246ms May 30 00 2 0ms 5m49s 2m58s 0ms 0ms 5m56s 01 0 0ms 0ms 0ms 0ms 0ms 0ms 02 26 0ms 7s170ms 1s835ms 2s714ms 9s576ms 16s44ms 03 247 0ms 18m11s 7s932ms 35s185ms 2m27s 18m21s 04 235 0ms 23s711ms 2s253ms 22s84ms 28s101ms 59s104ms 05 27 0ms 7s443ms 2s321ms 4s591ms 20s446ms 23s28ms 06 12 0ms 1m6s 13s300ms 0ms 24s490ms 1m22s 07 132 0ms 6s558ms 1s730ms 10s39ms 25s333ms 42s401ms 08 259 0ms 17s180ms 2s142ms 17s429ms 44s168ms 58s723ms 09 210 0ms 22s416ms 2s193ms 14s705ms 27s502ms 1m14s 10 264 1s39ms 1m6s 2s806ms 32s885ms 48s156ms 1m46s 11 306 0ms 32s237ms 2s237ms 32s694ms 37s708ms 1m38s 12 17 0ms 18s594ms 2s704ms 0ms 0ms 24s755ms 13 313 0ms 6m55s 5s827ms 1m53s 4m9s 6m55s 14 277 0ms 2m18s 3s546ms 1m19s 1m40s 4m42s 15 1,715 0ms 20m36s 9s755ms 15m35s 18m26s 1h1m34s 16 2,046 0ms 21m13s 7s900ms 13m2s 20m25s 22m55s 17 4,683 0ms 34m32s 10s830ms 28m5s 34m29s 1h10m33s 18 1,326 0ms 43m9s 20s962ms 40m33s 1h10m26s 1h21m30s 19 2,727 0ms 7m19s 6s724ms 12m12s 25m31s 31m8s 20 4,813 0ms 37m45s 14s597ms 38m57s 59m57s 1h30m51s 21 16 0ms 21m33s 3m55s 5s629ms 21m33s 40m51s 22 981 0ms 2m55s 6s445ms 11m14s 15m10s 18m22s 23 7,554 1s 21m55s 12s339ms 43m52s 55m11s 1h2m37s May 31 00 5,252 0ms 1h5m58s 19s949ms 1h5m 1h29m56s 1h37m3s 01 3 0ms 24m19s 22m42s 0ms 22m10s 45m58s 02 0 0ms 0ms 0ms 0ms 0ms 0ms 03 0 0ms 0ms 0ms 0ms 0ms 0ms 04 0 0ms 0ms 0ms 0ms 0ms 0ms 05 130 0ms 18s951ms 2s246ms 23s804ms 27s407ms 44s421ms 06 236 0ms 36s92ms 2s217ms 11s736ms 49s179ms 55s645ms 07 278 0ms 16s596ms 2s124ms 22s675ms 37s713ms 46s179ms 08 268 0ms 21s866ms 2s246ms 24s597ms 37s329ms 46s971ms 09 258 0ms 19s837ms 2s48ms 17s826ms 36s722ms 58s788ms 10 233 0ms 1m15s 2s720ms 20s466ms 53s749ms 2m18s 11 433 1s2ms 1m55s 3s582ms 1m12s 2m29s 4m19s 12 509 1s2ms 18m49s 7s539ms 1m33s 3m15s 19m22s 13 394 0ms 20s911ms 2s76ms 23s803ms 48s350ms 58s485ms 14 418 1s 51s687ms 1s915ms 19s446ms 26s422ms 2m2s 15 392 1s4ms 17s872ms 1s724ms 17s638ms 29s745ms 52s470ms 16 369 1s2ms 20s313ms 1s764ms 18s43ms 20s355ms 1m14s 17 399 1s1ms 25s700ms 2s45ms 25s460ms 49s855ms 1m19s 18 436 1s 1m12s 2s577ms 54s726ms 1m27s 1m44s 19 397 1s15ms 25m30s 13s752ms 1m43s 7m55s 26m1s 20 367 1s5ms 1m30s 2s213ms 22s116ms 45s909ms 1m41s 21 394 1s1ms 17s349ms 2s29ms 27s185ms 47s200ms 59s776ms 22 409 1s7ms 17s158ms 1s856ms 25s893ms 37s595ms 54s623ms 23 409 1s2ms 16s595ms 1s665ms 17s506ms 21s716ms 59s468ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) May 25 00 409 0 4s584ms 18s968ms 1m2s 5m46s 01 424 0 7s346ms 18s737ms 40s722ms 18m43s 02 471 0 4s875ms 44s97ms 56s825ms 3m8s 03 480 0 2s588ms 28s376ms 51s52ms 2m5s 04 370 0 2s574ms 17s818ms 45s94ms 1m1s 05 447 0 2s930ms 26s525ms 45s597ms 2m39s 06 391 11 3s84ms 23s917ms 44s967ms 1m37s 07 397 0 2s763ms 28s264ms 54s299ms 1m18s 08 421 0 6s406ms 24s227ms 39s220ms 6m50s 09 411 0 1s970ms 19s465ms 23s680ms 31s319ms 10 407 11 2s587ms 23s987ms 44s736ms 1m9s 11 318 0 2s486ms 16s575ms 20s674ms 39s438ms 12 0 0 0ms 0ms 0ms 0ms 13 1 0 1s439ms 0ms 0ms 1s439ms 14 1 11 13s850ms 0ms 1s363ms 1m36s 15 0 0 0ms 0ms 0ms 0ms 16 0 0 0ms 0ms 0ms 0ms 17 0 0 0ms 0ms 0ms 0ms 18 0 11 15s72ms 0ms 0ms 1m37s 19 2 0 1s322ms 0ms 0ms 1s429ms 20 0 0 0ms 0ms 0ms 0ms 21 1 0 1s157ms 0ms 0ms 1s157ms 22 0 0 0ms 0ms 0ms 0ms 23 0 0 0ms 0ms 0ms 0ms May 26 00 1 0 5m46s 0ms 0ms 5m46s 01 0 0 0ms 0ms 0ms 0ms 02 2 0 3s915ms 0ms 0ms 5s646ms 03 150 0 2s756ms 11s687ms 40s339ms 1m12s 04 408 0 4s263ms 1m 1m18s 7m59s 05 23 0 2s61ms 0ms 4s624ms 24s41ms 06 5 11 11s43ms 0ms 1s235ms 1m36s 07 4 0 1s36ms 0ms 0ms 1s86ms 08 226 0 6s73ms 22s344ms 1m5s 4m57s 09 309 0 1s949ms 11s925ms 16s676ms 47s14ms 10 298 11 2s497ms 13s648ms 29s575ms 56s157ms 11 337 0 1s793ms 14s771ms 21s178ms 25s582ms 12 526 0 1s597ms 19s763ms 22s254ms 38s286ms 13 644 0 1s848ms 26s184ms 36s19ms 1m 14 475 11 2s453ms 21s51ms 56s962ms 1m37s 15 702 0 1s761ms 24s327ms 37s142ms 1m12s 16 674 0 1s625ms 21s633ms 33s722ms 46s164ms 17 572 0 1s590ms 20s482ms 24s609ms 51s565ms 18 792 11 1s837ms 28s108ms 36s690ms 1m33s 19 754 0 1s644ms 25s341ms 32s714ms 1m16s 20 783 0 1s668ms 25s255ms 35s897ms 1m20s 21 824 0 1s744ms 28s340ms 38s850ms 1m28s 22 774 0 2s74ms 28s470ms 42s337ms 2m36s 23 771 0 1s469ms 25s109ms 27s419ms 40s141ms May 27 00 780 0 1s970ms 26s236ms 28s990ms 54s759ms 01 779 0 1s856ms 26s183ms 38s628ms 1m40s 02 830 0 1s850ms 30s140ms 41s634ms 1m31s 03 861 0 2s188ms 29s211ms 36s940ms 4m42s 04 993 0 4s191ms 38s807ms 51s508ms 4m55s 05 900 0 2s47ms 41s320ms 54s855ms 2m11s 06 850 9 2s30ms 34s891ms 56s814ms 1m37s 07 1,060 0 1s471ms 30s567ms 36s47ms 40s476ms 08 973 0 1s733ms 33s130ms 46s194ms 1m20s 09 1,031 0 2s385ms 36s218ms 51s38ms 3m33s 10 874 10 2s728ms 32s770ms 49s851ms 7m7s 11 995 0 1s936ms 30s351ms 45s91ms 2m34s 12 812 0 2s803ms 47s229ms 1m17s 3m16s 13 987 0 4s233ms 41s84ms 1m1s 7m54s 14 863 11 7s972ms 2m 3m17s 7m7s 15 1,092 0 7s637ms 1m56s 4m50s 22m8s 16 1,047 0 9s958ms 1m37s 5m4s 37m24s 17 854 0 5s896ms 59s112ms 1m49s 18m38s 18 929 9 4s568ms 1m7s 1m39s 7m34s 19 7 0 25s235ms 0ms 1s375ms 2m45s 20 0 0 0ms 0ms 0ms 0ms 21 321 0 2s273ms 52s749ms 1m9s 1m23s 22 1,043 0 3s43ms 1m32s 1m55s 3m37s 23 631 0 8s162ms 52s980ms 4m8s 18m33s May 28 00 316 0 22s568ms 1m23s 6m26s 18m56s 01 1 0 1s543ms 0ms 0ms 1s543ms 02 0 0 0ms 0ms 0ms 0ms 03 0 0 0ms 0ms 0ms 0ms 04 0 0 0ms 0ms 0ms 0ms 05 17 0 2s436ms 0ms 0ms 25s400ms 06 4 10 11s863ms 0ms 5s532ms 1m22s 07 47 0 2s75ms 1s415ms 4s52ms 19s311ms 08 36 0 2s860ms 3s910ms 4s106ms 11s182ms 09 18 0 2s200ms 1s418ms 2s979ms 10s116ms 10 39 11 5s390ms 3s992ms 7s578ms 44s115ms 11 38 0 3s399ms 3s950ms 6s334ms 8s968ms 12 39 0 18s951ms 4s53ms 7s331ms 3m6s 13 30 0 2s793ms 3s926ms 4s603ms 11s246ms 14 28 10 5s682ms 2s485ms 4s479ms 44s366ms 15 53 0 2s587ms 5s84ms 8s346ms 12s628ms 16 28 0 1s548ms 2s38ms 2s727ms 3s39ms 17 22 0 2s798ms 1s364ms 2s947ms 24s895ms 18 29 9 5s996ms 4s13ms 11s774ms 1m21s 19 31 0 1m27s 2s738ms 8s662ms 33m38s 20 49 0 10s339ms 7s402ms 40s285ms 3m9s 21 39 0 2m22s 2s641ms 7s602ms 47m21s 22 132 0 10s827ms 13s888ms 1m3s 5m13s 23 355 0 2s963ms 17s452ms 34s223ms 1m40s May 29 00 382 0 4s467ms 27s583ms 1m5s 3m32s 01 336 0 2s282ms 12s856ms 24s995ms 1m 02 320 0 3s964ms 12s558ms 21s712ms 5m30s 03 425 0 33s660ms 19s463ms 43s344ms 1h52m4s 04 149 0 31s759ms 10s357ms 16s370ms 7m20s 05 73 0 2s942ms 4s931ms 9s196ms 25s782ms 06 25 10 6s23ms 3s444ms 6s311ms 44s718ms 07 75 0 1m49s 3s483ms 9s460ms 8m56s 08 494 0 5s664ms 16s460ms 20s947ms 27s608ms 09 454 0 1s601ms 14s938ms 16s417ms 47s332ms 10 518 11 1s868ms 24s301ms 29s84ms 45s777ms 11 640 0 3s657ms 34s256ms 1m2s 4m41s 12 762 0 6s933ms 1m2s 1m43s 6m17s 13 1,031 0 8s678ms 1m25s 6m39s 20m15s 14 866 11 7s636ms 1m17s 5m23s 18m58s 15 902 0 8s289ms 1m10s 7m27s 20m36s 16 687 0 3s546ms 35s501ms 49s910ms 4m57s 17 655 0 10s405ms 1m5s 7m8s 19m12s 18 340 11 3s959ms 44s475ms 1m4s 2m21s 19 665 0 6s729ms 57s106ms 1m43s 18m42s 20 777 0 9s349ms 2m58s 6m53s 18m48s 21 860 0 5s294ms 59s149ms 1m15s 18m12s 22 0 0 0ms 0ms 0ms 0ms 23 1 0 3s246ms 0ms 0ms 3s246ms May 30 00 1 0 5m49s 0ms 0ms 5m49s 01 0 0 0ms 0ms 0ms 0ms 02 26 0 1s835ms 2s303ms 2s714ms 16s44ms 03 247 0 7s932ms 21s560ms 35s185ms 2m37s 04 235 0 2s253ms 14s823ms 22s84ms 55s403ms 05 23 0 2s328ms 0ms 1s330ms 23s28ms 06 2 10 13s300ms 0ms 0ms 44s472ms 07 130 0 1s720ms 7s930ms 10s39ms 37s688ms 08 259 0 2s142ms 10s704ms 17s429ms 52s133ms 09 210 0 2s193ms 10s161ms 14s705ms 35s237ms 10 253 11 2s806ms 18s669ms 32s885ms 59s4ms 11 306 0 2s237ms 19s28ms 32s694ms 40s555ms 12 17 0 2s704ms 0ms 0ms 24s755ms 13 311 0 5s850ms 1m17s 1m53s 6m55s 14 264 11 3s555ms 44s518ms 1m19s 4m42s 15 1,702 0 9s813ms 9m1s 15m30s 21m58s 16 2,034 0 7s925ms 7m53s 13m2s 21m2s 17 4,647 0 10s893ms 24m54s 28m5s 51m8s 18 1,300 16 21s76ms 16m27s 40m17s 1h21m28s 19 2,710 0 6s751ms 10m38s 12m12s 27m55s 20 4,779 0 14s678ms 28m28s 38m57s 1h19m14s 21 16 0 3m55s 1s289ms 5s629ms 40m51s 22 975 0 6s474ms 7m49s 11m14s 18m20s 23 7,482 0 12s426ms 36m37s 43m51s 58m40s May 31 00 5,206 0 20s93ms 54m4s 1h5m 1h35m35s 01 3 0 22m42s 0ms 0ms 45m58s 02 0 0 0ms 0ms 0ms 0ms 03 0 0 0ms 0ms 0ms 0ms 04 0 0 0ms 0ms 0ms 0ms 05 126 0 2s245ms 12s275ms 23s804ms 44s421ms 06 236 0 2s217ms 9s741ms 11s736ms 50s94ms 07 278 0 2s124ms 13s834ms 22s675ms 45s77ms 08 268 0 2s246ms 19s221ms 24s597ms 40s616ms 09 258 0 2s48ms 10s983ms 17s826ms 49s881ms 10 233 0 2s720ms 9s244ms 20s466ms 1m17s 11 432 0 3s585ms 37s714ms 1m12s 2m38s 12 509 0 7s539ms 46s200ms 1m33s 18m52s 13 393 0 2s72ms 16s662ms 23s803ms 50s714ms 14 418 0 1s915ms 13s806ms 19s446ms 1m26s 15 392 0 1s724ms 14s31ms 17s638ms 38s563ms 16 369 0 1s764ms 13s184ms 18s43ms 59s25ms 17 399 0 2s45ms 15s794ms 25s460ms 59s463ms 18 409 27 2s577ms 23s962ms 44s512ms 1m15s 19 353 44 13s752ms 53s97ms 1m35s 25m34s 20 359 8 2s213ms 14s49ms 22s116ms 1m36s 21 394 0 2s29ms 15s507ms 27s185ms 58s83ms 22 409 0 1s856ms 16s304ms 25s893ms 41s664ms 23 407 0 1s662ms 14s924ms 17s433ms 39s616ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) May 25 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 May 26 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 May 27 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 1 0 0 0 9s243ms 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 May 28 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 12 0 0 0 4m27s 0ms 0ms 14m35s 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 May 29 00 0 0 0 0 0ms 0ms 0ms 0ms 01 16 9 0 0 1m33s 0ms 0ms 2m20s 02 0 0 0 0 0ms 0ms 0ms 0ms 03 1 0 0 0 2m47s 0ms 0ms 0ms 04 1 0 0 0 1s133ms 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 May 30 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 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 May 31 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare May 25 00 0 409 409.00 0.00% 01 0 424 424.00 0.00% 02 0 471 471.00 0.00% 03 0 480 480.00 0.00% 04 0 371 371.00 0.00% 05 0 451 451.00 0.00% 06 0 391 391.00 0.00% 07 0 397 397.00 0.00% 08 0 421 421.00 0.00% 09 0 411 411.00 0.00% 10 0 408 408.00 0.00% 11 0 319 319.00 0.00% 12 0 0 0.00 0.00% 13 0 1 1.00 0.00% 14 0 1 1.00 0.00% 15 0 0 0.00 0.00% 16 0 0 0.00 0.00% 17 0 0 0.00 0.00% 18 0 0 0.00 0.00% 19 0 2 2.00 0.00% 20 0 0 0.00 0.00% 21 0 1 1.00 0.00% 22 0 0 0.00 0.00% 23 0 0 0.00 0.00% May 26 00 0 0 0.00 0.00% 01 0 0 0.00 0.00% 02 0 2 2.00 0.00% 03 0 150 150.00 0.00% 04 0 408 408.00 0.00% 05 0 22 22.00 0.00% 06 0 6 6.00 0.00% 07 0 4 4.00 0.00% 08 0 228 228.00 0.00% 09 0 310 310.00 0.00% 10 0 298 298.00 0.00% 11 0 337 337.00 0.00% 12 0 527 527.00 0.00% 13 0 648 648.00 0.00% 14 0 475 475.00 0.00% 15 0 704 704.00 0.00% 16 0 674 674.00 0.00% 17 0 587 587.00 0.00% 18 0 796 796.00 0.00% 19 0 755 755.00 0.00% 20 0 788 788.00 0.00% 21 0 831 831.00 0.00% 22 0 776 776.00 0.00% 23 0 774 774.00 0.00% May 27 00 0 785 785.00 0.00% 01 0 780 780.00 0.00% 02 0 835 835.00 0.00% 03 0 863 863.00 0.00% 04 0 998 998.00 0.00% 05 0 947 947.00 0.00% 06 0 897 897.00 0.00% 07 0 1,120 1,120.00 0.00% 08 0 974 974.00 0.00% 09 0 1,042 1,042.00 0.00% 10 0 938 938.00 0.00% 11 0 1,030 1,030.00 0.00% 12 0 823 823.00 0.00% 13 0 1,012 1,012.00 0.00% 14 0 877 877.00 0.00% 15 0 1,099 1,099.00 0.00% 16 0 1,049 1,049.00 0.00% 17 0 874 874.00 0.00% 18 0 946 946.00 0.00% 19 0 7 7.00 0.00% 20 0 0 0.00 0.00% 21 0 324 324.00 0.00% 22 0 1,048 1,048.00 0.00% 23 0 636 636.00 0.00% May 28 00 0 318 318.00 0.00% 01 0 1 1.00 0.00% 02 0 0 0.00 0.00% 03 0 0 0.00 0.00% 04 0 0 0.00 0.00% 05 0 20 20.00 0.00% 06 0 5 5.00 0.00% 07 0 62 62.00 0.00% 08 0 40 40.00 0.00% 09 0 20 20.00 0.00% 10 0 45 45.00 0.00% 11 0 42 42.00 0.00% 12 0 42 42.00 0.00% 13 0 31 31.00 0.00% 14 0 33 33.00 0.00% 15 0 56 56.00 0.00% 16 0 31 31.00 0.00% 17 0 26 26.00 0.00% 18 0 41 41.00 0.00% 19 0 33 33.00 0.00% 20 0 49 49.00 0.00% 21 0 39 39.00 0.00% 22 0 165 165.00 0.00% 23 0 355 355.00 0.00% May 29 00 0 395 395.00 0.00% 01 0 370 370.00 0.00% 02 0 321 321.00 0.00% 03 0 430 430.00 0.00% 04 0 162 162.00 0.00% 05 0 88 88.00 0.00% 06 0 35 35.00 0.00% 07 0 85 85.00 0.00% 08 0 505 505.00 0.00% 09 0 447 447.00 0.00% 10 0 534 534.00 0.00% 11 0 641 641.00 0.00% 12 0 789 789.00 0.00% 13 0 1,048 1,048.00 0.00% 14 0 871 871.00 0.00% 15 0 904 904.00 0.00% 16 0 689 689.00 0.00% 17 0 655 655.00 0.00% 18 0 342 342.00 0.00% 19 0 671 671.00 0.00% 20 0 780 780.00 0.00% 21 0 862 862.00 0.00% 22 0 0 0.00 0.00% 23 0 1 1.00 0.00% May 30 00 0 0 0.00 0.00% 01 0 0 0.00 0.00% 02 0 26 26.00 0.00% 03 0 247 247.00 0.00% 04 0 235 235.00 0.00% 05 0 27 27.00 0.00% 06 0 3 3.00 0.00% 07 0 145 145.00 0.00% 08 0 267 267.00 0.00% 09 0 211 211.00 0.00% 10 0 260 260.00 0.00% 11 0 341 341.00 0.00% 12 0 23 23.00 0.00% 13 0 313 313.00 0.00% 14 0 266 266.00 0.00% 15 22 1,717 78.05 1.28% 16 16 2,046 127.88 0.78% 17 2 4,688 2,344.00 0.04% 18 0 1,311 1,311.00 0.00% 19 0 2,729 2,729.00 0.00% 20 4 4,818 1,204.50 0.08% 21 0 16 16.00 0.00% 22 0 983 983.00 0.00% 23 4 7,565 1,891.25 0.05% May 31 00 0 5,253 5,253.00 0.00% 01 0 3 3.00 0.00% 02 0 0 0.00 0.00% 03 0 0 0.00 0.00% 04 0 0 0.00 0.00% 05 0 130 130.00 0.00% 06 0 236 236.00 0.00% 07 0 278 278.00 0.00% 08 0 268 268.00 0.00% 09 0 258 258.00 0.00% 10 0 233 233.00 0.00% 11 0 433 433.00 0.00% 12 0 509 509.00 0.00% 13 0 394 394.00 0.00% 14 0 418 418.00 0.00% 15 0 392 392.00 0.00% 16 0 369 369.00 0.00% 17 0 399 399.00 0.00% 18 0 409 409.00 0.00% 19 0 353 353.00 0.00% 20 0 359 359.00 0.00% 21 0 395 395.00 0.00% 22 0 409 409.00 0.00% 23 0 410 410.00 0.00% Day Hour Count Average / Second May 25 00 542 0.15/s 01 567 0.16/s 02 720 0.20/s 03 1,739 0.48/s 04 269 0.07/s 05 301 0.08/s 06 267 0.07/s 07 406 0.11/s 08 385 0.11/s 09 283 0.08/s 10 236 0.07/s 11 197 0.05/s 12 76 0.02/s 13 78 0.02/s 14 78 0.02/s 15 75 0.02/s 16 77 0.02/s 17 77 0.02/s 18 80 0.02/s 19 77 0.02/s 20 77 0.02/s 21 72 0.02/s 22 77 0.02/s 23 77 0.02/s May 26 00 79 0.02/s 01 77 0.02/s 02 80 0.02/s 03 98 0.03/s 04 950 0.26/s 05 131 0.04/s 06 78 0.02/s 07 78 0.02/s 08 320 0.09/s 09 136 0.04/s 10 126 0.04/s 11 384 0.11/s 12 127 0.04/s 13 147 0.04/s 14 154 0.04/s 15 155 0.04/s 16 174 0.05/s 17 140 0.04/s 18 222 0.06/s 19 153 0.04/s 20 217 0.06/s 21 278 0.08/s 22 242 0.07/s 23 164 0.05/s May 27 00 180 0.05/s 01 227 0.06/s 02 176 0.05/s 03 151 0.04/s 04 192 0.05/s 05 333 0.09/s 06 201 0.06/s 07 252 0.07/s 08 190 0.05/s 09 185 0.05/s 10 205 0.06/s 11 182 0.05/s 12 1,468 0.41/s 13 473 0.13/s 14 974 0.27/s 15 893 0.25/s 16 485 0.13/s 17 295 0.08/s 18 2,729 0.76/s 19 355 0.10/s 20 72 0.02/s 21 279 0.08/s 22 1,481 0.41/s 23 256 0.07/s May 28 00 485 0.13/s 01 84 0.02/s 02 74 0.02/s 03 79 0.02/s 04 80 0.02/s 05 114 0.03/s 06 73 0.02/s 07 85 0.02/s 08 89 0.02/s 09 79 0.02/s 10 92 0.03/s 11 96 0.03/s 12 109 0.03/s 13 85 0.02/s 14 82 0.02/s 15 84 0.02/s 16 75 0.02/s 17 78 0.02/s 18 82 0.02/s 19 90 0.03/s 20 82 0.02/s 21 80 0.02/s 22 109 0.03/s 23 148 0.04/s May 29 00 223 0.06/s 01 145 0.04/s 02 184 0.05/s 03 204 0.06/s 04 90 0.03/s 05 103 0.03/s 06 77 0.02/s 07 88 0.02/s 08 360 0.10/s 09 110 0.03/s 10 150 0.04/s 11 157 0.04/s 12 342 0.10/s 13 548 0.15/s 14 334 0.09/s 15 291 0.08/s 16 250 0.07/s 17 1,543 0.43/s 18 2,941 0.82/s 19 1,173 0.33/s 20 1,127 0.31/s 21 355 0.10/s 22 77 0.02/s 23 76 0.02/s May 30 00 72 0.02/s 01 78 0.02/s 02 83 0.02/s 03 137 0.04/s 04 108 0.03/s 05 85 0.02/s 06 82 0.02/s 07 156 0.04/s 08 124 0.03/s 09 113 0.03/s 10 118 0.03/s 11 149 0.04/s 12 71 0.02/s 13 504 0.14/s 14 486 0.14/s 15 4,942 1.37/s 16 5,609 1.56/s 17 9,263 2.57/s 18 2,886 0.80/s 19 6,934 1.93/s 20 7,279 2.02/s 21 350 0.10/s 22 2,135 0.59/s 23 13,186 3.66/s May 31 00 9,093 2.53/s 01 72 0.02/s 02 80 0.02/s 03 79 0.02/s 04 80 0.02/s 05 128 0.04/s 06 127 0.04/s 07 108 0.03/s 08 131 0.04/s 09 126 0.04/s 10 124 0.03/s 11 355 0.10/s 12 230 0.06/s 13 137 0.04/s 14 146 0.04/s 15 125 0.03/s 16 129 0.04/s 17 134 0.04/s 18 118 0.03/s 19 120 0.03/s 20 128 0.04/s 21 141 0.04/s 22 131 0.04/s 23 130 0.04/s Day Hour Count Average Duration Average idle time May 25 00 542 4m33s 4m30s 01 567 4m18s 4m13s 02 719 3m27s 3m24s 03 1,740 1m24s 1m24s 04 269 8m46s 8m43s 05 301 7m33s 7m29s 06 267 9m5s 9m 07 404 5m58s 5m56s 08 385 6m26s 6m19s 09 283 8m23s 8m20s 10 236 10m34s 10m30s 11 199 14m5s 14m1s 12 76 32m8s 32m8s 13 78 31m22s 31m22s 14 78 30m34s 30m32s 15 75 31m6s 31m6s 16 77 31m18s 31m18s 17 77 31m18s 31m18s 18 80 30m33s 30m31s 19 77 31m14s 31m14s 20 77 31m24s 31m24s 21 72 31m36s 31m36s 22 77 30m58s 30m58s 23 77 31m26s 31m26s May 26 00 79 31m3s 30m59s 01 77 31m39s 31m39s 02 80 30m48s 30m48s 03 97 24m41s 24m36s 04 951 2m49s 2m47s 05 131 17m43s 17m43s 06 78 30m34s 30m32s 07 78 31m57s 31m57s 08 320 8m5s 8m 09 136 17m34s 17m29s 10 126 19m35s 19m29s 11 384 6m19s 6m17s 12 127 19m7s 19m 13 147 15m32s 15m24s 14 154 15m57s 15m50s 15 148 16m30s 16m22s 16 174 14m4s 13m57s 17 140 16m48s 16m42s 18 223 11m27s 11m20s 19 159 24m52s 24m44s 20 217 11m7s 11m1s 21 278 8m21s 8m16s 22 242 9m58s 9m51s 23 164 14m58s 14m51s May 27 00 180 13m44s 13m36s 01 227 10m44s 10m38s 02 176 12m40s 12m31s 03 151 15m8s 14m55s 04 192 12m43s 12m21s 05 333 7m17s 7m11s 06 201 11m55s 11m46s 07 252 9m46s 9m39s 08 186 13m6s 12m57s 09 183 13m18s 13m5s 10 207 11m45s 11m34s 11 182 13m26s 13m15s 12 1,468 1m44s 1m43s 13 470 5m15s 5m6s 14 960 2m55s 2m48s 15 897 2m56s 2m46s 16 483 5m20s 4m58s 17 297 8m13s 7m55s 18 2,694 58s672ms 57s78ms 19 390 5m50s 5m49s 20 72 31m41s 31m41s 21 278 9m11s 9m8s 22 1,486 3m57s 3m55s 23 256 14m22s 14m2s May 28 00 461 5m8s 4m53s 01 110 29m2s 29m2s 02 74 30m40s 30m40s 03 79 30m41s 30m41s 04 80 30m37s 30m37s 05 114 20m16s 20m16s 06 73 30m39s 30m36s 07 81 29m42s 29m40s 08 89 28m36s 28m35s 09 79 30m21s 30m20s 10 92 26m43s 26m40s 11 95 25m19s 25m18s 12 109 22m30s 22m24s 13 84 26m46s 26m45s 14 82 31m26s 31m23s 15 84 28m39s 28m38s 16 75 31m11s 31m11s 17 78 32m16s 32m15s 18 81 30m40s 29m58s 19 89 26m44s 26m14s 20 83 30m10s 30m4s 21 80 29m31s 28m22s 22 109 23m28s 23m3s 23 152 42m12s 42m5s May 29 00 224 14m6s 13m53s 01 145 21m33s 21m11s 02 166 13m50s 13m42s 03 223 11m30s 10m25s 04 90 26m21s 25m26s 05 103 22m47s 22m17s 06 77 30m22s 30m20s 07 88 28m16s 26m43s 08 361 8m6s 7m58s 09 109 20m44s 20m37s 10 145 18m15s 18m8s 11 157 15m28s 15m13s 12 342 7m3s 6m48s 13 548 4m53s 4m37s 14 335 7m25s 7m5s 15 291 8m32s 8m6s 16 249 9m43s 9m33s 17 1,512 1m49s 1m44s 18 2,973 1m9s 1m9s 19 1,169 2m34s 2m30s 20 1,131 2m26s 2m20s 21 355 6m52s 6m39s 22 82 1h14m5s 1h14m5s 23 76 31m20s 31m20s May 30 00 72 31m5s 31m 01 78 31m19s 31m19s 02 83 29m21s 29m20s 03 137 17m57s 17m42s 04 108 21m42s 21m37s 05 85 27m52s 27m52s 06 82 30m13s 30m11s 07 156 15m11s 15m10s 08 124 20m13s 20m9s 09 113 21m8s 21m4s 10 118 20m31s 20m25s 11 149 16m37s 16m33s 12 71 32m5s 32m4s 13 504 4m43s 4m39s 14 483 5m33s 5m31s 15 4,940 31s413ms 28s26ms 16 5,592 30s700ms 27s809ms 17 9,032 25s329ms 19s713ms 18 2,752 1m14s 1m4s 19 6,888 27s59ms 24s397ms 20 7,129 34s620ms 24s765ms 21 390 8m51s 8m41s 22 2,115 1m27s 1m24s 23 5,513 49s88ms 32s181ms May 31 00 4,126 1m17s 52s26ms 01 75 30m17s 29m23s 02 80 30m39s 30m39s 03 79 30m39s 30m39s 04 79 30m39s 30m39s 05 128 19m38s 19m36s 06 127 19m10s 19m6s 07 109 23m8s 23m2s 08 131 19m 18m56s 09 126 19m21s 19m17s 10 124 19m1s 18m56s 11 353 6m46s 6m42s 12 232 9m10s 8m54s 13 137 17m53s 17m47s 14 146 16m6s 16m1s 15 125 19m22s 19m17s 16 129 19m7s 19m2s 17 134 17m32s 17m26s 18 117 20m34s 20m24s 19 120 20m11s 19m26s 20 129 19m9s 19m3s 21 141 16m26s 16m21s 22 131 18m51s 18m45s 23 130 18m26s 18m21s -
Connections
Established Connections
Key values
- 122 connections Connection Peak
- 2025-05-25 03:07:02 Date
Connections per database
Key values
- ctdprd51 Main Database
- 104,381 connections Total
Connections per user
Key values
- pubeu Main User
- 104,381 connections Total
-
Sessions
Simultaneous sessions
Key values
- 142 sessions Session Peak
- 2025-05-27 22:08:33 Date
Histogram of session times
Key values
- 36,184 1000-30000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 91,170 sessions Total
Sessions per user
Key values
- pubeu Main User
- 91,170 sessions Total
Sessions per host
Key values
- 10.12.5.37 Main Host
- 91,170 sessions Total
Host Count Total Duration Average Duration 10.12.5.36 33 2h9m37s 3m55s 10.12.5.37 80,279 69d2h14m11s 1m14s 10.12.5.38 2,691 56d2m20s 29m58s 10.12.5.39 2,588 55d23h57m1s 31m9s 10.12.5.40 178 15h33m27s 5m14s 10.12.5.45 2,685 55d23h52m47s 30m1s 10.12.5.46 2,634 55d22h37m9s 30m35s 192.168.201.10 7 2d12h56m46s 8h42m23s 192.168.201.18 7 3d4h17m22s 10h53m54s 192.168.201.6 17 5d7h15m39s 7h29m9s ::1 51 2h48m 3m17s Sessions per application
Key values
- unknown Main Application
- 91,170 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 5,022,620 buffers Checkpoint Peak
- 2025-05-29 01:15:08 Date
- 1620.084 seconds Highest write time
- 0.772 seconds Sync time
Checkpoints Wal files
Key values
- 938 files Wal files usage Peak
- 2025-05-29 05:08:06 Date
Checkpoints distance
Key values
- 19,058.00 Mo Distance Peak
- 2025-05-29 00:51:49 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time May 25 00 4,920 492.992s 0.005s 493.103s 01 1,298 130.043s 0.003s 130.082s 02 1,440 145.096s 0.062s 145.396s 03 1,674 167.599s 0.004s 167.677s 04 1,379 138.203s 0.002s 138.222s 05 55,102 1,779.524s 0.006s 1,780.029s 06 1,061 106.223s 0.002s 106.286s 07 9,250 926.343s 0.006s 926.464s 08 5,773 575.843s 0.004s 575.966s 09 5,050 504.891s 0.004s 504.944s 10 3,579 358.384s 0.003s 358.476s 11 2,860 286.643s 0.002s 286.663s 12 7,515 752.646s 0.004s 752.778s 13 77 7.898s 0.002s 7.927s 14 555 55.768s 0.002s 55.799s 15 81 8.281s 0.002s 8.311s 16 68 6.99s 0.002s 7.019s 17 62 6.374s 0.002s 6.404s 18 74 7.587s 0.002s 7.618s 19 132 13.394s 0.002s 13.423s 20 81 8.281s 0.002s 8.311s 21 63 6.48s 0.002s 6.51s 22 66 6.781s 0.002s 6.811s 23 15,514 1,553.076s 0.003s 1,553.25s May 26 00 5,300 530.922s 0.004s 531.062s 01 66 6.788s 0.002s 6.867s 02 69 7.085s 0.002s 7.115s 03 370 37.143s 0.003s 37.174s 04 1,872 187.654s 0.003s 187.686s 05 73 7.407s 0.001s 7.423s 06 442 44.446s 0.003s 44.526s 07 318 32.033s 0.002s 32.068s 08 469 46.976s 0.003s 47.007s 09 2,880 288.453s 0.004s 288.53s 10 66,746 1,663.942s 0.004s 1,664.438s 11 674 67.534s 0.001s 67.55s 12 8,194 820.436s 0.006s 820.619s 13 6,868 688.142s 0.004s 688.26s 14 2,466 247.13s 0.003s 247.429s 15 1,059 106.092s 0.002s 106.112s 16 9,339 935.56s 0.141s 935.916s 17 2,001 200.243s 0.004s 200.333s 18 2,071 207.366s 0.009s 207.471s 19 2,492 249.573s 0.003s 249.65s 20 2,278 228.201s 0.004s 228.281s 21 4,768 477.489s 0.004s 477.541s 22 2,250 225.239s 0.004s 225.321s 23 2,889 289.341s 0.004s 289.714s May 27 00 39,312 1,659.879s 0.005s 1,659.96s 01 1,063 107.434s 0.024s 107.583s 02 4,203 420.953s 0.004s 421.045s 03 1,830 183.272s 0.003s 183.314s 04 1,830 183.167s 0.003s 183.248s 05 3,883 388.955s 0.003s 389.397s 06 262,812 1,682.152s 0.003s 1,682.672s 07 1,361 136.406s 0.001s 136.421s 08 11,794 1,181.059s 0.003s 1,181.248s 09 2,213 221.61s 0.002s 221.644s 10 2,509 251.158s 0.002s 251.238s 11 3,012 301.809s 0.003s 301.891s 12 2,477 248.096s 0.002s 248.174s 13 1,229 123.204s 0.003s 123.46s 14 281,587 2,694.459s 0.309s 2,719.658s 15 49,086 2,044.069s 0.017s 2,059.874s 16 3,059 306.642s 0.002s 306.774s 17 36,218 1,703.203s 0.005s 1,709.405s 18 4,322 434.544s 0.004s 434.722s 19 1,161 116.312s 0.003s 116.353s 20 125 12.694s 0.002s 12.726s 21 62 6.375s 0.002s 6.404s 22 50,799 1,619.626s 0.002s 1,619.794s 23 61,611 3,320.514s 0.004s 3,320.696s May 28 00 10,765 1,078.924s 0.005s 1,079.038s 01 18 1.973s 0.002s 2.003s 02 0 0s 0s 0s 03 0 0s 0s 0s 04 0 0s 0s 0s 05 101 10.205s 0.001s 10.22s 06 682 68.484s 0.003s 68.514s 07 2,141 214.394s 0.004s 214.466s 08 3,592 359.734s 0.004s 359.817s 09 2,017 202.095s 0.004s 202.135s 10 4,329 433.546s 0.003s 433.617s 11 5,063 506.847s 0.004s 506.9s 12 48,672 1,881.427s 0.004s 1,881.636s 13 52,729 1,619.416s 0.002s 1,619.544s 14 63,485 1,782.636s 0.004s 1,782.729s 15 2,064 206.792s 0.003s 206.864s 16 1,868 187.165s 0.002s 187.204s 17 2,032 203.572s 0.003s 203.602s 18 2,449,006 2,272.517s 0.965s 2,301.138s 19 1,521,525 3,238.847s 0.037s 3,249.437s 20 36,295 1,788.599s 0.006s 1,788.799s 21 1,603 160.66s 0.004s 160.7s 22 1,569,419 1,741.029s 0.796s 1,787.033s 23 141,159 1,696.041s 0.004s 1,698.021s May 29 00 1,498,022 2,946.107s 0.018s 2,971.859s 01 6,442,515 1,972.269s 0.843s 2,002.201s 02 1,559,483 3,368.862s 0.006s 3,377.819s 03 579 58.038s 0.001s 58.055s 04 1,058,574 3,660.096s 0.446s 3,680.967s 05 115,736 1,113.789s 1.191s 1,269.419s 06 553,012 3,239.266s 0.005s 3,248.653s 07 107,240 2,483.912s 0.065s 2,484.66s 08 1,173,184 3,322.999s 0.005s 3,333.827s 09 3,345 335.031s 0.002s 335.206s 10 26,255 1,690.88s 0.003s 1,691.054s 11 22,742 1,740.035s 0.011s 1,740.236s 12 2,244 224.911s 0.002s 224.954s 13 3,274 328.41s 0.021s 328.588s 14 5,023 503.644s 0.003s 503.697s 15 3,580 358.733s 0.003s 358.819s 16 2,053 205.859s 0.003s 205.948s 17 2,340 234.495s 0.002s 234.577s 18 1,214 121.865s 0.003s 121.897s 19 9,005 903.176s 0.031s 903.309s 20 2,221 222.645s 0.003s 222.728s 21 2,437 244.235s 0.002s 244.329s 22 21 2.264s 0.002s 2.304s 23 17 1.863s 0.002s 1.893s May 30 00 2,900 290.513s 0.002s 290.578s 01 20 2.093s 0.001s 2.117s 02 12 1.375s 0.002s 1.405s 03 895 89.716s 0.003s 89.793s 04 2,725 273.075s 0.108s 273.309s 05 209,504 1,676.948s 0.002s 1,677.265s 06 621 62.372s 0.002s 62.403s 07 2,154 215.766s 0.003s 215.846s 08 441 44.184s 0.002s 44.199s 09 164,650 3,094.291s 0.006s 3,094.54s 10 56,340 1,814.431s 0.003s 1,814.607s 11 5,637 564.71s 0.003s 564.818s 12 900 90.223s 0.002s 90.262s 13 5,581 559.101s 0.004s 559.185s 14 1,632 163.629s 0.002s 163.708s 15 3,696 397.995s 0.003s 398.103s 16 6,444 656.565s 0.034s 656.77s 17 6,422 656.221s 0.022s 657.562s 18 2,956 297.959s 0.003s 297.996s 19 2,765 281.998s 0.015s 283.838s 20 5,779 588.605s 0.027s 589.119s 21 275 27.719s 0.003s 27.757s 22 228 23.011s 0.002s 23.043s 23 5,836 604.635s 0.04s 605.491s May 31 00 4,944 505.719s 0.011s 506.448s 01 81 8.205s 0.001s 8.221s 02 0 0s 0s 0s 03 0 0s 0s 0s 04 0 0s 0s 0s 05 1,148 115.211s 0.07s 115.399s 06 3,757 376.387s 0.004s 376.468s 07 2,761 276.678s 0.004s 276.757s 08 10,761 1,077.731s 0.004s 1,077.822s 09 2,771 277.62s 0.002s 277.699s 10 1,383 138.422s 0.002s 138.444s 11 11,363 1,137.957s 0.005s 1,138.103s 12 4,276 428.104s 0.003s 428.184s 13 4,543 454.576s 0.004s 454.627s 14 5,501 550.734s 0.004s 550.812s 15 4,554 455.861s 0.004s 455.912s 16 5,239 524.394s 0.003s 524.446s 17 6,527 653.26s 0.003s 653.311s 18 4,816 482.25s 0.003s 482.297s 19 5,610 563.817s 0.004s 563.902s 20 28,394 1,754.096s 0.004s 1,754.157s 21 7,083 709.397s 0.004s 709.482s 22 5,439 544.307s 0.003s 544.358s 23 7,001 700.667s 0.003s 700.72s Day Hour Added Removed Recycled Synced files Longest sync Average sync May 25 00 0 0 5 80 0.001s 0.002s 01 0 0 0 43 0.001s 0.002s 02 0 0 1 39 0.049s 0.005s 03 0 0 1 35 0.001s 0.002s 04 0 0 0 19 0.001s 0.001s 05 0 0 35 64 0.001s 0.003s 06 0 0 1 24 0.001s 0.001s 07 0 0 4 62 0.001s 0.003s 08 0 0 4 41 0.001s 0.002s 09 0 0 1 31 0.001s 0.002s 10 0 0 2 20 0.001s 0.002s 11 0 0 0 12 0.001s 0.001s 12 0 0 4 34 0.001s 0.003s 13 0 0 0 13 0.001s 0.002s 14 0 0 0 22 0.001s 0.002s 15 0 0 0 15 0.001s 0.002s 16 0 0 0 14 0.001s 0.002s 17 0 0 0 14 0.001s 0.002s 18 0 0 0 14 0.001s 0.002s 19 0 0 0 16 0.001s 0.002s 20 0 0 0 15 0.001s 0.002s 21 0 0 0 15 0.001s 0.002s 22 0 0 0 16 0.001s 0.002s 23 0 0 9 24 0.001s 0.002s May 26 00 0 0 6 60 0.001s 0.002s 01 0 0 1 20 0.001s 0.002s 02 0 0 0 20 0.001s 0.002s 03 0 0 0 32 0.001s 0.002s 04 0 0 0 51 0.001s 0.002s 05 0 0 0 9 0.001s 0.001s 06 0 0 1 77 0.001s 0.002s 07 0 0 0 116 0.001s 0.002s 08 0 0 0 31 0.001s 0.002s 09 0 0 1 53 0.001s 0.002s 10 0 0 38 54 0.001s 0.002s 11 0 0 0 20 0.001s 0.001s 12 0 0 5 90 0.001s 0.003s 13 0 0 4 49 0.001s 0.002s 14 0 0 1 68 0.001s 0.002s 15 0 0 0 12 0.001s 0.001s 16 0 0 3 699 0.001s 0.003s 17 0 0 1 81 0.001s 0.002s 18 0 0 1 44 0.006s 0.002s 19 0 0 1 30 0.001s 0.002s 20 0 0 1 28 0.001s 0.002s 21 0 0 1 52 0.001s 0.002s 22 0 0 1 23 0.001s 0.002s 23 0 0 25 39 0.001s 0.002s May 27 00 0 0 3 95 0.001s 0.002s 01 0 0 1 41 0.023s 0.003s 02 0 0 2 58 0.001s 0.002s 03 0 0 0 52 0.002s 0.002s 04 0 0 1 49 0.001s 0.002s 05 0 0 31 104 0.001s 0.002s 06 0 0 40 158 0.001s 0.002s 07 0 0 0 68 0.001s 0.001s 08 0 0 6 128 0.001s 0.003s 09 0 0 0 35 0.001s 0.002s 10 0 0 1 114 0.001s 0.002s 11 0 0 1 120 0.001s 0.002s 12 0 0 1 119 0.001s 0.002s 13 0 0 18 67 0.001s 0.001s 14 0 125 1,648 585 0.202s 0.006s 15 0 0 1,256 250 0.001s 0.003s 16 0 1 0 30 0.001s 0.002s 17 0 0 504 168 0.001s 0.002s 18 0 2 0 135 0.001s 0.002s 19 0 0 0 18 0.001s 0.002s 20 0 0 0 54 0.001s 0.002s 21 0 0 0 13 0.001s 0.002s 22 0 34 0 25 0.001s 0.001s 23 0 36 0 55 0.001s 0.003s May 28 00 0 9 0 89 0.001s 0.002s 01 0 0 0 14 0.001s 0.002s 02 0 0 0 0 0s 0s 03 0 0 0 0 0s 0s 04 0 0 0 0 0s 0s 05 0 0 0 9 0.001s 0.001s 06 0 0 0 127 0.001s 0.002s 07 0 1 0 129 0.001s 0.002s 08 0 1 0 95 0.001s 0.002s 09 0 0 0 128 0.001s 0.002s 10 0 1 0 150 0.001s 0.002s 11 0 2 0 127 0.001s 0.002s 12 0 60 0 113 0.001s 0.002s 13 0 35 0 28 0.001s 0.001s 14 0 9 0 197 0.001s 0.003s 15 0 1 0 78 0.001s 0.002s 16 0 0 0 79 0.001s 0.002s 17 0 0 0 113 0.001s 0.002s 18 0 31 2,153 343 0.206s 0.016s 19 0 0 876 341 0.001s 0.002s 20 0 1 0 112 0.001s 0.003s 21 0 0 0 23 0.001s 0.002s 22 0 33 3,248 259 0.770s 0.032s 23 0 0 161 69 0.001s 0.002s May 29 00 0 29 1,701 214 0.002s 0.004s 01 0 326 2,151 558 0.443s 0.014s 02 0 0 732 152 0.001s 0.003s 03 0 0 0 21 0.001s 0.001s 04 0 237 1,506 364 0.232s 0.011s 05 0 224 10,707 918 0.391s 0.055s 06 0 0 774 244 0.001s 0.002s 07 0 41 38 207 0.037s 0.002s 08 0 0 896 275 0.002s 0.003s 09 0 1 0 73 0.001s 0.002s 10 0 10 0 141 0.001s 0.002s 11 0 11 0 86 0.009s 0.002s 12 0 0 0 117 0.001s 0.002s 13 0 2 0 202 0.011s 0.002s 14 0 1 0 114 0.001s 0.002s 15 0 1 0 138 0.001s 0.002s 16 0 1 0 28 0.002s 0.002s 17 0 1 0 29 0.001s 0.002s 18 0 0 0 33 0.001s 0.002s 19 0 5 0 59 0.030s 0.003s 20 0 1 0 31 0.002s 0.002s 21 0 1 0 20 0.001s 0.002s 22 0 0 0 12 0.001s 0.002s 23 0 0 0 12 0.001s 0.002s May 30 00 0 3 0 53 0.001s 0.001s 01 0 0 0 9 0.001s 0.001s 02 0 0 0 12 0.001s 0.002s 03 0 1 0 52 0.001s 0.002s 04 0 33 0 35 0.064s 0.004s 05 0 109 0 61 0.001s 0.002s 06 0 0 0 123 0.001s 0.002s 07 0 1 0 142 0.001s 0.002s 08 0 0 0 65 0.001s 0.001s 09 0 50 0 290 0.001s 0.003s 10 0 36 0 210 0.001s 0.002s 11 0 3 0 152 0.001s 0.002s 12 0 0 0 130 0.001s 0.002s 13 0 2 0 121 0.002s 0.002s 14 0 1 0 85 0.001s 0.002s 15 0 1 0 214 0.001s 0.002s 16 0 1 0 37 0.033s 0.003s 17 0 1 0 43 0.021s 0.002s 18 0 0 0 40 0.002s 0.002s 19 0 1 0 29 0.014s 0.002s 20 0 1 0 41 0.024s 0.003s 21 0 0 0 22 0.001s 0.002s 22 0 0 0 19 0.001s 0.002s 23 0 1 0 33 0.020s 0.003s May 31 00 0 1 0 37 0.008s 0.002s 01 0 0 0 11 0.001s 0.001s 02 0 0 0 0 0s 0s 03 0 0 0 0 0s 0s 04 0 0 0 0 0s 0s 05 0 0 0 12 0.056s 0.006s 06 0 1 0 30 0.001s 0.002s 07 0 1 0 22 0.001s 0.002s 08 0 4 0 48 0.001s 0.002s 09 0 1 0 21 0.001s 0.002s 10 0 0 0 10 0.001s 0.001s 11 0 6 0 64 0.001s 0.003s 12 0 1 0 47 0.001s 0.002s 13 0 2 0 37 0.001s 0.002s 14 0 1 0 30 0.001s 0.002s 15 0 2 0 25 0.001s 0.002s 16 0 2 0 30 0.001s 0.002s 17 0 2 0 31 0.001s 0.002s 18 0 1 0 27 0.001s 0.002s 19 0 2 0 31 0.002s 0.002s 20 0 2 0 38 0.001s 0.002s 21 0 3 0 32 0.001s 0.002s 22 0 2 0 21 0.001s 0.002s 23 0 2 0 32 0.001s 0.002s Day Hour Count Avg time (sec) May 25 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 May 26 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 May 27 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s May 28 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s May 29 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s May 30 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s May 31 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate May 25 00 41,322.50 kB 75,089.50 kB 01 4,143.00 kB 61,587.00 kB 02 4,676.50 kB 50,741.00 kB 03 5,027.50 kB 42,039.00 kB 04 5,992.00 kB 36,699.00 kB 05 193,029.00 kB 512,923.67 kB 06 5,642.00 kB 415,051.00 kB 07 25,763.67 kB 343,517.67 kB 08 21,718.50 kB 267,302.50 kB 09 17,297.50 kB 220,492.50 kB 10 10,356.00 kB 180,534.00 kB 11 12,577.00 kB 155,686.00 kB 12 19,781.00 kB 131,922.00 kB 13 197.00 kB 101,175.00 kB 14 527.50 kB 82,030.00 kB 15 178.50 kB 66,505.00 kB 16 174.00 kB 53,903.50 kB 17 153.50 kB 43,691.50 kB 18 169.00 kB 35,421.50 kB 19 358.50 kB 28,759.00 kB 20 214.50 kB 23,335.50 kB 21 167.00 kB 18,934.00 kB 22 160.50 kB 15,370.00 kB 23 77,681.50 kB 147,403.00 kB May 26 00 49,033.00 kB 128,720.50 kB 01 154.00 kB 104,292.50 kB 02 162.50 kB 84,507.50 kB 03 959.50 kB 68,563.50 kB 04 6,018.50 kB 56,696.50 kB 05 391.00 kB 48,439.00 kB 06 1,011.50 kB 41,524.50 kB 07 1,016.00 kB 33,868.00 kB 08 1,527.50 kB 27,635.00 kB 09 9,744.00 kB 23,629.50 kB 10 311,282.50 kB 588,377.00 kB 11 3,948.00 kB 502,225.00 kB 12 24,009.33 kB 414,135.67 kB 13 33,558.50 kB 324,380.00 kB 14 7,674.50 kB 264,122.00 kB 15 5,503.00 kB 226,061.00 kB 16 18,288.67 kB 187,898.33 kB 17 6,345.50 kB 145,911.00 kB 18 5,887.50 kB 119,290.50 kB 19 6,820.50 kB 97,898.50 kB 20 6,538.50 kB 80,535.50 kB 21 13,406.50 kB 67,324.50 kB 22 7,152.00 kB 56,317.00 kB 23 7,920.00 kB 47,059.50 kB May 27 00 224,066.50 kB 422,846.50 kB 01 3,459.50 kB 343,150.00 kB 02 14,591.50 kB 279,729.50 kB 03 5,679.50 kB 228,506.50 kB 04 4,848.00 kB 186,116.00 kB 05 11,857.50 kB 152,918.50 kB 06 569,274.00 kB 1,076,295.00 kB 07 6,618.00 kB 918,625.00 kB 08 29,087.33 kB 752,341.67 kB 09 6,025.50 kB 580,189.00 kB 10 7,051.50 kB 471,245.00 kB 11 7,448.00 kB 383,084.50 kB 12 6,936.00 kB 311,654.00 kB 13 7,002.00 kB 266,744.00 kB 14 5,762,139.60 kB 5,764,401.00 kB 15 7,035,999.67 kB 8,649,225.33 kB 16 8,633.00 kB 7,090,878.00 kB 17 4,131,051.00 kB 7,840,610.00 kB 18 11,103.00 kB 6,352,945.00 kB 19 3,400.50 kB 5,147,001.00 kB 20 325.50 kB 4,169,117.00 kB 21 175.00 kB 3,377,034.50 kB 22 541,919.00 kB 2,933,566.00 kB 23 201,699.67 kB 2,431,607.67 kB May 28 00 73,059.00 kB 1,885,895.00 kB 01 11.00 kB 1,528,238.50 kB 02 0.00 kB 0.00 kB 03 0.00 kB 0.00 kB 04 0.00 kB 0.00 kB 05 149.00 kB 1,303,040.00 kB 06 1,063.50 kB 1,114,246.50 kB 07 2,465.50 kB 902,931.00 kB 08 7,465.50 kB 732,637.00 kB 09 2,353.00 kB 594,068.00 kB 10 10,121.50 kB 482,517.00 kB 11 12,514.50 kB 393,545.50 kB 12 229,951.50 kB 422,940.50 kB 13 572,739.00 kB 572,739.00 kB 14 227,282.33 kB 611,771.33 kB 15 2,634.00 kB 469,618.00 kB 16 2,506.00 kB 380,841.00 kB 17 2,699.50 kB 308,997.50 kB 18 8,813,750.75 kB 8,814,609.00 kB 19 7,438,654.00 kB 8,679,824.50 kB 20 2,949.00 kB 6,945,391.00 kB 21 2,576.50 kB 5,325,358.50 kB 22 8,873,716.33 kB 9,045,067.50 kB 23 1,576,544.00 kB 8,022,993.00 kB May 29 00 8,286,736.25 kB 9,011,948.75 kB 01 8,812,540.50 kB 9,543,662.25 kB 02 4,173,042.67 kB 8,699,726.33 kB 03 4,125.00 kB 7,131,886.00 kB 04 5,605,375.80 kB 7,373,654.40 kB 05 8,954,625.10 kB 9,310,905.90 kB 06 6,342,792.50 kB 8,821,476.00 kB 07 646,147.00 kB 7,430,995.50 kB 08 5,069,113.67 kB 8,370,108.33 kB 09 9,917.00 kB 6,600,299.50 kB 10 80,678.00 kB 5,361,545.00 kB 11 87,371.00 kB 4,359,367.50 kB 12 5,495.50 kB 3,532,288.50 kB 13 10,160.50 kB 2,862,589.00 kB 14 15,763.50 kB 2,322,027.50 kB 15 8,011.50 kB 1,882,290.00 kB 16 6,412.00 kB 1,525,975.00 kB 17 6,431.00 kB 1,237,273.00 kB 18 3,044.00 kB 1,002,990.00 kB 19 37,685.00 kB 817,072.50 kB 20 6,564.00 kB 665,304.50 kB 21 7,165.00 kB 540,271.50 kB 22 50.00 kB 437,944.50 kB 23 32.50 kB 354,740.50 kB May 30 00 59,386.00 kB 308,403.00 kB 01 15.00 kB 277,564.00 kB 02 5.00 kB 237,318.00 kB 03 2,963.00 kB 192,590.00 kB 04 17,666.00 kB 166,187.00 kB 05 1,157,084.00 kB 2,196,702.00 kB 06 1,132.50 kB 1,779,576.50 kB 07 6,360.00 kB 1,442,195.00 kB 08 3,004.00 kB 1,230,515.00 kB 09 272,521.00 kB 1,053,446.67 kB 10 297,445.50 kB 885,459.00 kB 11 19,661.00 kB 720,670.50 kB 12 2,653.00 kB 585,064.50 kB 13 20,055.50 kB 477,648.50 kB 14 6,363.00 kB 388,085.00 kB 15 6,442.00 kB 315,397.50 kB 16 4,933.00 kB 256,400.50 kB 17 7,202.50 kB 209,057.50 kB 18 5,547.50 kB 170,531.00 kB 19 3,733.00 kB 138,703.00 kB 20 9,553.00 kB 114,011.50 kB 21 700.50 kB 92,922.50 kB 22 594.50 kB 75,378.50 kB 23 9,303.50 kB 62,387.00 kB May 31 00 9,954.50 kB 52,496.00 kB 01 337.00 kB 45,205.00 kB 02 0.00 kB 0.00 kB 03 0.00 kB 0.00 kB 04 0.00 kB 0.00 kB 05 2,805.00 kB 40,965.00 kB 06 6,366.00 kB 35,949.50 kB 07 7,186.50 kB 30,437.00 kB 08 28,486.00 kB 45,969.00 kB 09 7,842.00 kB 38,776.50 kB 10 8,096.00 kB 34,246.00 kB 11 29,707.33 kB 64,805.67 kB 12 11,947.00 kB 52,205.00 kB 13 12,491.50 kB 44,665.00 kB 14 13,551.50 kB 38,685.50 kB 15 13,524.00 kB 33,937.00 kB 16 14,295.00 kB 30,182.00 kB 17 15,373.50 kB 27,273.00 kB 18 14,988.00 kB 24,994.00 kB 19 15,766.50 kB 23,219.50 kB 20 16,147.00 kB 21,829.50 kB 21 17,287.50 kB 20,924.00 kB 22 17,055.00 kB 20,209.50 kB 23 18,502.00 kB 19,788.50 kB -
Temporary Files
Size of temporary files
Key values
- 21.00 GiB Temp Files size Peak
- 2025-05-28 21:56:49 Date
Number of temporary files
Key values
- 24 per second Temp Files Peak
- 2025-05-29 04:59:48 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size May 25 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 May 26 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 May 27 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 100 766.55 MiB 7.67 MiB 14 840 39.00 GiB 47.54 MiB 15 120 13.00 GiB 110.92 MiB 16 0 0 0 17 110 5.31 GiB 49.46 MiB 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 May 28 00 6 7.09 MiB 1.18 MiB 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 27 26.34 GiB 998.84 MiB 21 133 132.51 GiB 1020.23 MiB 22 266 116.06 GiB 446.79 MiB 23 135 12.21 GiB 92.65 MiB May 29 00 115 35.18 GiB 313.27 MiB 01 91 3.03 GiB 34.09 MiB 02 0 0 0 03 0 0 0 04 372 19.12 GiB 52.63 MiB 05 642 144.16 GiB 229.93 MiB 06 0 0 0 07 0 0 0 08 9 8.39 GiB 954.73 MiB 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 43 42.78 GiB 1018.79 MiB 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 May 30 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 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 May 31 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 Queries generating the most temporary files (N)
Rank Count Total size Min size Max size Avg size Query 1 1,245 77.56 GiB 8.00 KiB 1.00 GiB 63.80 MiB select * from pgbulkload.pg_bulkload (?);-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub1.GENE_DISEASE_REFERENCE,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.log,parse-badfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.DUPE}');
Date: 2025-05-28 22:08:53 Duration: 7m2s Database: ctdprd51 User: load Application: pg_bulkload
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub1.DAG_PATH,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.log,parse-badfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.DUPE}');
Date: 2025-05-28 22:39:46 Duration: 5m13s
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=edit.DB_LINK,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.log,parse-badfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.DUPE}');
Date: 2025-05-27 14:31:35 Duration: 4m50s
2 932 160.52 GiB 120.00 KiB 1.00 GiB 176.37 MiB vacuum full analyze;-
VACUUM FULL ANALYZE;
Date: 2025-05-29 05:40:12 Duration: 47m57s
-
VACUUM FULL ANALYZE;
Date: 2025-05-29 04:52:15 Duration: 0ms
3 80 79.56 GiB 568.46 MiB 1.00 GiB 1018.31 MiB select distinct gga.go_term_id, gcr.chem_id, ptr.term_object_type_id, gga.gene_id, ( select id from pub1.object_type where cd = ?), ( select current_date) from pub1.gene_chem_reference gcr, pub1.gene_go_annot gga, pub1.phenotype_term_reference ptr where gcr.gene_id = gga.gene_id and gcr.chem_id = ptr.term_id and gga.go_term_id = ptr.phenotype_id and gcr.id not in;-
select distinct gga.go_term_id, gcr.chem_id, ptr.term_object_type_id, gga.gene_id, ( select id from pub1.OBJECT_TYPE where cd = 'gene'), ( select current_date) from pub1.GENE_CHEM_REFERENCE gcr, pub1.GENE_GO_ANNOT gga, pub1.PHENOTYPE_TERM_REFERENCE ptr where gcr.gene_id = gga.gene_id and gcr.chem_id = ptr.term_id and gga.go_term_id = ptr.phenotype_id and gcr.id not in;
Date: 2025-05-28 21:56:46 Duration: 0ms
4 62 2.02 GiB 6.88 MiB 1.00 GiB 33.37 MiB cluster pub1.term;-
CLUSTER pub1.TERM;
Date: 2025-05-29 04:51:37 Duration: 1m1s
-
CLUSTER pub1.TERM;
Date: 2025-05-29 04:50:45 Duration: 0ms
5 53 52.96 GiB 978.34 MiB 1.00 GiB 1023.14 MiB select distinct ptr.phenotype_id, gcr.gene_id, ( select id from pub1.object_type where cd = ?), ptr.term_id, ( select id from pub1.object_type where cd = ?), ( select current_date) from pub1.gene_chem_reference gcr, pub1.phenotype_term_reference ptr, pub1.phenotype_term_reference ptr2 where gcr.chem_id = ptr.term_id and ptr.phenotype_id = ptr2.phenotype_id and gcr.gene_id = ptr2.term_id and gcr.id not in;-
select distinct ptr.phenotype_id, gcr.gene_id, ( select id from pub1.OBJECT_TYPE where cd = 'gene'), ptr.term_id, ( select id from pub1.OBJECT_TYPE where cd = 'chem'), ( select current_date) from pub1.GENE_CHEM_REFERENCE gcr, pub1.PHENOTYPE_TERM_REFERENCE ptr, pub1.PHENOTYPE_TERM_REFERENCE ptr2 where gcr.chem_id = ptr.term_id and ptr.phenotype_id = ptr2.phenotype_id and gcr.gene_id = ptr2.term_id and gcr.id not in;
Date: 2025-05-28 21:09:20 Duration: 0ms
6 43 42.78 GiB 800.02 MiB 1.00 GiB 1018.79 MiB select ;-
SELECT /* DiseaseGeneAssnsDAO */ ;
Date: 2025-05-31 00:00:00 Duration: 1m
-
SELECT /* DiseaseGeneAssnsDAO */ ;
Date: 2025-05-30 23:34:18 Duration: 53s230ms Database: ctdprd51 User: pubeu
-
SELECT /* DiseaseGeneAssnsDAO */ ;
Date: 2025-05-30 20:43:07 Duration: 50s129ms Database: ctdprd51 User: pubeu
7 35 1.18 GiB 24.24 MiB 58.01 MiB 34.57 MiB vacuum full analyze ixn_actor;-
vacuum FULL analyze ixn_actor;
Date: 2025-05-27 17:01:14 Duration: 25s447ms
-
vacuum FULL analyze ixn_actor;
Date: 2025-05-27 17:00:55 Duration: 0ms
8 30 3.54 GiB 70.97 MiB 168.42 MiB 120.81 MiB vacuum full analyze db_link;-
vacuum FULL analyze db_link;
Date: 2025-05-27 17:04:32 Duration: 2m44s
-
vacuum FULL analyze db_link;
Date: 2025-05-27 17:02:09 Duration: 0ms
9 27 26.34 GiB 344.76 MiB 1.00 GiB 998.84 MiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, to_char(cdr.mod_tm, ?) from pub1.gene_chem_reference gcr, pub1.chem_disease_reference cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = ? and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn;-
select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub1.GENE_CHEM_REFERENCE gcr, pub1.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn;
Date: 2025-05-28 20:23:27 Duration: 0ms
10 25 17.17 GiB 8.00 KiB 1.00 GiB 703.41 MiB alter table pub1.term_enrichment_agent add constraint term_enrichment_agent_pk primary key (term_id, enriched_term_id, agent_term_id);-
ALTER TABLE pub1.term_enrichment_agent ADD CONSTRAINT term_enrichment_agent_pk PRIMARY KEY (term_id, enriched_term_id, agent_term_id);
Date: 2025-05-29 00:51:44 Duration: 3m14s
-
ALTER TABLE pub1.term_enrichment_agent ADD CONSTRAINT term_enrichment_agent_pk PRIMARY KEY (term_id, enriched_term_id, agent_term_id);
Date: 2025-05-29 00:51:43 Duration: 0ms
11 25 388.99 MiB 12.59 MiB 24.94 MiB 15.56 MiB vacuum full analyze ixn;-
vacuum FULL analyze ixn;
Date: 2025-05-27 17:01:39 Duration: 7s863ms
-
vacuum FULL analyze ixn;
Date: 2025-05-27 17:01:34 Duration: 0ms
12 20 13.14 GiB 8.00 KiB 1.00 GiB 672.56 MiB create unique index gene_disease_reference_ak1 on pub1.gene_disease_reference using btree (gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id);-
CREATE UNIQUE INDEX gene_disease_reference_ak1 ON pub1.gene_disease_reference USING btree (gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id);
Date: 2025-05-28 22:14:43 Duration: 3m13s
-
CREATE UNIQUE INDEX gene_disease_reference_ak1 ON pub1.gene_disease_reference USING btree (gene_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_chem_id);
Date: 2025-05-28 22:14:43 Duration: 0ms
13 20 217.49 MiB 5.87 MiB 18.48 MiB 10.87 MiB vacuum full analyze term;-
vacuum FULL analyze TERM;
Date: 2025-05-27 17:01:10 Duration: 10s913ms
-
vacuum FULL analyze TERM;
Date: 2025-05-27 17:01:01 Duration: 0ms
14 20 752.12 MiB 21.17 MiB 63.28 MiB 37.61 MiB cluster pub1.term_label;-
CLUSTER pub1.TERM_LABEL;
Date: 2025-05-29 04:52:13 Duration: 36s575ms
-
CLUSTER pub1.TERM_LABEL;
Date: 2025-05-29 04:51:43 Duration: 0ms
15 15 12.27 GiB 406.68 MiB 1.00 GiB 837.38 MiB create index ix_term_enrich_agent_enr_term on pub1.term_enrichment_agent using btree (enriched_term_id);-
CREATE INDEX ix_term_enrich_agent_enr_term ON pub1.term_enrichment_agent USING btree (enriched_term_id);
Date: 2025-05-29 00:53:35 Duration: 1m50s
-
CREATE INDEX ix_term_enrich_agent_enr_term ON pub1.term_enrichment_agent USING btree (enriched_term_id);
Date: 2025-05-29 00:53:34 Duration: 0ms
16 15 7.30 GiB 8.00 KiB 1.00 GiB 498.19 MiB alter table pub1.gene_disease_reference add constraint gene_disease_reference_pk primary key (id);-
ALTER TABLE pub1.gene_disease_reference ADD CONSTRAINT gene_disease_reference_pk PRIMARY KEY (id);
Date: 2025-05-28 22:11:30 Duration: 1m19s
-
ALTER TABLE pub1.gene_disease_reference ADD CONSTRAINT gene_disease_reference_pk PRIMARY KEY (id);
Date: 2025-05-28 22:11:29 Duration: 0ms Database: ctdprd51 User: pub1
17 10 66.00 MiB 8.00 KiB 13.39 MiB 6.60 MiB alter table pub1.phenotype_term add constraint phenotype_term_pk primary key (phenotype_id, term_id);-
ALTER TABLE pub1.phenotype_term ADD CONSTRAINT phenotype_term_pk PRIMARY KEY (phenotype_id, term_id);
Date: 2025-05-29 01:08:56 Duration: 0ms
18 10 7.30 GiB 265.22 MiB 1.00 GiB 747.28 MiB create index ix_gene_disease_ref_source_cd on pub1.gene_disease_reference using btree (source_cd);-
CREATE INDEX ix_gene_disease_ref_source_cd ON pub1.gene_disease_reference USING btree (source_cd);
Date: 2025-05-28 22:16:30 Duration: 58s109ms
-
CREATE INDEX ix_gene_disease_ref_source_cd ON pub1.gene_disease_reference USING btree (source_cd);
Date: 2025-05-28 22:16:29 Duration: 0ms
19 10 460.70 MiB 8.00 KiB 94.02 MiB 46.07 MiB create unique index chem_disease_reference_ak1 on pub1.chem_disease_reference using btree (chem_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_gene_id);-
CREATE UNIQUE INDEX chem_disease_reference_ak1 ON pub1.chem_disease_reference USING btree (chem_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_gene_id);
Date: 2025-05-28 22:30:22 Duration: 7s109ms
-
CREATE UNIQUE INDEX chem_disease_reference_ak1 ON pub1.chem_disease_reference USING btree (chem_id, disease_id, reference_id, source_acc_txt, source_acc_db_id, via_gene_id);
Date: 2025-05-28 22:30:21 Duration: 0ms
20 10 1.09 GiB 8.00 KiB 227.56 MiB 111.84 MiB alter table pub1.phenotype_term_reference add constraint phenotype_term_reference_pk primary key (id);-
ALTER TABLE pub1.phenotype_term_reference ADD CONSTRAINT phenotype_term_reference_pk PRIMARY KEY (id);
Date: 2025-05-28 22:28:17 Duration: 11s96ms
-
ALTER TABLE pub1.phenotype_term_reference ADD CONSTRAINT phenotype_term_reference_pk PRIMARY KEY (id);
Date: 2025-05-28 22:28:16 Duration: 0ms
21 10 7.30 GiB 422.66 MiB 1.00 GiB 747.28 MiB create index ix_gene_disease_ref_src_db on pub1.gene_disease_reference using btree (source_acc_db_id);-
CREATE INDEX ix_gene_disease_ref_src_db ON pub1.gene_disease_reference USING btree (source_acc_db_id);
Date: 2025-05-28 22:15:32 Duration: 48s152ms
-
CREATE INDEX ix_gene_disease_ref_src_db ON pub1.gene_disease_reference USING btree (source_acc_db_id);
Date: 2025-05-28 22:15:31 Duration: 0ms
22 10 161.91 MiB 8.00 KiB 32.99 MiB 16.19 MiB alter table pub1.term_enrichment add constraint term_enrichment_pk primary key (term_id, enriched_term_id);-
ALTER TABLE pub1.term_enrichment ADD CONSTRAINT term_enrichment_pk PRIMARY KEY (term_id, enriched_term_id);
Date: 2025-05-29 00:34:20 Duration: 1s961ms
-
ALTER TABLE pub1.term_enrichment ADD CONSTRAINT term_enrichment_pk PRIMARY KEY (term_id, enriched_term_id);
Date: 2025-05-29 00:34:20 Duration: 0ms Database: ctdprd51 User: pub1
23 10 7.30 GiB 422.51 MiB 1.00 GiB 747.28 MiB create index ix_gene_disease_ref_net_sc on pub1.gene_disease_reference using btree (network_score);-
CREATE INDEX ix_gene_disease_ref_net_sc ON pub1.gene_disease_reference USING btree (network_score);
Date: 2025-05-28 22:28:05 Duration: 2m29s
-
CREATE INDEX ix_gene_disease_ref_net_sc ON pub1.gene_disease_reference USING btree (network_score);
Date: 2025-05-28 22:28:05 Duration: 0ms
24 10 7.30 GiB 422.51 MiB 1.00 GiB 747.28 MiB create index ix_gene_disease_ref_chem on pub1.gene_disease_reference using btree (via_chem_id);-
CREATE INDEX ix_gene_disease_ref_chem ON pub1.gene_disease_reference USING btree (via_chem_id);
Date: 2025-05-28 22:18:01 Duration: 1m31s
-
CREATE INDEX ix_gene_disease_ref_chem ON pub1.gene_disease_reference USING btree (via_chem_id);
Date: 2025-05-28 22:18:01 Duration: 0ms
25 10 7.30 GiB 444.99 MiB 1.00 GiB 747.28 MiB create index ix_gene_disease_ref_reference on pub1.gene_disease_reference using btree (reference_id);-
CREATE INDEX ix_gene_disease_ref_reference ON pub1.gene_disease_reference USING btree (reference_id);
Date: 2025-05-28 22:20:51 Duration: 1m23s
-
CREATE INDEX ix_gene_disease_ref_reference ON pub1.gene_disease_reference USING btree (reference_id);
Date: 2025-05-28 22:20:51 Duration: 0ms
26 10 252.84 MiB 8.00 KiB 52.75 MiB 25.28 MiB alter table pub1.chem_disease_reference add constraint chem_disease_reference_pk primary key (id);-
ALTER TABLE pub1.chem_disease_reference ADD CONSTRAINT chem_disease_reference_pk PRIMARY KEY (id);
Date: 2025-05-28 22:30:15 Duration: 2s554ms
-
ALTER TABLE pub1.chem_disease_reference ADD CONSTRAINT chem_disease_reference_pk PRIMARY KEY (id);
Date: 2025-05-28 22:30:15 Duration: 0ms
27 10 7.30 GiB 422.51 MiB 1.00 GiB 747.28 MiB create index ix_gene_disease_ref_mod_tm on pub1.gene_disease_reference using btree (mod_tm);-
CREATE INDEX ix_gene_disease_ref_mod_tm ON pub1.gene_disease_reference USING btree (mod_tm);
Date: 2025-05-28 22:25:36 Duration: 1m25s
-
CREATE INDEX ix_gene_disease_ref_mod_tm ON pub1.gene_disease_reference USING btree (mod_tm);
Date: 2025-05-28 22:25:36 Duration: 0ms
28 10 7.30 GiB 422.51 MiB 1.00 GiB 747.28 MiB create index ix_gene_disease_ref_disease on pub1.gene_disease_reference using btree (disease_id);-
CREATE INDEX ix_gene_disease_ref_disease ON pub1.gene_disease_reference USING btree (disease_id);
Date: 2025-05-28 22:19:28 Duration: 1m27s
-
CREATE INDEX ix_gene_disease_ref_disease ON pub1.gene_disease_reference USING btree (disease_id);
Date: 2025-05-28 22:19:28 Duration: 0ms
29 10 652.99 MiB 8.00 KiB 134.06 MiB 65.30 MiB alter table pub1.gene_disease add constraint gene_disease_pk primary key (gene_id, disease_id);-
ALTER TABLE pub1.gene_disease ADD CONSTRAINT gene_disease_pk PRIMARY KEY (gene_id, disease_id);
Date: 2025-05-29 01:08:34 Duration: 6s
-
ALTER TABLE pub1.gene_disease ADD CONSTRAINT gene_disease_pk PRIMARY KEY (gene_id, disease_id);
Date: 2025-05-29 01:08:34 Duration: 0ms
30 10 7.30 GiB 422.51 MiB 1.00 GiB 747.28 MiB create index ix_gene_disease_reference_ixn on pub1.gene_disease_reference using btree (ixn_id);-
CREATE INDEX ix_gene_disease_reference_ixn ON pub1.gene_disease_reference USING btree (ixn_id);
Date: 2025-05-28 22:24:10 Duration: 1m23s
-
CREATE INDEX ix_gene_disease_reference_ixn ON pub1.gene_disease_reference USING btree (ixn_id);
Date: 2025-05-28 22:24:10 Duration: 0ms
31 10 7.30 GiB 422.51 MiB 1.00 GiB 747.28 MiB create index ix_gene_disease_ref_dis_gene on pub1.gene_disease_reference using btree (disease_id, gene_id);-
CREATE INDEX ix_gene_disease_ref_dis_gene ON pub1.gene_disease_reference USING btree (disease_id, gene_id);
Date: 2025-05-28 22:22:46 Duration: 1m55s
-
CREATE INDEX ix_gene_disease_ref_dis_gene ON pub1.gene_disease_reference USING btree (disease_id, gene_id);
Date: 2025-05-28 22:22:46 Duration: 0ms
32 9 8.39 GiB 400.55 MiB 1.00 GiB 954.73 MiB select pub1.maint_cached_value_refresh_data_metrics ();-
select pub1.maint_cached_value_refresh_data_metrics ();
Date: 2025-05-29 08:29:42 Duration: 34m27s
-
select pub1.maint_cached_value_refresh_data_metrics ();
Date: 2025-05-29 08:25:20 Duration: 0ms
33 8 66.05 MiB 8.00 KiB 17.30 MiB 8.26 MiB alter table pub1.chem_disease add constraint chem_disease_pk primary key (chem_id, disease_id);-
ALTER TABLE pub1.chem_disease ADD CONSTRAINT chem_disease_pk PRIMARY KEY (chem_id, disease_id);
Date: 2025-05-29 01:09:00 Duration: 0ms
34 6 5.79 GiB 813.76 MiB 1.00 GiB 988.96 MiB select distinct ptr.phenotype_id, cdr.disease_id, ( select id from pub1.object_type where cd = ?), cdr.reference_id, ptr.reference_id, cdr.ixn_id, cdr.chem_id, ( select id from pub1.object_type where cd = ?), cdr.mod_tm from pub1.chem_disease_reference cdr, pub1.phenotype_term_reference ptr where cdr.chem_id = ptr.term_id;-
SELECT DISTINCT ptr.phenotype_id, cdr.disease_id, ( select id from pub1.OBJECT_TYPE where cd = 'disease'), cdr.reference_id, ptr.reference_id, cdr.ixn_id, cdr.chem_id, ( select id from pub1.OBJECT_TYPE where cd = 'chem'), cdr.mod_tm FROM pub1.CHEM_DISEASE_REFERENCE cdr, pub1.PHENOTYPE_TERM_REFERENCE ptr WHERE cdr.chem_id = ptr.term_id;
Date: 2025-05-28 22:00:52 Duration: 0ms
35 6 7.09 MiB 400.00 KiB 2.08 MiB 1.18 MiB vacuum full analyze log_query;-
VACUUM FULL ANALYZE log_query;
Date: 2025-05-28 00:06:03 Duration: 1s47ms
-
VACUUM FULL ANALYZE log_query;
Date: 2025-05-28 00:06:03 Duration: 0ms
36 5 652.95 MiB 127.91 MiB 133.82 MiB 130.59 MiB create index ix_gene_disease_network_score on pub1.gene_disease using btree (network_score);-
CREATE INDEX ix_gene_disease_network_score ON pub1.gene_disease USING btree (network_score);
Date: 2025-05-29 01:08:56 Duration: 14s651ms
-
CREATE INDEX ix_gene_disease_network_score ON pub1.gene_disease USING btree (network_score);
Date: 2025-05-29 01:08:55 Duration: 0ms
37 5 252.80 MiB 50.28 MiB 50.94 MiB 50.56 MiB create index ix_chem_disease_reference_ixn on pub1.chem_disease_reference using btree (ixn_id);-
CREATE INDEX ix_chem_disease_reference_ixn ON pub1.chem_disease_reference USING btree (ixn_id);
Date: 2025-05-28 22:30:37 Duration: 2s796ms
-
CREATE INDEX ix_chem_disease_reference_ixn ON pub1.chem_disease_reference USING btree (ixn_id);
Date: 2025-05-28 22:30:37 Duration: 0ms
38 5 1.09 GiB 212.29 MiB 228.25 MiB 223.67 MiB create index ix_phenotype_term_ref_taxon_id on pub1.phenotype_term_reference using btree (taxon_id);-
CREATE INDEX ix_phenotype_term_ref_taxon_id ON pub1.phenotype_term_reference USING btree (taxon_id);
Date: 2025-05-28 22:29:07 Duration: 7s638ms
-
CREATE INDEX ix_phenotype_term_ref_taxon_id ON pub1.phenotype_term_reference USING btree (taxon_id);
Date: 2025-05-28 22:29:06 Duration: 0ms
39 5 40.00 KiB 8.00 KiB 8.00 KiB 8.00 KiB create index ix_gene_disease_exp_ref_qty on pub1.gene_disease using btree (exposure_reference_qty) where (exposure_reference_qty > ?);-
CREATE INDEX ix_gene_disease_exp_ref_qty ON pub1.gene_disease USING btree (exposure_reference_qty) WHERE (exposure_reference_qty > 0);
Date: 2025-05-29 01:08:28 Duration: 0ms
40 5 652.95 MiB 126.49 MiB 135.05 MiB 130.59 MiB create index ix_gene_disease_disease on pub1.gene_disease using btree (disease_id);-
CREATE INDEX ix_gene_disease_disease ON pub1.gene_disease USING btree (disease_id);
Date: 2025-05-29 01:08:41 Duration: 7s31ms
-
CREATE INDEX ix_gene_disease_disease ON pub1.gene_disease USING btree (disease_id);
Date: 2025-05-29 01:08:41 Duration: 0ms
41 5 1.09 GiB 214.76 MiB 228.88 MiB 223.67 MiB create index ix_phenotype_term_ref_reference_id on pub1.phenotype_term_reference using btree (reference_id);-
CREATE INDEX ix_phenotype_term_ref_reference_id ON pub1.phenotype_term_reference USING btree (reference_id);
Date: 2025-05-28 22:28:59 Duration: 12s514ms
-
CREATE INDEX ix_phenotype_term_ref_reference_id ON pub1.phenotype_term_reference USING btree (reference_id);
Date: 2025-05-28 22:28:59 Duration: 0ms
42 5 65.96 MiB 10.25 MiB 17.23 MiB 13.19 MiB create index ix_phenotype_term_phenotype_id on pub1.phenotype_term using btree (phenotype_id);-
CREATE INDEX ix_phenotype_term_phenotype_id ON pub1.phenotype_term USING btree (phenotype_id);
Date: 2025-05-29 01:08:57 Duration: 0ms
43 5 252.79 MiB 48.09 MiB 51.42 MiB 50.56 MiB create index ix_chem_disease_ref_source_cd on pub1.chem_disease_reference using btree (source_cd);-
CREATE INDEX ix_chem_disease_ref_source_cd ON pub1.chem_disease_reference USING btree (source_cd);
Date: 2025-05-28 22:30:29 Duration: 1s980ms
-
CREATE INDEX ix_chem_disease_ref_source_cd ON pub1.chem_disease_reference USING btree (source_cd);
Date: 2025-05-28 22:30:29 Duration: 0ms
44 5 1.09 GiB 220.55 MiB 227.49 MiB 223.67 MiB create index ix_phenotype_term_ref_evidence_cd on pub1.phenotype_term_reference using btree (evidence_cd);-
CREATE INDEX ix_phenotype_term_ref_evidence_cd ON pub1.phenotype_term_reference USING btree (evidence_cd);
Date: 2025-05-28 22:29:14 Duration: 7s795ms
-
CREATE INDEX ix_phenotype_term_ref_evidence_cd ON pub1.phenotype_term_reference USING btree (evidence_cd);
Date: 2025-05-28 22:29:14 Duration: 0ms
45 5 225.97 MiB 43.73 MiB 47.67 MiB 45.19 MiB create index ix_term_enrich_corr_p_val on pub1.term_enrichment using btree (corrected_p_val);-
CREATE INDEX ix_term_enrich_corr_p_val ON pub1.term_enrichment USING btree (corrected_p_val);
Date: 2025-05-29 00:34:29 Duration: 4s600ms
-
CREATE INDEX ix_term_enrich_corr_p_val ON pub1.term_enrichment USING btree (corrected_p_val);
Date: 2025-05-29 00:34:29 Duration: 0ms
46 5 1.09 GiB 219.54 MiB 231.02 MiB 223.67 MiB create index ix_phenotype_term_ref_term_id on pub1.phenotype_term_reference using btree (term_id);-
CREATE INDEX ix_phenotype_term_ref_term_id ON pub1.phenotype_term_reference USING btree (term_id);
Date: 2025-05-28 22:28:37 Duration: 10s314ms
-
CREATE INDEX ix_phenotype_term_ref_term_id ON pub1.phenotype_term_reference USING btree (term_id);
Date: 2025-05-28 22:28:37 Duration: 0ms
47 5 252.80 MiB 50.16 MiB 50.87 MiB 50.56 MiB create index ix_chem_disease_ref_src_db on pub1.chem_disease_reference using btree (source_acc_db_id);-
CREATE INDEX ix_chem_disease_ref_src_db ON pub1.chem_disease_reference USING btree (source_acc_db_id);
Date: 2025-05-28 22:30:31 Duration: 1s975ms
-
CREATE INDEX ix_chem_disease_ref_src_db ON pub1.chem_disease_reference USING btree (source_acc_db_id);
Date: 2025-05-28 22:30:31 Duration: 0ms
48 5 161.86 MiB 30.88 MiB 32.93 MiB 32.37 MiB create index ix_term_enrich_obj_type on pub1.term_enrichment using btree (object_type_id);-
CREATE INDEX ix_term_enrich_obj_type ON pub1.term_enrichment USING btree (object_type_id);
Date: 2025-05-29 00:34:21 Duration: 1s68ms
-
CREATE INDEX ix_term_enrich_obj_type ON pub1.term_enrichment USING btree (object_type_id);
Date: 2025-05-29 00:34:21 Duration: 0ms
49 5 252.80 MiB 46.19 MiB 55.01 MiB 50.56 MiB create index ix_chem_disease_reference_ref on pub1.chem_disease_reference using btree (reference_id);-
CREATE INDEX ix_chem_disease_reference_ref ON pub1.chem_disease_reference USING btree (reference_id);
Date: 2025-05-28 22:30:27 Duration: 2s870ms
-
CREATE INDEX ix_chem_disease_reference_ref ON pub1.chem_disease_reference USING btree (reference_id);
Date: 2025-05-28 22:30:27 Duration: 0ms
50 5 1.09 GiB 213.09 MiB 236.48 MiB 223.67 MiB create index ix_phenotype_term_ref_object_type_id on pub1.phenotype_term_reference using btree (term_object_type_id);-
CREATE INDEX ix_phenotype_term_ref_object_type_id ON pub1.phenotype_term_reference USING btree (term_object_type_id);
Date: 2025-05-28 22:28:46 Duration: 9s526ms
-
CREATE INDEX ix_phenotype_term_ref_object_type_id ON pub1.phenotype_term_reference USING btree (term_object_type_id);
Date: 2025-05-28 22:28:46 Duration: 0ms
51 5 225.95 MiB 43.94 MiB 46.35 MiB 45.19 MiB create index ix_term_enrich_raw_p_val on pub1.term_enrichment using btree (raw_p_val);-
CREATE INDEX ix_term_enrich_raw_p_val ON pub1.term_enrichment USING btree (raw_p_val);
Date: 2025-05-29 00:34:34 Duration: 4s700ms
-
CREATE INDEX ix_term_enrich_raw_p_val ON pub1.term_enrichment USING btree (raw_p_val);
Date: 2025-05-29 00:34:34 Duration: 0ms
52 5 1.09 GiB 215.62 MiB 234.30 MiB 223.67 MiB create index ix_phenotype_term_reference_ixn_id on pub1.phenotype_term_reference using btree (ixn_id);-
CREATE INDEX ix_phenotype_term_reference_ixn_id ON pub1.phenotype_term_reference USING btree (ixn_id);
Date: 2025-05-28 22:29:45 Duration: 11s364ms
-
CREATE INDEX ix_phenotype_term_reference_ixn_id ON pub1.phenotype_term_reference USING btree (ixn_id);
Date: 2025-05-28 22:29:45 Duration: 0ms
53 5 65.95 MiB 12.02 MiB 13.83 MiB 13.19 MiB create index ix_phenotype_term_term_id on pub1.phenotype_term using btree (term_id);-
CREATE INDEX ix_phenotype_term_term_id ON pub1.phenotype_term USING btree (term_id);
Date: 2025-05-29 01:08:58 Duration: 0ms
54 5 161.86 MiB 31.63 MiB 33.24 MiB 32.37 MiB create index ix_term_enrich_enr_obj_type on pub1.term_enrichment using btree (enriched_object_type_id);-
CREATE INDEX ix_term_enrich_enr_obj_type ON pub1.term_enrichment USING btree (enriched_object_type_id);
Date: 2025-05-29 00:34:24 Duration: 1s59ms
-
CREATE INDEX ix_term_enrich_enr_obj_type ON pub1.term_enrichment USING btree (enriched_object_type_id);
Date: 2025-05-29 00:34:24 Duration: 0ms
55 5 1.53 GiB 305.61 MiB 317.84 MiB 313.88 MiB create index ix_phenotype_term_ref_ids on pub1.phenotype_term_reference using btree (phenotype_id, term_id, via_term_object_type_id, term_object_type_id);-
CREATE INDEX ix_phenotype_term_ref_ids ON pub1.phenotype_term_reference USING btree (phenotype_id, term_id, via_term_object_type_id, term_object_type_id);
Date: 2025-05-28 22:30:12 Duration: 15s16ms
-
CREATE INDEX ix_phenotype_term_ref_ids ON pub1.phenotype_term_reference USING btree (phenotype_id, term_id, via_term_object_type_id, term_object_type_id);
Date: 2025-05-28 22:30:12 Duration: 0ms
56 5 252.80 MiB 48.00 MiB 52.29 MiB 50.56 MiB create index ix_chem_disease_ref_mod_tm on pub1.chem_disease_reference using btree (mod_tm);-
CREATE INDEX ix_chem_disease_ref_mod_tm ON pub1.chem_disease_reference USING btree (mod_tm);
Date: 2025-05-28 22:30:40 Duration: 2s807ms
-
CREATE INDEX ix_chem_disease_ref_mod_tm ON pub1.chem_disease_reference USING btree (mod_tm);
Date: 2025-05-28 22:30:40 Duration: 0ms
57 5 1.09 GiB 205.43 MiB 243.03 MiB 223.67 MiB create index ix_phenotype_term_reference_term_reference_id on pub1.phenotype_term_reference using btree (term_reference_id);-
CREATE INDEX ix_phenotype_term_reference_term_reference_id ON pub1.phenotype_term_reference USING btree (term_reference_id);
Date: 2025-05-28 22:29:34 Duration: 11s572ms
-
CREATE INDEX ix_phenotype_term_reference_term_reference_id ON pub1.phenotype_term_reference USING btree (term_reference_id);
Date: 2025-05-28 22:29:34 Duration: 0ms
58 5 252.80 MiB 49.62 MiB 51.38 MiB 50.56 MiB create index ix_chem_disease_ref_net_sc on pub1.chem_disease_reference using btree (network_score);-
CREATE INDEX ix_chem_disease_ref_net_sc ON pub1.chem_disease_reference USING btree (network_score);
Date: 2025-05-28 22:30:45 Duration: 5s113ms
-
CREATE INDEX ix_chem_disease_ref_net_sc ON pub1.chem_disease_reference USING btree (network_score);
Date: 2025-05-28 22:30:45 Duration: 0ms
59 5 1.09 GiB 218.79 MiB 226.35 MiB 223.67 MiB create index ix_phenotype_term_reference_source_acc_db_id on pub1.phenotype_term_reference using btree (source_acc_db_id);-
CREATE INDEX ix_phenotype_term_reference_source_acc_db_id ON pub1.phenotype_term_reference USING btree (source_acc_db_id);
Date: 2025-05-28 22:29:22 Duration: 8s133ms
-
CREATE INDEX ix_phenotype_term_reference_source_acc_db_id ON pub1.phenotype_term_reference USING btree (source_acc_db_id);
Date: 2025-05-28 22:29:22 Duration: 0ms
60 5 688.00 KiB 128.00 KiB 144.00 KiB 137.60 KiB create index ix_gene_disease_cur_ref_qty on pub1.gene_disease using btree (curated_reference_qty) where (curated_reference_qty > ?);-
CREATE INDEX ix_gene_disease_cur_ref_qty ON pub1.gene_disease USING btree (curated_reference_qty) WHERE (curated_reference_qty > 0);
Date: 2025-05-29 01:08:20 Duration: 0ms Database: ctdprd51 User: pub1
61 5 1.09 GiB 219.28 MiB 230.52 MiB 223.67 MiB create index ix_phenotype_term_ref_phenotype_id on pub1.phenotype_term_reference using btree (phenotype_id);-
CREATE INDEX ix_phenotype_term_ref_phenotype_id ON pub1.phenotype_term_reference USING btree (phenotype_id);
Date: 2025-05-28 22:28:27 Duration: 9s977ms
-
CREATE INDEX ix_phenotype_term_ref_phenotype_id ON pub1.phenotype_term_reference USING btree (phenotype_id);
Date: 2025-05-28 22:28:26 Duration: 0ms
62 5 252.80 MiB 50.37 MiB 50.70 MiB 50.56 MiB create index ix_chem_disease_reference_gene on pub1.chem_disease_reference using btree (via_gene_id);-
CREATE INDEX ix_chem_disease_reference_gene ON pub1.chem_disease_reference USING btree (via_gene_id);
Date: 2025-05-28 22:30:34 Duration: 2s791ms
-
CREATE INDEX ix_chem_disease_reference_gene ON pub1.chem_disease_reference USING btree (via_gene_id);
Date: 2025-05-28 22:30:34 Duration: 0ms
63 5 1.09 GiB 214.05 MiB 238.09 MiB 223.67 MiB create index ix_phenotype_term_ref_via_term_id on pub1.phenotype_term_reference using btree (via_term_id);-
CREATE INDEX ix_phenotype_term_ref_via_term_id ON pub1.phenotype_term_reference USING btree (via_term_id);
Date: 2025-05-28 22:29:57 Duration: 11s694ms
-
CREATE INDEX ix_phenotype_term_ref_via_term_id ON pub1.phenotype_term_reference USING btree (via_term_id);
Date: 2025-05-28 22:29:57 Duration: 0ms
64 5 161.87 MiB 28.10 MiB 35.71 MiB 32.37 MiB create index ix_term_enrich_tgt_match on pub1.term_enrichment using btree (target_match_qty);-
CREATE INDEX ix_term_enrich_tgt_match ON pub1.term_enrichment USING btree (target_match_qty);
Date: 2025-05-29 00:34:23 Duration: 1s958ms
-
CREATE INDEX ix_term_enrich_tgt_match ON pub1.term_enrichment USING btree (target_match_qty);
Date: 2025-05-29 00:34:23 Duration: 0ms
65 5 252.80 MiB 47.43 MiB 53.80 MiB 50.56 MiB create index ix_chem_disease_reference_dis on pub1.chem_disease_reference using btree (disease_id);-
CREATE INDEX ix_chem_disease_reference_dis ON pub1.chem_disease_reference USING btree (disease_id);
Date: 2025-05-28 22:30:25 Duration: 2s777ms
-
CREATE INDEX ix_chem_disease_reference_dis ON pub1.chem_disease_reference USING btree (disease_id);
Date: 2025-05-28 22:30:25 Duration: 0ms
66 5 652.82 MiB 121.29 MiB 134.20 MiB 130.56 MiB create index ix_gene_disease_ind_chem_qty on pub1.gene_disease using btree (indirect_chem_qty) where (indirect_chem_qty > ?);-
CREATE INDEX ix_gene_disease_ind_chem_qty ON pub1.gene_disease USING btree (indirect_chem_qty) WHERE (indirect_chem_qty > 0);
Date: 2025-05-29 01:08:27 Duration: 7s204ms
-
CREATE INDEX ix_gene_disease_ind_chem_qty ON pub1.gene_disease USING btree (indirect_chem_qty) WHERE (indirect_chem_qty > 0);
Date: 2025-05-29 01:08:27 Duration: 0ms
67 4 65.12 MiB 16.13 MiB 16.55 MiB 16.28 MiB create index ix_chem_disease_ind_gene_qty on pub1.chem_disease using btree (indirect_gene_qty) where (indirect_gene_qty > ?);-
CREATE INDEX ix_chem_disease_ind_gene_qty ON pub1.chem_disease USING btree (indirect_gene_qty) WHERE (indirect_gene_qty > 0);
Date: 2025-05-29 01:09:00 Duration: 0ms
68 4 66.02 MiB 14.66 MiB 18.44 MiB 16.50 MiB create index ix_chem_disease_network_score on pub1.chem_disease using btree (network_score);-
CREATE INDEX ix_chem_disease_network_score ON pub1.chem_disease USING btree (network_score);
Date: 2025-05-29 01:09:02 Duration: 1s487ms
-
CREATE INDEX ix_chem_disease_network_score ON pub1.chem_disease USING btree (network_score);
Date: 2025-05-29 01:09:02 Duration: 0ms
69 4 2.00 MiB 472.00 KiB 560.00 KiB 512.00 KiB create index ix_chem_disease_cur_ref_qty on pub1.chem_disease using btree (curated_reference_qty) where (curated_reference_qty > ?);-
CREATE INDEX ix_chem_disease_cur_ref_qty ON pub1.chem_disease USING btree (curated_reference_qty) WHERE (curated_reference_qty > 0);
Date: 2025-05-29 01:08:59 Duration: 0ms
70 4 14.21 MiB 8.00 KiB 7.10 MiB 3.55 MiB alter table pub1.phenotype_term_axn add constraint phenotype_term_axn_pk primary key (phenotype_id, term_id, action_type_nm, action_degree_type_nm);-
ALTER TABLE pub1.phenotype_term_axn ADD CONSTRAINT phenotype_term_axn_pk PRIMARY KEY (phenotype_id, term_id, action_type_nm, action_degree_type_nm);
Date: 2025-05-29 01:08:59 Duration: 0ms
71 4 32.00 KiB 8.00 KiB 8.00 KiB 8.00 KiB create index ix_chem_disease_exp_ref_qty on pub1.chem_disease using btree (exposure_reference_qty) where (exposure_reference_qty > ?);-
CREATE INDEX ix_chem_disease_exp_ref_qty ON pub1.chem_disease USING btree (exposure_reference_qty) WHERE (exposure_reference_qty > 0);
Date: 2025-05-29 01:09:00 Duration: 0ms
72 4 66.00 MiB 15.76 MiB 16.91 MiB 16.50 MiB create index ix_chem_disease_disease on pub1.chem_disease using btree (disease_id);-
CREATE INDEX ix_chem_disease_disease ON pub1.chem_disease USING btree (disease_id);
Date: 2025-05-29 01:09:03 Duration: 0ms
73 2 6.44 MiB 2.86 MiB 3.58 MiB 3.22 MiB create index ix_phenotype_term_axn_term_id on pub1.phenotype_term_axn using btree (term_id);-
CREATE INDEX ix_phenotype_term_axn_term_id ON pub1.phenotype_term_axn USING btree (term_id);
Date: 2025-05-29 01:08:59 Duration: 0ms
74 2 6.44 MiB 2.87 MiB 3.57 MiB 3.22 MiB create index ix_phenotype_term_axn_phenotype_id on pub1.phenotype_term_axn using btree (phenotype_id);-
CREATE INDEX ix_phenotype_term_axn_phenotype_id ON pub1.phenotype_term_axn USING btree (phenotype_id);
Date: 2025-05-29 01:08:59 Duration: 0ms
Queries generating the largest temporary files
Rank Size Query 1 1.00 GiB SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2025-05-27 14:57:09 - Database: ctdprd51 - User: load - Application: pg_bulkload ]
2 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub1.GENE_CHEM_REFERENCE gcr, pub1.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn;[ Date: 2025-05-28 20:23:27 ]
3 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub1.GENE_CHEM_REFERENCE gcr, pub1.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn;[ Date: 2025-05-28 20:23:27 ]
4 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub1.GENE_CHEM_REFERENCE gcr, pub1.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn;[ Date: 2025-05-28 20:23:27 ]
5 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub1.GENE_CHEM_REFERENCE gcr, pub1.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn;[ Date: 2025-05-28 20:23:27 ]
6 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub1.GENE_CHEM_REFERENCE gcr, pub1.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn;[ Date: 2025-05-28 20:23:27 ]
7 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub1.GENE_CHEM_REFERENCE gcr, pub1.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn;[ Date: 2025-05-28 20:23:28 ]
8 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub1.GENE_CHEM_REFERENCE gcr, pub1.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn;[ Date: 2025-05-28 20:23:28 ]
9 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub1.GENE_CHEM_REFERENCE gcr, pub1.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn;[ Date: 2025-05-28 20:23:28 ]
10 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub1.GENE_CHEM_REFERENCE gcr, pub1.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn;[ Date: 2025-05-28 20:23:28 ]
11 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub1.GENE_CHEM_REFERENCE gcr, pub1.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn;[ Date: 2025-05-28 20:23:28 ]
12 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub1.GENE_CHEM_REFERENCE gcr, pub1.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn;[ Date: 2025-05-28 20:23:28 ]
13 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub1.GENE_CHEM_REFERENCE gcr, pub1.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn;[ Date: 2025-05-28 20:23:28 ]
14 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub1.GENE_CHEM_REFERENCE gcr, pub1.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn;[ Date: 2025-05-28 20:23:28 ]
15 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub1.GENE_CHEM_REFERENCE gcr, pub1.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn;[ Date: 2025-05-28 20:23:28 ]
16 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub1.GENE_CHEM_REFERENCE gcr, pub1.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn;[ Date: 2025-05-28 20:23:28 ]
17 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub1.GENE_CHEM_REFERENCE gcr, pub1.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn;[ Date: 2025-05-28 20:23:28 ]
18 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub1.GENE_CHEM_REFERENCE gcr, pub1.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn;[ Date: 2025-05-28 20:23:28 ]
19 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub1.GENE_CHEM_REFERENCE gcr, pub1.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn;[ Date: 2025-05-28 20:23:28 ]
20 1.00 GiB select distinct gcr.gene_id, cdr.disease_id, cdr.reference_id, cdr.chem_id as via_chem_id, cdr.ixn_id, TO_CHAR(cdr.mod_tm, 'YYYY-MM-DD') from pub1.GENE_CHEM_REFERENCE gcr, pub1.CHEM_DISEASE_REFERENCE cdr where gcr.chem_id = cdr.chem_id and cdr.source_cd = 'C' and gcr.id not in ( select gene_chem_reference_id from pub1.gene_chem_reference_axn;[ Date: 2025-05-28 20:23:28 ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 216.39 sec Highest CPU-cost vacuum
Table pub1.gene_disease
Database ctdprd51 - 2025-05-29 01:46:23 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 216.39 sec Highest CPU-cost vacuum
Table pub1.gene_disease
Database ctdprd51 - 2025-05-29 01:46:23 Date
Analyzes per table
Key values
- pubc.log_query (214) Main table analyzed (database ctdprd51)
- 335 analyzes Total
Table Number of analyzes ctdprd51.pubc.log_query 214 ctdprd51.pub1.term_set_enrichment 7 ctdprd51.pub1.term_set_enrichment_agent 6 ctdprd51.pg_catalog.pg_class 6 ctdprd51.pg_catalog.pg_attribute 4 ctdprd51.pub1.term 4 ctdprd51.pub2.term_set_enrichment 4 ctdprd51.pub2.term_set_enrichment_agent 3 ctdprd51.pub1.term_comp_agent 3 ctdprd51.pub1.reference 3 ctdprd51.pg_catalog.pg_index 3 ctdprd51.pg_catalog.pg_type 2 ctdprd51.edit.db_link 2 ctdprd51.pub1.dag_node 2 ctdprd51.pg_catalog.pg_depend 2 ctdprd51.pub1.term_comp 2 ctdprd51.pub2.term_comp_agent 2 postgres.pg_catalog.pg_shdepend 2 ctdprd51.pub1.phenotype_term 2 ctdprd51.pub1.db 2 ctdprd51.edit.action_degree 1 ctdprd51.pub1.dag_edge 1 ctdprd51.pub1.gene_gene_reference 1 ctdprd51.pub1.exp_event_location 1 ctdprd51.pub1.term_pathway 1 ctdprd51.pub1.slim_term_mapping 1 ctdprd51.pub1.term_reference 1 ctdprd51.pub1.gene_taxon 1 ctdprd51.pub1.img 1 ctdprd51.edit.exp_stressor_src_type 1 ctdprd51.pub1.db_report_site 1 ctdprd51.edit.country 1 ctdprd51.pg_catalog.pg_trigger 1 ctdprd51.pub1.geographic_region 1 ctdprd51.pub1.reference_party 1 ctdprd51.edit.action_type_path 1 ctdprd51.pub1.exp_receptor 1 ctdprd51.edit.db 1 ctdprd51.pub1.db_report 1 ctdprd51.edit.race 1 ctdprd51.pub1.reference_party_role 1 ctdprd51.pub1.gene_gene 1 ctdprd51.pub1.reference_exp 1 ctdprd51.pub1.exp_outcome 1 ctdprd51.edit.db_report 1 ctdprd51.pub1.exp_event_project 1 ctdprd51.load.data_load 1 ctdprd51.edit.object_note 1 ctdprd51.pub1.gene_gene_ref_throughput 1 ctdprd51.pub1.list_db_report 1 ctdprd51.pub1.term_label 1 ctdprd51.edit.db_report_site 1 ctdprd51.pub1.exp_receptor_tobacco_use 1 ctdprd51.pub1.country 1 ctdprd51.pub1.exp_receptor_race 1 ctdprd51.pub1.exp_stressor_stressor_src 1 ctdprd51.pub1.action_type 1 ctdprd51.pub1.db_link 1 ctdprd51.pub1.exp_study_factor 1 ctdprd51.pub1.gene_disease 1 ctdprd51.edit.action_type 1 ctdprd51.edit.list_db_report 1 ctdprd51.pub1.exp_event 1 ctdprd51.pub1.gene_go_annot 1 ctdprd51.pub1.chem_disease 1 ctdprd51.pg_catalog.pg_description 1 ctdprd51.pg_catalog.pg_shdepend 1 ctdprd51.pub1.exposure 1 ctdprd51.pub1.medium 1 ctdprd51.pub1.exp_stressor 1 ctdprd51.pg_catalog.pg_attrdef 1 ctdprd51.edit.reference_db_link 1 ctdprd51.pub1.exp_anatomy 1 ctdprd51.pub1.ixn 1 ctdprd51.pub1.exp_event_assay_method 1 ctdprd51.pub1.exp_receptor_gender 1 ctdprd51.pub1.gene_chem_ref_gene_form 1 ctdprd51.pg_catalog.pg_constraint 1 ctdprd51.pg_catalog.pg_proc 1 ctdprd51.edit.age_uom 1 Total 335 Vacuums per table
Key values
- pubc.log_query (91) Main table vacuumed on database ctdprd51
- 242 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 91 36 300,336 0 33,403 0 31,022 53,317 8,370 28,191,739 ctdprd51.edit.country 8 1 551 0 3 0 0 17 2 16,867 ctdprd51.edit.action_type_path 8 0 407 0 3 0 0 6 1 9,573 ctdprd51.edit.db 8 1 783 0 3 0 0 23 2 16,521 ctdprd51.edit.action_degree 8 1 395 0 2 0 0 16 1 10,257 ctdprd51.edit.db_report_site 8 1 511 0 4 0 0 12 2 13,943 ctdprd51.edit.list_db_report 8 1 523 0 4 0 0 12 2 16,818 ctdprd51.edit.db_report 7 0 1,196 0 3 0 0 0 0 0 ctdprd51.pg_catalog.pg_statistic 7 7 4,648 0 771 0 848 2,324 621 2,578,113 ctdprd51.pg_toast.pg_toast_2619 6 6 26,555 0 9,091 0 60,246 21,957 5,978 3,625,352 ctdprd51.pub1.term_set_enrichment 4 0 1,510 0 99 0 0 406 6 53,897 ctdprd51.pub1.term 4 2 1,466,692 0 185,548 0 32 858,632 298,517 1,389,952,541 ctdprd51.pub1.term_set_enrichment_agent 3 0 22,777 0 3,695 0 0 9,364 3 571,024 ctdprd51.pg_catalog.pg_class 3 3 1,173 0 142 0 0 557 134 529,714 ctdprd51.pub1.reference 3 2 665,125 0 93,779 0 0 409,828 51,643 228,989,631 ctdprd51.pg_catalog.pg_attribute 2 2 1,193 0 176 0 92 661 159 753,529 ctdprd51.pub2.term_set_enrichment_agent 2 0 730,522 0 361,623 0 0 421,567 16 25,001,528 ctdprd51.pub1.term_label 2 1 851,776 0 18,570 0 0 649,456 73,707 301,972,565 ctdprd51.pub2.term_comp_agent 2 0 481 0 61 0 0 139 3 24,802 ctdprd51.pub1.dag_node 2 1 405,101 0 555 0 0 317,370 545 95,443,732 ctdprd51.pub1.term_comp_agent 2 0 234 0 4 0 0 46 2 12,843 ctdprd51.pub1.phenotype_term 2 2 988,245 0 104,494 0 0 792,672 58,375 225,520,723 ctdprd51.pub1.img 1 0 1,108 0 5 0 0 524 2 42,523 ctdprd51.pg_toast.pg_toast_8283812 1 0 88,821 0 4 0 0 44,403 2 2,636,300 ctdprd51.pg_catalog.pg_trigger 1 1 345 0 22 0 0 131 28 122,856 ctdprd51.pub1.reference_party 1 0 5,119 0 3 0 0 2,526 1 157,453 ctdprd51.pub1.exp_receptor 1 0 7,711 0 4 0 0 3,827 2 237,124 ctdprd51.pub1.dag_edge 1 0 1,024 0 5 0 0 482 2 39,769 ctdprd51.pub1.gene_gene_reference 1 0 30,960 0 3 0 0 15,403 1 917,196 ctdprd51.pg_toast.pg_toast_8283743 1 1 90 0 3 0 0 48 2 11,535 ctdprd51.pub1.exp_event_location 1 0 3,662 0 3 0 0 1,780 1 113,439 ctdprd51.pg_catalog.pg_type 1 1 96 0 45 0 0 62 30 121,372 ctdprd51.pub1.slim_term_mapping 1 0 606 0 4 0 0 265 2 26,970 ctdprd51.pub1.term_pathway 1 0 3,366 0 4 0 0 1,614 2 105,465 ctdprd51.pub1.gene_taxon 1 0 157,667 0 5 0 0 78,775 3 4,672,538 ctdprd51.pub1.term_reference 1 0 38,560 0 5 0 0 19,225 2 1,144,514 ctdprd51.pub1.exp_outcome 1 0 829 0 4 0 0 357 2 32,394 ctdprd51.pub1.exp_event_project 1 0 2,278 0 3 0 0 1,117 1 74,322 ctdprd51.edit.object_note 1 1 179 0 7 0 0 17 5 29,190 ctdprd51.pub1.gene_gene_ref_throughput 1 0 14,825 0 3 0 0 7,390 1 444,429 ctdprd51.pub1.reference_party_role 1 0 13,556 0 4 0 0 6,739 1 406,020 ctdprd51.edit.race 1 0 55 0 3 0 0 1 0 270 ctdprd51.pub1.gene_gene 1 0 12,208 0 4 0 0 6,076 1 366,903 ctdprd51.edit.db_link 1 0 7,587 0 2 0 0 1 0 257 ctdprd51.pub1.reference_exp 1 0 334 0 3 0 0 130 1 16,089 ctdprd51.pub1.gene_go_annot 1 0 600,469 0 300,132 0 0 300,119 11 17,792,401 ctdprd51.pg_toast.pg_toast_486223 1 0 39 0 3 0 0 1 0 188 ctdprd51.pub1.chem_disease 1 1 272,946 0 35,002 0 0 166,855 59,721 200,340,632 postgres.pg_catalog.pg_shdepend 1 1 218 0 62 0 0 122 47 137,518 ctdprd51.pub1.exposure 1 0 3,940 0 3 0 0 1,917 1 121,522 ctdprd51.pub1.exp_receptor_tobacco_use 1 0 1,234 0 3 0 0 582 1 42,757 ctdprd51.edit.gender 1 0 55 0 3 0 0 1 0 156 ctdprd51.pub1.exp_receptor_race 1 0 1,386 0 3 0 0 658 1 47,241 ctdprd51.pub1.exp_stressor_stressor_src 1 0 2,873 0 4 0 0 1,408 1 91,491 ctdprd51.pub1.db_link 1 0 288,157 0 130,532 0 0 143,955 5 8,534,552 ctdprd51.pub1.exp_study_factor 1 0 113 0 15 0 0 11 2 11,976 ctdprd51.pub1.gene_disease 1 1 2,903,710 0 599,844 0 0 1,651,305 576,977 2,105,031,685 ctdprd51.pg_catalog.pg_depend 1 1 648 0 77 0 65 252 81 344,036 ctdprd51.pub1.exp_event 1 0 13,283 0 3 0 0 6,577 1 396,462 ctdprd51.pub1.exp_event_assay_method 1 0 5,219 0 4 0 0 2,581 2 163,614 ctdprd51.pub1.exp_receptor_gender 1 0 2,834 0 3 0 0 1,402 1 91,137 ctdprd51.pub1.gene_chem_ref_gene_form 1 0 34,286 0 3 0 0 17,093 2 1,020,090 ctdprd51.pg_catalog.pg_index 1 1 186 0 23 0 0 96 16 79,810 ctdprd51.pg_catalog.pg_constraint 1 1 290 0 21 0 0 114 17 83,219 ctdprd51.pg_catalog.pg_proc 1 1 430 0 88 0 79 288 87 147,476 ctdprd51.edit.geographic_region 1 0 63 0 3 0 0 1 0 150 ctdprd51.edit.age_uom 1 0 76 0 0 0 0 1 0 180 ctdprd51.pub1.db 1 1 147 0 12 0 0 19 10 33,996 ctdprd51.pub1.exp_stressor 1 0 6,604 0 3 0 0 3,273 1 201,526 ctdprd51.pg_catalog.pg_attrdef 1 1 85 0 5 0 0 23 3 20,273 ctdprd51.edit.reference_db_link 1 0 7,352 0 3 1 0 1 0 188 ctdprd51.pub1.exp_anatomy 1 0 161 0 4 0 0 35 2 13,396 ctdprd51.pub2.term_set_enrichment 1 0 8,434 0 3,854 0 0 3,859 2 241,756 ctdprd51.pub1.ixn 1 1 1,557,398 0 47,535 0 0 1,037,381 21 71,261,126 Total 242 81 11,574,356 297,669 1,929,428 1 92,384 7,069,205 1,135,194 4,721,275,194 Tuples removed per table
Key values
- pub1.gene_disease (34165609) Main table with removed tuples on database ctdprd51
- 68969656 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pub1.gene_disease 1 1 34,165,609 34,165,609 0 0 502,436 ctdprd51.pub1.phenotype_term 2 2 20,725,306 6,900,672 0 0 258,188 ctdprd51.pub1.term_label 2 1 6,501,880 13,003,760 0 0 285,389 ctdprd51.pub1.chem_disease 1 1 3,453,278 3,453,278 0 0 50,735 ctdprd51.pub1.term 4 2 2,118,420 6,379,453 0 0 410,224 ctdprd51.pub1.dag_node 2 1 1,734,627 3,454,270 0 0 124,733 ctdprd51.pubc.log_query 91 36 123,725 5,162,407 1,724,144 0 214,870 ctdprd51.pub1.ixn 1 1 56,630 2,411,139 0 0 570,471 ctdprd51.pub1.reference 3 2 53,476 599,734 0 0 203,777 ctdprd51.pg_toast.pg_toast_2619 6 6 25,811 125,047 345 0 75,552 ctdprd51.pg_catalog.pg_statistic 7 7 3,694 20,269 136 0 2,870 ctdprd51.pg_catalog.pg_attribute 2 2 2,187 17,322 0 0 460 ctdprd51.pg_catalog.pg_depend 1 1 1,046 14,122 0 0 138 ctdprd51.pg_catalog.pg_class 3 3 892 5,391 0 0 294 postgres.pg_catalog.pg_shdepend 1 1 785 1,567 0 1 25 ctdprd51.pg_catalog.pg_trigger 1 1 433 1,797 0 0 49 ctdprd51.edit.country 8 1 249 3,735 1,743 0 32 ctdprd51.pg_catalog.pg_index 1 1 207 1,167 0 0 37 ctdprd51.pg_catalog.pg_type 1 1 204 1,153 0 0 34 ctdprd51.edit.list_db_report 8 1 183 2,745 1,281 0 24 ctdprd51.pg_catalog.pg_proc 1 1 159 1,594 0 0 205 ctdprd51.pg_catalog.pg_constraint 1 1 133 879 0 0 36 ctdprd51.pub1.db 1 1 132 132 0 0 6 ctdprd51.edit.action_type_path 8 0 106 1,590 742 0 16 ctdprd51.pg_catalog.pg_attrdef 1 1 91 234 0 0 11 ctdprd51.edit.db 8 1 81 1,980 924 0 64 ctdprd51.edit.action_degree 8 1 61 3,285 1,533 0 48 ctdprd51.pg_toast.pg_toast_8283743 1 1 60 71 0 0 21 ctdprd51.edit.race 1 0 54 54 27 0 1 ctdprd51.edit.gender 1 0 48 6 3 0 1 ctdprd51.edit.age_uom 1 0 45 18 9 0 1 ctdprd51.edit.object_note 1 1 28 66 33 1 2 ctdprd51.edit.geographic_region 1 0 16 102 51 0 1 ctdprd51.pub1.img 1 0 0 50,677 0 0 523 ctdprd51.pg_toast.pg_toast_8283812 1 0 0 240,042 0 0 44,402 ctdprd51.pub1.reference_party 1 0 0 452,060 0 0 2,525 ctdprd51.pub1.exp_receptor 1 0 0 205,566 0 0 3,826 ctdprd51.pub1.term_set_enrichment 4 0 0 85,067 0 0 1,416 ctdprd51.pub1.dag_edge 1 0 0 88,931 0 0 481 ctdprd51.pub1.gene_gene_reference 1 0 0 1,413,519 0 0 15,402 ctdprd51.pub1.exp_event_location 1 0 0 268,929 0 0 1,779 ctdprd51.pub2.term_set_enrichment_agent 2 0 0 184,436,627 0 0 2,095,876 ctdprd51.pub1.slim_term_mapping 1 0 0 33,505 0 0 264 ctdprd51.pub1.term_pathway 1 0 0 135,792 0 0 1,613 ctdprd51.pub1.gene_taxon 1 0 0 12,367,459 0 0 78,774 ctdprd51.pub1.term_reference 1 0 0 3,556,323 0 0 19,224 ctdprd51.pub1.exp_outcome 1 0 0 35,630 0 0 356 ctdprd51.edit.db_report 7 0 0 2,240 1,120 0 28 ctdprd51.pub1.exp_event_project 1 0 0 106,487 0 0 1,116 ctdprd51.pub1.gene_gene_ref_throughput 1 0 0 1,421,078 0 0 7,389 ctdprd51.edit.db_report_site 8 1 0 2,430 1,134 0 40 ctdprd51.pub1.reference_party_role 1 0 0 1,246,503 0 0 6,738 ctdprd51.pub1.term_set_enrichment_agent 3 0 0 1,994,268 0 0 22,665 ctdprd51.pub1.gene_gene 1 0 0 1,123,727 0 0 6,075 ctdprd51.edit.db_link 1 0 0 328,725 0 0 3,663 ctdprd51.pub1.reference_exp 1 0 0 3,562 0 0 129 ctdprd51.pub1.gene_go_annot 1 0 0 47,120,396 0 0 300,118 ctdprd51.pg_toast.pg_toast_486223 1 0 0 26 0 0 6 ctdprd51.pub2.term_comp_agent 2 0 0 70,510 0 0 633 ctdprd51.pub1.exposure 1 0 0 232,486 0 0 1,916 ctdprd51.pub1.exp_receptor_tobacco_use 1 0 0 82,250 0 0 581 ctdprd51.pub1.exp_receptor_race 1 0 0 101,405 0 0 657 ctdprd51.pub1.exp_stressor_stressor_src 1 0 0 317,774 0 0 1,407 ctdprd51.pub1.db_link 1 0 0 19,886,303 0 0 143,954 ctdprd51.pub1.exp_study_factor 1 0 0 1,682 0 0 10 ctdprd51.pub1.exp_event 1 0 0 223,175 0 0 6,576 ctdprd51.pub1.exp_event_assay_method 1 0 0 257,227 0 0 2,580 ctdprd51.pub1.exp_receptor_gender 1 0 0 201,171 0 0 1,401 ctdprd51.pub1.gene_chem_ref_gene_form 1 0 0 3,154,962 0 0 17,092 ctdprd51.pub1.exp_stressor 1 0 0 225,712 0 0 3,272 ctdprd51.edit.reference_db_link 1 0 0 328,723 0 0 3,663 ctdprd51.pub1.term_comp_agent 2 0 0 8,107 0 0 78 ctdprd51.pub1.exp_anatomy 1 0 0 3,994 0 0 34 ctdprd51.pub2.term_set_enrichment 1 0 0 1,270,509 0 0 21,012 Total 242 81 68,969,656 358,820,207 1,733,225 2 5,520,045 Pages removed per table
Key values
- edit.object_note (1) Main table with removed pages on database ctdprd51
- 2 pages Total removed
Table Number of vacuums Index scans Tuples removed Pages removed ctdprd51.edit.object_note 1 1 28 1 postgres.pg_catalog.pg_shdepend 1 1 785 1 ctdprd51.pub1.img 1 0 0 0 ctdprd51.pg_catalog.pg_attribute 2 2 2187 0 ctdprd51.pg_toast.pg_toast_8283812 1 0 0 0 ctdprd51.edit.country 8 1 249 0 ctdprd51.pg_catalog.pg_trigger 1 1 433 0 ctdprd51.pub1.reference_party 1 0 0 0 ctdprd51.edit.action_type_path 8 0 106 0 ctdprd51.pub1.exp_receptor 1 0 0 0 ctdprd51.edit.db 8 1 81 0 ctdprd51.pub1.term_set_enrichment 4 0 0 0 ctdprd51.edit.action_degree 8 1 61 0 ctdprd51.pub1.dag_edge 1 0 0 0 ctdprd51.pub1.gene_gene_reference 1 0 0 0 ctdprd51.pg_toast.pg_toast_8283743 1 1 60 0 ctdprd51.pub1.exp_event_location 1 0 0 0 ctdprd51.pub2.term_set_enrichment_agent 2 0 0 0 ctdprd51.pg_catalog.pg_type 1 1 204 0 ctdprd51.pub1.slim_term_mapping 1 0 0 0 ctdprd51.pub1.term_pathway 1 0 0 0 ctdprd51.pub1.gene_taxon 1 0 0 0 ctdprd51.pub1.term_reference 1 0 0 0 ctdprd51.pub1.exp_outcome 1 0 0 0 ctdprd51.edit.db_report 7 0 0 0 ctdprd51.pub1.exp_event_project 1 0 0 0 ctdprd51.pub1.gene_gene_ref_throughput 1 0 0 0 ctdprd51.edit.db_report_site 8 1 0 0 ctdprd51.pub1.term_label 2 1 6501880 0 ctdprd51.pub1.reference_party_role 1 0 0 0 ctdprd51.edit.race 1 0 54 0 ctdprd51.pub1.term_set_enrichment_agent 3 0 0 0 ctdprd51.pub1.term 4 2 2118420 0 ctdprd51.pub1.gene_gene 1 0 0 0 ctdprd51.edit.db_link 1 0 0 0 ctdprd51.pub1.reference_exp 1 0 0 0 ctdprd51.pg_catalog.pg_statistic 7 7 3694 0 ctdprd51.pub1.gene_go_annot 1 0 0 0 ctdprd51.pg_toast.pg_toast_486223 1 0 0 0 ctdprd51.pub1.chem_disease 1 1 3453278 0 ctdprd51.pub2.term_comp_agent 2 0 0 0 ctdprd51.pub1.exposure 1 0 0 0 ctdprd51.pub1.exp_receptor_tobacco_use 1 0 0 0 ctdprd51.pub1.dag_node 2 1 1734627 0 ctdprd51.edit.gender 1 0 48 0 ctdprd51.pub1.exp_receptor_race 1 0 0 0 ctdprd51.pub1.exp_stressor_stressor_src 1 0 0 0 ctdprd51.pub1.db_link 1 0 0 0 ctdprd51.pubc.log_query 91 36 123725 0 ctdprd51.pub1.exp_study_factor 1 0 0 0 ctdprd51.pg_catalog.pg_class 3 3 892 0 ctdprd51.pub1.gene_disease 1 1 34165609 0 ctdprd51.pg_catalog.pg_depend 1 1 1046 0 ctdprd51.pub1.exp_event 1 0 0 0 ctdprd51.edit.list_db_report 8 1 183 0 ctdprd51.pub1.exp_event_assay_method 1 0 0 0 ctdprd51.pub1.exp_receptor_gender 1 0 0 0 ctdprd51.pg_toast.pg_toast_2619 6 6 25811 0 ctdprd51.pub1.gene_chem_ref_gene_form 1 0 0 0 ctdprd51.pg_catalog.pg_index 1 1 207 0 ctdprd51.pg_catalog.pg_constraint 1 1 133 0 ctdprd51.pg_catalog.pg_proc 1 1 159 0 ctdprd51.edit.geographic_region 1 0 16 0 ctdprd51.edit.age_uom 1 0 45 0 ctdprd51.pub1.db 1 1 132 0 ctdprd51.pub1.exp_stressor 1 0 0 0 ctdprd51.pg_catalog.pg_attrdef 1 1 91 0 ctdprd51.edit.reference_db_link 1 0 0 0 ctdprd51.pub1.term_comp_agent 2 0 0 0 ctdprd51.pub1.phenotype_term 2 2 20725306 0 ctdprd51.pub1.exp_anatomy 1 0 0 0 ctdprd51.pub2.term_set_enrichment 1 0 0 0 ctdprd51.pub1.ixn 1 1 56630 0 ctdprd51.pub1.reference 3 2 53476 0 Total 242 81 68,969,656 2 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs May 25 00 2 7 01 2 4 02 1 3 03 1 2 04 2 3 05 0 2 06 1 1 07 1 2 08 3 6 09 0 2 10 1 0 11 0 0 12 0 0 13 0 0 14 0 1 15 0 0 16 0 0 17 0 0 18 0 0 19 0 0 20 0 0 21 0 0 22 0 0 23 0 0 May 26 00 1 2 01 0 1 02 0 0 03 2 8 04 1 7 05 0 0 06 0 1 07 0 0 08 1 4 09 2 6 10 1 5 11 2 3 12 1 3 13 1 2 14 1 2 15 0 1 16 12 14 17 0 1 18 0 1 19 1 1 20 0 1 21 1 1 22 0 1 23 0 0 May 27 00 2 5 01 2 4 02 1 3 03 2 2 04 0 2 05 1 3 06 2 1 07 0 1 08 1 1 09 0 1 10 0 1 11 1 1 12 0 1 13 61 15 14 1 1 15 0 1 16 1 2 17 1 2 18 0 1 19 0 0 20 0 0 21 0 0 22 0 2 23 0 0 May 28 00 17 3 01 0 0 02 0 0 03 0 0 04 0 0 05 0 0 06 0 0 07 1 1 08 1 2 09 1 1 10 0 2 11 1 1 12 1 1 13 0 2 14 1 0 15 0 1 16 0 1 17 1 0 18 13 18 19 3 3 20 1 0 21 0 0 22 0 1 23 1 1 May 29 00 3 7 01 29 34 02 2 3 03 3 4 04 3 1 05 4 5 06 1 1 07 3 4 08 0 1 09 1 1 10 4 5 11 0 3 12 1 1 13 1 1 14 1 1 15 0 1 16 0 0 17 0 1 18 1 0 19 2 2 20 0 1 21 0 0 22 0 0 23 0 0 May 30 00 1 0 01 0 0 02 0 5 03 2 13 04 1 7 05 0 1 06 0 0 07 1 2 08 1 3 09 2 4 10 1 3 11 1 2 12 0 0 13 0 0 14 0 2 15 1 2 16 2 1 17 1 2 18 0 1 19 1 1 20 0 2 21 0 0 22 0 0 23 1 1 May 31 00 0 1 01 0 0 02 0 0 03 0 0 04 0 0 05 0 0 06 1 1 07 0 0 08 2 3 09 0 0 10 1 5 11 1 1 12 0 1 13 0 2 14 1 1 15 0 0 16 0 1 17 1 1 18 0 0 19 0 1 20 0 0 21 1 1 22 0 0 23 0 1 - 216.39 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- AccessExclusiveLock Main Lock Type
- 2 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query 1 1 18s320ms 18s320ms 18s320ms 18s320ms select * from pgbulkload.pg_bulkload (?);-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub1.GENE_DISEASE_REFERENCE,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.log,parse-badfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/indirectAssociation/geneDiseaseRef.txt.DUPE}');
Date: 2025-05-28 22:08:53 Database: ctdprd51 User: load Application: pg_bulkload Bind query: yes
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=pub1.DAG_PATH,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.log,parse-badfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/pub/dag/dagPath.txt.DUPE}');
Date: 2025-05-28 22:39:46 Bind query: yes
-
SELECT * FROM pgbulkload.pg_bulkload ('{TABLE=edit.DB_LINK,TYPE=CSV,DELIMITER=|,"ESCAPE=\\",PARSE_ERRORS=0,DUPLICATE_ERRORS=0,OFFSET=1,VERBOSE=true,infile=stdin,logfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.log,parse-badfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.BAD,duplicate-badfile=/home/load/ctdLoadData/voc/gene/output/dbLink.txt.DUPE}');
Date: 2025-05-27 14:31:35 Bind query: yes
2 1 8s717ms 8s717ms 8s717ms 8s717ms lock table edit.db_link in access share mode;-
LOCK TABLE edit.db_link IN ACCESS SHARE MODE;
Date: 2025-05-27 14:00:10
-
LOCK TABLE edit.db_link IN ACCESS SHARE MODE;
Date: 2025-05-27 14:00:10
Queries that waited the most
Rank Wait time Query 1 18s320ms SELECT * FROM pgbulkload.pg_bulkload ($1);[ Date: 2025-05-27 14:01:12 ]
2 8s717ms LOCK TABLE edit.db_link IN ACCESS SHARE MODE;[ Date: 2025-05-27 14:00:10 ]
-
Queries
Queries by type
Key values
- 87,085 Total read queries
- 770 Total write queries
Queries by database
Key values
- unknown Main database
- 64,344 Requests
- 5d7h52m22s (unknown)
- Main time consuming database
Database Request type Count Duration ctdprd51 Total 23,549 2d13h57m49s copy to 48 35m39s cte 141 7m17s ddl 1 2s947ms insert 3 14m54s others 2 3s670ms select 23,353 2d12h59m48s tcl 1 1s874ms unknown Total 64,344 5d7h52m22s copy to 289 2h5m12s cte 198 9m59s ddl 52 41m32s insert 28 44m30s others 36 55m59s select 63,732 5d2h39m7s update 9 36m1s Queries by user
Key values
- unknown Main user
- 150,565 Requests
User Request type Count Duration edit Total 4 21s432ms insert 2 18s486ms select 2 2s945ms editeu Total 12 29s266ms select 12 29s266ms load Total 66 46m35s others 1 2s518ms select 65 46m32s postgres Total 106 1h19m43s copy to 106 1h19m43s pub1 Total 14 29m48s ddl 2 5s895ms insert 3 29m11s select 7 27s145ms tcl 2 3s748ms pub2 Total 2 2s925ms select 2 2s925ms pubc Total 2 2s303ms others 2 2s303ms pubeu Total 60,836 6d14h44m22s cte 366 18m22s select 60,470 6d14h25m59s qaeu Total 155 1h40m41s cte 19 1m7s select 136 1h39m34s unknown Total 150,565 12d19h25m31s copy to 775 7h23m10s cte 526 26m45s ddl 90 1h3m11s insert 40 1h23m38s others 65 1h50m58s select 149,060 12d6h41m45s update 9 36m1s Duration by user
Key values
- 12d19h25m31s (unknown) Main time consuming user
User Request type Count Duration edit Total 4 21s432ms insert 2 18s486ms select 2 2s945ms editeu Total 12 29s266ms select 12 29s266ms load Total 66 46m35s others 1 2s518ms select 65 46m32s postgres Total 106 1h19m43s copy to 106 1h19m43s pub1 Total 14 29m48s ddl 2 5s895ms insert 3 29m11s select 7 27s145ms tcl 2 3s748ms pub2 Total 2 2s925ms select 2 2s925ms pubc Total 2 2s303ms others 2 2s303ms pubeu Total 60,836 6d14h44m22s cte 366 18m22s select 60,470 6d14h25m59s qaeu Total 155 1h40m41s cte 19 1m7s select 136 1h39m34s unknown Total 150,565 12d19h25m31s copy to 775 7h23m10s cte 526 26m45s ddl 90 1h3m11s insert 40 1h23m38s others 65 1h50m58s select 149,060 12d6h41m45s update 9 36m1s Queries by host
Key values
- unknown Main host
- 211,762 Requests
- 19d14h27m38s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 87,809 Requests
- 7d20h59m2s (unknown)
- Main time consuming application
Application Request type Count Duration pgAdmin 4 - CONN:1292847 Total 2 10s716ms insert 1 9s243ms select 1 1s472ms pgAdmin 4 - CONN:4233619 Total 1 1s874ms tcl 1 1s874ms pg_bulkload Total 25 14m58s select 25 14m58s pg_dump Total 48 35m39s copy to 48 35m39s psql Total 8 18s939ms ddl 1 2s947ms others 1 1s151ms select 6 14s840ms unknown Total 87,809 7d20h59m2s copy to 289 2h5m12s cte 339 17m17s ddl 52 41m32s insert 30 59m15s others 37 56m1s select 87,053 7d15h23m42s update 9 36m1s Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2025-05-30 15:03:51 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 79,420 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 2h4m45s select pub1.maint_term_derive_data ();[ Date: 2025-05-29 07:45:20 - Bind query: yes ]
2 1h53m30s select pub1.maint_gene_chem_ref_gene_form_refresh ();[ Date: 2025-05-29 03:41:36 - Bind query: yes ]
3 1h5m58s 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-05-31 00:05:40 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
4 1h5m34s 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-05-31 00:20:12 - Bind query: yes ]
5 1h1m50s SELECT maint_term_derive_nm_fts ();[ Date: 2025-05-29 04:46:22 - Bind query: yes ]
6 1h23s 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-05-31 00:49:21 - Bind query: yes ]
7 55m35s 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-05-31 00:51:56 - Bind query: yes ]
8 54m4s 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-05-31 00:52:20 - Bind query: yes ]
9 49m34s 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-05-31 00:54:23 - Bind query: yes ]
10 47m57s VACUUM FULL ANALYZE;[ Date: 2025-05-29 05:40:12 - Bind query: yes ]
11 47m28s 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-05-31 00:54:02 - Bind query: yes ]
12 47m20s select distinct gga.go_term_id, gcr.chem_id, ptr.term_object_type_id, gga.gene_id, ( select id from pub1.OBJECT_TYPE where cd = 'gene'), ( select current_date) from pub1.GENE_CHEM_REFERENCE gcr, pub1.GENE_GO_ANNOT gga, pub1.PHENOTYPE_TERM_REFERENCE ptr where gcr.gene_id = gga.gene_id and gcr.chem_id = ptr.term_id and gga.go_term_id = ptr.phenotype_id and gcr.id not in ( select gene_chem_reference_id from pub1.GENE_CHEM_REFERENCE_AXN where action_degree_type_nm = 'does not affect');[ Date: 2025-05-28 21:56:44 - Bind query: yes ]
13 43m9s 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-05-30 18:07:55 - Bind query: yes ]
14 43m5s 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-05-30 18:09:05 - Bind query: yes ]
15 41m35s select distinct ptr.phenotype_id, gcr.gene_id, ( select id from pub1.OBJECT_TYPE where cd = 'gene'), ptr.term_id, ( select id from pub1.OBJECT_TYPE where cd = 'chem'), ( select current_date) from pub1.GENE_CHEM_REFERENCE gcr, pub1.PHENOTYPE_TERM_REFERENCE ptr, pub1.PHENOTYPE_TERM_REFERENCE ptr2 where gcr.chem_id = ptr.term_id and ptr.phenotype_id = ptr2.phenotype_id and gcr.gene_id = ptr2.term_id and gcr.id not in ( select gene_chem_reference_id from pub1.GENE_CHEM_REFERENCE_AXN where action_degree_type_nm = 'does not affect');[ Date: 2025-05-28 21:09:18 - Bind query: yes ]
16 38m32s 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-05-31 00:57:18 - Bind query: yes ]
17 38m17s 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-05-31 00:57:19 - Bind query: yes ]
18 37m58s 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 = '1248590') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-05-31 00:33:10 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
19 37m50s 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 = '1248590') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-05-31 00:34:58 - Bind query: yes ]
20 37m45s 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-05-30 20:24:52 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 2d17h23m6s 812 1s39ms 1h5m58s 4m49s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration May 25 00 4 10m28s 2m37s 01 3 37m12s 12m24s 02 2 13m43s 6m51s 03 1 1s812ms 1s812ms 04 3 6s82ms 2s27ms 05 3 4m45s 1m35s 06 5 3m47s 45s458ms 08 4 29m45s 7m26s 10 1 1s773ms 1s773ms 11 2 3m37s 1m48s May 26 02 1 2s183ms 2s183ms 03 2 7s110ms 3s555ms 04 1 7m10s 7m10s 08 1 4m29s 4m29s 10 1 3s284ms 3s284ms 11 3 4s954ms 1s651ms 14 1 1s635ms 1s635ms 16 2 5s336ms 2s668ms 17 2 5s458ms 2s729ms 18 2 1m21s 40s594ms May 27 00 1 1s803ms 1s803ms 02 1 1s618ms 1s618ms 03 3 9m19s 3m6s 04 4 41m1s 10m15s 05 1 2s509ms 2s509ms 06 2 1m59s 59s705ms 08 1 1s766ms 1s766ms 09 3 11m58s 3m59s 10 2 13m52s 6m56s 11 4 6m36s 1m39s 12 5 8m16s 1m39s 13 9 39m44s 4m24s 14 10 56m21s 5m38s 15 10 1h16m25s 7m38s 16 15 2h7m5s 8m28s 17 11 50m23s 4m34s 18 18 32m31s 1m48s 21 1 3s427ms 3s427ms 22 9 4m56s 32s925ms 23 14 57m7s 4m4s May 28 00 15 1h33m29s 6m13s 10 3 5s488ms 1s829ms 11 1 1s605ms 1s605ms 12 2 10m13s 5m6s 13 2 4s453ms 2s226ms 14 1 3s205ms 3s205ms 16 2 3s874ms 1s937ms 20 1 3m9s 3m9s 22 1 3s494ms 3s494ms 23 1 3m19s 3m19s May 29 01 1 4s777ms 4s777ms 02 2 5m47s 2m53s 03 1 7s863ms 7s863ms 04 2 10m9s 5m4s 06 1 4s444ms 4s444ms 07 1 1s704ms 1s704ms 10 1 2s83ms 2s83ms 11 6 15m57s 2m39s 12 9 11m1s 1m13s 13 15 1h41m56s 6m47s 14 15 1h18m6s 5m12s 15 10 1h23m47s 8m22s 16 12 15m41s 1m18s 17 17 1h16m38s 4m30s 18 3 5m8s 1m42s 19 7 45m58s 6m34s 20 17 1h28m54s 5m13s 21 13 37m1s 2m50s May 30 03 1 18m11s 18m11s 11 2 5s539ms 2s769ms 13 7 13m29s 1m55s 14 4 2m24s 36s50ms 15 33 2h6m13s 3m49s 16 45 1h53m57s 2m31s 17 51 3h36m2s 4m14s 18 29 3h52m9s 8m 19 60 1h3m52s 1m3s 20 84 8h6m3s 5m47s 21 3 1h2m25s 20m48s 22 6 52s299ms 8s716ms 23 83 5h39m39s 4m5s May 31 00 66 13h19m50s 12m7s 01 3 1h8m8s 22m42s 06 1 1s851ms 1s851ms 11 2 3s608ms 1s804ms 12 2 37m39s 18m49s [ User: pubeu - Total duration: 20h59m34s - Times executed: 314 ]
-
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-05-31 00:05:40 Duration: 1h5m58s 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 = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-05-31 00:20:12 Duration: 1h5m34s 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-05-31 00:49:21 Duration: 1h23s Bind query: yes
2 10h43m48s 17,250 1s131ms 16s182ms 2s239ms 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 May 25 00 187 4m12s 1s347ms 01 194 4m22s 1s355ms 02 204 4m38s 1s363ms 03 223 4m52s 1s310ms 04 161 3m31s 1s313ms 05 187 4m4s 1s308ms 06 205 4m17s 1s257ms 07 161 3m23s 1s262ms 08 176 3m50s 1s309ms 09 189 3m57s 1s255ms 10 188 3m55s 1s252ms 11 149 3m8s 1s264ms 14 1 1s363ms 1s363ms 19 2 2s644ms 1s322ms 21 1 1s157ms 1s157ms May 26 03 48 1m2s 1s292ms 04 81 1m46s 1s320ms 05 1 1s299ms 1s299ms 06 1 1s182ms 1s182ms 08 106 2m13s 1s261ms 09 176 3m40s 1s251ms 10 163 3m21s 1s236ms 11 161 3m21s 1s249ms 12 153 3m8s 1s229ms 13 164 3m22s 1s235ms 14 175 3m34s 1s227ms 15 182 3m45s 1s236ms 16 157 3m16s 1s252ms 17 169 3m31s 1s252ms 18 159 3m16s 1s238ms 19 166 3m26s 1s244ms 20 146 3m3s 1s253ms 21 179 3m46s 1s266ms 22 149 3m12s 1s289ms 23 120 2m31s 1s263ms May 27 00 183 3m52s 1s271ms 01 205 4m26s 1s299ms 02 165 3m37s 1s315ms 03 160 3m22s 1s263ms 04 176 3m51s 1s315ms 05 140 3m11s 1s370ms 06 139 2m54s 1s252ms 07 124 2m33s 1s239ms 08 175 3m37s 1s241ms 09 142 2m56s 1s245ms 10 157 3m14s 1s240ms 11 143 3m2s 1s278ms 12 127 2m50s 1s343ms 13 194 4m5s 1s267ms 14 168 4m 1s428ms 15 206 4m42s 1s372ms 16 194 4m52s 1s505ms 17 219 4m53s 1s339ms 18 185 4m7s 1s338ms 19 2 2s825ms 1s412ms 21 52 1m8s 1s319ms 22 115 2m33s 1s337ms 23 102 2m14s 1s319ms May 28 00 51 1m17s 1s513ms 05 1 1s344ms 1s344ms 07 13 16s613ms 1s277ms 08 8 9s963ms 1s245ms 09 2 2s513ms 1s256ms 10 3 3s695ms 1s231ms 11 5 6s152ms 1s230ms 12 5 6s304ms 1s260ms 13 1 1s222ms 1s222ms 15 1 1s241ms 1s241ms 16 5 6s148ms 1s229ms 17 2 2s440ms 1s220ms 18 3 3s599ms 1s199ms 19 4 4s696ms 1s174ms 20 3 3s616ms 1s205ms 21 2 2s448ms 1s224ms 22 29 36s331ms 1s252ms 23 164 3m22s 1s237ms May 29 00 162 3m31s 1s306ms 01 174 3m40s 1s264ms 02 166 3m44s 1s350ms 03 190 4m11s 1s323ms 04 70 1m28s 1s264ms 05 6 7s686ms 1s281ms 06 3 3s699ms 1s233ms 07 6 7s412ms 1s235ms 08 3 3s625ms 1s208ms 09 1 1s177ms 1s177ms 10 40 49s635ms 1s240ms 11 102 2m8s 1s258ms 12 77 1m43s 1s348ms 13 169 4m 1s425ms 14 144 3m14s 1s352ms 15 158 3m58s 1s512ms 16 105 2m15s 1s294ms 17 78 1m44s 1s344ms 18 37 51s939ms 1s403ms 19 67 1m37s 1s458ms 20 90 2m11s 1s463ms 21 137 2m58s 1s304ms May 30 02 11 13s866ms 1s260ms 03 117 2m30s 1s286ms 04 108 2m17s 1s272ms 05 2 2s667ms 1s333ms 07 60 1m16s 1s267ms 08 138 2m52s 1s246ms 09 104 2m9s 1s247ms 10 149 3m4s 1s241ms 11 150 3m6s 1s240ms 12 8 10s51ms 1s256ms 13 63 1m26s 1s369ms 14 46 1m5s 1s431ms 15 218 10m48s 2s973ms 16 313 11m56s 2s288ms 17 493 44m49s 5s455ms 18 132 11m57s 5s435ms 19 239 19m18s 4s847ms 20 413 49m13s 7s151ms 21 7 9s383ms 1s340ms 22 86 8m2s 5s609ms 23 633 1h40m18s 9s507ms May 31 00 501 1h19m17s 9s496ms 05 51 1m7s 1s324ms 06 149 3m13s 1s297ms 07 147 3m10s 1s297ms 08 145 3m8s 1s297ms 09 128 2m47s 1s312ms 10 132 2m51s 1s302ms 11 144 3m11s 1s331ms 12 148 3m26s 1s394ms 13 135 2m54s 1s294ms 14 148 3m13s 1s305ms 15 138 2m56s 1s280ms 16 128 2m43s 1s276ms 17 154 3m16s 1s272ms 18 151 3m13s 1s284ms 19 162 3m23s 1s253ms 20 117 2m29s 1s278ms 21 156 3m23s 1s303ms 22 144 3m8s 1s307ms 23 138 2m59s 1s301ms [ User: pubeu - Total duration: 3h9m3s - Times executed: 3935 ]
-
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 = '1648770' or receptorTerm.id = '1648770' 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-05-30 17:54:05 Duration: 16s182ms 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 = '1910860' or receptorTerm.id = '1910860' 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-05-30 22:57:18 Duration: 15s643ms 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 = '2051136' or receptorTerm.id = '2051136' 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-05-30 18:05:14 Duration: 15s208ms Bind query: yes
3 8h49m26s 20,945 1s290ms 9s888ms 1s516ms 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 #3
Day Hour Count Duration Avg duration May 25 00 12 17s826ms 1s485ms 01 11 16s508ms 1s500ms 02 9 13s672ms 1s519ms 03 12 17s33ms 1s419ms 04 11 15s716ms 1s428ms 05 11 15s638ms 1s421ms 06 7 11s391ms 1s627ms 07 12 17s254ms 1s437ms 08 9 12s923ms 1s435ms 09 9 12s617ms 1s401ms 10 13 18s325ms 1s409ms 11 9 13s133ms 1s459ms May 26 03 2 2s607ms 1s303ms 04 2 2s758ms 1s379ms 05 2 2s612ms 1s306ms 08 2 2s759ms 1s379ms 09 1 1s474ms 1s474ms 10 5 6s916ms 1s383ms 11 6 8s401ms 1s400ms 12 256 5m53s 1s382ms 13 320 7m28s 1s402ms 14 151 3m32s 1s405ms 15 393 9m9s 1s397ms 16 364 8m28s 1s398ms 17 278 6m25s 1s386ms 18 490 11m18s 1s384ms 19 470 10m50s 1s385ms 20 477 11m8s 1s401ms 21 487 11m35s 1s428ms 22 461 11m 1s432ms 23 519 12m14s 1s415ms May 27 00 457 10m47s 1s417ms 01 455 10m46s 1s420ms 02 502 11m53s 1s421ms 03 558 13m3s 1s403ms 04 606 14m18s 1s416ms 05 550 13m5s 1s427ms 06 565 13m18s 1s413ms 07 799 18m54s 1s419ms 08 670 15m47s 1s414ms 09 742 17m25s 1s409ms 10 595 14m1s 1s414ms 11 713 16m43s 1s407ms 12 422 10m14s 1s456ms 13 440 10m33s 1s439ms 14 250 6m18s 1s515ms 15 440 11m 1s500ms 16 396 9m35s 1s452ms 17 249 6m2s 1s455ms 18 275 6m46s 1s478ms 19 1 1s598ms 1s598ms 21 134 3m18s 1s480ms 22 446 11m1s 1s483ms 23 134 3m10s 1s419ms May 28 00 5 7s128ms 1s425ms 05 2 2s715ms 1s357ms 07 1 1s353ms 1s353ms 08 1 1s353ms 1s353ms 10 7 9s582ms 1s368ms 11 6 8s304ms 1s384ms 12 9 12s315ms 1s368ms 13 12 16s458ms 1s371ms 14 3 4s170ms 1s390ms 15 11 15s2ms 1s363ms 16 4 5s512ms 1s378ms 17 8 10s877ms 1s359ms 18 5 7s 1s400ms 19 6 8s499ms 1s416ms 20 6 8s561ms 1s426ms 21 7 9s719ms 1s388ms 22 7 10s261ms 1s465ms 23 5 7s319ms 1s463ms May 29 00 10 14s391ms 1s439ms 01 7 10s53ms 1s436ms 02 13 18s454ms 1s419ms 03 10 16s871ms 1s687ms 04 11 15s924ms 1s447ms 05 6 8s408ms 1s401ms 06 7 9s611ms 1s373ms 07 49 1m7s 1s379ms 08 460 10m36s 1s382ms 09 418 9m32s 1s368ms 10 397 9m7s 1s379ms 11 376 8m54s 1s421ms 12 190 4m42s 1s486ms 13 403 9m52s 1s469ms 14 328 7m57s 1s456ms 15 252 6m2s 1s438ms 16 255 6m4s 1s428ms 17 202 5m3s 1s501ms 18 137 3m25s 1s503ms 19 251 6m23s 1s527ms 20 253 6m7s 1s453ms 21 340 8m16s 1s461ms May 30 02 1 1s380ms 1s380ms 03 4 5s359ms 1s339ms 04 1 1s440ms 1s440ms 05 2 2s746ms 1s373ms 07 1 1s499ms 1s499ms 08 3 4s164ms 1s388ms 09 6 8s242ms 1s373ms 10 11 15s814ms 1s437ms 11 10 13s907ms 1s390ms 13 10 16s66ms 1s606ms 14 7 11s12ms 1s573ms 15 17 49s281ms 2s898ms 16 20 39s413ms 1s970ms 17 52 3m34s 4s130ms 18 13 51s250ms 3s942ms 19 29 1m48s 3s749ms 20 34 2m36s 4s597ms 22 95 7m7s 4s494ms 23 260 23m43s 5s474ms May 31 00 27 2m59s 6s645ms 05 5 7s427ms 1s485ms 06 2 3s28ms 1s514ms 07 5 7s594ms 1s518ms 08 1 1s398ms 1s398ms 09 4 5s771ms 1s442ms 10 6 8s896ms 1s482ms 11 13 21s127ms 1s625ms 12 49 1m12s 1s475ms 13 43 1m3s 1s465ms 14 50 1m12s 1s456ms 15 58 1m24s 1s452ms 16 58 1m23s 1s443ms 17 57 1m23s 1s457ms 18 45 1m6s 1s483ms 19 44 1m3s 1s436ms 20 47 1m8s 1s463ms 21 53 1m17s 1s459ms 22 54 1m19s 1s472ms 23 58 1m25s 1s465ms [ User: pubeu - Total duration: 1h23m45s - Times executed: 2912 ]
[ User: qaeu - Total duration: 1s398ms - Times executed: 1 ]
-
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-05-30 22:58:58 Duration: 9s888ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2025-05-30 22:57:12 Duration: 9s433ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2025-05-30 18:05:27 Duration: 9s349ms Bind query: yes
4 8h39m30s 462 1s 27m46s 1m7s 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 May 25 02 3 3m40s 1m13s 04 2 1m6s 33s428ms May 27 02 3 2m51s 57s100ms 14 1 2s762ms 2s762ms 15 2 1m15s 37s928ms 17 3 1m51s 37s27ms 18 2 1m20s 40s28ms 22 3 3m19s 1m6s 23 5 1m5s 13s26ms May 28 00 4 2m34s 38s564ms 09 1 2s69ms 2s69ms May 29 02 3 4m37s 1m32s 03 20 1h53m6s 5m39s 12 5 2m18s 27s769ms 13 1 1m2s 1m2s 15 2 4s602ms 2s301ms 19 1 1m 1m 20 1 1s970ms 1s970ms 21 1 2s605ms 2s605ms May 30 11 2 34s612ms 17s306ms 15 12 20m34s 1m42s 16 14 17m58s 1m17s 17 40 1h10s 1m30s 18 22 37m27s 1m42s 19 36 1m4s 1s797ms 20 51 52m54s 1m2s 22 12 5m57s 29s764ms 23 134 1h16m54s 34s433ms May 31 00 72 1h38m8s 1m21s 12 4 6m21s 1m35s [ User: pubeu - Total duration: 4h43m13s - Times executed: 173 ]
-
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 = '1449721')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-05-31 00:40:10 Duration: 27m46s 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 = '1449721')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-05-30 20:21:14 Duration: 19m 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 = '1301053')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-05-31 00:19:37 Duration: 17m7s Bind query: yes
5 7h27m56s 1,090 1s5ms 2m30s 24s657ms 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 #5
Day Hour Count Duration Avg duration May 25 00 7 1m10s 10s37ms 01 2 2s966ms 1s483ms 02 1 3s114ms 3s114ms 03 1 2s776ms 2s776ms 04 2 8s7ms 4s3ms 05 3 7s401ms 2s467ms 06 3 28s391ms 9s463ms 08 2 4s780ms 2s390ms 09 3 59s763ms 19s921ms 10 1 4s114ms 4s114ms 11 4 32s56ms 8s14ms May 26 08 3 5s528ms 1s842ms 09 1 3s186ms 3s186ms 10 3 27s900ms 9s300ms 11 1 3s496ms 3s496ms 13 1 2s970ms 2s970ms 14 1 23s135ms 23s135ms 15 2 23s41ms 11s520ms 16 1 1s513ms 1s513ms 17 1 8s381ms 8s381ms 19 1 3s976ms 3s976ms 20 2 20s71ms 10s35ms 23 4 7s581ms 1s895ms May 27 00 1 3s90ms 3s90ms 01 1 8s566ms 8s566ms 02 1 3s524ms 3s524ms 03 2 24s568ms 12s284ms 04 2 23s371ms 11s685ms 05 2 2s859ms 1s429ms 06 3 59s94ms 19s698ms 07 1 1s927ms 1s927ms 08 2 42s119ms 21s59ms 09 1 2s682ms 2s682ms 12 17 4m4s 14s385ms 13 8 1m32s 11s598ms 14 6 42s838ms 7s139ms 15 16 3m4s 11s553ms 16 20 4m45s 14s287ms 17 19 4m44s 14s957ms 18 16 3m2s 11s419ms 21 4 45s637ms 11s409ms 22 15 2m54s 11s605ms 23 24 4m4s 10s203ms May 28 00 9 1m9s 7s764ms 07 1 22s311ms 22s311ms 14 2 2s645ms 1s322ms 15 2 3s102ms 1s551ms 17 1 21s808ms 21s808ms 18 3 8s566ms 2s855ms 19 1 2s73ms 2s73ms 20 1 1s102ms 1s102ms 21 1 1s394ms 1s394ms 22 1 12s290ms 12s290ms 23 2 3s806ms 1s903ms May 29 00 1 3s357ms 3s357ms 01 3 7s409ms 2s469ms 03 3 32s610ms 10s870ms 04 1 7s861ms 7s861ms 07 2 2s811ms 1s405ms 09 2 49s145ms 24s572ms 11 2 6s309ms 3s154ms 12 8 19s815ms 2s476ms 13 13 1m23s 6s448ms 14 6 48s668ms 8s111ms 15 19 4m22s 13s825ms 16 16 2m54s 10s887ms 17 16 2m29s 9s322ms 18 9 1m37s 10s814ms 19 6 40s251ms 6s708ms 20 11 2m10s 11s828ms 21 10 1m49s 10s943ms May 30 03 1 3s409ms 3s409ms 08 1 1s804ms 1s804ms 11 1 3s816ms 3s816ms 12 1 18s594ms 18s594ms 13 13 3m12s 14s782ms 14 8 56s682ms 7s85ms 15 48 16m 20s16ms 16 61 15m30s 15s248ms 17 116 52m16s 27s35ms 18 26 13m8s 30s317ms 19 57 16m22s 17s234ms 20 111 1h11m18s 38s545ms 22 28 7m55s 16s994ms 23 154 1h50m56s 43s226ms May 31 00 97 1h17m42s 48s65ms 12 3 44s451ms 14s817ms 16 1 1s457ms 1s457ms [ User: pubeu - Total duration: 3h2m41s - Times executed: 469 ]
-
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-05-30 23:29:47 Duration: 2m30s 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 = '1258019') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-05-30 23:44:01 Duration: 2m13s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1258019') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-05-30 23:41:28 Duration: 2m9s Bind query: yes
6 7h9m2s 2,301 1s1ms 1m35s 11s187ms 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 #6
Day Hour Count Duration Avg duration May 25 00 8 24s338ms 3s42ms 01 7 24s698ms 3s528ms 02 6 12s772ms 2s128ms 03 7 28s834ms 4s119ms 04 7 25s483ms 3s640ms 05 10 48s944ms 4s894ms 06 9 48s480ms 5s386ms 07 7 18s627ms 2s661ms 08 10 36s973ms 3s697ms 09 6 18s947ms 3s157ms 10 9 35s317ms 3s924ms 11 9 28s629ms 3s181ms May 26 03 2 6s547ms 3s273ms 04 4 9s660ms 2s415ms 09 4 6s107ms 1s526ms 10 4 17s434ms 4s358ms 11 3 10s479ms 3s493ms 12 1 1s722ms 1s722ms 13 4 19s743ms 4s935ms 14 1 2s520ms 2s520ms 15 2 10s958ms 5s479ms 17 3 11s370ms 3s790ms 18 5 19s919ms 3s983ms 19 4 7s684ms 1s921ms 20 10 21s31ms 2s103ms 22 6 16s41ms 2s673ms 23 3 5s616ms 1s872ms May 27 01 3 4s891ms 1s630ms 02 4 7s19ms 1s754ms 03 3 18s163ms 6s54ms 04 4 15s269ms 3s817ms 05 1 5s346ms 5s346ms 06 2 7s198ms 3s599ms 07 5 9s292ms 1s858ms 08 3 12s922ms 4s307ms 09 3 5s3ms 1s667ms 10 1 2s456ms 2s456ms 11 5 14s431ms 2s886ms 12 15 51s731ms 3s448ms 13 25 53s472ms 2s138ms 14 18 1m27s 4s876ms 15 46 3m11s 4s161ms 16 28 2m30s 5s373ms 17 25 1m4s 2s570ms 18 27 1m26s 3s203ms 21 8 33s718ms 4s214ms 22 35 2m5s 3s572ms 23 29 1m34s 3s260ms May 28 00 20 1m13s 3s687ms 07 2 3s454ms 1s727ms 09 4 11s893ms 2s973ms 11 1 1s384ms 1s384ms 15 1 1s216ms 1s216ms 17 1 3s72ms 3s72ms 18 2 13s68ms 6s534ms 20 1 1s240ms 1s240ms May 29 01 1 1s24ms 1s24ms 02 3 16s464ms 5s488ms 04 2 5s907ms 2s953ms 05 1 2s236ms 2s236ms 07 1 1s987ms 1s987ms 08 1 4s437ms 4s437ms 10 2 6s954ms 3s477ms 11 4 13s241ms 3s310ms 12 25 1m43s 4s129ms 13 27 2m2s 4s545ms 14 29 2m12s 4s573ms 15 36 2m34s 4s297ms 16 29 1m59s 4s135ms 17 42 2m52s 4s102ms 18 12 42s316ms 3s526ms 19 20 1m5s 3s293ms 20 34 2m50s 5s22ms 21 38 2m29s 3s946ms May 30 04 2 10s760ms 5s380ms 09 2 12s485ms 6s242ms 10 2 4s836ms 2s418ms 11 11 35s561ms 3s232ms 12 1 6s447ms 6s447ms 13 19 57s2ms 3s 14 23 2m1s 5s288ms 15 99 12m23s 7s514ms 16 116 14m30s 7s506ms 17 218 48m55s 13s466ms 18 58 17m46s 18s380ms 19 131 22m40s 10s383ms 20 238 1h25s 15s233ms 21 1 2s274ms 2s274ms 22 40 8m34s 12s863ms 23 288 1h40m45s 20s991ms May 31 00 243 1h26m58s 21s474ms 06 4 46s230ms 11s557ms 11 5 16s287ms 3s257ms 12 17 1m11s 4s226ms 13 1 7s72ms 7s72ms 16 1 1s318ms 1s318ms 17 1 12s104ms 12s104ms [ User: pubeu - Total duration: 3h2m2s - Times executed: 938 ]
-
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-05-31 00:18:34 Duration: 1m35s 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-05-31 00:32:27 Duration: 1m34s 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-05-31 00:31:33 Duration: 1m33s Bind query: yes
7 7h2m59s 936 1s13ms 4m31s 27s115ms 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 #7
Day Hour Count Duration Avg duration May 25 00 9 2m34s 17s207ms 01 6 1m57s 19s570ms 02 24 7m48s 19s519ms 03 13 4m57s 22s919ms 04 19 5m38s 17s815ms 05 11 3m29s 19s70ms 06 15 4m15s 17s12ms 07 22 6m9s 16s815ms 08 13 3m4s 14s200ms 09 1 7s96ms 7s96ms 10 17 4m49s 17s40ms 11 4 51s482ms 12s870ms May 26 03 4 57s737ms 14s434ms 08 9 2m29s 16s590ms 09 7 1m40s 14s331ms 10 9 2m36s 17s349ms 11 3 54s448ms 18s149ms 12 4 49s624ms 12s406ms 13 12 3m27s 17s276ms 14 16 5m37s 21s115ms 15 12 3m39s 18s295ms 16 6 1m29s 14s875ms 17 10 1m54s 11s447ms 18 7 1m46s 15s268ms 19 11 3m28s 18s999ms 20 9 2m36s 17s417ms 21 18 4m49s 16s68ms 22 18 8m4s 26s904ms 23 4 50s667ms 12s666ms May 27 00 6 1m38s 16s440ms 01 7 5m2s 43s164ms 02 8 2m13s 16s672ms 03 2 21s236ms 10s618ms 04 9 2m29s 16s642ms 05 18 7m16s 24s269ms 06 11 3m14s 17s652ms 08 8 2m11s 16s411ms 09 13 4m32s 20s929ms 10 9 3m 20s8ms 11 3 14s802ms 4s934ms 12 13 3m23s 15s621ms 14 14 5m44s 24s593ms 15 12 3m8s 15s735ms 16 12 9m8s 45s727ms 17 12 3m50s 19s239ms 18 12 3m14s 16s226ms 22 12 4m51s 24s285ms 23 6 1m40s 16s682ms May 28 22 3 59s713ms 19s904ms 23 8 1m51s 13s935ms May 29 00 15 6m47s 27s139ms 01 16 4m22s 16s418ms 02 10 1m46s 10s694ms 03 3 55s814ms 18s604ms 11 9 2m40s 17s816ms 12 2 43s777ms 21s888ms 13 8 3m6s 23s252ms 14 5 1m55s 23s74ms 15 11 4m33s 24s826ms 17 10 5m9s 30s917ms 18 4 1m51s 27s982ms 19 7 1m47s 15s425ms 20 3 2m23s 47s958ms 21 2 47s886ms 23s943ms May 30 03 21 8m45s 25s46ms 04 8 2m16s 17s83ms 08 9 2m27s 16s414ms 09 6 1m34s 15s682ms 10 4 1m3s 15s938ms 11 10 2m26s 14s605ms 15 1 1s907ms 1s907ms 16 5 4m2s 48s504ms 17 27 38m27s 1m25s 18 4 10m29s 2m37s 19 5 2m35s 31s131ms 20 10 30m46s 3m4s 22 6 5m44s 57s362ms 23 15 35m40s 2m22s May 31 00 11 22m40s 2m3s 05 3 53s370ms 17s790ms 06 6 1m35s 15s839ms 07 10 2m25s 14s503ms 08 14 4m 17s201ms 09 8 2m12s 16s599ms 10 12 5m10s 25s868ms 11 17 6m22s 22s491ms 12 6 2m18s 23s139ms 13 12 2m57s 14s808ms 14 6 2m54s 29s98ms 15 9 2m5s 13s966ms 16 9 2m 13s411ms 17 15 4m25s 17s718ms 18 4 50s497ms 12s624ms 19 7 1m36s 13s758ms 20 5 1m22s 16s467ms 21 16 4m4s 15s300ms 22 11 2m56s 16s68ms 23 8 1m45s 13s183ms [ User: pubeu - Total duration: 2h13m40s - Times executed: 258 ]
-
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 = '2104248') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-05-30 20:03:03 Duration: 4m31s 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 = '2103081') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-05-30 20:04:01 Duration: 4m15s 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 = '2103081') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-05-30 20:04:33 Duration: 4m12s Bind query: yes
8 6h4m21s 3,150 1s 49s841ms 6s940ms 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 May 25 00 7 23s256ms 3s322ms 01 7 19s177ms 2s739ms 02 11 28s289ms 2s571ms 03 7 18s619ms 2s659ms 04 6 19s1ms 3s166ms 05 11 26s684ms 2s425ms 06 9 25s280ms 2s808ms 07 17 46s676ms 2s745ms 08 14 42s620ms 3s44ms 09 20 49s29ms 2s451ms 10 10 31s549ms 3s154ms 11 4 8s434ms 2s108ms May 26 03 2 5s450ms 2s725ms 04 1 1s 1s 08 2 6s394ms 3s197ms 09 3 11s416ms 3s805ms 10 4 13s591ms 3s397ms 11 2 4s282ms 2s141ms 12 5 11s551ms 2s310ms 13 5 15s737ms 3s147ms 14 3 10s713ms 3s571ms 15 4 12s292ms 3s73ms 16 2 5s492ms 2s746ms 17 4 13s264ms 3s316ms 18 3 10s547ms 3s515ms 19 2 5s215ms 2s607ms 20 7 21s978ms 3s139ms 21 6 14s41ms 2s340ms 22 6 11s725ms 1s954ms 23 3 10s378ms 3s459ms May 27 00 1 1s174ms 1s174ms 01 1 4s449ms 4s449ms 02 6 16s952ms 2s825ms 03 6 19s450ms 3s241ms 04 12 34s426ms 2s868ms 05 7 17s63ms 2s437ms 06 6 15s553ms 2s592ms 07 6 23s163ms 3s860ms 08 1 3s124ms 3s124ms 09 10 30s540ms 3s54ms 10 4 12s69ms 3s17ms 11 3 8s205ms 2s735ms 12 24 56s420ms 2s350ms 13 30 1m10s 2s333ms 14 21 57s854ms 2s754ms 15 23 1m12s 3s131ms 16 21 51s484ms 2s451ms 17 35 1m16s 2s189ms 18 33 1m35s 2s908ms 21 16 41s840ms 2s615ms 22 34 1m30s 2s671ms 23 38 1m38s 2s585ms May 28 00 25 52s987ms 2s119ms 07 2 5s98ms 2s549ms 08 2 6s143ms 3s71ms 10 1 2s184ms 2s184ms 11 4 10s411ms 2s602ms 12 1 4s53ms 4s53ms 13 1 4s154ms 4s154ms 14 5 12s638ms 2s527ms 15 7 19s980ms 2s854ms 16 4 8s989ms 2s247ms 17 1 3s86ms 3s86ms 18 2 5s172ms 2s586ms 19 1 3s182ms 3s182ms 20 1 3s149ms 3s149ms 21 5 18s118ms 3s623ms 22 12 34s525ms 2s877ms 23 12 39s96ms 3s258ms May 29 00 12 45s229ms 3s769ms 02 2 7s515ms 3s757ms 04 1 3s236ms 3s236ms 05 2 9s403ms 4s701ms 06 1 4s296ms 4s296ms 07 1 4s362ms 4s362ms 08 5 18s112ms 3s622ms 09 3 8s963ms 2s987ms 11 4 12s629ms 3s157ms 12 27 1m19s 2s953ms 13 52 2m28s 2s858ms 14 36 1m17s 2s143ms 15 41 1m54s 2s786ms 16 33 1m20s 2s452ms 17 37 1m39s 2s683ms 18 14 40s365ms 2s883ms 19 48 2m10s 2s712ms 20 30 1m14s 2s474ms 21 52 2m21s 2s714ms May 30 04 6 18s926ms 3s154ms 08 5 12s808ms 2s561ms 09 2 4s382ms 2s191ms 11 8 19s559ms 2s444ms 13 23 1m 2s649ms 14 23 50s 2s173ms 15 133 11m8s 5s23ms 16 171 10m32s 3s697ms 17 324 44m42s 8s278ms 18 98 14m39s 8s973ms 19 168 17m21s 6s198ms 20 310 53m39s 10s385ms 22 73 7m23s 6s78ms 23 427 1h32m54s 13s54ms May 31 00 323 1h1m26s 11s412ms 05 1 4s325ms 4s325ms 06 1 1s2ms 1s2ms 11 28 1m13s 2s608ms 12 12 30s420ms 2s535ms 20 1 1s6ms 1s6ms 21 1 4s450ms 4s450ms [ User: pubeu - Total duration: 2h26m9s - Times executed: 1299 ]
-
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-05-30 17:53:50 Duration: 49s841ms 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-05-30 20:00:10 Duration: 47s405ms 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-05-30 19:59:40 Duration: 46s866ms Bind query: yes
9 5h2m43s 3,013 1s 19s984ms 6s28ms select count(*) from gene_disease gd where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?);Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration May 25 01 8 12s752ms 1s594ms 02 3 4s709ms 1s569ms 03 3 4s748ms 1s582ms 04 1 2s621ms 2s621ms 08 9 18s33ms 2s3ms May 26 04 2 3s833ms 1s916ms 08 4 8s877ms 2s219ms 14 2 6s661ms 3s330ms 19 2 2s653ms 1s326ms 20 1 1s199ms 1s199ms 21 1 1s381ms 1s381ms 23 1 1s82ms 1s82ms May 27 00 1 1s513ms 1s513ms 04 8 14s938ms 1s867ms 05 1 2s420ms 2s420ms 09 2 2s249ms 1s124ms 11 3 6s430ms 2s143ms 12 4 7s427ms 1s856ms 13 1 1s230ms 1s230ms 14 22 44s634ms 2s28ms 15 16 32s216ms 2s13ms 16 25 52s244ms 2s89ms 17 4 7s128ms 1s782ms 18 9 16s583ms 1s842ms 22 1 1s150ms 1s150ms 23 3 6s915ms 2s305ms May 28 00 11 25s529ms 2s320ms 23 1 1s42ms 1s42ms May 29 02 5 20s808ms 4s161ms 03 3 3s96ms 1s32ms 11 1 1s142ms 1s142ms 12 2 2s737ms 1s368ms 13 25 55s573ms 2s222ms 14 16 35s18ms 2s188ms 15 42 1m26s 2s64ms 17 11 20s367ms 1s851ms 18 1 1s60ms 1s60ms 19 5 10s420ms 2s84ms 20 37 1m22s 2s230ms 21 10 20s583ms 2s58ms May 30 03 2 7s867ms 3s933ms 13 6 11s905ms 1s984ms 14 2 2s494ms 1s247ms 15 131 9m21s 4s284ms 16 154 7m1s 2s737ms 17 433 37m9s 5s149ms 18 104 8m59s 5s183ms 19 267 21m39s 4s865ms 20 460 50m9s 6s542ms 22 67 4m54s 4s398ms 23 604 1h27m38s 8s706ms May 31 00 467 1h4m35s 8s298ms 08 1 1s63ms 1s63ms 12 8 18s606ms 2s325ms [ User: pubeu - Total duration: 55m32s - Times executed: 701 ]
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2101682');
Date: 2025-05-30 20:04:09 Duration: 19s984ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2097605');
Date: 2025-05-30 18:04:46 Duration: 18s623ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2098681');
Date: 2025-05-30 17:54:14 Duration: 17s520ms Bind query: yes
10 5h1m19s 3,106 1s 39s14ms 5s820ms 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 May 25 00 3 6s38ms 2s12ms 01 21 41s658ms 1s983ms 02 13 21s678ms 1s667ms 03 19 31s183ms 1s641ms 04 13 15s215ms 1s170ms 05 7 13s701ms 1s957ms 06 4 5s525ms 1s381ms 07 4 5s121ms 1s280ms 08 13 27s900ms 2s146ms 09 2 2s450ms 1s225ms 10 6 6s730ms 1s121ms 11 2 2s21ms 1s10ms May 26 03 4 5s480ms 1s370ms 04 2 3s956ms 1s978ms 08 1 1s3ms 1s3ms 09 4 4s42ms 1s10ms 10 2 3s437ms 1s718ms 11 4 7s175ms 1s793ms 12 1 1s9ms 1s9ms 13 6 10s649ms 1s774ms 14 5 18s190ms 3s638ms 15 6 8s753ms 1s458ms 16 6 6s903ms 1s150ms 17 5 6s892ms 1s378ms 18 4 5s976ms 1s494ms 19 3 3s235ms 1s78ms 20 3 4s432ms 1s477ms 21 7 13s916ms 1s988ms 22 8 29s312ms 3s664ms 23 11 12s756ms 1s159ms May 27 00 10 11s187ms 1s118ms 01 7 11s491ms 1s641ms 02 14 25s390ms 1s813ms 03 2 2s33ms 1s16ms 04 26 53s145ms 2s44ms 05 15 36s814ms 2s454ms 06 1 3s923ms 3s923ms 08 3 4s849ms 1s616ms 09 9 14s404ms 1s600ms 10 3 4s753ms 1s584ms 11 7 15s564ms 2s223ms 12 3 4s844ms 1s614ms 13 7 11s269ms 1s609ms 14 51 1m35s 1s874ms 15 7 13s475ms 1s925ms 16 47 1m55s 2s459ms 17 6 13s767ms 2s294ms 18 30 1m6s 2s205ms 22 12 28s329ms 2s360ms 23 9 33s869ms 3s763ms May 28 00 12 27s913ms 2s326ms 08 1 1s677ms 1s677ms 09 1 3s848ms 3s848ms 10 1 3s449ms 3s449ms 11 1 5s823ms 5s823ms 15 1 2s783ms 2s783ms 17 1 1s83ms 1s83ms 22 1 1s49ms 1s49ms 23 8 9s155ms 1s144ms May 29 00 12 15s221ms 1s268ms 01 15 16s688ms 1s112ms 02 14 1m2s 4s483ms 03 31 37s55ms 1s195ms 04 1 1s43ms 1s43ms 06 2 6s892ms 3s446ms 07 1 2s866ms 2s866ms 08 1 2s180ms 2s180ms 11 2 2s214ms 1s107ms 12 2 3s55ms 1s527ms 13 34 1m21s 2s392ms 14 26 52s641ms 2s24ms 15 44 1m34s 2s159ms 16 2 4s697ms 2s348ms 17 9 19s258ms 2s139ms 18 3 10s107ms 3s369ms 19 17 45s136ms 2s655ms 20 23 1m 2s615ms 21 7 11s447ms 1s635ms May 30 03 12 12s835ms 1s69ms 04 11 11s140ms 1s12ms 08 5 5s231ms 1s46ms 09 5 5s474ms 1s94ms 10 2 2s209ms 1s104ms 11 1 2s521ms 2s521ms 13 6 21s495ms 3s582ms 14 4 9s502ms 2s375ms 15 51 3m52s 4s564ms 16 132 6m45s 3s68ms 17 353 38m23s 6s524ms 18 75 9m3s 7s252ms 19 225 20m16s 5s408ms 20 334 43m27s 7s807ms 21 1 2s626ms 2s626ms 22 66 6m5s 5s541ms 23 502 1h23m3s 9s928ms May 31 00 366 59m56s 9s825ms 06 10 10s323ms 1s32ms 07 15 15s320ms 1s21ms 08 14 14s357ms 1s25ms 09 35 36s520ms 1s43ms 10 18 18s626ms 1s34ms 11 19 30s855ms 1s623ms 12 17 34s959ms 2s56ms 13 4 4s135ms 1s33ms 14 14 24s80ms 1s720ms 15 7 7s335ms 1s47ms 16 5 5s81ms 1s16ms 17 7 7s160ms 1s22ms 18 11 11s180ms 1s16ms 19 1 1s343ms 1s343ms 20 12 12s705ms 1s58ms 21 10 11s642ms 1s164ms 22 6 6s165ms 1s27ms 23 19 19s504ms 1s26ms [ User: pubeu - Total duration: 1h55m55s - Times executed: 1203 ]
-
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 = '660706' 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 = '660706') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-05-30 18:05:31 Duration: 39s14ms 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 = '660706' 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 = '660706') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-05-30 18:05:09 Duration: 38s183ms 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 = '660706' 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 = '660706') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-05-30 18:05:06 Duration: 37s979ms Database: ctdprd51 User: pubeu Bind query: yes
11 4h45m51s 2,686 1s 41s311ms 6s385ms 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 #11
Day Hour Count Duration Avg duration May 25 00 7 22s936ms 3s276ms 01 8 30s25ms 3s753ms 02 10 24s277ms 2s427ms 03 9 43s890ms 4s876ms 04 7 28s852ms 4s121ms 05 6 26s587ms 4s431ms 06 4 9s45ms 2s261ms 07 16 53s367ms 3s335ms 08 18 52s36ms 2s890ms 09 17 1m2s 3s655ms 10 1 6s532ms 6s532ms 11 6 11s732ms 1s955ms May 26 04 1 3s95ms 3s95ms 08 1 2s177ms 2s177ms 09 4 17s745ms 4s436ms 10 3 6s911ms 2s303ms 11 1 3s461ms 3s461ms 12 8 26s902ms 3s362ms 13 7 23s118ms 3s302ms 14 2 6s500ms 3s250ms 15 1 3s464ms 3s464ms 16 6 11s775ms 1s962ms 17 3 5s787ms 1s929ms 18 6 24s777ms 4s129ms 19 4 16s667ms 4s166ms 20 7 22s75ms 3s153ms 21 4 23s509ms 5s877ms 22 3 9s282ms 3s94ms May 27 00 4 14s461ms 3s615ms 01 2 5s579ms 2s789ms 02 7 19s925ms 2s846ms 03 10 31s180ms 3s118ms 04 12 43s670ms 3s639ms 05 11 35s21ms 3s183ms 06 8 23s30ms 2s878ms 07 9 23s414ms 2s601ms 08 9 26s304ms 2s922ms 09 2 6s3ms 3s1ms 10 4 17s418ms 4s354ms 11 4 9s239ms 2s309ms 12 11 38s347ms 3s486ms 13 26 1m26s 3s315ms 14 29 1m27s 3s7ms 15 36 1m46s 2s944ms 16 32 1m37s 3s46ms 17 34 1m46s 3s137ms 18 33 2m 3s659ms 21 15 50s806ms 3s387ms 22 23 1m10s 3s44ms 23 42 2m42s 3s861ms May 28 00 21 1m13s 3s507ms 08 3 9s473ms 3s157ms 09 1 2s979ms 2s979ms 10 2 9s544ms 4s772ms 11 2 9s578ms 4s789ms 12 5 19s332ms 3s866ms 13 3 11s249ms 3s749ms 14 5 16s401ms 3s280ms 15 13 42s751ms 3s288ms 16 3 4s867ms 1s622ms 17 1 2s990ms 2s990ms 18 2 4s100ms 2s50ms 19 2 8s124ms 4s62ms 20 2 9s431ms 4s715ms 21 3 11s110ms 3s703ms 22 15 39s638ms 2s642ms 23 15 1m 4s12ms May 29 00 20 1m5s 3s278ms 01 3 9s611ms 3s203ms 02 4 11s283ms 2s820ms 03 5 18s602ms 3s720ms 04 4 15s926ms 3s981ms 05 2 9s88ms 4s544ms 07 2 2s406ms 1s203ms 08 7 29s161ms 4s165ms 10 6 16s85ms 2s680ms 11 5 19s970ms 3s994ms 12 30 1m56s 3s867ms 13 26 1m37s 3s731ms 14 38 1m40s 2s645ms 15 33 1m52s 3s398ms 16 38 1m56s 3s73ms 17 41 2m28s 3s616ms 18 14 42s301ms 3s21ms 19 23 1m31s 3s975ms 20 34 1m51s 3s292ms 21 33 1m40s 3s42ms May 30 04 10 39s752ms 3s975ms 08 4 13s43ms 3s260ms 09 2 13s743ms 6s871ms 10 1 3s42ms 3s42ms 11 8 29s971ms 3s746ms 12 2 4s116ms 2s58ms 13 24 1m22s 3s425ms 14 21 1m25s 4s59ms 15 107 10m10s 5s710ms 16 136 9m7s 4s28ms 17 248 38m25s 9s296ms 18 65 9m9s 8s449ms 19 150 16m30s 6s603ms 20 258 34m18s 7s978ms 21 1 4s19ms 4s19ms 22 60 7m10s 7s172ms 23 320 55m57s 10s491ms May 31 00 227 42m34s 11s253ms 06 1 6s849ms 6s849ms 10 1 6s536ms 6s536ms 11 29 1m28s 3s68ms 12 12 39s530ms 3s294ms [ User: pubeu - Total duration: 1h49m39s - Times executed: 1031 ]
-
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-05-30 17:57:28 Duration: 41s311ms 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-05-30 20:04:07 Duration: 39s536ms 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-05-30 23:25:13 Duration: 38s631ms Bind query: yes
12 4h14m3s 1,267 1s 41s567ms 12s31ms 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 #12
Day Hour Count Duration Avg duration May 25 00 2 15s422ms 7s711ms 01 2 12s937ms 6s468ms 02 6 30s845ms 5s140ms 03 4 21s448ms 5s362ms 04 2 6s832ms 3s416ms 05 9 23s901ms 2s655ms 06 3 17s800ms 5s933ms 07 15 1m4s 4s306ms 08 10 40s220ms 4s22ms 09 5 19s558ms 3s911ms 10 2 6s775ms 3s387ms 11 3 17s137ms 5s712ms May 26 04 1 1s383ms 1s383ms 05 2 2s25ms 1s12ms 07 3 3s122ms 1s40ms 08 4 9s433ms 2s358ms 09 1 1s73ms 1s73ms 11 4 12s932ms 3s233ms 12 9 41s231ms 4s581ms 13 6 15s948ms 2s658ms 14 1 5s239ms 5s239ms 15 2 6s991ms 3s495ms 17 1 5s587ms 5s587ms 18 2 10s694ms 5s347ms 19 1 1s36ms 1s36ms 20 7 26s657ms 3s808ms 21 1 1s55ms 1s55ms 22 2 10s819ms 5s409ms 23 1 5s635ms 5s635ms May 27 00 1 5s814ms 5s814ms 02 5 19s635ms 3s927ms 03 12 56s664ms 4s722ms 04 8 30s784ms 3s848ms 05 11 20s924ms 1s902ms 06 4 17s742ms 4s435ms 07 3 16s796ms 5s598ms 08 4 17s94ms 4s273ms 09 4 22s674ms 5s668ms 10 4 8s929ms 2s232ms 11 8 35s294ms 4s411ms 12 11 44s628ms 4s57ms 13 15 1m8s 4s538ms 14 8 27s675ms 3s459ms 15 6 28s47ms 4s674ms 16 15 1m10s 4s719ms 17 14 52s155ms 3s725ms 18 13 49s509ms 3s808ms 21 6 17s850ms 2s975ms 22 10 42s801ms 4s280ms 23 15 1m17s 5s186ms May 28 00 11 48s350ms 4s395ms 07 3 3s270ms 1s90ms 08 2 2s35ms 1s17ms 09 1 5s319ms 5s319ms 10 1 4s972ms 4s972ms 11 1 4s941ms 4s941ms 14 3 7s94ms 2s364ms 15 8 24s119ms 3s14ms 18 1 1s49ms 1s49ms 21 2 2s83ms 1s41ms 22 11 41s51ms 3s731ms 23 15 54s57ms 3s603ms May 29 00 12 44s697ms 3s724ms 01 4 18s618ms 4s654ms 02 4 12s934ms 3s233ms 03 3 7s725ms 2s575ms 05 8 25s133ms 3s141ms 08 1 1s41ms 1s41ms 10 3 3s474ms 1s158ms 11 6 16s901ms 2s816ms 12 14 1m4s 4s617ms 13 15 1m33s 6s215ms 14 10 57s94ms 5s709ms 15 8 37s92ms 4s636ms 16 12 1m2s 5s178ms 17 4 20s69ms 5s17ms 18 7 29s4ms 4s143ms 19 13 46s826ms 3s602ms 20 15 1m4s 4s302ms 21 17 1m15s 4s462ms May 30 04 8 27s804ms 3s475ms 05 3 3s107ms 1s35ms 07 3 3s347ms 1s115ms 08 6 19s758ms 3s293ms 09 1 5s890ms 5s890ms 10 2 11s679ms 5s839ms 11 8 25s130ms 3s141ms 13 12 1m14s 6s215ms 14 14 46s990ms 3s356ms 15 49 8m53s 10s889ms 16 58 7m25s 7s689ms 17 87 22m15s 15s350ms 18 30 10m23s 20s770ms 19 55 11m20s 12s368ms 20 91 27m22s 18s53ms 22 19 3m41s 11s683ms 23 147 1h1m27s 25s87ms May 31 00 130 1h42s 28s19ms 05 6 6s574ms 1s95ms 07 1 5s927ms 5s927ms 09 2 11s646ms 5s823ms 11 15 1m12s 4s850ms 12 8 41s68ms 5s133ms 13 2 6s312ms 3s156ms 14 1 6s609ms 6s609ms 16 1 1s68ms 1s68ms 19 1 1s60ms 1s60ms 20 3 7s952ms 2s650ms 21 1 1s23ms 1s23ms [ User: pubeu - Total duration: 1h45m39s - Times executed: 470 ]
[ User: qaeu - Total duration: 7s672ms - Times executed: 7 ]
-
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 = '1400897' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-05-30 18:05:24 Duration: 41s567ms 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 = '1378971' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-05-30 18:05:28 Duration: 38s359ms 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 = '1414204' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-05-31 00:25:34 Duration: 35s962ms Database: ctdprd51 User: pubeu Bind query: yes
13 3h27m35s 760 1s16ms 1m34s 16s388ms 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 #13
Day Hour Count Duration Avg duration May 25 00 2 4s816ms 2s408ms 02 3 32s485ms 10s828ms 03 3 40s331ms 13s443ms 04 2 4s996ms 2s498ms 05 2 20s447ms 10s223ms 06 1 6s162ms 6s162ms 07 3 19s422ms 6s474ms 09 2 8s770ms 4s385ms 10 2 2s396ms 1s198ms 11 2 21s84ms 10s542ms May 26 09 1 1s107ms 1s107ms 10 1 5s647ms 5s647ms 11 3 12s277ms 4s92ms 12 2 33s428ms 16s714ms 16 1 11s551ms 11s551ms 18 1 5s663ms 5s663ms 20 3 12s897ms 4s299ms 21 1 1s109ms 1s109ms 22 2 2s123ms 1s61ms 23 2 2s456ms 1s228ms May 27 00 1 6s238ms 6s238ms 01 1 1s185ms 1s185ms 02 5 39s891ms 7s978ms 04 1 16s741ms 16s741ms 05 3 9s922ms 3s307ms 06 3 36s552ms 12s184ms 08 2 19s728ms 9s864ms 09 3 7s366ms 2s455ms 11 2 18s196ms 9s98ms 12 3 14s764ms 4s921ms 13 6 45s492ms 7s582ms 14 11 2m34s 14s2ms 15 16 2m45s 10s332ms 16 12 1m4s 5s384ms 17 10 38s705ms 3s870ms 18 10 1m3s 6s371ms 21 3 36s785ms 12s261ms 22 5 41s220ms 8s244ms 23 8 1m23s 10s475ms May 28 00 3 10s234ms 3s411ms 07 1 1s408ms 1s408ms 08 2 12s256ms 6s128ms 11 2 34s61ms 17s30ms 12 2 6s61ms 3s30ms 13 2 15s850ms 7s925ms 15 2 8s608ms 4s304ms 16 1 1s91ms 1s91ms 17 2 5s548ms 2s774ms 18 1 16s779ms 16s779ms 19 1 1s541ms 1s541ms 20 2 20s347ms 10s173ms May 29 00 1 11s774ms 11s774ms 01 1 1s924ms 1s924ms 03 2 21s187ms 10s593ms 09 1 1s55ms 1s55ms 10 1 16s441ms 16s441ms 11 3 11s146ms 3s715ms 12 4 1m13s 18s329ms 13 13 1m46s 8s230ms 14 5 26s809ms 5s361ms 15 9 1m21s 9s51ms 16 5 25s8ms 5s1ms 17 15 2m57s 11s822ms 18 3 5s543ms 1s847ms 19 8 1m1s 7s657ms 20 7 45s476ms 6s496ms 21 10 1m 6s92ms May 30 13 13 2m15s 10s386ms 14 4 4s718ms 1s179ms 15 46 6m36s 8s608ms 16 36 5m11s 8s645ms 17 71 21m40s 18s311ms 18 21 7m13s 20s639ms 19 59 13m26s 13s671ms 20 56 21m49s 23s382ms 22 6 50s229ms 8s371ms 23 113 1h27s 32s102ms May 31 00 66 31m58s 29s60ms 06 1 3s205ms 3s205ms 11 9 1m47s 11s961ms 12 6 1m16s 12s815ms [ User: pubeu - Total duration: 1h27m51s - Times executed: 308 ]
-
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-05-30 23:21:33 Duration: 1m34s 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 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-05-30 23:28:53 Duration: 1m33s 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-05-30 23:21:42 Duration: 1m32s Bind query: yes
14 2h4m45s 1 2h4m45s 2h4m45s 2h4m45s select pub1.maint_term_derive_data ();Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration May 29 07 1 2h4m45s 2h4m45s -
select pub1.maint_term_derive_data ();
Date: 2025-05-29 07:45:20 Duration: 2h4m45s Bind query: yes
15 1h53m30s 1 1h53m30s 1h53m30s 1h53m30s select pub1.maint_gene_chem_ref_gene_form_refresh ();Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration May 29 03 1 1h53m30s 1h53m30s -
select pub1.maint_gene_chem_ref_gene_form_refresh ();
Date: 2025-05-29 03:41:36 Duration: 1h53m30s Bind query: yes
16 1h29m33s 2,410 1s479ms 11s409ms 2s229ms 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 #16
Day Hour Count Duration Avg duration May 25 00 2 2s979ms 1s489ms 01 2 3s69ms 1s534ms 02 1 1s584ms 1s584ms 03 2 3s80ms 1s540ms 04 1 1s594ms 1s594ms 05 3 4s622ms 1s540ms 06 2 2s987ms 1s493ms 10 2 3s71ms 1s535ms 11 1 1s621ms 1s621ms May 26 04 1 1s534ms 1s534ms 05 1 1s489ms 1s489ms 08 2 3s65ms 1s532ms 09 1 1s572ms 1s572ms 10 2 2s992ms 1s496ms 11 1 1s518ms 1s518ms 15 1 1s508ms 1s508ms 16 2 3s20ms 1s510ms 18 3 4s586ms 1s528ms 19 2 2s980ms 1s490ms 20 1 1s619ms 1s619ms 21 1 1s502ms 1s502ms 22 6 9s472ms 1s578ms 23 4 6s123ms 1s530ms May 27 00 4 6s614ms 1s653ms 01 1 1s531ms 1s531ms 03 3 4s543ms 1s514ms 04 5 7s721ms 1s544ms 05 3 5s118ms 1s706ms 06 1 1s506ms 1s506ms 07 3 4s832ms 1s610ms 09 2 3s31ms 1s515ms 12 10 15s317ms 1s531ms 13 24 36s462ms 1s519ms 14 28 44s533ms 1s590ms 15 34 55s114ms 1s621ms 16 27 42s689ms 1s581ms 17 35 54s420ms 1s554ms 18 40 1m4s 1s617ms 21 9 14s87ms 1s565ms 22 29 45s458ms 1s567ms 23 38 58s334ms 1s535ms May 28 00 32 49s418ms 1s544ms 01 1 1s543ms 1s543ms 05 1 1s491ms 1s491ms 07 1 1s505ms 1s505ms 11 1 1s587ms 1s587ms 12 1 1s493ms 1s493ms 13 1 1s578ms 1s578ms 14 1 1s490ms 1s490ms 16 3 4s478ms 1s492ms 17 1 1s507ms 1s507ms 18 1 1s514ms 1s514ms 20 3 4s556ms 1s518ms 21 3 4s618ms 1s539ms 22 2 3s5ms 1s502ms 23 1 1s546ms 1s546ms May 29 00 2 3s99ms 1s549ms 01 2 3s57ms 1s528ms 03 1 1s517ms 1s517ms 04 3 4s646ms 1s548ms 05 2 3s78ms 1s539ms 07 2 2s988ms 1s494ms 08 5 7s583ms 1s516ms 09 2 3s243ms 1s621ms 10 1 1s904ms 1s904ms 11 4 6s194ms 1s548ms 12 22 34s682ms 1s576ms 13 36 56s250ms 1s562ms 14 27 41s994ms 1s555ms 15 38 59s142ms 1s556ms 16 38 59s98ms 1s555ms 17 31 48s320ms 1s558ms 18 15 24s642ms 1s642ms 19 30 47s648ms 1s588ms 20 26 40s874ms 1s572ms 21 44 1m9s 1s571ms May 30 05 1 1s527ms 1s527ms 07 1 1s504ms 1s504ms 08 1 1s487ms 1s487ms 11 6 9s354ms 1s559ms 12 1 1s578ms 1s578ms 13 16 25s568ms 1s598ms 14 12 20s48ms 1s670ms 15 52 1m53s 2s174ms 16 65 2m6s 1s953ms 17 84 5m53s 4s214ms 18 27 2m29s 5s523ms 19 53 2m58s 3s366ms 20 87 6m56s 4s789ms 22 18 1m25s 4s760ms 23 93 9m32s 6s153ms May 31 00 71 7m40s 6s484ms 05 2 3s84ms 1s542ms 06 1 1s600ms 1s600ms 11 3 5s535ms 1s845ms 12 82 2m8s 1s571ms 13 100 2m37s 1s572ms 14 96 2m31s 1s577ms 15 81 2m6s 1s564ms 16 88 2m16s 1s554ms 17 92 2m24s 1s569ms 18 110 2m53s 1s578ms 19 73 1m54s 1s562ms 20 87 2m15s 1s563ms 21 75 1m57s 1s566ms 22 103 2m41s 1s563ms 23 105 2m44s 1s562ms [ User: pubeu - Total duration: 26m46s - Times executed: 599 ]
[ User: qaeu - Total duration: 3s101ms - Times executed: 2 ]
-
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-05-30 20:02:09 Duration: 11s409ms 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-05-30 20:06:24 Duration: 11s163ms 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-05-30 17:57:48 Duration: 9s466ms Bind query: yes
17 1h28m55s 2,585 1s200ms 16s279ms 2s64ms 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 #17
Day Hour Count Duration Avg duration May 25 00 43 1m8s 1s601ms 01 35 52s652ms 1s504ms 02 43 1m4s 1s491ms 03 35 55s383ms 1s582ms 04 31 43s488ms 1s402ms 05 37 52s455ms 1s417ms 06 29 40s555ms 1s398ms 07 42 58s836ms 1s400ms 08 27 39s231ms 1s453ms 09 29 40s67ms 1s381ms 10 33 45s670ms 1s383ms 11 40 55s999ms 1s399ms May 26 03 8 11s615ms 1s451ms 04 16 23s249ms 1s453ms 05 1 1s417ms 1s417ms 08 24 33s846ms 1s410ms 09 24 33s566ms 1s398ms 10 24 33s553ms 1s398ms 11 32 44s391ms 1s387ms 12 25 33s977ms 1s359ms 13 32 43s476ms 1s358ms 14 28 38s118ms 1s361ms 15 27 36s787ms 1s362ms 16 42 58s143ms 1s384ms 17 26 36s555ms 1s405ms 18 35 47s622ms 1s360ms 19 23 31s696ms 1s378ms 20 24 33s411ms 1s392ms 21 31 42s930ms 1s384ms 22 25 35s443ms 1s417ms 23 31 44s81ms 1s421ms May 27 00 26 36s793ms 1s415ms 01 24 35s191ms 1s466ms 02 33 46s714ms 1s415ms 03 31 43s498ms 1s403ms 04 39 59s110ms 1s515ms 05 33 46s837ms 1s419ms 06 29 40s259ms 1s388ms 07 20 27s148ms 1s357ms 08 23 31s638ms 1s375ms 09 19 26s14ms 1s369ms 10 25 34s259ms 1s370ms 11 31 46s4ms 1s484ms 12 27 40s429ms 1s497ms 13 21 29s473ms 1s403ms 14 20 32s858ms 1s642ms 15 26 39s501ms 1s519ms 16 26 48s605ms 1s869ms 17 29 46s970ms 1s619ms 18 33 48s667ms 1s474ms 21 5 7s456ms 1s491ms 22 18 27s138ms 1s507ms 23 12 17s389ms 1s449ms May 28 00 7 12s354ms 1s764ms 05 1 1s460ms 1s460ms 07 5 7s183ms 1s436ms 08 1 1s375ms 1s375ms 09 2 2s732ms 1s366ms 14 1 1s343ms 1s343ms 19 4 5s248ms 1s312ms 20 2 2s607ms 1s303ms 22 7 9s935ms 1s419ms 23 29 40s239ms 1s387ms May 29 00 21 31s434ms 1s496ms 01 19 27s895ms 1s468ms 02 26 41s615ms 1s600ms 03 35 48s937ms 1s398ms 04 4 5s584ms 1s396ms 05 2 3s49ms 1s524ms 10 7 9s664ms 1s380ms 11 14 19s467ms 1s390ms 12 10 17s601ms 1s760ms 13 20 33s397ms 1s669ms 14 17 25s378ms 1s492ms 15 25 43s87ms 1s723ms 16 8 11s658ms 1s457ms 17 7 11s288ms 1s612ms 18 5 9s35ms 1s807ms 19 5 9s259ms 1s851ms 20 6 8s965ms 1s494ms 21 18 27s133ms 1s507ms May 30 02 5 7s9ms 1s401ms 03 18 26s285ms 1s460ms 04 19 26s697ms 1s405ms 05 1 1s480ms 1s480ms 07 12 17s138ms 1s428ms 08 22 30s519ms 1s387ms 09 18 24s683ms 1s371ms 10 12 16s502ms 1s375ms 11 18 24s922ms 1s384ms 13 5 7s388ms 1s477ms 14 5 7s984ms 1s596ms 15 15 30s794ms 2s52ms 16 25 51s429ms 2s57ms 17 40 3m48s 5s724ms 18 16 1m51s 6s977ms 19 19 1m17s 4s103ms 20 47 6m22s 8s142ms 21 2 3s192ms 1s596ms 22 11 1m5s 5s962ms 23 54 10m11s 11s329ms May 31 00 40 6m56s 10s401ms 05 6 8s824ms 1s470ms 06 17 24s510ms 1s441ms 07 25 35s977ms 1s439ms 08 32 45s816ms 1s431ms 09 16 23s476ms 1s467ms 10 14 19s902ms 1s421ms 11 20 28s942ms 1s447ms 12 33 48s464ms 1s468ms 13 27 38s226ms 1s415ms 14 21 29s448ms 1s402ms 15 33 46s705ms 1s415ms 16 22 31s130ms 1s415ms 17 12 16s791ms 1s399ms 18 20 28s303ms 1s415ms 19 22 30s716ms 1s396ms 20 27 39s33ms 1s445ms 21 22 31s847ms 1s447ms 22 28 40s662ms 1s452ms 23 24 34s271ms 1s427ms [ User: pubeu - Total duration: 20m53s - Times executed: 533 ]
-
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 = '1234206') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1234206') 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-05-30 23:34:58 Duration: 16s279ms 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 = '1234206') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1234206') 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-05-30 23:34:36 Duration: 15s617ms 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 = '1254209') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1254209') 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-05-30 18:04:59 Duration: 15s193ms Bind query: yes
18 1h26m54s 1,959 1s 12s669ms 2s661ms select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, count(gcr.ixn_id) ixncount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join term g on gcr.gene_id = g.id where gcr.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) group by g.nm, g.id, g.acc_txt, g.acc_db_cd, g.nm_sort order by count(gcr.ixn_id) desc, g.nm_sort limit ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration May 25 01 2 3s765ms 1s882ms 05 2 3s274ms 1s637ms May 27 01 1 1s502ms 1s502ms 14 3 6s381ms 2s127ms 15 5 6s537ms 1s307ms 16 4 5s158ms 1s289ms 17 1 1s734ms 1s734ms 18 1 1s988ms 1s988ms 21 1 1s8ms 1s8ms 22 2 2s87ms 1s43ms 23 3 3s282ms 1s94ms May 28 00 5 5s610ms 1s122ms 22 1 1s544ms 1s544ms 23 1 1s578ms 1s578ms May 29 00 1 2s81ms 2s81ms 12 1 1s16ms 1s16ms 13 3 3s575ms 1s191ms 14 1 1s912ms 1s912ms 15 4 5s753ms 1s438ms 17 4 7s567ms 1s891ms 18 2 2s220ms 1s110ms 19 5 7s896ms 1s579ms 20 9 11s9ms 1s223ms 21 3 7s935ms 2s645ms May 30 13 4 8s269ms 2s67ms 14 9 10s453ms 1s161ms 15 72 2m20s 1s948ms 16 67 2m11s 1s967ms 17 267 12m3s 2s710ms 18 79 3m30s 2s660ms 19 160 5m48s 2s175ms 20 305 14m17s 2s811ms 22 70 2m32s 2s173ms 23 507 25m8s 2s974ms May 31 00 353 17m5s 2s906ms 11 1 1s473ms 1s473ms [ User: pubeu - Total duration: 38m10s - Times executed: 902 ]
-
SELECT /* ChemGenesDAO */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, COUNT(gcr.ixn_id) ixnCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN term g ON gcr.gene_id = g.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1411566') GROUP BY g.nm, g.id, g.acc_txt, g.acc_db_cd, g.nm_sort ORDER BY COUNT(gcr.ixn_id) DESC, g.nm_sort LIMIT 50;
Date: 2025-05-30 20:06:19 Duration: 12s669ms Bind query: yes
-
SELECT /* ChemGenesDAO */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, COUNT(gcr.ixn_id) ixnCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN term g ON gcr.gene_id = g.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1411566') GROUP BY g.nm, g.id, g.acc_txt, g.acc_db_cd, g.nm_sort ORDER BY COUNT(gcr.ixn_id) DESC, g.nm_sort LIMIT 50;
Date: 2025-05-30 23:40:17 Duration: 11s954ms Bind query: yes
-
SELECT /* ChemGenesDAO */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, COUNT(gcr.ixn_id) ixnCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN term g ON gcr.gene_id = g.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1411566') GROUP BY g.nm, g.id, g.acc_txt, g.acc_db_cd, g.nm_sort ORDER BY COUNT(gcr.ixn_id) DESC, g.nm_sort LIMIT 50;
Date: 2025-05-30 20:10:08 Duration: 11s769ms Database: ctdprd51 User: pubeu Bind query: yes
19 1h21m14s 1,638 1s 15s622ms 2s975ms 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 #19
Day Hour Count Duration Avg duration May 25 00 3 5s178ms 1s726ms 01 7 12s845ms 1s835ms 02 1 2s270ms 2s270ms 03 2 3s377ms 1s688ms 04 2 3s855ms 1s927ms 05 6 9s992ms 1s665ms 06 1 1s287ms 1s287ms 07 11 17s868ms 1s624ms 08 5 9s718ms 1s943ms 09 7 12s358ms 1s765ms 10 4 6s418ms 1s604ms 11 2 3s293ms 1s646ms May 26 04 4 7s769ms 1s942ms 08 2 3s759ms 1s879ms 09 3 5s36ms 1s678ms 10 3 4s387ms 1s462ms 11 2 3s854ms 1s927ms 12 1 1s888ms 1s888ms 13 4 6s917ms 1s729ms 14 2 3s197ms 1s598ms 15 1 1s278ms 1s278ms 16 4 6s512ms 1s628ms 17 2 3s142ms 1s571ms 18 2 3s809ms 1s904ms 19 3 5s698ms 1s899ms 20 2 3s712ms 1s856ms 21 2 3s815ms 1s907ms 23 4 5s764ms 1s441ms May 27 02 5 8s206ms 1s641ms 03 4 7s54ms 1s763ms 04 4 6s961ms 1s740ms 05 1 1s963ms 1s963ms 06 3 5s53ms 1s684ms 07 1 1s278ms 1s278ms 08 1 1s891ms 1s891ms 10 2 3s741ms 1s870ms 11 3 5s578ms 1s859ms 12 4 6s967ms 1s741ms 13 13 21s575ms 1s659ms 14 10 17s459ms 1s745ms 15 10 16s99ms 1s609ms 16 18 29s334ms 1s629ms 17 9 16s517ms 1s835ms 18 15 23s53ms 1s536ms 21 3 6s304ms 2s101ms 22 13 22s537ms 1s733ms 23 16 26s967ms 1s685ms May 28 00 12 19s842ms 1s653ms 07 1 1s876ms 1s876ms 08 1 1s273ms 1s273ms 11 2 3s133ms 1s566ms 12 1 1s858ms 1s858ms 13 1 1s863ms 1s863ms 14 1 1s842ms 1s842ms 15 2 3s727ms 1s863ms 17 1 1s870ms 1s870ms 18 3 5s610ms 1s870ms 19 1 1s948ms 1s948ms 20 1 1s862ms 1s862ms 21 1 1s912ms 1s912ms 22 2 3s765ms 1s882ms 23 5 8s749ms 1s749ms May 29 00 4 7s677ms 1s919ms 01 3 5s745ms 1s915ms 02 1 1s875ms 1s875ms 03 1 1s882ms 1s882ms 05 1 1s881ms 1s881ms 06 1 1s279ms 1s279ms 07 1 1s911ms 1s911ms 09 1 1s862ms 1s862ms 10 1 1s281ms 1s281ms 11 2 3s218ms 1s609ms 12 8 14s297ms 1s787ms 13 9 14s690ms 1s632ms 14 20 32s946ms 1s647ms 15 16 25s665ms 1s604ms 16 13 21s336ms 1s641ms 17 20 35s115ms 1s755ms 18 3 5s470ms 1s823ms 19 13 24s144ms 1s857ms 20 17 30s888ms 1s816ms 21 20 31s759ms 1s587ms May 30 04 3 5s566ms 1s855ms 08 3 4s496ms 1s498ms 09 2 3s797ms 1s898ms 11 2 3s858ms 1s929ms 13 7 11s89ms 1s584ms 14 6 12s386ms 2s64ms 15 69 3m10s 2s760ms 16 59 2m2s 2s74ms 17 151 8m35s 3s416ms 18 46 2m16s 2s959ms 19 96 4m49s 3s19ms 20 193 10m20s 3s213ms 22 37 1m44s 2s810ms 23 319 20m41s 3s890ms May 31 00 216 14m36s 4s58ms 09 1 1s951ms 1s951ms 11 6 11s524ms 1s920ms 12 5 9s144ms 1s828ms [ User: pubeu - Total duration: 33m39s - Times executed: 688 ]
-
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-05-30 17:49:05 Duration: 15s622ms 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-05-30 17:49:58 Duration: 12s691ms 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 = '1451245') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-05-30 17:53:05 Duration: 12s330ms Bind query: yes
20 1h11m31s 1,055 1s 1m3s 4s67ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where stressorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or exposuremarkerterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration May 25 01 5 20s227ms 4s45ms 03 2 2s236ms 1s118ms 04 2 5s675ms 2s837ms 05 1 1s64ms 1s64ms May 26 10 1 1s380ms 1s380ms 14 1 2s85ms 2s85ms 18 1 1s6ms 1s6ms May 27 00 1 2s742ms 2s742ms 12 3 3s667ms 1s222ms 13 2 5s137ms 2s568ms 14 7 10s206ms 1s458ms 15 3 7s394ms 2s464ms 16 10 42s456ms 4s245ms 17 5 11s773ms 2s354ms 18 5 40s398ms 8s79ms 21 2 2s329ms 1s164ms 22 5 6s489ms 1s297ms 23 1 1s43ms 1s43ms May 28 00 4 5s783ms 1s445ms 13 1 8s336ms 8s336ms 21 1 1s198ms 1s198ms 23 1 1s206ms 1s206ms May 29 00 1 1s118ms 1s118ms 03 5 6s364ms 1s272ms 11 1 2s97ms 2s97ms 12 2 7s145ms 3s572ms 13 5 11s555ms 2s311ms 14 5 24s113ms 4s822ms 15 11 24s733ms 2s248ms 16 5 50s519ms 10s103ms 17 4 22s196ms 5s549ms 18 2 2s147ms 1s73ms 19 3 5s57ms 1s685ms 20 11 33s671ms 3s61ms 21 2 2s626ms 1s313ms May 30 12 1 1s145ms 1s145ms 13 5 9s158ms 1s831ms 14 1 1s121ms 1s121ms 15 62 2m41s 2s602ms 16 66 2m42s 2s463ms 17 129 7m23s 3s439ms 18 43 3m2s 4s234ms 19 95 5m14s 3s315ms 20 141 8m33s 3s639ms 22 32 1m45s 3s292ms 23 187 16m6s 5s170ms May 31 00 161 17m18s 6s452ms 07 1 1s516ms 1s516ms 08 1 1s95ms 1s95ms 11 6 8s225ms 1s370ms 12 3 3s251ms 1s83ms [ User: pubeu - Total duration: 31m29s - Times executed: 534 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1411566') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1411566') 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-05-31 00:41:35 Duration: 1m3s Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1411566') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1411566') 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-05-31 00:41:48 Duration: 1m1s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1411566') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1411566') 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-05-30 20:01:36 Duration: 45s560ms Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 20,945 8h49m26s 1s290ms 9s888ms 1s516ms 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 May 25 00 12 17s826ms 1s485ms 01 11 16s508ms 1s500ms 02 9 13s672ms 1s519ms 03 12 17s33ms 1s419ms 04 11 15s716ms 1s428ms 05 11 15s638ms 1s421ms 06 7 11s391ms 1s627ms 07 12 17s254ms 1s437ms 08 9 12s923ms 1s435ms 09 9 12s617ms 1s401ms 10 13 18s325ms 1s409ms 11 9 13s133ms 1s459ms May 26 03 2 2s607ms 1s303ms 04 2 2s758ms 1s379ms 05 2 2s612ms 1s306ms 08 2 2s759ms 1s379ms 09 1 1s474ms 1s474ms 10 5 6s916ms 1s383ms 11 6 8s401ms 1s400ms 12 256 5m53s 1s382ms 13 320 7m28s 1s402ms 14 151 3m32s 1s405ms 15 393 9m9s 1s397ms 16 364 8m28s 1s398ms 17 278 6m25s 1s386ms 18 490 11m18s 1s384ms 19 470 10m50s 1s385ms 20 477 11m8s 1s401ms 21 487 11m35s 1s428ms 22 461 11m 1s432ms 23 519 12m14s 1s415ms May 27 00 457 10m47s 1s417ms 01 455 10m46s 1s420ms 02 502 11m53s 1s421ms 03 558 13m3s 1s403ms 04 606 14m18s 1s416ms 05 550 13m5s 1s427ms 06 565 13m18s 1s413ms 07 799 18m54s 1s419ms 08 670 15m47s 1s414ms 09 742 17m25s 1s409ms 10 595 14m1s 1s414ms 11 713 16m43s 1s407ms 12 422 10m14s 1s456ms 13 440 10m33s 1s439ms 14 250 6m18s 1s515ms 15 440 11m 1s500ms 16 396 9m35s 1s452ms 17 249 6m2s 1s455ms 18 275 6m46s 1s478ms 19 1 1s598ms 1s598ms 21 134 3m18s 1s480ms 22 446 11m1s 1s483ms 23 134 3m10s 1s419ms May 28 00 5 7s128ms 1s425ms 05 2 2s715ms 1s357ms 07 1 1s353ms 1s353ms 08 1 1s353ms 1s353ms 10 7 9s582ms 1s368ms 11 6 8s304ms 1s384ms 12 9 12s315ms 1s368ms 13 12 16s458ms 1s371ms 14 3 4s170ms 1s390ms 15 11 15s2ms 1s363ms 16 4 5s512ms 1s378ms 17 8 10s877ms 1s359ms 18 5 7s 1s400ms 19 6 8s499ms 1s416ms 20 6 8s561ms 1s426ms 21 7 9s719ms 1s388ms 22 7 10s261ms 1s465ms 23 5 7s319ms 1s463ms May 29 00 10 14s391ms 1s439ms 01 7 10s53ms 1s436ms 02 13 18s454ms 1s419ms 03 10 16s871ms 1s687ms 04 11 15s924ms 1s447ms 05 6 8s408ms 1s401ms 06 7 9s611ms 1s373ms 07 49 1m7s 1s379ms 08 460 10m36s 1s382ms 09 418 9m32s 1s368ms 10 397 9m7s 1s379ms 11 376 8m54s 1s421ms 12 190 4m42s 1s486ms 13 403 9m52s 1s469ms 14 328 7m57s 1s456ms 15 252 6m2s 1s438ms 16 255 6m4s 1s428ms 17 202 5m3s 1s501ms 18 137 3m25s 1s503ms 19 251 6m23s 1s527ms 20 253 6m7s 1s453ms 21 340 8m16s 1s461ms May 30 02 1 1s380ms 1s380ms 03 4 5s359ms 1s339ms 04 1 1s440ms 1s440ms 05 2 2s746ms 1s373ms 07 1 1s499ms 1s499ms 08 3 4s164ms 1s388ms 09 6 8s242ms 1s373ms 10 11 15s814ms 1s437ms 11 10 13s907ms 1s390ms 13 10 16s66ms 1s606ms 14 7 11s12ms 1s573ms 15 17 49s281ms 2s898ms 16 20 39s413ms 1s970ms 17 52 3m34s 4s130ms 18 13 51s250ms 3s942ms 19 29 1m48s 3s749ms 20 34 2m36s 4s597ms 22 95 7m7s 4s494ms 23 260 23m43s 5s474ms May 31 00 27 2m59s 6s645ms 05 5 7s427ms 1s485ms 06 2 3s28ms 1s514ms 07 5 7s594ms 1s518ms 08 1 1s398ms 1s398ms 09 4 5s771ms 1s442ms 10 6 8s896ms 1s482ms 11 13 21s127ms 1s625ms 12 49 1m12s 1s475ms 13 43 1m3s 1s465ms 14 50 1m12s 1s456ms 15 58 1m24s 1s452ms 16 58 1m23s 1s443ms 17 57 1m23s 1s457ms 18 45 1m6s 1s483ms 19 44 1m3s 1s436ms 20 47 1m8s 1s463ms 21 53 1m17s 1s459ms 22 54 1m19s 1s472ms 23 58 1m25s 1s465ms [ User: pubeu - Total duration: 1h23m45s - Times executed: 2912 ]
[ User: qaeu - Total duration: 1s398ms - Times executed: 1 ]
-
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-05-30 22:58:58 Duration: 9s888ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2025-05-30 22:57:12 Duration: 9s433ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2025-05-30 18:05:27 Duration: 9s349ms Bind query: yes
2 17,250 10h43m48s 1s131ms 16s182ms 2s239ms 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 May 25 00 187 4m12s 1s347ms 01 194 4m22s 1s355ms 02 204 4m38s 1s363ms 03 223 4m52s 1s310ms 04 161 3m31s 1s313ms 05 187 4m4s 1s308ms 06 205 4m17s 1s257ms 07 161 3m23s 1s262ms 08 176 3m50s 1s309ms 09 189 3m57s 1s255ms 10 188 3m55s 1s252ms 11 149 3m8s 1s264ms 14 1 1s363ms 1s363ms 19 2 2s644ms 1s322ms 21 1 1s157ms 1s157ms May 26 03 48 1m2s 1s292ms 04 81 1m46s 1s320ms 05 1 1s299ms 1s299ms 06 1 1s182ms 1s182ms 08 106 2m13s 1s261ms 09 176 3m40s 1s251ms 10 163 3m21s 1s236ms 11 161 3m21s 1s249ms 12 153 3m8s 1s229ms 13 164 3m22s 1s235ms 14 175 3m34s 1s227ms 15 182 3m45s 1s236ms 16 157 3m16s 1s252ms 17 169 3m31s 1s252ms 18 159 3m16s 1s238ms 19 166 3m26s 1s244ms 20 146 3m3s 1s253ms 21 179 3m46s 1s266ms 22 149 3m12s 1s289ms 23 120 2m31s 1s263ms May 27 00 183 3m52s 1s271ms 01 205 4m26s 1s299ms 02 165 3m37s 1s315ms 03 160 3m22s 1s263ms 04 176 3m51s 1s315ms 05 140 3m11s 1s370ms 06 139 2m54s 1s252ms 07 124 2m33s 1s239ms 08 175 3m37s 1s241ms 09 142 2m56s 1s245ms 10 157 3m14s 1s240ms 11 143 3m2s 1s278ms 12 127 2m50s 1s343ms 13 194 4m5s 1s267ms 14 168 4m 1s428ms 15 206 4m42s 1s372ms 16 194 4m52s 1s505ms 17 219 4m53s 1s339ms 18 185 4m7s 1s338ms 19 2 2s825ms 1s412ms 21 52 1m8s 1s319ms 22 115 2m33s 1s337ms 23 102 2m14s 1s319ms May 28 00 51 1m17s 1s513ms 05 1 1s344ms 1s344ms 07 13 16s613ms 1s277ms 08 8 9s963ms 1s245ms 09 2 2s513ms 1s256ms 10 3 3s695ms 1s231ms 11 5 6s152ms 1s230ms 12 5 6s304ms 1s260ms 13 1 1s222ms 1s222ms 15 1 1s241ms 1s241ms 16 5 6s148ms 1s229ms 17 2 2s440ms 1s220ms 18 3 3s599ms 1s199ms 19 4 4s696ms 1s174ms 20 3 3s616ms 1s205ms 21 2 2s448ms 1s224ms 22 29 36s331ms 1s252ms 23 164 3m22s 1s237ms May 29 00 162 3m31s 1s306ms 01 174 3m40s 1s264ms 02 166 3m44s 1s350ms 03 190 4m11s 1s323ms 04 70 1m28s 1s264ms 05 6 7s686ms 1s281ms 06 3 3s699ms 1s233ms 07 6 7s412ms 1s235ms 08 3 3s625ms 1s208ms 09 1 1s177ms 1s177ms 10 40 49s635ms 1s240ms 11 102 2m8s 1s258ms 12 77 1m43s 1s348ms 13 169 4m 1s425ms 14 144 3m14s 1s352ms 15 158 3m58s 1s512ms 16 105 2m15s 1s294ms 17 78 1m44s 1s344ms 18 37 51s939ms 1s403ms 19 67 1m37s 1s458ms 20 90 2m11s 1s463ms 21 137 2m58s 1s304ms May 30 02 11 13s866ms 1s260ms 03 117 2m30s 1s286ms 04 108 2m17s 1s272ms 05 2 2s667ms 1s333ms 07 60 1m16s 1s267ms 08 138 2m52s 1s246ms 09 104 2m9s 1s247ms 10 149 3m4s 1s241ms 11 150 3m6s 1s240ms 12 8 10s51ms 1s256ms 13 63 1m26s 1s369ms 14 46 1m5s 1s431ms 15 218 10m48s 2s973ms 16 313 11m56s 2s288ms 17 493 44m49s 5s455ms 18 132 11m57s 5s435ms 19 239 19m18s 4s847ms 20 413 49m13s 7s151ms 21 7 9s383ms 1s340ms 22 86 8m2s 5s609ms 23 633 1h40m18s 9s507ms May 31 00 501 1h19m17s 9s496ms 05 51 1m7s 1s324ms 06 149 3m13s 1s297ms 07 147 3m10s 1s297ms 08 145 3m8s 1s297ms 09 128 2m47s 1s312ms 10 132 2m51s 1s302ms 11 144 3m11s 1s331ms 12 148 3m26s 1s394ms 13 135 2m54s 1s294ms 14 148 3m13s 1s305ms 15 138 2m56s 1s280ms 16 128 2m43s 1s276ms 17 154 3m16s 1s272ms 18 151 3m13s 1s284ms 19 162 3m23s 1s253ms 20 117 2m29s 1s278ms 21 156 3m23s 1s303ms 22 144 3m8s 1s307ms 23 138 2m59s 1s301ms [ User: pubeu - Total duration: 3h9m3s - Times executed: 3935 ]
-
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 = '1648770' or receptorTerm.id = '1648770' 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-05-30 17:54:05 Duration: 16s182ms 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 = '1910860' or receptorTerm.id = '1910860' 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-05-30 22:57:18 Duration: 15s643ms 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 = '2051136' or receptorTerm.id = '2051136' 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-05-30 18:05:14 Duration: 15s208ms Bind query: yes
3 3,150 6h4m21s 1s 49s841ms 6s940ms 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 #3
Day Hour Count Duration Avg duration May 25 00 7 23s256ms 3s322ms 01 7 19s177ms 2s739ms 02 11 28s289ms 2s571ms 03 7 18s619ms 2s659ms 04 6 19s1ms 3s166ms 05 11 26s684ms 2s425ms 06 9 25s280ms 2s808ms 07 17 46s676ms 2s745ms 08 14 42s620ms 3s44ms 09 20 49s29ms 2s451ms 10 10 31s549ms 3s154ms 11 4 8s434ms 2s108ms May 26 03 2 5s450ms 2s725ms 04 1 1s 1s 08 2 6s394ms 3s197ms 09 3 11s416ms 3s805ms 10 4 13s591ms 3s397ms 11 2 4s282ms 2s141ms 12 5 11s551ms 2s310ms 13 5 15s737ms 3s147ms 14 3 10s713ms 3s571ms 15 4 12s292ms 3s73ms 16 2 5s492ms 2s746ms 17 4 13s264ms 3s316ms 18 3 10s547ms 3s515ms 19 2 5s215ms 2s607ms 20 7 21s978ms 3s139ms 21 6 14s41ms 2s340ms 22 6 11s725ms 1s954ms 23 3 10s378ms 3s459ms May 27 00 1 1s174ms 1s174ms 01 1 4s449ms 4s449ms 02 6 16s952ms 2s825ms 03 6 19s450ms 3s241ms 04 12 34s426ms 2s868ms 05 7 17s63ms 2s437ms 06 6 15s553ms 2s592ms 07 6 23s163ms 3s860ms 08 1 3s124ms 3s124ms 09 10 30s540ms 3s54ms 10 4 12s69ms 3s17ms 11 3 8s205ms 2s735ms 12 24 56s420ms 2s350ms 13 30 1m10s 2s333ms 14 21 57s854ms 2s754ms 15 23 1m12s 3s131ms 16 21 51s484ms 2s451ms 17 35 1m16s 2s189ms 18 33 1m35s 2s908ms 21 16 41s840ms 2s615ms 22 34 1m30s 2s671ms 23 38 1m38s 2s585ms May 28 00 25 52s987ms 2s119ms 07 2 5s98ms 2s549ms 08 2 6s143ms 3s71ms 10 1 2s184ms 2s184ms 11 4 10s411ms 2s602ms 12 1 4s53ms 4s53ms 13 1 4s154ms 4s154ms 14 5 12s638ms 2s527ms 15 7 19s980ms 2s854ms 16 4 8s989ms 2s247ms 17 1 3s86ms 3s86ms 18 2 5s172ms 2s586ms 19 1 3s182ms 3s182ms 20 1 3s149ms 3s149ms 21 5 18s118ms 3s623ms 22 12 34s525ms 2s877ms 23 12 39s96ms 3s258ms May 29 00 12 45s229ms 3s769ms 02 2 7s515ms 3s757ms 04 1 3s236ms 3s236ms 05 2 9s403ms 4s701ms 06 1 4s296ms 4s296ms 07 1 4s362ms 4s362ms 08 5 18s112ms 3s622ms 09 3 8s963ms 2s987ms 11 4 12s629ms 3s157ms 12 27 1m19s 2s953ms 13 52 2m28s 2s858ms 14 36 1m17s 2s143ms 15 41 1m54s 2s786ms 16 33 1m20s 2s452ms 17 37 1m39s 2s683ms 18 14 40s365ms 2s883ms 19 48 2m10s 2s712ms 20 30 1m14s 2s474ms 21 52 2m21s 2s714ms May 30 04 6 18s926ms 3s154ms 08 5 12s808ms 2s561ms 09 2 4s382ms 2s191ms 11 8 19s559ms 2s444ms 13 23 1m 2s649ms 14 23 50s 2s173ms 15 133 11m8s 5s23ms 16 171 10m32s 3s697ms 17 324 44m42s 8s278ms 18 98 14m39s 8s973ms 19 168 17m21s 6s198ms 20 310 53m39s 10s385ms 22 73 7m23s 6s78ms 23 427 1h32m54s 13s54ms May 31 00 323 1h1m26s 11s412ms 05 1 4s325ms 4s325ms 06 1 1s2ms 1s2ms 11 28 1m13s 2s608ms 12 12 30s420ms 2s535ms 20 1 1s6ms 1s6ms 21 1 4s450ms 4s450ms [ User: pubeu - Total duration: 2h26m9s - Times executed: 1299 ]
-
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-05-30 17:53:50 Duration: 49s841ms 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-05-30 20:00:10 Duration: 47s405ms 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-05-30 19:59:40 Duration: 46s866ms Bind query: yes
4 3,106 5h1m19s 1s 39s14ms 5s820ms 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 #4
Day Hour Count Duration Avg duration May 25 00 3 6s38ms 2s12ms 01 21 41s658ms 1s983ms 02 13 21s678ms 1s667ms 03 19 31s183ms 1s641ms 04 13 15s215ms 1s170ms 05 7 13s701ms 1s957ms 06 4 5s525ms 1s381ms 07 4 5s121ms 1s280ms 08 13 27s900ms 2s146ms 09 2 2s450ms 1s225ms 10 6 6s730ms 1s121ms 11 2 2s21ms 1s10ms May 26 03 4 5s480ms 1s370ms 04 2 3s956ms 1s978ms 08 1 1s3ms 1s3ms 09 4 4s42ms 1s10ms 10 2 3s437ms 1s718ms 11 4 7s175ms 1s793ms 12 1 1s9ms 1s9ms 13 6 10s649ms 1s774ms 14 5 18s190ms 3s638ms 15 6 8s753ms 1s458ms 16 6 6s903ms 1s150ms 17 5 6s892ms 1s378ms 18 4 5s976ms 1s494ms 19 3 3s235ms 1s78ms 20 3 4s432ms 1s477ms 21 7 13s916ms 1s988ms 22 8 29s312ms 3s664ms 23 11 12s756ms 1s159ms May 27 00 10 11s187ms 1s118ms 01 7 11s491ms 1s641ms 02 14 25s390ms 1s813ms 03 2 2s33ms 1s16ms 04 26 53s145ms 2s44ms 05 15 36s814ms 2s454ms 06 1 3s923ms 3s923ms 08 3 4s849ms 1s616ms 09 9 14s404ms 1s600ms 10 3 4s753ms 1s584ms 11 7 15s564ms 2s223ms 12 3 4s844ms 1s614ms 13 7 11s269ms 1s609ms 14 51 1m35s 1s874ms 15 7 13s475ms 1s925ms 16 47 1m55s 2s459ms 17 6 13s767ms 2s294ms 18 30 1m6s 2s205ms 22 12 28s329ms 2s360ms 23 9 33s869ms 3s763ms May 28 00 12 27s913ms 2s326ms 08 1 1s677ms 1s677ms 09 1 3s848ms 3s848ms 10 1 3s449ms 3s449ms 11 1 5s823ms 5s823ms 15 1 2s783ms 2s783ms 17 1 1s83ms 1s83ms 22 1 1s49ms 1s49ms 23 8 9s155ms 1s144ms May 29 00 12 15s221ms 1s268ms 01 15 16s688ms 1s112ms 02 14 1m2s 4s483ms 03 31 37s55ms 1s195ms 04 1 1s43ms 1s43ms 06 2 6s892ms 3s446ms 07 1 2s866ms 2s866ms 08 1 2s180ms 2s180ms 11 2 2s214ms 1s107ms 12 2 3s55ms 1s527ms 13 34 1m21s 2s392ms 14 26 52s641ms 2s24ms 15 44 1m34s 2s159ms 16 2 4s697ms 2s348ms 17 9 19s258ms 2s139ms 18 3 10s107ms 3s369ms 19 17 45s136ms 2s655ms 20 23 1m 2s615ms 21 7 11s447ms 1s635ms May 30 03 12 12s835ms 1s69ms 04 11 11s140ms 1s12ms 08 5 5s231ms 1s46ms 09 5 5s474ms 1s94ms 10 2 2s209ms 1s104ms 11 1 2s521ms 2s521ms 13 6 21s495ms 3s582ms 14 4 9s502ms 2s375ms 15 51 3m52s 4s564ms 16 132 6m45s 3s68ms 17 353 38m23s 6s524ms 18 75 9m3s 7s252ms 19 225 20m16s 5s408ms 20 334 43m27s 7s807ms 21 1 2s626ms 2s626ms 22 66 6m5s 5s541ms 23 502 1h23m3s 9s928ms May 31 00 366 59m56s 9s825ms 06 10 10s323ms 1s32ms 07 15 15s320ms 1s21ms 08 14 14s357ms 1s25ms 09 35 36s520ms 1s43ms 10 18 18s626ms 1s34ms 11 19 30s855ms 1s623ms 12 17 34s959ms 2s56ms 13 4 4s135ms 1s33ms 14 14 24s80ms 1s720ms 15 7 7s335ms 1s47ms 16 5 5s81ms 1s16ms 17 7 7s160ms 1s22ms 18 11 11s180ms 1s16ms 19 1 1s343ms 1s343ms 20 12 12s705ms 1s58ms 21 10 11s642ms 1s164ms 22 6 6s165ms 1s27ms 23 19 19s504ms 1s26ms [ User: pubeu - Total duration: 1h55m55s - Times executed: 1203 ]
-
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 = '660706' 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 = '660706') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-05-30 18:05:31 Duration: 39s14ms 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 = '660706' 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 = '660706') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-05-30 18:05:09 Duration: 38s183ms 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 = '660706' 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 = '660706') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-05-30 18:05:06 Duration: 37s979ms Database: ctdprd51 User: pubeu Bind query: yes
5 3,013 5h2m43s 1s 19s984ms 6s28ms select count(*) from gene_disease gd where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration May 25 01 8 12s752ms 1s594ms 02 3 4s709ms 1s569ms 03 3 4s748ms 1s582ms 04 1 2s621ms 2s621ms 08 9 18s33ms 2s3ms May 26 04 2 3s833ms 1s916ms 08 4 8s877ms 2s219ms 14 2 6s661ms 3s330ms 19 2 2s653ms 1s326ms 20 1 1s199ms 1s199ms 21 1 1s381ms 1s381ms 23 1 1s82ms 1s82ms May 27 00 1 1s513ms 1s513ms 04 8 14s938ms 1s867ms 05 1 2s420ms 2s420ms 09 2 2s249ms 1s124ms 11 3 6s430ms 2s143ms 12 4 7s427ms 1s856ms 13 1 1s230ms 1s230ms 14 22 44s634ms 2s28ms 15 16 32s216ms 2s13ms 16 25 52s244ms 2s89ms 17 4 7s128ms 1s782ms 18 9 16s583ms 1s842ms 22 1 1s150ms 1s150ms 23 3 6s915ms 2s305ms May 28 00 11 25s529ms 2s320ms 23 1 1s42ms 1s42ms May 29 02 5 20s808ms 4s161ms 03 3 3s96ms 1s32ms 11 1 1s142ms 1s142ms 12 2 2s737ms 1s368ms 13 25 55s573ms 2s222ms 14 16 35s18ms 2s188ms 15 42 1m26s 2s64ms 17 11 20s367ms 1s851ms 18 1 1s60ms 1s60ms 19 5 10s420ms 2s84ms 20 37 1m22s 2s230ms 21 10 20s583ms 2s58ms May 30 03 2 7s867ms 3s933ms 13 6 11s905ms 1s984ms 14 2 2s494ms 1s247ms 15 131 9m21s 4s284ms 16 154 7m1s 2s737ms 17 433 37m9s 5s149ms 18 104 8m59s 5s183ms 19 267 21m39s 4s865ms 20 460 50m9s 6s542ms 22 67 4m54s 4s398ms 23 604 1h27m38s 8s706ms May 31 00 467 1h4m35s 8s298ms 08 1 1s63ms 1s63ms 12 8 18s606ms 2s325ms [ User: pubeu - Total duration: 55m32s - Times executed: 701 ]
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2101682');
Date: 2025-05-30 20:04:09 Duration: 19s984ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2097605');
Date: 2025-05-30 18:04:46 Duration: 18s623ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2098681');
Date: 2025-05-30 17:54:14 Duration: 17s520ms Bind query: yes
6 2,686 4h45m51s 1s 41s311ms 6s385ms 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 May 25 00 7 22s936ms 3s276ms 01 8 30s25ms 3s753ms 02 10 24s277ms 2s427ms 03 9 43s890ms 4s876ms 04 7 28s852ms 4s121ms 05 6 26s587ms 4s431ms 06 4 9s45ms 2s261ms 07 16 53s367ms 3s335ms 08 18 52s36ms 2s890ms 09 17 1m2s 3s655ms 10 1 6s532ms 6s532ms 11 6 11s732ms 1s955ms May 26 04 1 3s95ms 3s95ms 08 1 2s177ms 2s177ms 09 4 17s745ms 4s436ms 10 3 6s911ms 2s303ms 11 1 3s461ms 3s461ms 12 8 26s902ms 3s362ms 13 7 23s118ms 3s302ms 14 2 6s500ms 3s250ms 15 1 3s464ms 3s464ms 16 6 11s775ms 1s962ms 17 3 5s787ms 1s929ms 18 6 24s777ms 4s129ms 19 4 16s667ms 4s166ms 20 7 22s75ms 3s153ms 21 4 23s509ms 5s877ms 22 3 9s282ms 3s94ms May 27 00 4 14s461ms 3s615ms 01 2 5s579ms 2s789ms 02 7 19s925ms 2s846ms 03 10 31s180ms 3s118ms 04 12 43s670ms 3s639ms 05 11 35s21ms 3s183ms 06 8 23s30ms 2s878ms 07 9 23s414ms 2s601ms 08 9 26s304ms 2s922ms 09 2 6s3ms 3s1ms 10 4 17s418ms 4s354ms 11 4 9s239ms 2s309ms 12 11 38s347ms 3s486ms 13 26 1m26s 3s315ms 14 29 1m27s 3s7ms 15 36 1m46s 2s944ms 16 32 1m37s 3s46ms 17 34 1m46s 3s137ms 18 33 2m 3s659ms 21 15 50s806ms 3s387ms 22 23 1m10s 3s44ms 23 42 2m42s 3s861ms May 28 00 21 1m13s 3s507ms 08 3 9s473ms 3s157ms 09 1 2s979ms 2s979ms 10 2 9s544ms 4s772ms 11 2 9s578ms 4s789ms 12 5 19s332ms 3s866ms 13 3 11s249ms 3s749ms 14 5 16s401ms 3s280ms 15 13 42s751ms 3s288ms 16 3 4s867ms 1s622ms 17 1 2s990ms 2s990ms 18 2 4s100ms 2s50ms 19 2 8s124ms 4s62ms 20 2 9s431ms 4s715ms 21 3 11s110ms 3s703ms 22 15 39s638ms 2s642ms 23 15 1m 4s12ms May 29 00 20 1m5s 3s278ms 01 3 9s611ms 3s203ms 02 4 11s283ms 2s820ms 03 5 18s602ms 3s720ms 04 4 15s926ms 3s981ms 05 2 9s88ms 4s544ms 07 2 2s406ms 1s203ms 08 7 29s161ms 4s165ms 10 6 16s85ms 2s680ms 11 5 19s970ms 3s994ms 12 30 1m56s 3s867ms 13 26 1m37s 3s731ms 14 38 1m40s 2s645ms 15 33 1m52s 3s398ms 16 38 1m56s 3s73ms 17 41 2m28s 3s616ms 18 14 42s301ms 3s21ms 19 23 1m31s 3s975ms 20 34 1m51s 3s292ms 21 33 1m40s 3s42ms May 30 04 10 39s752ms 3s975ms 08 4 13s43ms 3s260ms 09 2 13s743ms 6s871ms 10 1 3s42ms 3s42ms 11 8 29s971ms 3s746ms 12 2 4s116ms 2s58ms 13 24 1m22s 3s425ms 14 21 1m25s 4s59ms 15 107 10m10s 5s710ms 16 136 9m7s 4s28ms 17 248 38m25s 9s296ms 18 65 9m9s 8s449ms 19 150 16m30s 6s603ms 20 258 34m18s 7s978ms 21 1 4s19ms 4s19ms 22 60 7m10s 7s172ms 23 320 55m57s 10s491ms May 31 00 227 42m34s 11s253ms 06 1 6s849ms 6s849ms 10 1 6s536ms 6s536ms 11 29 1m28s 3s68ms 12 12 39s530ms 3s294ms [ User: pubeu - Total duration: 1h49m39s - Times executed: 1031 ]
-
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-05-30 17:57:28 Duration: 41s311ms 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-05-30 20:04:07 Duration: 39s536ms 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-05-30 23:25:13 Duration: 38s631ms Bind query: yes
7 2,585 1h28m55s 1s200ms 16s279ms 2s64ms 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 #7
Day Hour Count Duration Avg duration May 25 00 43 1m8s 1s601ms 01 35 52s652ms 1s504ms 02 43 1m4s 1s491ms 03 35 55s383ms 1s582ms 04 31 43s488ms 1s402ms 05 37 52s455ms 1s417ms 06 29 40s555ms 1s398ms 07 42 58s836ms 1s400ms 08 27 39s231ms 1s453ms 09 29 40s67ms 1s381ms 10 33 45s670ms 1s383ms 11 40 55s999ms 1s399ms May 26 03 8 11s615ms 1s451ms 04 16 23s249ms 1s453ms 05 1 1s417ms 1s417ms 08 24 33s846ms 1s410ms 09 24 33s566ms 1s398ms 10 24 33s553ms 1s398ms 11 32 44s391ms 1s387ms 12 25 33s977ms 1s359ms 13 32 43s476ms 1s358ms 14 28 38s118ms 1s361ms 15 27 36s787ms 1s362ms 16 42 58s143ms 1s384ms 17 26 36s555ms 1s405ms 18 35 47s622ms 1s360ms 19 23 31s696ms 1s378ms 20 24 33s411ms 1s392ms 21 31 42s930ms 1s384ms 22 25 35s443ms 1s417ms 23 31 44s81ms 1s421ms May 27 00 26 36s793ms 1s415ms 01 24 35s191ms 1s466ms 02 33 46s714ms 1s415ms 03 31 43s498ms 1s403ms 04 39 59s110ms 1s515ms 05 33 46s837ms 1s419ms 06 29 40s259ms 1s388ms 07 20 27s148ms 1s357ms 08 23 31s638ms 1s375ms 09 19 26s14ms 1s369ms 10 25 34s259ms 1s370ms 11 31 46s4ms 1s484ms 12 27 40s429ms 1s497ms 13 21 29s473ms 1s403ms 14 20 32s858ms 1s642ms 15 26 39s501ms 1s519ms 16 26 48s605ms 1s869ms 17 29 46s970ms 1s619ms 18 33 48s667ms 1s474ms 21 5 7s456ms 1s491ms 22 18 27s138ms 1s507ms 23 12 17s389ms 1s449ms May 28 00 7 12s354ms 1s764ms 05 1 1s460ms 1s460ms 07 5 7s183ms 1s436ms 08 1 1s375ms 1s375ms 09 2 2s732ms 1s366ms 14 1 1s343ms 1s343ms 19 4 5s248ms 1s312ms 20 2 2s607ms 1s303ms 22 7 9s935ms 1s419ms 23 29 40s239ms 1s387ms May 29 00 21 31s434ms 1s496ms 01 19 27s895ms 1s468ms 02 26 41s615ms 1s600ms 03 35 48s937ms 1s398ms 04 4 5s584ms 1s396ms 05 2 3s49ms 1s524ms 10 7 9s664ms 1s380ms 11 14 19s467ms 1s390ms 12 10 17s601ms 1s760ms 13 20 33s397ms 1s669ms 14 17 25s378ms 1s492ms 15 25 43s87ms 1s723ms 16 8 11s658ms 1s457ms 17 7 11s288ms 1s612ms 18 5 9s35ms 1s807ms 19 5 9s259ms 1s851ms 20 6 8s965ms 1s494ms 21 18 27s133ms 1s507ms May 30 02 5 7s9ms 1s401ms 03 18 26s285ms 1s460ms 04 19 26s697ms 1s405ms 05 1 1s480ms 1s480ms 07 12 17s138ms 1s428ms 08 22 30s519ms 1s387ms 09 18 24s683ms 1s371ms 10 12 16s502ms 1s375ms 11 18 24s922ms 1s384ms 13 5 7s388ms 1s477ms 14 5 7s984ms 1s596ms 15 15 30s794ms 2s52ms 16 25 51s429ms 2s57ms 17 40 3m48s 5s724ms 18 16 1m51s 6s977ms 19 19 1m17s 4s103ms 20 47 6m22s 8s142ms 21 2 3s192ms 1s596ms 22 11 1m5s 5s962ms 23 54 10m11s 11s329ms May 31 00 40 6m56s 10s401ms 05 6 8s824ms 1s470ms 06 17 24s510ms 1s441ms 07 25 35s977ms 1s439ms 08 32 45s816ms 1s431ms 09 16 23s476ms 1s467ms 10 14 19s902ms 1s421ms 11 20 28s942ms 1s447ms 12 33 48s464ms 1s468ms 13 27 38s226ms 1s415ms 14 21 29s448ms 1s402ms 15 33 46s705ms 1s415ms 16 22 31s130ms 1s415ms 17 12 16s791ms 1s399ms 18 20 28s303ms 1s415ms 19 22 30s716ms 1s396ms 20 27 39s33ms 1s445ms 21 22 31s847ms 1s447ms 22 28 40s662ms 1s452ms 23 24 34s271ms 1s427ms [ User: pubeu - Total duration: 20m53s - Times executed: 533 ]
-
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 = '1234206') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1234206') 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-05-30 23:34:58 Duration: 16s279ms 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 = '1234206') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1234206') 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-05-30 23:34:36 Duration: 15s617ms 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 = '1254209') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1254209') 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-05-30 18:04:59 Duration: 15s193ms Bind query: yes
8 2,410 1h29m33s 1s479ms 11s409ms 2s229ms 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 #8
Day Hour Count Duration Avg duration May 25 00 2 2s979ms 1s489ms 01 2 3s69ms 1s534ms 02 1 1s584ms 1s584ms 03 2 3s80ms 1s540ms 04 1 1s594ms 1s594ms 05 3 4s622ms 1s540ms 06 2 2s987ms 1s493ms 10 2 3s71ms 1s535ms 11 1 1s621ms 1s621ms May 26 04 1 1s534ms 1s534ms 05 1 1s489ms 1s489ms 08 2 3s65ms 1s532ms 09 1 1s572ms 1s572ms 10 2 2s992ms 1s496ms 11 1 1s518ms 1s518ms 15 1 1s508ms 1s508ms 16 2 3s20ms 1s510ms 18 3 4s586ms 1s528ms 19 2 2s980ms 1s490ms 20 1 1s619ms 1s619ms 21 1 1s502ms 1s502ms 22 6 9s472ms 1s578ms 23 4 6s123ms 1s530ms May 27 00 4 6s614ms 1s653ms 01 1 1s531ms 1s531ms 03 3 4s543ms 1s514ms 04 5 7s721ms 1s544ms 05 3 5s118ms 1s706ms 06 1 1s506ms 1s506ms 07 3 4s832ms 1s610ms 09 2 3s31ms 1s515ms 12 10 15s317ms 1s531ms 13 24 36s462ms 1s519ms 14 28 44s533ms 1s590ms 15 34 55s114ms 1s621ms 16 27 42s689ms 1s581ms 17 35 54s420ms 1s554ms 18 40 1m4s 1s617ms 21 9 14s87ms 1s565ms 22 29 45s458ms 1s567ms 23 38 58s334ms 1s535ms May 28 00 32 49s418ms 1s544ms 01 1 1s543ms 1s543ms 05 1 1s491ms 1s491ms 07 1 1s505ms 1s505ms 11 1 1s587ms 1s587ms 12 1 1s493ms 1s493ms 13 1 1s578ms 1s578ms 14 1 1s490ms 1s490ms 16 3 4s478ms 1s492ms 17 1 1s507ms 1s507ms 18 1 1s514ms 1s514ms 20 3 4s556ms 1s518ms 21 3 4s618ms 1s539ms 22 2 3s5ms 1s502ms 23 1 1s546ms 1s546ms May 29 00 2 3s99ms 1s549ms 01 2 3s57ms 1s528ms 03 1 1s517ms 1s517ms 04 3 4s646ms 1s548ms 05 2 3s78ms 1s539ms 07 2 2s988ms 1s494ms 08 5 7s583ms 1s516ms 09 2 3s243ms 1s621ms 10 1 1s904ms 1s904ms 11 4 6s194ms 1s548ms 12 22 34s682ms 1s576ms 13 36 56s250ms 1s562ms 14 27 41s994ms 1s555ms 15 38 59s142ms 1s556ms 16 38 59s98ms 1s555ms 17 31 48s320ms 1s558ms 18 15 24s642ms 1s642ms 19 30 47s648ms 1s588ms 20 26 40s874ms 1s572ms 21 44 1m9s 1s571ms May 30 05 1 1s527ms 1s527ms 07 1 1s504ms 1s504ms 08 1 1s487ms 1s487ms 11 6 9s354ms 1s559ms 12 1 1s578ms 1s578ms 13 16 25s568ms 1s598ms 14 12 20s48ms 1s670ms 15 52 1m53s 2s174ms 16 65 2m6s 1s953ms 17 84 5m53s 4s214ms 18 27 2m29s 5s523ms 19 53 2m58s 3s366ms 20 87 6m56s 4s789ms 22 18 1m25s 4s760ms 23 93 9m32s 6s153ms May 31 00 71 7m40s 6s484ms 05 2 3s84ms 1s542ms 06 1 1s600ms 1s600ms 11 3 5s535ms 1s845ms 12 82 2m8s 1s571ms 13 100 2m37s 1s572ms 14 96 2m31s 1s577ms 15 81 2m6s 1s564ms 16 88 2m16s 1s554ms 17 92 2m24s 1s569ms 18 110 2m53s 1s578ms 19 73 1m54s 1s562ms 20 87 2m15s 1s563ms 21 75 1m57s 1s566ms 22 103 2m41s 1s563ms 23 105 2m44s 1s562ms [ User: pubeu - Total duration: 26m46s - Times executed: 599 ]
[ User: qaeu - Total duration: 3s101ms - Times executed: 2 ]
-
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-05-30 20:02:09 Duration: 11s409ms 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-05-30 20:06:24 Duration: 11s163ms 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-05-30 17:57:48 Duration: 9s466ms Bind query: yes
9 2,301 7h9m2s 1s1ms 1m35s 11s187ms 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 May 25 00 8 24s338ms 3s42ms 01 7 24s698ms 3s528ms 02 6 12s772ms 2s128ms 03 7 28s834ms 4s119ms 04 7 25s483ms 3s640ms 05 10 48s944ms 4s894ms 06 9 48s480ms 5s386ms 07 7 18s627ms 2s661ms 08 10 36s973ms 3s697ms 09 6 18s947ms 3s157ms 10 9 35s317ms 3s924ms 11 9 28s629ms 3s181ms May 26 03 2 6s547ms 3s273ms 04 4 9s660ms 2s415ms 09 4 6s107ms 1s526ms 10 4 17s434ms 4s358ms 11 3 10s479ms 3s493ms 12 1 1s722ms 1s722ms 13 4 19s743ms 4s935ms 14 1 2s520ms 2s520ms 15 2 10s958ms 5s479ms 17 3 11s370ms 3s790ms 18 5 19s919ms 3s983ms 19 4 7s684ms 1s921ms 20 10 21s31ms 2s103ms 22 6 16s41ms 2s673ms 23 3 5s616ms 1s872ms May 27 01 3 4s891ms 1s630ms 02 4 7s19ms 1s754ms 03 3 18s163ms 6s54ms 04 4 15s269ms 3s817ms 05 1 5s346ms 5s346ms 06 2 7s198ms 3s599ms 07 5 9s292ms 1s858ms 08 3 12s922ms 4s307ms 09 3 5s3ms 1s667ms 10 1 2s456ms 2s456ms 11 5 14s431ms 2s886ms 12 15 51s731ms 3s448ms 13 25 53s472ms 2s138ms 14 18 1m27s 4s876ms 15 46 3m11s 4s161ms 16 28 2m30s 5s373ms 17 25 1m4s 2s570ms 18 27 1m26s 3s203ms 21 8 33s718ms 4s214ms 22 35 2m5s 3s572ms 23 29 1m34s 3s260ms May 28 00 20 1m13s 3s687ms 07 2 3s454ms 1s727ms 09 4 11s893ms 2s973ms 11 1 1s384ms 1s384ms 15 1 1s216ms 1s216ms 17 1 3s72ms 3s72ms 18 2 13s68ms 6s534ms 20 1 1s240ms 1s240ms May 29 01 1 1s24ms 1s24ms 02 3 16s464ms 5s488ms 04 2 5s907ms 2s953ms 05 1 2s236ms 2s236ms 07 1 1s987ms 1s987ms 08 1 4s437ms 4s437ms 10 2 6s954ms 3s477ms 11 4 13s241ms 3s310ms 12 25 1m43s 4s129ms 13 27 2m2s 4s545ms 14 29 2m12s 4s573ms 15 36 2m34s 4s297ms 16 29 1m59s 4s135ms 17 42 2m52s 4s102ms 18 12 42s316ms 3s526ms 19 20 1m5s 3s293ms 20 34 2m50s 5s22ms 21 38 2m29s 3s946ms May 30 04 2 10s760ms 5s380ms 09 2 12s485ms 6s242ms 10 2 4s836ms 2s418ms 11 11 35s561ms 3s232ms 12 1 6s447ms 6s447ms 13 19 57s2ms 3s 14 23 2m1s 5s288ms 15 99 12m23s 7s514ms 16 116 14m30s 7s506ms 17 218 48m55s 13s466ms 18 58 17m46s 18s380ms 19 131 22m40s 10s383ms 20 238 1h25s 15s233ms 21 1 2s274ms 2s274ms 22 40 8m34s 12s863ms 23 288 1h40m45s 20s991ms May 31 00 243 1h26m58s 21s474ms 06 4 46s230ms 11s557ms 11 5 16s287ms 3s257ms 12 17 1m11s 4s226ms 13 1 7s72ms 7s72ms 16 1 1s318ms 1s318ms 17 1 12s104ms 12s104ms [ User: pubeu - Total duration: 3h2m2s - Times executed: 938 ]
-
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-05-31 00:18:34 Duration: 1m35s 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-05-31 00:32:27 Duration: 1m34s 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-05-31 00:31:33 Duration: 1m33s Bind query: yes
10 1,959 1h26m54s 1s 12s669ms 2s661ms select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, count(gcr.ixn_id) ixncount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join term g on gcr.gene_id = g.id where gcr.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) group by g.nm, g.id, g.acc_txt, g.acc_db_cd, g.nm_sort order by count(gcr.ixn_id) desc, g.nm_sort limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration May 25 01 2 3s765ms 1s882ms 05 2 3s274ms 1s637ms May 27 01 1 1s502ms 1s502ms 14 3 6s381ms 2s127ms 15 5 6s537ms 1s307ms 16 4 5s158ms 1s289ms 17 1 1s734ms 1s734ms 18 1 1s988ms 1s988ms 21 1 1s8ms 1s8ms 22 2 2s87ms 1s43ms 23 3 3s282ms 1s94ms May 28 00 5 5s610ms 1s122ms 22 1 1s544ms 1s544ms 23 1 1s578ms 1s578ms May 29 00 1 2s81ms 2s81ms 12 1 1s16ms 1s16ms 13 3 3s575ms 1s191ms 14 1 1s912ms 1s912ms 15 4 5s753ms 1s438ms 17 4 7s567ms 1s891ms 18 2 2s220ms 1s110ms 19 5 7s896ms 1s579ms 20 9 11s9ms 1s223ms 21 3 7s935ms 2s645ms May 30 13 4 8s269ms 2s67ms 14 9 10s453ms 1s161ms 15 72 2m20s 1s948ms 16 67 2m11s 1s967ms 17 267 12m3s 2s710ms 18 79 3m30s 2s660ms 19 160 5m48s 2s175ms 20 305 14m17s 2s811ms 22 70 2m32s 2s173ms 23 507 25m8s 2s974ms May 31 00 353 17m5s 2s906ms 11 1 1s473ms 1s473ms [ User: pubeu - Total duration: 38m10s - Times executed: 902 ]
-
SELECT /* ChemGenesDAO */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, COUNT(gcr.ixn_id) ixnCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN term g ON gcr.gene_id = g.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1411566') GROUP BY g.nm, g.id, g.acc_txt, g.acc_db_cd, g.nm_sort ORDER BY COUNT(gcr.ixn_id) DESC, g.nm_sort LIMIT 50;
Date: 2025-05-30 20:06:19 Duration: 12s669ms Bind query: yes
-
SELECT /* ChemGenesDAO */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, COUNT(gcr.ixn_id) ixnCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN term g ON gcr.gene_id = g.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1411566') GROUP BY g.nm, g.id, g.acc_txt, g.acc_db_cd, g.nm_sort ORDER BY COUNT(gcr.ixn_id) DESC, g.nm_sort LIMIT 50;
Date: 2025-05-30 23:40:17 Duration: 11s954ms Bind query: yes
-
SELECT /* ChemGenesDAO */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, COUNT(gcr.ixn_id) ixnCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN term g ON gcr.gene_id = g.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1411566') GROUP BY g.nm, g.id, g.acc_txt, g.acc_db_cd, g.nm_sort ORDER BY COUNT(gcr.ixn_id) DESC, g.nm_sort LIMIT 50;
Date: 2025-05-30 20:10:08 Duration: 11s769ms Database: ctdprd51 User: pubeu Bind query: yes
11 1,638 1h21m14s 1s 15s622ms 2s975ms 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 #11
Day Hour Count Duration Avg duration May 25 00 3 5s178ms 1s726ms 01 7 12s845ms 1s835ms 02 1 2s270ms 2s270ms 03 2 3s377ms 1s688ms 04 2 3s855ms 1s927ms 05 6 9s992ms 1s665ms 06 1 1s287ms 1s287ms 07 11 17s868ms 1s624ms 08 5 9s718ms 1s943ms 09 7 12s358ms 1s765ms 10 4 6s418ms 1s604ms 11 2 3s293ms 1s646ms May 26 04 4 7s769ms 1s942ms 08 2 3s759ms 1s879ms 09 3 5s36ms 1s678ms 10 3 4s387ms 1s462ms 11 2 3s854ms 1s927ms 12 1 1s888ms 1s888ms 13 4 6s917ms 1s729ms 14 2 3s197ms 1s598ms 15 1 1s278ms 1s278ms 16 4 6s512ms 1s628ms 17 2 3s142ms 1s571ms 18 2 3s809ms 1s904ms 19 3 5s698ms 1s899ms 20 2 3s712ms 1s856ms 21 2 3s815ms 1s907ms 23 4 5s764ms 1s441ms May 27 02 5 8s206ms 1s641ms 03 4 7s54ms 1s763ms 04 4 6s961ms 1s740ms 05 1 1s963ms 1s963ms 06 3 5s53ms 1s684ms 07 1 1s278ms 1s278ms 08 1 1s891ms 1s891ms 10 2 3s741ms 1s870ms 11 3 5s578ms 1s859ms 12 4 6s967ms 1s741ms 13 13 21s575ms 1s659ms 14 10 17s459ms 1s745ms 15 10 16s99ms 1s609ms 16 18 29s334ms 1s629ms 17 9 16s517ms 1s835ms 18 15 23s53ms 1s536ms 21 3 6s304ms 2s101ms 22 13 22s537ms 1s733ms 23 16 26s967ms 1s685ms May 28 00 12 19s842ms 1s653ms 07 1 1s876ms 1s876ms 08 1 1s273ms 1s273ms 11 2 3s133ms 1s566ms 12 1 1s858ms 1s858ms 13 1 1s863ms 1s863ms 14 1 1s842ms 1s842ms 15 2 3s727ms 1s863ms 17 1 1s870ms 1s870ms 18 3 5s610ms 1s870ms 19 1 1s948ms 1s948ms 20 1 1s862ms 1s862ms 21 1 1s912ms 1s912ms 22 2 3s765ms 1s882ms 23 5 8s749ms 1s749ms May 29 00 4 7s677ms 1s919ms 01 3 5s745ms 1s915ms 02 1 1s875ms 1s875ms 03 1 1s882ms 1s882ms 05 1 1s881ms 1s881ms 06 1 1s279ms 1s279ms 07 1 1s911ms 1s911ms 09 1 1s862ms 1s862ms 10 1 1s281ms 1s281ms 11 2 3s218ms 1s609ms 12 8 14s297ms 1s787ms 13 9 14s690ms 1s632ms 14 20 32s946ms 1s647ms 15 16 25s665ms 1s604ms 16 13 21s336ms 1s641ms 17 20 35s115ms 1s755ms 18 3 5s470ms 1s823ms 19 13 24s144ms 1s857ms 20 17 30s888ms 1s816ms 21 20 31s759ms 1s587ms May 30 04 3 5s566ms 1s855ms 08 3 4s496ms 1s498ms 09 2 3s797ms 1s898ms 11 2 3s858ms 1s929ms 13 7 11s89ms 1s584ms 14 6 12s386ms 2s64ms 15 69 3m10s 2s760ms 16 59 2m2s 2s74ms 17 151 8m35s 3s416ms 18 46 2m16s 2s959ms 19 96 4m49s 3s19ms 20 193 10m20s 3s213ms 22 37 1m44s 2s810ms 23 319 20m41s 3s890ms May 31 00 216 14m36s 4s58ms 09 1 1s951ms 1s951ms 11 6 11s524ms 1s920ms 12 5 9s144ms 1s828ms [ User: pubeu - Total duration: 33m39s - Times executed: 688 ]
-
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-05-30 17:49:05 Duration: 15s622ms 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-05-30 17:49:58 Duration: 12s691ms 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 = '1451245') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-05-30 17:53:05 Duration: 12s330ms Bind query: yes
12 1,473 1h6m38s 1s281ms 16s778ms 2s714ms 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 #12
Day Hour Count Duration Avg duration May 25 00 17 24s997ms 1s470ms 01 13 19s416ms 1s493ms 02 12 19s360ms 1s613ms 03 19 29s510ms 1s553ms 04 21 30s226ms 1s439ms 05 17 25s77ms 1s475ms 06 15 20s813ms 1s387ms 07 14 21s395ms 1s528ms 08 17 23s923ms 1s407ms 09 13 18s19ms 1s386ms 10 17 23s893ms 1s405ms 11 19 26s450ms 1s392ms May 26 03 1 1s381ms 1s381ms 04 2 2s830ms 1s415ms 05 1 1s438ms 1s438ms 08 8 11s270ms 1s408ms 09 7 9s699ms 1s385ms 10 13 17s723ms 1s363ms 11 9 12s668ms 1s407ms 12 14 18s832ms 1s345ms 13 16 22s187ms 1s386ms 14 11 14s985ms 1s362ms 15 9 12s322ms 1s369ms 16 8 11s177ms 1s397ms 17 16 22s204ms 1s387ms 18 13 17s833ms 1s371ms 19 7 9s493ms 1s356ms 20 7 9s756ms 1s393ms 21 13 18s83ms 1s391ms 22 12 16s911ms 1s409ms 23 8 11s274ms 1s409ms May 27 00 18 25s192ms 1s399ms 01 11 15s936ms 1s448ms 02 8 11s462ms 1s432ms 03 11 15s589ms 1s417ms 04 9 14s851ms 1s650ms 05 8 11s553ms 1s444ms 06 8 10s841ms 1s355ms 07 9 12s426ms 1s380ms 08 16 22s175ms 1s385ms 09 14 19s647ms 1s403ms 10 10 13s770ms 1s377ms 11 9 13s406ms 1s489ms 12 17 24s597ms 1s446ms 13 26 37s155ms 1s429ms 14 17 28s349ms 1s667ms 15 20 29s419ms 1s470ms 16 20 33s89ms 1s654ms 17 21 31s437ms 1s497ms 18 25 36s768ms 1s470ms 19 1 1s375ms 1s375ms 21 7 10s421ms 1s488ms 22 17 28s762ms 1s691ms 23 15 24s131ms 1s608ms May 28 00 5 9s790ms 1s958ms 05 1 1s491ms 1s491ms 07 1 1s542ms 1s542ms 08 1 1s447ms 1s447ms 09 1 1s318ms 1s318ms 11 1 1s384ms 1s384ms 12 3 4s131ms 1s377ms 15 1 1s419ms 1s419ms 16 1 1s385ms 1s385ms 22 2 3s16ms 1s508ms 23 13 17s803ms 1s369ms May 29 00 19 26s752ms 1s408ms 01 17 23s813ms 1s400ms 02 13 21s554ms 1s658ms 03 16 27s108ms 1s694ms 04 7 9s869ms 1s409ms 05 2 2s987ms 1s493ms 09 1 1s755ms 1s755ms 10 3 4s584ms 1s528ms 11 7 9s951ms 1s421ms 12 10 17s1ms 1s700ms 13 13 23s531ms 1s810ms 14 23 36s728ms 1s596ms 15 19 32s38ms 1s686ms 16 16 24s179ms 1s511ms 17 10 15s499ms 1s549ms 18 6 9s170ms 1s528ms 19 14 21s160ms 1s511ms 20 6 10s576ms 1s762ms 21 17 25s848ms 1s520ms May 30 03 5 7s327ms 1s465ms 04 10 13s964ms 1s396ms 05 1 1s533ms 1s533ms 07 3 4s273ms 1s424ms 08 10 14s34ms 1s403ms 09 5 6s825ms 1s365ms 10 12 16s805ms 1s400ms 11 9 12s504ms 1s389ms 13 7 11s172ms 1s596ms 14 1 1s456ms 1s456ms 15 15 37s902ms 2s526ms 16 23 1m5s 2s826ms 17 41 4m13s 6s189ms 18 9 1m2s 6s922ms 19 32 2m44s 5s141ms 20 32 4m14s 7s965ms 22 14 1m17s 5s523ms 23 64 11m40s 10s948ms May 31 00 58 10m31s 10s894ms 05 5 8s744ms 1s748ms 06 9 12s751ms 1s416ms 07 12 17s153ms 1s429ms 08 10 13s852ms 1s385ms 09 12 17s597ms 1s466ms 10 10 14s278ms 1s427ms 11 17 26s384ms 1s552ms 12 12 18s960ms 1s580ms 13 7 10s239ms 1s462ms 14 10 14s433ms 1s443ms 15 10 13s969ms 1s396ms 16 13 18s421ms 1s417ms 17 11 16s260ms 1s478ms 18 12 17s299ms 1s441ms 19 4 5s599ms 1s399ms 20 9 13s131ms 1s459ms 21 6 8s578ms 1s429ms 22 11 15s750ms 1s431ms 23 7 10s42ms 1s434ms [ User: pubeu - Total duration: 22m38s - Times executed: 376 ]
-
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 = '2101566') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2101566') 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-05-31 00:04:56 Duration: 16s778ms 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 = '2100862') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2100862') 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-05-31 00:39:07 Duration: 16s677ms 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 = '2103686') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2103686') 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-05-30 17:49:06 Duration: 16s343ms Bind query: yes
13 1,267 4h14m3s 1s 41s567ms 12s31ms select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration May 25 00 2 15s422ms 7s711ms 01 2 12s937ms 6s468ms 02 6 30s845ms 5s140ms 03 4 21s448ms 5s362ms 04 2 6s832ms 3s416ms 05 9 23s901ms 2s655ms 06 3 17s800ms 5s933ms 07 15 1m4s 4s306ms 08 10 40s220ms 4s22ms 09 5 19s558ms 3s911ms 10 2 6s775ms 3s387ms 11 3 17s137ms 5s712ms May 26 04 1 1s383ms 1s383ms 05 2 2s25ms 1s12ms 07 3 3s122ms 1s40ms 08 4 9s433ms 2s358ms 09 1 1s73ms 1s73ms 11 4 12s932ms 3s233ms 12 9 41s231ms 4s581ms 13 6 15s948ms 2s658ms 14 1 5s239ms 5s239ms 15 2 6s991ms 3s495ms 17 1 5s587ms 5s587ms 18 2 10s694ms 5s347ms 19 1 1s36ms 1s36ms 20 7 26s657ms 3s808ms 21 1 1s55ms 1s55ms 22 2 10s819ms 5s409ms 23 1 5s635ms 5s635ms May 27 00 1 5s814ms 5s814ms 02 5 19s635ms 3s927ms 03 12 56s664ms 4s722ms 04 8 30s784ms 3s848ms 05 11 20s924ms 1s902ms 06 4 17s742ms 4s435ms 07 3 16s796ms 5s598ms 08 4 17s94ms 4s273ms 09 4 22s674ms 5s668ms 10 4 8s929ms 2s232ms 11 8 35s294ms 4s411ms 12 11 44s628ms 4s57ms 13 15 1m8s 4s538ms 14 8 27s675ms 3s459ms 15 6 28s47ms 4s674ms 16 15 1m10s 4s719ms 17 14 52s155ms 3s725ms 18 13 49s509ms 3s808ms 21 6 17s850ms 2s975ms 22 10 42s801ms 4s280ms 23 15 1m17s 5s186ms May 28 00 11 48s350ms 4s395ms 07 3 3s270ms 1s90ms 08 2 2s35ms 1s17ms 09 1 5s319ms 5s319ms 10 1 4s972ms 4s972ms 11 1 4s941ms 4s941ms 14 3 7s94ms 2s364ms 15 8 24s119ms 3s14ms 18 1 1s49ms 1s49ms 21 2 2s83ms 1s41ms 22 11 41s51ms 3s731ms 23 15 54s57ms 3s603ms May 29 00 12 44s697ms 3s724ms 01 4 18s618ms 4s654ms 02 4 12s934ms 3s233ms 03 3 7s725ms 2s575ms 05 8 25s133ms 3s141ms 08 1 1s41ms 1s41ms 10 3 3s474ms 1s158ms 11 6 16s901ms 2s816ms 12 14 1m4s 4s617ms 13 15 1m33s 6s215ms 14 10 57s94ms 5s709ms 15 8 37s92ms 4s636ms 16 12 1m2s 5s178ms 17 4 20s69ms 5s17ms 18 7 29s4ms 4s143ms 19 13 46s826ms 3s602ms 20 15 1m4s 4s302ms 21 17 1m15s 4s462ms May 30 04 8 27s804ms 3s475ms 05 3 3s107ms 1s35ms 07 3 3s347ms 1s115ms 08 6 19s758ms 3s293ms 09 1 5s890ms 5s890ms 10 2 11s679ms 5s839ms 11 8 25s130ms 3s141ms 13 12 1m14s 6s215ms 14 14 46s990ms 3s356ms 15 49 8m53s 10s889ms 16 58 7m25s 7s689ms 17 87 22m15s 15s350ms 18 30 10m23s 20s770ms 19 55 11m20s 12s368ms 20 91 27m22s 18s53ms 22 19 3m41s 11s683ms 23 147 1h1m27s 25s87ms May 31 00 130 1h42s 28s19ms 05 6 6s574ms 1s95ms 07 1 5s927ms 5s927ms 09 2 11s646ms 5s823ms 11 15 1m12s 4s850ms 12 8 41s68ms 5s133ms 13 2 6s312ms 3s156ms 14 1 6s609ms 6s609ms 16 1 1s68ms 1s68ms 19 1 1s60ms 1s60ms 20 3 7s952ms 2s650ms 21 1 1s23ms 1s23ms [ User: pubeu - Total duration: 1h45m39s - Times executed: 470 ]
[ User: qaeu - Total duration: 7s672ms - Times executed: 7 ]
-
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 = '1400897' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-05-30 18:05:24 Duration: 41s567ms 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 = '1378971' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-05-30 18:05:28 Duration: 38s359ms 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 = '1414204' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-05-31 00:25:34 Duration: 35s962ms Database: ctdprd51 User: pubeu Bind query: yes
14 1,095 23m38s 1s 2s842ms 1s295ms select count(*) from chem_disease cd where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?);Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration May 30 15 23 31s713ms 1s378ms 17 125 2m46s 1s331ms 18 38 55s551ms 1s461ms 19 72 1m34s 1s315ms 20 168 3m43s 1s331ms 22 18 22s186ms 1s232ms 23 409 8m35s 1s261ms May 31 00 242 5m8s 1s275ms [ User: pubeu - Total duration: 3m48s - Times executed: 188 ]
-
SELECT /* ChemDiseaseAssnsDAO.rowCount */ COUNT(*) FROM chem_disease cd WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1411566');
Date: 2025-05-30 20:00:41 Duration: 2s842ms Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO.rowCount */ COUNT(*) FROM chem_disease cd WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1411566');
Date: 2025-05-30 17:57:19 Duration: 2s568ms Bind query: yes
-
SELECT /* ChemDiseaseAssnsDAO.rowCount */ COUNT(*) FROM chem_disease cd WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1451245');
Date: 2025-05-30 17:45:07 Duration: 2s422ms Bind query: yes
15 1,090 7h27m56s 1s5ms 2m30s 24s657ms 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 #15
Day Hour Count Duration Avg duration May 25 00 7 1m10s 10s37ms 01 2 2s966ms 1s483ms 02 1 3s114ms 3s114ms 03 1 2s776ms 2s776ms 04 2 8s7ms 4s3ms 05 3 7s401ms 2s467ms 06 3 28s391ms 9s463ms 08 2 4s780ms 2s390ms 09 3 59s763ms 19s921ms 10 1 4s114ms 4s114ms 11 4 32s56ms 8s14ms May 26 08 3 5s528ms 1s842ms 09 1 3s186ms 3s186ms 10 3 27s900ms 9s300ms 11 1 3s496ms 3s496ms 13 1 2s970ms 2s970ms 14 1 23s135ms 23s135ms 15 2 23s41ms 11s520ms 16 1 1s513ms 1s513ms 17 1 8s381ms 8s381ms 19 1 3s976ms 3s976ms 20 2 20s71ms 10s35ms 23 4 7s581ms 1s895ms May 27 00 1 3s90ms 3s90ms 01 1 8s566ms 8s566ms 02 1 3s524ms 3s524ms 03 2 24s568ms 12s284ms 04 2 23s371ms 11s685ms 05 2 2s859ms 1s429ms 06 3 59s94ms 19s698ms 07 1 1s927ms 1s927ms 08 2 42s119ms 21s59ms 09 1 2s682ms 2s682ms 12 17 4m4s 14s385ms 13 8 1m32s 11s598ms 14 6 42s838ms 7s139ms 15 16 3m4s 11s553ms 16 20 4m45s 14s287ms 17 19 4m44s 14s957ms 18 16 3m2s 11s419ms 21 4 45s637ms 11s409ms 22 15 2m54s 11s605ms 23 24 4m4s 10s203ms May 28 00 9 1m9s 7s764ms 07 1 22s311ms 22s311ms 14 2 2s645ms 1s322ms 15 2 3s102ms 1s551ms 17 1 21s808ms 21s808ms 18 3 8s566ms 2s855ms 19 1 2s73ms 2s73ms 20 1 1s102ms 1s102ms 21 1 1s394ms 1s394ms 22 1 12s290ms 12s290ms 23 2 3s806ms 1s903ms May 29 00 1 3s357ms 3s357ms 01 3 7s409ms 2s469ms 03 3 32s610ms 10s870ms 04 1 7s861ms 7s861ms 07 2 2s811ms 1s405ms 09 2 49s145ms 24s572ms 11 2 6s309ms 3s154ms 12 8 19s815ms 2s476ms 13 13 1m23s 6s448ms 14 6 48s668ms 8s111ms 15 19 4m22s 13s825ms 16 16 2m54s 10s887ms 17 16 2m29s 9s322ms 18 9 1m37s 10s814ms 19 6 40s251ms 6s708ms 20 11 2m10s 11s828ms 21 10 1m49s 10s943ms May 30 03 1 3s409ms 3s409ms 08 1 1s804ms 1s804ms 11 1 3s816ms 3s816ms 12 1 18s594ms 18s594ms 13 13 3m12s 14s782ms 14 8 56s682ms 7s85ms 15 48 16m 20s16ms 16 61 15m30s 15s248ms 17 116 52m16s 27s35ms 18 26 13m8s 30s317ms 19 57 16m22s 17s234ms 20 111 1h11m18s 38s545ms 22 28 7m55s 16s994ms 23 154 1h50m56s 43s226ms May 31 00 97 1h17m42s 48s65ms 12 3 44s451ms 14s817ms 16 1 1s457ms 1s457ms [ User: pubeu - Total duration: 3h2m41s - Times executed: 469 ]
-
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-05-30 23:29:47 Duration: 2m30s 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 = '1258019') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-05-30 23:44:01 Duration: 2m13s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1258019') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-05-30 23:41:28 Duration: 2m9s Bind query: yes
16 1,055 1h11m31s 1s 1m3s 4s67ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where stressorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or exposuremarkerterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration May 25 01 5 20s227ms 4s45ms 03 2 2s236ms 1s118ms 04 2 5s675ms 2s837ms 05 1 1s64ms 1s64ms May 26 10 1 1s380ms 1s380ms 14 1 2s85ms 2s85ms 18 1 1s6ms 1s6ms May 27 00 1 2s742ms 2s742ms 12 3 3s667ms 1s222ms 13 2 5s137ms 2s568ms 14 7 10s206ms 1s458ms 15 3 7s394ms 2s464ms 16 10 42s456ms 4s245ms 17 5 11s773ms 2s354ms 18 5 40s398ms 8s79ms 21 2 2s329ms 1s164ms 22 5 6s489ms 1s297ms 23 1 1s43ms 1s43ms May 28 00 4 5s783ms 1s445ms 13 1 8s336ms 8s336ms 21 1 1s198ms 1s198ms 23 1 1s206ms 1s206ms May 29 00 1 1s118ms 1s118ms 03 5 6s364ms 1s272ms 11 1 2s97ms 2s97ms 12 2 7s145ms 3s572ms 13 5 11s555ms 2s311ms 14 5 24s113ms 4s822ms 15 11 24s733ms 2s248ms 16 5 50s519ms 10s103ms 17 4 22s196ms 5s549ms 18 2 2s147ms 1s73ms 19 3 5s57ms 1s685ms 20 11 33s671ms 3s61ms 21 2 2s626ms 1s313ms May 30 12 1 1s145ms 1s145ms 13 5 9s158ms 1s831ms 14 1 1s121ms 1s121ms 15 62 2m41s 2s602ms 16 66 2m42s 2s463ms 17 129 7m23s 3s439ms 18 43 3m2s 4s234ms 19 95 5m14s 3s315ms 20 141 8m33s 3s639ms 22 32 1m45s 3s292ms 23 187 16m6s 5s170ms May 31 00 161 17m18s 6s452ms 07 1 1s516ms 1s516ms 08 1 1s95ms 1s95ms 11 6 8s225ms 1s370ms 12 3 3s251ms 1s83ms [ User: pubeu - Total duration: 31m29s - Times executed: 534 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1411566') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1411566') 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-05-31 00:41:35 Duration: 1m3s Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1411566') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1411566') 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-05-31 00:41:48 Duration: 1m1s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1411566') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1411566') 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-05-30 20:01:36 Duration: 45s560ms Bind query: yes
17 936 7h2m59s 1s13ms 4m31s 27s115ms 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 #17
Day Hour Count Duration Avg duration May 25 00 9 2m34s 17s207ms 01 6 1m57s 19s570ms 02 24 7m48s 19s519ms 03 13 4m57s 22s919ms 04 19 5m38s 17s815ms 05 11 3m29s 19s70ms 06 15 4m15s 17s12ms 07 22 6m9s 16s815ms 08 13 3m4s 14s200ms 09 1 7s96ms 7s96ms 10 17 4m49s 17s40ms 11 4 51s482ms 12s870ms May 26 03 4 57s737ms 14s434ms 08 9 2m29s 16s590ms 09 7 1m40s 14s331ms 10 9 2m36s 17s349ms 11 3 54s448ms 18s149ms 12 4 49s624ms 12s406ms 13 12 3m27s 17s276ms 14 16 5m37s 21s115ms 15 12 3m39s 18s295ms 16 6 1m29s 14s875ms 17 10 1m54s 11s447ms 18 7 1m46s 15s268ms 19 11 3m28s 18s999ms 20 9 2m36s 17s417ms 21 18 4m49s 16s68ms 22 18 8m4s 26s904ms 23 4 50s667ms 12s666ms May 27 00 6 1m38s 16s440ms 01 7 5m2s 43s164ms 02 8 2m13s 16s672ms 03 2 21s236ms 10s618ms 04 9 2m29s 16s642ms 05 18 7m16s 24s269ms 06 11 3m14s 17s652ms 08 8 2m11s 16s411ms 09 13 4m32s 20s929ms 10 9 3m 20s8ms 11 3 14s802ms 4s934ms 12 13 3m23s 15s621ms 14 14 5m44s 24s593ms 15 12 3m8s 15s735ms 16 12 9m8s 45s727ms 17 12 3m50s 19s239ms 18 12 3m14s 16s226ms 22 12 4m51s 24s285ms 23 6 1m40s 16s682ms May 28 22 3 59s713ms 19s904ms 23 8 1m51s 13s935ms May 29 00 15 6m47s 27s139ms 01 16 4m22s 16s418ms 02 10 1m46s 10s694ms 03 3 55s814ms 18s604ms 11 9 2m40s 17s816ms 12 2 43s777ms 21s888ms 13 8 3m6s 23s252ms 14 5 1m55s 23s74ms 15 11 4m33s 24s826ms 17 10 5m9s 30s917ms 18 4 1m51s 27s982ms 19 7 1m47s 15s425ms 20 3 2m23s 47s958ms 21 2 47s886ms 23s943ms May 30 03 21 8m45s 25s46ms 04 8 2m16s 17s83ms 08 9 2m27s 16s414ms 09 6 1m34s 15s682ms 10 4 1m3s 15s938ms 11 10 2m26s 14s605ms 15 1 1s907ms 1s907ms 16 5 4m2s 48s504ms 17 27 38m27s 1m25s 18 4 10m29s 2m37s 19 5 2m35s 31s131ms 20 10 30m46s 3m4s 22 6 5m44s 57s362ms 23 15 35m40s 2m22s May 31 00 11 22m40s 2m3s 05 3 53s370ms 17s790ms 06 6 1m35s 15s839ms 07 10 2m25s 14s503ms 08 14 4m 17s201ms 09 8 2m12s 16s599ms 10 12 5m10s 25s868ms 11 17 6m22s 22s491ms 12 6 2m18s 23s139ms 13 12 2m57s 14s808ms 14 6 2m54s 29s98ms 15 9 2m5s 13s966ms 16 9 2m 13s411ms 17 15 4m25s 17s718ms 18 4 50s497ms 12s624ms 19 7 1m36s 13s758ms 20 5 1m22s 16s467ms 21 16 4m4s 15s300ms 22 11 2m56s 16s68ms 23 8 1m45s 13s183ms [ User: pubeu - Total duration: 2h13m40s - Times executed: 258 ]
-
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 = '2104248') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-05-30 20:03:03 Duration: 4m31s 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 = '2103081') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-05-30 20:04:01 Duration: 4m15s 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 = '2103081') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-05-30 20:04:33 Duration: 4m12s Bind query: yes
18 828 44m32s 1s 17s980ms 3s227ms 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 #18
Day Hour Count Duration Avg duration May 25 00 1 1s475ms 1s475ms 01 1 2s743ms 2s743ms 05 2 4s60ms 2s30ms 06 3 5s207ms 1s735ms 07 2 2s308ms 1s154ms 08 4 6s464ms 1s616ms 09 3 4s154ms 1s384ms 10 3 3s205ms 1s68ms May 26 12 1 1s493ms 1s493ms 13 1 1s144ms 1s144ms 15 1 1s860ms 1s860ms 19 3 5s521ms 1s840ms 22 1 1s710ms 1s710ms May 27 00 1 2s380ms 2s380ms 04 2 3s479ms 1s739ms 05 1 1s471ms 1s471ms 06 1 1s710ms 1s710ms 07 3 5s937ms 1s979ms 08 1 1s428ms 1s428ms 11 2 2s507ms 1s253ms 13 12 24s388ms 2s32ms 14 6 6s966ms 1s161ms 15 9 14s311ms 1s590ms 16 11 20s447ms 1s858ms 17 10 20s864ms 2s86ms 18 8 12s926ms 1s615ms 21 2 3s590ms 1s795ms 22 10 17s125ms 1s712ms 23 16 25s488ms 1s593ms May 28 00 5 8s24ms 1s604ms 16 1 1s107ms 1s107ms 22 1 1s225ms 1s225ms May 29 00 1 2s526ms 2s526ms 03 1 1s165ms 1s165ms 09 1 2s505ms 2s505ms 11 6 9s562ms 1s593ms 12 2 3s289ms 1s644ms 13 5 8s612ms 1s722ms 14 11 21s270ms 1s933ms 15 15 24s327ms 1s621ms 16 15 27s917ms 1s861ms 17 7 13s162ms 1s880ms 18 2 3s806ms 1s903ms 19 8 13s451ms 1s681ms 20 16 26s365ms 1s647ms 21 4 7s392ms 1s848ms May 30 04 1 2s518ms 2s518ms 08 1 1s283ms 1s283ms 11 3 4s347ms 1s449ms 13 6 12s384ms 2s64ms 14 2 3s216ms 1s608ms 15 36 1m35s 2s660ms 16 45 1m26s 1s924ms 17 90 5m49s 3s883ms 18 18 1m30s 5s13ms 19 50 3m6s 3s734ms 20 82 6m23s 4s671ms 21 1 1s390ms 1s390ms 22 23 1m17s 3s369ms 23 143 9m46s 4s98ms May 31 00 95 6m32s 4s127ms 11 8 14s458ms 1s807ms 12 2 3s75ms 1s537ms [ User: pubeu - Total duration: 18m28s - Times executed: 358 ]
-
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-05-30 18:06:29 Duration: 17s980ms 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-05-30 20:10:36 Duration: 16s493ms 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-05-30 20:07:13 Duration: 16s402ms Bind query: yes
19 812 2d17h23m6s 1s39ms 1h5m58s 4m49s 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 #19
Day Hour Count Duration Avg duration May 25 00 4 10m28s 2m37s 01 3 37m12s 12m24s 02 2 13m43s 6m51s 03 1 1s812ms 1s812ms 04 3 6s82ms 2s27ms 05 3 4m45s 1m35s 06 5 3m47s 45s458ms 08 4 29m45s 7m26s 10 1 1s773ms 1s773ms 11 2 3m37s 1m48s May 26 02 1 2s183ms 2s183ms 03 2 7s110ms 3s555ms 04 1 7m10s 7m10s 08 1 4m29s 4m29s 10 1 3s284ms 3s284ms 11 3 4s954ms 1s651ms 14 1 1s635ms 1s635ms 16 2 5s336ms 2s668ms 17 2 5s458ms 2s729ms 18 2 1m21s 40s594ms May 27 00 1 1s803ms 1s803ms 02 1 1s618ms 1s618ms 03 3 9m19s 3m6s 04 4 41m1s 10m15s 05 1 2s509ms 2s509ms 06 2 1m59s 59s705ms 08 1 1s766ms 1s766ms 09 3 11m58s 3m59s 10 2 13m52s 6m56s 11 4 6m36s 1m39s 12 5 8m16s 1m39s 13 9 39m44s 4m24s 14 10 56m21s 5m38s 15 10 1h16m25s 7m38s 16 15 2h7m5s 8m28s 17 11 50m23s 4m34s 18 18 32m31s 1m48s 21 1 3s427ms 3s427ms 22 9 4m56s 32s925ms 23 14 57m7s 4m4s May 28 00 15 1h33m29s 6m13s 10 3 5s488ms 1s829ms 11 1 1s605ms 1s605ms 12 2 10m13s 5m6s 13 2 4s453ms 2s226ms 14 1 3s205ms 3s205ms 16 2 3s874ms 1s937ms 20 1 3m9s 3m9s 22 1 3s494ms 3s494ms 23 1 3m19s 3m19s May 29 01 1 4s777ms 4s777ms 02 2 5m47s 2m53s 03 1 7s863ms 7s863ms 04 2 10m9s 5m4s 06 1 4s444ms 4s444ms 07 1 1s704ms 1s704ms 10 1 2s83ms 2s83ms 11 6 15m57s 2m39s 12 9 11m1s 1m13s 13 15 1h41m56s 6m47s 14 15 1h18m6s 5m12s 15 10 1h23m47s 8m22s 16 12 15m41s 1m18s 17 17 1h16m38s 4m30s 18 3 5m8s 1m42s 19 7 45m58s 6m34s 20 17 1h28m54s 5m13s 21 13 37m1s 2m50s May 30 03 1 18m11s 18m11s 11 2 5s539ms 2s769ms 13 7 13m29s 1m55s 14 4 2m24s 36s50ms 15 33 2h6m13s 3m49s 16 45 1h53m57s 2m31s 17 51 3h36m2s 4m14s 18 29 3h52m9s 8m 19 60 1h3m52s 1m3s 20 84 8h6m3s 5m47s 21 3 1h2m25s 20m48s 22 6 52s299ms 8s716ms 23 83 5h39m39s 4m5s May 31 00 66 13h19m50s 12m7s 01 3 1h8m8s 22m42s 06 1 1s851ms 1s851ms 11 2 3s608ms 1s804ms 12 2 37m39s 18m49s [ User: pubeu - Total duration: 20h59m34s - Times executed: 314 ]
-
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-05-31 00:05:40 Duration: 1h5m58s 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 = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-05-31 00:20:12 Duration: 1h5m34s 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-05-31 00:49:21 Duration: 1h23s Bind query: yes
20 760 3h27m35s 1s16ms 1m34s 16s388ms select distinct associatedterm.nm || ? || o.cd || ? || associatedterm.nm_html || ? || associatedterm.acc_txt || ? || associatedterm.acc_db_cd as associatedterm, associatedterm.id associatedtermid, ptr.ixn_id ixnid, associatedterm.object_type_id || ? || associatedterm.nm_sort associatedtermnmsort, coalesce(associatedterm.secondary_nm, ?) casrn, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotype, phenotypeterm.id phenotypeid, ( select string_agg(distinct taxonterm.nm || ? || ? || ? || taxonterm.nm_html || ? || taxonterm.acc_txt || ? || taxonterm.acc_db_cd || ? || coalesce(taxonterm.secondary_nm, ?), ?)) as taxonterms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || ia.level_seq || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, count(distinct taxonterm.nm) taxoncount, i.ixn_prose_html ixnprosehtml, i.ixn_prose_txt ixnprose, i.sort_txt ixnsort, ( select string_agg(distinct r.acc_txt, ?)) as references, count(distinct ptr.reference_id) refcount, pt.indirect_term_qty inferredcount, count(*) over () fullrowcount from phenotype_term_reference ptr inner join phenotype_term pt on ptr.term_id = pt.term_id and ptr.phenotype_id = pt.phenotype_id inner join term associatedterm on ptr.term_id = associatedterm.id inner join term phenotypeterm on ptr.phenotype_id = phenotypeterm.id left outer join term taxonterm on ptr.taxon_id = taxonterm.id inner join reference r on ptr.reference_id = r.id inner join ixn i on ptr.ixn_id = i.id inner join object_type o on associatedterm.object_type_id = o.id left outer join ixn_anatomy ia on ptr.ixn_id = ia.ixn_id left outer join term anatomyterm on ia.anatomy_id = anatomyterm.id where phenotypeterm.id = any (array (( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?))) and associatedterm.object_type_id = ? group by associatedterm, associatedtermnmsort, phenotype, casrn, ixnid, ixnprosehtml, ixnprose, ixnsort, associatedtermid, phenotypeid, inferredcount order by associatedtermnmsort limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration May 25 00 2 4s816ms 2s408ms 02 3 32s485ms 10s828ms 03 3 40s331ms 13s443ms 04 2 4s996ms 2s498ms 05 2 20s447ms 10s223ms 06 1 6s162ms 6s162ms 07 3 19s422ms 6s474ms 09 2 8s770ms 4s385ms 10 2 2s396ms 1s198ms 11 2 21s84ms 10s542ms May 26 09 1 1s107ms 1s107ms 10 1 5s647ms 5s647ms 11 3 12s277ms 4s92ms 12 2 33s428ms 16s714ms 16 1 11s551ms 11s551ms 18 1 5s663ms 5s663ms 20 3 12s897ms 4s299ms 21 1 1s109ms 1s109ms 22 2 2s123ms 1s61ms 23 2 2s456ms 1s228ms May 27 00 1 6s238ms 6s238ms 01 1 1s185ms 1s185ms 02 5 39s891ms 7s978ms 04 1 16s741ms 16s741ms 05 3 9s922ms 3s307ms 06 3 36s552ms 12s184ms 08 2 19s728ms 9s864ms 09 3 7s366ms 2s455ms 11 2 18s196ms 9s98ms 12 3 14s764ms 4s921ms 13 6 45s492ms 7s582ms 14 11 2m34s 14s2ms 15 16 2m45s 10s332ms 16 12 1m4s 5s384ms 17 10 38s705ms 3s870ms 18 10 1m3s 6s371ms 21 3 36s785ms 12s261ms 22 5 41s220ms 8s244ms 23 8 1m23s 10s475ms May 28 00 3 10s234ms 3s411ms 07 1 1s408ms 1s408ms 08 2 12s256ms 6s128ms 11 2 34s61ms 17s30ms 12 2 6s61ms 3s30ms 13 2 15s850ms 7s925ms 15 2 8s608ms 4s304ms 16 1 1s91ms 1s91ms 17 2 5s548ms 2s774ms 18 1 16s779ms 16s779ms 19 1 1s541ms 1s541ms 20 2 20s347ms 10s173ms May 29 00 1 11s774ms 11s774ms 01 1 1s924ms 1s924ms 03 2 21s187ms 10s593ms 09 1 1s55ms 1s55ms 10 1 16s441ms 16s441ms 11 3 11s146ms 3s715ms 12 4 1m13s 18s329ms 13 13 1m46s 8s230ms 14 5 26s809ms 5s361ms 15 9 1m21s 9s51ms 16 5 25s8ms 5s1ms 17 15 2m57s 11s822ms 18 3 5s543ms 1s847ms 19 8 1m1s 7s657ms 20 7 45s476ms 6s496ms 21 10 1m 6s92ms May 30 13 13 2m15s 10s386ms 14 4 4s718ms 1s179ms 15 46 6m36s 8s608ms 16 36 5m11s 8s645ms 17 71 21m40s 18s311ms 18 21 7m13s 20s639ms 19 59 13m26s 13s671ms 20 56 21m49s 23s382ms 22 6 50s229ms 8s371ms 23 113 1h27s 32s102ms May 31 00 66 31m58s 29s60ms 06 1 3s205ms 3s205ms 11 9 1m47s 11s961ms 12 6 1m16s 12s815ms [ User: pubeu - Total duration: 1h27m51s - Times executed: 308 ]
-
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-05-30 23:21:33 Duration: 1m34s 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 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-05-30 23:28:53 Duration: 1m33s 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-05-30 23:21:42 Duration: 1m32s Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 2h4m45s 2h4m45s 2h4m45s 1 2h4m45s select pub1.maint_term_derive_data ();Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration May 29 07 1 2h4m45s 2h4m45s -
select pub1.maint_term_derive_data ();
Date: 2025-05-29 07:45:20 Duration: 2h4m45s Bind query: yes
2 1h53m30s 1h53m30s 1h53m30s 1 1h53m30s select pub1.maint_gene_chem_ref_gene_form_refresh ();Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration May 29 03 1 1h53m30s 1h53m30s -
select pub1.maint_gene_chem_ref_gene_form_refresh ();
Date: 2025-05-29 03:41:36 Duration: 1h53m30s Bind query: yes
3 1s39ms 1h5m58s 4m49s 812 2d17h23m6s select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration May 25 00 4 10m28s 2m37s 01 3 37m12s 12m24s 02 2 13m43s 6m51s 03 1 1s812ms 1s812ms 04 3 6s82ms 2s27ms 05 3 4m45s 1m35s 06 5 3m47s 45s458ms 08 4 29m45s 7m26s 10 1 1s773ms 1s773ms 11 2 3m37s 1m48s May 26 02 1 2s183ms 2s183ms 03 2 7s110ms 3s555ms 04 1 7m10s 7m10s 08 1 4m29s 4m29s 10 1 3s284ms 3s284ms 11 3 4s954ms 1s651ms 14 1 1s635ms 1s635ms 16 2 5s336ms 2s668ms 17 2 5s458ms 2s729ms 18 2 1m21s 40s594ms May 27 00 1 1s803ms 1s803ms 02 1 1s618ms 1s618ms 03 3 9m19s 3m6s 04 4 41m1s 10m15s 05 1 2s509ms 2s509ms 06 2 1m59s 59s705ms 08 1 1s766ms 1s766ms 09 3 11m58s 3m59s 10 2 13m52s 6m56s 11 4 6m36s 1m39s 12 5 8m16s 1m39s 13 9 39m44s 4m24s 14 10 56m21s 5m38s 15 10 1h16m25s 7m38s 16 15 2h7m5s 8m28s 17 11 50m23s 4m34s 18 18 32m31s 1m48s 21 1 3s427ms 3s427ms 22 9 4m56s 32s925ms 23 14 57m7s 4m4s May 28 00 15 1h33m29s 6m13s 10 3 5s488ms 1s829ms 11 1 1s605ms 1s605ms 12 2 10m13s 5m6s 13 2 4s453ms 2s226ms 14 1 3s205ms 3s205ms 16 2 3s874ms 1s937ms 20 1 3m9s 3m9s 22 1 3s494ms 3s494ms 23 1 3m19s 3m19s May 29 01 1 4s777ms 4s777ms 02 2 5m47s 2m53s 03 1 7s863ms 7s863ms 04 2 10m9s 5m4s 06 1 4s444ms 4s444ms 07 1 1s704ms 1s704ms 10 1 2s83ms 2s83ms 11 6 15m57s 2m39s 12 9 11m1s 1m13s 13 15 1h41m56s 6m47s 14 15 1h18m6s 5m12s 15 10 1h23m47s 8m22s 16 12 15m41s 1m18s 17 17 1h16m38s 4m30s 18 3 5m8s 1m42s 19 7 45m58s 6m34s 20 17 1h28m54s 5m13s 21 13 37m1s 2m50s May 30 03 1 18m11s 18m11s 11 2 5s539ms 2s769ms 13 7 13m29s 1m55s 14 4 2m24s 36s50ms 15 33 2h6m13s 3m49s 16 45 1h53m57s 2m31s 17 51 3h36m2s 4m14s 18 29 3h52m9s 8m 19 60 1h3m52s 1m3s 20 84 8h6m3s 5m47s 21 3 1h2m25s 20m48s 22 6 52s299ms 8s716ms 23 83 5h39m39s 4m5s May 31 00 66 13h19m50s 12m7s 01 3 1h8m8s 22m42s 06 1 1s851ms 1s851ms 11 2 3s608ms 1s804ms 12 2 37m39s 18m49s [ User: pubeu - Total duration: 20h59m34s - Times executed: 314 ]
-
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-05-31 00:05:40 Duration: 1h5m58s 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 = '1258019') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-05-31 00:20:12 Duration: 1h5m34s 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-05-31 00:49:21 Duration: 1h23s Bind query: yes
4 1s 27m46s 1m7s 462 8h39m30s 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 May 25 02 3 3m40s 1m13s 04 2 1m6s 33s428ms May 27 02 3 2m51s 57s100ms 14 1 2s762ms 2s762ms 15 2 1m15s 37s928ms 17 3 1m51s 37s27ms 18 2 1m20s 40s28ms 22 3 3m19s 1m6s 23 5 1m5s 13s26ms May 28 00 4 2m34s 38s564ms 09 1 2s69ms 2s69ms May 29 02 3 4m37s 1m32s 03 20 1h53m6s 5m39s 12 5 2m18s 27s769ms 13 1 1m2s 1m2s 15 2 4s602ms 2s301ms 19 1 1m 1m 20 1 1s970ms 1s970ms 21 1 2s605ms 2s605ms May 30 11 2 34s612ms 17s306ms 15 12 20m34s 1m42s 16 14 17m58s 1m17s 17 40 1h10s 1m30s 18 22 37m27s 1m42s 19 36 1m4s 1s797ms 20 51 52m54s 1m2s 22 12 5m57s 29s764ms 23 134 1h16m54s 34s433ms May 31 00 72 1h38m8s 1m21s 12 4 6m21s 1m35s [ User: pubeu - Total duration: 4h43m13s - Times executed: 173 ]
-
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 = '1449721')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-05-31 00:40:10 Duration: 27m46s 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 = '1449721')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-05-30 20:21:14 Duration: 19m 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 = '1301053')) ORDER BY r.sort_txt LIMIT 50;
Date: 2025-05-31 00:19:37 Duration: 17m7s Bind query: yes
5 1s13ms 4m31s 27s115ms 936 7h2m59s 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 May 25 00 9 2m34s 17s207ms 01 6 1m57s 19s570ms 02 24 7m48s 19s519ms 03 13 4m57s 22s919ms 04 19 5m38s 17s815ms 05 11 3m29s 19s70ms 06 15 4m15s 17s12ms 07 22 6m9s 16s815ms 08 13 3m4s 14s200ms 09 1 7s96ms 7s96ms 10 17 4m49s 17s40ms 11 4 51s482ms 12s870ms May 26 03 4 57s737ms 14s434ms 08 9 2m29s 16s590ms 09 7 1m40s 14s331ms 10 9 2m36s 17s349ms 11 3 54s448ms 18s149ms 12 4 49s624ms 12s406ms 13 12 3m27s 17s276ms 14 16 5m37s 21s115ms 15 12 3m39s 18s295ms 16 6 1m29s 14s875ms 17 10 1m54s 11s447ms 18 7 1m46s 15s268ms 19 11 3m28s 18s999ms 20 9 2m36s 17s417ms 21 18 4m49s 16s68ms 22 18 8m4s 26s904ms 23 4 50s667ms 12s666ms May 27 00 6 1m38s 16s440ms 01 7 5m2s 43s164ms 02 8 2m13s 16s672ms 03 2 21s236ms 10s618ms 04 9 2m29s 16s642ms 05 18 7m16s 24s269ms 06 11 3m14s 17s652ms 08 8 2m11s 16s411ms 09 13 4m32s 20s929ms 10 9 3m 20s8ms 11 3 14s802ms 4s934ms 12 13 3m23s 15s621ms 14 14 5m44s 24s593ms 15 12 3m8s 15s735ms 16 12 9m8s 45s727ms 17 12 3m50s 19s239ms 18 12 3m14s 16s226ms 22 12 4m51s 24s285ms 23 6 1m40s 16s682ms May 28 22 3 59s713ms 19s904ms 23 8 1m51s 13s935ms May 29 00 15 6m47s 27s139ms 01 16 4m22s 16s418ms 02 10 1m46s 10s694ms 03 3 55s814ms 18s604ms 11 9 2m40s 17s816ms 12 2 43s777ms 21s888ms 13 8 3m6s 23s252ms 14 5 1m55s 23s74ms 15 11 4m33s 24s826ms 17 10 5m9s 30s917ms 18 4 1m51s 27s982ms 19 7 1m47s 15s425ms 20 3 2m23s 47s958ms 21 2 47s886ms 23s943ms May 30 03 21 8m45s 25s46ms 04 8 2m16s 17s83ms 08 9 2m27s 16s414ms 09 6 1m34s 15s682ms 10 4 1m3s 15s938ms 11 10 2m26s 14s605ms 15 1 1s907ms 1s907ms 16 5 4m2s 48s504ms 17 27 38m27s 1m25s 18 4 10m29s 2m37s 19 5 2m35s 31s131ms 20 10 30m46s 3m4s 22 6 5m44s 57s362ms 23 15 35m40s 2m22s May 31 00 11 22m40s 2m3s 05 3 53s370ms 17s790ms 06 6 1m35s 15s839ms 07 10 2m25s 14s503ms 08 14 4m 17s201ms 09 8 2m12s 16s599ms 10 12 5m10s 25s868ms 11 17 6m22s 22s491ms 12 6 2m18s 23s139ms 13 12 2m57s 14s808ms 14 6 2m54s 29s98ms 15 9 2m5s 13s966ms 16 9 2m 13s411ms 17 15 4m25s 17s718ms 18 4 50s497ms 12s624ms 19 7 1m36s 13s758ms 20 5 1m22s 16s467ms 21 16 4m4s 15s300ms 22 11 2m56s 16s68ms 23 8 1m45s 13s183ms [ User: pubeu - Total duration: 2h13m40s - Times executed: 258 ]
-
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 = '2104248') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-05-30 20:03:03 Duration: 4m31s 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 = '2103081') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-05-30 20:04:01 Duration: 4m15s 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 = '2103081') ORDER BY g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-05-30 20:04:33 Duration: 4m12s Bind query: yes
6 1s5ms 2m30s 24s657ms 1,090 7h27m56s 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 #6
Day Hour Count Duration Avg duration May 25 00 7 1m10s 10s37ms 01 2 2s966ms 1s483ms 02 1 3s114ms 3s114ms 03 1 2s776ms 2s776ms 04 2 8s7ms 4s3ms 05 3 7s401ms 2s467ms 06 3 28s391ms 9s463ms 08 2 4s780ms 2s390ms 09 3 59s763ms 19s921ms 10 1 4s114ms 4s114ms 11 4 32s56ms 8s14ms May 26 08 3 5s528ms 1s842ms 09 1 3s186ms 3s186ms 10 3 27s900ms 9s300ms 11 1 3s496ms 3s496ms 13 1 2s970ms 2s970ms 14 1 23s135ms 23s135ms 15 2 23s41ms 11s520ms 16 1 1s513ms 1s513ms 17 1 8s381ms 8s381ms 19 1 3s976ms 3s976ms 20 2 20s71ms 10s35ms 23 4 7s581ms 1s895ms May 27 00 1 3s90ms 3s90ms 01 1 8s566ms 8s566ms 02 1 3s524ms 3s524ms 03 2 24s568ms 12s284ms 04 2 23s371ms 11s685ms 05 2 2s859ms 1s429ms 06 3 59s94ms 19s698ms 07 1 1s927ms 1s927ms 08 2 42s119ms 21s59ms 09 1 2s682ms 2s682ms 12 17 4m4s 14s385ms 13 8 1m32s 11s598ms 14 6 42s838ms 7s139ms 15 16 3m4s 11s553ms 16 20 4m45s 14s287ms 17 19 4m44s 14s957ms 18 16 3m2s 11s419ms 21 4 45s637ms 11s409ms 22 15 2m54s 11s605ms 23 24 4m4s 10s203ms May 28 00 9 1m9s 7s764ms 07 1 22s311ms 22s311ms 14 2 2s645ms 1s322ms 15 2 3s102ms 1s551ms 17 1 21s808ms 21s808ms 18 3 8s566ms 2s855ms 19 1 2s73ms 2s73ms 20 1 1s102ms 1s102ms 21 1 1s394ms 1s394ms 22 1 12s290ms 12s290ms 23 2 3s806ms 1s903ms May 29 00 1 3s357ms 3s357ms 01 3 7s409ms 2s469ms 03 3 32s610ms 10s870ms 04 1 7s861ms 7s861ms 07 2 2s811ms 1s405ms 09 2 49s145ms 24s572ms 11 2 6s309ms 3s154ms 12 8 19s815ms 2s476ms 13 13 1m23s 6s448ms 14 6 48s668ms 8s111ms 15 19 4m22s 13s825ms 16 16 2m54s 10s887ms 17 16 2m29s 9s322ms 18 9 1m37s 10s814ms 19 6 40s251ms 6s708ms 20 11 2m10s 11s828ms 21 10 1m49s 10s943ms May 30 03 1 3s409ms 3s409ms 08 1 1s804ms 1s804ms 11 1 3s816ms 3s816ms 12 1 18s594ms 18s594ms 13 13 3m12s 14s782ms 14 8 56s682ms 7s85ms 15 48 16m 20s16ms 16 61 15m30s 15s248ms 17 116 52m16s 27s35ms 18 26 13m8s 30s317ms 19 57 16m22s 17s234ms 20 111 1h11m18s 38s545ms 22 28 7m55s 16s994ms 23 154 1h50m56s 43s226ms May 31 00 97 1h17m42s 48s65ms 12 3 44s451ms 14s817ms 16 1 1s457ms 1s457ms [ User: pubeu - Total duration: 3h2m41s - Times executed: 469 ]
-
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-05-30 23:29:47 Duration: 2m30s 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 = '1258019') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-05-30 23:44:01 Duration: 2m13s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GoGenesDAO */ sq.*, COUNT(*) OVER () fullRowCount FROM ( SELECT DISTINCT gt.nm gonm, gt.nm_html gonmhtml, gt.nm_sort gonmsort, gt.acc_txt goacc, gt.object_id goid, g.nm genesymbol, g.nm_sort genesymbolsort, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid FROM dag_node gt INNER JOIN gene_go_annot gga ON gt.object_id = gga.go_term_id INNER JOIN term g ON gga.gene_id = g.id WHERE gt.id IN ( SELECT p.descendant_dag_node_id FROM dag_path p WHERE p.ancestor_object_id = '1258019') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-05-30 23:41:28 Duration: 2m9s Bind query: yes
7 1s16ms 1m34s 16s388ms 760 3h27m35s 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 #7
Day Hour Count Duration Avg duration May 25 00 2 4s816ms 2s408ms 02 3 32s485ms 10s828ms 03 3 40s331ms 13s443ms 04 2 4s996ms 2s498ms 05 2 20s447ms 10s223ms 06 1 6s162ms 6s162ms 07 3 19s422ms 6s474ms 09 2 8s770ms 4s385ms 10 2 2s396ms 1s198ms 11 2 21s84ms 10s542ms May 26 09 1 1s107ms 1s107ms 10 1 5s647ms 5s647ms 11 3 12s277ms 4s92ms 12 2 33s428ms 16s714ms 16 1 11s551ms 11s551ms 18 1 5s663ms 5s663ms 20 3 12s897ms 4s299ms 21 1 1s109ms 1s109ms 22 2 2s123ms 1s61ms 23 2 2s456ms 1s228ms May 27 00 1 6s238ms 6s238ms 01 1 1s185ms 1s185ms 02 5 39s891ms 7s978ms 04 1 16s741ms 16s741ms 05 3 9s922ms 3s307ms 06 3 36s552ms 12s184ms 08 2 19s728ms 9s864ms 09 3 7s366ms 2s455ms 11 2 18s196ms 9s98ms 12 3 14s764ms 4s921ms 13 6 45s492ms 7s582ms 14 11 2m34s 14s2ms 15 16 2m45s 10s332ms 16 12 1m4s 5s384ms 17 10 38s705ms 3s870ms 18 10 1m3s 6s371ms 21 3 36s785ms 12s261ms 22 5 41s220ms 8s244ms 23 8 1m23s 10s475ms May 28 00 3 10s234ms 3s411ms 07 1 1s408ms 1s408ms 08 2 12s256ms 6s128ms 11 2 34s61ms 17s30ms 12 2 6s61ms 3s30ms 13 2 15s850ms 7s925ms 15 2 8s608ms 4s304ms 16 1 1s91ms 1s91ms 17 2 5s548ms 2s774ms 18 1 16s779ms 16s779ms 19 1 1s541ms 1s541ms 20 2 20s347ms 10s173ms May 29 00 1 11s774ms 11s774ms 01 1 1s924ms 1s924ms 03 2 21s187ms 10s593ms 09 1 1s55ms 1s55ms 10 1 16s441ms 16s441ms 11 3 11s146ms 3s715ms 12 4 1m13s 18s329ms 13 13 1m46s 8s230ms 14 5 26s809ms 5s361ms 15 9 1m21s 9s51ms 16 5 25s8ms 5s1ms 17 15 2m57s 11s822ms 18 3 5s543ms 1s847ms 19 8 1m1s 7s657ms 20 7 45s476ms 6s496ms 21 10 1m 6s92ms May 30 13 13 2m15s 10s386ms 14 4 4s718ms 1s179ms 15 46 6m36s 8s608ms 16 36 5m11s 8s645ms 17 71 21m40s 18s311ms 18 21 7m13s 20s639ms 19 59 13m26s 13s671ms 20 56 21m49s 23s382ms 22 6 50s229ms 8s371ms 23 113 1h27s 32s102ms May 31 00 66 31m58s 29s60ms 06 1 3s205ms 3s205ms 11 9 1m47s 11s961ms 12 6 1m16s 12s815ms [ User: pubeu - Total duration: 1h27m51s - Times executed: 308 ]
-
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-05-30 23:21:33 Duration: 1m34s 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 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-05-30 23:28:53 Duration: 1m33s 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-05-30 23:21:42 Duration: 1m32s Bind query: yes
8 1s 41s567ms 12s31ms 1,267 4h14m3s 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 #8
Day Hour Count Duration Avg duration May 25 00 2 15s422ms 7s711ms 01 2 12s937ms 6s468ms 02 6 30s845ms 5s140ms 03 4 21s448ms 5s362ms 04 2 6s832ms 3s416ms 05 9 23s901ms 2s655ms 06 3 17s800ms 5s933ms 07 15 1m4s 4s306ms 08 10 40s220ms 4s22ms 09 5 19s558ms 3s911ms 10 2 6s775ms 3s387ms 11 3 17s137ms 5s712ms May 26 04 1 1s383ms 1s383ms 05 2 2s25ms 1s12ms 07 3 3s122ms 1s40ms 08 4 9s433ms 2s358ms 09 1 1s73ms 1s73ms 11 4 12s932ms 3s233ms 12 9 41s231ms 4s581ms 13 6 15s948ms 2s658ms 14 1 5s239ms 5s239ms 15 2 6s991ms 3s495ms 17 1 5s587ms 5s587ms 18 2 10s694ms 5s347ms 19 1 1s36ms 1s36ms 20 7 26s657ms 3s808ms 21 1 1s55ms 1s55ms 22 2 10s819ms 5s409ms 23 1 5s635ms 5s635ms May 27 00 1 5s814ms 5s814ms 02 5 19s635ms 3s927ms 03 12 56s664ms 4s722ms 04 8 30s784ms 3s848ms 05 11 20s924ms 1s902ms 06 4 17s742ms 4s435ms 07 3 16s796ms 5s598ms 08 4 17s94ms 4s273ms 09 4 22s674ms 5s668ms 10 4 8s929ms 2s232ms 11 8 35s294ms 4s411ms 12 11 44s628ms 4s57ms 13 15 1m8s 4s538ms 14 8 27s675ms 3s459ms 15 6 28s47ms 4s674ms 16 15 1m10s 4s719ms 17 14 52s155ms 3s725ms 18 13 49s509ms 3s808ms 21 6 17s850ms 2s975ms 22 10 42s801ms 4s280ms 23 15 1m17s 5s186ms May 28 00 11 48s350ms 4s395ms 07 3 3s270ms 1s90ms 08 2 2s35ms 1s17ms 09 1 5s319ms 5s319ms 10 1 4s972ms 4s972ms 11 1 4s941ms 4s941ms 14 3 7s94ms 2s364ms 15 8 24s119ms 3s14ms 18 1 1s49ms 1s49ms 21 2 2s83ms 1s41ms 22 11 41s51ms 3s731ms 23 15 54s57ms 3s603ms May 29 00 12 44s697ms 3s724ms 01 4 18s618ms 4s654ms 02 4 12s934ms 3s233ms 03 3 7s725ms 2s575ms 05 8 25s133ms 3s141ms 08 1 1s41ms 1s41ms 10 3 3s474ms 1s158ms 11 6 16s901ms 2s816ms 12 14 1m4s 4s617ms 13 15 1m33s 6s215ms 14 10 57s94ms 5s709ms 15 8 37s92ms 4s636ms 16 12 1m2s 5s178ms 17 4 20s69ms 5s17ms 18 7 29s4ms 4s143ms 19 13 46s826ms 3s602ms 20 15 1m4s 4s302ms 21 17 1m15s 4s462ms May 30 04 8 27s804ms 3s475ms 05 3 3s107ms 1s35ms 07 3 3s347ms 1s115ms 08 6 19s758ms 3s293ms 09 1 5s890ms 5s890ms 10 2 11s679ms 5s839ms 11 8 25s130ms 3s141ms 13 12 1m14s 6s215ms 14 14 46s990ms 3s356ms 15 49 8m53s 10s889ms 16 58 7m25s 7s689ms 17 87 22m15s 15s350ms 18 30 10m23s 20s770ms 19 55 11m20s 12s368ms 20 91 27m22s 18s53ms 22 19 3m41s 11s683ms 23 147 1h1m27s 25s87ms May 31 00 130 1h42s 28s19ms 05 6 6s574ms 1s95ms 07 1 5s927ms 5s927ms 09 2 11s646ms 5s823ms 11 15 1m12s 4s850ms 12 8 41s68ms 5s133ms 13 2 6s312ms 3s156ms 14 1 6s609ms 6s609ms 16 1 1s68ms 1s68ms 19 1 1s60ms 1s60ms 20 3 7s952ms 2s650ms 21 1 1s23ms 1s23ms [ User: pubeu - Total duration: 1h45m39s - Times executed: 470 ]
[ User: qaeu - Total duration: 7s672ms - Times executed: 7 ]
-
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 = '1400897' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-05-30 18:05:24 Duration: 41s567ms 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 = '1378971' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-05-30 18:05:28 Duration: 38s359ms 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 = '1414204' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2025-05-31 00:25:34 Duration: 35s962ms Database: ctdprd51 User: pubeu Bind query: yes
9 1s1ms 1m35s 11s187ms 2,301 7h9m2s 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 May 25 00 8 24s338ms 3s42ms 01 7 24s698ms 3s528ms 02 6 12s772ms 2s128ms 03 7 28s834ms 4s119ms 04 7 25s483ms 3s640ms 05 10 48s944ms 4s894ms 06 9 48s480ms 5s386ms 07 7 18s627ms 2s661ms 08 10 36s973ms 3s697ms 09 6 18s947ms 3s157ms 10 9 35s317ms 3s924ms 11 9 28s629ms 3s181ms May 26 03 2 6s547ms 3s273ms 04 4 9s660ms 2s415ms 09 4 6s107ms 1s526ms 10 4 17s434ms 4s358ms 11 3 10s479ms 3s493ms 12 1 1s722ms 1s722ms 13 4 19s743ms 4s935ms 14 1 2s520ms 2s520ms 15 2 10s958ms 5s479ms 17 3 11s370ms 3s790ms 18 5 19s919ms 3s983ms 19 4 7s684ms 1s921ms 20 10 21s31ms 2s103ms 22 6 16s41ms 2s673ms 23 3 5s616ms 1s872ms May 27 01 3 4s891ms 1s630ms 02 4 7s19ms 1s754ms 03 3 18s163ms 6s54ms 04 4 15s269ms 3s817ms 05 1 5s346ms 5s346ms 06 2 7s198ms 3s599ms 07 5 9s292ms 1s858ms 08 3 12s922ms 4s307ms 09 3 5s3ms 1s667ms 10 1 2s456ms 2s456ms 11 5 14s431ms 2s886ms 12 15 51s731ms 3s448ms 13 25 53s472ms 2s138ms 14 18 1m27s 4s876ms 15 46 3m11s 4s161ms 16 28 2m30s 5s373ms 17 25 1m4s 2s570ms 18 27 1m26s 3s203ms 21 8 33s718ms 4s214ms 22 35 2m5s 3s572ms 23 29 1m34s 3s260ms May 28 00 20 1m13s 3s687ms 07 2 3s454ms 1s727ms 09 4 11s893ms 2s973ms 11 1 1s384ms 1s384ms 15 1 1s216ms 1s216ms 17 1 3s72ms 3s72ms 18 2 13s68ms 6s534ms 20 1 1s240ms 1s240ms May 29 01 1 1s24ms 1s24ms 02 3 16s464ms 5s488ms 04 2 5s907ms 2s953ms 05 1 2s236ms 2s236ms 07 1 1s987ms 1s987ms 08 1 4s437ms 4s437ms 10 2 6s954ms 3s477ms 11 4 13s241ms 3s310ms 12 25 1m43s 4s129ms 13 27 2m2s 4s545ms 14 29 2m12s 4s573ms 15 36 2m34s 4s297ms 16 29 1m59s 4s135ms 17 42 2m52s 4s102ms 18 12 42s316ms 3s526ms 19 20 1m5s 3s293ms 20 34 2m50s 5s22ms 21 38 2m29s 3s946ms May 30 04 2 10s760ms 5s380ms 09 2 12s485ms 6s242ms 10 2 4s836ms 2s418ms 11 11 35s561ms 3s232ms 12 1 6s447ms 6s447ms 13 19 57s2ms 3s 14 23 2m1s 5s288ms 15 99 12m23s 7s514ms 16 116 14m30s 7s506ms 17 218 48m55s 13s466ms 18 58 17m46s 18s380ms 19 131 22m40s 10s383ms 20 238 1h25s 15s233ms 21 1 2s274ms 2s274ms 22 40 8m34s 12s863ms 23 288 1h40m45s 20s991ms May 31 00 243 1h26m58s 21s474ms 06 4 46s230ms 11s557ms 11 5 16s287ms 3s257ms 12 17 1m11s 4s226ms 13 1 7s72ms 7s72ms 16 1 1s318ms 1s318ms 17 1 12s104ms 12s104ms [ User: pubeu - Total duration: 3h2m2s - Times executed: 938 ]
-
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-05-31 00:18:34 Duration: 1m35s 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-05-31 00:32:27 Duration: 1m34s 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-05-31 00:31:33 Duration: 1m33s Bind query: yes
10 1s 49s841ms 6s940ms 3,150 6h4m21s select e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, ( select string_agg(distinct stressorterm.nm || ? || ( select cd from object_type where id = stressorterm.object_type_id) || ? || stressorterm.nm_html || ? || stressorterm.acc_txt || ? || stressorterm.acc_db_cd, ?)) as stressoragents, ( select string_agg(distinct coalesce(receptorterm.nm, ?) || ? || coalesce(( select cd from object_type where id = receptorterm.object_type_id), ?) || ? || coalesce(receptorterm.nm_html, ?) || ? || coalesce(receptorterm.acc_txt, ?) || ? || coalesce(receptorterm.acc_db_cd, ?) || ? || receptor.description, ?)) as receptors, ( select string_agg(distinct country.nm, ?)) as studycountries, ( select string_agg(distinct location.locality_txt, ?)) as localities, ( select string_agg(distinct event.medium_nm || ? || coalesce(event.medium_term_acc_txt, ?), ?)) as assaymediums, ( select string_agg(distinct exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd, ?)) as assayedmarkers, ( select string_agg(distinct diseaseterm.nm || ? || ( select cd from object_type where id = diseaseterm.object_type_id) || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd, ?)) as diseases, ( select string_agg(distinct phenotypeterm.nm || ? || ( select cd from object_type where id = phenotypeterm.object_type_id) || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd, ?)) as phenotypes, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, re.author_summary summary, count(*) over () fullrowcount from exposure e inner join reference r on e.reference_id = r.id inner join exp_stressor stressor on e.exp_stressor_id = stressor.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join term receptorterm on receptor.term_id = receptorterm.id left outer join exp_event event on e.exp_event_id = event.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join exp_event_location location on e.exp_event_id = location.exp_event_id left outer join country on location.country_id = country.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id inner join reference_exp re on e.reference_id = re.reference_id left outer join exp_study_factor expstudyfactor on re.id = expstudyfactor.reference_exp_id where e.reference_id = any (array ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and chem.id = s1.chem_id and s1.id = e1.exp_stressor_id union select reference_id from exposure e1, term t, exp_event event1 where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like ?) and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressoragents limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration May 25 00 7 23s256ms 3s322ms 01 7 19s177ms 2s739ms 02 11 28s289ms 2s571ms 03 7 18s619ms 2s659ms 04 6 19s1ms 3s166ms 05 11 26s684ms 2s425ms 06 9 25s280ms 2s808ms 07 17 46s676ms 2s745ms 08 14 42s620ms 3s44ms 09 20 49s29ms 2s451ms 10 10 31s549ms 3s154ms 11 4 8s434ms 2s108ms May 26 03 2 5s450ms 2s725ms 04 1 1s 1s 08 2 6s394ms 3s197ms 09 3 11s416ms 3s805ms 10 4 13s591ms 3s397ms 11 2 4s282ms 2s141ms 12 5 11s551ms 2s310ms 13 5 15s737ms 3s147ms 14 3 10s713ms 3s571ms 15 4 12s292ms 3s73ms 16 2 5s492ms 2s746ms 17 4 13s264ms 3s316ms 18 3 10s547ms 3s515ms 19 2 5s215ms 2s607ms 20 7 21s978ms 3s139ms 21 6 14s41ms 2s340ms 22 6 11s725ms 1s954ms 23 3 10s378ms 3s459ms May 27 00 1 1s174ms 1s174ms 01 1 4s449ms 4s449ms 02 6 16s952ms 2s825ms 03 6 19s450ms 3s241ms 04 12 34s426ms 2s868ms 05 7 17s63ms 2s437ms 06 6 15s553ms 2s592ms 07 6 23s163ms 3s860ms 08 1 3s124ms 3s124ms 09 10 30s540ms 3s54ms 10 4 12s69ms 3s17ms 11 3 8s205ms 2s735ms 12 24 56s420ms 2s350ms 13 30 1m10s 2s333ms 14 21 57s854ms 2s754ms 15 23 1m12s 3s131ms 16 21 51s484ms 2s451ms 17 35 1m16s 2s189ms 18 33 1m35s 2s908ms 21 16 41s840ms 2s615ms 22 34 1m30s 2s671ms 23 38 1m38s 2s585ms May 28 00 25 52s987ms 2s119ms 07 2 5s98ms 2s549ms 08 2 6s143ms 3s71ms 10 1 2s184ms 2s184ms 11 4 10s411ms 2s602ms 12 1 4s53ms 4s53ms 13 1 4s154ms 4s154ms 14 5 12s638ms 2s527ms 15 7 19s980ms 2s854ms 16 4 8s989ms 2s247ms 17 1 3s86ms 3s86ms 18 2 5s172ms 2s586ms 19 1 3s182ms 3s182ms 20 1 3s149ms 3s149ms 21 5 18s118ms 3s623ms 22 12 34s525ms 2s877ms 23 12 39s96ms 3s258ms May 29 00 12 45s229ms 3s769ms 02 2 7s515ms 3s757ms 04 1 3s236ms 3s236ms 05 2 9s403ms 4s701ms 06 1 4s296ms 4s296ms 07 1 4s362ms 4s362ms 08 5 18s112ms 3s622ms 09 3 8s963ms 2s987ms 11 4 12s629ms 3s157ms 12 27 1m19s 2s953ms 13 52 2m28s 2s858ms 14 36 1m17s 2s143ms 15 41 1m54s 2s786ms 16 33 1m20s 2s452ms 17 37 1m39s 2s683ms 18 14 40s365ms 2s883ms 19 48 2m10s 2s712ms 20 30 1m14s 2s474ms 21 52 2m21s 2s714ms May 30 04 6 18s926ms 3s154ms 08 5 12s808ms 2s561ms 09 2 4s382ms 2s191ms 11 8 19s559ms 2s444ms 13 23 1m 2s649ms 14 23 50s 2s173ms 15 133 11m8s 5s23ms 16 171 10m32s 3s697ms 17 324 44m42s 8s278ms 18 98 14m39s 8s973ms 19 168 17m21s 6s198ms 20 310 53m39s 10s385ms 22 73 7m23s 6s78ms 23 427 1h32m54s 13s54ms May 31 00 323 1h1m26s 11s412ms 05 1 4s325ms 4s325ms 06 1 1s2ms 1s2ms 11 28 1m13s 2s608ms 12 12 30s420ms 2s535ms 20 1 1s6ms 1s6ms 21 1 4s450ms 4s450ms [ User: pubeu - Total duration: 2h26m9s - Times executed: 1299 ]
-
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-05-30 17:53:50 Duration: 49s841ms 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-05-30 20:00:10 Duration: 47s405ms 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-05-30 19:59:40 Duration: 46s866ms Bind query: yes
11 1s 41s311ms 6s385ms 2,686 4h45m51s 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 #11
Day Hour Count Duration Avg duration May 25 00 7 22s936ms 3s276ms 01 8 30s25ms 3s753ms 02 10 24s277ms 2s427ms 03 9 43s890ms 4s876ms 04 7 28s852ms 4s121ms 05 6 26s587ms 4s431ms 06 4 9s45ms 2s261ms 07 16 53s367ms 3s335ms 08 18 52s36ms 2s890ms 09 17 1m2s 3s655ms 10 1 6s532ms 6s532ms 11 6 11s732ms 1s955ms May 26 04 1 3s95ms 3s95ms 08 1 2s177ms 2s177ms 09 4 17s745ms 4s436ms 10 3 6s911ms 2s303ms 11 1 3s461ms 3s461ms 12 8 26s902ms 3s362ms 13 7 23s118ms 3s302ms 14 2 6s500ms 3s250ms 15 1 3s464ms 3s464ms 16 6 11s775ms 1s962ms 17 3 5s787ms 1s929ms 18 6 24s777ms 4s129ms 19 4 16s667ms 4s166ms 20 7 22s75ms 3s153ms 21 4 23s509ms 5s877ms 22 3 9s282ms 3s94ms May 27 00 4 14s461ms 3s615ms 01 2 5s579ms 2s789ms 02 7 19s925ms 2s846ms 03 10 31s180ms 3s118ms 04 12 43s670ms 3s639ms 05 11 35s21ms 3s183ms 06 8 23s30ms 2s878ms 07 9 23s414ms 2s601ms 08 9 26s304ms 2s922ms 09 2 6s3ms 3s1ms 10 4 17s418ms 4s354ms 11 4 9s239ms 2s309ms 12 11 38s347ms 3s486ms 13 26 1m26s 3s315ms 14 29 1m27s 3s7ms 15 36 1m46s 2s944ms 16 32 1m37s 3s46ms 17 34 1m46s 3s137ms 18 33 2m 3s659ms 21 15 50s806ms 3s387ms 22 23 1m10s 3s44ms 23 42 2m42s 3s861ms May 28 00 21 1m13s 3s507ms 08 3 9s473ms 3s157ms 09 1 2s979ms 2s979ms 10 2 9s544ms 4s772ms 11 2 9s578ms 4s789ms 12 5 19s332ms 3s866ms 13 3 11s249ms 3s749ms 14 5 16s401ms 3s280ms 15 13 42s751ms 3s288ms 16 3 4s867ms 1s622ms 17 1 2s990ms 2s990ms 18 2 4s100ms 2s50ms 19 2 8s124ms 4s62ms 20 2 9s431ms 4s715ms 21 3 11s110ms 3s703ms 22 15 39s638ms 2s642ms 23 15 1m 4s12ms May 29 00 20 1m5s 3s278ms 01 3 9s611ms 3s203ms 02 4 11s283ms 2s820ms 03 5 18s602ms 3s720ms 04 4 15s926ms 3s981ms 05 2 9s88ms 4s544ms 07 2 2s406ms 1s203ms 08 7 29s161ms 4s165ms 10 6 16s85ms 2s680ms 11 5 19s970ms 3s994ms 12 30 1m56s 3s867ms 13 26 1m37s 3s731ms 14 38 1m40s 2s645ms 15 33 1m52s 3s398ms 16 38 1m56s 3s73ms 17 41 2m28s 3s616ms 18 14 42s301ms 3s21ms 19 23 1m31s 3s975ms 20 34 1m51s 3s292ms 21 33 1m40s 3s42ms May 30 04 10 39s752ms 3s975ms 08 4 13s43ms 3s260ms 09 2 13s743ms 6s871ms 10 1 3s42ms 3s42ms 11 8 29s971ms 3s746ms 12 2 4s116ms 2s58ms 13 24 1m22s 3s425ms 14 21 1m25s 4s59ms 15 107 10m10s 5s710ms 16 136 9m7s 4s28ms 17 248 38m25s 9s296ms 18 65 9m9s 8s449ms 19 150 16m30s 6s603ms 20 258 34m18s 7s978ms 21 1 4s19ms 4s19ms 22 60 7m10s 7s172ms 23 320 55m57s 10s491ms May 31 00 227 42m34s 11s253ms 06 1 6s849ms 6s849ms 10 1 6s536ms 6s536ms 11 29 1m28s 3s68ms 12 12 39s530ms 3s294ms [ User: pubeu - Total duration: 1h49m39s - Times executed: 1031 ]
-
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-05-30 17:57:28 Duration: 41s311ms 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-05-30 20:04:07 Duration: 39s536ms 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-05-30 23:25:13 Duration: 38s631ms Bind query: yes
12 1s 19s984ms 6s28ms 3,013 5h2m43s select count(*) from gene_disease gd where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration May 25 01 8 12s752ms 1s594ms 02 3 4s709ms 1s569ms 03 3 4s748ms 1s582ms 04 1 2s621ms 2s621ms 08 9 18s33ms 2s3ms May 26 04 2 3s833ms 1s916ms 08 4 8s877ms 2s219ms 14 2 6s661ms 3s330ms 19 2 2s653ms 1s326ms 20 1 1s199ms 1s199ms 21 1 1s381ms 1s381ms 23 1 1s82ms 1s82ms May 27 00 1 1s513ms 1s513ms 04 8 14s938ms 1s867ms 05 1 2s420ms 2s420ms 09 2 2s249ms 1s124ms 11 3 6s430ms 2s143ms 12 4 7s427ms 1s856ms 13 1 1s230ms 1s230ms 14 22 44s634ms 2s28ms 15 16 32s216ms 2s13ms 16 25 52s244ms 2s89ms 17 4 7s128ms 1s782ms 18 9 16s583ms 1s842ms 22 1 1s150ms 1s150ms 23 3 6s915ms 2s305ms May 28 00 11 25s529ms 2s320ms 23 1 1s42ms 1s42ms May 29 02 5 20s808ms 4s161ms 03 3 3s96ms 1s32ms 11 1 1s142ms 1s142ms 12 2 2s737ms 1s368ms 13 25 55s573ms 2s222ms 14 16 35s18ms 2s188ms 15 42 1m26s 2s64ms 17 11 20s367ms 1s851ms 18 1 1s60ms 1s60ms 19 5 10s420ms 2s84ms 20 37 1m22s 2s230ms 21 10 20s583ms 2s58ms May 30 03 2 7s867ms 3s933ms 13 6 11s905ms 1s984ms 14 2 2s494ms 1s247ms 15 131 9m21s 4s284ms 16 154 7m1s 2s737ms 17 433 37m9s 5s149ms 18 104 8m59s 5s183ms 19 267 21m39s 4s865ms 20 460 50m9s 6s542ms 22 67 4m54s 4s398ms 23 604 1h27m38s 8s706ms May 31 00 467 1h4m35s 8s298ms 08 1 1s63ms 1s63ms 12 8 18s606ms 2s325ms [ User: pubeu - Total duration: 55m32s - Times executed: 701 ]
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2101682');
Date: 2025-05-30 20:04:09 Duration: 19s984ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2097605');
Date: 2025-05-30 18:04:46 Duration: 18s623ms Bind query: yes
-
SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2098681');
Date: 2025-05-30 17:54:14 Duration: 17s520ms Bind query: yes
13 1s 39s14ms 5s820ms 3,106 5h1m19s 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 May 25 00 3 6s38ms 2s12ms 01 21 41s658ms 1s983ms 02 13 21s678ms 1s667ms 03 19 31s183ms 1s641ms 04 13 15s215ms 1s170ms 05 7 13s701ms 1s957ms 06 4 5s525ms 1s381ms 07 4 5s121ms 1s280ms 08 13 27s900ms 2s146ms 09 2 2s450ms 1s225ms 10 6 6s730ms 1s121ms 11 2 2s21ms 1s10ms May 26 03 4 5s480ms 1s370ms 04 2 3s956ms 1s978ms 08 1 1s3ms 1s3ms 09 4 4s42ms 1s10ms 10 2 3s437ms 1s718ms 11 4 7s175ms 1s793ms 12 1 1s9ms 1s9ms 13 6 10s649ms 1s774ms 14 5 18s190ms 3s638ms 15 6 8s753ms 1s458ms 16 6 6s903ms 1s150ms 17 5 6s892ms 1s378ms 18 4 5s976ms 1s494ms 19 3 3s235ms 1s78ms 20 3 4s432ms 1s477ms 21 7 13s916ms 1s988ms 22 8 29s312ms 3s664ms 23 11 12s756ms 1s159ms May 27 00 10 11s187ms 1s118ms 01 7 11s491ms 1s641ms 02 14 25s390ms 1s813ms 03 2 2s33ms 1s16ms 04 26 53s145ms 2s44ms 05 15 36s814ms 2s454ms 06 1 3s923ms 3s923ms 08 3 4s849ms 1s616ms 09 9 14s404ms 1s600ms 10 3 4s753ms 1s584ms 11 7 15s564ms 2s223ms 12 3 4s844ms 1s614ms 13 7 11s269ms 1s609ms 14 51 1m35s 1s874ms 15 7 13s475ms 1s925ms 16 47 1m55s 2s459ms 17 6 13s767ms 2s294ms 18 30 1m6s 2s205ms 22 12 28s329ms 2s360ms 23 9 33s869ms 3s763ms May 28 00 12 27s913ms 2s326ms 08 1 1s677ms 1s677ms 09 1 3s848ms 3s848ms 10 1 3s449ms 3s449ms 11 1 5s823ms 5s823ms 15 1 2s783ms 2s783ms 17 1 1s83ms 1s83ms 22 1 1s49ms 1s49ms 23 8 9s155ms 1s144ms May 29 00 12 15s221ms 1s268ms 01 15 16s688ms 1s112ms 02 14 1m2s 4s483ms 03 31 37s55ms 1s195ms 04 1 1s43ms 1s43ms 06 2 6s892ms 3s446ms 07 1 2s866ms 2s866ms 08 1 2s180ms 2s180ms 11 2 2s214ms 1s107ms 12 2 3s55ms 1s527ms 13 34 1m21s 2s392ms 14 26 52s641ms 2s24ms 15 44 1m34s 2s159ms 16 2 4s697ms 2s348ms 17 9 19s258ms 2s139ms 18 3 10s107ms 3s369ms 19 17 45s136ms 2s655ms 20 23 1m 2s615ms 21 7 11s447ms 1s635ms May 30 03 12 12s835ms 1s69ms 04 11 11s140ms 1s12ms 08 5 5s231ms 1s46ms 09 5 5s474ms 1s94ms 10 2 2s209ms 1s104ms 11 1 2s521ms 2s521ms 13 6 21s495ms 3s582ms 14 4 9s502ms 2s375ms 15 51 3m52s 4s564ms 16 132 6m45s 3s68ms 17 353 38m23s 6s524ms 18 75 9m3s 7s252ms 19 225 20m16s 5s408ms 20 334 43m27s 7s807ms 21 1 2s626ms 2s626ms 22 66 6m5s 5s541ms 23 502 1h23m3s 9s928ms May 31 00 366 59m56s 9s825ms 06 10 10s323ms 1s32ms 07 15 15s320ms 1s21ms 08 14 14s357ms 1s25ms 09 35 36s520ms 1s43ms 10 18 18s626ms 1s34ms 11 19 30s855ms 1s623ms 12 17 34s959ms 2s56ms 13 4 4s135ms 1s33ms 14 14 24s80ms 1s720ms 15 7 7s335ms 1s47ms 16 5 5s81ms 1s16ms 17 7 7s160ms 1s22ms 18 11 11s180ms 1s16ms 19 1 1s343ms 1s343ms 20 12 12s705ms 1s58ms 21 10 11s642ms 1s164ms 22 6 6s165ms 1s27ms 23 19 19s504ms 1s26ms [ User: pubeu - Total duration: 1h55m55s - Times executed: 1203 ]
-
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 = '660706' 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 = '660706') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-05-30 18:05:31 Duration: 39s14ms 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 = '660706' 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 = '660706') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-05-30 18:05:09 Duration: 38s183ms 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 = '660706' 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 = '660706') OFFSET 0) mq ORDER BY mq.genesymbolsort LIMIT 50;
Date: 2025-05-30 18:05:06 Duration: 37s979ms Database: ctdprd51 User: pubeu Bind query: yes
14 1s 1m3s 4s67ms 1,055 1h11m31s select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where stressorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or exposuremarkerterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration May 25 01 5 20s227ms 4s45ms 03 2 2s236ms 1s118ms 04 2 5s675ms 2s837ms 05 1 1s64ms 1s64ms May 26 10 1 1s380ms 1s380ms 14 1 2s85ms 2s85ms 18 1 1s6ms 1s6ms May 27 00 1 2s742ms 2s742ms 12 3 3s667ms 1s222ms 13 2 5s137ms 2s568ms 14 7 10s206ms 1s458ms 15 3 7s394ms 2s464ms 16 10 42s456ms 4s245ms 17 5 11s773ms 2s354ms 18 5 40s398ms 8s79ms 21 2 2s329ms 1s164ms 22 5 6s489ms 1s297ms 23 1 1s43ms 1s43ms May 28 00 4 5s783ms 1s445ms 13 1 8s336ms 8s336ms 21 1 1s198ms 1s198ms 23 1 1s206ms 1s206ms May 29 00 1 1s118ms 1s118ms 03 5 6s364ms 1s272ms 11 1 2s97ms 2s97ms 12 2 7s145ms 3s572ms 13 5 11s555ms 2s311ms 14 5 24s113ms 4s822ms 15 11 24s733ms 2s248ms 16 5 50s519ms 10s103ms 17 4 22s196ms 5s549ms 18 2 2s147ms 1s73ms 19 3 5s57ms 1s685ms 20 11 33s671ms 3s61ms 21 2 2s626ms 1s313ms May 30 12 1 1s145ms 1s145ms 13 5 9s158ms 1s831ms 14 1 1s121ms 1s121ms 15 62 2m41s 2s602ms 16 66 2m42s 2s463ms 17 129 7m23s 3s439ms 18 43 3m2s 4s234ms 19 95 5m14s 3s315ms 20 141 8m33s 3s639ms 22 32 1m45s 3s292ms 23 187 16m6s 5s170ms May 31 00 161 17m18s 6s452ms 07 1 1s516ms 1s516ms 08 1 1s95ms 1s95ms 11 6 8s225ms 1s370ms 12 3 3s251ms 1s83ms [ User: pubeu - Total duration: 31m29s - Times executed: 534 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1411566') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1411566') 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-05-31 00:41:35 Duration: 1m3s Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1411566') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1411566') 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-05-31 00:41:48 Duration: 1m1s Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1411566') or exposureMarkerTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1411566') 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-05-30 20:01:36 Duration: 45s560ms Bind query: yes
15 1s 17s980ms 3s227ms 828 44m32s 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 #15
Day Hour Count Duration Avg duration May 25 00 1 1s475ms 1s475ms 01 1 2s743ms 2s743ms 05 2 4s60ms 2s30ms 06 3 5s207ms 1s735ms 07 2 2s308ms 1s154ms 08 4 6s464ms 1s616ms 09 3 4s154ms 1s384ms 10 3 3s205ms 1s68ms May 26 12 1 1s493ms 1s493ms 13 1 1s144ms 1s144ms 15 1 1s860ms 1s860ms 19 3 5s521ms 1s840ms 22 1 1s710ms 1s710ms May 27 00 1 2s380ms 2s380ms 04 2 3s479ms 1s739ms 05 1 1s471ms 1s471ms 06 1 1s710ms 1s710ms 07 3 5s937ms 1s979ms 08 1 1s428ms 1s428ms 11 2 2s507ms 1s253ms 13 12 24s388ms 2s32ms 14 6 6s966ms 1s161ms 15 9 14s311ms 1s590ms 16 11 20s447ms 1s858ms 17 10 20s864ms 2s86ms 18 8 12s926ms 1s615ms 21 2 3s590ms 1s795ms 22 10 17s125ms 1s712ms 23 16 25s488ms 1s593ms May 28 00 5 8s24ms 1s604ms 16 1 1s107ms 1s107ms 22 1 1s225ms 1s225ms May 29 00 1 2s526ms 2s526ms 03 1 1s165ms 1s165ms 09 1 2s505ms 2s505ms 11 6 9s562ms 1s593ms 12 2 3s289ms 1s644ms 13 5 8s612ms 1s722ms 14 11 21s270ms 1s933ms 15 15 24s327ms 1s621ms 16 15 27s917ms 1s861ms 17 7 13s162ms 1s880ms 18 2 3s806ms 1s903ms 19 8 13s451ms 1s681ms 20 16 26s365ms 1s647ms 21 4 7s392ms 1s848ms May 30 04 1 2s518ms 2s518ms 08 1 1s283ms 1s283ms 11 3 4s347ms 1s449ms 13 6 12s384ms 2s64ms 14 2 3s216ms 1s608ms 15 36 1m35s 2s660ms 16 45 1m26s 1s924ms 17 90 5m49s 3s883ms 18 18 1m30s 5s13ms 19 50 3m6s 3s734ms 20 82 6m23s 4s671ms 21 1 1s390ms 1s390ms 22 23 1m17s 3s369ms 23 143 9m46s 4s98ms May 31 00 95 6m32s 4s127ms 11 8 14s458ms 1s807ms 12 2 3s75ms 1s537ms [ User: pubeu - Total duration: 18m28s - Times executed: 358 ]
-
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-05-30 18:06:29 Duration: 17s980ms 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-05-30 20:10:36 Duration: 16s493ms 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-05-30 20:07:13 Duration: 16s402ms Bind query: yes
16 1s 15s622ms 2s975ms 1,638 1h21m14s 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 May 25 00 3 5s178ms 1s726ms 01 7 12s845ms 1s835ms 02 1 2s270ms 2s270ms 03 2 3s377ms 1s688ms 04 2 3s855ms 1s927ms 05 6 9s992ms 1s665ms 06 1 1s287ms 1s287ms 07 11 17s868ms 1s624ms 08 5 9s718ms 1s943ms 09 7 12s358ms 1s765ms 10 4 6s418ms 1s604ms 11 2 3s293ms 1s646ms May 26 04 4 7s769ms 1s942ms 08 2 3s759ms 1s879ms 09 3 5s36ms 1s678ms 10 3 4s387ms 1s462ms 11 2 3s854ms 1s927ms 12 1 1s888ms 1s888ms 13 4 6s917ms 1s729ms 14 2 3s197ms 1s598ms 15 1 1s278ms 1s278ms 16 4 6s512ms 1s628ms 17 2 3s142ms 1s571ms 18 2 3s809ms 1s904ms 19 3 5s698ms 1s899ms 20 2 3s712ms 1s856ms 21 2 3s815ms 1s907ms 23 4 5s764ms 1s441ms May 27 02 5 8s206ms 1s641ms 03 4 7s54ms 1s763ms 04 4 6s961ms 1s740ms 05 1 1s963ms 1s963ms 06 3 5s53ms 1s684ms 07 1 1s278ms 1s278ms 08 1 1s891ms 1s891ms 10 2 3s741ms 1s870ms 11 3 5s578ms 1s859ms 12 4 6s967ms 1s741ms 13 13 21s575ms 1s659ms 14 10 17s459ms 1s745ms 15 10 16s99ms 1s609ms 16 18 29s334ms 1s629ms 17 9 16s517ms 1s835ms 18 15 23s53ms 1s536ms 21 3 6s304ms 2s101ms 22 13 22s537ms 1s733ms 23 16 26s967ms 1s685ms May 28 00 12 19s842ms 1s653ms 07 1 1s876ms 1s876ms 08 1 1s273ms 1s273ms 11 2 3s133ms 1s566ms 12 1 1s858ms 1s858ms 13 1 1s863ms 1s863ms 14 1 1s842ms 1s842ms 15 2 3s727ms 1s863ms 17 1 1s870ms 1s870ms 18 3 5s610ms 1s870ms 19 1 1s948ms 1s948ms 20 1 1s862ms 1s862ms 21 1 1s912ms 1s912ms 22 2 3s765ms 1s882ms 23 5 8s749ms 1s749ms May 29 00 4 7s677ms 1s919ms 01 3 5s745ms 1s915ms 02 1 1s875ms 1s875ms 03 1 1s882ms 1s882ms 05 1 1s881ms 1s881ms 06 1 1s279ms 1s279ms 07 1 1s911ms 1s911ms 09 1 1s862ms 1s862ms 10 1 1s281ms 1s281ms 11 2 3s218ms 1s609ms 12 8 14s297ms 1s787ms 13 9 14s690ms 1s632ms 14 20 32s946ms 1s647ms 15 16 25s665ms 1s604ms 16 13 21s336ms 1s641ms 17 20 35s115ms 1s755ms 18 3 5s470ms 1s823ms 19 13 24s144ms 1s857ms 20 17 30s888ms 1s816ms 21 20 31s759ms 1s587ms May 30 04 3 5s566ms 1s855ms 08 3 4s496ms 1s498ms 09 2 3s797ms 1s898ms 11 2 3s858ms 1s929ms 13 7 11s89ms 1s584ms 14 6 12s386ms 2s64ms 15 69 3m10s 2s760ms 16 59 2m2s 2s74ms 17 151 8m35s 3s416ms 18 46 2m16s 2s959ms 19 96 4m49s 3s19ms 20 193 10m20s 3s213ms 22 37 1m44s 2s810ms 23 319 20m41s 3s890ms May 31 00 216 14m36s 4s58ms 09 1 1s951ms 1s951ms 11 6 11s524ms 1s920ms 12 5 9s144ms 1s828ms [ User: pubeu - Total duration: 33m39s - Times executed: 688 ]
-
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-05-30 17:49:05 Duration: 15s622ms 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-05-30 17:49:58 Duration: 12s691ms 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 = '1451245') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-05-30 17:53:05 Duration: 12s330ms Bind query: yes
17 1s281ms 16s778ms 2s714ms 1,473 1h6m38s 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 #17
Day Hour Count Duration Avg duration May 25 00 17 24s997ms 1s470ms 01 13 19s416ms 1s493ms 02 12 19s360ms 1s613ms 03 19 29s510ms 1s553ms 04 21 30s226ms 1s439ms 05 17 25s77ms 1s475ms 06 15 20s813ms 1s387ms 07 14 21s395ms 1s528ms 08 17 23s923ms 1s407ms 09 13 18s19ms 1s386ms 10 17 23s893ms 1s405ms 11 19 26s450ms 1s392ms May 26 03 1 1s381ms 1s381ms 04 2 2s830ms 1s415ms 05 1 1s438ms 1s438ms 08 8 11s270ms 1s408ms 09 7 9s699ms 1s385ms 10 13 17s723ms 1s363ms 11 9 12s668ms 1s407ms 12 14 18s832ms 1s345ms 13 16 22s187ms 1s386ms 14 11 14s985ms 1s362ms 15 9 12s322ms 1s369ms 16 8 11s177ms 1s397ms 17 16 22s204ms 1s387ms 18 13 17s833ms 1s371ms 19 7 9s493ms 1s356ms 20 7 9s756ms 1s393ms 21 13 18s83ms 1s391ms 22 12 16s911ms 1s409ms 23 8 11s274ms 1s409ms May 27 00 18 25s192ms 1s399ms 01 11 15s936ms 1s448ms 02 8 11s462ms 1s432ms 03 11 15s589ms 1s417ms 04 9 14s851ms 1s650ms 05 8 11s553ms 1s444ms 06 8 10s841ms 1s355ms 07 9 12s426ms 1s380ms 08 16 22s175ms 1s385ms 09 14 19s647ms 1s403ms 10 10 13s770ms 1s377ms 11 9 13s406ms 1s489ms 12 17 24s597ms 1s446ms 13 26 37s155ms 1s429ms 14 17 28s349ms 1s667ms 15 20 29s419ms 1s470ms 16 20 33s89ms 1s654ms 17 21 31s437ms 1s497ms 18 25 36s768ms 1s470ms 19 1 1s375ms 1s375ms 21 7 10s421ms 1s488ms 22 17 28s762ms 1s691ms 23 15 24s131ms 1s608ms May 28 00 5 9s790ms 1s958ms 05 1 1s491ms 1s491ms 07 1 1s542ms 1s542ms 08 1 1s447ms 1s447ms 09 1 1s318ms 1s318ms 11 1 1s384ms 1s384ms 12 3 4s131ms 1s377ms 15 1 1s419ms 1s419ms 16 1 1s385ms 1s385ms 22 2 3s16ms 1s508ms 23 13 17s803ms 1s369ms May 29 00 19 26s752ms 1s408ms 01 17 23s813ms 1s400ms 02 13 21s554ms 1s658ms 03 16 27s108ms 1s694ms 04 7 9s869ms 1s409ms 05 2 2s987ms 1s493ms 09 1 1s755ms 1s755ms 10 3 4s584ms 1s528ms 11 7 9s951ms 1s421ms 12 10 17s1ms 1s700ms 13 13 23s531ms 1s810ms 14 23 36s728ms 1s596ms 15 19 32s38ms 1s686ms 16 16 24s179ms 1s511ms 17 10 15s499ms 1s549ms 18 6 9s170ms 1s528ms 19 14 21s160ms 1s511ms 20 6 10s576ms 1s762ms 21 17 25s848ms 1s520ms May 30 03 5 7s327ms 1s465ms 04 10 13s964ms 1s396ms 05 1 1s533ms 1s533ms 07 3 4s273ms 1s424ms 08 10 14s34ms 1s403ms 09 5 6s825ms 1s365ms 10 12 16s805ms 1s400ms 11 9 12s504ms 1s389ms 13 7 11s172ms 1s596ms 14 1 1s456ms 1s456ms 15 15 37s902ms 2s526ms 16 23 1m5s 2s826ms 17 41 4m13s 6s189ms 18 9 1m2s 6s922ms 19 32 2m44s 5s141ms 20 32 4m14s 7s965ms 22 14 1m17s 5s523ms 23 64 11m40s 10s948ms May 31 00 58 10m31s 10s894ms 05 5 8s744ms 1s748ms 06 9 12s751ms 1s416ms 07 12 17s153ms 1s429ms 08 10 13s852ms 1s385ms 09 12 17s597ms 1s466ms 10 10 14s278ms 1s427ms 11 17 26s384ms 1s552ms 12 12 18s960ms 1s580ms 13 7 10s239ms 1s462ms 14 10 14s433ms 1s443ms 15 10 13s969ms 1s396ms 16 13 18s421ms 1s417ms 17 11 16s260ms 1s478ms 18 12 17s299ms 1s441ms 19 4 5s599ms 1s399ms 20 9 13s131ms 1s459ms 21 6 8s578ms 1s429ms 22 11 15s750ms 1s431ms 23 7 10s42ms 1s434ms [ User: pubeu - Total duration: 22m38s - Times executed: 376 ]
-
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 = '2101566') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2101566') 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-05-31 00:04:56 Duration: 16s778ms 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 = '2100862') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2100862') 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-05-31 00:39:07 Duration: 16s677ms 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 = '2103686') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2103686') 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-05-30 17:49:06 Duration: 16s343ms Bind query: yes
18 1s 12s669ms 2s661ms 1,959 1h26m54s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, count(gcr.ixn_id) ixncount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join term g on gcr.gene_id = g.id where gcr.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) group by g.nm, g.id, g.acc_txt, g.acc_db_cd, g.nm_sort order by count(gcr.ixn_id) desc, g.nm_sort limit ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration May 25 01 2 3s765ms 1s882ms 05 2 3s274ms 1s637ms May 27 01 1 1s502ms 1s502ms 14 3 6s381ms 2s127ms 15 5 6s537ms 1s307ms 16 4 5s158ms 1s289ms 17 1 1s734ms 1s734ms 18 1 1s988ms 1s988ms 21 1 1s8ms 1s8ms 22 2 2s87ms 1s43ms 23 3 3s282ms 1s94ms May 28 00 5 5s610ms 1s122ms 22 1 1s544ms 1s544ms 23 1 1s578ms 1s578ms May 29 00 1 2s81ms 2s81ms 12 1 1s16ms 1s16ms 13 3 3s575ms 1s191ms 14 1 1s912ms 1s912ms 15 4 5s753ms 1s438ms 17 4 7s567ms 1s891ms 18 2 2s220ms 1s110ms 19 5 7s896ms 1s579ms 20 9 11s9ms 1s223ms 21 3 7s935ms 2s645ms May 30 13 4 8s269ms 2s67ms 14 9 10s453ms 1s161ms 15 72 2m20s 1s948ms 16 67 2m11s 1s967ms 17 267 12m3s 2s710ms 18 79 3m30s 2s660ms 19 160 5m48s 2s175ms 20 305 14m17s 2s811ms 22 70 2m32s 2s173ms 23 507 25m8s 2s974ms May 31 00 353 17m5s 2s906ms 11 1 1s473ms 1s473ms [ User: pubeu - Total duration: 38m10s - Times executed: 902 ]
-
SELECT /* ChemGenesDAO */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, COUNT(gcr.ixn_id) ixnCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN term g ON gcr.gene_id = g.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1411566') GROUP BY g.nm, g.id, g.acc_txt, g.acc_db_cd, g.nm_sort ORDER BY COUNT(gcr.ixn_id) DESC, g.nm_sort LIMIT 50;
Date: 2025-05-30 20:06:19 Duration: 12s669ms Bind query: yes
-
SELECT /* ChemGenesDAO */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, COUNT(gcr.ixn_id) ixnCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN term g ON gcr.gene_id = g.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1411566') GROUP BY g.nm, g.id, g.acc_txt, g.acc_db_cd, g.nm_sort ORDER BY COUNT(gcr.ixn_id) DESC, g.nm_sort LIMIT 50;
Date: 2025-05-30 23:40:17 Duration: 11s954ms Bind query: yes
-
SELECT /* ChemGenesDAO */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, COUNT(gcr.ixn_id) ixnCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN term g ON gcr.gene_id = g.id WHERE gcr.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1411566') GROUP BY g.nm, g.id, g.acc_txt, g.acc_db_cd, g.nm_sort ORDER BY COUNT(gcr.ixn_id) DESC, g.nm_sort LIMIT 50;
Date: 2025-05-30 20:10:08 Duration: 11s769ms Database: ctdprd51 User: pubeu Bind query: yes
19 1s131ms 16s182ms 2s239ms 17,250 10h43m48s 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 #19
Day Hour Count Duration Avg duration May 25 00 187 4m12s 1s347ms 01 194 4m22s 1s355ms 02 204 4m38s 1s363ms 03 223 4m52s 1s310ms 04 161 3m31s 1s313ms 05 187 4m4s 1s308ms 06 205 4m17s 1s257ms 07 161 3m23s 1s262ms 08 176 3m50s 1s309ms 09 189 3m57s 1s255ms 10 188 3m55s 1s252ms 11 149 3m8s 1s264ms 14 1 1s363ms 1s363ms 19 2 2s644ms 1s322ms 21 1 1s157ms 1s157ms May 26 03 48 1m2s 1s292ms 04 81 1m46s 1s320ms 05 1 1s299ms 1s299ms 06 1 1s182ms 1s182ms 08 106 2m13s 1s261ms 09 176 3m40s 1s251ms 10 163 3m21s 1s236ms 11 161 3m21s 1s249ms 12 153 3m8s 1s229ms 13 164 3m22s 1s235ms 14 175 3m34s 1s227ms 15 182 3m45s 1s236ms 16 157 3m16s 1s252ms 17 169 3m31s 1s252ms 18 159 3m16s 1s238ms 19 166 3m26s 1s244ms 20 146 3m3s 1s253ms 21 179 3m46s 1s266ms 22 149 3m12s 1s289ms 23 120 2m31s 1s263ms May 27 00 183 3m52s 1s271ms 01 205 4m26s 1s299ms 02 165 3m37s 1s315ms 03 160 3m22s 1s263ms 04 176 3m51s 1s315ms 05 140 3m11s 1s370ms 06 139 2m54s 1s252ms 07 124 2m33s 1s239ms 08 175 3m37s 1s241ms 09 142 2m56s 1s245ms 10 157 3m14s 1s240ms 11 143 3m2s 1s278ms 12 127 2m50s 1s343ms 13 194 4m5s 1s267ms 14 168 4m 1s428ms 15 206 4m42s 1s372ms 16 194 4m52s 1s505ms 17 219 4m53s 1s339ms 18 185 4m7s 1s338ms 19 2 2s825ms 1s412ms 21 52 1m8s 1s319ms 22 115 2m33s 1s337ms 23 102 2m14s 1s319ms May 28 00 51 1m17s 1s513ms 05 1 1s344ms 1s344ms 07 13 16s613ms 1s277ms 08 8 9s963ms 1s245ms 09 2 2s513ms 1s256ms 10 3 3s695ms 1s231ms 11 5 6s152ms 1s230ms 12 5 6s304ms 1s260ms 13 1 1s222ms 1s222ms 15 1 1s241ms 1s241ms 16 5 6s148ms 1s229ms 17 2 2s440ms 1s220ms 18 3 3s599ms 1s199ms 19 4 4s696ms 1s174ms 20 3 3s616ms 1s205ms 21 2 2s448ms 1s224ms 22 29 36s331ms 1s252ms 23 164 3m22s 1s237ms May 29 00 162 3m31s 1s306ms 01 174 3m40s 1s264ms 02 166 3m44s 1s350ms 03 190 4m11s 1s323ms 04 70 1m28s 1s264ms 05 6 7s686ms 1s281ms 06 3 3s699ms 1s233ms 07 6 7s412ms 1s235ms 08 3 3s625ms 1s208ms 09 1 1s177ms 1s177ms 10 40 49s635ms 1s240ms 11 102 2m8s 1s258ms 12 77 1m43s 1s348ms 13 169 4m 1s425ms 14 144 3m14s 1s352ms 15 158 3m58s 1s512ms 16 105 2m15s 1s294ms 17 78 1m44s 1s344ms 18 37 51s939ms 1s403ms 19 67 1m37s 1s458ms 20 90 2m11s 1s463ms 21 137 2m58s 1s304ms May 30 02 11 13s866ms 1s260ms 03 117 2m30s 1s286ms 04 108 2m17s 1s272ms 05 2 2s667ms 1s333ms 07 60 1m16s 1s267ms 08 138 2m52s 1s246ms 09 104 2m9s 1s247ms 10 149 3m4s 1s241ms 11 150 3m6s 1s240ms 12 8 10s51ms 1s256ms 13 63 1m26s 1s369ms 14 46 1m5s 1s431ms 15 218 10m48s 2s973ms 16 313 11m56s 2s288ms 17 493 44m49s 5s455ms 18 132 11m57s 5s435ms 19 239 19m18s 4s847ms 20 413 49m13s 7s151ms 21 7 9s383ms 1s340ms 22 86 8m2s 5s609ms 23 633 1h40m18s 9s507ms May 31 00 501 1h19m17s 9s496ms 05 51 1m7s 1s324ms 06 149 3m13s 1s297ms 07 147 3m10s 1s297ms 08 145 3m8s 1s297ms 09 128 2m47s 1s312ms 10 132 2m51s 1s302ms 11 144 3m11s 1s331ms 12 148 3m26s 1s394ms 13 135 2m54s 1s294ms 14 148 3m13s 1s305ms 15 138 2m56s 1s280ms 16 128 2m43s 1s276ms 17 154 3m16s 1s272ms 18 151 3m13s 1s284ms 19 162 3m23s 1s253ms 20 117 2m29s 1s278ms 21 156 3m23s 1s303ms 22 144 3m8s 1s307ms 23 138 2m59s 1s301ms [ User: pubeu - Total duration: 3h9m3s - Times executed: 3935 ]
-
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 = '1648770' or receptorTerm.id = '1648770' 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-05-30 17:54:05 Duration: 16s182ms 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 = '1910860' or receptorTerm.id = '1910860' 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-05-30 22:57:18 Duration: 15s643ms 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 = '2051136' or receptorTerm.id = '2051136' 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-05-30 18:05:14 Duration: 15s208ms Bind query: yes
20 1s479ms 11s409ms 2s229ms 2,410 1h29m33s 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 #20
Day Hour Count Duration Avg duration May 25 00 2 2s979ms 1s489ms 01 2 3s69ms 1s534ms 02 1 1s584ms 1s584ms 03 2 3s80ms 1s540ms 04 1 1s594ms 1s594ms 05 3 4s622ms 1s540ms 06 2 2s987ms 1s493ms 10 2 3s71ms 1s535ms 11 1 1s621ms 1s621ms May 26 04 1 1s534ms 1s534ms 05 1 1s489ms 1s489ms 08 2 3s65ms 1s532ms 09 1 1s572ms 1s572ms 10 2 2s992ms 1s496ms 11 1 1s518ms 1s518ms 15 1 1s508ms 1s508ms 16 2 3s20ms 1s510ms 18 3 4s586ms 1s528ms 19 2 2s980ms 1s490ms 20 1 1s619ms 1s619ms 21 1 1s502ms 1s502ms 22 6 9s472ms 1s578ms 23 4 6s123ms 1s530ms May 27 00 4 6s614ms 1s653ms 01 1 1s531ms 1s531ms 03 3 4s543ms 1s514ms 04 5 7s721ms 1s544ms 05 3 5s118ms 1s706ms 06 1 1s506ms 1s506ms 07 3 4s832ms 1s610ms 09 2 3s31ms 1s515ms 12 10 15s317ms 1s531ms 13 24 36s462ms 1s519ms 14 28 44s533ms 1s590ms 15 34 55s114ms 1s621ms 16 27 42s689ms 1s581ms 17 35 54s420ms 1s554ms 18 40 1m4s 1s617ms 21 9 14s87ms 1s565ms 22 29 45s458ms 1s567ms 23 38 58s334ms 1s535ms May 28 00 32 49s418ms 1s544ms 01 1 1s543ms 1s543ms 05 1 1s491ms 1s491ms 07 1 1s505ms 1s505ms 11 1 1s587ms 1s587ms 12 1 1s493ms 1s493ms 13 1 1s578ms 1s578ms 14 1 1s490ms 1s490ms 16 3 4s478ms 1s492ms 17 1 1s507ms 1s507ms 18 1 1s514ms 1s514ms 20 3 4s556ms 1s518ms 21 3 4s618ms 1s539ms 22 2 3s5ms 1s502ms 23 1 1s546ms 1s546ms May 29 00 2 3s99ms 1s549ms 01 2 3s57ms 1s528ms 03 1 1s517ms 1s517ms 04 3 4s646ms 1s548ms 05 2 3s78ms 1s539ms 07 2 2s988ms 1s494ms 08 5 7s583ms 1s516ms 09 2 3s243ms 1s621ms 10 1 1s904ms 1s904ms 11 4 6s194ms 1s548ms 12 22 34s682ms 1s576ms 13 36 56s250ms 1s562ms 14 27 41s994ms 1s555ms 15 38 59s142ms 1s556ms 16 38 59s98ms 1s555ms 17 31 48s320ms 1s558ms 18 15 24s642ms 1s642ms 19 30 47s648ms 1s588ms 20 26 40s874ms 1s572ms 21 44 1m9s 1s571ms May 30 05 1 1s527ms 1s527ms 07 1 1s504ms 1s504ms 08 1 1s487ms 1s487ms 11 6 9s354ms 1s559ms 12 1 1s578ms 1s578ms 13 16 25s568ms 1s598ms 14 12 20s48ms 1s670ms 15 52 1m53s 2s174ms 16 65 2m6s 1s953ms 17 84 5m53s 4s214ms 18 27 2m29s 5s523ms 19 53 2m58s 3s366ms 20 87 6m56s 4s789ms 22 18 1m25s 4s760ms 23 93 9m32s 6s153ms May 31 00 71 7m40s 6s484ms 05 2 3s84ms 1s542ms 06 1 1s600ms 1s600ms 11 3 5s535ms 1s845ms 12 82 2m8s 1s571ms 13 100 2m37s 1s572ms 14 96 2m31s 1s577ms 15 81 2m6s 1s564ms 16 88 2m16s 1s554ms 17 92 2m24s 1s569ms 18 110 2m53s 1s578ms 19 73 1m54s 1s562ms 20 87 2m15s 1s563ms 21 75 1m57s 1s566ms 22 103 2m41s 1s563ms 23 105 2m44s 1s562ms [ User: pubeu - Total duration: 26m46s - Times executed: 599 ]
[ User: qaeu - Total duration: 3s101ms - Times executed: 2 ]
-
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-05-30 20:02:09 Duration: 11s409ms 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-05-30 20:06:24 Duration: 11s163ms 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-05-30 17:57:48 Duration: 9s466ms Bind query: yes
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 2m55s 9 16s502ms 22s905ms 19s509ms SELECT DISTINCT stressorTerm.nm as chemNm;Times Reported Time consuming prepare #1
Day Hour Count Duration Avg duration May 31 16 6 2m6s 21s12ms 20 3 49s508ms 16s502ms -
SELECT DISTINCT stressorTerm.nm as chemNm;
Date: 2025-05-30 16:36:42 Duration: 22s905ms Database: postgres
-
SELECT DISTINCT stressorTerm.nm as chemNm;
Date: 2025-05-30 16:36:42 Duration: 19s118ms Database: postgres
-
SELECT DISTINCT stressorTerm.nm as chemNm;
Date: 2025-05-30 20:26:18 Duration: 16s502ms Database: postgres
2 2m20s 6 22s253ms 24s511ms 23s382ms SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' ||;Times Reported Time consuming prepare #2
Day Hour Count Duration Avg duration 14 3 1m6s 22s253ms 15 3 1m13s 24s511ms -
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' ||;
Date: 2025-05-30 16:47:42 Duration: 24s511ms Database: postgres
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' ||;
Date: 2025-05-30 15:36:10 Duration: 22s253ms Database: postgres
3 1m28s 9 3s791ms 18s388ms 9s779ms SELECT /* BasicCountsDAO gen */ ii.cd;Times Reported Time consuming prepare #3
Day Hour Count Duration Avg duration 14 9 1m28s 9s779ms -
SELECT /* BasicCountsDAO gen */ ii.cd;
Date: 2025-05-30 15:36:10 Duration: 18s388ms Database: postgres
-
SELECT /* BasicCountsDAO gen */ ii.cd;
Date: 2025-05-30 15:36:10 Duration: 7s159ms Database: postgres
-
SELECT /* BasicCountsDAO gen */ ii.cd;
Date: 2025-05-30 15:36:10 Duration: 3s791ms Database: postgres
4 1m13s 3 24s594ms 24s594ms 24s594ms SELECT /* DiseaseGeneAssnsDAO */ ;Times Reported Time consuming prepare #4
Day Hour Count Duration Avg duration 15 3 1m13s 24s594ms -
SELECT /* DiseaseGeneAssnsDAO */ ;
Date: 2025-05-30 16:36:42 Duration: 24s594ms Database: postgres
5 42s860ms 3 14s286ms 14s286ms 14s286ms select *, COUNT(*) OVER () as fullRowCount from;Times Reported Time consuming prepare #5
Day Hour Count Duration Avg duration 15 3 42s860ms 14s286ms -
select *, COUNT(*) OVER () as fullRowCount from;
Date: 2025-05-30 16:47:42 Duration: 14s286ms Database: postgres
6 37s575ms 3 12s525ms 12s525ms 12s525ms select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' ||;Times Reported Time consuming prepare #6
Day Hour Count Duration Avg duration 14 3 37s575ms 12s525ms -
select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' ||;
Date: 2025-05-30 15:36:10 Duration: 12s525ms Database: postgres
7 36s142ms 3 12s47ms 12s47ms 12s47ms SELECT /* ChemGenesDAO */ ;Times Reported Time consuming prepare #7
Day Hour Count Duration Avg duration 15 3 36s142ms 12s47ms -
SELECT /* ChemGenesDAO */ ;
Date: 2025-05-30 16:36:42 Duration: 12s47ms Database: postgres
8 21s894ms 6 1s52ms 6s245ms 3s649ms SELECT /* ChemGeneIxnsDAO */ ;Times Reported Time consuming prepare #8
Day Hour Count Duration Avg duration 15 3 18s736ms 6s245ms 22 3 3s157ms 1s52ms -
SELECT /* ChemGeneIxnsDAO */ ;
Date: 2025-05-30 16:36:42 Duration: 6s245ms Database: postgres
-
SELECT /* ChemGeneIxnsDAO */ ;
Date: 2025-05-30 23:39:59 Duration: 1s52ms Database: postgres
9 18s174ms 3 6s58ms 6s58ms 6s58ms SELECT /* ChemDiseaseRefsDAO */ ;Times Reported Time consuming prepare #9
Day Hour Count Duration Avg duration 19 3 18s174ms 6s58ms -
SELECT /* ChemDiseaseRefsDAO */ ;
Date: 2025-05-30 20:45:18 Duration: 6s58ms Database: postgres
10 14s854ms 3 4s951ms 4s951ms 4s951ms SELECT /* ReferenceDiseasesDAO */ ;Times Reported Time consuming prepare #10
Day Hour Count Duration Avg duration 14 3 14s854ms 4s951ms [ User: pubeu - Total duration: 4s677ms - Times executed: 3 ]
-
SELECT /* ReferenceDiseasesDAO */ ;
Date: 2025-05-30 15:36:10 Duration: 4s951ms Database: postgres User: ctdprd51 Remote: pubeu
11 11s819ms 3 3s939ms 3s939ms 3s939ms SELECT /* MeshBasicQueryDAO */ ;Times Reported Time consuming prepare #11
Day Hour Count Duration Avg duration 19 3 11s819ms 3s939ms -
SELECT /* MeshBasicQueryDAO */ ;
Date: 2025-05-30 20:06:18 Duration: 3s939ms Database: postgres
12 7s719ms 3 2s573ms 2s573ms 2s573ms SELECT /* GeneDiseaseRefsDAO */ ;Times Reported Time consuming prepare #12
Day Hour Count Duration Avg duration 22 3 7s719ms 2s573ms -
SELECT /* GeneDiseaseRefsDAO */ ;
Date: 2025-05-30 23:39:59 Duration: 2s573ms Database: postgres
13 4s441ms 3 1s480ms 1s480ms 1s480ms SELECT /* DatabaseReportListDAO */ ;Times Reported Time consuming prepare #13
Day Hour Count Duration Avg duration 22 3 4s441ms 1s480ms -
SELECT /* DatabaseReportListDAO */ ;
Date: 2025-05-30 23:39:59 Duration: 1s480ms Database: postgres
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 1m4s 58 1s2ms 1s455ms 1s119ms 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 May 31 13 3 3s314ms 1s104ms May 31 04 2 2s566ms 1s283ms May 31 14 2 2s240ms 1s120ms May 31 01 1 1s455ms 1s455ms May 31 21 2 2s376ms 1s188ms May 31 15 6 7s61ms 1s176ms 16 3 3s250ms 1s83ms 17 18 19s865ms 1s103ms 19 6 7s77ms 1s179ms 20 12 12s722ms 1s60ms 23 3 3s6ms 1s2ms -
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-05-27 01:54:20 Duration: 1s455ms Database: postgres parameters: $1 = '2099299', $2 = '2099299'
-
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-05-25 04:13:22 Duration: 1s283ms Database: postgres parameters: $1 = '2094502'
-
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-05-30 15:27:28 Duration: 1s257ms Database: postgres parameters: $1 = '2104994'
2 41s696ms 37 1s4ms 1s245ms 1s126ms 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 #2
Day Hour Count Duration Avg duration 11 2 2s424ms 1s212ms 12 1 1s104ms 1s104ms 03 2 2s268ms 1s134ms 18 2 2s405ms 1s202ms 20 2 2s189ms 1s94ms 04 2 2s131ms 1s65ms 23 1 1s38ms 1s38ms 18 2 2s490ms 1s245ms 16 9 10s486ms 1s165ms 18 3 3s13ms 1s4ms 19 6 6s509ms 1s84ms 22 3 3s575ms 1s191ms 23 2 2s58ms 1s29ms -
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-05-29 19:51:31 Duration: 1s245ms Database: postgres parameters: $1 = '2074396', $2 = '2074396'
-
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-05-30 17:24:40 Duration: 1s227ms Database: postgres parameters: $1 = '1918671', $2 = '1918671'
-
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-05-24 12:56:30 Duration: 1s221ms Database: postgres parameters: $1 = '1572080', $2 = '1572080'
3 31s10ms 30 1s1ms 1s79ms 1s33ms 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 12 1 1s26ms 1s26ms 15 1 1s62ms 1s62ms 12 2 2s5ms 1s2ms 18 2 2s143ms 1s71ms 19 2 2s79ms 1s39ms 20 4 4s94ms 1s23ms 21 2 2s159ms 1s79ms 04 2 2s45ms 1s22ms 08 2 2s135ms 1s67ms 00 1 1s57ms 1s57ms 02 1 1s7ms 1s7ms 10 3 3s82ms 1s27ms 15 3 3s5ms 1s1ms 12 3 3s94ms 1s31ms 02 1 1s12ms 1s12ms -
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-05-26 22:07:45 Duration: 1s79ms Database: postgres parameters: $1 = '1499385', $2 = '1499385'
-
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-05-26 19:22:01 Duration: 1s71ms 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-05-27 09:02:42 Duration: 1s67ms Database: postgres parameters: $1 = '4', $2 = 'A'
4 29s815ms 27 1s 1s234ms 1s104ms 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 #4
Day Hour Count Duration Avg duration 06 2 2s193ms 1s96ms 13 2 2s135ms 1s67ms 20 2 2s239ms 1s119ms 14 2 2s63ms 1s31ms 02 1 1s216ms 1s216ms 16 15 16s914ms 1s127ms 10 3 3s54ms 1s18ms -
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-05-30 17:34:27 Duration: 1s234ms Database: postgres parameters: $1 = '1451245', $2 = '1451245', $3 = 'chem%'
-
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-05-29 03:01:55 Duration: 1s216ms Database: postgres parameters: $1 = '(JUP-B | JUPB)', $2 = '(JUP-B | JUPB)', $3 = '(JUP-B', $4 = 'JUPB)', $5 = 'JUP-B'
-
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-05-30 17:25:52 Duration: 1s157ms Database: postgres parameters: $1 = '1449721'
5 12s426ms 11 1s29ms 1s251ms 1s129ms SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = $1) or exposureMarkerTerm.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 chemNmSort LIMIT 50;Times Reported Time consuming bind #5
Day Hour Count Duration Avg duration 15 1 1s160ms 1s160ms 21 1 1s117ms 1s117ms 18 6 7s60ms 1s176ms 10 3 3s88ms 1s29ms -
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = $1) or exposureMarkerTerm.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 chemNmSort LIMIT 50;
Date: 2025-05-30 19:40:01 Duration: 1s251ms Database: postgres parameters: $1 = '1318652', $2 = '1318652'
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = $1) or exposureMarkerTerm.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 chemNmSort LIMIT 50;
Date: 2025-05-24 16:35:48 Duration: 1s160ms Database: postgres parameters: $1 = '1355071', $2 = '1355071'
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = $1) or exposureMarkerTerm.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 chemNmSort LIMIT 50;
Date: 2025-05-24 22:30:24 Duration: 1s117ms Database: postgres parameters: $1 = '1365868', $2 = '1365868'
6 10s969ms 10 1s44ms 1s134ms 1s96ms 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 e.reference_id = $1 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 21 1 1s123ms 1s123ms 22 1 1s95ms 1s95ms 04 2 2s269ms 1s134ms 15 3 3s133ms 1s44ms 22 3 3s346ms 1s115ms -
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 e.reference_id = $1 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-05-27 05:39:14 Duration: 1s134ms Database: postgres parameters: $1 = '1934286', $2 = '1934286'
-
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 e.reference_id = $1 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-05-24 22:30:39 Duration: 1s123ms Database: postgres parameters: $1 = '2105582'
-
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 e.reference_id = $1 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-05-30 23:41:53 Duration: 1s115ms Database: postgres parameters: $1 = '2107017'
7 9s394ms 9 1s24ms 1s81ms 1s43ms 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 15 3 3s74ms 1s24ms 16 3 3s245ms 1s81ms 22 3 3s73ms 1s24ms -
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-05-30 17:24:47 Duration: 1s81ms Database: postgres parameters: $1 = '1411566', $2 = '1411566', $3 = 'chem%'
-
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-05-30 16:40:07 Duration: 1s24ms Database: postgres parameters: $1 = '1279518', $2 = '1279518', $3 = 'chem%'
-
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-05-30 23:38:47 Duration: 1s24ms Database: postgres parameters: $1 = '2032880', $2 = '2032880'
8 7s798ms 7 1s4ms 1s197ms 1s114ms SELECT /* GeneDiseaseChemsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.id chemid FROM term c WHERE c.id IN ( SELECT gdr.via_chem_id FROM gene_disease_reference gdr WHERE gdr.gene_id = $1 AND gdr.disease_id = $2) ORDER BY c.nm_sort;Times Reported Time consuming bind #8
Day Hour Count Duration Avg duration 11 1 1s4ms 1s4ms 22 3 3s201ms 1s67ms 09 3 3s592ms 1s197ms -
SELECT /* GeneDiseaseChemsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.id chemid FROM term c WHERE c.id IN ( SELECT gdr.via_chem_id FROM gene_disease_reference gdr WHERE gdr.gene_id = $1 AND gdr.disease_id = $2) ORDER BY c.nm_sort;
Date: 2025-05-31 10:41:47 Duration: 1s197ms Database: postgres parameters: $1 = 'XBMP2', $2 = 'XBMP2', $3 = 'XBMP2', $4 = 'XBMP2'
-
SELECT /* GeneDiseaseChemsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.id chemid FROM term c WHERE c.id IN ( SELECT gdr.via_chem_id FROM gene_disease_reference gdr WHERE gdr.gene_id = $1 AND gdr.disease_id = $2) ORDER BY c.nm_sort;
Date: 2025-05-30 23:40:07 Duration: 1s67ms Database: postgres parameters: $1 = '1411566', $2 = '1411566', $3 = 'chem%'
-
SELECT /* GeneDiseaseChemsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.id chemid FROM term c WHERE c.id IN ( SELECT gdr.via_chem_id FROM gene_disease_reference gdr WHERE gdr.gene_id = $1 AND gdr.disease_id = $2) ORDER BY c.nm_sort;
Date: 2025-05-24 12:58:39 Duration: 1s4ms Database: postgres parameters: $1 = '671053', $2 = '671053'
9 5s240ms 4 1s269ms 1s350ms 1s310ms 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 = $1) AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;Times Reported Time consuming bind #9
Day Hour Count Duration Avg duration 23 4 5s240ms 1s310ms -
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 = $1) AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-05-31 00:36:37 Duration: 1s350ms Database: postgres parameters: $1 = '1265161'
-
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 = $1) AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2025-05-31 00:30:10 Duration: 1s269ms Database: postgres parameters: $1 = '1234206'
10 4s960ms 4 1s131ms 1s276ms 1s240ms 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 chemNmSort LIMIT 50;Times Reported Time consuming bind #10
Day Hour Count Duration Avg duration 12 1 1s131ms 1s131ms 16 3 3s828ms 1s276ms -
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 chemNmSort LIMIT 50;
Date: 2025-05-30 17:29:19 Duration: 1s276ms Database: postgres parameters: $1 = '2103778', $2 = '2103778'
-
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 chemNmSort LIMIT 50;
Date: 2025-05-24 13:04:46 Duration: 1s131ms Database: postgres parameters: $1 = '2101836', $2 = '2101836'
11 3s587ms 3 1s195ms 1s195ms 1s195ms SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = $1) or exposureMarkerTerm.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 #11
Day Hour Count Duration Avg duration 13 3 3s587ms 1s195ms -
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = $1) or exposureMarkerTerm.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-05-31 14:46:28 Duration: 1s195ms Database: postgres parameters: $1 = '1325786', $2 = '1325786'
12 3s572ms 3 1s190ms 1s190ms 1s190ms SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || '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 e.reference_id = $1 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 nbrReceptors LIMIT 50;Times Reported Time consuming bind #12
Day Hour Count Duration Avg duration 16 3 3s572ms 1s190ms -
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || '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 e.reference_id = $1 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 nbrReceptors LIMIT 50;
Date: 2025-05-30 17:01:23 Duration: 1s190ms Database: postgres parameters: $1 = '1411566', $2 = '1411566', $3 = 'chem%'
13 3s83ms 3 1s27ms 1s27ms 1s27ms 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 disease, exp_outcome o1 where disease.id in ( select descendant_object_id from dag_path where ancestor_object_id = $1) and disease.id = o1.disease_id and o1.id = e1.exp_outcome_id UNION select reference_id from exposure e1, term t, exp_receptor r where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = $2) and t.id = r.term_id and r.id = e1.exp_receptor_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 #13
Day Hour Count Duration Avg duration 18 3 3s83ms 1s27ms -
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 disease, exp_outcome o1 where disease.id in ( select descendant_object_id from dag_path where ancestor_object_id = $1) and disease.id = o1.disease_id and o1.id = e1.exp_outcome_id UNION select reference_id from exposure e1, term t, exp_receptor r where t.id in ( select descendant_object_id from dag_path where ancestor_object_id = $2) and t.id = r.term_id and r.id = e1.exp_receptor_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2025-05-30 19:53:22 Duration: 1s27ms Database: postgres parameters: $1 = '2100109', $2 = '2100109'
14 2s213ms 2 1s106ms 1s106ms 1s106ms 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 measurementStat LIMIT 50;Times Reported Time consuming bind #14
Day Hour Count Duration Avg duration 18 2 2s213ms 1s106ms -
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 measurementStat LIMIT 50;
Date: 2025-05-29 19:26:21 Duration: 1s106ms Database: postgres parameters: $1 = '1847141', $2 = '1847141'
15 2s169ms 2 1s84ms 1s84ms 1s84ms 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 = $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 chemNmSort LIMIT 50;Times Reported Time consuming bind #15
Day Hour Count Duration Avg duration 09 2 2s169ms 1s84ms -
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 = $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 chemNmSort LIMIT 50;
Date: 2025-05-26 10:41:53 Duration: 1s84ms Database: postgres parameters: $1 = '1232892', $2 = '1232892'
16 2s149ms 2 1s74ms 1s74ms 1s74ms 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;Times Reported Time consuming bind #16
Day Hour Count Duration Avg duration 21 2 2s149ms 1s74ms -
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;
Date: 2025-05-26 22:26:29 Duration: 1s74ms Database: postgres parameters: $1 = '312572', $2 = '312572'
17 2s132ms 2 1s66ms 1s66ms 1s66ms SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = $1) or exposureMarkerTerm.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 diseaseField LIMIT 50;Times Reported Time consuming bind #17
Day Hour Count Duration Avg duration 14 2 2s132ms 1s66ms -
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where stressorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = $1) or exposureMarkerTerm.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 diseaseField LIMIT 50;
Date: 2025-05-27 15:12:23 Duration: 1s66ms Database: postgres parameters: $1 = '1308039', $2 = '1308039'
18 2s95ms 2 1s47ms 1s47ms 1s47ms 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 e.reference_id = $1 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 measurementStat LIMIT 50;Times Reported Time consuming bind #18
Day Hour Count Duration Avg duration 13 2 2s95ms 1s47ms -
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 e.reference_id = $1 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 measurementStat LIMIT 50;
Date: 2025-05-26 14:42:22 Duration: 1s47ms Database: postgres parameters: $1 = '1751718', $2 = '1751718'
19 1s407ms 1 1s407ms 1s407ms 1s407ms 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 medium LIMIT 50;Times Reported Time consuming bind #19
Day Hour Count Duration Avg duration 21 1 1s407ms 1s407ms -
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 medium LIMIT 50;
Date: 2025-05-24 22:30:24 Duration: 1s407ms Database: postgres parameters: $1 = '1466778', $2 = '1466778'
20 1s353ms 1 1s353ms 1s353ms 1s353ms select distinct ptr.phenotype_id, ptr.term_id, i.action_type_nm, i.action_type_cd, i.action_degree_type_nm, i.action_degree_type_cd from pub1.PHENOTYPE_TERM_REFERENCE ptr, pub1.IXN_AXN i where ptr.ixn_id = i.ixn_id;Times Reported Time consuming bind #20
Day Hour Count Duration Avg duration 00 1 1s353ms 1s353ms -
select distinct ptr.phenotype_id, ptr.term_id, i.action_type_nm, i.action_type_cd, i.action_degree_type_nm, i.action_degree_type_cd from pub1.PHENOTYPE_TERM_REFERENCE ptr, pub1.IXN_AXN i where ptr.ixn_id = i.ixn_id;
Date: 2025-05-29 01:07:46 Duration: 1s353ms Database: postgres
-
Events
Log levels
Key values
- 629,745 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 14577 FATAL entries
- 611 ERROR entries
- 1315 WARNING entries
- 219 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 13,680 Max number of times the same event was reported
- 16,722 Total events found
Rank Times reported Error 1 13,680 FATAL: remaining connection slots are reserved for non-replication superuser connections
Times Reported Most Frequent Error / Event #1
Day Hour Count May 27 14 11 May 30 17 251 18 207 20 164 23 7,766 May 31 00 5,281 2 1,042 WARNING: skipping "..." --- only table or database owner can vacuum it
Times Reported Most Frequent Error / Event #2
Day Hour Count May 29 04 1,042 3 638 FATAL: sorry, too many clients already
Times Reported Most Frequent Error / Event #3
Day Hour Count May 30 18 3 23 297 May 31 00 338 4 407 ERROR: remaining connection slots are reserved for non-replication superuser connections
Times Reported Most Frequent Error / Event #4
Day Hour Count May 30 17 34 18 25 20 10 23 116 May 31 00 222 - ERROR: remaining connection slots are reserved for non-replication superuser connections
- ERROR: remaining connection slots are reserved for non-replication superuser connections
- ERROR: remaining connection slots are reserved for non-replication superuser connections
Context: parallel worker
Statement: SELECT /* ReferenceCitedChemsDAO */ c.id ,c.nm ,c.nm_html nmHtml ,c.acc_txt acc ,c.has_genes hasGenes ,c.has_diseases hasDiseases ,c.has_exposures hasExposures ,c.has_phenotypes hasPhenotypes FROM term c WHERE c.id IN( SELECT cdr.chem_id FROM chem_disease_reference cdr WHERE cdr.reference_id = $1 AND cdr.source_cd = 'C' UNION ALL SELECT gcr.chem_id FROM gene_chem_reference gcr WHERE gcr.reference_id = $2 UNION ALL select stressor.chem_id from exposure e ,exp_stressor stressor where e.reference_id = $3 and e.exp_stressor_id = stressor.id UNION ALL select event.exp_marker_term_id from exposure e ,exp_event event where e.reference_id = $4 and e.exp_event_id = event.id and event.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%' ) UNION ALL SELECT term_id FROM phenotype_term_reference ptr WHERE ptr.reference_id = $5 and ptr.term_object_type_id = 2) ORDER BY c.nm_sortDate: 2025-05-30 17:54:10 Database: ctdprd51 Application: User: pubeu Remote:
Context: parallel worker
Statement: SELECT /* ChemDiseaseAssnsDAO.rowCount */ COUNT(*) FROM chem_disease cd WHERE cd.chem_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1)Date: 2025-05-30 17:54:12
Context: parallel worker
Statement: select distinct childTerm.acc_txt from term childTerm ,term baseTerm ,dag_path dag where baseTerm.id = $1 and baseTerm.id = dag.ancestor_object_id and childTerm.id = dag.descendant_object_id union select acc_txt from term where id = $2Date: 2025-05-30 17:54:12
5 224 WARNING: skipping "..." --- only superuser or database owner can vacuum it
Times Reported Most Frequent Error / Event #5
Day Hour Count May 29 04 224 6 151 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #6
Day Hour Count May 25 01 2 08 1 May 26 08 1 May 27 04 2 13 1 14 2 15 3 16 6 17 2 23 2 May 28 00 4 May 29 13 4 14 3 15 2 17 3 18 1 19 2 20 2 21 2 May 30 03 1 15 3 16 4 17 10 18 11 20 16 21 2 23 23 May 31 00 31 01 3 12 2 - LOG: could not send data to client: Broken pipe
- LOG: could not send data to client: Broken pipe
- LOG: could not send data to client: Broken pipe
Statement: 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.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1) ORDER BY actionTypes ,cd.network_score DESC NULLS LAST ,d.nm_sort ,c.nm_sort
Date: 2025-05-29 17:28:28 Database: ctdprd51 Application: User: pubeu Remote:
Statement: 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 = $1 ) ) ) and ptr.term_object_type_id = 2 group by associatedTerm ,associatedTermNmSort ,phenotype ,casRN ,ixnId ,ixnProseHtml ,ixnProse ,ixnSort ,associatedTermId ,phenotypeId ,inferredCount ORDER BY associatedTermNmSort
Date: 2025-05-29 18:37:05 Database: ctdprd51 Application: User: pubeu Remote:
Statement: 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 = $1 ) and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50
Date: 2025-05-30 17:57:58 Database: ctdprd51 Application: User: pubeu Remote:
7 151 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #7
Day Hour Count May 25 01 2 08 1 May 26 08 1 May 27 04 2 13 1 14 2 15 3 16 6 17 2 23 2 May 28 00 4 May 29 13 4 14 3 15 2 17 3 18 1 19 2 20 2 21 2 May 30 03 1 15 3 16 4 17 10 18 11 20 16 21 2 23 23 May 31 00 31 01 3 12 2 - FATAL: connection to client lost
- FATAL: connection to client lost
- FATAL: connection to client lost
Statement: 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.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1) ORDER BY actionTypes ,cd.network_score DESC NULLS LAST ,d.nm_sort ,c.nm_sort
Date: 2025-05-29 17:28:28
Statement: 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 = $1 ) ) ) and ptr.term_object_type_id = 2 group by associatedTerm ,associatedTermNmSort ,phenotype ,casRN ,ixnId ,ixnProseHtml ,ixnProse ,ixnSort ,associatedTermId ,phenotypeId ,inferredCount ORDER BY associatedTermNmSort
Date: 2025-05-29 18:37:05
Statement: 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 = $1 ) and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50
Date: 2025-05-30 17:57:58
8 130 ERROR: syntax error in ts"..."
Times Reported Most Frequent Error / Event #8
Day Hour Count May 25 01 4 02 1 04 2 06 1 08 2 May 26 03 1 04 2 08 1 09 2 11 1 13 2 14 1 17 1 19 2 20 2 23 1 May 27 01 1 02 3 03 3 04 4 05 1 08 1 10 1 12 1 15 1 16 1 17 1 22 1 23 4 May 28 00 1 08 2 09 1 10 1 11 2 12 2 13 2 14 2 20 3 21 1 22 5 May 29 00 3 01 3 02 1 04 5 05 1 06 1 07 1 08 1 09 2 14 1 15 1 19 3 20 2 21 1 May 30 02 1 03 3 04 1 05 1 09 1 10 2 17 1 21 2 22 1 23 1 May 31 00 1 06 5 08 1 09 1 11 1 13 1 14 2 15 1 16 2 20 1 21 1 22 1 23 1 - ERROR: syntax error in ts"嵐 風"
- ERROR: syntax error in ts"カンジャンケジャン & 安全な店 福岡"
- ERROR: syntax error in ts"PTILODACTYLIDAE & SP. & UPOL<CZE> & RK0827"
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-05-25 04:10:03 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-05-26 03:49:13
Statement: SELECT /* TaxonBasicQueryDAO */ sq.* ,COUNT(*) OVER() fullRowCount FROM ( SELECT /* label */ n.acc_txt acc ,n.acc_db_cd || ':' || n.acc_txt accQueryStr ,n.nm ,n.nm_html nmHtml ,n.secondary_nm secondaryNm ,n.rank_nm rankNm ,l.nm matchedNm ,lt.nm_display matchedType ,CASE WHEN lt.nm_display='Scientific Name' THEN true ELSE false END isNameMatch ,CASE WHEN UPPER(l.nm) = $1 THEN 1 ELSE 2 END relevance ,n.nm_sort ,n.object_id id ,n.has_genes hasGenes FROM dag_node n INNER JOIN term_label l ON l.term_id = n.object_id INNER JOIN term_label_type lt ON l.term_label_type_id = lt.id WHERE l.object_type_id = 1 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 = 1 AND i.nm_fts @@ to_tsquery('common.english_nostops', $2) ) UNION ALL SELECT /* acc */ n.acc_txt acc ,n.acc_db_cd || ':' || n.acc_txt accQueryStr ,n.nm ,n.nm_html nmHtml ,n.secondary_nm secondaryNm ,n.rank_nm rankNm ,l.acc_txt matchedNm ,'Accession' matchedType ,false isNameMatch ,1 relevance ,n.nm_sort ,n.object_id id ,n.has_genes hasGenes FROM db_link l INNER JOIN dag_node n ON l.object_id = n.object_id WHERE l.type_cd = 'A' AND l.object_type_id = 1 AND (upper( l.acc_txt ) = $3 OR upper( l.acc_txt ) = $4 OR upper( l.acc_txt ) = $5 OR upper( l.acc_txt ) = $6 OR upper( l.acc_txt ) = $7 ) ORDER BY 10, 11 ) sq LIMIT 50
Date: 2025-05-26 09:05:52
9 57 FATAL: terminating background worker "..." due to administrator command
Times Reported Most Frequent Error / Event #9
Day Hour Count May 30 17 6 18 8 20 2 23 4 May 31 00 37 - FATAL: terminating background worker "parallel worker" due to administrator command
- FATAL: terminating background worker "parallel worker" due to administrator command
- FATAL: terminating background worker "parallel worker" due to administrator command
Statement: 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 t ,exp_event event1 where t.id = $1 and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like $2 ) and event1.id = e1.exp_event_id UNION select reference_id from exposure e1 ,term t ,exp_receptor r where t.id = $3 and t.id = r.term_id and r.id = e1.exp_receptor_id ) ) group by e.reference_acc_txt ,r.abbr_authors_txt ,pub_start_yr ,re.author_summary order by stressorAgents LIMIT 50
Date: 2025-05-30 17:57:45
Statement: SELECT /* ReferenceCitedChemsDAO */ c.id ,c.nm ,c.nm_html nmHtml ,c.acc_txt acc ,c.has_genes hasGenes ,c.has_diseases hasDiseases ,c.has_exposures hasExposures ,c.has_phenotypes hasPhenotypes FROM term c WHERE c.id IN( SELECT cdr.chem_id FROM chem_disease_reference cdr WHERE cdr.reference_id = $1 AND cdr.source_cd = 'C' UNION ALL SELECT gcr.chem_id FROM gene_chem_reference gcr WHERE gcr.reference_id = $2 UNION ALL select stressor.chem_id from exposure e ,exp_stressor stressor where e.reference_id = $3 and e.exp_stressor_id = stressor.id UNION ALL select event.exp_marker_term_id from exposure e ,exp_event event where e.reference_id = $4 and e.exp_event_id = event.id and event.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%' ) UNION ALL SELECT term_id FROM phenotype_term_reference ptr WHERE ptr.reference_id = $5 and ptr.term_object_type_id = 2) ORDER BY c.nm_sort
Date: 2025-05-30 17:57:45
Statement: 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-05-30 18:02:04
10 55 ERROR: could not map dynamic shared memory segment
Times Reported Most Frequent Error / Event #10
Day Hour Count May 30 17 5 18 11 20 3 23 8 May 31 00 28 11 51 FATAL: canceling authentication due to timeout
Times Reported Most Frequent Error / Event #11
Day Hour Count May 27 12 2 May 28 00 16 May 29 17 9 18 3 20 3 May 30 15 8 17 4 May 31 00 5 04 1 12 43 WARNING: skipping "..." --- only superuser can vacuum it
Times Reported Most Frequent Error / Event #12
Day Hour Count May 29 04 43 13 27 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #13
Day Hour Count May 25 11 2 May 26 18 1 19 6 May 27 22 4 23 2 May 28 23 4 May 29 00 1 01 1 22 5 May 31 07 1 14 24 ERROR: unexpected EOF on client connection with an open transaction
Times Reported Most Frequent Error / Event #14
Day Hour Count May 29 11 16 13 8 15 15 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #15
Day Hour Count May 27 12 2 22 1 May 29 18 3 19 1 20 1 May 30 15 1 16 2 17 4 16 8 ERROR: could not attach to dynamic shared area
Times Reported Most Frequent Error / Event #16
Day Hour Count May 30 17 3 May 31 00 5 - ERROR: could not attach to dynamic shared area
- ERROR: could not attach to dynamic shared area
- ERROR: could not attach to dynamic shared area
Statement: 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-05-30 17:57:13
Statement: SELECT /* ReferenceCitedChemsDAO */ c.id ,c.nm ,c.nm_html nmHtml ,c.acc_txt acc ,c.has_genes hasGenes ,c.has_diseases hasDiseases ,c.has_exposures hasExposures ,c.has_phenotypes hasPhenotypes FROM term c WHERE c.id IN( SELECT cdr.chem_id FROM chem_disease_reference cdr WHERE cdr.reference_id = $1 AND cdr.source_cd = 'C' UNION ALL SELECT gcr.chem_id FROM gene_chem_reference gcr WHERE gcr.reference_id = $2 UNION ALL select stressor.chem_id from exposure e ,exp_stressor stressor where e.reference_id = $3 and e.exp_stressor_id = stressor.id UNION ALL select event.exp_marker_term_id from exposure e ,exp_event event where e.reference_id = $4 and e.exp_event_id = event.id and event.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%' ) UNION ALL SELECT term_id FROM phenotype_term_reference ptr WHERE ptr.reference_id = $5 and ptr.term_object_type_id = 2) ORDER BY c.nm_sort
Date: 2025-05-30 17:57:26
Statement: SELECT /* DiseaseGeneAssnsDAO.rowCount */ COUNT(*) FROM gene_disease gd WHERE gd.disease_id IN (SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = $1)
Date: 2025-05-31 00:30:27
17 6 WARNING: there is no transaction in progress
Times Reported Most Frequent Error / Event #17
Day Hour Count May 29 04 2 07 4 18 3 ERROR: relation "..." does not exist
Times Reported Most Frequent Error / Event #18
Day Hour Count May 25 03 1 May 27 13 1 14 1 - ERROR: relation "disease_chem_gene" does not exist at character 369
- ERROR: relation "slim_term" does not exist at character 22
- ERROR: relation "chem_disease_reference" does not exist at character 357
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-05-25 03:46:29 Database: ctdprd51 Application: User: pubeu Remote:
Statement: select count(*) from slim_term
Date: 2025-05-27 13:43:09 Database: ctdprd51 Application: pgAdmin 4 - CONN:5567364 User: load Remote:
Statement: select * --distinct ( source_cd ) from pub2.chem_disease_reference cdr where chem_id = ( select id from pub2.term where nm = 'Zinc' ) and disease_id = ( select id from pub2.term where nm = 'Liver Cirrhosis, Experimental' ) and source_cd = 'I' -- alternative and ( chem_id, disease_id ) not in ( select chem_id ,disease_id from chem_disease_reference cdr where source_id = 'C' )
Date: 2025-05-27 14:10:03
19 2 ERROR: invalid byte sequence for encoding
Times Reported Most Frequent Error / Event #19
Day Hour Count May 30 03 2 - ERROR: invalid byte sequence for encoding "UTF8": 0x00
- ERROR: invalid byte sequence for encoding "UTF8": 0x00
Context: unnamed portal parameter $1
Statement: SELECT /* GeneIdBySymbolAccDAO */ t.id ,t.nm ,t.nm_sort nmSort ,t.acc_txt acc ,t.acc_db_cd accDbCd FROM term t ,(SELECT li.term_id FROM term_label li INNER JOIN term_label_type lti ON li.term_label_type_id = lti.id AND li.object_type_id = lti.object_type_id AND UPPER(li.nm) = $1 AND lti.object_type_id = 4 AND lti.nm = 'SYMBOL' UNION SELECT l.object_id FROM db_link l WHERE l.acc_txt = $2 AND l.object_type_id = 4 AND l.type_cd = 'A') ids WHERE t.id = ids.term_id ORDER BY CASE WHEN UPPER(t.nm) = $3 THEN 1 ELSE 2 END ,t.nm_sortDate: 2025-05-30 03:53:58
Context: unnamed portal parameter $1
Statement: SELECT /* ObjectIdDAOImpl.LabelsAndAccs */ t.id ,t.nm ,t.nm_sort nmSort ,t.acc_txt acc ,t.acc_db_cd accDbCd FROM term t ,(SELECT li.term_id FROM term_label li WHERE UPPER(li.nm) = $1 AND li.object_type_id = 2 UNION SELECT l.object_id FROM db_link l WHERE upper( l.acc_txt ) = $2 AND l.object_type_id = 2 AND l.type_cd = 'A') ids WHERE t.id = ids.term_id ORDER BY CASE WHEN UPPER(t.nm) = $3 THEN 1 ELSE 2 END ,t.nm_sortDate: 2025-05-30 03:54:32 Database: ctdprd51 Application: User: pubeu Remote:
20 1 LOG: process ... still waiting for AccessShareLock on relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #20
Day Hour Count May 27 14 1 - LOG: process 2670156 still waiting for AccessShareLock on relation 2633821 of database 484829 after 1000.482 ms
Detail: Process holding the lock: 2670135. Wait queue: 2670156.
Statement: LOCK TABLE edit.db_link IN ACCESS SHARE MODEDate: 2025-05-27 14:00:02 Database: ctdprd51 Application: pg_dump User: postgres Remote:
21 1 ERROR: remaining connection slots are reserved for non-replication superuser connections r.abbr_authors_txt || '^' || r.pub_start_yr as ref ,(...) ) as studyFactorNms ,(...) ) as associatedStudyTitles ,(...) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd ,'|' ) ) as stressorAgents ,(...) || '^' || COALESCE(...), '' ) || '^' || COALESCE(...) || '^' || COALESCE(...) || '^' || COALESCE(...) || '^' || receptor.description ,'|' ) ) as receptors ,(...) ) as studyCountries ,(...) ) as localities ,(...),' | ' ) ) as assayMediums ,(...) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd ,'|' ) ) as assayedMarkers ,(...) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd ,'|' ) ) as diseases ,(...) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd ,'|' ) ) as phenotypes ,(...) ) 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 (...) 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 (...) and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in (...) 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 Most Frequent Error / Event #21
Day Hour Count May 30 23 1 - ERROR: remaining connection slots are reserved for non-replication superuser connections 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 50
Context: parallel worker
Statement: SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' ||Date: 2025-05-30 23:28:39
22 1 ERROR: unterminated quoted identifier at or near ""..."
Times Reported Most Frequent Error / Event #22
Day Hour Count May 27 14 1 - ERROR: unterminated quoted identifier at or near "" " at character 524
Statement: select reference_acc_txt ,taxon_acc_txt ,pubTerm.nm ,get_ixn_prose( ixn_id ) ,create_by ,create_tm from edit.reference_ixn ri ,pub2.term pubTerm -- set to CURRENT PRODUCTION PUB!!!!! where taxon_acc_txt not in ( select acc_txt from load.term where object_type_id = ( select id from edit.object_type where cd = 'taxon' ) ) and pubTerm.acc_txt = ri.taxon_acc_txt and object_type_id = ( select id from edit.object_type where cd = 'taxon' ) and taxon_acc_txt is not null and taxon_acc_txt <> ''"
Date: 2025-05-27 14:48:18
23 1 LOG: process ... still waiting for AccessExclusiveLock on relation ... of database ... after ... ms
Times Reported Most Frequent Error / Event #23
Day Hour Count May 27 14 1 - LOG: process 2671212 still waiting for AccessExclusiveLock on relation 2633821 of database 484829 after 1000.046 ms
Detail: Process holding the lock: 2670156. Wait queue: 2671212.
Statement: SELECT * FROM pgbulkload.pg_bulkload($1)Date: 2025-05-27 14:00:54 Database: ctdprd51 Application: pg_bulkload User: load Remote:
24 1 ERROR: remaining connection slots are reserved for non-replication superuser connections 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(...) casRN ,phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotype ,phenotypeTerm.id phenotypeId ,(...) ,'|' ) ) as taxonTerms ,(...) ) as anatomyTerms ,COUNT(...) taxonCount ,i.ixn_prose_html ixnProseHtml ,i.ixn_prose_txt ixnProse ,i.sort_txt ixnSort ,(...) ) as references ,COUNT(...) 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 ptr.ixn_id = ANY (...) ) ) ) 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
Times Reported Most Frequent Error / Event #24
Day Hour Count May 31 00 1 - ERROR: remaining connection slots are reserved for non-replication superuser connections 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 ptr.ixn_id = ANY ( ARRAY ( ( select ixn_id from ixn_anatomy where anatomy_id in ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = ) ) ) ) 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
Context: parallel worker
Statement: select distinct /* ChemPhenotypesAssnsDAO */ associatedTerm.nm || '^' || o.cd || '^' ||Date: 2025-05-31 00:25:24
25 1 ERROR: column "..." does not exist
Times Reported Most Frequent Error / Event #25
Day Hour Count May 27 14 1 - ERROR: column "source_id" does not exist at character 398
Hint: Perhaps you meant to reference the column "cdr.source_cd" or the column "cdr.source_cd".
Statement: select * --distinct ( source_cd ) from pub2.chem_disease_reference cdr where chem_id = ( select id from pub2.term where nm = 'Zinc' ) and disease_id = ( select id from pub2.term where nm = 'Liver Cirrhosis, Experimental' ) and source_cd = 'I' -- alternative and ( chem_id, disease_id ) not in ( select chem_id ,disease_id from pub2.chem_disease_reference cdr where source_id = 'C' )Date: 2025-05-27 14:10:12
26 1 ERROR: distance in phrase operator must be an integer value between zero and 16384 inclusive
Times Reported Most Frequent Error / Event #26
Day Hour Count May 29 14 1 - ERROR: distance in phrase operator must be an integer value between zero and 16384 inclusive
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-05-29 14:42:23
27 1 ERROR: duplicate key value violates unique constraint "..."
Times Reported Most Frequent Error / Event #27
Day Hour Count May 28 06 1 - ERROR: duplicate key value violates unique constraint "term_label_ak1"
Detail: Key (acc_txt, synonym, term_label_type_id)=(D019327, Copper (II) sulfate pentahydrate, 34) already exists.
Statement: insert into edit.TERM_LABEL ( acc_txt ,nm ,acc_db_id ,synonym ,object_type_id ,term_label_type_id ,reference_acc_txt ,reference_acc_db_id ,notes ,create_by ,mod_by ) values ( 'D019327' ,'Copper Sulfate' ,21 ,'Copper (II) sulfate pentahydrate' ,2 ,34 ,'39753188' ,16 ,'' ,'dsciaky' ,'dsciaky' )Date: 2025-05-28 06:00:09 Database: ctdprd51 Application: User: editeu Remote: