-
Global information
- Generated on Sat Jul 19 04:10:04 2025
- Log file: /project/archive/log/postgres/dbdev51/postgresql.log-20250718
- Parsed 1,607 log entries in 3s
- Log start from 2025-07-18 09:42:01 to 2025-07-18 23:35:51
-
Overview
Global Stats
- 9 Number of unique normalized queries
- 23 Number of queries
- 2m23s Total query duration
- 2025-07-18 09:42:11 First query
- 2025-07-18 23:33:12 Last query
- 2 queries/s at 2025-07-18 23:32:55 Query peak
- 2m23s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 2m23s Execute total duration
- 24 Number of events
- 1 Number of unique normalized events
- 24 Max number of times the same event was reported
- 0 Number of cancellation
- 0 Total number of automatic vacuums
- 0 Total number of automatic analyzes
- 0 Number temporary file
- 0 Max size of temporary file
- 0.00 B Average size of temporary file
- 161 Total number of sessions
- 9 sessions at 2025-07-18 23:32:22 Session peak
- 2d22h48m3s Total duration of sessions
- 26m23s Average duration of sessions
- 0 Average queries per session
- 891ms Average queries duration per session
- 26m22s Average idle time per session
- 161 Total number of connections
- 5 connections/s at 2025-07-18 09:42:02 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 2 queries/s Query Peak
- 2025-07-18 23:32:55 Date
SELECT Traffic
Key values
- 2 queries/s Query Peak
- 2025-07-18 23:32:55 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2025-07-18 21:25:51 Date
Queries duration
Key values
- 2m23s 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 18 09 1 3s172ms 3s172ms 3s172ms 3s172ms 3s172ms 3s172ms 10 0 0ms 0ms 0ms 0ms 0ms 0ms 11 1 0ms 3s195ms 3s195ms 3s195ms 3s195ms 3s195ms 12 0 0ms 0ms 0ms 0ms 0ms 0ms 13 0 0ms 0ms 0ms 0ms 0ms 0ms 14 0 0ms 0ms 0ms 0ms 0ms 0ms 15 0 0ms 0ms 0ms 0ms 0ms 0ms 17 1 0ms 3s252ms 3s252ms 3s252ms 3s252ms 3s252ms 18 0 0ms 0ms 0ms 0ms 0ms 0ms 21 2 0ms 3s552ms 2s336ms 4s673ms 4s673ms 4s673ms 22 0 0ms 0ms 0ms 0ms 0ms 0ms 23 18 0ms 53s186ms 7s180ms 1m53s 1m53s 1m53s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jul 18 09 0 0 0ms 0ms 0ms 0ms 10 0 0 0ms 0ms 0ms 0ms 11 0 0 0ms 0ms 0ms 0ms 12 0 0 0ms 0ms 0ms 0ms 13 0 0 0ms 0ms 0ms 0ms 14 0 0 0ms 0ms 0ms 0ms 15 0 0 0ms 0ms 0ms 0ms 17 0 0 0ms 0ms 0ms 0ms 18 0 0 0ms 0ms 0ms 0ms 21 0 0 0ms 0ms 0ms 0ms 22 0 0 0ms 0ms 0ms 0ms 23 18 0 7s180ms 10s204ms 1m53s 1m53s Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Jul 18 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 17 0 0 0 0 0ms 0ms 0ms 0ms 18 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 18 09 0 1 1.00 0.00% 10 0 0 0.00 0.00% 11 0 1 1.00 0.00% 12 0 0 0.00 0.00% 13 0 0 0.00 0.00% 14 0 0 0.00 0.00% 15 0 0 0.00 0.00% 17 0 1 1.00 0.00% 18 0 0 0.00 0.00% 21 0 2 2.00 0.00% 22 0 0 0.00 0.00% 23 0 29 29.00 0.00% Day Hour Count Average / Second Jul 18 09 9 0.00/s 10 14 0.00/s 11 22 0.01/s 12 10 0.00/s 13 15 0.00/s 14 16 0.00/s 15 6 0.00/s 17 16 0.00/s 18 7 0.00/s 21 16 0.00/s 22 15 0.00/s 23 15 0.00/s Day Hour Count Average Duration Average idle time Jul 18 09 1 459ms 0ms 10 14 32m27s 32m27s 11 22 26m34s 26m34s 12 10 34m14s 34m14s 13 15 33m 33m 14 16 30m41s 30m41s 15 14 18m42s 18m42s 17 8 26m43s 26m42s 18 15 24m7s 24m7s 21 8 26m42s 26m42s 22 15 33m8s 33m8s 23 23 14m25s 14m19s -
Connections
Established Connections
Key values
- 5 connections Connection Peak
- 2025-07-18 09:42:02 Date
Connections per database
Key values
- ctddev51 Main Database
- 161 connections Total
Connections per user
Key values
- pubeu Main User
- 161 connections Total
-
Sessions
Simultaneous sessions
Key values
- 9 sessions Session Peak
- 2025-07-18 23:32:22 Date
Histogram of session times
Key values
- 118 1800000-3600000ms duration
Sessions per database
Key values
- ctddev51 Main Database
- 161 sessions Total
Sessions per user
Key values
- pubeu Main User
- 161 sessions Total
Sessions per host
Key values
- 192.168.201.10 Main Host
- 161 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 0 buffers Checkpoint Peak
- Date
- seconds Highest write time
- seconds Sync time
Checkpoint write buffers (5 minutes period)
NO DATASET
Checkpoints Wal files
Key values
- 0 files Wal files usage Peak
- Date
Checkpoint Wal files usage (5 minutes period)
NO DATASET
Checkpoints distance
Key values
- 0 Mo Distance Peak
- Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Jul 18 09 0 0s 0s 0s 10 0 0s 0s 0s 11 0 0s 0s 0s 12 0 0s 0s 0s 13 0 0s 0s 0s 14 0 0s 0s 0s 15 0 0s 0s 0s 17 0 0s 0s 0s 18 0 0s 0s 0s 21 0 0s 0s 0s 22 0 0s 0s 0s 23 0 0s 0s 0s Day Hour Added Removed Recycled Synced files Longest sync Average sync Jul 18 09 0 0 0 0 0s 0s 10 0 0 0 0 0s 0s 11 0 0 0 0 0s 0s 12 0 0 0 0 0s 0s 13 0 0 0 0 0s 0s 14 0 0 0 0 0s 0s 15 0 0 0 0 0s 0s 17 0 0 0 0 0s 0s 18 0 0 0 0 0s 0s 21 0 0 0 0 0s 0s 22 0 0 0 0 0s 0s 23 0 0 0 0 0s 0s Day Hour Count Avg time (sec) Jul 18 09 0 0s 10 0 0s 11 0 0s 12 0 0s 13 0 0s 14 0 0s 15 0 0s 17 0 0s 18 0 0s 21 0 0s 22 0 0s 23 0 0s Day Hour Mean distance Mean estimate Jul 18 09 0.00 kB 0.00 kB 10 0.00 kB 0.00 kB 11 0.00 kB 0.00 kB 12 0.00 kB 0.00 kB 13 0.00 kB 0.00 kB 14 0.00 kB 0.00 kB 15 0.00 kB 0.00 kB 17 0.00 kB 0.00 kB 18 0.00 kB 0.00 kB 21 0.00 kB 0.00 kB 22 0.00 kB 0.00 kB 23 0.00 kB 0.00 kB -
Temporary Files
Size of temporary files
Key values
- 0 Temp Files size Peak
- Date
Size of temporary files (5 minutes period)
NO DATASET
Number of temporary files
Key values
- 0 per second Temp Files Peak
- Date
Number of temporary files (5 minutes period)
NO DATASET
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Jul 18 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 17 0 0 0 18 0 0 0 21 0 0 0 22 0 0 0 23 0 0 0 -
Vacuums
Vacuums / Analyzes Distribution
Key values
- 0 sec Highest CPU-cost vacuum
Table
Database - Date
- 0 sec Highest CPU-cost analyze
Table
Database - Date
Autovacuum actions (5 minutes period)
NO DATASET
Average Autovacuum Duration
Key values
- 0 sec Highest CPU-cost vacuum
Table
Database - Date
Average Autovacuum Duration (5 minutes average)
NO DATASET
Analyzes per table
Key values
- unknown (0) Main table analyzed (database )
- 0 analyzes Total
Vacuums per table
Key values
- unknown (0) Main table vacuumed on database
- 0 vacuums Total
Tuples removed per table
Key values
- unknown (0) Main table with removed tuples on database
- 0 tuples Total removed
Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Jul 18 09 0 0 10 0 0 11 0 0 12 0 0 13 0 0 14 0 0 15 0 0 17 0 0 18 0 0 21 0 0 22 0 0 23 0 0 - 0 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
- 18 Total read queries
- 5 Total write queries
Queries by database
Key values
- unknown Main database
- 15 Requests
- 1m13s (unknown)
- Main time consuming database
Queries by user
Key values
- unknown Main user
- 15 Requests
User Request type Count Duration pubeu Total 8 1m10s cte 4 13s172ms select 4 56s863ms unknown Total 15 1m13s cte 1 1s120ms select 14 1m12s Duration by user
Key values
- 1m13s (unknown) Main time consuming user
User Request type Count Duration pubeu Total 8 1m10s cte 4 13s172ms select 4 56s863ms unknown Total 15 1m13s cte 1 1s120ms select 14 1m12s Queries by host
Key values
- unknown Main host
- 23 Requests
- 2m23s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 23 Requests
- 2m23s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2025-07-18 23:33:07 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 32 1000-10000ms duration
Slowest individual queries
Rank Duration Query 1 53s186ms 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 = '2096715') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;[ Date: 2025-07-18 23:32:52 - Bind query: yes ]
2 44s106ms SELECT /* DiseaseGeneAssnsDAO */ ;[ Date: 2025-07-18 23:32:52 - Database: ctddev51 - User: pubeu - Bind query: yes ]
3 5s783ms SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2096715') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;[ Date: 2025-07-18 23:29:08 - Database: ctddev51 - User: pubeu - Bind query: yes ]
4 5s378ms SELECT /* GoDiseasesDAO */ # 015 phenotypeTerm.nm goNm # 015, phenotypeTerm.nm_html goNmHTML # 015, phenotypeTerm.acc_txt goAcc # 015, phenotypeTerm.id goId # 015, diseaseTerm.nm diseaseNm # 015, diseaseTerm.acc_txt diseaseAcc # 015, diseaseTerm.acc_db_cd diseaseAccDBCd # 015, diseaseTerm.id diseaseId # 015, via_gene_qty geneNetworkCount # 015, via_chem_qty chemNetworkCount # 015, indirect_reference_qty referenceCount # 015, COUNT(*) OVER () fullRowCount # 015 FROM phenotype_term pt # 015 inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id # 015 inner join term diseaseTerm on pt.term_id = diseaseTerm.id # 015 WHERE diseaseTerm.id IN # 015 (# 015 select distinct dp.descendant_object_id # 015 from dag_path dp # 015 WHERE dp.ancestor_object_id = '2096715' # 015) # 015 and diseaseTerm.object_type_id = 3 # 015 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2025-07-18 23:32:24 - Database: ctddev51 - User: pubeu - Bind query: yes ]
5 4s325ms 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 = '1297956') 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 = '1297956') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;[ Date: 2025-07-18 23:32:39 - Bind query: yes ]
6 3s552ms WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '597156' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;[ Date: 2025-07-18 21:25:49 - Database: ctddev51 - User: pubeu - Bind query: yes ]
7 3s252ms WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '597156' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;[ Date: 2025-07-18 17:11:29 - Database: ctddev51 - User: pubeu - Bind query: yes ]
8 3s195ms WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '597156' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;[ Date: 2025-07-18 11:29:30 - Database: ctddev51 - User: pubeu - Bind query: yes ]
9 3s172ms WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '597156' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;[ Date: 2025-07-18 09:42:11 - Database: ctddev51 - User: pubeu - Bind query: yes ]
10 1s602ms SELECT /* GeneDiseaseChemsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.id chemid;[ Date: 2025-07-18 23:32:57 - Bind query: yes ]
11 1s596ms SELECT /* GeneDiseaseChemsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.id chemid FROM term c WHERE c.id IN ( SELECT gdr.via_chem_id FROM gene_disease_reference gdr WHERE gdr.gene_id = '1462977' AND gdr.disease_id = '2089693') ORDER BY c.nm_sort;[ Date: 2025-07-18 23:32:55 - Database: ctddev51 - User: pubeu - Bind query: yes ]
12 1s587ms SELECT /* GeneDiseaseChemsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.id chemid FROM term c WHERE c.id IN ( SELECT gdr.via_chem_id FROM gene_disease_reference gdr;[ Date: 2025-07-18 23:32:55 - Bind query: yes ]
13 1s482ms SELECT /* GeneDiseaseChemsDAO */ ;[ Date: 2025-07-18 23:32:58 - Bind query: yes ]
14 1s414ms SELECT /* GeneDiseaseChemsDAO */ ;[ Date: 2025-07-18 23:33:00 - Bind query: yes ]
15 1s391ms SELECT /* GeneDiseaseChemsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.id chemid FROM term c WHERE c.id IN ( SELECT gdr.via_chem_id FROM gene_disease_reference gdr WHERE gdr.gene_id = '1478601' AND gdr.disease_id = '2089693') ORDER BY c.nm_sort;[ Date: 2025-07-18 23:33:01 - Bind query: yes ]
16 1s120ms WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '1449802' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;[ Date: 2025-07-18 21:25:51 - Bind query: yes ]
17 1s94ms SELECT /* GeneDiseaseChemsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.id chemid FROM term c WHERE c.id IN ( SELECT gdr.via_chem_id FROM gene_disease_reference gdr WHERE gdr.gene_id = '1450558' AND gdr.disease_id = '2089693') ORDER BY c.nm_sort;[ Date: 2025-07-18 23:33:09 - Bind query: yes ]
18 1s56ms SELECT /* GeneDiseaseChemsDAO */ ;[ Date: 2025-07-18 23:33:12 - Bind query: yes ]
19 1s54ms SELECT /* GeneDiseaseChemsDAO */ ;[ Date: 2025-07-18 23:33:03 - Bind query: yes ]
20 1s50ms SELECT /* GeneDiseaseChemsDAO */ ;[ Date: 2025-07-18 23:33:07 - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 53s186ms 1 53s186ms 53s186ms 53s186ms 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 #1
Day Hour Count Duration Avg duration Jul 18 23 1 53s186ms 53s186ms -
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 = '2096715') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-07-18 23:32:52 Duration: 53s186ms Bind query: yes
2 52s256ms 8 1s44ms 44s106ms 6s532ms select ;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jul 18 23 8 52s256ms 6s532ms [ User: pubeu - Total duration: 44s106ms - Times executed: 1 ]
-
SELECT /* DiseaseGeneAssnsDAO */ ;
Date: 2025-07-18 23:32:52 Duration: 44s106ms Database: ctddev51 User: pubeu Bind query: yes
-
SELECT /* GeneDiseaseChemsDAO */ ;
Date: 2025-07-18 23:32:58 Duration: 1s482ms Bind query: yes
-
SELECT /* GeneDiseaseChemsDAO */ ;
Date: 2025-07-18 23:33:00 Duration: 1s414ms Bind query: yes
3 14s293ms 5 1s120ms 3s552ms 2s858ms with recursive sub_node ( object_id, id, path, lvl ) as ( select n.object_id, n.id, array[n.nm_sort], ? from dag_node n where n.object_id = ? union all select n.object_id, n.id, cast(path || n.nm_sort as varchar(?)[]), sn.lvl + ? from dag_node n inner join sub_node sn on (n.parent_id = sn.id)) select distinct t.nm prinm, t.nm_html prinmhtml, t.secondary_nm secondarynm, t.acc_db_cd accdbcd, t.acc_txt termacc, t.is_leaf isleaf, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, t.has_genes hasgenes, sn.lvl, sn.path, max(sn.lvl) over () maxlvl, t.has_phenotypes hasphenotypes from sub_node sn inner join term t on sn.object_id = t.id where sn.lvl <= ? order by sn.path;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 18 09 1 3s172ms 3s172ms 11 1 3s195ms 3s195ms 17 1 3s252ms 3s252ms 21 2 4s673ms 2s336ms [ User: pubeu - Total duration: 13s172ms - Times executed: 4 ]
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '597156' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2025-07-18 21:25:49 Duration: 3s552ms Database: ctddev51 User: pubeu Bind query: yes
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '597156' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2025-07-18 17:11:29 Duration: 3s252ms Database: ctddev51 User: pubeu Bind query: yes
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '597156' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2025-07-18 11:29:30 Duration: 3s195ms Database: ctddev51 User: pubeu Bind query: yes
4 5s783ms 1 5s783ms 5s783ms 5s783ms select c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposurereferencecount, case when cd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from chem_disease_axn a where a.chem_id = cd.chem_id and a.disease_id = cd.disease_id) else null end actiontypes from chem_disease cd inner join term c on cd.chem_id = c.id inner join term d on cd.disease_id = d.id where cd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, cd.network_score desc nulls last, d.nm_sort, c.nm_sort limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jul 18 23 1 5s783ms 5s783ms [ User: pubeu - Total duration: 5s783ms - Times executed: 1 ]
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2096715') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-07-18 23:29:08 Duration: 5s783ms Database: ctddev51 User: pubeu Bind query: yes
5 5s378ms 1 5s378ms 5s378ms 5s378ms select # ? phenotypeterm.nm gonm # ?, phenotypeterm.nm_html gonmhtml # ?, phenotypeterm.acc_txt goacc # ?, phenotypeterm.id goid # ?, diseaseterm.nm diseasenm # ?, diseaseterm.acc_txt diseaseacc # ?, diseaseterm.acc_db_cd diseaseaccdbcd # ?, diseaseterm.id diseaseid # ?, via_gene_qty genenetworkcount # ?, via_chem_qty chemnetworkcount # ?, indirect_reference_qty referencecount # ?, count(*) over () fullrowcount # ? from phenotype_term pt # ? inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id # ? inner join term diseaseterm on pt.term_id = diseaseterm.id # ? where diseaseterm.id in # ? (# ? select distinct dp.descendant_object_id # ? from dag_path dp # ? where dp.ancestor_object_id = ? # ?) # ? and diseaseterm.object_type_id = ? # ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jul 18 23 1 5s378ms 5s378ms [ User: pubeu - Total duration: 5s378ms - Times executed: 1 ]
-
SELECT /* GoDiseasesDAO */ # 015 phenotypeTerm.nm goNm # 015, phenotypeTerm.nm_html goNmHTML # 015, phenotypeTerm.acc_txt goAcc # 015, phenotypeTerm.id goId # 015, diseaseTerm.nm diseaseNm # 015, diseaseTerm.acc_txt diseaseAcc # 015, diseaseTerm.acc_db_cd diseaseAccDBCd # 015, diseaseTerm.id diseaseId # 015, via_gene_qty geneNetworkCount # 015, via_chem_qty chemNetworkCount # 015, indirect_reference_qty referenceCount # 015, COUNT(*) OVER () fullRowCount # 015 FROM phenotype_term pt # 015 inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id # 015 inner join term diseaseTerm on pt.term_id = diseaseTerm.id # 015 WHERE diseaseTerm.id IN # 015 (# 015 select distinct dp.descendant_object_id # 015 from dag_path dp # 015 WHERE dp.ancestor_object_id = '2096715' # 015) # 015 and diseaseTerm.object_type_id = 3 # 015 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-07-18 23:32:24 Duration: 5s378ms Database: ctddev51 User: pubeu Bind query: yes
6 5s132ms 4 1s50ms 1s596ms 1s283ms select c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.id chemid from term c where c.id in ( select gdr.via_chem_id from gene_disease_reference gdr where gdr.gene_id = ? and gdr.disease_id = ?) order by c.nm_sort;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 18 23 4 5s132ms 1s283ms [ User: pubeu - Total duration: 1s596ms - Times executed: 1 ]
-
SELECT /* GeneDiseaseChemsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.id chemid FROM term c WHERE c.id IN ( SELECT gdr.via_chem_id FROM gene_disease_reference gdr WHERE gdr.gene_id = '1462977' AND gdr.disease_id = '2089693') ORDER BY c.nm_sort;
Date: 2025-07-18 23:32:55 Duration: 1s596ms Database: ctddev51 User: pubeu Bind query: yes
-
SELECT /* GeneDiseaseChemsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.id chemid FROM term c WHERE c.id IN ( SELECT gdr.via_chem_id FROM gene_disease_reference gdr WHERE gdr.gene_id = '1478601' AND gdr.disease_id = '2089693') ORDER BY c.nm_sort;
Date: 2025-07-18 23:33:01 Duration: 1s391ms Bind query: yes
-
SELECT /* GeneDiseaseChemsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.id chemid FROM term c WHERE c.id IN ( SELECT gdr.via_chem_id FROM gene_disease_reference gdr WHERE gdr.gene_id = '1450558' AND gdr.disease_id = '2089693') ORDER BY c.nm_sort;
Date: 2025-07-18 23:33:09 Duration: 1s94ms Bind query: yes
7 4s325ms 1 4s325ms 4s325ms 4s325ms 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 #7
Day Hour Count Duration Avg duration Jul 18 23 1 4s325ms 4s325ms -
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 = '1297956') 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 = '1297956') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2025-07-18 23:32:39 Duration: 4s325ms Bind query: yes
8 1s602ms 1 1s602ms 1s602ms 1s602ms select c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.id chemid;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jul 18 23 1 1s602ms 1s602ms -
SELECT /* GeneDiseaseChemsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.id chemid;
Date: 2025-07-18 23:32:57 Duration: 1s602ms Bind query: yes
9 1s587ms 1 1s587ms 1s587ms 1s587ms select c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.id chemid from term c where c.id in ( select gdr.via_chem_id from gene_disease_reference gdr;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jul 18 23 1 1s587ms 1s587ms -
SELECT /* GeneDiseaseChemsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.id chemid FROM term c WHERE c.id IN ( SELECT gdr.via_chem_id FROM gene_disease_reference gdr;
Date: 2025-07-18 23:32:55 Duration: 1s587ms Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 8 52s256ms 1s44ms 44s106ms 6s532ms select ;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Jul 18 23 8 52s256ms 6s532ms [ User: pubeu - Total duration: 44s106ms - Times executed: 1 ]
-
SELECT /* DiseaseGeneAssnsDAO */ ;
Date: 2025-07-18 23:32:52 Duration: 44s106ms Database: ctddev51 User: pubeu Bind query: yes
-
SELECT /* GeneDiseaseChemsDAO */ ;
Date: 2025-07-18 23:32:58 Duration: 1s482ms Bind query: yes
-
SELECT /* GeneDiseaseChemsDAO */ ;
Date: 2025-07-18 23:33:00 Duration: 1s414ms Bind query: yes
2 5 14s293ms 1s120ms 3s552ms 2s858ms with recursive sub_node ( object_id, id, path, lvl ) as ( select n.object_id, n.id, array[n.nm_sort], ? from dag_node n where n.object_id = ? union all select n.object_id, n.id, cast(path || n.nm_sort as varchar(?)[]), sn.lvl + ? from dag_node n inner join sub_node sn on (n.parent_id = sn.id)) select distinct t.nm prinm, t.nm_html prinmhtml, t.secondary_nm secondarynm, t.acc_db_cd accdbcd, t.acc_txt termacc, t.is_leaf isleaf, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, t.has_genes hasgenes, sn.lvl, sn.path, max(sn.lvl) over () maxlvl, t.has_phenotypes hasphenotypes from sub_node sn inner join term t on sn.object_id = t.id where sn.lvl <= ? order by sn.path;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jul 18 09 1 3s172ms 3s172ms 11 1 3s195ms 3s195ms 17 1 3s252ms 3s252ms 21 2 4s673ms 2s336ms [ User: pubeu - Total duration: 13s172ms - Times executed: 4 ]
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '597156' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2025-07-18 21:25:49 Duration: 3s552ms Database: ctddev51 User: pubeu Bind query: yes
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '597156' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2025-07-18 17:11:29 Duration: 3s252ms Database: ctddev51 User: pubeu Bind query: yes
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '597156' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2025-07-18 11:29:30 Duration: 3s195ms Database: ctddev51 User: pubeu Bind query: yes
3 4 5s132ms 1s50ms 1s596ms 1s283ms select c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.id chemid from term c where c.id in ( select gdr.via_chem_id from gene_disease_reference gdr where gdr.gene_id = ? and gdr.disease_id = ?) order by c.nm_sort;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 18 23 4 5s132ms 1s283ms [ User: pubeu - Total duration: 1s596ms - Times executed: 1 ]
-
SELECT /* GeneDiseaseChemsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.id chemid FROM term c WHERE c.id IN ( SELECT gdr.via_chem_id FROM gene_disease_reference gdr WHERE gdr.gene_id = '1462977' AND gdr.disease_id = '2089693') ORDER BY c.nm_sort;
Date: 2025-07-18 23:32:55 Duration: 1s596ms Database: ctddev51 User: pubeu Bind query: yes
-
SELECT /* GeneDiseaseChemsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.id chemid FROM term c WHERE c.id IN ( SELECT gdr.via_chem_id FROM gene_disease_reference gdr WHERE gdr.gene_id = '1478601' AND gdr.disease_id = '2089693') ORDER BY c.nm_sort;
Date: 2025-07-18 23:33:01 Duration: 1s391ms Bind query: yes
-
SELECT /* GeneDiseaseChemsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.id chemid FROM term c WHERE c.id IN ( SELECT gdr.via_chem_id FROM gene_disease_reference gdr WHERE gdr.gene_id = '1450558' AND gdr.disease_id = '2089693') ORDER BY c.nm_sort;
Date: 2025-07-18 23:33:09 Duration: 1s94ms Bind query: yes
4 1 53s186ms 53s186ms 53s186ms 53s186ms 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 #4
Day Hour Count Duration Avg duration Jul 18 23 1 53s186ms 53s186ms -
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 = '2096715') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-07-18 23:32:52 Duration: 53s186ms Bind query: yes
5 1 5s783ms 5s783ms 5s783ms 5s783ms select c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposurereferencecount, case when cd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from chem_disease_axn a where a.chem_id = cd.chem_id and a.disease_id = cd.disease_id) else null end actiontypes from chem_disease cd inner join term c on cd.chem_id = c.id inner join term d on cd.disease_id = d.id where cd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, cd.network_score desc nulls last, d.nm_sort, c.nm_sort limit ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Jul 18 23 1 5s783ms 5s783ms [ User: pubeu - Total duration: 5s783ms - Times executed: 1 ]
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2096715') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-07-18 23:29:08 Duration: 5s783ms Database: ctddev51 User: pubeu Bind query: yes
6 1 5s378ms 5s378ms 5s378ms 5s378ms select # ? phenotypeterm.nm gonm # ?, phenotypeterm.nm_html gonmhtml # ?, phenotypeterm.acc_txt goacc # ?, phenotypeterm.id goid # ?, diseaseterm.nm diseasenm # ?, diseaseterm.acc_txt diseaseacc # ?, diseaseterm.acc_db_cd diseaseaccdbcd # ?, diseaseterm.id diseaseid # ?, via_gene_qty genenetworkcount # ?, via_chem_qty chemnetworkcount # ?, indirect_reference_qty referencecount # ?, count(*) over () fullrowcount # ? from phenotype_term pt # ? inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id # ? inner join term diseaseterm on pt.term_id = diseaseterm.id # ? where diseaseterm.id in # ? (# ? select distinct dp.descendant_object_id # ? from dag_path dp # ? where dp.ancestor_object_id = ? # ?) # ? and diseaseterm.object_type_id = ? # ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 18 23 1 5s378ms 5s378ms [ User: pubeu - Total duration: 5s378ms - Times executed: 1 ]
-
SELECT /* GoDiseasesDAO */ # 015 phenotypeTerm.nm goNm # 015, phenotypeTerm.nm_html goNmHTML # 015, phenotypeTerm.acc_txt goAcc # 015, phenotypeTerm.id goId # 015, diseaseTerm.nm diseaseNm # 015, diseaseTerm.acc_txt diseaseAcc # 015, diseaseTerm.acc_db_cd diseaseAccDBCd # 015, diseaseTerm.id diseaseId # 015, via_gene_qty geneNetworkCount # 015, via_chem_qty chemNetworkCount # 015, indirect_reference_qty referenceCount # 015, COUNT(*) OVER () fullRowCount # 015 FROM phenotype_term pt # 015 inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id # 015 inner join term diseaseTerm on pt.term_id = diseaseTerm.id # 015 WHERE diseaseTerm.id IN # 015 (# 015 select distinct dp.descendant_object_id # 015 from dag_path dp # 015 WHERE dp.ancestor_object_id = '2096715' # 015) # 015 and diseaseTerm.object_type_id = 3 # 015 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-07-18 23:32:24 Duration: 5s378ms Database: ctddev51 User: pubeu Bind query: yes
7 1 4s325ms 4s325ms 4s325ms 4s325ms 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 #7
Day Hour Count Duration Avg duration Jul 18 23 1 4s325ms 4s325ms -
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 = '1297956') 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 = '1297956') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2025-07-18 23:32:39 Duration: 4s325ms Bind query: yes
8 1 1s602ms 1s602ms 1s602ms 1s602ms select c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.id chemid;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jul 18 23 1 1s602ms 1s602ms -
SELECT /* GeneDiseaseChemsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.id chemid;
Date: 2025-07-18 23:32:57 Duration: 1s602ms Bind query: yes
9 1 1s587ms 1s587ms 1s587ms 1s587ms select c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.id chemid from term c where c.id in ( select gdr.via_chem_id from gene_disease_reference gdr;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jul 18 23 1 1s587ms 1s587ms -
SELECT /* GeneDiseaseChemsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.id chemid FROM term c WHERE c.id IN ( SELECT gdr.via_chem_id FROM gene_disease_reference gdr;
Date: 2025-07-18 23:32:55 Duration: 1s587ms Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 53s186ms 53s186ms 53s186ms 1 53s186ms 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 #1
Day Hour Count Duration Avg duration Jul 18 23 1 53s186ms 53s186ms -
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 = '2096715') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2025-07-18 23:32:52 Duration: 53s186ms Bind query: yes
2 1s44ms 44s106ms 6s532ms 8 52s256ms select ;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Jul 18 23 8 52s256ms 6s532ms [ User: pubeu - Total duration: 44s106ms - Times executed: 1 ]
-
SELECT /* DiseaseGeneAssnsDAO */ ;
Date: 2025-07-18 23:32:52 Duration: 44s106ms Database: ctddev51 User: pubeu Bind query: yes
-
SELECT /* GeneDiseaseChemsDAO */ ;
Date: 2025-07-18 23:32:58 Duration: 1s482ms Bind query: yes
-
SELECT /* GeneDiseaseChemsDAO */ ;
Date: 2025-07-18 23:33:00 Duration: 1s414ms Bind query: yes
3 5s783ms 5s783ms 5s783ms 1 5s783ms select c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposurereferencecount, case when cd.curated_reference_qty > ? then ( select string_agg(a.action_type_cd || ? || a.action_type_nm, ?) from chem_disease_axn a where a.chem_id = cd.chem_id and a.disease_id = cd.disease_id) else null end actiontypes from chem_disease cd inner join term c on cd.chem_id = c.id inner join term d on cd.disease_id = d.id where cd.disease_id in ( select p.descendant_object_id from dag_path p where p.ancestor_object_id = ?) order by actiontypes, cd.network_score desc nulls last, d.nm_sort, c.nm_sort limit ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Jul 18 23 1 5s783ms 5s783ms [ User: pubeu - Total duration: 5s783ms - Times executed: 1 ]
-
SELECT /* ChemDiseaseAssnsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casRN, c.id chemid, d.nm diseasenm, d.acc_txt diseaseacc, d.acc_db_cd diseaseaccdbcd, d.id diseaseid, cd.network_score networkscore, cd.indirect_gene_qty inferredcount, cd.reference_qty referencecount, cd.exposure_reference_qty exposureReferenceCount, CASE WHEN cd.curated_reference_qty > 0 THEN ( SELECT STRING_AGG(a.action_type_cd || '^' || a.action_type_nm, '|') FROM chem_disease_axn a WHERE a.chem_id = cd.chem_id AND a.disease_id = cd.disease_id) ELSE NULL END actiontypes FROM chem_disease cd INNER JOIN term c ON cd.chem_id = c.id INNER JOIN term d ON cd.disease_id = d.id WHERE cd.disease_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '2096715') ORDER BY actionTypes, cd.network_score DESC NULLS LAST, d.nm_sort, c.nm_sort LIMIT 50;
Date: 2025-07-18 23:29:08 Duration: 5s783ms Database: ctddev51 User: pubeu Bind query: yes
4 5s378ms 5s378ms 5s378ms 1 5s378ms select # ? phenotypeterm.nm gonm # ?, phenotypeterm.nm_html gonmhtml # ?, phenotypeterm.acc_txt goacc # ?, phenotypeterm.id goid # ?, diseaseterm.nm diseasenm # ?, diseaseterm.acc_txt diseaseacc # ?, diseaseterm.acc_db_cd diseaseaccdbcd # ?, diseaseterm.id diseaseid # ?, via_gene_qty genenetworkcount # ?, via_chem_qty chemnetworkcount # ?, indirect_reference_qty referencecount # ?, count(*) over () fullrowcount # ? from phenotype_term pt # ? inner join term phenotypeterm on pt.phenotype_id = phenotypeterm.id # ? inner join term diseaseterm on pt.term_id = diseaseterm.id # ? where diseaseterm.id in # ? (# ? select distinct dp.descendant_object_id # ? from dag_path dp # ? where dp.ancestor_object_id = ? # ?) # ? and diseaseterm.object_type_id = ? # ? order by chemnetworkcount desc, genenetworkcount desc limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Jul 18 23 1 5s378ms 5s378ms [ User: pubeu - Total duration: 5s378ms - Times executed: 1 ]
-
SELECT /* GoDiseasesDAO */ # 015 phenotypeTerm.nm goNm # 015, phenotypeTerm.nm_html goNmHTML # 015, phenotypeTerm.acc_txt goAcc # 015, phenotypeTerm.id goId # 015, diseaseTerm.nm diseaseNm # 015, diseaseTerm.acc_txt diseaseAcc # 015, diseaseTerm.acc_db_cd diseaseAccDBCd # 015, diseaseTerm.id diseaseId # 015, via_gene_qty geneNetworkCount # 015, via_chem_qty chemNetworkCount # 015, indirect_reference_qty referenceCount # 015, COUNT(*) OVER () fullRowCount # 015 FROM phenotype_term pt # 015 inner join term phenotypeTerm on pt.phenotype_id = phenotypeTerm.id # 015 inner join term diseaseTerm on pt.term_id = diseaseTerm.id # 015 WHERE diseaseTerm.id IN # 015 (# 015 select distinct dp.descendant_object_id # 015 from dag_path dp # 015 WHERE dp.ancestor_object_id = '2096715' # 015) # 015 and diseaseTerm.object_type_id = 3 # 015 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2025-07-18 23:32:24 Duration: 5s378ms Database: ctddev51 User: pubeu Bind query: yes
5 4s325ms 4s325ms 4s325ms 1 4s325ms 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 #5
Day Hour Count Duration Avg duration Jul 18 23 1 4s325ms 4s325ms -
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 = '1297956') 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 = '1297956') AND stm.slim_term_id = st.slim_term_id AND cd.indirect_gene_qty > 0) inferredCount FROM slim_term st INNER JOIN term t ON st.slim_term_id = t.id WHERE st.slim_id = 1 ORDER BY 1;
Date: 2025-07-18 23:32:39 Duration: 4s325ms Bind query: yes
6 1s120ms 3s552ms 2s858ms 5 14s293ms with recursive sub_node ( object_id, id, path, lvl ) as ( select n.object_id, n.id, array[n.nm_sort], ? from dag_node n where n.object_id = ? union all select n.object_id, n.id, cast(path || n.nm_sort as varchar(?)[]), sn.lvl + ? from dag_node n inner join sub_node sn on (n.parent_id = sn.id)) select distinct t.nm prinm, t.nm_html prinmhtml, t.secondary_nm secondarynm, t.acc_db_cd accdbcd, t.acc_txt termacc, t.is_leaf isleaf, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, t.has_genes hasgenes, sn.lvl, sn.path, max(sn.lvl) over () maxlvl, t.has_phenotypes hasphenotypes from sub_node sn inner join term t on sn.object_id = t.id where sn.lvl <= ? order by sn.path;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Jul 18 09 1 3s172ms 3s172ms 11 1 3s195ms 3s195ms 17 1 3s252ms 3s252ms 21 2 4s673ms 2s336ms [ User: pubeu - Total duration: 13s172ms - Times executed: 4 ]
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '597156' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2025-07-18 21:25:49 Duration: 3s552ms Database: ctddev51 User: pubeu Bind query: yes
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '597156' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2025-07-18 17:11:29 Duration: 3s252ms Database: ctddev51 User: pubeu Bind query: yes
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '597156' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 2 ORDER BY sn.path;
Date: 2025-07-18 11:29:30 Duration: 3s195ms Database: ctddev51 User: pubeu Bind query: yes
7 1s602ms 1s602ms 1s602ms 1 1s602ms select c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.id chemid;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Jul 18 23 1 1s602ms 1s602ms -
SELECT /* GeneDiseaseChemsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.id chemid;
Date: 2025-07-18 23:32:57 Duration: 1s602ms Bind query: yes
8 1s587ms 1s587ms 1s587ms 1 1s587ms select c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.id chemid from term c where c.id in ( select gdr.via_chem_id from gene_disease_reference gdr;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Jul 18 23 1 1s587ms 1s587ms -
SELECT /* GeneDiseaseChemsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.id chemid FROM term c WHERE c.id IN ( SELECT gdr.via_chem_id FROM gene_disease_reference gdr;
Date: 2025-07-18 23:32:55 Duration: 1s587ms Bind query: yes
9 1s50ms 1s596ms 1s283ms 4 5s132ms select c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.id chemid from term c where c.id in ( select gdr.via_chem_id from gene_disease_reference gdr where gdr.gene_id = ? and gdr.disease_id = ?) order by c.nm_sort;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Jul 18 23 4 5s132ms 1s283ms [ User: pubeu - Total duration: 1s596ms - Times executed: 1 ]
-
SELECT /* GeneDiseaseChemsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.id chemid FROM term c WHERE c.id IN ( SELECT gdr.via_chem_id FROM gene_disease_reference gdr WHERE gdr.gene_id = '1462977' AND gdr.disease_id = '2089693') ORDER BY c.nm_sort;
Date: 2025-07-18 23:32:55 Duration: 1s596ms Database: ctddev51 User: pubeu Bind query: yes
-
SELECT /* GeneDiseaseChemsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.id chemid FROM term c WHERE c.id IN ( SELECT gdr.via_chem_id FROM gene_disease_reference gdr WHERE gdr.gene_id = '1478601' AND gdr.disease_id = '2089693') ORDER BY c.nm_sort;
Date: 2025-07-18 23:33:01 Duration: 1s391ms Bind query: yes
-
SELECT /* GeneDiseaseChemsDAO */ c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.id chemid FROM term c WHERE c.id IN ( SELECT gdr.via_chem_id FROM gene_disease_reference gdr WHERE gdr.gene_id = '1450558' AND gdr.disease_id = '2089693') ORDER BY c.nm_sort;
Date: 2025-07-18 23:33:09 Duration: 1s94ms 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 7 0ms 0ms 0ms ;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Jul 18 23 7 0ms 0ms -
;
Date: Duration: 0ms Database: postgres
-
Events
Log levels
Key values
- 736 Event entries
- (EVENTLOG entries are formaly LOG level entries that are not queries)
Events distribution (except queries)
Key values
- 0 PANIC entries
- 0 FATAL entries
- 0 ERROR entries
- 0 WARNING entries
- 24 EVENTLOG entries
Most Frequent Errors/Events
Key values
- 24 Max number of times the same event was reported
- 24 Total events found
Rank Times reported Error 1 24 LOG: could not receive data from client: Connection reset by peer
Times Reported Most Frequent Error / Event #1
Day Hour Count Jul 18 15 8 18 8 23 8