-
Global information
- Generated on Wed Jul 3 04:15:04 2024
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20240702
- Parsed 21,867 log entries in 3s
- Log start from 2024-07-02 00:00:01 to 2024-07-02 23:59:42
-
Overview
Global Stats
- 137 Number of unique normalized queries
- 813 Number of queries
- 1h58m24s Total query duration
- 2024-07-02 00:04:21 First query
- 2024-07-02 23:57:51 Last query
- 2 queries/s at 2024-07-02 00:39:57 Query peak
- 1h58m24s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 1h58m24s Execute total duration
- 35 Number of events
- 19 Number of unique normalized events
- 7 Max number of times the same event was reported
- 0 Number of cancellation
- 11 Total number of automatic vacuums
- 39 Total number of automatic analyzes
- 0 Number temporary file
- 0 Max size of temporary file
- 0.00 B Average size of temporary file
- 2,266 Total number of sessions
- 94 sessions at 2024-07-02 00:23:33 Session peak
- 54d4h58m Total duration of sessions
- 34m26s Average duration of sessions
- 0 Average queries per session
- 3s135ms Average queries duration per session
- 34m23s Average idle time per session
- 2,259 Total number of connections
- 42 connections/s at 2024-07-02 00:23:33 Connection peak
- 3 Total number of databases
SQL Traffic
Key values
- 2 queries/s Query Peak
- 2024-07-02 00:39:57 Date
SELECT Traffic
Key values
- 2 queries/s Query Peak
- 2024-07-02 00:39:57 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2024-07-02 10:00:16 Date
Queries duration
Key values
- 1h58m24s 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) Jul 02 00 26 0ms 24m22s 1m41s 30s977ms 1m20s 24m22s 01 17 0ms 3m37s 13s993ms 1s848ms 2s568ms 3m37s 02 27 0ms 5s312ms 1s918ms 4s259ms 5s312ms 6s153ms 03 40 0ms 43s742ms 2s711ms 4s385ms 6s949ms 48s279ms 04 23 0ms 1m 5s682ms 4s924ms 13s102ms 1m 05 59 0ms 10s411ms 2s327ms 10s411ms 19s238ms 25s346ms 06 49 0ms 33s142ms 3s995ms 8s450ms 10s41ms 53s639ms 07 36 0ms 3m36s 9s31ms 5s332ms 15s839ms 3m36s 08 4 0ms 3s940ms 2s632ms 1s313ms 3s898ms 3s940ms 09 26 0ms 4s711ms 1s654ms 2s529ms 3s921ms 5s393ms 10 21 0ms 8m33s 42s818ms 17s193ms 1m3s 8m33s 11 47 0ms 1m1s 23s920ms 2m2s 3m15s 4m45s 12 26 0ms 4s198ms 2s29ms 3s11ms 3s932ms 16s661ms 13 39 0ms 57s406ms 3s785ms 3s971ms 7s41ms 1m2s 14 32 0ms 33s132ms 4s506ms 6s719ms 9s498ms 53s571ms 15 24 0ms 5s475ms 1s714ms 1s940ms 3s892ms 6s250ms 16 26 0ms 3s948ms 1s580ms 2s473ms 2s975ms 3s948ms 17 25 0ms 6s900ms 1s909ms 3s824ms 3s893ms 6s900ms 18 34 0ms 33s195ms 4s536ms 5s134ms 9s770ms 53s624ms 19 33 0ms 5s13ms 1s628ms 2s939ms 4s974ms 5s275ms 20 27 0ms 25s101ms 2s418ms 2s599ms 3s760ms 25s101ms 21 29 0ms 1m18s 5s569ms 5s254ms 14s127ms 1m18s 22 97 0ms 27s363ms 2s112ms 15s364ms 18s366ms 27s363ms 23 46 0ms 4s59ms 1s939ms 4s29ms 12s772ms 23s797ms Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jul 02 00 25 0 1m45s 1s298ms 30s977ms 24m22s 01 17 0 13s993ms 1s211ms 1s848ms 3m37s 02 27 0 1s918ms 2s501ms 4s259ms 6s153ms 03 40 0 2s711ms 1s440ms 4s385ms 48s279ms 04 23 0 5s682ms 1s572ms 4s924ms 1m 05 55 0 2s337ms 3s862ms 10s411ms 25s346ms 06 39 10 3s995ms 4s808ms 8s450ms 53s639ms 07 36 0 9s31ms 4s134ms 5s332ms 3m36s 08 4 0 2s632ms 0ms 1s313ms 3s940ms 09 26 0 1s654ms 1s444ms 2s529ms 5s393ms 10 10 10 19s287ms 1s443ms 9s869ms 1m3s 11 47 0 23s920ms 2s396ms 2m2s 4m45s 12 26 0 2s29ms 1s558ms 3s11ms 16s661ms 13 39 0 3s785ms 2s388ms 3s971ms 19s933ms 14 22 10 4s506ms 1s832ms 6s719ms 53s571ms 15 24 0 1s714ms 1s221ms 1s940ms 6s250ms 16 25 0 1s545ms 1s651ms 2s473ms 3s948ms 17 25 0 1s909ms 2s31ms 3s824ms 6s900ms 18 24 10 4s536ms 2s944ms 5s134ms 53s624ms 19 33 0 1s628ms 2s532ms 2s939ms 5s275ms 20 27 0 2s418ms 1s552ms 2s599ms 25s101ms 21 29 0 5s569ms 2s503ms 5s254ms 1m18s 22 97 0 2s112ms 7s720ms 15s364ms 27s363ms 23 46 0 1s939ms 1s377ms 4s29ms 23s797ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jul 02 00 0 0 0 0 0ms 0ms 0ms 0ms 01 0 0 0 0 0ms 0ms 0ms 0ms 02 0 0 0 0 0ms 0ms 0ms 0ms 03 0 0 0 0 0ms 0ms 0ms 0ms 04 0 0 0 0 0ms 0ms 0ms 0ms 05 0 0 0 0 0ms 0ms 0ms 0ms 06 0 0 0 0 0ms 0ms 0ms 0ms 07 0 0 0 0 0ms 0ms 0ms 0ms 08 0 0 0 0 0ms 0ms 0ms 0ms 09 0 0 0 0 0ms 0ms 0ms 0ms 10 0 0 0 0 0ms 0ms 0ms 0ms 11 0 0 0 0 0ms 0ms 0ms 0ms 12 0 0 0 0 0ms 0ms 0ms 0ms 13 0 0 0 0 0ms 0ms 0ms 0ms 14 0 0 0 0 0ms 0ms 0ms 0ms 15 0 0 0 0 0ms 0ms 0ms 0ms 16 0 0 0 0 0ms 0ms 0ms 0ms 17 0 0 0 0 0ms 0ms 0ms 0ms 18 0 0 0 0 0ms 0ms 0ms 0ms 19 0 0 0 0 0ms 0ms 0ms 0ms 20 0 0 0 0 0ms 0ms 0ms 0ms 21 0 0 0 0 0ms 0ms 0ms 0ms 22 0 0 0 0 0ms 0ms 0ms 0ms 23 0 0 0 0 0ms 0ms 0ms 0ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Jul 02 00 0 24 24.00 0.00% 01 0 17 17.00 0.00% 02 0 27 27.00 0.00% 03 0 40 40.00 0.00% 04 0 23 23.00 0.00% 05 0 59 59.00 0.00% 06 0 39 39.00 0.00% 07 0 36 36.00 0.00% 08 0 4 4.00 0.00% 09 0 24 24.00 0.00% 10 0 11 11.00 0.00% 11 0 51 51.00 0.00% 12 0 26 26.00 0.00% 13 0 40 40.00 0.00% 14 0 22 22.00 0.00% 15 0 24 24.00 0.00% 16 0 26 26.00 0.00% 17 0 25 25.00 0.00% 18 0 22 22.00 0.00% 19 0 33 33.00 0.00% 20 0 27 27.00 0.00% 21 0 29 29.00 0.00% 22 0 97 97.00 0.00% 23 0 46 46.00 0.00% Day Hour Count Average / Second Jul 02 00 319 0.09/s 01 70 0.02/s 02 87 0.02/s 03 83 0.02/s 04 77 0.02/s 05 94 0.03/s 06 87 0.02/s 07 84 0.02/s 08 78 0.02/s 09 83 0.02/s 10 82 0.02/s 11 88 0.02/s 12 90 0.03/s 13 86 0.02/s 14 80 0.02/s 15 95 0.03/s 16 86 0.02/s 17 81 0.02/s 18 84 0.02/s 19 80 0.02/s 20 89 0.02/s 21 83 0.02/s 22 90 0.03/s 23 83 0.02/s Day Hour Count Average Duration Average idle time Jul 02 00 326 1h5m22s 1h5m14s 01 70 31m17s 31m13s 02 87 28m9s 28m8s 03 83 28m42s 28m41s 04 77 31m36s 31m34s 05 94 26m10s 26m9s 06 87 27m7s 27m5s 07 84 29m12s 29m8s 08 78 30m59s 30m59s 09 82 30m23s 30m22s 10 80 29m38s 29m27s 11 88 27m3s 26m50s 12 90 27m24s 27m23s 13 86 28m27s 28m25s 14 80 29m27s 29m25s 15 95 26m49s 26m48s 16 86 26m49s 26m49s 17 81 29m40s 29m39s 18 87 45m42s 45m41s 19 80 29m44s 29m43s 20 89 27m14s 27m13s 21 83 26m59s 26m57s 22 90 27m19s 27m17s 23 83 28m14s 28m13s -
Connections
Established Connections
Key values
- 42 connections Connection Peak
- 2024-07-02 00:23:33 Date
Connections per database
Key values
- ctdprd51 Main Database
- 2,259 connections Total
Connections per user
Key values
- pubeu Main User
- 2,259 connections Total
-
Sessions
Simultaneous sessions
Key values
- 94 sessions Session Peak
- 2024-07-02 00:23:33 Date
Histogram of session times
Key values
- 1,740 1800000-3600000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 2,266 sessions Total
Sessions per user
Key values
- pubeu Main User
- 2,266 sessions Total
Sessions per host
Key values
- 10.12.5.37 Main Host
- 2,266 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 60,010 buffers Checkpoint Peak
- 2024-07-02 04:03:23 Date
- 1619.393 seconds Highest write time
- 0.003 seconds Sync time
Checkpoints Wal files
Key values
- 0 files Wal files usage Peak
- 2024-07-02 11:06:57 Date
Checkpoints distance
Key values
- 1,171.96 Mo Distance Peak
- 2024-07-02 04:03:23 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Jul 02 00 1,188 119.23s 0.004s 119.272s 01 1,523 152.756s 0.003s 152.829s 02 10,203 1,021.771s 0.004s 1,021.854s 03 429 43.08s 0.001s 43.095s 04 70,474 2,667.202s 0.006s 2,667.405s 05 736 73.929s 0.002s 74.004s 06 53,416 1,639.03s 0.003s 1,639.2s 07 1,036 103.985s 0.004s 104.016s 08 5,433 544.274s 0.003s 544.36s 09 6,392 640.293s 0.003s 640.369s 10 5,977 598.686s 0.005s 598.894s 11 903 90.656s 0.004s 90.688s 12 596 59.933s 0.003s 59.965s 13 758 76.051s 0.003s 76.132s 14 539 54.195s 0.003s 54.225s 15 469 47.185s 0.002s 47.215s 16 540 54.297s 0.004s 54.328s 17 385 38.777s 0.003s 38.806s 18 563 56.665s 0.004s 56.759s 19 361 36.366s 0.002s 36.396s 20 308 31.063s 0.002s 31.094s 21 1,428 143.153s 0.002s 143.184s 22 384 38.656s 0.002s 38.686s 23 418 42.069s 0.002s 42.101s Day Hour Added Removed Recycled Synced files Longest sync Average sync Jul 02 00 0 0 0 76 0.001s 0.002s 01 0 1 0 43 0.001s 0.002s 02 0 4 0 59 0.001s 0.002s 03 0 0 0 26 0.001s 0.001s 04 0 43 0 87 0.001s 0.003s 05 0 1 0 55 0.001s 0.002s 06 0 33 0 57 0.001s 0.002s 07 0 0 0 40 0.001s 0.002s 08 0 6 0 74 0.001s 0.002s 09 0 1 0 89 0.001s 0.002s 10 0 33 0 200 0.001s 0.002s 11 0 0 0 129 0.001s 0.002s 12 0 0 0 88 0.001s 0.002s 13 0 1 0 39 0.001s 0.002s 14 0 0 0 72 0.001s 0.002s 15 0 0 0 132 0.001s 0.002s 16 0 0 0 108 0.001s 0.002s 17 0 0 0 20 0.001s 0.002s 18 0 2 0 51 0.001s 0.003s 19 0 0 0 22 0.001s 0.002s 20 0 0 0 21 0.001s 0.002s 21 0 0 0 38 0.001s 0.002s 22 0 0 0 20 0.001s 0.002s 23 0 0 0 22 0.001s 0.002s Day Hour Count Avg time (sec) Jul 02 00 0 0s 01 0 0s 02 0 0s 03 0 0s 04 0 0s 05 0 0s 06 0 0s 07 0 0s 08 0 0s 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 16 0 0s 17 0 0s 18 0 0s 19 0 0s 20 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate Jul 02 00 3,837.50 kB 16,161.00 kB 01 6,260.00 kB 13,802.50 kB 02 33,855.50 kB 39,332.50 kB 03 3,768.00 kB 59,927.00 kB 04 236,260.00 kB 546,987.33 kB 05 1,717.00 kB 424,696.00 kB 06 273,257.00 kB 518,412.50 kB 07 2,981.50 kB 420,263.00 kB 08 26,816.50 kB 343,363.50 kB 09 29,976.50 kB 285,725.00 kB 10 268,372.50 kB 383,209.00 kB 11 2,369.00 kB 445,464.50 kB 12 1,300.50 kB 361,177.00 kB 13 1,674.50 kB 292,907.50 kB 14 779.00 kB 237,382.00 kB 15 855.50 kB 192,422.00 kB 16 1,012.00 kB 156,071.00 kB 17 401.50 kB 126,520.00 kB 18 8,239.00 kB 98,530.33 kB 19 503.50 kB 76,839.00 kB 20 354.00 kB 62,315.00 kB 21 4,192.50 kB 50,929.50 kB 22 476.50 kB 41,678.00 kB 23 535.00 kB 33,859.50 kB -
Temporary Files
Size of temporary files
Key values
- 0 Temp Files size Peak
- Date
Size of temporary files (5 minutes period)
NO DATASET
Number of temporary files
Key values
- 0 per second Temp Files Peak
- Date
Number of temporary files (5 minutes period)
NO DATASET
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Jul 02 00 0 0 0 01 0 0 0 02 0 0 0 03 0 0 0 04 0 0 0 05 0 0 0 06 0 0 0 07 0 0 0 08 0 0 0 09 0 0 0 10 0 0 0 11 0 0 0 12 0 0 0 13 0 0 0 14 0 0 0 15 0 0 0 16 0 0 0 17 0 0 0 18 0 0 0 19 0 0 0 20 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 12.48 sec Highest CPU-cost vacuum
Table load.ixn_prose
Database ctdprd51 - 2024-07-02 10:35:31 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 12.48 sec Highest CPU-cost vacuum
Table load.ixn_prose
Database ctdprd51 - 2024-07-02 10:35:31 Date
Analyzes per table
Key values
- pubc.log_query (27) Main table analyzed (database ctdprd51)
- 39 analyzes Total
Vacuums per table
Key values
- pubc.log_query (4) Main table vacuumed on database ctdprd51
- 11 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 4 4 1,815 0 334 0 0 488 104 742,158 ctdprd51.pub2.term_set_enrichment 3 0 2,792 0 629 0 0 1,240 5 108,577 ctdprd51.pub2.term_set_enrichment_agent 2 0 100,966 0 9,714 0 0 50,405 4 3,007,127 ctdprd51.load.ixn_prose 1 0 53,949 0 49,840 0 0 51,872 2 3,076,971 ctdprd51.pg_catalog.pg_statistic 1 1 644 0 132 0 26 381 121 603,460 Total 11 5 160,166 49,889 60,649 0 26 104,386 236 7,538,293 Tuples removed per table
Key values
- pg_catalog.pg_statistic (373) Main table with removed tuples on database ctdprd51
- 411 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pg_catalog.pg_statistic 1 1 373 2,486 0 0 290 ctdprd51.pubc.log_query 4 4 38 11,987 0 0 479 ctdprd51.load.ixn_prose 1 0 0 2,863,187 0 0 51,871 ctdprd51.pub2.term_set_enrichment_agent 2 0 0 16,031,838 0 0 182,181 ctdprd51.pub2.term_set_enrichment 3 0 0 345,796 0 0 5,738 Total 11 5 411 19,255,294 0 0 240,559 Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Jul 02 00 0 2 01 0 2 02 0 6 03 0 5 04 0 2 05 0 5 06 0 2 07 0 1 08 0 1 09 0 1 10 0 2 11 0 2 12 0 1 13 0 1 14 0 1 15 0 1 16 0 1 17 0 0 18 0 1 19 0 0 20 0 0 21 0 1 22 0 0 23 0 1 - 12.48 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- unknown Main Lock Type
- 0 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query NO DATASET
Queries that waited the most
Rank Wait time Query NO DATASET
-
Queries
Queries by type
Key values
- 766 Total read queries
- 46 Total write queries
Queries by database
Key values
- unknown Main database
- 514 Requests
- 1h4m5s (ctdprd51)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 757 Requests
User Request type Count Duration edit Total 1 2s435ms select 1 2s435ms load Total 3 11m32s ddl 1 8m33s select 2 2m58s postgres Total 18 6m28s copy to 16 6m18s select 2 9s770ms pubc Total 1 3s428ms select 1 3s428ms pubeu Total 443 1h51m45s cte 3 9s151ms select 440 1h51m36s qaeu Total 10 22s659ms cte 2 6s728ms select 8 15s930ms unknown Total 757 1h9m49s copy to 64 7m34s cte 4 4s77ms others 1 5s425ms select 688 1h2m5s Duration by user
Key values
- 1h51m45s (pubeu) Main time consuming user
User Request type Count Duration edit Total 1 2s435ms select 1 2s435ms load Total 3 11m32s ddl 1 8m33s select 2 2m58s postgres Total 18 6m28s copy to 16 6m18s select 2 9s770ms pubc Total 1 3s428ms select 1 3s428ms pubeu Total 443 1h51m45s cte 3 9s151ms select 440 1h51m36s qaeu Total 10 22s659ms cte 2 6s728ms select 8 15s930ms unknown Total 757 1h9m49s copy to 64 7m34s cte 4 4s77ms others 1 5s425ms select 688 1h2m5s Queries by host
Key values
- unknown Main host
- 1,233 Requests
- 3h20m3s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 801 Requests
- 1h46m29s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2024-07-02 10:00:16 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 741 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 24m22s 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 = '2082315') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;[ Date: 2024-07-02 00:04:21 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
2 16m20s /* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();[ Date: 2024-07-02 00:16:22 ]
3 8m33s drop table load.ixn_prose; create table load.ixn_prose as select edit.get_ixn_prose (ri.ixn_id) as ixn_prose_txt, ri.reference_acc_txt, ri.taxon_acc_txt, ri.mod_tm, t.nm from edit.reference_ixn ri, edit.ixn i, edit.ixn_type t where ri.ixn_id = i.id and i.ixn_type_id = t.id;[ Date: 2024-07-02 10:34:23 - Database: ctdprd51 - User: load - Application: pgAdmin 4 - CONN:3182627 ]
4 3m37s 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 = '1242889') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-07-02 01:16:07 - Bind query: yes ]
5 3m36s 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 = '1242889') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-07-02 07:07:14 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
6 2m57s SELECT r.ixn_id, edit.get_ixn_prose (r.ixn_id), r.reference_acc_txt, r.taxon_acc_txt, r.internal_note, r.field_cd, edit.get_ixn_xml (r.ixn_id), to_char(r.create_tm, 'mm-dd-yyyy'), r.evidence_cd, i.create_by FROM edit.REFERENCE_IXN r, edit.IXN i where r.ixn_id = i.id and i.ixn_type_id = ( select id from edit.IXN_TYPE where nm = 'PHENOTYPE');[ Date: 2024-07-02 10:42:41 - Database: ctdprd51 - User: load - Bind query: yes ]
7 1m18s 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 = '1227153') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-07-02 21:57:17 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
8 1m3s select i.root_id, iq.nm from edit.REFERENCE_IXN_QUALIFIER riq, edit.IXN_QUALIFIER iq, edit.REFERENCE_IXN ri, edit.IXN i where riq.ixn_qualifier_id = iq.id and ri.id = riq.reference_ixn_id and ri.ixn_id = i.id;[ Date: 2024-07-02 10:44:06 - Bind query: yes ]
9 1m1s SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '/> & ATTR_SEP & STYLE= & VALUE_SEP & WIDTH & 100% & HEIGHT & 100% & POSITION & FIXED & LEFT & 0PX & TOP & 0PX & ATTR_SEP & ONPOINTERENTER= & VALUE_SEP & CONFIRM`1` & VALUE_SEP & ZID= & VALUE_SEP') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '/> & ATTR_SEP & STYLE= & VALUE_SEP & WIDTH & 100% & HEIGHT & 100% & POSITION & FIXED & LEFT & 0PX & TOP & 0PX & ATTR_SEP & ONPOINTERENTER= & VALUE_SEP & CONFIRM`1` & VALUE_SEP & ZID= & VALUE_SEP') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'STYLE=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WIDTH' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '100%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'HEIGHT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '100%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'POSITION' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FIXED' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'LEFT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0PX' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'TOP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0PX' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ONPOINTERENTER=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CONFIRM`1`' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ZID=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '/>' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'STYLE=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'WIDTH' OR upper(l.acc_txt) LIKE '100%' OR upper(l.acc_txt) LIKE 'HEIGHT' OR upper(l.acc_txt) LIKE '100%' OR upper(l.acc_txt) LIKE 'POSITION' OR upper(l.acc_txt) LIKE 'FIXED' OR upper(l.acc_txt) LIKE 'LEFT' OR upper(l.acc_txt) LIKE '0PX' OR upper(l.acc_txt) LIKE 'TOP' OR upper(l.acc_txt) LIKE '0PX' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'ONPOINTERENTER=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'CONFIRM`1`' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'ZID=' OR upper(l.acc_txt) LIKE 'VALUE_SEP')) ii GROUP BY ii.cd;[ Date: 2024-07-02 11:14:53 - Bind query: yes ]
10 1m1s SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '/> & ATTR_SEP & STYLE= & VALUE_SEP & WIDTH & 100% & HEIGHT & 100% & POSITION & FIXED & LEFT & 0PX & TOP & 0PX & ATTR_SEP & ONPOINTERENTER= & VALUE_SEP & CONFIRM`1` & VALUE_SEP & ZID= & VALUE_SEP') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '/> & ATTR_SEP & STYLE= & VALUE_SEP & WIDTH & 100% & HEIGHT & 100% & POSITION & FIXED & LEFT & 0PX & TOP & 0PX & ATTR_SEP & ONPOINTERENTER= & VALUE_SEP & CONFIRM`1` & VALUE_SEP & ZID= & VALUE_SEP') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'STYLE=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WIDTH' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '100%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'HEIGHT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '100%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'POSITION' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FIXED' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'LEFT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0PX' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'TOP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0PX' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ONPOINTERENTER=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CONFIRM`1`' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ZID=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '/>' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'STYLE=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'WIDTH' OR upper(l.acc_txt) LIKE '100%' OR upper(l.acc_txt) LIKE 'HEIGHT' OR upper(l.acc_txt) LIKE '100%' OR upper(l.acc_txt) LIKE 'POSITION' OR upper(l.acc_txt) LIKE 'FIXED' OR upper(l.acc_txt) LIKE 'LEFT' OR upper(l.acc_txt) LIKE '0PX' OR upper(l.acc_txt) LIKE 'TOP' OR upper(l.acc_txt) LIKE '0PX' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'ONPOINTERENTER=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'CONFIRM`1`' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'ZID=' OR upper(l.acc_txt) LIKE 'VALUE_SEP')) ii GROUP BY ii.cd;[ Date: 2024-07-02 11:15:09 - Bind query: yes ]
11 1m1s SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '/> & ATTR_SEP & STYLE= & VALUE_SEP & WIDTH & 100% & HEIGHT & 100% & POSITION & FIXED & LEFT & 0PX & TOP & 0PX & ATTR_SEP & ONPOINTERENTER= & VALUE_SEP & CONFIRM`1` & VALUE_SEP & ZID= & VALUE_SEP') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '/> & ATTR_SEP & STYLE= & VALUE_SEP & WIDTH & 100% & HEIGHT & 100% & POSITION & FIXED & LEFT & 0PX & TOP & 0PX & ATTR_SEP & ONPOINTERENTER= & VALUE_SEP & CONFIRM`1` & VALUE_SEP & ZID= & VALUE_SEP') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'STYLE=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WIDTH' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '100%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'HEIGHT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '100%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'POSITION' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FIXED' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'LEFT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0PX' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'TOP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0PX' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ONPOINTERENTER=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CONFIRM`1`' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ZID=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '/>' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'STYLE=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'WIDTH' OR upper(l.acc_txt) LIKE '100%' OR upper(l.acc_txt) LIKE 'HEIGHT' OR upper(l.acc_txt) LIKE '100%' OR upper(l.acc_txt) LIKE 'POSITION' OR upper(l.acc_txt) LIKE 'FIXED' OR upper(l.acc_txt) LIKE 'LEFT' OR upper(l.acc_txt) LIKE '0PX' OR upper(l.acc_txt) LIKE 'TOP' OR upper(l.acc_txt) LIKE '0PX' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'ONPOINTERENTER=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'CONFIRM`1`' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'ZID=' OR upper(l.acc_txt) LIKE 'VALUE_SEP')) ii GROUP BY ii.cd;[ Date: 2024-07-02 11:15:00 - Bind query: yes ]
12 1m 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 = '1408957')) ORDER BY r.sort_txt LIMIT 50;[ Date: 2024-07-02 04:36:21 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
13 57s406ms 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 = '2070257') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 8817400;[ Date: 2024-07-02 13:32:48 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
14 56s223ms SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '/> & ATTR_SEP & STYLE= & VALUE_SEP & WIDTH & 100% & HEIGHT & 100% & POSITION & FIXED & LEFT & 0PX & TOP & 0PX & ATTR_SEP & ONMOUSEOVER= & VALUE_SEP & ALERT & 1') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '/> & ATTR_SEP & STYLE= & VALUE_SEP & WIDTH & 100% & HEIGHT & 100% & POSITION & FIXED & LEFT & 0PX & TOP & 0PX & ATTR_SEP & ONMOUSEOVER= & VALUE_SEP & ALERT & 1') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'STYLE=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WIDTH' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '100%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'HEIGHT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '100%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'POSITION' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FIXED' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'LEFT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0PX' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'TOP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0PX' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ONMOUSEOVER=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '1')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '/>' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'STYLE=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'WIDTH' OR upper(l.acc_txt) LIKE '100%' OR upper(l.acc_txt) LIKE 'HEIGHT' OR upper(l.acc_txt) LIKE '100%' OR upper(l.acc_txt) LIKE 'POSITION' OR upper(l.acc_txt) LIKE 'FIXED' OR upper(l.acc_txt) LIKE 'LEFT' OR upper(l.acc_txt) LIKE '0PX' OR upper(l.acc_txt) LIKE 'TOP' OR upper(l.acc_txt) LIKE '0PX' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'ONMOUSEOVER=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'ALERT' OR upper(l.acc_txt) LIKE '1')) ii GROUP BY ii.cd;[ Date: 2024-07-02 11:14:06 - Bind query: yes ]
15 55s806ms SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '/> & ATTR_SEP & STYLE= & VALUE_SEP & WIDTH & 100% & HEIGHT & 100% & POSITION & FIXED & LEFT & 0PX & TOP & 0PX & ATTR_SEP & ONMOUSEOVER= & VALUE_SEP & ALERT & 1') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '/> & ATTR_SEP & STYLE= & VALUE_SEP & WIDTH & 100% & HEIGHT & 100% & POSITION & FIXED & LEFT & 0PX & TOP & 0PX & ATTR_SEP & ONMOUSEOVER= & VALUE_SEP & ALERT & 1') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'STYLE=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WIDTH' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '100%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'HEIGHT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '100%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'POSITION' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FIXED' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'LEFT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0PX' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'TOP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0PX' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ONMOUSEOVER=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '1')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '/>' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'STYLE=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'WIDTH' OR upper(l.acc_txt) LIKE '100%' OR upper(l.acc_txt) LIKE 'HEIGHT' OR upper(l.acc_txt) LIKE '100%' OR upper(l.acc_txt) LIKE 'POSITION' OR upper(l.acc_txt) LIKE 'FIXED' OR upper(l.acc_txt) LIKE 'LEFT' OR upper(l.acc_txt) LIKE '0PX' OR upper(l.acc_txt) LIKE 'TOP' OR upper(l.acc_txt) LIKE '0PX' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'ONMOUSEOVER=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'ALERT' OR upper(l.acc_txt) LIKE '1')) ii GROUP BY ii.cd;[ Date: 2024-07-02 11:13:40 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
16 55s715ms SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '/> & ATTR_SEP & STYLE= & VALUE_SEP & WIDTH & 100% & HEIGHT & 100% & POSITION & FIXED & LEFT & 0PX & TOP & 0PX & ATTR_SEP & ONMOUSEOVER= & VALUE_SEP & ALERT & 1') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '/> & ATTR_SEP & STYLE= & VALUE_SEP & WIDTH & 100% & HEIGHT & 100% & POSITION & FIXED & LEFT & 0PX & TOP & 0PX & ATTR_SEP & ONMOUSEOVER= & VALUE_SEP & ALERT & 1') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'STYLE=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WIDTH' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '100%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'HEIGHT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '100%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'POSITION' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FIXED' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'LEFT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0PX' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'TOP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0PX' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ONMOUSEOVER=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '1')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '/>' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'STYLE=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'WIDTH' OR upper(l.acc_txt) LIKE '100%' OR upper(l.acc_txt) LIKE 'HEIGHT' OR upper(l.acc_txt) LIKE '100%' OR upper(l.acc_txt) LIKE 'POSITION' OR upper(l.acc_txt) LIKE 'FIXED' OR upper(l.acc_txt) LIKE 'LEFT' OR upper(l.acc_txt) LIKE '0PX' OR upper(l.acc_txt) LIKE 'TOP' OR upper(l.acc_txt) LIKE '0PX' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'ONMOUSEOVER=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'ALERT' OR upper(l.acc_txt) LIKE '1')) ii GROUP BY ii.cd;[ Date: 2024-07-02 11:13:15 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
17 55s639ms SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '/> & ATTR_SEP & STYLE= & VALUE_SEP & WIDTH & 100% & HEIGHT & 100% & POSITION & FIXED & LEFT & 0PX & TOP & 0PX & ATTR_SEP & ONMOUSEOVER= & VALUE_SEP & ALERT & 1') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '/> & ATTR_SEP & STYLE= & VALUE_SEP & WIDTH & 100% & HEIGHT & 100% & POSITION & FIXED & LEFT & 0PX & TOP & 0PX & ATTR_SEP & ONMOUSEOVER= & VALUE_SEP & ALERT & 1') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'STYLE=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WIDTH' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '100%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'HEIGHT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '100%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'POSITION' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FIXED' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'LEFT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0PX' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'TOP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0PX' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ONMOUSEOVER=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '1')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '/>' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'STYLE=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'WIDTH' OR upper(l.acc_txt) LIKE '100%' OR upper(l.acc_txt) LIKE 'HEIGHT' OR upper(l.acc_txt) LIKE '100%' OR upper(l.acc_txt) LIKE 'POSITION' OR upper(l.acc_txt) LIKE 'FIXED' OR upper(l.acc_txt) LIKE 'LEFT' OR upper(l.acc_txt) LIKE '0PX' OR upper(l.acc_txt) LIKE 'TOP' OR upper(l.acc_txt) LIKE '0PX' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'ONMOUSEOVER=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'ALERT' OR upper(l.acc_txt) LIKE '1')) ii GROUP BY ii.cd;[ Date: 2024-07-02 11:13:33 - Bind query: yes ]
18 55s542ms SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '/> & ATTR_SEP & STYLE= & VALUE_SEP & WIDTH & 100% & HEIGHT & 100% & POSITION & FIXED & LEFT & 0PX & TOP & 0PX & ATTR_SEP & ONMOUSEOVER= & VALUE_SEP & ALERT & 1') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '/> & ATTR_SEP & STYLE= & VALUE_SEP & WIDTH & 100% & HEIGHT & 100% & POSITION & FIXED & LEFT & 0PX & TOP & 0PX & ATTR_SEP & ONMOUSEOVER= & VALUE_SEP & ALERT & 1') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'STYLE=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WIDTH' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '100%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'HEIGHT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '100%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'POSITION' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FIXED' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'LEFT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0PX' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'TOP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0PX' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ONMOUSEOVER=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '1')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '/>' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'STYLE=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'WIDTH' OR upper(l.acc_txt) LIKE '100%' OR upper(l.acc_txt) LIKE 'HEIGHT' OR upper(l.acc_txt) LIKE '100%' OR upper(l.acc_txt) LIKE 'POSITION' OR upper(l.acc_txt) LIKE 'FIXED' OR upper(l.acc_txt) LIKE 'LEFT' OR upper(l.acc_txt) LIKE '0PX' OR upper(l.acc_txt) LIKE 'TOP' OR upper(l.acc_txt) LIKE '0PX' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'ONMOUSEOVER=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'ALERT' OR upper(l.acc_txt) LIKE '1')) ii GROUP BY ii.cd;[ Date: 2024-07-02 11:13:48 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
19 43s742ms SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'mRNA'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'IL1B'))) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50;[ Date: 2024-07-02 03:26:14 - Bind query: yes ]
20 34s957ms 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 = '2075512')) ORDER BY r.sort_txt LIMIT 50;[ Date: 2024-07-02 11:50:37 - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 25m48s 7 1s113ms 24m22s 3m41s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 02 00 4 25m44s 6m26s 06 1 1s505ms 1s505ms 18 1 1s113ms 1s113ms 19 1 1s509ms 1s509ms [ User: pubeu - Total duration: 25m17s - Times executed: 4 ]
-
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 = '2082315') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-07-02 00:04:21 Duration: 24m22s 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 = '2082315') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-07-02 00:34:35 Duration: 27s921ms 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 = '2082315') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-07-02 00:34:38 Duration: 27s248ms Database: ctdprd51 User: pubeu Bind query: yes
2 16m20s 1 16m20s 16m20s 16m20s select maint_query_logs_archive ();Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jul 02 00 1 16m20s 16m20s -
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-07-02 00:16:22 Duration: 16m20s
3 8m44s 9 1s447ms 3m37s 58s228ms 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 Jul 02 01 1 3m37s 3m37s 03 3 6s949ms 2s316ms 04 1 1s572ms 1s572ms 07 1 3m36s 3m36s 09 1 1s447ms 1s447ms 18 1 1s578ms 1s578ms 21 1 1m18s 1m18s [ User: pubeu - Total duration: 4m57s - Times executed: 3 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1242889') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-07-02 01:16:07 Duration: 3m37s 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 = '1242889') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-07-02 07:07:14 Duration: 3m36s 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 = '1227153') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-07-02 21:57:17 Duration: 1m18s Database: ctdprd51 User: pubeu Bind query: yes
4 8m33s 1 8m33s 8m33s 8m33s drop table load.ixn_prose; create table load.ixn_prose as select edit.get_ixn_prose (ri.ixn_id) as ixn_prose_txt, ri.reference_acc_txt, ri.taxon_acc_txt, ri.mod_tm, t.nm from edit.reference_ixn ri, edit.ixn i, edit.ixn_type t where ri.ixn_id = i.id and i.ixn_type_id = t.id;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jul 02 10 1 8m33s 8m33s [ User: load - Total duration: 8m33s - Times executed: 1 ]
[ Application: pgAdmin 4 - CONN:3182627 - Total duration: 8m33s - Times executed: 1 ]
-
drop table load.ixn_prose; create table load.ixn_prose as select edit.get_ixn_prose (ri.ixn_id) as ixn_prose_txt, ri.reference_acc_txt, ri.taxon_acc_txt, ri.mod_tm, t.nm from edit.reference_ixn ri, edit.ixn i, edit.ixn_type t where ri.ixn_id = i.id and i.ixn_type_id = t.id;
Date: 2024-07-02 10:34:23 Duration: 8m33s Database: ctdprd51 User: load Application: pgAdmin 4 - CONN:3182627
5 4m38s 5 55s542ms 56s223ms 55s785ms select ii.cd, count(ii.id) cnt from ( select ot.cd, tl.term_id id from object_type ot inner join term_label tl on ot.id = tl.object_type_id where tl.nm_fts @@ to_tsquery(?, ?) union select ?, r.id from reference r where r.title_abstract_fts @@ to_tsquery(?, ?) or r.id in ( select rpr.reference_id from reference_party_role rpr inner join reference_party rp on rpr.reference_party_id = rp.id where (substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ?)) union select ot.cd, l.object_id from db_link l inner join object_type ot on l.object_type_id = ot.id where l.type_cd = ? and (upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ?)) ii group by ii.cd;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jul 02 11 5 4m38s 55s785ms [ User: pubeu - Total duration: 2m47s - Times executed: 3 ]
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '/> & ATTR_SEP & STYLE= & VALUE_SEP & WIDTH & 100% & HEIGHT & 100% & POSITION & FIXED & LEFT & 0PX & TOP & 0PX & ATTR_SEP & ONMOUSEOVER= & VALUE_SEP & ALERT & 1') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '/> & ATTR_SEP & STYLE= & VALUE_SEP & WIDTH & 100% & HEIGHT & 100% & POSITION & FIXED & LEFT & 0PX & TOP & 0PX & ATTR_SEP & ONMOUSEOVER= & VALUE_SEP & ALERT & 1') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'STYLE=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WIDTH' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '100%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'HEIGHT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '100%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'POSITION' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FIXED' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'LEFT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0PX' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'TOP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0PX' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ONMOUSEOVER=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '1')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '/>' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'STYLE=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'WIDTH' OR upper(l.acc_txt) LIKE '100%' OR upper(l.acc_txt) LIKE 'HEIGHT' OR upper(l.acc_txt) LIKE '100%' OR upper(l.acc_txt) LIKE 'POSITION' OR upper(l.acc_txt) LIKE 'FIXED' OR upper(l.acc_txt) LIKE 'LEFT' OR upper(l.acc_txt) LIKE '0PX' OR upper(l.acc_txt) LIKE 'TOP' OR upper(l.acc_txt) LIKE '0PX' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'ONMOUSEOVER=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'ALERT' OR upper(l.acc_txt) LIKE '1')) ii GROUP BY ii.cd;
Date: 2024-07-02 11:14:06 Duration: 56s223ms Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '/> & ATTR_SEP & STYLE= & VALUE_SEP & WIDTH & 100% & HEIGHT & 100% & POSITION & FIXED & LEFT & 0PX & TOP & 0PX & ATTR_SEP & ONMOUSEOVER= & VALUE_SEP & ALERT & 1') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '/> & ATTR_SEP & STYLE= & VALUE_SEP & WIDTH & 100% & HEIGHT & 100% & POSITION & FIXED & LEFT & 0PX & TOP & 0PX & ATTR_SEP & ONMOUSEOVER= & VALUE_SEP & ALERT & 1') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'STYLE=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WIDTH' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '100%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'HEIGHT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '100%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'POSITION' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FIXED' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'LEFT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0PX' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'TOP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0PX' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ONMOUSEOVER=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '1')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '/>' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'STYLE=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'WIDTH' OR upper(l.acc_txt) LIKE '100%' OR upper(l.acc_txt) LIKE 'HEIGHT' OR upper(l.acc_txt) LIKE '100%' OR upper(l.acc_txt) LIKE 'POSITION' OR upper(l.acc_txt) LIKE 'FIXED' OR upper(l.acc_txt) LIKE 'LEFT' OR upper(l.acc_txt) LIKE '0PX' OR upper(l.acc_txt) LIKE 'TOP' OR upper(l.acc_txt) LIKE '0PX' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'ONMOUSEOVER=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'ALERT' OR upper(l.acc_txt) LIKE '1')) ii GROUP BY ii.cd;
Date: 2024-07-02 11:13:40 Duration: 55s806ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '/> & ATTR_SEP & STYLE= & VALUE_SEP & WIDTH & 100% & HEIGHT & 100% & POSITION & FIXED & LEFT & 0PX & TOP & 0PX & ATTR_SEP & ONMOUSEOVER= & VALUE_SEP & ALERT & 1') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '/> & ATTR_SEP & STYLE= & VALUE_SEP & WIDTH & 100% & HEIGHT & 100% & POSITION & FIXED & LEFT & 0PX & TOP & 0PX & ATTR_SEP & ONMOUSEOVER= & VALUE_SEP & ALERT & 1') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'STYLE=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WIDTH' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '100%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'HEIGHT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '100%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'POSITION' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FIXED' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'LEFT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0PX' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'TOP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0PX' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ONMOUSEOVER=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '1')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '/>' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'STYLE=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'WIDTH' OR upper(l.acc_txt) LIKE '100%' OR upper(l.acc_txt) LIKE 'HEIGHT' OR upper(l.acc_txt) LIKE '100%' OR upper(l.acc_txt) LIKE 'POSITION' OR upper(l.acc_txt) LIKE 'FIXED' OR upper(l.acc_txt) LIKE 'LEFT' OR upper(l.acc_txt) LIKE '0PX' OR upper(l.acc_txt) LIKE 'TOP' OR upper(l.acc_txt) LIKE '0PX' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'ONMOUSEOVER=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'ALERT' OR upper(l.acc_txt) LIKE '1')) ii GROUP BY ii.cd;
Date: 2024-07-02 11:13:15 Duration: 55s715ms Database: ctdprd51 User: pubeu Bind query: yes
6 4m4s 206 1s125ms 1s296ms 1s185ms 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 #6
Day Hour Count Duration Avg duration Jul 02 00 5 5s824ms 1s164ms 01 10 11s844ms 1s184ms 02 11 13s61ms 1s187ms 03 13 15s412ms 1s185ms 04 7 8s311ms 1s187ms 05 7 8s419ms 1s202ms 06 8 9s588ms 1s198ms 07 7 8s306ms 1s186ms 09 11 12s922ms 1s174ms 10 1 1s186ms 1s186ms 11 9 10s763ms 1s195ms 12 6 7s121ms 1s186ms 13 17 20s90ms 1s181ms 14 5 5s897ms 1s179ms 15 14 16s697ms 1s192ms 16 13 15s405ms 1s185ms 17 10 11s975ms 1s197ms 18 5 5s989ms 1s197ms 19 10 11s848ms 1s184ms 20 14 16s459ms 1s175ms 21 6 7s78ms 1s179ms 22 9 10s470ms 1s163ms 23 8 9s513ms 1s189ms [ User: pubeu - Total duration: 1m38s - Times executed: 83 ]
-
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 = '1433030' or receptorTerm.id = '1433030' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-07-02 05:38:40 Duration: 1s296ms 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 = '2050515' or receptorTerm.id = '2050515' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-07-02 17:29:28 Duration: 1s234ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '1433030' or receptorTerm.id = '1433030' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-07-02 05:43:40 Duration: 1s226ms Bind query: yes
7 3m42s 21 1s259ms 57s406ms 10s583ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jul 02 00 8 1m24s 10s620ms 04 2 30s774ms 15s387ms 06 1 4s808ms 4s808ms 11 1 1s902ms 1s902ms 13 2 1m16s 38s90ms 16 1 1s958ms 1s958ms 19 1 1s259ms 1s259ms 20 2 7s865ms 3s932ms 21 1 2s930ms 2s930ms 22 2 9s617ms 4s808ms [ User: pubeu - Total duration: 2m11s - Times executed: 11 ]
-
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 = '2070257') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 8817400;
Date: 2024-07-02 13:32:48 Duration: 57s406ms 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 = '2082315') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 3802100;
Date: 2024-07-02 00:39:57 Duration: 24s941ms 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 = '2082315') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 3802100;
Date: 2024-07-02 00:39:57 Duration: 24s927ms Database: ctdprd51 User: pubeu Bind query: yes
8 3m11s 48 3s862ms 4s217ms 3s987ms select coalesce(st.alt_nm, t.nm) slimtermnm, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.curated_reference_qty > ?) curatedcount, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.indirect_gene_qty > ?) inferredcount from slim_term st inner join term t on st.slim_term_id = t.id where st.slim_id = ? order by ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jul 02 00 1 4s64ms 4s64ms 02 2 8s51ms 4s25ms 03 1 3s947ms 3s947ms 04 1 3s959ms 3s959ms 05 4 15s897ms 3s974ms 06 7 28s 4s 07 9 36s279ms 4s31ms 08 2 7s838ms 3s919ms 09 2 8s109ms 4s54ms 10 2 7s997ms 3s998ms 11 1 3s928ms 3s928ms 12 2 8s115ms 4s57ms 13 2 7s874ms 3s937ms 16 1 3s948ms 3s948ms 17 3 11s709ms 3s903ms 21 3 11s835ms 3s945ms 22 3 11s896ms 3s965ms 23 2 7s967ms 3s983ms [ User: pubeu - Total duration: 1m7s - Times executed: 17 ]
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1256874') AND stm.slim_term_id = st.slim_term_id AND cd.curated_reference_qty > 0) curatedCount, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1256874') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-07-02 07:12:42 Duration: 4s217ms Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1273494') AND stm.slim_term_id = st.slim_term_id AND cd.curated_reference_qty > 0) curatedCount, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1273494') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-07-02 09:31:16 Duration: 4s188ms Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1394584') AND stm.slim_term_id = st.slim_term_id AND cd.curated_reference_qty > 0) curatedCount, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1394584') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-07-02 12:29:26 Duration: 4s182ms Bind query: yes
9 3m9s 6 31s328ms 31s639ms 31s507ms select ii.cd, count(ii.id) cnt from ( select ot.cd, tl.term_id id from object_type ot inner join term_label tl on ot.id = tl.object_type_id where tl.nm_fts @@ to_tsquery(?, ?) union select ?, r.id from reference r where r.title_abstract_fts @@ to_tsquery(?, ?) or r.id in ( select rpr.reference_id from reference_party_role rpr inner join reference_party rp on rpr.reference_party_id = rp.id where (substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ?)) union select ot.cd, l.object_id from db_link l inner join object_type ot on l.object_type_id = ot.id where l.type_cd = ? and (upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ?)) ii group by ii.cd;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jul 02 11 6 3m9s 31s507ms [ User: pubeu - Total duration: 1m2s - Times executed: 2 ]
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '/> & ATTR_SEP & VALUE_SEP & ALERT & 1 & ATTR_SEP & ONERROR= & VALUE_SEP & ALERT & 1') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '/> & ATTR_SEP & VALUE_SEP & ALERT & 1 & ATTR_SEP & ONERROR= & VALUE_SEP & ALERT & 1') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ONERROR=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '1')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '/>' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'ALERT' OR upper(l.acc_txt) LIKE '1' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'ONERROR=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'ALERT' OR upper(l.acc_txt) LIKE '1')) ii GROUP BY ii.cd;
Date: 2024-07-02 11:10:13 Duration: 31s639ms Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '/> & ATTR_SEP & HREF & ONERROR= & VALUE_SEP & PROMPT & `1` & VALUE_SEP & ID= & VALUE_SEP') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '/> & ATTR_SEP & HREF & ONERROR= & VALUE_SEP & PROMPT & `1` & VALUE_SEP & ID= & VALUE_SEP') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'HREF' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ONERROR=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'PROMPT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '`1`' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ID=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '/>' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'HREF' OR upper(l.acc_txt) LIKE 'ONERROR=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'PROMPT' OR upper(l.acc_txt) LIKE '`1`' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'ID=' OR upper(l.acc_txt) LIKE 'VALUE_SEP')) ii GROUP BY ii.cd;
Date: 2024-07-02 11:13:49 Duration: 31s614ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '/> & ATTR_SEP & VALUE_SEP & ALERT & 1 & ATTR_SEP & ONERROR= & VALUE_SEP & ALERT & 1') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '/> & ATTR_SEP & VALUE_SEP & ALERT & 1 & ATTR_SEP & ONERROR= & VALUE_SEP & ALERT & 1') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ONERROR=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '1')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '/>' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'ALERT' OR upper(l.acc_txt) LIKE '1' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'ONERROR=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'ALERT' OR upper(l.acc_txt) LIKE '1')) ii GROUP BY ii.cd;
Date: 2024-07-02 11:10:01 Duration: 31s613ms Bind query: yes
10 3m3s 3 1m1s 1m1s 1m1s select ii.cd, count(ii.id) cnt from ( select ot.cd, tl.term_id id from object_type ot inner join term_label tl on ot.id = tl.object_type_id where tl.nm_fts @@ to_tsquery(?, ?) union select ?, r.id from reference r where r.title_abstract_fts @@ to_tsquery(?, ?) or r.id in ( select rpr.reference_id from reference_party_role rpr inner join reference_party rp on rpr.reference_party_id = rp.id where (substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ?)) union select ot.cd, l.object_id from db_link l inner join object_type ot on l.object_type_id = ot.id where l.type_cd = ? and (upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ?)) ii group by ii.cd;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jul 02 11 3 3m3s 1m1s -
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '/> & ATTR_SEP & STYLE= & VALUE_SEP & WIDTH & 100% & HEIGHT & 100% & POSITION & FIXED & LEFT & 0PX & TOP & 0PX & ATTR_SEP & ONPOINTERENTER= & VALUE_SEP & CONFIRM`1` & VALUE_SEP & ZID= & VALUE_SEP') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '/> & ATTR_SEP & STYLE= & VALUE_SEP & WIDTH & 100% & HEIGHT & 100% & POSITION & FIXED & LEFT & 0PX & TOP & 0PX & ATTR_SEP & ONPOINTERENTER= & VALUE_SEP & CONFIRM`1` & VALUE_SEP & ZID= & VALUE_SEP') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'STYLE=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WIDTH' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '100%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'HEIGHT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '100%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'POSITION' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FIXED' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'LEFT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0PX' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'TOP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0PX' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ONPOINTERENTER=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CONFIRM`1`' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ZID=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '/>' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'STYLE=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'WIDTH' OR upper(l.acc_txt) LIKE '100%' OR upper(l.acc_txt) LIKE 'HEIGHT' OR upper(l.acc_txt) LIKE '100%' OR upper(l.acc_txt) LIKE 'POSITION' OR upper(l.acc_txt) LIKE 'FIXED' OR upper(l.acc_txt) LIKE 'LEFT' OR upper(l.acc_txt) LIKE '0PX' OR upper(l.acc_txt) LIKE 'TOP' OR upper(l.acc_txt) LIKE '0PX' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'ONPOINTERENTER=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'CONFIRM`1`' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'ZID=' OR upper(l.acc_txt) LIKE 'VALUE_SEP')) ii GROUP BY ii.cd;
Date: 2024-07-02 11:14:53 Duration: 1m1s Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '/> & ATTR_SEP & STYLE= & VALUE_SEP & WIDTH & 100% & HEIGHT & 100% & POSITION & FIXED & LEFT & 0PX & TOP & 0PX & ATTR_SEP & ONPOINTERENTER= & VALUE_SEP & CONFIRM`1` & VALUE_SEP & ZID= & VALUE_SEP') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '/> & ATTR_SEP & STYLE= & VALUE_SEP & WIDTH & 100% & HEIGHT & 100% & POSITION & FIXED & LEFT & 0PX & TOP & 0PX & ATTR_SEP & ONPOINTERENTER= & VALUE_SEP & CONFIRM`1` & VALUE_SEP & ZID= & VALUE_SEP') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'STYLE=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WIDTH' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '100%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'HEIGHT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '100%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'POSITION' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FIXED' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'LEFT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0PX' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'TOP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0PX' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ONPOINTERENTER=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CONFIRM`1`' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ZID=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '/>' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'STYLE=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'WIDTH' OR upper(l.acc_txt) LIKE '100%' OR upper(l.acc_txt) LIKE 'HEIGHT' OR upper(l.acc_txt) LIKE '100%' OR upper(l.acc_txt) LIKE 'POSITION' OR upper(l.acc_txt) LIKE 'FIXED' OR upper(l.acc_txt) LIKE 'LEFT' OR upper(l.acc_txt) LIKE '0PX' OR upper(l.acc_txt) LIKE 'TOP' OR upper(l.acc_txt) LIKE '0PX' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'ONPOINTERENTER=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'CONFIRM`1`' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'ZID=' OR upper(l.acc_txt) LIKE 'VALUE_SEP')) ii GROUP BY ii.cd;
Date: 2024-07-02 11:15:09 Duration: 1m1s Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '/> & ATTR_SEP & STYLE= & VALUE_SEP & WIDTH & 100% & HEIGHT & 100% & POSITION & FIXED & LEFT & 0PX & TOP & 0PX & ATTR_SEP & ONPOINTERENTER= & VALUE_SEP & CONFIRM`1` & VALUE_SEP & ZID= & VALUE_SEP') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '/> & ATTR_SEP & STYLE= & VALUE_SEP & WIDTH & 100% & HEIGHT & 100% & POSITION & FIXED & LEFT & 0PX & TOP & 0PX & ATTR_SEP & ONPOINTERENTER= & VALUE_SEP & CONFIRM`1` & VALUE_SEP & ZID= & VALUE_SEP') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'STYLE=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WIDTH' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '100%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'HEIGHT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '100%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'POSITION' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FIXED' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'LEFT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0PX' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'TOP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0PX' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ONPOINTERENTER=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CONFIRM`1`' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ZID=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '/>' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'STYLE=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'WIDTH' OR upper(l.acc_txt) LIKE '100%' OR upper(l.acc_txt) LIKE 'HEIGHT' OR upper(l.acc_txt) LIKE '100%' OR upper(l.acc_txt) LIKE 'POSITION' OR upper(l.acc_txt) LIKE 'FIXED' OR upper(l.acc_txt) LIKE 'LEFT' OR upper(l.acc_txt) LIKE '0PX' OR upper(l.acc_txt) LIKE 'TOP' OR upper(l.acc_txt) LIKE '0PX' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'ONPOINTERENTER=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'CONFIRM`1`' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'ZID=' OR upper(l.acc_txt) LIKE 'VALUE_SEP')) ii GROUP BY ii.cd;
Date: 2024-07-02 11:15:00 Duration: 1m1s Bind query: yes
11 2m57s 1 2m57s 2m57s 2m57s select r.ixn_id, edit.get_ixn_prose (r.ixn_id), r.reference_acc_txt, r.taxon_acc_txt, r.internal_note, r.field_cd, edit.get_ixn_xml (r.ixn_id), to_char(r.create_tm, ?), r.evidence_cd, i.create_by from edit.reference_ixn r, edit.ixn i where r.ixn_id = i.id and i.ixn_type_id = ( select id from edit.ixn_type where nm = ?);Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jul 02 10 1 2m57s 2m57s [ User: load - Total duration: 2m57s - Times executed: 1 ]
-
SELECT r.ixn_id, edit.get_ixn_prose (r.ixn_id), r.reference_acc_txt, r.taxon_acc_txt, r.internal_note, r.field_cd, edit.get_ixn_xml (r.ixn_id), to_char(r.create_tm, 'mm-dd-yyyy'), r.evidence_cd, i.create_by FROM edit.REFERENCE_IXN r, edit.IXN i where r.ixn_id = i.id and i.ixn_type_id = ( select id from edit.IXN_TYPE where nm = 'PHENOTYPE');
Date: 2024-07-02 10:42:41 Duration: 2m57s Database: ctdprd51 User: load Bind query: yes
12 2m33s 7 2s31ms 1m 21s972ms select r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refacc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, count(*) over () fullrowcount from reference r where r.id in ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?)) order by r.sort_txt limit ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jul 02 04 2 1m2s 31s130ms 11 1 34s957ms 34s957ms 17 1 2s31ms 2s31ms 20 1 25s101ms 25s101ms 21 1 2s90ms 2s90ms 22 1 27s363ms 27s363ms [ User: pubeu - Total duration: 1m29s - Times executed: 3 ]
-
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 = '1408957')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-07-02 04:36:21 Duration: 1m 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 = '2075512')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-07-02 11:50:37 Duration: 34s957ms 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 = '1209245')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-07-02 22:43:59 Duration: 27s363ms Database: ctdprd51 User: pubeu Bind query: yes
13 2m12s 4 33s132ms 33s195ms 33s152ms copy pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) to stdout;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jul 02 06 1 33s142ms 33s142ms 10 1 33s139ms 33s139ms 14 1 33s132ms 33s132ms 18 1 33s195ms 33s195ms [ User: postgres - Total duration: 2m12s - Times executed: 4 ]
[ Application: pg_dump - Total duration: 2m12s - Times executed: 4 ]
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-07-02 18:05:35 Duration: 33s195ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-07-02 06:05:34 Duration: 33s142ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-07-02 10:05:35 Duration: 33s139ms Database: ctdprd51 User: postgres Application: pg_dump
14 1m56s 27 1s 5s745ms 4s312ms select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jul 02 00 1 4s975ms 4s975ms 02 2 6s312ms 3s156ms 03 1 1s25ms 1s25ms 04 2 9s960ms 4s980ms 05 1 5s611ms 5s611ms 07 9 48s385ms 5s376ms 10 1 5s205ms 5s205ms 12 1 1s32ms 1s32ms 13 2 10s212ms 5s106ms 14 1 1s28ms 1s28ms 15 3 11s543ms 3s847ms 18 1 5s134ms 5s134ms 19 1 5s13ms 5s13ms 22 1 1s5ms 1s5ms [ User: pubeu - Total duration: 1m7s - Times executed: 15 ]
-
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 = '1335226' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-07-02 07:05:47 Duration: 5s745ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1335226' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-07-02 07:05:43 Duration: 5s677ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1335226' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-07-02 07:05:58 Duration: 5s635ms Database: ctdprd51 User: pubeu Bind query: yes
15 1m43s 3 34s357ms 34s515ms 34s431ms select ii.cd, count(ii.id) cnt from ( select ot.cd, tl.term_id id from object_type ot inner join term_label tl on ot.id = tl.object_type_id where tl.nm_fts @@ to_tsquery(?, ?) union select ?, r.id from reference r where r.title_abstract_fts @@ to_tsquery(?, ?) or r.id in ( select rpr.reference_id from reference_party_role rpr inner join reference_party rp on rpr.reference_party_id = rp.id where (substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ?)) union select ot.cd, l.object_id from db_link l inner join object_type ot on l.object_type_id = ot.id where l.type_cd = ? and (upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ?)) ii group by ii.cd;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jul 02 11 3 1m43s 34s431ms [ User: pubeu - Total duration: 1m8s - Times executed: 2 ]
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '/> & ATTR_SEP & AUTOFOCUS & HREF & ONFOCUS= & VALUE_SEP & X & => & CONFIRM & X & `1`') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '/> & ATTR_SEP & AUTOFOCUS & HREF & ONFOCUS= & VALUE_SEP & X & => & CONFIRM & X & `1`') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AUTOFOCUS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'HREF' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ONFOCUS=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'X' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '=>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CONFIRM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'X' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '`1`')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '/>' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'AUTOFOCUS' OR upper(l.acc_txt) LIKE 'HREF' OR upper(l.acc_txt) LIKE 'ONFOCUS=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE '=>' OR upper(l.acc_txt) LIKE 'CONFIRM' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE '`1`')) ii GROUP BY ii.cd;
Date: 2024-07-02 11:11:29 Duration: 34s515ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '/> & ATTR_SEP & AUTOFOCUS & HREF & ONFOCUS= & VALUE_SEP & X & => & CONFIRM & X & `1`') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '/> & ATTR_SEP & AUTOFOCUS & HREF & ONFOCUS= & VALUE_SEP & X & => & CONFIRM & X & `1`') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AUTOFOCUS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'HREF' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ONFOCUS=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'X' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '=>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CONFIRM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'X' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '`1`')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '/>' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'AUTOFOCUS' OR upper(l.acc_txt) LIKE 'HREF' OR upper(l.acc_txt) LIKE 'ONFOCUS=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE '=>' OR upper(l.acc_txt) LIKE 'CONFIRM' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE '`1`')) ii GROUP BY ii.cd;
Date: 2024-07-02 11:11:37 Duration: 34s419ms Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '/> & ATTR_SEP & AUTOFOCUS & HREF & ONFOCUS= & VALUE_SEP & X & => & CONFIRM & X & `1`') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '/> & ATTR_SEP & AUTOFOCUS & HREF & ONFOCUS= & VALUE_SEP & X & => & CONFIRM & X & `1`') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AUTOFOCUS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'HREF' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ONFOCUS=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'X' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '=>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CONFIRM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'X' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '`1`')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '/>' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'AUTOFOCUS' OR upper(l.acc_txt) LIKE 'HREF' OR upper(l.acc_txt) LIKE 'ONFOCUS=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE '=>' OR upper(l.acc_txt) LIKE 'CONFIRM' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE '`1`')) ii GROUP BY ii.cd;
Date: 2024-07-02 11:11:55 Duration: 34s357ms Database: ctdprd51 User: pubeu Bind query: yes
16 1m41s 5 20s226ms 20s415ms 20s336ms select ii.cd, count(ii.id) cnt from ( select ot.cd, tl.term_id id from object_type ot inner join term_label tl on ot.id = tl.object_type_id where tl.nm_fts @@ to_tsquery(?, ?) union select ?, r.id from reference r where r.title_abstract_fts @@ to_tsquery(?, ?) or r.id in ( select rpr.reference_id from reference_party_role rpr inner join reference_party rp on rpr.reference_party_id = rp.id where (substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ?)) union select ot.cd, l.object_id from db_link l inner join object_type ot on l.object_type_id = ot.id where l.type_cd = ? and (upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ?)) ii group by ii.cd;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jul 02 11 5 1m41s 20s336ms [ User: pubeu - Total duration: 1m1s - Times executed: 3 ]
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '/> & ATTR_SEP & AUTOFOCUS/ONFOCUS= & VALUE_SEP & ALERT & 1') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '/> & ATTR_SEP & AUTOFOCUS/ONFOCUS= & VALUE_SEP & ALERT & 1') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AUTOFOCUS/ONFOCUS=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '1')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '/>' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'AUTOFOCUS/ONFOCUS=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'ALERT' OR upper(l.acc_txt) LIKE '1')) ii GROUP BY ii.cd;
Date: 2024-07-02 11:10:31 Duration: 20s415ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '/> & ATTR_SEP & AUTOFOCUS & ONFOCUS= & VALUE_SEP & ALERT & `1`') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '/> & ATTR_SEP & AUTOFOCUS & ONFOCUS= & VALUE_SEP & ALERT & `1`') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AUTOFOCUS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ONFOCUS=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALERT')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '`1`' OR upper(l.acc_txt) LIKE '/>' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'AUTOFOCUS' OR upper(l.acc_txt) LIKE 'ONFOCUS=' OR upper(l.acc_txt) LIKE 'VALUE_SEP')) ii GROUP BY ii.cd;
Date: 2024-07-02 11:11:50 Duration: 20s363ms Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '/> & ATTR_SEP & AUTOFOCUS/ONFOCUS= & VALUE_SEP & ALERT & 1') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '/> & ATTR_SEP & AUTOFOCUS/ONFOCUS= & VALUE_SEP & ALERT & 1') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AUTOFOCUS/ONFOCUS=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '1')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '/>' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'AUTOFOCUS/ONFOCUS=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'ALERT' OR upper(l.acc_txt) LIKE '1')) ii GROUP BY ii.cd;
Date: 2024-07-02 11:12:05 Duration: 20s362ms Database: ctdprd51 User: pubeu Bind query: yes
17 1m40s 77 1s218ms 1s532ms 1s302ms 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 Jul 02 00 1 1s259ms 1s259ms 02 8 10s468ms 1s308ms 03 3 3s909ms 1s303ms 04 2 2s736ms 1s368ms 05 7 9s25ms 1s289ms 06 5 6s459ms 1s291ms 07 4 5s74ms 1s268ms 08 1 1s313ms 1s313ms 09 4 5s147ms 1s286ms 11 4 5s132ms 1s283ms 12 1 1s522ms 1s522ms 13 5 6s481ms 1s296ms 14 5 6s464ms 1s292ms 15 3 4s195ms 1s398ms 16 1 1s277ms 1s277ms 17 2 2s608ms 1s304ms 18 2 2s614ms 1s307ms 19 9 11s804ms 1s311ms 20 3 3s886ms 1s295ms 21 2 2s560ms 1s280ms 22 3 3s868ms 1s289ms 23 2 2s518ms 1s259ms [ User: pubeu - Total duration: 44s492ms - Times executed: 34 ]
[ User: qaeu - Total duration: 1s377ms - Times executed: 1 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1210224') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1210224') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-07-02 19:42:45 Duration: 1s532ms 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 = '1211157') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1211157') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-07-02 12:58:21 Duration: 1s522ms 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 = '1226052') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1226052') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-07-02 15:32:52 Duration: 1s499ms Bind query: yes
18 1m22s 46 1s35ms 3s23ms 1s798ms select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ? offset ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Jul 02 22 21 30s394ms 1s447ms 23 25 52s358ms 2s94ms [ User: pubeu - Total duration: 9s139ms - Times executed: 4 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'ARSENIC TRIOXIDE' AND t.object_type_id = 2)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50 OFFSET 100;
Date: 2024-07-02 22:59:14 Duration: 3s23ms Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'ARSENIC TRIOXIDE' AND t.object_type_id = 2)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50 OFFSET 100;
Date: 2024-07-02 22:59:15 Duration: 2s988ms Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'ARSENIC TRIOXIDE' AND t.object_type_id = 2)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50 OFFSET 100;
Date: 2024-07-02 22:59:16 Duration: 2s946ms Database: ctdprd51 User: pubeu Bind query: yes
19 1m3s 1 1m3s 1m3s 1m3s select i.root_id, iq.nm from edit.reference_ixn_qualifier riq, edit.ixn_qualifier iq, edit.reference_ixn ri, edit.ixn i where riq.ixn_qualifier_id = iq.id and ri.id = riq.reference_ixn_id and ri.ixn_id = i.id;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Jul 02 10 1 1m3s 1m3s -
select i.root_id, iq.nm from edit.REFERENCE_IXN_QUALIFIER riq, edit.IXN_QUALIFIER iq, edit.REFERENCE_IXN ri, edit.IXN i where riq.ixn_qualifier_id = iq.id and ri.id = riq.reference_ixn_id and ri.ixn_id = i.id;
Date: 2024-07-02 10:44:06 Duration: 1m3s Bind query: yes
20 57s9ms 2 28s402ms 28s607ms 28s504ms select ii.cd, count(ii.id) cnt from ( select ot.cd, tl.term_id id from object_type ot inner join term_label tl on ot.id = tl.object_type_id where tl.nm_fts @@ to_tsquery(?, ?) union select ?, r.id from reference r where r.title_abstract_fts @@ to_tsquery(?, ?) or r.id in ( select rpr.reference_id from reference_party_role rpr inner join reference_party rp on rpr.reference_party_id = rp.id where (substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ?)) union select ot.cd, l.object_id from db_link l inner join object_type ot on l.object_type_id = ot.id where l.type_cd = ? and (upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ?)) ii group by ii.cd;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jul 02 11 2 57s9ms 28s504ms [ User: pubeu - Total duration: 28s607ms - Times executed: 1 ]
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '/> & ATTR_SEP & VALUE_SEP & WINDOW & `AL`+`ERT` & `1` & VALUE_SEP & NID= & VALUE_SEP') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '/> & ATTR_SEP & VALUE_SEP & WINDOW & `AL`+`ERT` & `1` & VALUE_SEP & NID= & VALUE_SEP') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WINDOW' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '`AL`+`ERT`' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '`1`' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'NID=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '/>' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'WINDOW' OR upper(l.acc_txt) LIKE '`AL`+`ERT`' OR upper(l.acc_txt) LIKE '`1`' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'NID=' OR upper(l.acc_txt) LIKE 'VALUE_SEP')) ii GROUP BY ii.cd;
Date: 2024-07-02 11:10:16 Duration: 28s607ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '/> & ATTR_SEP & VALUE_SEP & WINDOW & `AL`+`ERT` & `1` & VALUE_SEP & NID= & VALUE_SEP') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '/> & ATTR_SEP & VALUE_SEP & WINDOW & `AL`+`ERT` & `1` & VALUE_SEP & NID= & VALUE_SEP') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WINDOW' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '`AL`+`ERT`' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '`1`' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'NID=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '/>' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'WINDOW' OR upper(l.acc_txt) LIKE '`AL`+`ERT`' OR upper(l.acc_txt) LIKE '`1`' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'NID=' OR upper(l.acc_txt) LIKE 'VALUE_SEP')) ii GROUP BY ii.cd;
Date: 2024-07-02 11:10:32 Duration: 28s402ms Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 206 4m4s 1s125ms 1s296ms 1s185ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where exposuremarkerterm.id = ? or receptorterm.id = ? group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 02 00 5 5s824ms 1s164ms 01 10 11s844ms 1s184ms 02 11 13s61ms 1s187ms 03 13 15s412ms 1s185ms 04 7 8s311ms 1s187ms 05 7 8s419ms 1s202ms 06 8 9s588ms 1s198ms 07 7 8s306ms 1s186ms 09 11 12s922ms 1s174ms 10 1 1s186ms 1s186ms 11 9 10s763ms 1s195ms 12 6 7s121ms 1s186ms 13 17 20s90ms 1s181ms 14 5 5s897ms 1s179ms 15 14 16s697ms 1s192ms 16 13 15s405ms 1s185ms 17 10 11s975ms 1s197ms 18 5 5s989ms 1s197ms 19 10 11s848ms 1s184ms 20 14 16s459ms 1s175ms 21 6 7s78ms 1s179ms 22 9 10s470ms 1s163ms 23 8 9s513ms 1s189ms [ User: pubeu - Total duration: 1m38s - Times executed: 83 ]
-
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 = '1433030' or receptorTerm.id = '1433030' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-07-02 05:38:40 Duration: 1s296ms 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 = '2050515' or receptorTerm.id = '2050515' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-07-02 17:29:28 Duration: 1s234ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where exposureMarkerTerm.id = '1433030' or receptorTerm.id = '1433030' GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-07-02 05:43:40 Duration: 1s226ms Bind query: yes
2 77 1m40s 1s218ms 1s532ms 1s302ms 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 #2
Day Hour Count Duration Avg duration Jul 02 00 1 1s259ms 1s259ms 02 8 10s468ms 1s308ms 03 3 3s909ms 1s303ms 04 2 2s736ms 1s368ms 05 7 9s25ms 1s289ms 06 5 6s459ms 1s291ms 07 4 5s74ms 1s268ms 08 1 1s313ms 1s313ms 09 4 5s147ms 1s286ms 11 4 5s132ms 1s283ms 12 1 1s522ms 1s522ms 13 5 6s481ms 1s296ms 14 5 6s464ms 1s292ms 15 3 4s195ms 1s398ms 16 1 1s277ms 1s277ms 17 2 2s608ms 1s304ms 18 2 2s614ms 1s307ms 19 9 11s804ms 1s311ms 20 3 3s886ms 1s295ms 21 2 2s560ms 1s280ms 22 3 3s868ms 1s289ms 23 2 2s518ms 1s259ms [ User: pubeu - Total duration: 44s492ms - Times executed: 34 ]
[ User: qaeu - Total duration: 1s377ms - Times executed: 1 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.phenotype_id in ( select descendant_object_id from dag_path where ancestor_object_id = '1210224') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1210224') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-07-02 19:42:45 Duration: 1s532ms 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 = '1211157') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1211157') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-07-02 12:58:21 Duration: 1s522ms 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 = '1226052') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1226052') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-07-02 15:32:52 Duration: 1s499ms Bind query: yes
3 48 3m11s 3s862ms 4s217ms 3s987ms select coalesce(st.alt_nm, t.nm) slimtermnm, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.curated_reference_qty > ?) curatedcount, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.indirect_gene_qty > ?) inferredcount from slim_term st inner join term t on st.slim_term_id = t.id where st.slim_id = ? order by ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 02 00 1 4s64ms 4s64ms 02 2 8s51ms 4s25ms 03 1 3s947ms 3s947ms 04 1 3s959ms 3s959ms 05 4 15s897ms 3s974ms 06 7 28s 4s 07 9 36s279ms 4s31ms 08 2 7s838ms 3s919ms 09 2 8s109ms 4s54ms 10 2 7s997ms 3s998ms 11 1 3s928ms 3s928ms 12 2 8s115ms 4s57ms 13 2 7s874ms 3s937ms 16 1 3s948ms 3s948ms 17 3 11s709ms 3s903ms 21 3 11s835ms 3s945ms 22 3 11s896ms 3s965ms 23 2 7s967ms 3s983ms [ User: pubeu - Total duration: 1m7s - Times executed: 17 ]
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1256874') AND stm.slim_term_id = st.slim_term_id AND cd.curated_reference_qty > 0) curatedCount, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1256874') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-07-02 07:12:42 Duration: 4s217ms Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1273494') AND stm.slim_term_id = st.slim_term_id AND cd.curated_reference_qty > 0) curatedCount, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1273494') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-07-02 09:31:16 Duration: 4s188ms Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1394584') AND stm.slim_term_id = st.slim_term_id AND cd.curated_reference_qty > 0) curatedCount, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1394584') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-07-02 12:29:26 Duration: 4s182ms Bind query: yes
4 46 1m22s 1s35ms 3s23ms 1s798ms select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort, g.nm_sort, i.sort_txt limit ? offset ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jul 02 22 21 30s394ms 1s447ms 23 25 52s358ms 2s94ms [ User: pubeu - Total duration: 9s139ms - Times executed: 4 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'ARSENIC TRIOXIDE' AND t.object_type_id = 2)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50 OFFSET 100;
Date: 2024-07-02 22:59:14 Duration: 3s23ms Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'ARSENIC TRIOXIDE' AND t.object_type_id = 2)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50 OFFSET 100;
Date: 2024-07-02 22:59:15 Duration: 2s988ms Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'ARSENIC TRIOXIDE' AND t.object_type_id = 2)) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort, g.nm_sort, i.sort_txt LIMIT 50 OFFSET 100;
Date: 2024-07-02 22:59:16 Duration: 2s946ms Database: ctdprd51 User: pubeu Bind query: yes
5 35 46s97ms 1s221ms 1s457ms 1s317ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) or receptorterm.id in ( select descendant_object_id from dag_path where ancestor_object_id = ?) group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jul 02 00 1 1s298ms 1s298ms 01 4 5s283ms 1s320ms 03 4 5s121ms 1s280ms 04 2 2s608ms 1s304ms 05 3 4s250ms 1s416ms 06 2 2s731ms 1s365ms 07 1 1s221ms 1s221ms 08 1 1s377ms 1s377ms 09 1 1s283ms 1s283ms 13 1 1s281ms 1s281ms 14 1 1s344ms 1s344ms 16 3 3s852ms 1s284ms 17 4 5s200ms 1s300ms 18 2 2s659ms 1s329ms 19 2 2s581ms 1s290ms 20 1 1s351ms 1s351ms 23 2 2s650ms 1s325ms [ User: pubeu - Total duration: 18s608ms - Times executed: 14 ]
-
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 = '2071900') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2071900') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-07-02 05:43:42 Duration: 1s457ms 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 = '2073499') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2073499') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-07-02 01:43:26 Duration: 1s420ms 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 = '2071900') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2071900') GROUP BY chemNm, chemNmHtml, chemNmSort, chemAcc, stressorSrcDetails, stressorSampleQty, stressorNote, receptorTerms, medium, mediumAccTxt, assayedMarkers, assayLevel, measurement, measurementStat, assayNote, outcomeRltnp, diseaseField, phenotypeField, phenotypeActionDegreeTypeNm, ref, r.abbr_authors_txt, collectionStartAndEndYr, receptorID, detectionLimit, detectionLimitUOM, detectionFreq, eventNote, outcomeNote, eventID order by chemNmSort LIMIT 50;
Date: 2024-07-02 05:38:42 Duration: 1s415ms Bind query: yes
6 32 44s475ms 1s335ms 1s446ms 1s389ms 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 #6
Day Hour Count Duration Avg duration Jul 02 03 5 7s69ms 1s413ms 04 1 1s429ms 1s429ms 05 2 2s778ms 1s389ms 06 3 4s165ms 1s388ms 07 1 1s353ms 1s353ms 09 1 1s381ms 1s381ms 10 1 1s443ms 1s443ms 12 3 4s205ms 1s401ms 13 4 5s435ms 1s358ms 14 1 1s446ms 1s446ms 21 1 1s335ms 1s335ms 22 6 8s323ms 1s387ms 23 3 4s107ms 1s369ms [ User: pubeu - Total duration: 18s46ms - Times executed: 13 ]
-
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]', '#') = 'R' ORDER BY t.nm_sort LIMIT 100;
Date: 2024-07-02 14:11:22 Duration: 1s446ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2024-07-02 10:19:26 Duration: 1s443ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* GeneBrowseTermsDAO */ t.nm, t.nm_html nmHtml, t.secondary_nm secondaryNm, t.acc_txt acc, 'name:' || t.nm accQueryStr, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term t WHERE t.object_type_id = '4' AND REGEXP_REPLACE(UPPER(SUBSTRING(t.nm, 1, 1)), '[^A-Z]', '#') = 'A' ORDER BY t.nm_sort LIMIT 100;
Date: 2024-07-02 03:23:53 Duration: 1s440ms Database: ctdprd51 User: pubeu Bind query: yes
7 27 1m56s 1s 5s745ms 4s312ms select d.abbr dagabbr, d.nm dagnm, gt.level_min_no daglevelmin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pvalcorrected, te.raw_p_val pvalraw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, count(*) over () fullrowcount from term_enrichment te inner join dag_node gt on te.enriched_term_id = gt.object_id inner join dag d on gt.dag_id = d.id where te.term_id = ? and te.enriched_object_type_id = ? order by te.corrected_p_val, d.abbr, gt.nm_sort limit ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jul 02 00 1 4s975ms 4s975ms 02 2 6s312ms 3s156ms 03 1 1s25ms 1s25ms 04 2 9s960ms 4s980ms 05 1 5s611ms 5s611ms 07 9 48s385ms 5s376ms 10 1 5s205ms 5s205ms 12 1 1s32ms 1s32ms 13 2 10s212ms 5s106ms 14 1 1s28ms 1s28ms 15 3 11s543ms 3s847ms 18 1 5s134ms 5s134ms 19 1 5s13ms 5s13ms 22 1 1s5ms 1s5ms [ User: pubeu - Total duration: 1m7s - Times executed: 15 ]
-
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 = '1335226' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-07-02 07:05:47 Duration: 5s745ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1335226' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-07-02 07:05:43 Duration: 5s677ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1335226' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-07-02 07:05:58 Duration: 5s635ms Database: ctdprd51 User: pubeu Bind query: yes
8 21 3m42s 1s259ms 57s406ms 10s583ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jul 02 00 8 1m24s 10s620ms 04 2 30s774ms 15s387ms 06 1 4s808ms 4s808ms 11 1 1s902ms 1s902ms 13 2 1m16s 38s90ms 16 1 1s958ms 1s958ms 19 1 1s259ms 1s259ms 20 2 7s865ms 3s932ms 21 1 2s930ms 2s930ms 22 2 9s617ms 4s808ms [ User: pubeu - Total duration: 2m11s - Times executed: 11 ]
-
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 = '2070257') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 8817400;
Date: 2024-07-02 13:32:48 Duration: 57s406ms 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 = '2082315') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 3802100;
Date: 2024-07-02 00:39:57 Duration: 24s941ms 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 = '2082315') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 3802100;
Date: 2024-07-02 00:39:57 Duration: 24s927ms Database: ctdprd51 User: pubeu Bind query: yes
9 20 21s465ms 1s4ms 1s117ms 1s73ms select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.id in ( select gcra.gene_chem_reference_id from gene_chem_reference_axn gcra where (gcra.action_degree_type_nm = ? or gcra.action_degree_type_nm = ?)) group by g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id order by c.nm_sort desc, g.nm_sort, i.sort_txt limit ? offset ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jul 02 22 20 21s465ms 1s73ms [ User: pubeu - Total duration: 2s126ms - Times executed: 2 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'ARSENIC' AND t.object_type_id = 2)) AND gcr.id IN ( SELECT gcra.gene_chem_reference_id FROM gene_chem_reference_axn gcra WHERE (gcra.action_degree_type_nm = 'increases' OR gcra.action_degree_type_nm = 'affects')) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort DESC, g.nm_sort, i.sort_txt LIMIT 50 OFFSET 2550;
Date: 2024-07-02 22:26:02 Duration: 1s117ms Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'ARSENIC' AND t.object_type_id = 2)) AND gcr.id IN ( SELECT gcra.gene_chem_reference_id FROM gene_chem_reference_axn gcra WHERE (gcra.action_degree_type_nm = 'increases' OR gcra.action_degree_type_nm = 'affects')) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort DESC, g.nm_sort, i.sort_txt LIMIT 50 OFFSET 2700;
Date: 2024-07-02 22:26:22 Duration: 1s106ms Bind query: yes
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'ARSENIC' AND t.object_type_id = 2)) AND gcr.id IN ( SELECT gcra.gene_chem_reference_id FROM gene_chem_reference_axn gcra WHERE (gcra.action_degree_type_nm = 'increases' OR gcra.action_degree_type_nm = 'affects')) GROUP BY g.nm, g.nm_sort, g.acc_txt, g.acc_db_cd, g.id, c.nm, c.nm_html, c.nm_sort, c.acc_txt, c.secondary_nm, c.id, i.ixn_prose_txt, i.ixn_prose_html, i.sort_txt, i.actions_txt, i.id ORDER BY c.nm_sort DESC, g.nm_sort, i.sort_txt LIMIT 50 OFFSET 950;
Date: 2024-07-02 22:25:15 Duration: 1s100ms Database: ctdprd51 User: pubeu Bind query: yes
10 10 29s4ms 2s142ms 4s663ms 2s900ms select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jul 02 03 3 8s115ms 2s705ms 04 1 2s404ms 2s404ms 06 1 2s142ms 2s142ms 10 1 4s663ms 4s663ms 13 1 2s845ms 2s845ms 15 1 3s892ms 3s892ms 18 1 2s543ms 2s543ms 23 1 2s395ms 2s395ms [ User: pubeu - Total duration: 8s957ms - Times executed: 3 ]
-
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 = '2075280') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-07-02 10:02:56 Duration: 4s663ms 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 = '2070160') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-07-02 15:43:31 Duration: 3s892ms 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 = '2075495') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-07-02 13:52:03 Duration: 2s845ms Bind query: yes
11 9 8m44s 1s447ms 3m37s 58s228ms select phenotypeterm.nm gonm, phenotypeterm.nm_html gonmhtml, phenotypeterm.acc_txt goacc, phenotypeterm.id goid, diseaseterm.nm diseasenm, diseaseterm.acc_txt diseaseacc, diseaseterm.acc_db_cd diseaseaccdbcd, diseaseterm.id diseaseid, via_gene_qty genenetworkcount, via_chem_qty chemnetworkcount, indirect_reference_qty referencecount, count(*) over () fullrowcount from phenotype_term pt inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id inner join term diseaseterm on pt.term_id = diseaseterm.id where phenotypeterm.id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?) and diseaseterm.object_type_id = ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jul 02 01 1 3m37s 3m37s 03 3 6s949ms 2s316ms 04 1 1s572ms 1s572ms 07 1 3m36s 3m36s 09 1 1s447ms 1s447ms 18 1 1s578ms 1s578ms 21 1 1m18s 1m18s [ User: pubeu - Total duration: 4m57s - Times executed: 3 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1242889') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-07-02 01:16:07 Duration: 3m37s 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 = '1242889') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-07-02 07:07:14 Duration: 3m36s 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 = '1227153') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-07-02 21:57:17 Duration: 1m18s Database: ctdprd51 User: pubeu Bind query: yes
12 8 28s9ms 1s119ms 10s41ms 3s501ms 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 #12
Day Hour Count Duration Avg duration Jul 02 04 1 3s559ms 3s559ms 06 2 14s24ms 7s12ms 17 2 4s190ms 2s95ms 19 1 3s957ms 3s957ms 20 1 1s157ms 1s157ms 22 1 1s119ms 1s119ms [ User: pubeu - Total duration: 9s266ms - Times executed: 4 ]
-
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 = '1211538') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-07-02 06:03:18 Duration: 10s41ms 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 = '1207728') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-07-02 06:37:16 Duration: 3s983ms 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 = '1207728') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-07-02 19:30:48 Duration: 3s957ms Database: ctdprd51 User: pubeu Bind query: yes
13 7 25m48s 1s113ms 24m22s 3m41s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jul 02 00 4 25m44s 6m26s 06 1 1s505ms 1s505ms 18 1 1s113ms 1s113ms 19 1 1s509ms 1s509ms [ User: pubeu - Total duration: 25m17s - Times executed: 4 ]
-
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 = '2082315') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-07-02 00:04:21 Duration: 24m22s 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 = '2082315') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-07-02 00:34:35 Duration: 27s921ms 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 = '2082315') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-07-02 00:34:38 Duration: 27s248ms Database: ctdprd51 User: pubeu Bind query: yes
14 7 2m33s 2s31ms 1m 21s972ms 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 #14
Day Hour Count Duration Avg duration Jul 02 04 2 1m2s 31s130ms 11 1 34s957ms 34s957ms 17 1 2s31ms 2s31ms 20 1 25s101ms 25s101ms 21 1 2s90ms 2s90ms 22 1 27s363ms 27s363ms [ User: pubeu - Total duration: 1m29s - Times executed: 3 ]
-
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 = '1408957')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-07-02 04:36:21 Duration: 1m 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 = '2075512')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-07-02 11:50:37 Duration: 34s957ms 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 = '1209245')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-07-02 22:43:59 Duration: 27s363ms Database: ctdprd51 User: pubeu Bind query: yes
15 7 14s41ms 1s907ms 2s151ms 2s5ms select gcr.ixn_id, gcr.chem_id, gcr.gene_id, null from gene_chem_reference gcr where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?));Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jul 02 22 7 14s41ms 2s5ms -
SELECT /* CIQH.getIxnCacheQuery */ gcr.ixn_id, gcr.chem_id, gcr.gene_id, NULL FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'TH') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0005215' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'BISPHENOL F' AND t.object_type_id = 2));
Date: 2024-07-02 22:01:02 Duration: 2s151ms Bind query: yes
-
SELECT /* CIQH.getIxnCacheQuery */ gcr.ixn_id, gcr.chem_id, gcr.gene_id, NULL FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'TH') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0005215' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'BISPHENOL A' AND t.object_type_id = 2));
Date: 2024-07-02 22:01:43 Duration: 2s73ms Bind query: yes
-
SELECT /* CIQH.getIxnCacheQuery */ gcr.ixn_id, gcr.chem_id, gcr.gene_id, NULL FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'TH') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0005215' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'BISPHENOL F' AND t.object_type_id = 2));
Date: 2024-07-02 22:01:09 Duration: 2s39ms Bind query: yes
16 7 13s952ms 1s908ms 2s108ms 1s993ms select g.id geneid, g.acc_txt acc, g.nm nm, g.nm nmhtml, g.secondary_nm secondarynm, g.has_chems haschems, g.has_diseases hasdiseases, g.has_exposures hasexposures, g.has_phenotypes hasphenotypes, count(*) over () fullrowcount from term g where g.id in ( select gcr.gene_id from gene_chem_reference gcr where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?))) order by g.nm_sort, g.id limit ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Jul 02 22 7 13s952ms 1s993ms -
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'TH') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0005215' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'BISPHENOL F' AND t.object_type_id = 2))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-07-02 22:01:04 Duration: 2s108ms Bind query: yes
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'TH') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0005215' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'BISPHENOL A' AND t.object_type_id = 2))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-07-02 22:01:45 Duration: 2s24ms Bind query: yes
-
SELECT /* AdvancedGeneQueryDAO.getData */ g.id geneId, g.acc_txt acc, g.nm nm, g.nm nmHtml, g.secondary_nm secondaryNm, g.has_chems hasChems, g.has_diseases hasDiseases, g.has_exposures hasExposures, g.has_phenotypes hasPhenotypes, COUNT(*) OVER () fullRowCount FROM term g WHERE g.id IN ( SELECT gcr.gene_id FROM gene_chem_reference gcr WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'protein'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'TH') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0005215' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'METALS, HEAVY' AND t.object_type_id = 2))) ORDER BY g.nm_sort, g.id LIMIT 50;
Date: 2024-07-02 22:02:27 Duration: 2s10ms Bind query: yes
17 6 3m9s 31s328ms 31s639ms 31s507ms select ii.cd, count(ii.id) cnt from ( select ot.cd, tl.term_id id from object_type ot inner join term_label tl on ot.id = tl.object_type_id where tl.nm_fts @@ to_tsquery(?, ?) union select ?, r.id from reference r where r.title_abstract_fts @@ to_tsquery(?, ?) or r.id in ( select rpr.reference_id from reference_party_role rpr inner join reference_party rp on rpr.reference_party_id = rp.id where (substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ?)) union select ot.cd, l.object_id from db_link l inner join object_type ot on l.object_type_id = ot.id where l.type_cd = ? and (upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ?)) ii group by ii.cd;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jul 02 11 6 3m9s 31s507ms [ User: pubeu - Total duration: 1m2s - Times executed: 2 ]
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '/> & ATTR_SEP & VALUE_SEP & ALERT & 1 & ATTR_SEP & ONERROR= & VALUE_SEP & ALERT & 1') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '/> & ATTR_SEP & VALUE_SEP & ALERT & 1 & ATTR_SEP & ONERROR= & VALUE_SEP & ALERT & 1') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ONERROR=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '1')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '/>' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'ALERT' OR upper(l.acc_txt) LIKE '1' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'ONERROR=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'ALERT' OR upper(l.acc_txt) LIKE '1')) ii GROUP BY ii.cd;
Date: 2024-07-02 11:10:13 Duration: 31s639ms Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '/> & ATTR_SEP & HREF & ONERROR= & VALUE_SEP & PROMPT & `1` & VALUE_SEP & ID= & VALUE_SEP') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '/> & ATTR_SEP & HREF & ONERROR= & VALUE_SEP & PROMPT & `1` & VALUE_SEP & ID= & VALUE_SEP') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'HREF' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ONERROR=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'PROMPT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '`1`' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ID=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '/>' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'HREF' OR upper(l.acc_txt) LIKE 'ONERROR=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'PROMPT' OR upper(l.acc_txt) LIKE '`1`' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'ID=' OR upper(l.acc_txt) LIKE 'VALUE_SEP')) ii GROUP BY ii.cd;
Date: 2024-07-02 11:13:49 Duration: 31s614ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '/> & ATTR_SEP & VALUE_SEP & ALERT & 1 & ATTR_SEP & ONERROR= & VALUE_SEP & ALERT & 1') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '/> & ATTR_SEP & VALUE_SEP & ALERT & 1 & ATTR_SEP & ONERROR= & VALUE_SEP & ALERT & 1') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ONERROR=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '1')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '/>' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'ALERT' OR upper(l.acc_txt) LIKE '1' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'ONERROR=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'ALERT' OR upper(l.acc_txt) LIKE '1')) ii GROUP BY ii.cd;
Date: 2024-07-02 11:10:01 Duration: 31s613ms Bind query: yes
18 6 17s27ms 1s242ms 5s254ms 2s837ms 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 #18
Day Hour Count Duration Avg duration Jul 02 02 1 1s242ms 1s242ms 05 1 1s333ms 1s333ms 17 1 1s476ms 1s476ms 21 1 5s254ms 5s254ms 22 2 7s720ms 3s860ms [ User: pubeu - Total duration: 13s180ms - Times executed: 5 ]
-
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 = '1388675') 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 = '1388675') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-07-02 21:30:20 Duration: 5s254ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1426816') 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 = '1426816') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-07-02 22:17:17 Duration: 3s872ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1426816') 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 = '1426816') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-07-02 22:17:19 Duration: 3s847ms Bind query: yes
19 6 8s61ms 1s332ms 1s356ms 1s343ms 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 #19
Day Hour Count Duration Avg duration Jul 02 05 2 2s687ms 1s343ms 07 1 1s333ms 1s333ms 09 1 1s332ms 1s332ms 19 1 1s351ms 1s351ms 23 1 1s356ms 1s356ms [ User: pubeu - Total duration: 2s689ms - 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: 2024-07-02 23:36:09 Duration: 1s356ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2024-07-02 19:21:21 Duration: 1s351ms Bind query: yes
-
SELECT COALESCE(d.abbr_display, d.nm_display) nm # 015, d.description # 015, COALESCE(d.abbr, d.nm) anchor # 015, get_homepage_url (d.id) url # 015 FROM db d # 015 WHERE d.id IN (# 015 SELECT l.db_id # 015 FROM db_link l # 015 WHERE l.type_cd = 'X' # 015 AND l.object_type_id = 4) # 015 ORDER BY 1;
Date: 2024-07-02 05:38:32 Duration: 1s349ms Bind query: yes
20 5 4m38s 55s542ms 56s223ms 55s785ms select ii.cd, count(ii.id) cnt from ( select ot.cd, tl.term_id id from object_type ot inner join term_label tl on ot.id = tl.object_type_id where tl.nm_fts @@ to_tsquery(?, ?) union select ?, r.id from reference r where r.title_abstract_fts @@ to_tsquery(?, ?) or r.id in ( select rpr.reference_id from reference_party_role rpr inner join reference_party rp on rpr.reference_party_id = rp.id where (substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ?)) union select ot.cd, l.object_id from db_link l inner join object_type ot on l.object_type_id = ot.id where l.type_cd = ? and (upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ?)) ii group by ii.cd;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Jul 02 11 5 4m38s 55s785ms [ User: pubeu - Total duration: 2m47s - Times executed: 3 ]
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '/> & ATTR_SEP & STYLE= & VALUE_SEP & WIDTH & 100% & HEIGHT & 100% & POSITION & FIXED & LEFT & 0PX & TOP & 0PX & ATTR_SEP & ONMOUSEOVER= & VALUE_SEP & ALERT & 1') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '/> & ATTR_SEP & STYLE= & VALUE_SEP & WIDTH & 100% & HEIGHT & 100% & POSITION & FIXED & LEFT & 0PX & TOP & 0PX & ATTR_SEP & ONMOUSEOVER= & VALUE_SEP & ALERT & 1') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'STYLE=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WIDTH' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '100%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'HEIGHT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '100%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'POSITION' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FIXED' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'LEFT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0PX' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'TOP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0PX' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ONMOUSEOVER=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '1')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '/>' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'STYLE=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'WIDTH' OR upper(l.acc_txt) LIKE '100%' OR upper(l.acc_txt) LIKE 'HEIGHT' OR upper(l.acc_txt) LIKE '100%' OR upper(l.acc_txt) LIKE 'POSITION' OR upper(l.acc_txt) LIKE 'FIXED' OR upper(l.acc_txt) LIKE 'LEFT' OR upper(l.acc_txt) LIKE '0PX' OR upper(l.acc_txt) LIKE 'TOP' OR upper(l.acc_txt) LIKE '0PX' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'ONMOUSEOVER=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'ALERT' OR upper(l.acc_txt) LIKE '1')) ii GROUP BY ii.cd;
Date: 2024-07-02 11:14:06 Duration: 56s223ms Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '/> & ATTR_SEP & STYLE= & VALUE_SEP & WIDTH & 100% & HEIGHT & 100% & POSITION & FIXED & LEFT & 0PX & TOP & 0PX & ATTR_SEP & ONMOUSEOVER= & VALUE_SEP & ALERT & 1') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '/> & ATTR_SEP & STYLE= & VALUE_SEP & WIDTH & 100% & HEIGHT & 100% & POSITION & FIXED & LEFT & 0PX & TOP & 0PX & ATTR_SEP & ONMOUSEOVER= & VALUE_SEP & ALERT & 1') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'STYLE=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WIDTH' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '100%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'HEIGHT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '100%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'POSITION' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FIXED' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'LEFT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0PX' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'TOP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0PX' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ONMOUSEOVER=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '1')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '/>' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'STYLE=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'WIDTH' OR upper(l.acc_txt) LIKE '100%' OR upper(l.acc_txt) LIKE 'HEIGHT' OR upper(l.acc_txt) LIKE '100%' OR upper(l.acc_txt) LIKE 'POSITION' OR upper(l.acc_txt) LIKE 'FIXED' OR upper(l.acc_txt) LIKE 'LEFT' OR upper(l.acc_txt) LIKE '0PX' OR upper(l.acc_txt) LIKE 'TOP' OR upper(l.acc_txt) LIKE '0PX' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'ONMOUSEOVER=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'ALERT' OR upper(l.acc_txt) LIKE '1')) ii GROUP BY ii.cd;
Date: 2024-07-02 11:13:40 Duration: 55s806ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '/> & ATTR_SEP & STYLE= & VALUE_SEP & WIDTH & 100% & HEIGHT & 100% & POSITION & FIXED & LEFT & 0PX & TOP & 0PX & ATTR_SEP & ONMOUSEOVER= & VALUE_SEP & ALERT & 1') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '/> & ATTR_SEP & STYLE= & VALUE_SEP & WIDTH & 100% & HEIGHT & 100% & POSITION & FIXED & LEFT & 0PX & TOP & 0PX & ATTR_SEP & ONMOUSEOVER= & VALUE_SEP & ALERT & 1') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'STYLE=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WIDTH' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '100%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'HEIGHT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '100%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'POSITION' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FIXED' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'LEFT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0PX' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'TOP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0PX' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ONMOUSEOVER=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '1')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '/>' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'STYLE=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'WIDTH' OR upper(l.acc_txt) LIKE '100%' OR upper(l.acc_txt) LIKE 'HEIGHT' OR upper(l.acc_txt) LIKE '100%' OR upper(l.acc_txt) LIKE 'POSITION' OR upper(l.acc_txt) LIKE 'FIXED' OR upper(l.acc_txt) LIKE 'LEFT' OR upper(l.acc_txt) LIKE '0PX' OR upper(l.acc_txt) LIKE 'TOP' OR upper(l.acc_txt) LIKE '0PX' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'ONMOUSEOVER=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'ALERT' OR upper(l.acc_txt) LIKE '1')) ii GROUP BY ii.cd;
Date: 2024-07-02 11:13:15 Duration: 55s715ms Database: ctdprd51 User: pubeu Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 16m20s 16m20s 16m20s 1 16m20s select maint_query_logs_archive ();Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 02 00 1 16m20s 16m20s -
/* * Run daily to prune LOG_QUERY, archive old queries to LOG_QUERY_ARCHIVE * and vacuum/analyze the tables. * * $Id: archive_query_logs.sql 10832 2012-03-19 15:27:11Z mcr $ */ SELECT maint_query_logs_archive ();
Date: 2024-07-02 00:16:22 Duration: 16m20s
2 8m33s 8m33s 8m33s 1 8m33s drop table load.ixn_prose; create table load.ixn_prose as select edit.get_ixn_prose (ri.ixn_id) as ixn_prose_txt, ri.reference_acc_txt, ri.taxon_acc_txt, ri.mod_tm, t.nm from edit.reference_ixn ri, edit.ixn i, edit.ixn_type t where ri.ixn_id = i.id and i.ixn_type_id = t.id;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jul 02 10 1 8m33s 8m33s [ User: load - Total duration: 8m33s - Times executed: 1 ]
[ Application: pgAdmin 4 - CONN:3182627 - Total duration: 8m33s - Times executed: 1 ]
-
drop table load.ixn_prose; create table load.ixn_prose as select edit.get_ixn_prose (ri.ixn_id) as ixn_prose_txt, ri.reference_acc_txt, ri.taxon_acc_txt, ri.mod_tm, t.nm from edit.reference_ixn ri, edit.ixn i, edit.ixn_type t where ri.ixn_id = i.id and i.ixn_type_id = t.id;
Date: 2024-07-02 10:34:23 Duration: 8m33s Database: ctdprd51 User: load Application: pgAdmin 4 - CONN:3182627
3 1s113ms 24m22s 3m41s 7 25m48s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 02 00 4 25m44s 6m26s 06 1 1s505ms 1s505ms 18 1 1s113ms 1s113ms 19 1 1s509ms 1s509ms [ User: pubeu - Total duration: 25m17s - Times executed: 4 ]
-
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 = '2082315') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-07-02 00:04:21 Duration: 24m22s 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 = '2082315') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-07-02 00:34:35 Duration: 27s921ms 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 = '2082315') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-07-02 00:34:38 Duration: 27s248ms Database: ctdprd51 User: pubeu Bind query: yes
4 2m57s 2m57s 2m57s 1 2m57s select r.ixn_id, edit.get_ixn_prose (r.ixn_id), r.reference_acc_txt, r.taxon_acc_txt, r.internal_note, r.field_cd, edit.get_ixn_xml (r.ixn_id), to_char(r.create_tm, ?), r.evidence_cd, i.create_by from edit.reference_ixn r, edit.ixn i where r.ixn_id = i.id and i.ixn_type_id = ( select id from edit.ixn_type where nm = ?);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jul 02 10 1 2m57s 2m57s [ User: load - Total duration: 2m57s - Times executed: 1 ]
-
SELECT r.ixn_id, edit.get_ixn_prose (r.ixn_id), r.reference_acc_txt, r.taxon_acc_txt, r.internal_note, r.field_cd, edit.get_ixn_xml (r.ixn_id), to_char(r.create_tm, 'mm-dd-yyyy'), r.evidence_cd, i.create_by FROM edit.REFERENCE_IXN r, edit.IXN i where r.ixn_id = i.id and i.ixn_type_id = ( select id from edit.IXN_TYPE where nm = 'PHENOTYPE');
Date: 2024-07-02 10:42:41 Duration: 2m57s Database: ctdprd51 User: load Bind query: yes
5 1m3s 1m3s 1m3s 1 1m3s select i.root_id, iq.nm from edit.reference_ixn_qualifier riq, edit.ixn_qualifier iq, edit.reference_ixn ri, edit.ixn i where riq.ixn_qualifier_id = iq.id and ri.id = riq.reference_ixn_id and ri.ixn_id = i.id;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jul 02 10 1 1m3s 1m3s -
select i.root_id, iq.nm from edit.REFERENCE_IXN_QUALIFIER riq, edit.IXN_QUALIFIER iq, edit.REFERENCE_IXN ri, edit.IXN i where riq.ixn_qualifier_id = iq.id and ri.id = riq.reference_ixn_id and ri.ixn_id = i.id;
Date: 2024-07-02 10:44:06 Duration: 1m3s Bind query: yes
6 1m1s 1m1s 1m1s 3 3m3s select ii.cd, count(ii.id) cnt from ( select ot.cd, tl.term_id id from object_type ot inner join term_label tl on ot.id = tl.object_type_id where tl.nm_fts @@ to_tsquery(?, ?) union select ?, r.id from reference r where r.title_abstract_fts @@ to_tsquery(?, ?) or r.id in ( select rpr.reference_id from reference_party_role rpr inner join reference_party rp on rpr.reference_party_id = rp.id where (substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ?)) union select ot.cd, l.object_id from db_link l inner join object_type ot on l.object_type_id = ot.id where l.type_cd = ? and (upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ?)) ii group by ii.cd;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 02 11 3 3m3s 1m1s -
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '/> & ATTR_SEP & STYLE= & VALUE_SEP & WIDTH & 100% & HEIGHT & 100% & POSITION & FIXED & LEFT & 0PX & TOP & 0PX & ATTR_SEP & ONPOINTERENTER= & VALUE_SEP & CONFIRM`1` & VALUE_SEP & ZID= & VALUE_SEP') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '/> & ATTR_SEP & STYLE= & VALUE_SEP & WIDTH & 100% & HEIGHT & 100% & POSITION & FIXED & LEFT & 0PX & TOP & 0PX & ATTR_SEP & ONPOINTERENTER= & VALUE_SEP & CONFIRM`1` & VALUE_SEP & ZID= & VALUE_SEP') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'STYLE=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WIDTH' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '100%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'HEIGHT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '100%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'POSITION' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FIXED' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'LEFT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0PX' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'TOP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0PX' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ONPOINTERENTER=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CONFIRM`1`' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ZID=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '/>' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'STYLE=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'WIDTH' OR upper(l.acc_txt) LIKE '100%' OR upper(l.acc_txt) LIKE 'HEIGHT' OR upper(l.acc_txt) LIKE '100%' OR upper(l.acc_txt) LIKE 'POSITION' OR upper(l.acc_txt) LIKE 'FIXED' OR upper(l.acc_txt) LIKE 'LEFT' OR upper(l.acc_txt) LIKE '0PX' OR upper(l.acc_txt) LIKE 'TOP' OR upper(l.acc_txt) LIKE '0PX' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'ONPOINTERENTER=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'CONFIRM`1`' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'ZID=' OR upper(l.acc_txt) LIKE 'VALUE_SEP')) ii GROUP BY ii.cd;
Date: 2024-07-02 11:14:53 Duration: 1m1s Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '/> & ATTR_SEP & STYLE= & VALUE_SEP & WIDTH & 100% & HEIGHT & 100% & POSITION & FIXED & LEFT & 0PX & TOP & 0PX & ATTR_SEP & ONPOINTERENTER= & VALUE_SEP & CONFIRM`1` & VALUE_SEP & ZID= & VALUE_SEP') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '/> & ATTR_SEP & STYLE= & VALUE_SEP & WIDTH & 100% & HEIGHT & 100% & POSITION & FIXED & LEFT & 0PX & TOP & 0PX & ATTR_SEP & ONPOINTERENTER= & VALUE_SEP & CONFIRM`1` & VALUE_SEP & ZID= & VALUE_SEP') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'STYLE=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WIDTH' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '100%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'HEIGHT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '100%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'POSITION' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FIXED' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'LEFT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0PX' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'TOP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0PX' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ONPOINTERENTER=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CONFIRM`1`' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ZID=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '/>' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'STYLE=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'WIDTH' OR upper(l.acc_txt) LIKE '100%' OR upper(l.acc_txt) LIKE 'HEIGHT' OR upper(l.acc_txt) LIKE '100%' OR upper(l.acc_txt) LIKE 'POSITION' OR upper(l.acc_txt) LIKE 'FIXED' OR upper(l.acc_txt) LIKE 'LEFT' OR upper(l.acc_txt) LIKE '0PX' OR upper(l.acc_txt) LIKE 'TOP' OR upper(l.acc_txt) LIKE '0PX' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'ONPOINTERENTER=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'CONFIRM`1`' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'ZID=' OR upper(l.acc_txt) LIKE 'VALUE_SEP')) ii GROUP BY ii.cd;
Date: 2024-07-02 11:15:09 Duration: 1m1s Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '/> & ATTR_SEP & STYLE= & VALUE_SEP & WIDTH & 100% & HEIGHT & 100% & POSITION & FIXED & LEFT & 0PX & TOP & 0PX & ATTR_SEP & ONPOINTERENTER= & VALUE_SEP & CONFIRM`1` & VALUE_SEP & ZID= & VALUE_SEP') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '/> & ATTR_SEP & STYLE= & VALUE_SEP & WIDTH & 100% & HEIGHT & 100% & POSITION & FIXED & LEFT & 0PX & TOP & 0PX & ATTR_SEP & ONPOINTERENTER= & VALUE_SEP & CONFIRM`1` & VALUE_SEP & ZID= & VALUE_SEP') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'STYLE=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WIDTH' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '100%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'HEIGHT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '100%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'POSITION' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FIXED' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'LEFT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0PX' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'TOP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0PX' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ONPOINTERENTER=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CONFIRM`1`' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ZID=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '/>' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'STYLE=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'WIDTH' OR upper(l.acc_txt) LIKE '100%' OR upper(l.acc_txt) LIKE 'HEIGHT' OR upper(l.acc_txt) LIKE '100%' OR upper(l.acc_txt) LIKE 'POSITION' OR upper(l.acc_txt) LIKE 'FIXED' OR upper(l.acc_txt) LIKE 'LEFT' OR upper(l.acc_txt) LIKE '0PX' OR upper(l.acc_txt) LIKE 'TOP' OR upper(l.acc_txt) LIKE '0PX' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'ONPOINTERENTER=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'CONFIRM`1`' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'ZID=' OR upper(l.acc_txt) LIKE 'VALUE_SEP')) ii GROUP BY ii.cd;
Date: 2024-07-02 11:15:00 Duration: 1m1s Bind query: yes
7 1s447ms 3m37s 58s228ms 9 8m44s 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 #7
Day Hour Count Duration Avg duration Jul 02 01 1 3m37s 3m37s 03 3 6s949ms 2s316ms 04 1 1s572ms 1s572ms 07 1 3m36s 3m36s 09 1 1s447ms 1s447ms 18 1 1s578ms 1s578ms 21 1 1m18s 1m18s [ User: pubeu - Total duration: 4m57s - Times executed: 3 ]
-
SELECT /* GoDiseasesDAO */ phenotypeTerm.nm goNm, phenotypeTerm.nm_html goNmHTML, phenotypeTerm.acc_txt goAcc, phenotypeTerm.id goId, diseaseTerm.nm diseaseNm, diseaseTerm.acc_txt diseaseAcc, diseaseTerm.acc_db_cd diseaseAccDBCd, diseaseTerm.id diseaseId, via_gene_qty geneNetworkCount, via_chem_qty chemNetworkCount, indirect_reference_qty referenceCount, COUNT(*) OVER () fullRowCount FROM phenotype_term pt inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id inner join term diseaseTerm on pt.term_id = diseaseTerm.id WHERE phenotypeTerm.id IN ( select distinct dp.descendant_object_id from dag_path dp WHERE dp.ancestor_object_id = '1242889') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-07-02 01:16:07 Duration: 3m37s 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 = '1242889') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-07-02 07:07:14 Duration: 3m36s 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 = '1227153') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-07-02 21:57:17 Duration: 1m18s Database: ctdprd51 User: pubeu Bind query: yes
8 55s542ms 56s223ms 55s785ms 5 4m38s select ii.cd, count(ii.id) cnt from ( select ot.cd, tl.term_id id from object_type ot inner join term_label tl on ot.id = tl.object_type_id where tl.nm_fts @@ to_tsquery(?, ?) union select ?, r.id from reference r where r.title_abstract_fts @@ to_tsquery(?, ?) or r.id in ( select rpr.reference_id from reference_party_role rpr inner join reference_party rp on rpr.reference_party_id = rp.id where (substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ?)) union select ot.cd, l.object_id from db_link l inner join object_type ot on l.object_type_id = ot.id where l.type_cd = ? and (upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ?)) ii group by ii.cd;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jul 02 11 5 4m38s 55s785ms [ User: pubeu - Total duration: 2m47s - Times executed: 3 ]
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '/> & ATTR_SEP & STYLE= & VALUE_SEP & WIDTH & 100% & HEIGHT & 100% & POSITION & FIXED & LEFT & 0PX & TOP & 0PX & ATTR_SEP & ONMOUSEOVER= & VALUE_SEP & ALERT & 1') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '/> & ATTR_SEP & STYLE= & VALUE_SEP & WIDTH & 100% & HEIGHT & 100% & POSITION & FIXED & LEFT & 0PX & TOP & 0PX & ATTR_SEP & ONMOUSEOVER= & VALUE_SEP & ALERT & 1') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'STYLE=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WIDTH' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '100%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'HEIGHT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '100%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'POSITION' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FIXED' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'LEFT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0PX' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'TOP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0PX' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ONMOUSEOVER=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '1')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '/>' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'STYLE=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'WIDTH' OR upper(l.acc_txt) LIKE '100%' OR upper(l.acc_txt) LIKE 'HEIGHT' OR upper(l.acc_txt) LIKE '100%' OR upper(l.acc_txt) LIKE 'POSITION' OR upper(l.acc_txt) LIKE 'FIXED' OR upper(l.acc_txt) LIKE 'LEFT' OR upper(l.acc_txt) LIKE '0PX' OR upper(l.acc_txt) LIKE 'TOP' OR upper(l.acc_txt) LIKE '0PX' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'ONMOUSEOVER=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'ALERT' OR upper(l.acc_txt) LIKE '1')) ii GROUP BY ii.cd;
Date: 2024-07-02 11:14:06 Duration: 56s223ms Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '/> & ATTR_SEP & STYLE= & VALUE_SEP & WIDTH & 100% & HEIGHT & 100% & POSITION & FIXED & LEFT & 0PX & TOP & 0PX & ATTR_SEP & ONMOUSEOVER= & VALUE_SEP & ALERT & 1') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '/> & ATTR_SEP & STYLE= & VALUE_SEP & WIDTH & 100% & HEIGHT & 100% & POSITION & FIXED & LEFT & 0PX & TOP & 0PX & ATTR_SEP & ONMOUSEOVER= & VALUE_SEP & ALERT & 1') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'STYLE=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WIDTH' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '100%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'HEIGHT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '100%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'POSITION' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FIXED' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'LEFT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0PX' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'TOP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0PX' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ONMOUSEOVER=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '1')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '/>' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'STYLE=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'WIDTH' OR upper(l.acc_txt) LIKE '100%' OR upper(l.acc_txt) LIKE 'HEIGHT' OR upper(l.acc_txt) LIKE '100%' OR upper(l.acc_txt) LIKE 'POSITION' OR upper(l.acc_txt) LIKE 'FIXED' OR upper(l.acc_txt) LIKE 'LEFT' OR upper(l.acc_txt) LIKE '0PX' OR upper(l.acc_txt) LIKE 'TOP' OR upper(l.acc_txt) LIKE '0PX' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'ONMOUSEOVER=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'ALERT' OR upper(l.acc_txt) LIKE '1')) ii GROUP BY ii.cd;
Date: 2024-07-02 11:13:40 Duration: 55s806ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '/> & ATTR_SEP & STYLE= & VALUE_SEP & WIDTH & 100% & HEIGHT & 100% & POSITION & FIXED & LEFT & 0PX & TOP & 0PX & ATTR_SEP & ONMOUSEOVER= & VALUE_SEP & ALERT & 1') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '/> & ATTR_SEP & STYLE= & VALUE_SEP & WIDTH & 100% & HEIGHT & 100% & POSITION & FIXED & LEFT & 0PX & TOP & 0PX & ATTR_SEP & ONMOUSEOVER= & VALUE_SEP & ALERT & 1') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'STYLE=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WIDTH' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '100%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'HEIGHT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '100%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'POSITION' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FIXED' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'LEFT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0PX' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'TOP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0PX' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ONMOUSEOVER=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '1')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '/>' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'STYLE=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'WIDTH' OR upper(l.acc_txt) LIKE '100%' OR upper(l.acc_txt) LIKE 'HEIGHT' OR upper(l.acc_txt) LIKE '100%' OR upper(l.acc_txt) LIKE 'POSITION' OR upper(l.acc_txt) LIKE 'FIXED' OR upper(l.acc_txt) LIKE 'LEFT' OR upper(l.acc_txt) LIKE '0PX' OR upper(l.acc_txt) LIKE 'TOP' OR upper(l.acc_txt) LIKE '0PX' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'ONMOUSEOVER=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'ALERT' OR upper(l.acc_txt) LIKE '1')) ii GROUP BY ii.cd;
Date: 2024-07-02 11:13:15 Duration: 55s715ms Database: ctdprd51 User: pubeu Bind query: yes
9 34s357ms 34s515ms 34s431ms 3 1m43s select ii.cd, count(ii.id) cnt from ( select ot.cd, tl.term_id id from object_type ot inner join term_label tl on ot.id = tl.object_type_id where tl.nm_fts @@ to_tsquery(?, ?) union select ?, r.id from reference r where r.title_abstract_fts @@ to_tsquery(?, ?) or r.id in ( select rpr.reference_id from reference_party_role rpr inner join reference_party rp on rpr.reference_party_id = rp.id where (substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ?)) union select ot.cd, l.object_id from db_link l inner join object_type ot on l.object_type_id = ot.id where l.type_cd = ? and (upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ?)) ii group by ii.cd;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jul 02 11 3 1m43s 34s431ms [ User: pubeu - Total duration: 1m8s - Times executed: 2 ]
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '/> & ATTR_SEP & AUTOFOCUS & HREF & ONFOCUS= & VALUE_SEP & X & => & CONFIRM & X & `1`') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '/> & ATTR_SEP & AUTOFOCUS & HREF & ONFOCUS= & VALUE_SEP & X & => & CONFIRM & X & `1`') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AUTOFOCUS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'HREF' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ONFOCUS=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'X' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '=>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CONFIRM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'X' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '`1`')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '/>' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'AUTOFOCUS' OR upper(l.acc_txt) LIKE 'HREF' OR upper(l.acc_txt) LIKE 'ONFOCUS=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE '=>' OR upper(l.acc_txt) LIKE 'CONFIRM' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE '`1`')) ii GROUP BY ii.cd;
Date: 2024-07-02 11:11:29 Duration: 34s515ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '/> & ATTR_SEP & AUTOFOCUS & HREF & ONFOCUS= & VALUE_SEP & X & => & CONFIRM & X & `1`') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '/> & ATTR_SEP & AUTOFOCUS & HREF & ONFOCUS= & VALUE_SEP & X & => & CONFIRM & X & `1`') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AUTOFOCUS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'HREF' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ONFOCUS=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'X' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '=>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CONFIRM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'X' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '`1`')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '/>' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'AUTOFOCUS' OR upper(l.acc_txt) LIKE 'HREF' OR upper(l.acc_txt) LIKE 'ONFOCUS=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE '=>' OR upper(l.acc_txt) LIKE 'CONFIRM' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE '`1`')) ii GROUP BY ii.cd;
Date: 2024-07-02 11:11:37 Duration: 34s419ms Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '/> & ATTR_SEP & AUTOFOCUS & HREF & ONFOCUS= & VALUE_SEP & X & => & CONFIRM & X & `1`') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '/> & ATTR_SEP & AUTOFOCUS & HREF & ONFOCUS= & VALUE_SEP & X & => & CONFIRM & X & `1`') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AUTOFOCUS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'HREF' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ONFOCUS=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'X' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '=>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CONFIRM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'X' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '`1`')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '/>' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'AUTOFOCUS' OR upper(l.acc_txt) LIKE 'HREF' OR upper(l.acc_txt) LIKE 'ONFOCUS=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE '=>' OR upper(l.acc_txt) LIKE 'CONFIRM' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE '`1`')) ii GROUP BY ii.cd;
Date: 2024-07-02 11:11:55 Duration: 34s357ms Database: ctdprd51 User: pubeu Bind query: yes
10 33s132ms 33s195ms 33s152ms 4 2m12s copy pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) to stdout;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Jul 02 06 1 33s142ms 33s142ms 10 1 33s139ms 33s139ms 14 1 33s132ms 33s132ms 18 1 33s195ms 33s195ms [ User: postgres - Total duration: 2m12s - Times executed: 4 ]
[ Application: pg_dump - Total duration: 2m12s - Times executed: 4 ]
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-07-02 18:05:35 Duration: 33s195ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-07-02 06:05:34 Duration: 33s142ms Database: ctdprd51 User: postgres Application: pg_dump
-
COPY pubc.log_query_archive (id, type_cd, query_tm, submission_qty, session_id, remote_addr, http_user_agent, server_nm, node_nm, results_qty, execution_ms, basic_query_type, basic_query_txt, gene_query_type, gene_txt, gene_form_type_txt, taxon_query_type, taxon_txt, chem_query_type, chem_txt, party_query_type, party_nm_txt, acc_txt, go_query_type, go_txt, disease_query_type, disease_txt, action_type_txt, action_degree_type_txt, from_yr, through_yr, title_abstract_txt, has_marray, gene_set_txt, molecule_type_txt, volume_txt, first_page_txt, journal_query_type, journal_txt, is_review, pathway_query_type, pathway_txt, dag_txt, results_format_txt, batch_input_type_txt, gd_assn_type, p_val, p_val_type, input_term_qty, review_status) TO stdout;
Date: 2024-07-02 10:05:35 Duration: 33s139ms Database: ctdprd51 User: postgres Application: pg_dump
11 31s328ms 31s639ms 31s507ms 6 3m9s select ii.cd, count(ii.id) cnt from ( select ot.cd, tl.term_id id from object_type ot inner join term_label tl on ot.id = tl.object_type_id where tl.nm_fts @@ to_tsquery(?, ?) union select ?, r.id from reference r where r.title_abstract_fts @@ to_tsquery(?, ?) or r.id in ( select rpr.reference_id from reference_party_role rpr inner join reference_party rp on rpr.reference_party_id = rp.id where (substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ?)) union select ot.cd, l.object_id from db_link l inner join object_type ot on l.object_type_id = ot.id where l.type_cd = ? and (upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ?)) ii group by ii.cd;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Jul 02 11 6 3m9s 31s507ms [ User: pubeu - Total duration: 1m2s - Times executed: 2 ]
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '/> & ATTR_SEP & VALUE_SEP & ALERT & 1 & ATTR_SEP & ONERROR= & VALUE_SEP & ALERT & 1') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '/> & ATTR_SEP & VALUE_SEP & ALERT & 1 & ATTR_SEP & ONERROR= & VALUE_SEP & ALERT & 1') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ONERROR=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '1')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '/>' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'ALERT' OR upper(l.acc_txt) LIKE '1' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'ONERROR=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'ALERT' OR upper(l.acc_txt) LIKE '1')) ii GROUP BY ii.cd;
Date: 2024-07-02 11:10:13 Duration: 31s639ms Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '/> & ATTR_SEP & HREF & ONERROR= & VALUE_SEP & PROMPT & `1` & VALUE_SEP & ID= & VALUE_SEP') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '/> & ATTR_SEP & HREF & ONERROR= & VALUE_SEP & PROMPT & `1` & VALUE_SEP & ID= & VALUE_SEP') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'HREF' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ONERROR=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'PROMPT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '`1`' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ID=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '/>' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'HREF' OR upper(l.acc_txt) LIKE 'ONERROR=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'PROMPT' OR upper(l.acc_txt) LIKE '`1`' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'ID=' OR upper(l.acc_txt) LIKE 'VALUE_SEP')) ii GROUP BY ii.cd;
Date: 2024-07-02 11:13:49 Duration: 31s614ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '/> & ATTR_SEP & VALUE_SEP & ALERT & 1 & ATTR_SEP & ONERROR= & VALUE_SEP & ALERT & 1') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '/> & ATTR_SEP & VALUE_SEP & ALERT & 1 & ATTR_SEP & ONERROR= & VALUE_SEP & ALERT & 1') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ONERROR=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '1')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '/>' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'ALERT' OR upper(l.acc_txt) LIKE '1' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'ONERROR=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'ALERT' OR upper(l.acc_txt) LIKE '1')) ii GROUP BY ii.cd;
Date: 2024-07-02 11:10:01 Duration: 31s613ms Bind query: yes
12 28s402ms 28s607ms 28s504ms 2 57s9ms select ii.cd, count(ii.id) cnt from ( select ot.cd, tl.term_id id from object_type ot inner join term_label tl on ot.id = tl.object_type_id where tl.nm_fts @@ to_tsquery(?, ?) union select ?, r.id from reference r where r.title_abstract_fts @@ to_tsquery(?, ?) or r.id in ( select rpr.reference_id from reference_party_role rpr inner join reference_party rp on rpr.reference_party_id = rp.id where (substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ?)) union select ot.cd, l.object_id from db_link l inner join object_type ot on l.object_type_id = ot.id where l.type_cd = ? and (upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ?)) ii group by ii.cd;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Jul 02 11 2 57s9ms 28s504ms [ User: pubeu - Total duration: 28s607ms - Times executed: 1 ]
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '/> & ATTR_SEP & VALUE_SEP & WINDOW & `AL`+`ERT` & `1` & VALUE_SEP & NID= & VALUE_SEP') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '/> & ATTR_SEP & VALUE_SEP & WINDOW & `AL`+`ERT` & `1` & VALUE_SEP & NID= & VALUE_SEP') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WINDOW' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '`AL`+`ERT`' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '`1`' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'NID=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '/>' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'WINDOW' OR upper(l.acc_txt) LIKE '`AL`+`ERT`' OR upper(l.acc_txt) LIKE '`1`' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'NID=' OR upper(l.acc_txt) LIKE 'VALUE_SEP')) ii GROUP BY ii.cd;
Date: 2024-07-02 11:10:16 Duration: 28s607ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '/> & ATTR_SEP & VALUE_SEP & WINDOW & `AL`+`ERT` & `1` & VALUE_SEP & NID= & VALUE_SEP') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '/> & ATTR_SEP & VALUE_SEP & WINDOW & `AL`+`ERT` & `1` & VALUE_SEP & NID= & VALUE_SEP') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WINDOW' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '`AL`+`ERT`' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '`1`' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'NID=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '/>' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'WINDOW' OR upper(l.acc_txt) LIKE '`AL`+`ERT`' OR upper(l.acc_txt) LIKE '`1`' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'NID=' OR upper(l.acc_txt) LIKE 'VALUE_SEP')) ii GROUP BY ii.cd;
Date: 2024-07-02 11:10:32 Duration: 28s402ms Bind query: yes
13 2s31ms 1m 21s972ms 7 2m33s select r.id, r.abbr_authors_txt authors, r.title, r.core_citation_txt citation, r.pub_start_yr yr, r.acc_txt refacc, r.has_diseases or r.has_ixns or r.has_exposures or r.has_phenotypes iscurated, r.has_exposures, count(*) over () fullrowcount from reference r where r.id in ( select reference_id from term_reference where term_id in ( select distinct dp.descendant_object_id from dag_path dp where dp.ancestor_object_id = ?)) order by r.sort_txt limit ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Jul 02 04 2 1m2s 31s130ms 11 1 34s957ms 34s957ms 17 1 2s31ms 2s31ms 20 1 25s101ms 25s101ms 21 1 2s90ms 2s90ms 22 1 27s363ms 27s363ms [ User: pubeu - Total duration: 1m29s - Times executed: 3 ]
-
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 = '1408957')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-07-02 04:36:21 Duration: 1m 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 = '2075512')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-07-02 11:50:37 Duration: 34s957ms 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 = '1209245')) ORDER BY r.sort_txt LIMIT 50;
Date: 2024-07-02 22:43:59 Duration: 27s363ms Database: ctdprd51 User: pubeu Bind query: yes
14 20s226ms 20s415ms 20s336ms 5 1m41s select ii.cd, count(ii.id) cnt from ( select ot.cd, tl.term_id id from object_type ot inner join term_label tl on ot.id = tl.object_type_id where tl.nm_fts @@ to_tsquery(?, ?) union select ?, r.id from reference r where r.title_abstract_fts @@ to_tsquery(?, ?) or r.id in ( select rpr.reference_id from reference_party_role rpr inner join reference_party rp on rpr.reference_party_id = rp.id where (substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ? or substr(get_reference_party_nm_sort (rp.required_nm), ?, ?) like ?)) union select ot.cd, l.object_id from db_link l inner join object_type ot on l.object_type_id = ot.id where l.type_cd = ? and (upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ? or upper(l.acc_txt) like ?)) ii group by ii.cd;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Jul 02 11 5 1m41s 20s336ms [ User: pubeu - Total duration: 1m1s - Times executed: 3 ]
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '/> & ATTR_SEP & AUTOFOCUS/ONFOCUS= & VALUE_SEP & ALERT & 1') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '/> & ATTR_SEP & AUTOFOCUS/ONFOCUS= & VALUE_SEP & ALERT & 1') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AUTOFOCUS/ONFOCUS=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '1')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '/>' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'AUTOFOCUS/ONFOCUS=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'ALERT' OR upper(l.acc_txt) LIKE '1')) ii GROUP BY ii.cd;
Date: 2024-07-02 11:10:31 Duration: 20s415ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '/> & ATTR_SEP & AUTOFOCUS & ONFOCUS= & VALUE_SEP & ALERT & `1`') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '/> & ATTR_SEP & AUTOFOCUS & ONFOCUS= & VALUE_SEP & ALERT & `1`') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AUTOFOCUS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ONFOCUS=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALERT')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '`1`' OR upper(l.acc_txt) LIKE '/>' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'AUTOFOCUS' OR upper(l.acc_txt) LIKE 'ONFOCUS=' OR upper(l.acc_txt) LIKE 'VALUE_SEP')) ii GROUP BY ii.cd;
Date: 2024-07-02 11:11:50 Duration: 20s363ms Bind query: yes
-
SELECT /* BasicCountsDAO gen */ ii.cd, COUNT(ii.id) cnt FROM ( SELECT ot.cd, tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops', '/> & ATTR_SEP & AUTOFOCUS/ONFOCUS= & VALUE_SEP & ALERT & 1') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '/> & ATTR_SEP & AUTOFOCUS/ONFOCUS= & VALUE_SEP & ALERT & 1') OR r.id IN ( SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '/>' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ATTR_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AUTOFOCUS/ONFOCUS=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'VALUE_SEP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '1')) UNION SELECT ot.cd, l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper(l.acc_txt) LIKE '/>' OR upper(l.acc_txt) LIKE 'ATTR_SEP' OR upper(l.acc_txt) LIKE 'AUTOFOCUS/ONFOCUS=' OR upper(l.acc_txt) LIKE 'VALUE_SEP' OR upper(l.acc_txt) LIKE 'ALERT' OR upper(l.acc_txt) LIKE '1')) ii GROUP BY ii.cd;
Date: 2024-07-02 11:12:05 Duration: 20s362ms Database: ctdprd51 User: pubeu Bind query: yes
15 1s259ms 57s406ms 10s583ms 21 3m42s select d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, g.nm genesymbol, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, g.id geneid, gd.network_score networkscore, gd.indirect_chem_qty inferredcount, gd.reference_qty referencecount, gd.exposure_reference_qty exposurereferencecount, case when gd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from gene_disease_axn a where a.gene_id = gd.gene_id and a.disease_id = gd.disease_id) else null end actiontypes from gene_disease gd inner join term g on gd.gene_id = g.id inner join term d on gd.disease_id = d.id where gd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, gd.network_score desc nulls last, g.nm_sort, d.nm_sort limit ? offset ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Jul 02 00 8 1m24s 10s620ms 04 2 30s774ms 15s387ms 06 1 4s808ms 4s808ms 11 1 1s902ms 1s902ms 13 2 1m16s 38s90ms 16 1 1s958ms 1s958ms 19 1 1s259ms 1s259ms 20 2 7s865ms 3s932ms 21 1 2s930ms 2s930ms 22 2 9s617ms 4s808ms [ User: pubeu - Total duration: 2m11s - Times executed: 11 ]
-
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 = '2070257') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 8817400;
Date: 2024-07-02 13:32:48 Duration: 57s406ms 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 = '2082315') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 3802100;
Date: 2024-07-02 00:39:57 Duration: 24s941ms 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 = '2082315') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 3802100;
Date: 2024-07-02 00:39:57 Duration: 24s927ms Database: ctdprd51 User: pubeu Bind query: yes
16 1s 5s745ms 4s312ms 27 1m56s 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 #16
Day Hour Count Duration Avg duration Jul 02 00 1 4s975ms 4s975ms 02 2 6s312ms 3s156ms 03 1 1s25ms 1s25ms 04 2 9s960ms 4s980ms 05 1 5s611ms 5s611ms 07 9 48s385ms 5s376ms 10 1 5s205ms 5s205ms 12 1 1s32ms 1s32ms 13 2 10s212ms 5s106ms 14 1 1s28ms 1s28ms 15 3 11s543ms 3s847ms 18 1 5s134ms 5s134ms 19 1 5s13ms 5s13ms 22 1 1s5ms 1s5ms [ User: pubeu - Total duration: 1m7s - Times executed: 15 ]
-
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 = '1335226' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-07-02 07:05:47 Duration: 5s745ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1335226' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-07-02 07:05:43 Duration: 5s677ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemGODAO */ d.abbr dagAbbr, d.nm dagNm, gt.level_min_no dagLevelMin, gt.nm gonm, gt.nm_html gonmhtml, gt.acc_txt goacc, gt.object_id goid, te.corrected_p_val pValCorrected, te.raw_p_val pValRaw, te.target_match_qty targetmatchqty, te.target_total_qty targettotalqty, te.background_match_qty backgroundmatchqty, te.background_total_qty backgroundtotalqty, COUNT(*) OVER () fullRowCount FROM term_enrichment te INNER JOIN dag_node gt ON te.enriched_term_id = gt.object_id INNER JOIN dag d ON gt.dag_id = d.id WHERE te.term_id = '1335226' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-07-02 07:05:58 Duration: 5s635ms Database: ctdprd51 User: pubeu Bind query: yes
17 3s862ms 4s217ms 3s987ms 48 3m11s select coalesce(st.alt_nm, t.nm) slimtermnm, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.curated_reference_qty > ?) curatedcount, ( select count(*) from slim_term_mapping stm inner join chem_disease cd on cd.disease_id = stm.mapped_term_id where cd.chem_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) and stm.slim_term_id = st.slim_term_id and cd.indirect_gene_qty > ?) inferredcount from slim_term st inner join term t on st.slim_term_id = t.id where st.slim_id = ? order by ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Jul 02 00 1 4s64ms 4s64ms 02 2 8s51ms 4s25ms 03 1 3s947ms 3s947ms 04 1 3s959ms 3s959ms 05 4 15s897ms 3s974ms 06 7 28s 4s 07 9 36s279ms 4s31ms 08 2 7s838ms 3s919ms 09 2 8s109ms 4s54ms 10 2 7s997ms 3s998ms 11 1 3s928ms 3s928ms 12 2 8s115ms 4s57ms 13 2 7s874ms 3s937ms 16 1 3s948ms 3s948ms 17 3 11s709ms 3s903ms 21 3 11s835ms 3s945ms 22 3 11s896ms 3s965ms 23 2 7s967ms 3s983ms [ User: pubeu - Total duration: 1m7s - Times executed: 17 ]
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1256874') AND stm.slim_term_id = st.slim_term_id AND cd.curated_reference_qty > 0) curatedCount, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1256874') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-07-02 07:12:42 Duration: 4s217ms Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1273494') AND stm.slim_term_id = st.slim_term_id AND cd.curated_reference_qty > 0) curatedCount, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1273494') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-07-02 09:31:16 Duration: 4s188ms Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1394584') AND stm.slim_term_id = st.slim_term_id AND cd.curated_reference_qty > 0) curatedCount, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1394584') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2024-07-02 12:29:26 Duration: 4s182ms Bind query: yes
18 1s119ms 10s41ms 3s501ms 8 28s9ms 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 #18
Day Hour Count Duration Avg duration Jul 02 04 1 3s559ms 3s559ms 06 2 14s24ms 7s12ms 17 2 4s190ms 2s95ms 19 1 3s957ms 3s957ms 20 1 1s157ms 1s157ms 22 1 1s119ms 1s119ms [ User: pubeu - Total duration: 9s266ms - Times executed: 4 ]
-
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 = '1211538') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-07-02 06:03:18 Duration: 10s41ms 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 = '1207728') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-07-02 06:37:16 Duration: 3s983ms 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 = '1207728') AND gga.is_not = false) sq ORDER BY sq.gonmsort, sq.genesymbolsort LIMIT 50;
Date: 2024-07-02 19:30:48 Duration: 3s957ms Database: ctdprd51 User: pubeu Bind query: yes
19 2s142ms 4s663ms 2s900ms 10 29s4ms 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 #19
Day Hour Count Duration Avg duration Jul 02 03 3 8s115ms 2s705ms 04 1 2s404ms 2s404ms 06 1 2s142ms 2s142ms 10 1 4s663ms 4s663ms 13 1 2s845ms 2s845ms 15 1 3s892ms 3s892ms 18 1 2s543ms 2s543ms 23 1 2s395ms 2s395ms [ User: pubeu - Total duration: 8s957ms - Times executed: 3 ]
-
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 = '2075280') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-07-02 10:02:56 Duration: 4s663ms 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 = '2070160') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-07-02 15:43:31 Duration: 3s892ms 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 = '2075495') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-07-02 13:52:03 Duration: 2s845ms Bind query: yes
20 1s242ms 5s254ms 2s837ms 6 17s27ms 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 #20
Day Hour Count Duration Avg duration Jul 02 02 1 1s242ms 1s242ms 05 1 1s333ms 1s333ms 17 1 1s476ms 1s476ms 21 1 5s254ms 5s254ms 22 2 7s720ms 3s860ms [ User: pubeu - Total duration: 13s180ms - Times executed: 5 ]
-
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 = '1388675') 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 = '1388675') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-07-02 21:30:20 Duration: 5s254ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1426816') 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 = '1426816') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-07-02 22:17:17 Duration: 3s872ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemExposureStudiesAssnsDAO */ e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, ( SELECT STRING_AGG(distinct stressorTerm.nm || '^' || ( select cd from object_type where id = stressorTerm.object_type_id) || '^' || stressorTerm.nm_html || '^' || stressorTerm.acc_txt || '^' || stressorTerm.acc_db_cd, '|')) as stressorAgents, ( SELECT STRING_AGG(distinct COALESCE(receptorTerm.nm, '') || '^' || COALESCE(( select cd from object_type where id = receptorTerm.object_type_id), '') || '^' || COALESCE(receptorTerm.nm_html, '') || '^' || COALESCE(receptorTerm.acc_txt, '') || '^' || COALESCE(receptorTerm.acc_db_cd, '') || '^' || receptor.description, '|')) as receptors, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, ( SELECT STRING_AGG(distinct location.locality_txt, ' | ')) as localities, ( SELECT STRING_AGG(distinct event.medium_nm || '^' || COALESCE(event.medium_term_acc_txt, ''), ' | ')) as assayMediums, ( SELECT STRING_AGG(distinct exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd, '|')) as assayedMarkers, ( SELECT STRING_AGG(distinct diseaseTerm.nm || '^' || ( select cd from object_type where id = diseaseTerm.object_type_id) || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd, '|')) as diseases, ( SELECT STRING_AGG(distinct phenotypeTerm.nm || '^' || ( select cd from object_type where id = phenotypeTerm.object_type_id) || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd, '|')) as phenotypes, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, re.author_summary summary, COUNT(*) OVER () fullRowCount FROM exposure e inner join reference r ON e.reference_id = r.id inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id left outer join exp_event event ON e.exp_event_id = event.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join exp_event_location location ON e.exp_event_id = location.exp_event_id left outer join country ON location.country_id = country.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id inner join reference_exp re ON e.reference_id = re.reference_id left outer join exp_study_factor expStudyFactor on re.id = expStudyFactor.reference_exp_id where e.reference_id = ANY (ARRAY ( select reference_id from exposure e1, term chem, exp_stressor s1 where chem.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1426816') 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 = '1426816') and t.id = event1.exp_marker_term_id and event1.exp_marker_type_id in ( select id from exp_marker_type where nm like 'chem%') and event1.id = e1.exp_event_id)) group by e.reference_acc_txt, r.abbr_authors_txt, pub_start_yr, re.author_summary order by stressorAgents LIMIT 50;
Date: 2024-07-02 22:17:19 Duration: 3s847ms Bind query: yes
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query NO DATASET
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 0ms 21 0ms 0ms 0ms ;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Jul 01 09 1 0ms 0ms 10 1 0ms 0ms 16 2 0ms 0ms Jul 02 02 1 0ms 0ms 10 1 0ms 0ms 11 14 0ms 0ms 13 1 0ms 0ms [ User: pubeu - Total duration: 2m54s - Times executed: 7 ]
-
;
Date: Duration: 0ms Database: postgres parameters: $1 = '1674679', $2 = '1674679'
-
Events
Log levels
Key values
- 11,722 Log entries
Events distribution
Key values
- 0 PANIC entries
- 2 FATAL entries
- 33 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 7 Max number of times the same event was reported
- 35 Total events found
Rank Times reported Error 1 7 ERROR: syntax error in ts"..."
Times Reported Most Frequent Error / Event #1
Day Hour Count Jul 02 11 7 - ERROR: syntax error in ts"/><OBJECT & DATA=ALERT & 1 & >"
- ERROR: syntax error in ts"/><SCR"
- ERROR: syntax error in ts"/><IMG & SRC & ONERROR= & EMSP & PROMPT`$ & 1 & `>"
Statement: SELECT /* BasicCountsDAO gen */ ii.cd ,COUNT(ii.id) cnt FROM (SELECT ot.cd ,tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops',$1) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',$2) OR r.id IN (SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $3 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $4 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $5 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $6 ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper( l.acc_txt ) LIKE $7 OR upper( l.acc_txt ) LIKE $8 OR upper( l.acc_txt ) LIKE $9 OR upper( l.acc_txt ) LIKE $10 ) ) ii GROUP BY ii.cd
Date: 2024-07-02 11:08:36 Database: ctdprd51 Application: User: pubeu Remote:
Statement: SELECT /* BasicCountsDAO gen */ ii.cd ,COUNT(ii.id) cnt FROM (SELECT ot.cd ,tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops',$1) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',$2) OR r.id IN (SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $3 ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper( l.acc_txt ) LIKE $4 ) ) ii GROUP BY ii.cd < 2024-07-02 11:08:59.689 EDT >NOTICE: text-search query contains only stop words or doesn't contain lexemes, ignored < 2024-07-02 11:08:59.690 EDT >NOTICE: text-search query contains only stop words or doesn't contain lexemes, ignored
Date: 2024-07-02 11:08:58
Statement: SELECT /* BasicCountsDAO gen */ ii.cd ,COUNT(ii.id) cnt FROM (SELECT ot.cd ,tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops',$1) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',$2) OR r.id IN (SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $3 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $4 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $5 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $6 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $7 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $8 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $9 ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper( l.acc_txt ) LIKE $10 OR upper( l.acc_txt ) LIKE $11 OR upper( l.acc_txt ) LIKE $12 OR upper( l.acc_txt ) LIKE $13 OR upper( l.acc_txt ) LIKE $14 OR upper( l.acc_txt ) LIKE $15 OR upper( l.acc_txt ) LIKE $16 ) ) ii GROUP BY ii.cd
Date: 2024-07-02 11:09:01
2 6 ERROR: syntax error in ts"..." ,COUNT(...) cnt FROM (...) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery(...) OR r.id IN (...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (...) LIKE OR upper(...) LIKE OR upper(...) LIKE OR upper(...) LIKE OR upper(...) LIKE ) ) ii GROUP BY ii.cd
Times Reported Most Frequent Error / Event #2
Day Hour Count Jul 02 11 6 - ERROR: syntax error in ts"/><IMG & SRC=Z & ONERROR=ALERT & 1 & >" ,COUNT(ii.id) cnt FROM (SELECT ot.cd ,tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops',) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',) OR r.id IN (SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE ) ) ii GROUP BY ii.cd
Statement: SELECT /* BasicCountsDAO gen */ ii.cd
Date: 2024-07-02 11:08:07
3 3 LOG: could not receive data from client: Connection timed out
Times Reported Most Frequent Error / Event #3
Day Hour Count Jul 02 18 3 4 2 ERROR: syntax error in ts"..." ,COUNT(...) cnt FROM (...) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery(...) OR r.id IN (...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (...) LIKE OR upper(...) LIKE OR upper(...) LIKE ) ) ii GROUP BY ii.cd
Times Reported Most Frequent Error / Event #4
Day Hour Count Jul 02 11 2 - ERROR: syntax error in ts"/><SVG/ALERT & 1 & >" ,COUNT(ii.id) cnt FROM (SELECT ot.cd ,tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops',) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',) OR r.id IN (SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE ) ) ii GROUP BY ii.cd
Statement: SELECT /* BasicCountsDAO gen */ ii.cd
Date: 2024-07-02 11:07:59 Database: ctdprd51 Application: User: pubeu Remote:
5 2 ERROR: syntax error in ts"..." ,COUNT(...) cnt FROM (...) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery(...) OR r.id IN (...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (...) LIKE OR upper(...) LIKE OR upper(...) LIKE OR upper(...) LIKE ) ) ii GROUP BY ii.cd
Times Reported Most Frequent Error / Event #5
Day Hour Count Jul 02 11 2 - ERROR: syntax error in ts"/><BODY/ONPAGESHOW= & CONFIRM & 1 & >" ,COUNT(ii.id) cnt FROM (SELECT ot.cd ,tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops',) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',) OR r.id IN (SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE ) ) ii GROUP BY ii.cd
Statement: SELECT /* BasicCountsDAO gen */ ii.cd
Date: 2024-07-02 11:08:19
6 2 ERROR: syntax error in ts"..." ,COUNT(...) cnt FROM (...) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery(...) OR r.id IN (...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (...) LIKE OR upper(...) LIKE OR upper(...) LIKE OR upper(...) LIKE OR upper(...) LIKE OR upper(...) LIKE OR upper(...) LIKE OR upper(...) LIKE OR upper(...) LIKE ) ) ii GROUP BY ii.cd
Times Reported Most Frequent Error / Event #6
Day Hour Count Jul 02 11 2 - ERROR: syntax error in ts"/><A & AUTOFOCUS & ONFOCUS= & FUNCTION & RETURN & WINDOW & ALERT & 1 & HREF>" ,COUNT(ii.id) cnt FROM (SELECT ot.cd ,tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops',) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',) OR r.id IN (SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE ) ) ii GROUP BY ii.cd
Statement: SELECT /* BasicCountsDAO gen */ ii.cd
Date: 2024-07-02 11:08:21
7 1 FATAL: connection to client lost
Times Reported Most Frequent Error / Event #7
Day Hour Count Jul 02 00 1 8 1 ERROR: syntax error in ts"..." ,COUNT(...) cnt FROM (...) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery(...) OR r.id IN (...),1,128) LIKE OR SUBSTR(...),1,128) LIKE ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (...) LIKE OR upper(...) LIKE ) ) ii GROUP BY ii.cd
Times Reported Most Frequent Error / Event #8
Day Hour Count Jul 02 11 1 - ERROR: syntax error in ts"/><IFRAME & ></IFRAME>" ,COUNT(ii.id) cnt FROM (SELECT ot.cd ,tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops',) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',) OR r.id IN (SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE ) ) ii GROUP BY ii.cd
Statement: SELECT /* BasicCountsDAO gen */ ii.cd
Date: 2024-07-02 11:08:15
9 1 LOG: could not send data to client: Broken pipe
Times Reported Most Frequent Error / Event #9
Day Hour Count Jul 02 00 1 10 1 ERROR: canceling statement due to user request
Times Reported Most Frequent Error / Event #10
Day Hour Count Jul 02 00 1 - ERROR: canceling statement due to user request
Statement: SELECT row_to_json (T) FROM ( SELECT checkpoints_timed , checkpoints_req , checkpoint_write_time , checkpoint_sync_time , buffers_checkpoint , buffers_clean , maxwritten_clean , buffers_backend , buffers_backend_fsync , buffers_alloc FROM pg_catalog.pg_stat_bgwriter ) T ;
Date: 2024-07-02 00:40:00
11 1 ERROR: syntax error in ts"..." ,COUNT(...) cnt FROM (...) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery(...) OR r.id IN (...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (...) LIKE OR upper(...) LIKE OR upper(...) LIKE OR upper(...) LIKE OR upper(...) LIKE OR upper(...) LIKE ) ) ii GROUP BY ii.cd
Times Reported Most Frequent Error / Event #11
Day Hour Count Jul 02 11 1 - ERROR: syntax error in ts"/><MARQUEE & LOOP=1 & WIDTH=0 & ONFINISH=PROMPT & 1 & >" ,COUNT(ii.id) cnt FROM (SELECT ot.cd ,tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops',) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',) OR r.id IN (SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE ) ) ii GROUP BY ii.cd
Statement: SELECT /* BasicCountsDAO gen */ ii.cd
Date: 2024-07-02 11:08:25
12 1 ERROR: syntax error at or near "..."
Times Reported Most Frequent Error / Event #12
Day Hour Count Jul 02 10 1 - ERROR: syntax error at or near "'Underlying Term Name'" at character 89
Statement: -- This provides discrepancies introduced this month - it is NOT aggregate select nm as 'Underlying Term Name' ,acc_txt as 'Underlying Term Accession' ,synonym ,reference_acc_txt ,notes ,create_by ,create_tm from edit.term_label where ( acc_txt, object_type_id ) not in ( -- Current Month's PUB select acc_txt, object_type_id from pub2.term ) order by acc_txt
Date: 2024-07-02 10:34:18 Database: ctdprd51 Application: pgAdmin 4 - CONN:749457 User: edit Remote:
13 1 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #13
Day Hour Count Jul 02 10 1 14 1 FATAL: canceling authentication due to timeout
Times Reported Most Frequent Error / Event #14
Day Hour Count Jul 02 00 1 15 1 ERROR: syntax error in ts"..." ,COUNT(...) cnt FROM (...) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery(...) OR r.id IN (...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (...) LIKE OR upper(...) LIKE OR upper(...) LIKE OR upper(...) LIKE OR upper(...) LIKE ) ) ii GROUP BY ii.cd ,COUNT(...) cnt FROM (...) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery(...) OR r.id IN (...),1,128) LIKE ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (...) LIKE ) ) ii GROUP BY ii.cd< 2024-07-02 11:08:31.189 EDT >NOTICE: text-search query contains only stop words or doesn't contain lexemes, ignored< 2024-07-02 11:08:31.189 EDT >NOTICE: text-search query contains only stop words or doesn't contain lexemes, ignored
Times Reported Most Frequent Error / Event #15
Day Hour Count Jul 02 11 1 - ERROR: syntax error in ts"/>><SVG><ANIMATE & ONBEGIN=PROMPT & 1 & ATTRIBUTENAME=U & DUR=1S>" ,COUNT(ii.id) cnt FROM (SELECT ot.cd ,tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops',) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',) OR r.id IN (SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE ) ) ii GROUP BY ii.cd ,COUNT(ii.id) cnt FROM (SELECT ot.cd ,tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops',) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',) OR r.id IN (SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper( l.acc_txt ) LIKE ) ) ii GROUP BY ii.cd< 2024-07-02 11:08:31.189 EDT >NOTICE: text-search query contains only stop words or doesn't contain lexemes, ignored< 2024-07-02 11:08:31.189 EDT >NOTICE: text-search query contains only stop words or doesn't contain lexemes, ignored
Statement: SELECT /* BasicCountsDAO gen */ ii.cdSELECT /* BasicCountsDAO gen */ ii.cd
Date: 2024-07-02 11:08:27
16 1 ERROR: syntax error in ts"..." ,COUNT(...) cnt FROM (...) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery(...) OR r.id IN (...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (...) LIKE OR upper(...) LIKE OR upper(...) LIKE OR upper(...) LIKE OR upper(...) LIKE ) ) ii GROUP BY ii.cd ,COUNT(...) cnt FROM (...) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery(...) OR r.id IN (...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (...) LIKE OR upper(...) LIKE OR upper(...) LIKE OR upper(...) LIKE OR upper(...) LIKE ) ) ii GROUP BY ii.cd
Times Reported Most Frequent Error / Event #16
Day Hour Count Jul 02 11 1 - ERROR: syntax error in ts"/><OBJECT & DATA= & ALERT & 1 & >" ,COUNT(ii.id) cnt FROM (SELECT ot.cd ,tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops',) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',) OR r.id IN (SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE ) ) ii GROUP BY ii.cd ,COUNT(ii.id) cnt FROM (SELECT ot.cd ,tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops',) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',) OR r.id IN (SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE ) ) ii GROUP BY ii.cd
Statement: SELECT /* BasicCountsDAO gen */ ii.cdSELECT /* BasicCountsDAO gen */ ii.cd
Date: 2024-07-02 11:08:12
17 1 ERROR: syntax error in ts"..." ,COUNT(...) cnt FROM (...) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery(...) OR r.id IN (...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (...) LIKE OR upper(...) LIKE OR upper(...) LIKE OR upper(...) LIKE ) ) ii GROUP BY ii.cd< 2024-07-02 11:08:03.615 EDT >NOTICE: text-search query contains only stop words or doesn't contain lexemes, ignored< 2024-07-02 11:08:03.615 EDT >NOTICE: text-search query contains only stop words or doesn't contain lexemes, ignored< 2024-07-02 11:08:04.847 EDT >NOTICE: text-search query contains only stop words or doesn't contain lexemes, ignored< 2024-07-02 11:08:04.848 EDT >NOTICE: text-search query contains only stop words or doesn't contain lexemes, ignored< 2024-07-02 11:08:06.082 EDT >NOTICE: text-search query contains only stop words or doesn't contain lexemes, ignored< 2024-07-02 11:08:06.082 EDT >NOTICE: text-search query contains only stop words or doesn't contain lexemes, ignored
Times Reported Most Frequent Error / Event #17
Day Hour Count Jul 02 11 1 - ERROR: syntax error in ts"/><SVG & ALERT & 1 & >" ,COUNT(ii.id) cnt FROM (SELECT ot.cd ,tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops',) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',) OR r.id IN (SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE ) ) ii GROUP BY ii.cd< 2024-07-02 11:08:03.615 EDT >NOTICE: text-search query contains only stop words or doesn't contain lexemes, ignored< 2024-07-02 11:08:03.615 EDT >NOTICE: text-search query contains only stop words or doesn't contain lexemes, ignored< 2024-07-02 11:08:04.847 EDT >NOTICE: text-search query contains only stop words or doesn't contain lexemes, ignored< 2024-07-02 11:08:04.848 EDT >NOTICE: text-search query contains only stop words or doesn't contain lexemes, ignored< 2024-07-02 11:08:06.082 EDT >NOTICE: text-search query contains only stop words or doesn't contain lexemes, ignored< 2024-07-02 11:08:06.082 EDT >NOTICE: text-search query contains only stop words or doesn't contain lexemes, ignored
Statement: SELECT /* BasicCountsDAO gen */ ii.cd
Date: 2024-07-02 11:08:02
18 1 ERROR: syntax error in ts"..." ,COUNT(...) cnt FROM (...) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery(...) OR r.id IN (...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE OR SUBSTR(...),1,128) LIKE ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (...) LIKE OR upper(...) LIKE OR upper(...) LIKE OR upper(...) LIKE OR upper(...) LIKE OR upper(...) LIKE OR upper(...) LIKE OR upper(...) LIKE OR upper(...) LIKE OR upper(...) LIKE OR upper(...) LIKE OR upper(...) LIKE OR upper(...) LIKE OR upper(...) LIKE OR upper(...) LIKE OR upper(...) LIKE OR upper(...) LIKE OR upper(...) LIKE OR upper(...) LIKE OR upper(...) LIKE OR upper(...) LIKE OR upper(...) LIKE OR upper(...) LIKE OR upper(...) LIKE OR upper(...) LIKE OR upper(...) LIKE OR upper(...) LIKE OR upper(...) LIKE ) ) ii GROUP BY ii.cd
Times Reported Most Frequent Error / Event #18
Day Hour Count Jul 02 11 1 - ERROR: syntax error in ts"/><CUSTOM & CHECKED & ONPOINTERENTER= & X= & PR & ,Y=TOP & X+= & OMPT & Y & X & 1 & STYLE= & POSITION & ABSOLUTE & TOP & 0 & HEIGHT & 2000PX & (BACKGROUND-COLOR | BACKGROUNDCOLOR) & RED & WIDTH & 2000PX & LEFT & 0 & (Z-INDEX | ZINDEX) & 9998 & >XSS</CUSTOM & TAGS>" ,COUNT(ii.id) cnt FROM (SELECT ot.cd ,tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops',) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',) OR r.id IN (SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE ) ) ii GROUP BY ii.cd
Statement: SELECT /* BasicCountsDAO gen */ ii.cd
Date: 2024-07-02 11:14:16 Database: ctdprd51 Application: User: pubeu Remote:
19 1 ERROR: syntax error in ts"..." ,COUNT(...) cnt FROM (...) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery(...) OR r.id IN (...),1,128) LIKE AND SUBSTR(...),1,128) LIKE ) OR SUBSTR(...),1,128) LIKE ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (...) LIKE OR upper(...) LIKE ) ) ii GROUP BY ii.cd
Times Reported Most Frequent Error / Event #19
Day Hour Count Jul 02 11 1 - ERROR: syntax error in ts"/><FRAME & />" ,COUNT(ii.id) cnt FROM (SELECT ot.cd ,tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops',) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',) OR r.id IN (SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE ((SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE AND SUBSTR(UPPER(rp.first_initials),1,128) LIKE ) OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE ) ) UNION SELECT ot.cd ,l.object_id FROM db_link l INNER JOIN object_type ot on l.object_type_id = ot.id WHERE l.type_cd = 'A' AND (upper( l.acc_txt ) LIKE OR upper( l.acc_txt ) LIKE ) ) ii GROUP BY ii.cd
Statement: SELECT /* BasicCountsDAO gen */ ii.cd
Date: 2024-07-02 11:08:22