-
Global information
- Generated on Fri Aug 9 04:15:06 2024
- Log file: /project/archive/log/postgres/dbprd51/postgresql.log-20240808
- Parsed 52,247 log entries in 4s
- Log start from 2024-08-08 00:00:01 to 2024-08-08 23:59:57
-
Overview
Global Stats
- 125 Number of unique normalized queries
- 2,328 Number of queries
- 1d51m48s Total query duration
- 2024-08-08 00:00:45 First query
- 2024-08-08 23:59:36 Last query
- 2 queries/s at 2024-08-08 09:47:58 Query peak
- 1d51m48s Total query duration
- 0ms Prepare/parse total duration
- 0ms Bind total duration
- 1d51m48s Execute total duration
- 102 Number of events
- 1 Number of unique normalized events
- 102 Max number of times the same event was reported
- 0 Number of cancellation
- 6 Total number of automatic vacuums
- 23 Total number of automatic analyzes
- 0 Number temporary file
- 0 Max size of temporary file
- 0.00 B Average size of temporary file
- 3,819 Total number of sessions
- 49 sessions at 2024-08-08 22:05:25 Session peak
- 40d16h28m15s Total duration of sessions
- 15m20s Average duration of sessions
- 0 Average queries per session
- 23s437ms Average queries duration per session
- 14m57s Average idle time per session
- 3,820 Total number of connections
- 9 connections/s at 2024-08-08 05:35:15 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 2 queries/s Query Peak
- 2024-08-08 09:47:58 Date
SELECT Traffic
Key values
- 2 queries/s Query Peak
- 2024-08-08 09:47:58 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 1 queries/s Query Peak
- 2024-08-08 02:40:22 Date
Queries duration
Key values
- 1d51m48s 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) Aug 08 00 88 1s147ms 16m25s 50s484ms 1m27s 1m28s 17m20s 01 95 1s63ms 45s231ms 36s530ms 1m27s 1m29s 1m37s 02 93 1s8ms 45s181ms 37s194ms 1m27s 1m28s 1m33s 03 111 1s91ms 45s185ms 32s605ms 1m28s 1m33s 2m26s 04 140 1s132ms 3m40s 47s19ms 3m25s 4m47s 7m26s 05 144 0ms 48s992ms 26s334ms 1m57s 2m31s 2m48s 06 95 1s13ms 44s951ms 36s755ms 1m28s 1m28s 2m10s 07 86 0ms 45s248ms 39s543ms 1m28s 1m29s 1m47s 08 89 1s144ms 44s950ms 38s927ms 1m29s 1m31s 1m32s 09 97 1s125ms 45s500ms 36s131ms 1m29s 1m29s 1m42s 10 105 1s16ms 45s880ms 34s20ms 1m29s 1m30s 1m37s 11 84 1s176ms 45s463ms 41s273ms 1m28s 1m29s 1m42s 12 91 1s126ms 45s365ms 38s485ms 1m28s 1m33s 1m39s 13 93 1s76ms 45s522ms 37s239ms 1m28s 1m30s 1m35s 14 97 1s24ms 45s109ms 36s621ms 1m28s 1m30s 2m2s 15 88 1s114ms 45s749ms 39s300ms 1m28s 1m29s 1m33s 16 81 1s112ms 45s615ms 42s590ms 1m28s 1m28s 1m29s 17 83 1s306ms 45s644ms 41s717ms 1m29s 1m29s 1m30s 18 95 1s15ms 45s520ms 37s543ms 1m28s 1m30s 2m10s 19 88 1s104ms 45s662ms 39s394ms 1m28s 1m29s 1m30s 20 93 1s3ms 45s515ms 37s74ms 1m29s 1m30s 1m32s 21 88 1s66ms 45s658ms 39s584ms 1m29s 1m30s 1m31s 22 105 1s106ms 11m4s 46s49ms 1m30s 1m40s 12m33s 23 99 1s127ms 45s734ms 35s892ms 1m29s 1m30s 1m39s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Aug 08 00 86 0 51s577ms 1m26s 1m27s 1m28s 01 94 0 36s898ms 1m27s 1m27s 1m30s 02 92 0 37s577ms 1m27s 1m27s 1m29s 03 111 0 32s605ms 1m27s 1m28s 1m39s 04 140 0 47s19ms 3m11s 3m25s 5m27s 05 141 0 26s839ms 1m29s 1m57s 2m31s 06 87 8 36s755ms 1m27s 1m28s 1m28s 07 86 0 39s543ms 1m27s 1m28s 1m29s 08 89 0 38s927ms 1m28s 1m29s 1m32s 09 97 0 36s131ms 1m28s 1m29s 1m31s 10 95 10 34s20ms 1m28s 1m28s 1m30s 11 84 0 41s273ms 1m27s 1m28s 1m31s 12 91 0 38s485ms 1m27s 1m28s 1m34s 13 93 0 37s239ms 1m27s 1m28s 1m32s 14 90 7 36s621ms 1m28s 1m28s 1m30s 15 88 0 39s300ms 1m28s 1m28s 1m29s 16 81 0 42s590ms 1m28s 1m28s 1m29s 17 83 0 41s717ms 1m28s 1m29s 1m29s 18 85 10 37s543ms 1m28s 1m28s 1m29s 19 88 0 39s394ms 1m28s 1m28s 1m29s 20 93 0 37s74ms 1m28s 1m29s 1m31s 21 88 0 39s584ms 1m28s 1m29s 1m30s 22 105 0 46s49ms 1m28s 1m30s 11m43s 23 99 0 35s892ms 1m29s 1m29s 1m37s Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Aug 08 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 Aug 08 00 0 86 86.00 0.00% 01 0 95 95.00 0.00% 02 0 93 93.00 0.00% 03 0 111 111.00 0.00% 04 0 140 140.00 0.00% 05 0 147 147.00 0.00% 06 0 88 88.00 0.00% 07 0 88 88.00 0.00% 08 0 89 89.00 0.00% 09 0 97 97.00 0.00% 10 0 95 95.00 0.00% 11 0 84 84.00 0.00% 12 0 91 91.00 0.00% 13 0 93 93.00 0.00% 14 0 91 91.00 0.00% 15 0 88 88.00 0.00% 16 0 81 81.00 0.00% 17 0 83 83.00 0.00% 18 0 85 85.00 0.00% 19 0 88 88.00 0.00% 20 0 93 93.00 0.00% 21 0 88 88.00 0.00% 22 0 105 105.00 0.00% 23 0 99 99.00 0.00% Day Hour Count Average / Second Aug 08 00 166 0.05/s 01 162 0.04/s 02 155 0.04/s 03 162 0.04/s 04 160 0.04/s 05 165 0.05/s 06 158 0.04/s 07 154 0.04/s 08 159 0.04/s 09 158 0.04/s 10 165 0.05/s 11 160 0.04/s 12 171 0.05/s 13 158 0.04/s 14 153 0.04/s 15 152 0.04/s 16 154 0.04/s 17 155 0.04/s 18 160 0.04/s 19 160 0.04/s 20 163 0.05/s 21 154 0.04/s 22 163 0.05/s 23 153 0.04/s Day Hour Count Average Duration Average idle time Aug 08 00 166 15m30s 15m3s 01 161 14m41s 14m20s 02 155 16m 15m37s 03 162 15m33s 15m10s 04 159 15m26s 14m45s 05 167 14m15s 13m52s 06 157 15m37s 15m14s 07 155 15m26s 15m4s 08 158 15m33s 15m11s 09 158 15m30s 15m7s 10 165 15m15s 14m54s 11 160 15m10s 14m48s 12 171 14m23s 14m3s 13 158 15m5s 14m43s 14 153 15m13s 14m50s 15 152 15m52s 15m29s 16 154 15m41s 15m19s 17 155 16m8s 15m46s 18 160 15m38s 15m16s 19 160 15m14s 14m53s 20 163 15m17s 14m56s 21 154 14m59s 14m36s 22 163 15m8s 14m38s 23 153 15m38s 15m15s -
Connections
Established Connections
Key values
- 9 connections Connection Peak
- 2024-08-08 05:35:15 Date
Connections per database
Key values
- ctdprd51 Main Database
- 3,820 connections Total
Connections per user
Key values
- pubeu Main User
- 3,820 connections Total
-
Sessions
Simultaneous sessions
Key values
- 49 sessions Session Peak
- 2024-08-08 22:05:25 Date
Histogram of session times
Key values
- 1,735 60000-600000ms duration
Sessions per database
Key values
- ctdprd51 Main Database
- 3,819 sessions Total
Sessions per user
Key values
- pubeu Main User
- 3,819 sessions Total
Sessions per host
Key values
- 10.12.5.37 Main Host
- 3,819 sessions Total
-
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 79,733 buffers Checkpoint Peak
- 2024-08-08 02:37:28 Date
- 1619.559 seconds Highest write time
- 0.002 seconds Sync time
Checkpoints Wal files
Key values
- 0 files Wal files usage Peak
- 2024-08-08 16:40:47 Date
Checkpoints distance
Key values
- 1,150.09 Mo Distance Peak
- 2024-08-08 02:37:28 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Aug 08 00 890 89.394s 0.004s 89.427s 01 686 68.929s 0.003s 68.96s 02 79,867 1,633.093s 0.003s 1,633.273s 03 235 23.748s 0.002s 23.78s 04 255 25.738s 0.002s 25.769s 05 364 36.667s 0.002s 36.699s 06 4,628 463.791s 0.004s 463.875s 07 444 44.695s 0.002s 44.726s 08 51,005 1,628.952s 0.003s 1,629.122s 09 38,896 2,765.26s 0.003s 2,765.398s 10 5,426 543.852s 0.003s 543.932s 11 251 25.378s 0.002s 25.457s 12 439 44.18s 0.003s 44.21s 13 304 30.653s 0.003s 30.685s 14 332 33.448s 0.002s 33.478s 15 150 15.209s 0.002s 15.239s 16 407 40.973s 0.002s 41.004s 17 126 12.802s 0.002s 12.833s 18 186 18.822s 0.002s 18.852s 19 141 14.322s 0.002s 14.36s 20 299 30.152s 0.002s 30.184s 21 655 65.844s 0.003s 65.876s 22 5,578 558.812s 0.003s 558.893s 23 5,440 545.312s 0.003s 545.39s Day Hour Added Removed Recycled Synced files Longest sync Average sync Aug 08 00 0 0 0 79 0.001s 0.002s 01 0 0 0 39 0.001s 0.002s 02 0 36 0 47 0.001s 0.002s 03 0 0 0 34 0.001s 0.002s 04 0 0 0 27 0.001s 0.002s 05 0 0 0 41 0.001s 0.002s 06 0 3 0 162 0.001s 0.002s 07 0 0 0 124 0.001s 0.002s 08 0 34 0 33 0.001s 0.002s 09 0 10 0 54 0.001s 0.002s 10 0 3 0 44 0.001s 0.002s 11 0 1 0 34 0.001s 0.002s 12 0 0 0 36 0.001s 0.002s 13 0 0 0 77 0.001s 0.002s 14 0 0 0 106 0.001s 0.002s 15 0 0 0 27 0.001s 0.002s 16 0 0 0 120 0.001s 0.002s 17 0 0 0 19 0.001s 0.002s 18 0 0 0 24 0.001s 0.002s 19 0 0 0 19 0.001s 0.002s 20 0 0 0 28 0.001s 0.002s 21 0 0 0 31 0.001s 0.002s 22 0 4 0 42 0.001s 0.002s 23 0 3 0 33 0.001s 0.002s Day Hour Count Avg time (sec) Aug 08 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 Aug 08 00 2,268.50 kB 13,102.50 kB 01 1,335.00 kB 10,972.50 kB 02 294,555.50 kB 559,415.00 kB 03 237.00 kB 453,164.00 kB 04 226.00 kB 367,107.50 kB 05 627.00 kB 297,460.50 kB 06 19,841.50 kB 244,243.00 kB 07 1,015.00 kB 198,473.00 kB 08 276,528.50 kB 525,209.00 kB 09 86,433.50 kB 436,356.00 kB 10 27,755.00 kB 361,758.00 kB 11 495.00 kB 295,572.00 kB 12 1,328.00 kB 239,559.50 kB 13 592.50 kB 194,222.50 kB 14 707.50 kB 157,470.00 kB 15 231.00 kB 127,615.00 kB 16 881.00 kB 103,514.00 kB 17 157.50 kB 83,898.00 kB 18 143.00 kB 67,985.50 kB 19 214.00 kB 55,104.00 kB 20 451.50 kB 44,700.50 kB 21 1,746.00 kB 36,429.50 kB 22 29,190.00 kB 54,608.00 kB 23 28,914.50 kB 54,584.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 Aug 08 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
- 6.71 sec Highest CPU-cost vacuum
Table pub1.term_set_enrichment_agent
Database ctdprd51 - 2024-08-08 02:02:48 Date
- 0 sec Highest CPU-cost analyze
Table
Database ctdprd51 - Date
Average Autovacuum Duration
Key values
- 6.71 sec Highest CPU-cost vacuum
Table pub1.term_set_enrichment_agent
Database ctdprd51 - 2024-08-08 02:02:48 Date
Analyzes per table
Key values
- pubc.log_query (16) Main table analyzed (database ctdprd51)
- 23 analyzes Total
Vacuums per table
Key values
- pubc.log_query (2) Main table vacuumed on database ctdprd51
- 6 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes ctdprd51.pubc.log_query 2 2 885 0 255 0 0 531 68 390,580 ctdprd51.pub1.term_set_enrichment_agent 1 0 94,053 0 26,652 0 0 26,648 3 1,595,040 ctdprd51.pub1.term_set_enrichment 1 0 2,508 0 918 0 0 915 2 68,596 ctdprd51.pg_toast.pg_toast_486223 1 0 62 0 4 0 0 18 1 9,388 ctdprd51.pub1.term_comp_agent 1 0 179 0 38 0 0 45 2 17,266 Total 6 2 97,687 55 27,867 0 0 28,157 76 2,080,870 Tuples removed per table
Key values
- pubc.log_query (2540) Main table with removed tuples on database ctdprd51
- 2540 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain ctdprd51.pubc.log_query 2 2 2,540 1,430 1 0 184 ctdprd51.pub1.term_set_enrichment_agent 1 0 0 20,688,334 0 0 235,095 ctdprd51.pub1.term_set_enrichment 1 0 0 307,365 0 0 5,089 ctdprd51.pg_toast.pg_toast_486223 1 0 0 80 0 0 17 ctdprd51.pub1.term_comp_agent 1 0 0 17,455 0 0 150 Total 6 2 2,540 21,014,664 1 0 240,535 Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Pages removed per tables
NO DATASET
Table Number of vacuums Index scans Tuples removed Pages removed ctdprd51.pub1.term_set_enrichment_agent 1 0 0 0 ctdprd51.pubc.log_query 2 2 2540 0 ctdprd51.pub1.term_set_enrichment 1 0 0 0 ctdprd51.pg_toast.pg_toast_486223 1 0 0 0 ctdprd51.pub1.term_comp_agent 1 0 0 0 Total 6 2 2,540 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Aug 08 00 0 0 01 0 1 02 0 3 03 0 1 04 0 2 05 0 4 06 0 1 07 0 1 08 0 1 09 0 1 10 0 1 11 0 1 12 0 2 13 0 1 14 0 0 15 0 1 16 0 0 17 0 0 18 0 0 19 0 0 20 0 1 21 0 0 22 0 1 23 0 0 - 6.71 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
- 2,286 Total read queries
- 41 Total write queries
Queries by database
Key values
- ctdprd51 Main database
- 1,941 Requests
- 21h3m21s (ctdprd51)
- Main time consuming database
Queries by user
Key values
- pubeu Main user
- 3,639 Requests
User Request type Count Duration load Total 1 13s176ms select 1 13s176ms postgres Total 16 6m23s copy to 16 6m23s pubeu Total 3,639 1d14h29m20s cte 5 12s298ms select 3,634 1d14h29m8s qaeu Total 7 18s357ms cte 2 6s687ms select 5 11s669ms unknown Total 718 6h27m50s copy to 59 6m58s cte 2 2s73ms others 1 5s150ms select 656 6h20m44s Duration by user
Key values
- 1d14h29m20s (pubeu) Main time consuming user
User Request type Count Duration load Total 1 13s176ms select 1 13s176ms postgres Total 16 6m23s copy to 16 6m23s pubeu Total 3,639 1d14h29m20s cte 5 12s298ms select 3,634 1d14h29m8s qaeu Total 7 18s357ms cte 2 6s687ms select 5 11s669ms unknown Total 718 6h27m50s copy to 59 6m58s cte 2 2s73ms others 1 5s150ms select 656 6h20m44s Queries by host
Key values
- unknown Main host
- 4,381 Requests
- 1d21h4m6s (unknown)
- Main time consuming host
Queries by application
Key values
- unknown Main application
- 2,320 Requests
- 1d48m37s (unknown)
- Main time consuming application
Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2024-08-08 09:54:18 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 1,977 > 10000ms duration
Slowest individual queries
Rank Duration Query 1 16m25s /* * 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-08-08 00:16:27 ]
2 11m4s SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'PPARG') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05010' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'CANNABINOID RECEPTOR AGONISTS' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) AND exists ( SELECT 1 FROM gene_chem_reference_axn gcra WHERE gcr.id = gcra.gene_chem_reference_id AND gcra.action_type_nm IN ( SELECT ac.nm FROM action_type ap, action_type ac WHERE ac.subset_left_no BETWEEN ap.subset_left_no AND ap.subset_right_no AND (ap.nm = 'activity')) AND (gcra.action_degree_type_nm = 'increases')) 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-08-08 22:48:33 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
3 10m56s SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'PPARG') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA04064' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'CANNABINOIDS' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) AND exists ( SELECT 1 FROM gene_chem_reference_axn gcra WHERE gcr.id = gcra.gene_chem_reference_id AND gcra.action_type_nm IN ( SELECT ac.nm FROM action_type ap, action_type ac WHERE ac.subset_left_no BETWEEN ap.subset_left_no AND ap.subset_right_no AND (ap.nm = 'binding'))) 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-08-08 22:38:39 - Bind query: yes ]
4 3m40s 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 = '1245252') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;[ Date: 2024-08-08 04:44:24 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
5 1m59s 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', 'COH1% & AND & 4812=CONVERT & INT) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 % & AND & 4812 = CONVERT & INT) 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 'COH1%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4812=CONVERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INT,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' 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 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CASE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WHEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4812=4812' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'THEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '49' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELSE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '48' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'END' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '107' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '112' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '98' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' 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 'COH1%' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '4812=CONVERT' OR upper(l.acc_txt) LIKE 'INT,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CASE' OR upper(l.acc_txt) LIKE 'WHEN' OR upper(l.acc_txt) LIKE '4812=4812' OR upper(l.acc_txt) LIKE 'THEN' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '49' OR upper(l.acc_txt) LIKE 'ELSE' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '48' OR upper(l.acc_txt) LIKE 'END' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '107' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '112' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '98' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '%' OR upper(l.acc_txt) LIKE '=')) ii GROUP BY ii.cd;[ Date: 2024-08-08 04:53:40 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
6 1m59s 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', 'COH1% & AND & 4812=CONVERT & INT) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 % & AND & 4812 = CONVERT & INT) 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 'COH1%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4812=CONVERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INT,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' 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 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CASE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WHEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4812=4812' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'THEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '49' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELSE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '48' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'END' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '107' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '112' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '98' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' 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 'COH1%' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '4812=CONVERT' OR upper(l.acc_txt) LIKE 'INT,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CASE' OR upper(l.acc_txt) LIKE 'WHEN' OR upper(l.acc_txt) LIKE '4812=4812' OR upper(l.acc_txt) LIKE 'THEN' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '49' OR upper(l.acc_txt) LIKE 'ELSE' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '48' OR upper(l.acc_txt) LIKE 'END' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '107' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '112' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '98' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '%' OR upper(l.acc_txt) LIKE '=')) ii GROUP BY ii.cd;[ Date: 2024-08-08 04:54:10 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
7 1m59s 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', 'COH1% & AND & 4812=CONVERT & INT) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 % & AND & 4812 = CONVERT & INT) 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 'COH1%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4812=CONVERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INT,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' 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 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CASE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WHEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4812=4812' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'THEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '49' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELSE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '48' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'END' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '107' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '112' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '98' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' 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 'COH1%' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '4812=CONVERT' OR upper(l.acc_txt) LIKE 'INT,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CASE' OR upper(l.acc_txt) LIKE 'WHEN' OR upper(l.acc_txt) LIKE '4812=4812' OR upper(l.acc_txt) LIKE 'THEN' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '49' OR upper(l.acc_txt) LIKE 'ELSE' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '48' OR upper(l.acc_txt) LIKE 'END' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '107' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '112' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '98' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '%' OR upper(l.acc_txt) LIKE '=')) ii GROUP BY ii.cd;[ Date: 2024-08-08 04:53:09 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
8 1m58s 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', 'COH1% & AND & 4812=CONVERT & INT) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 % & AND & 4812 = CONVERT & INT) 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 'COH1%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4812=CONVERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INT,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' 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 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CASE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WHEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4812=4812' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'THEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '49' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELSE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '48' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'END' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '107' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '112' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '98' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' 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 'COH1%' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '4812=CONVERT' OR upper(l.acc_txt) LIKE 'INT,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CASE' OR upper(l.acc_txt) LIKE 'WHEN' OR upper(l.acc_txt) LIKE '4812=4812' OR upper(l.acc_txt) LIKE 'THEN' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '49' OR upper(l.acc_txt) LIKE 'ELSE' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '48' OR upper(l.acc_txt) LIKE 'END' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '107' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '112' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '98' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '%' OR upper(l.acc_txt) LIKE '=')) ii GROUP BY ii.cd;[ Date: 2024-08-08 04:52:38 - Bind query: yes ]
9 1m21s 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', 'COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WVUE' 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 'WVUE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COH1')) 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 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'WVUE' OR upper(l.acc_txt) LIKE '=' OR upper(l.acc_txt) LIKE 'WVUE' OR upper(l.acc_txt) LIKE)) ii GROUP BY ii.cd;[ Date: 2024-08-08 04:46:53 - Bind query: yes ]
10 1m21s 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', 'COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WVUE' 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 'WVUE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COH1')) 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 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'WVUE' OR upper(l.acc_txt) LIKE '=' OR upper(l.acc_txt) LIKE 'WVUE' OR upper(l.acc_txt) LIKE)) ii GROUP BY ii.cd;[ Date: 2024-08-08 04:45:22 - Bind query: yes ]
11 1m20s 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', 'COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'JTBV' 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 'JTBV' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COH1')) 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 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'JTBV' OR upper(l.acc_txt) LIKE '=' OR upper(l.acc_txt) LIKE 'JTBV' OR upper(l.acc_txt) LIKE)) ii GROUP BY ii.cd;[ Date: 2024-08-08 04:47:53 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
12 1m20s 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', 'COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'JTBV' 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 'JTBV' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COH1')) 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 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'JTBV' OR upper(l.acc_txt) LIKE '=' OR upper(l.acc_txt) LIKE 'JTBV' OR upper(l.acc_txt) LIKE)) ii GROUP BY ii.cd;[ Date: 2024-08-08 04:48:23 - Bind query: yes ]
13 1m20s 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', 'COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WVUE' 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 'WVUE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COH1')) 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 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'WVUE' OR upper(l.acc_txt) LIKE '=' OR upper(l.acc_txt) LIKE 'WVUE' OR upper(l.acc_txt) LIKE)) ii GROUP BY ii.cd;[ Date: 2024-08-08 04:46:22 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
14 1m19s 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', 'COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'JTBV' 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 'JTBV' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COH1')) 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 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'JTBV' OR upper(l.acc_txt) LIKE '=' OR upper(l.acc_txt) LIKE 'JTBV' OR upper(l.acc_txt) LIKE)) ii GROUP BY ii.cd;[ Date: 2024-08-08 04:47:22 - Bind query: yes ]
15 1m19s 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', 'COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WVUE' 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 'WVUE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COH1')) 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 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'WVUE' OR upper(l.acc_txt) LIKE '=' OR upper(l.acc_txt) LIKE 'WVUE' OR upper(l.acc_txt) LIKE)) ii GROUP BY ii.cd;[ Date: 2024-08-08 04:45:50 - Bind query: yes ]
16 1m19s 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', 'COH1% & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 % & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'COH1%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'A' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' 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 'COH1%' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '%' OR upper(l.acc_txt) LIKE '=')) ii GROUP BY ii.cd;[ Date: 2024-08-08 04:50:55 - Database: ctdprd51 - User: pubeu - Bind query: yes ]
17 1m19s 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', 'COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'JTBV' 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 'JTBV' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COH1')) 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 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'JTBV' OR upper(l.acc_txt) LIKE '=' OR upper(l.acc_txt) LIKE 'JTBV' OR upper(l.acc_txt) LIKE)) ii GROUP BY ii.cd;[ Date: 2024-08-08 04:48:53 - Bind query: yes ]
18 1m19s 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', 'COH1% & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 % & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'COH1%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'A' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' 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 'COH1%' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '%' OR upper(l.acc_txt) LIKE '=')) ii GROUP BY ii.cd;[ Date: 2024-08-08 04:50:24 - Bind query: yes ]
19 1m18s 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', 'COH1% & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 % & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'COH1%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'A' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' 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 'COH1%' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '%' OR upper(l.acc_txt) LIKE '=')) ii GROUP BY ii.cd;[ Date: 2024-08-08 04:49:23 - Bind query: yes ]
20 1m18s 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', 'COH1% & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 % & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'COH1%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'A' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' 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 'COH1%' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '%' OR upper(l.acc_txt) LIKE '=')) ii GROUP BY ii.cd;[ Date: 2024-08-08 04:49:53 - Bind query: yes ]
Time consuming queries (N)
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 22h43m47s 1,865 1s152ms 50s30ms 43s875ms 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 #1
Day Hour Count Duration Avg duration Aug 08 00 79 57m13s 43s456ms 01 79 57m13s 43s459ms 02 79 56m51s 43s181ms 03 81 57m44s 42s777ms 04 78 57m1s 43s869ms 05 65 47m28s 43s818ms 06 77 56m18s 43s880ms 07 77 56m11s 43s790ms 08 78 57m10s 43s983ms 09 79 57m18s 43s520ms 10 78 57m15s 44s47ms 11 79 57m24s 43s597ms 12 79 57m22s 43s573ms 13 79 57m19s 43s537ms 14 78 57m28s 44s206ms 15 78 57m20s 44s106ms 16 78 57m26s 44s185ms 17 79 57m32s 43s708ms 18 78 57m24s 44s162ms 19 78 57m26s 44s185ms 20 77 56m52s 44s323ms 21 78 57m45s 44s435ms 22 77 57m21s 44s688ms 23 77 57m14s 44s604ms [ User: pubeu - Total duration: 20h3m57s - Times executed: 1646 ]
-
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 = '2077399') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2309200;
Date: 2024-08-08 22:41:51 Duration: 50s30ms 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 = '2077399') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2240600;
Date: 2024-08-08 04:55:34 Duration: 47s862ms 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 = '2077399') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2307100;
Date: 2024-08-08 22:09:07 Duration: 46s156ms Database: ctdprd51 User: pubeu Bind query: yes
2 16m25s 1 16m25s 16m25s 16m25s select maint_query_logs_archive ();Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Aug 08 00 1 16m25s 16m25s -
/* * 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-08-08 00:16:27 Duration: 16m25s
3 11m4s 1 11m4s 11m4s 11m4s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?)) and exists ( select ? from gene_chem_reference_axn gcra where gcr.id = gcra.gene_chem_reference_id and gcra.action_type_nm in ( select ac.nm from action_type ap, action_type ac where ac.subset_left_no between ap.subset_left_no and ap.subset_right_no and (ap.nm = ?)) and (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, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Aug 08 22 1 11m4s 11m4s [ User: pubeu - Total duration: 11m4s - Times executed: 1 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'PPARG') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05010' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'CANNABINOID RECEPTOR AGONISTS' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) AND exists ( SELECT 1 FROM gene_chem_reference_axn gcra WHERE gcr.id = gcra.gene_chem_reference_id AND gcra.action_type_nm IN ( SELECT ac.nm FROM action_type ap, action_type ac WHERE ac.subset_left_no BETWEEN ap.subset_left_no AND ap.subset_right_no AND (ap.nm = 'activity')) AND (gcra.action_degree_type_nm = 'increases')) 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-08-08 22:48:33 Duration: 11m4s Database: ctdprd51 User: pubeu Bind query: yes
4 10m56s 1 10m56s 10m56s 10m56s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?)) and exists ( select ? from gene_chem_reference_axn gcra where gcr.id = gcra.gene_chem_reference_id and gcra.action_type_nm in ( select ac.nm from action_type ap, action_type ac where ac.subset_left_no between ap.subset_left_no and ap.subset_right_no and (ap.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, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Aug 08 22 1 10m56s 10m56s -
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'PPARG') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA04064' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'CANNABINOIDS' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) AND exists ( SELECT 1 FROM gene_chem_reference_axn gcra WHERE gcr.id = gcra.gene_chem_reference_id AND gcra.action_type_nm IN ( SELECT ac.nm FROM action_type ap, action_type ac WHERE ac.subset_left_no BETWEEN ap.subset_left_no AND ap.subset_right_no AND (ap.nm = 'binding'))) 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-08-08 22:38:39 Duration: 10m56s Bind query: yes
5 10m40s 8 1m19s 1m21s 1m20s 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(?, ? reference ? pg_catalog.english ? coh1 & and & select & ? & from & select & count &, || & ? x7171717171) 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 ? 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 ? 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 Aug 08 04 8 10m40s 1m20s [ User: pubeu - Total duration: 2m40s - 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', 'COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WVUE' 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 'WVUE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COH1')) 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 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'WVUE' OR upper(l.acc_txt) LIKE '=' OR upper(l.acc_txt) LIKE 'WVUE' OR upper(l.acc_txt) LIKE)) ii GROUP BY ii.cd;
Date: 2024-08-08 04:46:53 Duration: 1m21s 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', 'COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WVUE' 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 'WVUE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COH1')) 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 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'WVUE' OR upper(l.acc_txt) LIKE '=' OR upper(l.acc_txt) LIKE 'WVUE' OR upper(l.acc_txt) LIKE)) ii GROUP BY ii.cd;
Date: 2024-08-08 04:45:22 Duration: 1m21s 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', 'COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'JTBV' 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 'JTBV' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COH1')) 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 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'JTBV' OR upper(l.acc_txt) LIKE '=' OR upper(l.acc_txt) LIKE 'JTBV' OR upper(l.acc_txt) LIKE)) ii GROUP BY ii.cd;
Date: 2024-08-08 04:47:53 Duration: 1m20s Database: ctdprd51 User: pubeu Bind query: yes
6 7m56s 4 1m58s 1m59s 1m59s 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(?, ? reference ? pg_catalog.english ? coh1 % & and & ? = convert & int) 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 ? 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 ? 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 Aug 08 04 4 7m56s 1m59s [ User: pubeu - Total duration: 5m57s - 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', 'COH1% & AND & 4812=CONVERT & INT) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 % & AND & 4812 = CONVERT & INT) 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 'COH1%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4812=CONVERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INT,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' 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 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CASE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WHEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4812=4812' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'THEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '49' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELSE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '48' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'END' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '107' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '112' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '98' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' 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 'COH1%' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '4812=CONVERT' OR upper(l.acc_txt) LIKE 'INT,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CASE' OR upper(l.acc_txt) LIKE 'WHEN' OR upper(l.acc_txt) LIKE '4812=4812' OR upper(l.acc_txt) LIKE 'THEN' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '49' OR upper(l.acc_txt) LIKE 'ELSE' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '48' OR upper(l.acc_txt) LIKE 'END' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '107' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '112' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '98' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '%' OR upper(l.acc_txt) LIKE '=')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:53:40 Duration: 1m59s 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', 'COH1% & AND & 4812=CONVERT & INT) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 % & AND & 4812 = CONVERT & INT) 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 'COH1%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4812=CONVERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INT,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' 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 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CASE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WHEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4812=4812' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'THEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '49' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELSE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '48' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'END' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '107' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '112' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '98' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' 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 'COH1%' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '4812=CONVERT' OR upper(l.acc_txt) LIKE 'INT,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CASE' OR upper(l.acc_txt) LIKE 'WHEN' OR upper(l.acc_txt) LIKE '4812=4812' OR upper(l.acc_txt) LIKE 'THEN' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '49' OR upper(l.acc_txt) LIKE 'ELSE' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '48' OR upper(l.acc_txt) LIKE 'END' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '107' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '112' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '98' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '%' OR upper(l.acc_txt) LIKE '=')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:54:10 Duration: 1m59s 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', 'COH1% & AND & 4812=CONVERT & INT) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 % & AND & 4812 = CONVERT & INT) 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 'COH1%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4812=CONVERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INT,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' 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 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CASE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WHEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4812=4812' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'THEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '49' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELSE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '48' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'END' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '107' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '112' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '98' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' 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 'COH1%' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '4812=CONVERT' OR upper(l.acc_txt) LIKE 'INT,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CASE' OR upper(l.acc_txt) LIKE 'WHEN' OR upper(l.acc_txt) LIKE '4812=4812' OR upper(l.acc_txt) LIKE 'THEN' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '49' OR upper(l.acc_txt) LIKE 'ELSE' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '48' OR upper(l.acc_txt) LIKE 'END' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '107' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '112' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '98' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '%' OR upper(l.acc_txt) LIKE '=')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:53:09 Duration: 1m59s Database: ctdprd51 User: pubeu Bind query: yes
7 5m22s 8 39s810ms 40s906ms 40s283ms 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 ?)) 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 ?)) ii group by ii.cd;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Aug 08 04 8 5m22s 40s283ms [ User: pubeu - Total duration: 3m20s - Times executed: 5 ]
-
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', 'SELECT & CASE & WHEN & 3673=2928 & THEN & 3673 & ELSE & 3673:* & SELECT & 3673 & FROM & INFORMATION_SCHEMA.CHARACTER_SETS & END') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'SELECT & CASE & WHEN & 3673=2928 & THEN & 3673 & ELSE & 3673:* & SELECT & 3673 & FROM & INFORMATION_SCHEMA.CHARACTER_SETS & END') 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 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CASE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WHEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3673=2928' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'THEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3673' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELSE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3673' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3673' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'END')) 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 'SELECT' OR upper(l.acc_txt) LIKE 'CASE' OR upper(l.acc_txt) LIKE 'WHEN' OR upper(l.acc_txt) LIKE '3673=2928' OR upper(l.acc_txt) LIKE 'THEN' OR upper(l.acc_txt) LIKE '3673' OR upper(l.acc_txt) LIKE 'ELSE' OR upper(l.acc_txt) LIKE '3673' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '3673' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'END')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:37:05 Duration: 40s906ms 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', 'SELECT & CASE & WHEN & 3673=2928 & THEN & 3673 & ELSE & 3673:* & SELECT & 3673 & FROM & INFORMATION_SCHEMA.CHARACTER_SETS & END') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'SELECT & CASE & WHEN & 3673=2928 & THEN & 3673 & ELSE & 3673:* & SELECT & 3673 & FROM & INFORMATION_SCHEMA.CHARACTER_SETS & END') 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 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CASE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WHEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3673=2928' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'THEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3673' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELSE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3673' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3673' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'END')) 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 'SELECT' OR upper(l.acc_txt) LIKE 'CASE' OR upper(l.acc_txt) LIKE 'WHEN' OR upper(l.acc_txt) LIKE '3673=2928' OR upper(l.acc_txt) LIKE 'THEN' OR upper(l.acc_txt) LIKE '3673' OR upper(l.acc_txt) LIKE 'ELSE' OR upper(l.acc_txt) LIKE '3673' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '3673' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'END')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:37:35 Duration: 40s601ms 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', 'SELECT & CASE & WHEN & 3673=2928 & THEN & 3673 & ELSE & 3673:* & SELECT & 3673 & FROM & INFORMATION_SCHEMA.CHARACTER_SETS & END') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'SELECT & CASE & WHEN & 3673=2928 & THEN & 3673 & ELSE & 3673:* & SELECT & 3673 & FROM & INFORMATION_SCHEMA.CHARACTER_SETS & END') 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 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CASE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WHEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3673=2928' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'THEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3673' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELSE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3673' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3673' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'END')) 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 'SELECT' OR upper(l.acc_txt) LIKE 'CASE' OR upper(l.acc_txt) LIKE 'WHEN' OR upper(l.acc_txt) LIKE '3673=2928' OR upper(l.acc_txt) LIKE 'THEN' OR upper(l.acc_txt) LIKE '3673' OR upper(l.acc_txt) LIKE 'ELSE' OR upper(l.acc_txt) LIKE '3673' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '3673' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'END')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:36:34 Duration: 40s327ms Bind query: yes
8 5m15s 4 1m18s 1m19s 1m18s 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(?, ? reference ? pg_catalog.english ? coh1 % & and & select & ? & from & select & count &, || & ? x7171717171) 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 ? 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 ? 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 Aug 08 04 4 5m15s 1m18s [ User: pubeu - Total duration: 1m19s - 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', 'COH1% & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 % & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'COH1%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'A' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' 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 'COH1%' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '%' OR upper(l.acc_txt) LIKE '=')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:50:55 Duration: 1m19s 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', 'COH1% & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 % & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'COH1%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'A' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' 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 'COH1%' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '%' OR upper(l.acc_txt) LIKE '=')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:50:24 Duration: 1m19s 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', 'COH1% & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 % & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'COH1%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'A' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' 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 'COH1%' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '%' OR upper(l.acc_txt) LIKE '=')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:49:23 Duration: 1m18s Bind query: yes
9 4m54s 4 1m13s 1m14s 1m13s 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(?, ? reference ? pg_catalog.english ? coh1 & and & select & ? & from & select & count &, || & ? x7171717171) 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 ? 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 ? 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 Aug 08 04 4 4m54s 1m13s [ User: pubeu - Total duration: 3m40s - 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', 'COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'A' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3815=3815' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COH1')) 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 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '3815=3815' OR upper(l.acc_txt) LIKE)) ii GROUP BY ii.cd;
Date: 2024-08-08 04:41:11 Duration: 1m14s 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', 'COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'A' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3815=3815' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COH1')) 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 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '3815=3815' OR upper(l.acc_txt) LIKE)) ii GROUP BY ii.cd;
Date: 2024-08-08 04:42:12 Duration: 1m13s 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', 'COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'A' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3815=3815' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COH1')) 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 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '3815=3815' OR upper(l.acc_txt) LIKE)) ii GROUP BY ii.cd;
Date: 2024-08-08 04:41:41 Duration: 1m13s Database: ctdprd51 User: pubeu Bind query: yes
10 4m33s 4 1m7s 1m9s 1m8s 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(?, ? reference ? pg_catalog.english ? coh1 & and & select & ? & from & select & count &, || & ? x7171717171) 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 ? 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 ? 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 Aug 08 04 4 4m33s 1m8s [ User: pubeu - Total duration: 2m16s - 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', 'COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'A')) 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 'COH1' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:44:39 Duration: 1m9s 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', 'COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'A')) 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 'COH1' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:43:38 Duration: 1m8s 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', 'COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'A')) 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 'COH1' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:44:08 Duration: 1m8s Bind query: yes
11 4m11s 4 1m2s 1m3s 1m2s 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(?, ? reference ? pg_catalog.english ? select & ? & from & select & count &, || & ? x7171717171) 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 #11
Day Hour Count Duration Avg duration Aug 08 04 4 4m11s 1m2s [ User: pubeu - Total duration: 1m3s - 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', 'SELECT & 6632 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' SELECT & 6632 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '6632' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '6632=6632,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'A')) 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 'SELECT' OR upper(l.acc_txt) LIKE '6632' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT', $30 = '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '6632=6632,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE)) ii GROUP BY ii.cd;
Date: 2024-08-08 04:55:06 Duration: 1m3s 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', 'SELECT & 6632 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' SELECT & 6632 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '6632' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '6632=6632,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'A')) 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 'SELECT' OR upper(l.acc_txt) LIKE '6632' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT', $30 = '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '6632=6632,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE)) ii GROUP BY ii.cd;
Date: 2024-08-08 04:54:35 Duration: 1m2s 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', 'SELECT & 6632 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' SELECT & 6632 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '6632' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '6632=6632,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'A')) 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 'SELECT' OR upper(l.acc_txt) LIKE '6632' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT', $30 = '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '6632=6632,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE)) ii GROUP BY ii.cd;
Date: 2024-08-08 04:55:36 Duration: 1m2s Bind query: yes
12 3m48s 54 3s800ms 16s163ms 4s232ms 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 #12
Day Hour Count Duration Avg duration Aug 08 00 1 4s1ms 4s1ms 01 2 7s815ms 3s907ms 02 6 23s746ms 3s957ms 03 3 11s729ms 3s909ms 04 2 7s972ms 3s986ms 05 2 7s831ms 3s915ms 06 3 11s863ms 3s954ms 08 7 27s731ms 3s961ms 09 5 21s459ms 4s291ms 10 1 4s49ms 4s49ms 11 1 4s191ms 4s191ms 12 1 16s163ms 16s163ms 13 2 8s410ms 4s205ms 14 2 7s864ms 3s932ms 15 2 7s649ms 3s824ms 18 1 4s93ms 4s93ms 19 3 12s187ms 4s62ms 20 4 16s70ms 4s17ms 21 1 3s886ms 3s886ms 22 2 8s70ms 4s35ms 23 3 11s773ms 3s924ms [ User: pubeu - Total duration: 3m - Times executed: 45 ]
-
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 = '1391044') 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 = '1391044') 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-08-08 12:05:22 Duration: 16s163ms 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 = '1335779') 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 = '1335779') 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-08-08 09:52:51 Duration: 5s654ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1294854') 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 = '1294854') 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-08-08 13:57:51 Duration: 4s420ms Database: ctdprd51 User: pubeu Bind query: yes
13 3m45s 5 1s244ms 3m40s 45s140ms 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 #13
Day Hour Count Duration Avg duration Aug 08 01 1 1s244ms 1s244ms 04 1 3m40s 3m40s 06 1 1s322ms 1s322ms 10 1 1s387ms 1s387ms 13 1 1s498ms 1s498ms [ User: pubeu - Total duration: 3m45s - Times executed: 5 ]
-
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 = '1245252') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-08-08 04:44:24 Duration: 3m40s 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 = '1210275') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-08-08 13:28:58 Duration: 1s498ms 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 = '1245278') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-08-08 10:33:03 Duration: 1s387ms Database: ctdprd51 User: pubeu Bind query: yes
14 3m39s 5 43s856ms 44s67ms 43s965ms 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 ?)) 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 ?)) ii group by ii.cd;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Aug 08 04 5 3m39s 43s965ms [ User: pubeu - Total duration: 1m27s - 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', 'COH1 & SELECT & DBMS_PIPE.RECEIVE_MESSAGE & CHR & 73 & CHR & 74 & CHR & 120 & CHR & 72 & ,5 & FROM & (DUAL-- | DUAL)') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'COH1 & SELECT & DBMS_PIPE.RECEIVE_MESSAGE & CHR & 73 & CHR & 74 & CHR & 120 & CHR & 72 & ,5 & FROM & (DUAL-- | DUAL)') 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 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'DBMS_PIPE.RECEIVE_MESSAGE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '73' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '74' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '120' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '72' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '(DUAL--' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'DUAL)')) 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 'COH1' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'DBMS_PIPE.RECEIVE_MESSAGE' OR upper(l.acc_txt) LIKE 'CHR' OR upper(l.acc_txt) LIKE '73' OR upper(l.acc_txt) LIKE 'CHR' OR upper(l.acc_txt) LIKE '74' OR upper(l.acc_txt) LIKE 'CHR' OR upper(l.acc_txt) LIKE '120' OR upper(l.acc_txt) LIKE 'CHR' OR upper(l.acc_txt) LIKE '72' OR upper(l.acc_txt) LIKE ',5' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'DUAL--')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:58:15 Duration: 44s67ms 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', 'COH1% & SELECT & DBMS_PIPE.RECEIVE_MESSAGE & CHR & 73 & CHR & 74 & CHR & 120 & CHR & 72 & ,5 & FROM & (DUAL-- | DUAL)') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'COH1% & SELECT & DBMS_PIPE.RECEIVE_MESSAGE & CHR & 73 & CHR & 74 & CHR & 120 & CHR & 72 & ,5 & FROM & (DUAL-- | DUAL)') 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 'COH1%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'DBMS_PIPE.RECEIVE_MESSAGE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '73' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '74' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '120' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '72' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '(DUAL--' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'DUAL)')) 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 'COH1%' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'DBMS_PIPE.RECEIVE_MESSAGE' OR upper(l.acc_txt) LIKE 'CHR' OR upper(l.acc_txt) LIKE '73' OR upper(l.acc_txt) LIKE 'CHR' OR upper(l.acc_txt) LIKE '74' OR upper(l.acc_txt) LIKE 'CHR' OR upper(l.acc_txt) LIKE '120' OR upper(l.acc_txt) LIKE 'CHR' OR upper(l.acc_txt) LIKE '72' OR upper(l.acc_txt) LIKE ',5' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'DUAL--')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:58:46 Duration: 44s27ms 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', 'COH1 & SELECT & DBMS_PIPE.RECEIVE_MESSAGE & CHR & 73 & CHR & 74 & CHR & 120 & CHR & 72 & ,5 & FROM & (DUAL-- | DUAL)') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'COH1 & SELECT & DBMS_PIPE.RECEIVE_MESSAGE & CHR & 73 & CHR & 74 & CHR & 120 & CHR & 72 & ,5 & FROM & (DUAL-- | DUAL)') 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 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'DBMS_PIPE.RECEIVE_MESSAGE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '73' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '74' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '120' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '72' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '(DUAL--' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'DUAL)')) 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 'COH1' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'DBMS_PIPE.RECEIVE_MESSAGE' OR upper(l.acc_txt) LIKE 'CHR' OR upper(l.acc_txt) LIKE '73' OR upper(l.acc_txt) LIKE 'CHR' OR upper(l.acc_txt) LIKE '74' OR upper(l.acc_txt) LIKE 'CHR' OR upper(l.acc_txt) LIKE '120' OR upper(l.acc_txt) LIKE 'CHR' OR upper(l.acc_txt) LIKE '72' OR upper(l.acc_txt) LIKE ',5' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'DUAL--')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:57:14 Duration: 43s944ms Database: ctdprd51 User: pubeu Bind query: yes
15 3m34s 10 21s295ms 21s622ms 21s473ms 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 ?)) 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 #15
Day Hour Count Duration Avg duration Aug 08 05 10 3m34s 21s473ms [ User: pubeu - Total duration: 1m47s - Times executed: 5 ]
-
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', 'COH1% & UNION & ALL & SELECT & (NULL,NULL-- | NULL,NULL) & HZEH') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'COH1% & UNION & ALL & SELECT & (NULL,NULL-- | NULL,NULL) & HZEH') 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 'COH1%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'UNION' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALL' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '(NULL,NULL--' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'NULL,NULL)' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'HZEH')) 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 'COH1%' OR upper(l.acc_txt) LIKE 'UNION' OR upper(l.acc_txt) LIKE 'ALL' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'NULL,NULL--' OR upper(l.acc_txt) LIKE 'HZEH')) ii GROUP BY ii.cd;
Date: 2024-08-08 05:12:39 Duration: 21s622ms 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', 'COH1% & UNION & ALL & SELECT & (NULL-- | NULL) & BCWR') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'COH1% & UNION & ALL & SELECT & (NULL-- | NULL) & BCWR') 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 'COH1%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'UNION' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALL' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '(NULL--' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'NULL)' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BCWR')) 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 'COH1%' OR upper(l.acc_txt) LIKE 'UNION' OR upper(l.acc_txt) LIKE 'ALL' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'NULL--' OR upper(l.acc_txt) LIKE 'BCWR')) ii GROUP BY ii.cd;
Date: 2024-08-08 05:12:13 Duration: 21s619ms 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', 'COH1% & UNION & ALL & SELECT & (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL-- | NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL) & QUPF') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'COH1% & UNION & ALL & SELECT & (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL-- | NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL) & QUPF') 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 'COH1%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'UNION' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALL' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '(NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL--' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'QUPF')) 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 'COH1%' OR upper(l.acc_txt) LIKE 'UNION' OR upper(l.acc_txt) LIKE 'ALL' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL--' OR upper(l.acc_txt) LIKE 'QUPF')) ii GROUP BY ii.cd;
Date: 2024-08-08 05:15:11 Duration: 21s555ms Bind query: yes
16 3m26s 11 18s580ms 18s961ms 18s806ms 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 ?)) ii group by ii.cd;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Aug 08 05 11 3m26s 18s806ms [ User: pubeu - Total duration: 1m15s - Times executed: 4 ]
-
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', 'COH1% & ORDER & BY & (1-- | 1) & JFJK') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'COH1% & ORDER & BY & (1-- | 1) & JFJK') 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 'COH1%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ORDER' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 '1)' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'JFJK')) 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 'COH1%' OR upper(l.acc_txt) LIKE 'ORDER' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE '1--' OR upper(l.acc_txt) LIKE 'JFJK')) ii GROUP BY ii.cd;
Date: 2024-08-08 05:11:43 Duration: 18s961ms 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', '(-9451% | 9451%) & UNION & ALL & SELECT & 68,68,68,68#') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '(-9451% | 9451%) & UNION & ALL & SELECT & 68,68,68,68#') 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 '(-9451%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '9451%)' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'UNION' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALL' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '68,68,68,68#')) 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 '-9451%' OR upper(l.acc_txt) LIKE 'UNION' OR upper(l.acc_txt) LIKE 'ALL' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '68,68,68,68#')) ii GROUP BY ii.cd;
Date: 2024-08-08 05:23:57 Duration: 18s947ms 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', '(-7489% | 7489%) & UNION & ALL & SELECT & 68,68,68,68,68,68,68#') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '(-7489% | 7489%) & UNION & ALL & SELECT & 68,68,68,68,68,68,68#') 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 '(-7489%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7489%)' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'UNION' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALL' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '68,68,68,68,68,68,68#')) 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 '-7489%' OR upper(l.acc_txt) LIKE 'UNION' OR upper(l.acc_txt) LIKE 'ALL' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '68,68,68,68,68,68,68#')) ii GROUP BY ii.cd;
Date: 2024-08-08 05:25:05 Duration: 18s941ms Bind query: yes
17 2m13s 4 33s313ms 33s515ms 33s415ms 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 #17
Day Hour Count Duration Avg duration Aug 08 06 1 33s454ms 33s454ms 10 1 33s381ms 33s381ms 14 1 33s313ms 33s313ms 18 1 33s515ms 33s515ms [ User: postgres - Total duration: 2m13s - Times executed: 4 ]
[ Application: pg_dump - Total duration: 2m13s - 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-08-08 18:05:35 Duration: 33s515ms 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-08-08 06:05:35 Duration: 33s454ms 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-08-08 10:05:34 Duration: 33s381ms Database: ctdprd51 User: postgres Application: pg_dump
18 2m9s 22 1s3ms 11s945ms 5s889ms 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 #18
Day Hour Count Duration Avg duration Aug 08 01 1 10s716ms 10s716ms 03 14 1m46s 7s594ms 05 1 2s644ms 2s644ms 17 1 2s651ms 2s651ms 20 2 2s405ms 1s202ms 21 1 2s562ms 2s562ms 22 2 2s266ms 1s133ms [ User: pubeu - Total duration: 1m11s - Times executed: 14 ]
-
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 = '2084677') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-08-08 03:48:16 Duration: 11s945ms 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 = '2084677') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-08-08 03:48:14 Duration: 11s384ms 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 = '2082921') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-08-08 03:21:40 Duration: 11s357ms Database: ctdprd51 User: pubeu Bind query: yes
19 2m4s 25 1s13ms 5s794ms 4s983ms 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 #19
Day Hour Count Duration Avg duration Aug 08 02 3 15s848ms 5s282ms 06 1 1s13ms 1s13ms 07 1 5s36ms 5s36ms 10 3 11s179ms 3s726ms 12 1 4s866ms 4s866ms 22 7 38s866ms 5s552ms 23 9 47s774ms 5s308ms [ User: pubeu - Total duration: 1m20s - Times executed: 17 ]
-
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 = '1308960' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-08-08 23:41:23 Duration: 5s794ms 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 = '1322344' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-08-08 22:09:00 Duration: 5s728ms 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 = '1322344' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-08-08 22:08:55 Duration: 5s697ms Bind query: yes
20 1m53s 3 37s642ms 37s810ms 37s746ms 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 ?)) 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 ?)) ii group by ii.cd;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Aug 08 05 3 1m53s 37s746ms [ User: pubeu - Total duration: 1m15s - 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', 'COH1 & AND & 4058=DBMS_PIPE.RECEIVE_MESSAGE & CHR & 83 & CHR & 113 & CHR & 87 & CHR & 101 & ,5') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'COH1 & AND & 4058=DBMS_PIPE.RECEIVE_MESSAGE & CHR & 83 & CHR & 113 & CHR & 87 & CHR & 101 & ,5') 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 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4058=DBMS_PIPE.RECEIVE_MESSAGE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '83' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '87' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '101' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',5')) 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 'COH1' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '4058=DBMS_PIPE.RECEIVE_MESSAGE' OR upper(l.acc_txt) LIKE 'CHR' OR upper(l.acc_txt) LIKE '83' OR upper(l.acc_txt) LIKE 'CHR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE 'CHR' OR upper(l.acc_txt) LIKE '87' OR upper(l.acc_txt) LIKE 'CHR' OR upper(l.acc_txt) LIKE '101' OR upper(l.acc_txt) LIKE ',5')) ii GROUP BY ii.cd;
Date: 2024-08-08 05:03:27 Duration: 37s810ms 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', 'COH1 & AND & 4562= & SELECT & 4562 & FROM & PG_SLEEP & 5 & AND & FOLJ & = & FOLJ') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'COH1 & AND & 4562= & SELECT & 4562 & FROM & PG_SLEEP & 5 & AND & FOLJ & = & FOLJ') 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 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4562=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4562' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'PG_SLEEP' 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 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FOLJ' 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 'FOLJ')) 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 'COH1' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '4562=' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '4562' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'PG_SLEEP' OR upper(l.acc_txt) LIKE '5' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'FOLJ' OR upper(l.acc_txt) LIKE '=' OR upper(l.acc_txt) LIKE 'FOLJ')) ii GROUP BY ii.cd;
Date: 2024-08-08 05:00:45 Duration: 37s785ms 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', 'COH1 & AND & 4562= & SELECT & 4562 & FROM & PG_SLEEP & 5 & AND & CVPN & = & CVPN') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'COH1 & AND & 4562= & SELECT & 4562 & FROM & PG_SLEEP & 5 & AND & CVPN & = & CVPN') 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 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4562=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4562' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'PG_SLEEP' 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 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CVPN' 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 'CVPN')) 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 'COH1' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '4562=' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '4562' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'PG_SLEEP' OR upper(l.acc_txt) LIKE '5' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'CVPN' OR upper(l.acc_txt) LIKE '=' OR upper(l.acc_txt) LIKE 'CVPN')) ii GROUP BY ii.cd;
Date: 2024-08-08 05:01:15 Duration: 37s642ms Database: ctdprd51 User: pubeu Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 1,865 22h43m47s 1s152ms 50s30ms 43s875ms 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 #1
Day Hour Count Duration Avg duration Aug 08 00 79 57m13s 43s456ms 01 79 57m13s 43s459ms 02 79 56m51s 43s181ms 03 81 57m44s 42s777ms 04 78 57m1s 43s869ms 05 65 47m28s 43s818ms 06 77 56m18s 43s880ms 07 77 56m11s 43s790ms 08 78 57m10s 43s983ms 09 79 57m18s 43s520ms 10 78 57m15s 44s47ms 11 79 57m24s 43s597ms 12 79 57m22s 43s573ms 13 79 57m19s 43s537ms 14 78 57m28s 44s206ms 15 78 57m20s 44s106ms 16 78 57m26s 44s185ms 17 79 57m32s 43s708ms 18 78 57m24s 44s162ms 19 78 57m26s 44s185ms 20 77 56m52s 44s323ms 21 78 57m45s 44s435ms 22 77 57m21s 44s688ms 23 77 57m14s 44s604ms [ User: pubeu - Total duration: 20h3m57s - Times executed: 1646 ]
-
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 = '2077399') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2309200;
Date: 2024-08-08 22:41:51 Duration: 50s30ms 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 = '2077399') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2240600;
Date: 2024-08-08 04:55:34 Duration: 47s862ms 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 = '2077399') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2307100;
Date: 2024-08-08 22:09:07 Duration: 46s156ms Database: ctdprd51 User: pubeu Bind query: yes
2 69 1m20s 1s105ms 1s298ms 1s164ms select distinct stressorterm.nm as chemnm, stressorterm.nm_html as chemnmhtml, stressorterm.nm_sort as chemnmsort, stressorterm.acc_txt as chemacc, ( select string_agg(distinct stressorsrctype.nm || ? || stressorsrctype.cd, ?)) as stressorsrctypenm, stressor.src_details as stressorsrcdetails, stressor.sample_qty as stressorsampleqty, stressor.note as stressornote, receptor.qty as nbrreceptors, receptor.description as receptors, receptor.note as receptornotes, receptorterm.nm || ? || ( select cd from object_type where id = receptor.object_type_id) || ? || receptorterm.nm_html || ? || receptorterm.acc_txt || ? || receptorterm.acc_db_cd as receptorterms, ( select string_agg(distinct receptortobaccouse.tobacco_use_nm || ? || receptortobaccouse.pct, ?)) as smokerstatus, receptor.age as agerange, receptor.age_uom_nm as ageuomnm, receptor.age_qualifier_nm as agequalifiernm, receptor.gender_nm as gendernmsearch, receptor.id receptorid, ( select string_agg(pct || ? || gender_nm || ? || gender_nm_html, ?) from exp_receptor_gender where exp_receptor_id = receptor.id) as genderdetails, ( select string_agg(distinct receptorrace.race_nm || ? || receptorrace.pct, ?)) as receptorrace, ( select string_agg(distinct eventassaymethod.nm, ?)) as assaymethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumacctxt, ( select string_agg(distinct eventproject.project_nm, ?)) as associatedstudytitles, event.collection_start_yr || ? || event.collection_end_yr as collectionstartandendyr, event.detection_limit as detectionlimit, event.detection_limit_uom as detectionlimituom, event.detection_freq as detectionfreq, event.note as eventnote, ( select string_agg(distinct eventlocation.geographic_region_nm, ?)) as stateorprovince, ( select string_agg(distinct eventlocation.locality_txt, ?)) as localitytxt, ( select string_agg(distinct country.nm, ?)) as studycountries, exposuremarkerterm.nm || ? || ( select cd from object_type where id = exposuremarkerterm.object_type_id) || ? || exposuremarkerterm.nm_html || ? || exposuremarkerterm.acc_txt || ? || exposuremarkerterm.acc_db_cd as assayedmarkers, event.exp_marker_lvl as assaylevel, assay_uom as measurement, assay_measurement_stat as measurementstat, assay_note as assaynote, eiot.description as outcomerltnp, diseaseterm.nm || ? || ? || ? || diseaseterm.nm_html || ? || diseaseterm.acc_txt || ? || diseaseterm.acc_db_cd as diseasefield, phenotypeterm.nm || ? || ? || ? || phenotypeterm.nm_html || ? || phenotypeterm.acc_txt || ? || phenotypeterm.acc_db_cd as phenotypefield, outcome.phenotype_action_degree_type_nm as phenotypeactiondegreetypenm, e.reference_acc_txt || ? || r.abbr_authors_txt || ? || r.pub_start_yr as ref, r.abbr_authors_txt as abbrauthorstxt, ( select string_agg(distinct expstudyfactor.study_factor_nm, ?)) as studyfactornms, ( select string_agg(distinct anatomyterm.nm_html || ? || anatomyterm.acc_txt || ? || anatomyterm.id || ? || anatomyterm.acc_db_cd || ? || anatomyterm.nm, ?)) as anatomyterms, outcome.note as outcomenote, eventlocation.exp_event_id as eventid, count(*) over () fullrowcount from exposure e inner join exp_stressor stressor on e.exp_stressor_id = stressor.id inner join term stressorterm on stressor.chem_id = stressorterm.id left outer join exp_receptor receptor on e.exp_receptor_id = receptor.id left outer join exp_event event on e.exp_event_id = event.id left outer join term exposuremarkerterm on event.exp_marker_term_id = exposuremarkerterm.id left outer join exp_outcome outcome on e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot on outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseterm on outcome.disease_id = diseaseterm.id left outer join term phenotypeterm on outcome.phenotype_id = phenotypeterm.id left outer join term receptorterm on receptor.term_id = receptorterm.id inner join reference r on e.reference_id = r.id left outer join exp_stressor_stressor_src esss on stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorsrctype on esss.exp_stressor_src_type_id = stressorsrctype.id left outer join exp_receptor_tobacco_use receptortobaccouse on receptor.id = receptortobaccouse.exp_receptor_id left outer join exp_receptor_race receptorrace on receptor.id = receptorrace.exp_receptor_id left outer join exp_event_assay_method eventassaymethod on event.id = eventassaymethod.exp_event_id left outer join exp_event_location eventlocation on event.id = eventlocation.exp_event_id left outer join exp_anatomy expanatomy on outcome.id = expanatomy.exp_outcome_id left outer join term anatomyterm on expanatomy.anatomy_id = anatomyterm.id left outer join country on eventlocation.country_id = country.id left outer join exp_event_project eventproject on event.id = eventproject.exp_event_id left outer join reference_exp referenceexp on e.reference_acc_txt = referenceexp.reference_acc_txt and e.reference_acc_db_id = referenceexp.reference_acc_db_id left outer join exp_study_factor expstudyfactor on referenceexp.id = expstudyfactor.reference_exp_id where exposuremarkerterm.id = ? or receptorterm.id = ? group by chemnm, chemnmhtml, chemnmsort, chemacc, stressorsrcdetails, stressorsampleqty, stressornote, receptorterms, medium, mediumacctxt, assayedmarkers, assaylevel, measurement, measurementstat, assaynote, outcomerltnp, diseasefield, phenotypefield, phenotypeactiondegreetypenm, ref, r.abbr_authors_txt, collectionstartandendyr, receptorid, detectionlimit, detectionlimituom, detectionfreq, eventnote, outcomenote, eventid order by chemnmsort limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Aug 08 01 3 3s555ms 1s185ms 03 4 4s915ms 1s228ms 04 5 5s858ms 1s171ms 05 4 4s864ms 1s216ms 06 3 3s389ms 1s129ms 07 1 1s155ms 1s155ms 08 2 2s353ms 1s176ms 09 1 1s125ms 1s125ms 10 4 4s617ms 1s154ms 11 1 1s190ms 1s190ms 12 3 3s468ms 1s156ms 13 5 5s685ms 1s137ms 14 4 4s647ms 1s161ms 15 6 7s92ms 1s182ms 16 3 3s384ms 1s128ms 18 1 1s175ms 1s175ms 19 4 4s664ms 1s166ms 20 8 9s164ms 1s145ms 21 2 2s237ms 1s118ms 22 2 2s365ms 1s182ms 23 3 3s433ms 1s144ms [ User: pubeu - Total duration: 1m - Times executed: 52 ]
-
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 = '1435399' or receptorTerm.id = '1435399' 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-08-08 05:38:51 Duration: 1s298ms 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 = '4' or receptorTerm.id = 'A' 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-08-08 14:02:41 Duration: 1s284ms 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 = '2051997' or receptorTerm.id = '2051997' 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-08-08 03:19:55 Duration: 1s250ms Database: ctdprd51 User: pubeu Bind query: yes
3 54 3m48s 3s800ms 16s163ms 4s232ms 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 Aug 08 00 1 4s1ms 4s1ms 01 2 7s815ms 3s907ms 02 6 23s746ms 3s957ms 03 3 11s729ms 3s909ms 04 2 7s972ms 3s986ms 05 2 7s831ms 3s915ms 06 3 11s863ms 3s954ms 08 7 27s731ms 3s961ms 09 5 21s459ms 4s291ms 10 1 4s49ms 4s49ms 11 1 4s191ms 4s191ms 12 1 16s163ms 16s163ms 13 2 8s410ms 4s205ms 14 2 7s864ms 3s932ms 15 2 7s649ms 3s824ms 18 1 4s93ms 4s93ms 19 3 12s187ms 4s62ms 20 4 16s70ms 4s17ms 21 1 3s886ms 3s886ms 22 2 8s70ms 4s35ms 23 3 11s773ms 3s924ms [ User: pubeu - Total duration: 3m - Times executed: 45 ]
-
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 = '1391044') 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 = '1391044') 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-08-08 12:05:22 Duration: 16s163ms 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 = '1335779') 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 = '1335779') 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-08-08 09:52:51 Duration: 5s654ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1294854') 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 = '1294854') 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-08-08 13:57:51 Duration: 4s420ms Database: ctdprd51 User: pubeu Bind query: yes
4 25 2m4s 1s13ms 5s794ms 4s983ms 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 #4
Day Hour Count Duration Avg duration Aug 08 02 3 15s848ms 5s282ms 06 1 1s13ms 1s13ms 07 1 5s36ms 5s36ms 10 3 11s179ms 3s726ms 12 1 4s866ms 4s866ms 22 7 38s866ms 5s552ms 23 9 47s774ms 5s308ms [ User: pubeu - Total duration: 1m20s - Times executed: 17 ]
-
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 = '1308960' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-08-08 23:41:23 Duration: 5s794ms 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 = '1322344' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-08-08 22:09:00 Duration: 5s728ms 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 = '1322344' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-08-08 22:08:55 Duration: 5s697ms Bind query: yes
5 22 2m9s 1s3ms 11s945ms 5s889ms 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 #5
Day Hour Count Duration Avg duration Aug 08 01 1 10s716ms 10s716ms 03 14 1m46s 7s594ms 05 1 2s644ms 2s644ms 17 1 2s651ms 2s651ms 20 2 2s405ms 1s202ms 21 1 2s562ms 2s562ms 22 2 2s266ms 1s133ms [ User: pubeu - Total duration: 1m11s - Times executed: 14 ]
-
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 = '2084677') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-08-08 03:48:16 Duration: 11s945ms 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 = '2084677') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-08-08 03:48:14 Duration: 11s384ms 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 = '2082921') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-08-08 03:21:40 Duration: 11s357ms Database: ctdprd51 User: pubeu Bind query: yes
6 16 22s623ms 1s341ms 1s473ms 1s413ms 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 Aug 08 01 3 4s278ms 1s426ms 04 1 1s355ms 1s355ms 05 5 7s166ms 1s433ms 06 1 1s416ms 1s416ms 07 2 2s813ms 1s406ms 13 1 1s364ms 1s364ms 14 1 1s341ms 1s341ms 22 2 2s885ms 1s442ms [ User: pubeu - Total duration: 16s828ms - Times executed: 12 ]
-
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]', '#') = 'S' ORDER BY t.nm_sort LIMIT 100;
Date: 2024-08-08 01:55:17 Duration: 1s473ms 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]', '#') = 'P' ORDER BY t.nm_sort LIMIT 100;
Date: 2024-08-08 22:25:14 Duration: 1s459ms 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-08-08 01:55:11 Duration: 1s456ms Database: ctdprd51 User: pubeu Bind query: yes
7 11 3m26s 18s580ms 18s961ms 18s806ms 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 ?)) ii group by ii.cd;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Aug 08 05 11 3m26s 18s806ms [ User: pubeu - Total duration: 1m15s - Times executed: 4 ]
-
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', 'COH1% & ORDER & BY & (1-- | 1) & JFJK') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'COH1% & ORDER & BY & (1-- | 1) & JFJK') 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 'COH1%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ORDER' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 '1)' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'JFJK')) 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 'COH1%' OR upper(l.acc_txt) LIKE 'ORDER' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE '1--' OR upper(l.acc_txt) LIKE 'JFJK')) ii GROUP BY ii.cd;
Date: 2024-08-08 05:11:43 Duration: 18s961ms 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', '(-9451% | 9451%) & UNION & ALL & SELECT & 68,68,68,68#') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '(-9451% | 9451%) & UNION & ALL & SELECT & 68,68,68,68#') 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 '(-9451%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '9451%)' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'UNION' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALL' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '68,68,68,68#')) 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 '-9451%' OR upper(l.acc_txt) LIKE 'UNION' OR upper(l.acc_txt) LIKE 'ALL' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '68,68,68,68#')) ii GROUP BY ii.cd;
Date: 2024-08-08 05:23:57 Duration: 18s947ms 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', '(-7489% | 7489%) & UNION & ALL & SELECT & 68,68,68,68,68,68,68#') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '(-7489% | 7489%) & UNION & ALL & SELECT & 68,68,68,68,68,68,68#') 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 '(-7489%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7489%)' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'UNION' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALL' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '68,68,68,68,68,68,68#')) 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 '-7489%' OR upper(l.acc_txt) LIKE 'UNION' OR upper(l.acc_txt) LIKE 'ALL' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '68,68,68,68,68,68,68#')) ii GROUP BY ii.cd;
Date: 2024-08-08 05:25:05 Duration: 18s941ms Bind query: yes
8 11 14s884ms 1s201ms 1s608ms 1s353ms 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 #8
Day Hour Count Duration Avg duration Aug 08 01 1 1s375ms 1s375ms 02 1 1s265ms 1s265ms 03 1 1s330ms 1s330ms 04 1 1s291ms 1s291ms 05 2 2s817ms 1s408ms 13 1 1s201ms 1s201ms 14 1 1s608ms 1s608ms 18 1 1s346ms 1s346ms 20 1 1s298ms 1s298ms 21 1 1s349ms 1s349ms [ User: pubeu - Total duration: 7s881ms - Times executed: 6 ]
-
SELECT DISTINCT stressorTerm.nm as chemNm, stressorTerm.nm_html as chemNmHtml, stressorTerm.nm_sort as chemNmSort, stressorTerm.acc_txt as chemAcc, ( SELECT STRING_AGG(distinct stressorSrcType.nm || '^' || stressorSrcType.cd, '|')) as stressorSrcTypeNm, stressor.src_details as stressorSrcDetails, stressor.sample_qty as stressorSampleQty, stressor.note as stressorNote, receptor.qty as nbrReceptors, receptor.description as receptors, receptor.note as receptorNotes, receptorTerm.nm || '^' || ( select cd from object_type where id = receptor.object_type_id) || '^' || receptorTerm.nm_html || '^' || receptorTerm.acc_txt || '^' || receptorTerm.acc_db_cd as receptorTerms, ( SELECT STRING_AGG(distinct receptorTobaccoUse.tobacco_use_nm || '^' || receptorTobaccoUse.pct, ' | ')) as smokerStatus, receptor.age as ageRange, receptor.age_uom_nm as ageUOMNm, receptor.age_qualifier_nm as ageQualifierNm, receptor.gender_nm as genderNmSearch, receptor.id receptorID, ( SELECT STRING_AGG(pct || '^' || gender_nm || '^' || gender_nm_html, '|') from exp_receptor_gender where exp_receptor_id = receptor.id) as genderDetails, ( SELECT STRING_AGG(DISTINCT receptorRace.race_nm || '^' || receptorRace.pct, ' | ')) as receptorRace, ( SELECT STRING_AGG(DISTINCT eventAssayMethod.nm, ' | ')) as assayMethods, event.medium_nm as medium, event.medium_term_acc_txt as mediumAccTxt, ( SELECT STRING_AGG(DISTINCT eventProject.project_nm, ' | ')) as associatedStudyTitles, event.collection_start_yr || '-' || event.collection_end_yr as collectionStartAndEndYr, event.detection_limit as detectionLimit, event.detection_limit_uom as detectionLimitUOM, event.detection_freq as detectionFreq, event.note as eventNote, ( SELECT STRING_AGG(DISTINCT eventLocation.geographic_region_nm, ' | ')) as stateOrProvince, ( SELECT STRING_AGG(DISTINCT eventLocation.locality_txt, ' | ')) as localityTxt, ( SELECT STRING_AGG(distinct country.nm, ' | ')) as studyCountries, exposureMarkerTerm.nm || '^' || ( select cd from object_type where id = exposureMarkerTerm.object_type_id) || '^' || exposureMarkerTerm.nm_html || '^' || exposureMarkerTerm.acc_txt || '^' || exposureMarkerTerm.acc_db_cd as assayedMarkers, event.exp_marker_lvl as assayLevel, assay_uom as measurement, assay_measurement_stat as measurementStat, assay_note as assayNote, eiot.description as outcomeRltnp, diseaseTerm.nm || '^' || 'disease' || '^' || diseaseTerm.nm_html || '^' || diseaseTerm.acc_txt || '^' || diseaseTerm.acc_db_cd as diseaseField, phenotypeTerm.nm || '^' || 'go' || '^' || phenotypeTerm.nm_html || '^' || phenotypeTerm.acc_txt || '^' || phenotypeTerm.acc_db_cd as phenotypeField, outcome.phenotype_action_degree_type_nm as phenotypeActionDegreeTypeNm, e.reference_acc_txt || '^' || r.abbr_authors_txt || '^' || r.pub_start_yr as ref, r.abbr_authors_txt as abbrAuthorsTxt, ( SELECT STRING_AGG(DISTINCT expStudyFactor.study_factor_nm, ' | ')) as studyFactorNms, ( SELECT STRING_AGG(distinct anatomyTerm.nm_html || '^' || anatomyTerm.acc_txt || '^' || anatomyTerm.id || '^' || anatomyTerm.acc_db_cd || '^' || anatomyTerm.nm, '|')) as anatomyTerms, outcome.note as outcomeNote, eventLocation.exp_event_id as eventID, COUNT(*) OVER () fullRowCount FROM exposure e inner join exp_stressor stressor ON e.exp_stressor_id = stressor.id inner join term stressorTerm ON stressor.chem_id = stressorTerm.id left outer join exp_receptor receptor ON e.exp_receptor_id = receptor.id left outer join exp_event event ON e.exp_event_id = event.id left outer join term exposureMarkerTerm ON event.exp_marker_term_id = exposureMarkerTerm.id left outer join exp_outcome outcome ON e.exp_outcome_id = outcome.id left outer join exp_outcome_ixn_type eiot ON outcome.exp_outcome_ixn_type_id = eiot.id left outer join term diseaseTerm ON outcome.disease_id = diseaseTerm.id left outer join term phenotypeTerm ON outcome.phenotype_id = phenotypeTerm.id left outer join term receptorTerm ON receptor.term_id = receptorTerm.id inner join reference r ON e.reference_id = r.id left outer join exp_stressor_stressor_src esss ON stressor.id = esss.exp_stressor_id left outer join exp_stressor_src_type stressorSrcType ON esss.exp_stressor_src_type_id = stressorSrcType.id left outer join exp_receptor_tobacco_use receptorTobaccoUse ON receptor.id = receptorTobaccoUse.exp_receptor_id left outer join exp_receptor_race receptorRace ON receptor.id = receptorRace.exp_receptor_id left outer join exp_event_assay_method eventAssayMethod ON event.id = eventAssayMethod.exp_event_id left outer join exp_event_location eventLocation ON event.id = eventLocation.exp_event_id left outer join exp_anatomy expAnatomy ON outcome.id = expAnatomy.exp_outcome_id Left outer join term anatomyTerm ON expAnatomy.anatomy_id = anatomyTerm.id left outer join country ON eventLocation.country_id = country.id left outer join exp_event_project eventProject ON event.id = eventProject.exp_event_id left outer join reference_exp referenceExp on e.reference_acc_txt = referenceExp.reference_acc_txt and e.reference_acc_db_id = referenceExp.reference_acc_db_id left outer join exp_study_factor expStudyFactor on referenceExp.id = expStudyFactor.reference_exp_id where outcome.disease_id in ( select descendant_object_id from dag_path where ancestor_object_id = '2073928') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2073928') 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-08-08 14:59:52 Duration: 1s608ms 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 = '2074262') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2074262') 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-08-08 05:38:52 Duration: 1s450ms 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 = '2084386') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '2084386') 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-08-08 01:47:14 Duration: 1s375ms Bind query: yes
9 10 3m34s 21s295ms 21s622ms 21s473ms 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 ?)) 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 #9
Day Hour Count Duration Avg duration Aug 08 05 10 3m34s 21s473ms [ User: pubeu - Total duration: 1m47s - Times executed: 5 ]
-
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', 'COH1% & UNION & ALL & SELECT & (NULL,NULL-- | NULL,NULL) & HZEH') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'COH1% & UNION & ALL & SELECT & (NULL,NULL-- | NULL,NULL) & HZEH') 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 'COH1%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'UNION' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALL' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '(NULL,NULL--' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'NULL,NULL)' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'HZEH')) 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 'COH1%' OR upper(l.acc_txt) LIKE 'UNION' OR upper(l.acc_txt) LIKE 'ALL' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'NULL,NULL--' OR upper(l.acc_txt) LIKE 'HZEH')) ii GROUP BY ii.cd;
Date: 2024-08-08 05:12:39 Duration: 21s622ms 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', 'COH1% & UNION & ALL & SELECT & (NULL-- | NULL) & BCWR') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'COH1% & UNION & ALL & SELECT & (NULL-- | NULL) & BCWR') 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 'COH1%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'UNION' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALL' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '(NULL--' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'NULL)' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BCWR')) 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 'COH1%' OR upper(l.acc_txt) LIKE 'UNION' OR upper(l.acc_txt) LIKE 'ALL' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'NULL--' OR upper(l.acc_txt) LIKE 'BCWR')) ii GROUP BY ii.cd;
Date: 2024-08-08 05:12:13 Duration: 21s619ms 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', 'COH1% & UNION & ALL & SELECT & (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL-- | NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL) & QUPF') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'COH1% & UNION & ALL & SELECT & (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL-- | NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL) & QUPF') 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 'COH1%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'UNION' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALL' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '(NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL--' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'QUPF')) 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 'COH1%' OR upper(l.acc_txt) LIKE 'UNION' OR upper(l.acc_txt) LIKE 'ALL' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL--' OR upper(l.acc_txt) LIKE 'QUPF')) ii GROUP BY ii.cd;
Date: 2024-08-08 05:15:11 Duration: 21s555ms Bind query: yes
10 9 29s741ms 1s118ms 11s744ms 3s304ms 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 #10
Day Hour Count Duration Avg duration Aug 08 02 1 1s563ms 1s563ms 03 1 1s952ms 1s952ms 04 2 3s228ms 1s614ms 11 1 1s176ms 1s176ms 12 1 11s744ms 11s744ms 13 1 1s118ms 1s118ms 20 1 6s48ms 6s48ms 22 1 2s908ms 2s908ms [ User: pubeu - Total duration: 28s91ms - Times executed: 8 ]
-
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 = '2078434') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-08-08 12:23:00 Duration: 11s744ms 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 = '2079734') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-08-08 20:18:46 Duration: 6s48ms 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 = '2082640') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort;
Date: 2024-08-08 22:40:55 Duration: 2s908ms Database: ctdprd51 User: pubeu Bind query: yes
11 9 11s516ms 1s206ms 1s419ms 1s279ms 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 #11
Day Hour Count Duration Avg duration Aug 08 05 2 2s758ms 1s379ms 07 1 1s371ms 1s371ms 09 2 2s438ms 1s219ms 14 1 1s220ms 1s220ms 15 1 1s305ms 1s305ms 21 2 2s422ms 1s211ms [ User: pubeu - Total duration: 10s178ms - Times executed: 8 ]
-
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 = '1213905') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1213905') 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-08-08 05:38:49 Duration: 1s419ms 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 = '1251978') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1251978') 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-08-08 07:53:06 Duration: 1s371ms 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 = '1213905') or receptorTerm.id in ( select descendant_object_id from dag_path where ancestor_object_id = '1213905') 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-08-08 05:43:44 Duration: 1s338ms Bind query: yes
12 8 10m40s 1m19s 1m21s 1m20s 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(?, ? reference ? pg_catalog.english ? coh1 & and & select & ? & from & select & count &, || & ? x7171717171) 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 ? 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 ? 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 Aug 08 04 8 10m40s 1m20s [ User: pubeu - Total duration: 2m40s - 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', 'COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WVUE' 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 'WVUE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COH1')) 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 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'WVUE' OR upper(l.acc_txt) LIKE '=' OR upper(l.acc_txt) LIKE 'WVUE' OR upper(l.acc_txt) LIKE)) ii GROUP BY ii.cd;
Date: 2024-08-08 04:46:53 Duration: 1m21s 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', 'COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WVUE' 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 'WVUE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COH1')) 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 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'WVUE' OR upper(l.acc_txt) LIKE '=' OR upper(l.acc_txt) LIKE 'WVUE' OR upper(l.acc_txt) LIKE)) ii GROUP BY ii.cd;
Date: 2024-08-08 04:45:22 Duration: 1m21s 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', 'COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'JTBV' 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 'JTBV' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COH1')) 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 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'JTBV' OR upper(l.acc_txt) LIKE '=' OR upper(l.acc_txt) LIKE 'JTBV' OR upper(l.acc_txt) LIKE)) ii GROUP BY ii.cd;
Date: 2024-08-08 04:47:53 Duration: 1m20s Database: ctdprd51 User: pubeu Bind query: yes
13 8 5m22s 39s810ms 40s906ms 40s283ms 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 ?)) 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 ?)) ii group by ii.cd;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Aug 08 04 8 5m22s 40s283ms [ User: pubeu - Total duration: 3m20s - Times executed: 5 ]
-
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', 'SELECT & CASE & WHEN & 3673=2928 & THEN & 3673 & ELSE & 3673:* & SELECT & 3673 & FROM & INFORMATION_SCHEMA.CHARACTER_SETS & END') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'SELECT & CASE & WHEN & 3673=2928 & THEN & 3673 & ELSE & 3673:* & SELECT & 3673 & FROM & INFORMATION_SCHEMA.CHARACTER_SETS & END') 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 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CASE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WHEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3673=2928' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'THEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3673' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELSE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3673' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3673' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'END')) 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 'SELECT' OR upper(l.acc_txt) LIKE 'CASE' OR upper(l.acc_txt) LIKE 'WHEN' OR upper(l.acc_txt) LIKE '3673=2928' OR upper(l.acc_txt) LIKE 'THEN' OR upper(l.acc_txt) LIKE '3673' OR upper(l.acc_txt) LIKE 'ELSE' OR upper(l.acc_txt) LIKE '3673' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '3673' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'END')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:37:05 Duration: 40s906ms 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', 'SELECT & CASE & WHEN & 3673=2928 & THEN & 3673 & ELSE & 3673:* & SELECT & 3673 & FROM & INFORMATION_SCHEMA.CHARACTER_SETS & END') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'SELECT & CASE & WHEN & 3673=2928 & THEN & 3673 & ELSE & 3673:* & SELECT & 3673 & FROM & INFORMATION_SCHEMA.CHARACTER_SETS & END') 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 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CASE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WHEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3673=2928' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'THEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3673' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELSE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3673' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3673' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'END')) 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 'SELECT' OR upper(l.acc_txt) LIKE 'CASE' OR upper(l.acc_txt) LIKE 'WHEN' OR upper(l.acc_txt) LIKE '3673=2928' OR upper(l.acc_txt) LIKE 'THEN' OR upper(l.acc_txt) LIKE '3673' OR upper(l.acc_txt) LIKE 'ELSE' OR upper(l.acc_txt) LIKE '3673' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '3673' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'END')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:37:35 Duration: 40s601ms 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', 'SELECT & CASE & WHEN & 3673=2928 & THEN & 3673 & ELSE & 3673:* & SELECT & 3673 & FROM & INFORMATION_SCHEMA.CHARACTER_SETS & END') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'SELECT & CASE & WHEN & 3673=2928 & THEN & 3673 & ELSE & 3673:* & SELECT & 3673 & FROM & INFORMATION_SCHEMA.CHARACTER_SETS & END') 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 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CASE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WHEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3673=2928' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'THEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3673' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELSE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3673' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3673' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'END')) 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 'SELECT' OR upper(l.acc_txt) LIKE 'CASE' OR upper(l.acc_txt) LIKE 'WHEN' OR upper(l.acc_txt) LIKE '3673=2928' OR upper(l.acc_txt) LIKE 'THEN' OR upper(l.acc_txt) LIKE '3673' OR upper(l.acc_txt) LIKE 'ELSE' OR upper(l.acc_txt) LIKE '3673' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '3673' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'END')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:36:34 Duration: 40s327ms Bind query: yes
14 6 13s425ms 1s53ms 3s384ms 2s237ms with recursive sub_node ( object_id, id, path, lvl ) as ( select n.object_id, n.id, array[n.nm_sort], ? from dag_node n where n.object_id = ? union all select n.object_id, n.id, cast(path || n.nm_sort as varchar(?)[]), sn.lvl + ? from dag_node n inner join sub_node sn on (n.parent_id = sn.id)) select distinct t.nm prinm, t.nm_html prinmhtml, t.secondary_nm secondarynm, t.acc_db_cd accdbcd, t.acc_txt termacc, t.is_leaf isleaf, t.has_chems haschems, t.has_diseases hasdiseases, t.has_exposures hasexposures, t.has_genes hasgenes, sn.lvl, sn.path, max(sn.lvl) over () maxlvl, t.has_phenotypes hasphenotypes from sub_node sn inner join term t on sn.object_id = t.id where sn.lvl <= ? order by sn.path;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Aug 08 00 1 1s813ms 1s813ms 01 1 1s860ms 1s860ms 02 1 1s971ms 1s971ms 05 3 7s779ms 2s593ms [ User: pubeu - Total duration: 8s987ms - Times executed: 4 ]
[ User: qaeu - Total duration: 3s384ms - Times executed: 1 ]
-
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 = '591154' 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: 2024-08-08 05:40:12 Duration: 3s384ms Database: ctdprd51 User: qaeu 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 = '591154' 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: 2024-08-08 05:35:19 Duration: 3s341ms Database: ctdprd51 User: pubeu Bind query: yes
-
WITH recursive sub_node ( object_id, id, path, lvl ) AS ( SELECT n.object_id, n.id, ARRAY[n.nm_sort], 1 FROM dag_node n WHERE n.object_id = '587837' UNION ALL SELECT n.object_id, n.id, CAST(path || n.nm_sort AS varchar(600)[]), sn.lvl + 1 FROM dag_node n INNER JOIN sub_node sn ON (n.parent_id = sn.id)) SELECT /* TreeTermBasicsDAO.getDescendants */ DISTINCT t.nm priNm, t.nm_html priNmHtml, t.secondary_nm secondaryNm, t.acc_db_cd accDbCd, t.acc_txt termAcc, t.is_leaf isLeaf, t.has_chems hasChems, t.has_diseases hasDiseases, t.has_exposures hasExposures, t.has_genes hasGenes, sn.lvl, sn.path, MAX(sn.lvl) OVER () maxLvl, t.has_phenotypes hasPhenotypes FROM sub_node sn INNER JOIN term t ON sn.object_id = t.id WHERE sn.lvl <= 4 ORDER BY sn.path;
Date: 2024-08-08 02:40:22 Duration: 1s971ms Database: ctdprd51 User: pubeu Bind query: yes
15 5 3m45s 1s244ms 3m40s 45s140ms 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 #15
Day Hour Count Duration Avg duration Aug 08 01 1 1s244ms 1s244ms 04 1 3m40s 3m40s 06 1 1s322ms 1s322ms 10 1 1s387ms 1s387ms 13 1 1s498ms 1s498ms [ User: pubeu - Total duration: 3m45s - Times executed: 5 ]
-
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 = '1245252') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-08-08 04:44:24 Duration: 3m40s 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 = '1210275') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-08-08 13:28:58 Duration: 1s498ms 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 = '1245278') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-08-08 10:33:03 Duration: 1s387ms Database: ctdprd51 User: pubeu Bind query: yes
16 5 3m39s 43s856ms 44s67ms 43s965ms 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 ?)) 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 ?)) ii group by ii.cd;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Aug 08 04 5 3m39s 43s965ms [ User: pubeu - Total duration: 1m27s - 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', 'COH1 & SELECT & DBMS_PIPE.RECEIVE_MESSAGE & CHR & 73 & CHR & 74 & CHR & 120 & CHR & 72 & ,5 & FROM & (DUAL-- | DUAL)') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'COH1 & SELECT & DBMS_PIPE.RECEIVE_MESSAGE & CHR & 73 & CHR & 74 & CHR & 120 & CHR & 72 & ,5 & FROM & (DUAL-- | DUAL)') 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 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'DBMS_PIPE.RECEIVE_MESSAGE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '73' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '74' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '120' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '72' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '(DUAL--' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'DUAL)')) 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 'COH1' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'DBMS_PIPE.RECEIVE_MESSAGE' OR upper(l.acc_txt) LIKE 'CHR' OR upper(l.acc_txt) LIKE '73' OR upper(l.acc_txt) LIKE 'CHR' OR upper(l.acc_txt) LIKE '74' OR upper(l.acc_txt) LIKE 'CHR' OR upper(l.acc_txt) LIKE '120' OR upper(l.acc_txt) LIKE 'CHR' OR upper(l.acc_txt) LIKE '72' OR upper(l.acc_txt) LIKE ',5' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'DUAL--')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:58:15 Duration: 44s67ms 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', 'COH1% & SELECT & DBMS_PIPE.RECEIVE_MESSAGE & CHR & 73 & CHR & 74 & CHR & 120 & CHR & 72 & ,5 & FROM & (DUAL-- | DUAL)') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'COH1% & SELECT & DBMS_PIPE.RECEIVE_MESSAGE & CHR & 73 & CHR & 74 & CHR & 120 & CHR & 72 & ,5 & FROM & (DUAL-- | DUAL)') 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 'COH1%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'DBMS_PIPE.RECEIVE_MESSAGE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '73' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '74' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '120' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '72' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '(DUAL--' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'DUAL)')) 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 'COH1%' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'DBMS_PIPE.RECEIVE_MESSAGE' OR upper(l.acc_txt) LIKE 'CHR' OR upper(l.acc_txt) LIKE '73' OR upper(l.acc_txt) LIKE 'CHR' OR upper(l.acc_txt) LIKE '74' OR upper(l.acc_txt) LIKE 'CHR' OR upper(l.acc_txt) LIKE '120' OR upper(l.acc_txt) LIKE 'CHR' OR upper(l.acc_txt) LIKE '72' OR upper(l.acc_txt) LIKE ',5' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'DUAL--')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:58:46 Duration: 44s27ms 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', 'COH1 & SELECT & DBMS_PIPE.RECEIVE_MESSAGE & CHR & 73 & CHR & 74 & CHR & 120 & CHR & 72 & ,5 & FROM & (DUAL-- | DUAL)') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'COH1 & SELECT & DBMS_PIPE.RECEIVE_MESSAGE & CHR & 73 & CHR & 74 & CHR & 120 & CHR & 72 & ,5 & FROM & (DUAL-- | DUAL)') 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 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'DBMS_PIPE.RECEIVE_MESSAGE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '73' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '74' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '120' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '72' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '(DUAL--' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'DUAL)')) 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 'COH1' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'DBMS_PIPE.RECEIVE_MESSAGE' OR upper(l.acc_txt) LIKE 'CHR' OR upper(l.acc_txt) LIKE '73' OR upper(l.acc_txt) LIKE 'CHR' OR upper(l.acc_txt) LIKE '74' OR upper(l.acc_txt) LIKE 'CHR' OR upper(l.acc_txt) LIKE '120' OR upper(l.acc_txt) LIKE 'CHR' OR upper(l.acc_txt) LIKE '72' OR upper(l.acc_txt) LIKE ',5' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'DUAL--')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:57:14 Duration: 43s944ms Database: ctdprd51 User: pubeu Bind query: yes
17 4 7m56s 1m58s 1m59s 1m59s 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(?, ? reference ? pg_catalog.english ? coh1 % & and & ? = convert & int) 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 ? 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 ? 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 #17
Day Hour Count Duration Avg duration Aug 08 04 4 7m56s 1m59s [ User: pubeu - Total duration: 5m57s - 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', 'COH1% & AND & 4812=CONVERT & INT) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 % & AND & 4812 = CONVERT & INT) 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 'COH1%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4812=CONVERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INT,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' 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 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CASE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WHEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4812=4812' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'THEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '49' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELSE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '48' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'END' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '107' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '112' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '98' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' 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 'COH1%' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '4812=CONVERT' OR upper(l.acc_txt) LIKE 'INT,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CASE' OR upper(l.acc_txt) LIKE 'WHEN' OR upper(l.acc_txt) LIKE '4812=4812' OR upper(l.acc_txt) LIKE 'THEN' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '49' OR upper(l.acc_txt) LIKE 'ELSE' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '48' OR upper(l.acc_txt) LIKE 'END' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '107' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '112' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '98' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '%' OR upper(l.acc_txt) LIKE '=')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:53:40 Duration: 1m59s 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', 'COH1% & AND & 4812=CONVERT & INT) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 % & AND & 4812 = CONVERT & INT) 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 'COH1%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4812=CONVERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INT,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' 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 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CASE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WHEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4812=4812' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'THEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '49' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELSE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '48' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'END' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '107' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '112' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '98' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' 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 'COH1%' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '4812=CONVERT' OR upper(l.acc_txt) LIKE 'INT,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CASE' OR upper(l.acc_txt) LIKE 'WHEN' OR upper(l.acc_txt) LIKE '4812=4812' OR upper(l.acc_txt) LIKE 'THEN' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '49' OR upper(l.acc_txt) LIKE 'ELSE' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '48' OR upper(l.acc_txt) LIKE 'END' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '107' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '112' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '98' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '%' OR upper(l.acc_txt) LIKE '=')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:54:10 Duration: 1m59s 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', 'COH1% & AND & 4812=CONVERT & INT) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 % & AND & 4812 = CONVERT & INT) 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 'COH1%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4812=CONVERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INT,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' 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 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CASE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WHEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4812=4812' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'THEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '49' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELSE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '48' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'END' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '107' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '112' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '98' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' 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 'COH1%' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '4812=CONVERT' OR upper(l.acc_txt) LIKE 'INT,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CASE' OR upper(l.acc_txt) LIKE 'WHEN' OR upper(l.acc_txt) LIKE '4812=4812' OR upper(l.acc_txt) LIKE 'THEN' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '49' OR upper(l.acc_txt) LIKE 'ELSE' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '48' OR upper(l.acc_txt) LIKE 'END' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '107' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '112' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '98' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '%' OR upper(l.acc_txt) LIKE '=')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:53:09 Duration: 1m59s Database: ctdprd51 User: pubeu Bind query: yes
18 4 5m15s 1m18s 1m19s 1m18s 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(?, ? reference ? pg_catalog.english ? coh1 % & and & select & ? & from & select & count &, || & ? x7171717171) 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 ? 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 ? 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 #18
Day Hour Count Duration Avg duration Aug 08 04 4 5m15s 1m18s [ User: pubeu - Total duration: 1m19s - 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', 'COH1% & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 % & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'COH1%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'A' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' 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 'COH1%' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '%' OR upper(l.acc_txt) LIKE '=')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:50:55 Duration: 1m19s 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', 'COH1% & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 % & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'COH1%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'A' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' 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 'COH1%' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '%' OR upper(l.acc_txt) LIKE '=')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:50:24 Duration: 1m19s 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', 'COH1% & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 % & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'COH1%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'A' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' 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 'COH1%' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '%' OR upper(l.acc_txt) LIKE '=')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:49:23 Duration: 1m18s Bind query: yes
19 4 4m54s 1m13s 1m14s 1m13s 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(?, ? reference ? pg_catalog.english ? coh1 & and & select & ? & from & select & count &, || & ? x7171717171) 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 ? 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 ? 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 #19
Day Hour Count Duration Avg duration Aug 08 04 4 4m54s 1m13s [ User: pubeu - Total duration: 3m40s - 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', 'COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'A' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3815=3815' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COH1')) 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 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '3815=3815' OR upper(l.acc_txt) LIKE)) ii GROUP BY ii.cd;
Date: 2024-08-08 04:41:11 Duration: 1m14s 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', 'COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'A' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3815=3815' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COH1')) 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 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '3815=3815' OR upper(l.acc_txt) LIKE)) ii GROUP BY ii.cd;
Date: 2024-08-08 04:42:12 Duration: 1m13s 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', 'COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'A' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3815=3815' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COH1')) 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 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '3815=3815' OR upper(l.acc_txt) LIKE)) ii GROUP BY ii.cd;
Date: 2024-08-08 04:41:41 Duration: 1m13s Database: ctdprd51 User: pubeu Bind query: yes
20 4 4m33s 1m7s 1m9s 1m8s 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(?, ? reference ? pg_catalog.english ? coh1 & and & select & ? & from & select & count &, || & ? x7171717171) 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 ? 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 ? 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 Aug 08 04 4 4m33s 1m8s [ User: pubeu - Total duration: 2m16s - 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', 'COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'A')) 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 'COH1' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:44:39 Duration: 1m9s 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', 'COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'A')) 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 'COH1' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:43:38 Duration: 1m8s 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', 'COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'A')) 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 'COH1' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:44:08 Duration: 1m8s Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 16m25s 16m25s 16m25s 1 16m25s select maint_query_logs_archive ();Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Aug 08 00 1 16m25s 16m25s -
/* * 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-08-08 00:16:27 Duration: 16m25s
2 11m4s 11m4s 11m4s 1 11m4s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?)) and exists ( select ? from gene_chem_reference_axn gcra where gcr.id = gcra.gene_chem_reference_id and gcra.action_type_nm in ( select ac.nm from action_type ap, action_type ac where ac.subset_left_no between ap.subset_left_no and ap.subset_right_no and (ap.nm = ?)) and (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, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Aug 08 22 1 11m4s 11m4s [ User: pubeu - Total duration: 11m4s - Times executed: 1 ]
-
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'PPARG') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA05010' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'CANNABINOID RECEPTOR AGONISTS' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) AND exists ( SELECT 1 FROM gene_chem_reference_axn gcra WHERE gcr.id = gcra.gene_chem_reference_id AND gcra.action_type_nm IN ( SELECT ac.nm FROM action_type ap, action_type ac WHERE ac.subset_left_no BETWEEN ap.subset_left_no AND ap.subset_right_no AND (ap.nm = 'activity')) AND (gcra.action_degree_type_nm = 'increases')) 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-08-08 22:48:33 Duration: 11m4s Database: ctdprd51 User: pubeu Bind query: yes
3 10m56s 10m56s 10m56s 1 10m56s select g.nm genesymbol, g.id geneid, g.acc_txt geneacc, g.acc_db_cd geneaccdbcd, c.nm chemnm, c.nm_html chemnmhtml, c.acc_txt chemacc, c.secondary_nm casrn, c.id chemid, i.id ixnid, i.ixn_prose_txt ixnprose, i.ixn_prose_html ixnprosehtml, i.actions_txt ixnactions, count(distinct gcr.reference_id) refcount, count(distinct gcr.taxon_id) taxoncount, count(*) over () fullrowcount from gene_chem_reference gcr inner join ixn i on gcr.ixn_id = i.id inner join term g on gcr.gene_id = g.id inner join term c on gcr.chem_id = c.id where exists ( select ? from gene_chem_ref_gene_form gf where gf.gene_chem_reference_id = gcr.id and gf.gene_id = gcr.gene_id and gf.actor_form_type_nm in ( select tc.nm from actor_form_type tp, actor_form_type tc where tc.subset_left_no between tp.subset_left_no and tp.subset_right_no and (tp.nm = ?))) and gcr.gene_id = any (array (( select gi.id gene_id from term gi where gi.object_type_id = ? and upper(gi.nm) like ?) intersect ( select ai.gene_id from dag_path pi inner join gene_go_annot ai on pi.descendant_object_id = ai.go_term_id inner join db_link dbli on dbli.object_id = pi.ancestor_object_id where dbli.acc_txt = ? and dbli.type_cd = ? and dbli.object_type_id = ?) intersect ( select tp.term_id from term_pathway tp where tp.object_type_id = ? and upper(tp.pathway_acc_txt) = ? and tp.pathway_acc_db_cd = ?))) and gcr.chem_id = any (array ( select dp.descendant_object_id from dag_path dp inner join term t on t.id = dp.ancestor_object_id where upper(t.nm) like ? and t.object_type_id = ?)) and gcr.taxon_id = any (array ( select dp.descendant_object_id from dag_path dp inner join dag_node n on n.id = dp.ancestor_dag_node_id where n.acc_txt = ? and n.dag_id = ?)) and exists ( select ? from gene_chem_reference_axn gcra where gcr.id = gcra.gene_chem_reference_id and gcra.action_type_nm in ( select ac.nm from action_type ap, action_type ac where ac.subset_left_no between ap.subset_left_no and ap.subset_right_no and (ap.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, g.nm_sort, i.sort_txt limit ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Aug 08 22 1 10m56s 10m56s -
SELECT /* AdvancedIxnQueryDAO.getData */ g.nm geneSymbol, g.id geneId, g.acc_txt geneAcc, g.acc_db_cd geneAccDbCd, c.nm chemNm, c.nm_html chemNmhtml, c.acc_txt chemAcc, c.secondary_nm casRN, c.id chemId, i.id ixnId, i.ixn_prose_txt ixnProse, i.ixn_prose_html ixnProseHtml, i.actions_txt ixnActions, COUNT(DISTINCT gcr.reference_id) refCount, COUNT(DISTINCT gcr.taxon_id) taxonCount, COUNT(*) OVER () fullRowCount FROM gene_chem_reference gcr INNER JOIN ixn i ON gcr.ixn_id = i.id INNER JOIN term g ON gcr.gene_id = g.id INNER JOIN term c ON gcr.chem_id = c.id WHERE /* CIQH.getIxnWhereCore */ EXISTS ( SELECT /* CIQH.getIxnGeneFormTypeWhere */ 1 FROM gene_chem_ref_gene_form gf WHERE gf.gene_chem_reference_id = gcr.id AND gf.gene_id = gcr.gene_id AND gf.actor_form_type_nm IN ( SELECT tc.nm FROM actor_form_type tp, actor_form_type tc WHERE tc.subset_left_no BETWEEN tp.subset_left_no AND tp.subset_right_no AND (tp.nm = 'gene'))) AND gcr.gene_id = ANY (ARRAY (( SELECT /* CIQH.getIxnGeneWhereEquals.Name */ gi.id gene_id FROM term gi WHERE gi.object_type_id = 4 AND UPPER(gi.nm) LIKE 'PPARG') INTERSECT ( SELECT /* IQH.getMasterGoWhereEquals.Gene */ ai.gene_id FROM dag_path pi INNER JOIN gene_go_annot ai ON pi.descendant_object_id = ai.go_term_id INNER JOIN db_link dbli ON dbli.object_id = pi.ancestor_object_id WHERE dbli.acc_txt = 'GO:0008150' AND dbli.type_cd = 'A' AND dbli.object_type_id = 5) INTERSECT ( SELECT /* IQH.getMasterPathwayWhereEquals.Acc */ tp.term_id FROM term_pathway tp WHERE tp.object_type_id = 4 AND UPPER(tp.pathway_acc_txt) = 'HSA04064' AND tp.pathway_acc_db_cd = 'KEGG'))) AND gcr.chem_id = ANY (ARRAY ( SELECT /* CIQH.getIxnChemWhereEquals.Name */ dp.descendant_object_id FROM dag_path dp INNER JOIN term t ON t.id = dp.ancestor_object_id WHERE UPPER(t.nm) LIKE 'CANNABINOIDS' AND t.object_type_id = 2)) AND gcr.taxon_id = ANY (ARRAY ( SELECT /* CIQH.getIxnTaxonWhereEquals.Acc */ dp.descendant_object_id FROM dag_path dp INNER JOIN dag_node n ON n.id = dp.ancestor_dag_node_id WHERE n.acc_txt = '9606' AND n.dag_id = 7)) AND exists ( SELECT 1 FROM gene_chem_reference_axn gcra WHERE gcr.id = gcra.gene_chem_reference_id AND gcra.action_type_nm IN ( SELECT ac.nm FROM action_type ap, action_type ac WHERE ac.subset_left_no BETWEEN ap.subset_left_no AND ap.subset_right_no AND (ap.nm = 'binding'))) 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-08-08 22:38:39 Duration: 10m56s Bind query: yes
4 1m58s 1m59s 1m59s 4 7m56s 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(?, ? reference ? pg_catalog.english ? coh1 % & and & ? = convert & int) 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 ? 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 ? 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 #4
Day Hour Count Duration Avg duration Aug 08 04 4 7m56s 1m59s [ User: pubeu - Total duration: 5m57s - 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', 'COH1% & AND & 4812=CONVERT & INT) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 % & AND & 4812 = CONVERT & INT) 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 'COH1%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4812=CONVERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INT,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' 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 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CASE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WHEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4812=4812' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'THEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '49' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELSE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '48' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'END' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '107' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '112' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '98' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' 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 'COH1%' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '4812=CONVERT' OR upper(l.acc_txt) LIKE 'INT,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CASE' OR upper(l.acc_txt) LIKE 'WHEN' OR upper(l.acc_txt) LIKE '4812=4812' OR upper(l.acc_txt) LIKE 'THEN' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '49' OR upper(l.acc_txt) LIKE 'ELSE' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '48' OR upper(l.acc_txt) LIKE 'END' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '107' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '112' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '98' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '%' OR upper(l.acc_txt) LIKE '=')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:53:40 Duration: 1m59s 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', 'COH1% & AND & 4812=CONVERT & INT) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 % & AND & 4812 = CONVERT & INT) 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 'COH1%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4812=CONVERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INT,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' 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 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CASE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WHEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4812=4812' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'THEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '49' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELSE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '48' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'END' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '107' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '112' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '98' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' 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 'COH1%' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '4812=CONVERT' OR upper(l.acc_txt) LIKE 'INT,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CASE' OR upper(l.acc_txt) LIKE 'WHEN' OR upper(l.acc_txt) LIKE '4812=4812' OR upper(l.acc_txt) LIKE 'THEN' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '49' OR upper(l.acc_txt) LIKE 'ELSE' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '48' OR upper(l.acc_txt) LIKE 'END' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '107' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '112' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '98' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '%' OR upper(l.acc_txt) LIKE '=')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:54:10 Duration: 1m59s 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', 'COH1% & AND & 4812=CONVERT & INT) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 % & AND & 4812 = CONVERT & INT) 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 'COH1%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4812=CONVERT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INT,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' 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 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CASE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WHEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4812=4812' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'THEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '49' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELSE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '48' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'END' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '107' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '112' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '98' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '+CHAR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' 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 'COH1%' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '4812=CONVERT' OR upper(l.acc_txt) LIKE 'INT,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'CASE' OR upper(l.acc_txt) LIKE 'WHEN' OR upper(l.acc_txt) LIKE '4812=4812' OR upper(l.acc_txt) LIKE 'THEN' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '49' OR upper(l.acc_txt) LIKE 'ELSE' OR upper(l.acc_txt) LIKE 'CHAR' OR upper(l.acc_txt) LIKE '48' OR upper(l.acc_txt) LIKE 'END' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '107' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '112' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '98' OR upper(l.acc_txt) LIKE '+CHAR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '%' OR upper(l.acc_txt) LIKE '=')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:53:09 Duration: 1m59s Database: ctdprd51 User: pubeu Bind query: yes
5 1m19s 1m21s 1m20s 8 10m40s 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(?, ? reference ? pg_catalog.english ? coh1 & and & select & ? & from & select & count &, || & ? x7171717171) 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 ? 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 ? 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 Aug 08 04 8 10m40s 1m20s [ User: pubeu - Total duration: 2m40s - 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', 'COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WVUE' 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 'WVUE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COH1')) 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 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'WVUE' OR upper(l.acc_txt) LIKE '=' OR upper(l.acc_txt) LIKE 'WVUE' OR upper(l.acc_txt) LIKE)) ii GROUP BY ii.cd;
Date: 2024-08-08 04:46:53 Duration: 1m21s 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', 'COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WVUE' 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 'WVUE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COH1')) 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 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'WVUE' OR upper(l.acc_txt) LIKE '=' OR upper(l.acc_txt) LIKE 'WVUE' OR upper(l.acc_txt) LIKE)) ii GROUP BY ii.cd;
Date: 2024-08-08 04:45:22 Duration: 1m21s 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', 'COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'JTBV' 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 'JTBV' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COH1')) 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 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'JTBV' OR upper(l.acc_txt) LIKE '=' OR upper(l.acc_txt) LIKE 'JTBV' OR upper(l.acc_txt) LIKE)) ii GROUP BY ii.cd;
Date: 2024-08-08 04:47:53 Duration: 1m20s Database: ctdprd51 User: pubeu Bind query: yes
6 1m18s 1m19s 1m18s 4 5m15s 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(?, ? reference ? pg_catalog.english ? coh1 % & and & select & ? & from & select & count &, || & ? x7171717171) 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 ? 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 ? 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 Aug 08 04 4 5m15s 1m18s [ User: pubeu - Total duration: 1m19s - 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', 'COH1% & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 % & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'COH1%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'A' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' 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 'COH1%' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '%' OR upper(l.acc_txt) LIKE '=')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:50:55 Duration: 1m19s 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', 'COH1% & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 % & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'COH1%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'A' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' 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 'COH1%' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '%' OR upper(l.acc_txt) LIKE '=')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:50:24 Duration: 1m19s 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', 'COH1% & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 % & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'COH1%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'A' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' 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 'COH1%' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '%' OR upper(l.acc_txt) LIKE '=')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:49:23 Duration: 1m18s Bind query: yes
7 1m13s 1m14s 1m13s 4 4m54s 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(?, ? reference ? pg_catalog.english ? coh1 & and & select & ? & from & select & count &, || & ? x7171717171) 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 ? 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 ? 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 #7
Day Hour Count Duration Avg duration Aug 08 04 4 4m54s 1m13s [ User: pubeu - Total duration: 3m40s - 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', 'COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'A' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3815=3815' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COH1')) 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 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '3815=3815' OR upper(l.acc_txt) LIKE)) ii GROUP BY ii.cd;
Date: 2024-08-08 04:41:11 Duration: 1m14s 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', 'COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'A' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3815=3815' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COH1')) 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 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '3815=3815' OR upper(l.acc_txt) LIKE)) ii GROUP BY ii.cd;
Date: 2024-08-08 04:42:12 Duration: 1m13s 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', 'COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'A' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3815=3815' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COH1')) 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 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '3815=3815' OR upper(l.acc_txt) LIKE)) ii GROUP BY ii.cd;
Date: 2024-08-08 04:41:41 Duration: 1m13s Database: ctdprd51 User: pubeu Bind query: yes
8 1m7s 1m9s 1m8s 4 4m33s 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(?, ? reference ? pg_catalog.english ? coh1 & and & select & ? & from & select & count &, || & ? x7171717171) 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 ? 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 ? 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 Aug 08 04 4 4m33s 1m8s [ User: pubeu - Total duration: 2m16s - 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', 'COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'A')) 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 'COH1' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:44:39 Duration: 1m9s 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', 'COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'A')) 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 'COH1' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:43:38 Duration: 1m8s 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', 'COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7012=7012,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'A')) 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 'COH1' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '7012' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT' OR upper(l.acc_txt) LIKE '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '7012=7012,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:44:08 Duration: 1m8s Bind query: yes
9 1m2s 1m3s 1m2s 4 4m11s 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(?, ? reference ? pg_catalog.english ? select & ? & from & select & count &, || & ? x7171717171) 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 #9
Day Hour Count Duration Avg duration Aug 08 04 4 4m11s 1m2s [ User: pubeu - Total duration: 1m3s - 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', 'SELECT & 6632 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' SELECT & 6632 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '6632' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '6632=6632,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'A')) 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 'SELECT' OR upper(l.acc_txt) LIKE '6632' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT', $30 = '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '6632=6632,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE)) ii GROUP BY ii.cd;
Date: 2024-08-08 04:55:06 Duration: 1m3s 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', 'SELECT & 6632 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' SELECT & 6632 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '6632' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '6632=6632,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'A')) 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 'SELECT' OR upper(l.acc_txt) LIKE '6632' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT', $30 = '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '6632=6632,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE)) ii GROUP BY ii.cd;
Date: 2024-08-08 04:54:35 Duration: 1m2s 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', 'SELECT & 6632 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',' SELECT & 6632 & FROM & SELECT & COUNT &, || & 0X7171717171) 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 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '6632' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'COUNT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',CONCAT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0X7171717171,' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '6632=6632,1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',0X716B706271,FLOOR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'RAND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '0' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '*2' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'GROUP' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 'A')) 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 'SELECT' OR upper(l.acc_txt) LIKE '6632' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'COUNT' OR upper(l.acc_txt) LIKE ',CONCAT', $30 = '0X7171717171,' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'ELT' OR upper(l.acc_txt) LIKE '6632=6632,1' OR upper(l.acc_txt) LIKE ',0X716B706271,FLOOR' OR upper(l.acc_txt) LIKE 'RAND' OR upper(l.acc_txt) LIKE '0' OR upper(l.acc_txt) LIKE '*2' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'GROUP' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE 'X' OR upper(l.acc_txt) LIKE 'A' OR upper(l.acc_txt) LIKE)) ii GROUP BY ii.cd;
Date: 2024-08-08 04:55:36 Duration: 1m2s Bind query: yes
10 1s244ms 3m40s 45s140ms 5 3m45s 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 #10
Day Hour Count Duration Avg duration Aug 08 01 1 1s244ms 1s244ms 04 1 3m40s 3m40s 06 1 1s322ms 1s322ms 10 1 1s387ms 1s387ms 13 1 1s498ms 1s498ms [ User: pubeu - Total duration: 3m45s - Times executed: 5 ]
-
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 = '1245252') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-08-08 04:44:24 Duration: 3m40s 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 = '1210275') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-08-08 13:28:58 Duration: 1s498ms 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 = '1245278') and diseaseTerm.object_type_id = 3 ORDER BY chemNetworkCount desc, geneNetworkCount desc LIMIT 50;
Date: 2024-08-08 10:33:03 Duration: 1s387ms Database: ctdprd51 User: pubeu Bind query: yes
11 43s856ms 44s67ms 43s965ms 5 3m39s 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 ?)) 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 ?)) ii group by ii.cd;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration Aug 08 04 5 3m39s 43s965ms [ User: pubeu - Total duration: 1m27s - 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', 'COH1 & SELECT & DBMS_PIPE.RECEIVE_MESSAGE & CHR & 73 & CHR & 74 & CHR & 120 & CHR & 72 & ,5 & FROM & (DUAL-- | DUAL)') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'COH1 & SELECT & DBMS_PIPE.RECEIVE_MESSAGE & CHR & 73 & CHR & 74 & CHR & 120 & CHR & 72 & ,5 & FROM & (DUAL-- | DUAL)') 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 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'DBMS_PIPE.RECEIVE_MESSAGE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '73' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '74' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '120' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '72' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '(DUAL--' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'DUAL)')) 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 'COH1' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'DBMS_PIPE.RECEIVE_MESSAGE' OR upper(l.acc_txt) LIKE 'CHR' OR upper(l.acc_txt) LIKE '73' OR upper(l.acc_txt) LIKE 'CHR' OR upper(l.acc_txt) LIKE '74' OR upper(l.acc_txt) LIKE 'CHR' OR upper(l.acc_txt) LIKE '120' OR upper(l.acc_txt) LIKE 'CHR' OR upper(l.acc_txt) LIKE '72' OR upper(l.acc_txt) LIKE ',5' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'DUAL--')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:58:15 Duration: 44s67ms 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', 'COH1% & SELECT & DBMS_PIPE.RECEIVE_MESSAGE & CHR & 73 & CHR & 74 & CHR & 120 & CHR & 72 & ,5 & FROM & (DUAL-- | DUAL)') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'COH1% & SELECT & DBMS_PIPE.RECEIVE_MESSAGE & CHR & 73 & CHR & 74 & CHR & 120 & CHR & 72 & ,5 & FROM & (DUAL-- | DUAL)') 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 'COH1%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'DBMS_PIPE.RECEIVE_MESSAGE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '73' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '74' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '120' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '72' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '(DUAL--' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'DUAL)')) 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 'COH1%' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'DBMS_PIPE.RECEIVE_MESSAGE' OR upper(l.acc_txt) LIKE 'CHR' OR upper(l.acc_txt) LIKE '73' OR upper(l.acc_txt) LIKE 'CHR' OR upper(l.acc_txt) LIKE '74' OR upper(l.acc_txt) LIKE 'CHR' OR upper(l.acc_txt) LIKE '120' OR upper(l.acc_txt) LIKE 'CHR' OR upper(l.acc_txt) LIKE '72' OR upper(l.acc_txt) LIKE ',5' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'DUAL--')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:58:46 Duration: 44s27ms 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', 'COH1 & SELECT & DBMS_PIPE.RECEIVE_MESSAGE & CHR & 73 & CHR & 74 & CHR & 120 & CHR & 72 & ,5 & FROM & (DUAL-- | DUAL)') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'COH1 & SELECT & DBMS_PIPE.RECEIVE_MESSAGE & CHR & 73 & CHR & 74 & CHR & 120 & CHR & 72 & ,5 & FROM & (DUAL-- | DUAL)') 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 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'DBMS_PIPE.RECEIVE_MESSAGE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '73' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '74' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '120' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '72' 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 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '(DUAL--' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'DUAL)')) 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 'COH1' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'DBMS_PIPE.RECEIVE_MESSAGE' OR upper(l.acc_txt) LIKE 'CHR' OR upper(l.acc_txt) LIKE '73' OR upper(l.acc_txt) LIKE 'CHR' OR upper(l.acc_txt) LIKE '74' OR upper(l.acc_txt) LIKE 'CHR' OR upper(l.acc_txt) LIKE '120' OR upper(l.acc_txt) LIKE 'CHR' OR upper(l.acc_txt) LIKE '72' OR upper(l.acc_txt) LIKE ',5' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'DUAL--')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:57:14 Duration: 43s944ms Database: ctdprd51 User: pubeu Bind query: yes
12 1s152ms 50s30ms 43s875ms 1,865 22h43m47s 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 #12
Day Hour Count Duration Avg duration Aug 08 00 79 57m13s 43s456ms 01 79 57m13s 43s459ms 02 79 56m51s 43s181ms 03 81 57m44s 42s777ms 04 78 57m1s 43s869ms 05 65 47m28s 43s818ms 06 77 56m18s 43s880ms 07 77 56m11s 43s790ms 08 78 57m10s 43s983ms 09 79 57m18s 43s520ms 10 78 57m15s 44s47ms 11 79 57m24s 43s597ms 12 79 57m22s 43s573ms 13 79 57m19s 43s537ms 14 78 57m28s 44s206ms 15 78 57m20s 44s106ms 16 78 57m26s 44s185ms 17 79 57m32s 43s708ms 18 78 57m24s 44s162ms 19 78 57m26s 44s185ms 20 77 56m52s 44s323ms 21 78 57m45s 44s435ms 22 77 57m21s 44s688ms 23 77 57m14s 44s604ms [ User: pubeu - Total duration: 20h3m57s - Times executed: 1646 ]
-
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 = '2077399') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2309200;
Date: 2024-08-08 22:41:51 Duration: 50s30ms 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 = '2077399') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2240600;
Date: 2024-08-08 04:55:34 Duration: 47s862ms 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 = '2077399') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50 OFFSET 2307100;
Date: 2024-08-08 22:09:07 Duration: 46s156ms Database: ctdprd51 User: pubeu Bind query: yes
13 39s810ms 40s906ms 40s283ms 8 5m22s 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 ?)) 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 ?)) ii group by ii.cd;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Aug 08 04 8 5m22s 40s283ms [ User: pubeu - Total duration: 3m20s - Times executed: 5 ]
-
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', 'SELECT & CASE & WHEN & 3673=2928 & THEN & 3673 & ELSE & 3673:* & SELECT & 3673 & FROM & INFORMATION_SCHEMA.CHARACTER_SETS & END') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'SELECT & CASE & WHEN & 3673=2928 & THEN & 3673 & ELSE & 3673:* & SELECT & 3673 & FROM & INFORMATION_SCHEMA.CHARACTER_SETS & END') 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 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CASE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WHEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3673=2928' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'THEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3673' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELSE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3673' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3673' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'END')) 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 'SELECT' OR upper(l.acc_txt) LIKE 'CASE' OR upper(l.acc_txt) LIKE 'WHEN' OR upper(l.acc_txt) LIKE '3673=2928' OR upper(l.acc_txt) LIKE 'THEN' OR upper(l.acc_txt) LIKE '3673' OR upper(l.acc_txt) LIKE 'ELSE' OR upper(l.acc_txt) LIKE '3673' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '3673' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'END')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:37:05 Duration: 40s906ms 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', 'SELECT & CASE & WHEN & 3673=2928 & THEN & 3673 & ELSE & 3673:* & SELECT & 3673 & FROM & INFORMATION_SCHEMA.CHARACTER_SETS & END') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'SELECT & CASE & WHEN & 3673=2928 & THEN & 3673 & ELSE & 3673:* & SELECT & 3673 & FROM & INFORMATION_SCHEMA.CHARACTER_SETS & END') 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 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CASE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WHEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3673=2928' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'THEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3673' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELSE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3673' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3673' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'END')) 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 'SELECT' OR upper(l.acc_txt) LIKE 'CASE' OR upper(l.acc_txt) LIKE 'WHEN' OR upper(l.acc_txt) LIKE '3673=2928' OR upper(l.acc_txt) LIKE 'THEN' OR upper(l.acc_txt) LIKE '3673' OR upper(l.acc_txt) LIKE 'ELSE' OR upper(l.acc_txt) LIKE '3673' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '3673' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'END')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:37:35 Duration: 40s601ms 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', 'SELECT & CASE & WHEN & 3673=2928 & THEN & 3673 & ELSE & 3673:* & SELECT & 3673 & FROM & INFORMATION_SCHEMA.CHARACTER_SETS & END') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'SELECT & CASE & WHEN & 3673=2928 & THEN & 3673 & ELSE & 3673:* & SELECT & 3673 & FROM & INFORMATION_SCHEMA.CHARACTER_SETS & END') 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 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CASE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'WHEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3673=2928' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'THEN' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3673' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ELSE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3673' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '3673' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'END')) 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 'SELECT' OR upper(l.acc_txt) LIKE 'CASE' OR upper(l.acc_txt) LIKE 'WHEN' OR upper(l.acc_txt) LIKE '3673=2928' OR upper(l.acc_txt) LIKE 'THEN' OR upper(l.acc_txt) LIKE '3673' OR upper(l.acc_txt) LIKE 'ELSE' OR upper(l.acc_txt) LIKE '3673' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '3673' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'INFORMATION_SCHEMA.CHARACTER_SETS' OR upper(l.acc_txt) LIKE 'END')) ii GROUP BY ii.cd;
Date: 2024-08-08 04:36:34 Duration: 40s327ms Bind query: yes
14 37s642ms 37s810ms 37s746ms 3 1m53s 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 ?)) 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 ?)) ii group by ii.cd;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Aug 08 05 3 1m53s 37s746ms [ User: pubeu - Total duration: 1m15s - 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', 'COH1 & AND & 4058=DBMS_PIPE.RECEIVE_MESSAGE & CHR & 83 & CHR & 113 & CHR & 87 & CHR & 101 & ,5') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'COH1 & AND & 4058=DBMS_PIPE.RECEIVE_MESSAGE & CHR & 83 & CHR & 113 & CHR & 87 & CHR & 101 & ,5') 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 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4058=DBMS_PIPE.RECEIVE_MESSAGE' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '83' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '113' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '87' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CHR' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '101' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE ',5')) 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 'COH1' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '4058=DBMS_PIPE.RECEIVE_MESSAGE' OR upper(l.acc_txt) LIKE 'CHR' OR upper(l.acc_txt) LIKE '83' OR upper(l.acc_txt) LIKE 'CHR' OR upper(l.acc_txt) LIKE '113' OR upper(l.acc_txt) LIKE 'CHR' OR upper(l.acc_txt) LIKE '87' OR upper(l.acc_txt) LIKE 'CHR' OR upper(l.acc_txt) LIKE '101' OR upper(l.acc_txt) LIKE ',5')) ii GROUP BY ii.cd;
Date: 2024-08-08 05:03:27 Duration: 37s810ms 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', 'COH1 & AND & 4562= & SELECT & 4562 & FROM & PG_SLEEP & 5 & AND & FOLJ & = & FOLJ') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'COH1 & AND & 4562= & SELECT & 4562 & FROM & PG_SLEEP & 5 & AND & FOLJ & = & FOLJ') 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 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4562=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4562' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'PG_SLEEP' 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 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FOLJ' 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 'FOLJ')) 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 'COH1' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '4562=' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '4562' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'PG_SLEEP' OR upper(l.acc_txt) LIKE '5' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'FOLJ' OR upper(l.acc_txt) LIKE '=' OR upper(l.acc_txt) LIKE 'FOLJ')) ii GROUP BY ii.cd;
Date: 2024-08-08 05:00:45 Duration: 37s785ms 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', 'COH1 & AND & 4562= & SELECT & 4562 & FROM & PG_SLEEP & 5 & AND & CVPN & = & CVPN') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'COH1 & AND & 4562= & SELECT & 4562 & FROM & PG_SLEEP & 5 & AND & CVPN & = & CVPN') 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 'COH1' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4562=' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '4562' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'FROM' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'PG_SLEEP' 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 'AND' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'CVPN' 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 'CVPN')) 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 'COH1' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE '4562=' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '4562' OR upper(l.acc_txt) LIKE 'FROM' OR upper(l.acc_txt) LIKE 'PG_SLEEP' OR upper(l.acc_txt) LIKE '5' OR upper(l.acc_txt) LIKE 'AND' OR upper(l.acc_txt) LIKE 'CVPN' OR upper(l.acc_txt) LIKE '=' OR upper(l.acc_txt) LIKE 'CVPN')) ii GROUP BY ii.cd;
Date: 2024-08-08 05:01:15 Duration: 37s642ms Database: ctdprd51 User: pubeu Bind query: yes
15 33s313ms 33s515ms 33s415ms 4 2m13s 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 #15
Day Hour Count Duration Avg duration Aug 08 06 1 33s454ms 33s454ms 10 1 33s381ms 33s381ms 14 1 33s313ms 33s313ms 18 1 33s515ms 33s515ms [ User: postgres - Total duration: 2m13s - Times executed: 4 ]
[ Application: pg_dump - Total duration: 2m13s - 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-08-08 18:05:35 Duration: 33s515ms 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-08-08 06:05:35 Duration: 33s454ms 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-08-08 10:05:34 Duration: 33s381ms Database: ctdprd51 User: postgres Application: pg_dump
16 21s295ms 21s622ms 21s473ms 10 3m34s 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 ?)) 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 Aug 08 05 10 3m34s 21s473ms [ User: pubeu - Total duration: 1m47s - Times executed: 5 ]
-
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', 'COH1% & UNION & ALL & SELECT & (NULL,NULL-- | NULL,NULL) & HZEH') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'COH1% & UNION & ALL & SELECT & (NULL,NULL-- | NULL,NULL) & HZEH') 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 'COH1%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'UNION' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALL' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '(NULL,NULL--' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'NULL,NULL)' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'HZEH')) 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 'COH1%' OR upper(l.acc_txt) LIKE 'UNION' OR upper(l.acc_txt) LIKE 'ALL' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'NULL,NULL--' OR upper(l.acc_txt) LIKE 'HZEH')) ii GROUP BY ii.cd;
Date: 2024-08-08 05:12:39 Duration: 21s622ms 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', 'COH1% & UNION & ALL & SELECT & (NULL-- | NULL) & BCWR') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'COH1% & UNION & ALL & SELECT & (NULL-- | NULL) & BCWR') 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 'COH1%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'UNION' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALL' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '(NULL--' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'NULL)' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BCWR')) 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 'COH1%' OR upper(l.acc_txt) LIKE 'UNION' OR upper(l.acc_txt) LIKE 'ALL' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'NULL--' OR upper(l.acc_txt) LIKE 'BCWR')) ii GROUP BY ii.cd;
Date: 2024-08-08 05:12:13 Duration: 21s619ms 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', 'COH1% & UNION & ALL & SELECT & (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL-- | NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL) & QUPF') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'COH1% & UNION & ALL & SELECT & (NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL-- | NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL) & QUPF') 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 'COH1%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'UNION' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALL' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '(NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL--' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL)' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'QUPF')) 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 'COH1%' OR upper(l.acc_txt) LIKE 'UNION' OR upper(l.acc_txt) LIKE 'ALL' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE 'NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL--' OR upper(l.acc_txt) LIKE 'QUPF')) ii GROUP BY ii.cd;
Date: 2024-08-08 05:15:11 Duration: 21s555ms Bind query: yes
17 18s580ms 18s961ms 18s806ms 11 3m26s 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 ?)) ii group by ii.cd;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Aug 08 05 11 3m26s 18s806ms [ User: pubeu - Total duration: 1m15s - Times executed: 4 ]
-
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', 'COH1% & ORDER & BY & (1-- | 1) & JFJK') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', 'COH1% & ORDER & BY & (1-- | 1) & JFJK') 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 'COH1%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ORDER' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'BY' 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 '1)' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'JFJK')) 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 'COH1%' OR upper(l.acc_txt) LIKE 'ORDER' OR upper(l.acc_txt) LIKE 'BY' OR upper(l.acc_txt) LIKE '1--' OR upper(l.acc_txt) LIKE 'JFJK')) ii GROUP BY ii.cd;
Date: 2024-08-08 05:11:43 Duration: 18s961ms 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', '(-9451% | 9451%) & UNION & ALL & SELECT & 68,68,68,68#') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '(-9451% | 9451%) & UNION & ALL & SELECT & 68,68,68,68#') 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 '(-9451%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '9451%)' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'UNION' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALL' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '68,68,68,68#')) 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 '-9451%' OR upper(l.acc_txt) LIKE 'UNION' OR upper(l.acc_txt) LIKE 'ALL' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '68,68,68,68#')) ii GROUP BY ii.cd;
Date: 2024-08-08 05:23:57 Duration: 18s947ms 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', '(-7489% | 7489%) & UNION & ALL & SELECT & 68,68,68,68,68,68,68#') UNION SELECT 'reference', r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english', '(-7489% | 7489%) & UNION & ALL & SELECT & 68,68,68,68,68,68,68#') 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 '(-7489%' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '7489%)' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'UNION' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'ALL' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE 'SELECT' OR SUBSTR(get_reference_party_nm_sort (rp.required_nm), 1, 128) LIKE '68,68,68,68,68,68,68#')) 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 '-7489%' OR upper(l.acc_txt) LIKE 'UNION' OR upper(l.acc_txt) LIKE 'ALL' OR upper(l.acc_txt) LIKE 'SELECT' OR upper(l.acc_txt) LIKE '68,68,68,68,68,68,68#')) ii GROUP BY ii.cd;
Date: 2024-08-08 05:25:05 Duration: 18s941ms Bind query: yes
18 1s3ms 11s945ms 5s889ms 22 2m9s 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 #18
Day Hour Count Duration Avg duration Aug 08 01 1 10s716ms 10s716ms 03 14 1m46s 7s594ms 05 1 2s644ms 2s644ms 17 1 2s651ms 2s651ms 20 2 2s405ms 1s202ms 21 1 2s562ms 2s562ms 22 2 2s266ms 1s133ms [ User: pubeu - Total duration: 1m11s - Times executed: 14 ]
-
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 = '2084677') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-08-08 03:48:16 Duration: 11s945ms 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 = '2084677') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-08-08 03:48:14 Duration: 11s384ms 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 = '2082921') ORDER BY actionTypes, gd.network_score DESC NULLS LAST, g.nm_sort, d.nm_sort LIMIT 50;
Date: 2024-08-08 03:21:40 Duration: 11s357ms Database: ctdprd51 User: pubeu Bind query: yes
19 1s13ms 5s794ms 4s983ms 25 2m4s 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 #19
Day Hour Count Duration Avg duration Aug 08 02 3 15s848ms 5s282ms 06 1 1s13ms 1s13ms 07 1 5s36ms 5s36ms 10 3 11s179ms 3s726ms 12 1 4s866ms 4s866ms 22 7 38s866ms 5s552ms 23 9 47s774ms 5s308ms [ User: pubeu - Total duration: 1m20s - Times executed: 17 ]
-
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 = '1308960' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-08-08 23:41:23 Duration: 5s794ms 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 = '1322344' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-08-08 22:09:00 Duration: 5s728ms 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 = '1322344' AND te.enriched_object_type_id = 5 ORDER BY te.corrected_p_val, d.abbr, gt.nm_sort LIMIT 50;
Date: 2024-08-08 22:08:55 Duration: 5s697ms Bind query: yes
20 3s800ms 16s163ms 4s232ms 54 3m48s 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 #20
Day Hour Count Duration Avg duration Aug 08 00 1 4s1ms 4s1ms 01 2 7s815ms 3s907ms 02 6 23s746ms 3s957ms 03 3 11s729ms 3s909ms 04 2 7s972ms 3s986ms 05 2 7s831ms 3s915ms 06 3 11s863ms 3s954ms 08 7 27s731ms 3s961ms 09 5 21s459ms 4s291ms 10 1 4s49ms 4s49ms 11 1 4s191ms 4s191ms 12 1 16s163ms 16s163ms 13 2 8s410ms 4s205ms 14 2 7s864ms 3s932ms 15 2 7s649ms 3s824ms 18 1 4s93ms 4s93ms 19 3 12s187ms 4s62ms 20 4 16s70ms 4s17ms 21 1 3s886ms 3s886ms 22 2 8s70ms 4s35ms 23 3 11s773ms 3s924ms [ User: pubeu - Total duration: 3m - Times executed: 45 ]
-
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 = '1391044') 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 = '1391044') 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-08-08 12:05:22 Duration: 16s163ms 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 = '1335779') 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 = '1335779') 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-08-08 09:52:51 Duration: 5s654ms Database: ctdprd51 User: pubeu Bind query: yes
-
SELECT /* ChemDiseasesBySlimDAO */ COALESCE(st.alt_nm, t.nm) slimTermNm, ( SELECT COUNT(*) FROM slim_term_mapping stm INNER JOIN chem_disease cd ON cd.disease_id = stm.mapped_term_id WHERE cd.chem_id IN ( SELECT p.descendant_object_id FROM dag_path p WHERE p.ancestor_object_id = '1294854') 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 = '1294854') 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-08-08 13:57:51 Duration: 4s420ms Database: ctdprd51 User: pubeu 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 35 0ms 0ms 0ms ;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Aug 07 10 1 0ms 0ms Aug 08 04 28 0ms 0ms 05 2 0ms 0ms 06 1 0ms 0ms 07 2 0ms 0ms 14 1 0ms 0ms [ User: pubeu - Total duration: 17m7s - Times executed: 17 ]
-
;
Date: Duration: 0ms Database: postgres parameters: $1 = '4', $2 = 'A'
-
Events
Log levels
Key values
- 36,021 Log entries
Events distribution
Key values
- 0 PANIC entries
- 0 FATAL entries
- 102 ERROR entries
- 0 WARNING entries
Most Frequent Errors/Events
Key values
- 102 Max number of times the same event was reported
- 102 Total events found
Rank Times reported Error 1 102 ERROR: syntax error in ts"..."
Times Reported Most Frequent Error / Event #1
Day Hour Count Aug 08 04 27 05 75 - ERROR: syntax error in ts"COH1 & ZFWWCP< & >GMFCZQ"
- ERROR: syntax error in ts"COH1 & AND & SELECT & 7012 & FROM & SELECT & COUNT & ,CONCAT & 0X7171717171, & SELECT & ELT & 7012=7012,1 & ,0X716B706271,FLOOR & RAND & 0 & *2 & X & FROM & INFORMATION_SCHEMA.CHARACTER_SETS & GROUP & BY & X & A & (-- | ) & MNJK"
- ERROR: syntax error in ts"COH1 & AND & 5696=CAST & CHR & 113 & CHR & 113 & CHR & 113 & CHR & 113 & CHR & 113 & || & SELECT & CASE & WHEN & 5696=5696 & THEN & 1 & ELSE & 0 & END & TEXT & CHR & 113 & CHR & 107 & CHR & 112 & CHR & 98 & CHR & 113 & AS & NUMERIC & AND & 2787=2787"
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 ) ) 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 $6 OR upper( l.acc_txt ) LIKE $7 OR upper( l.acc_txt ) LIKE $8 ) ) ii GROUP BY ii.cd
Date: 2024-08-08 04:34:06
Statement: SELECT /* BasicCountsDAO gen */ ii.cd ,COUNT(ii.id) cnt FROM (SELECT ot.cd ,tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops',$1) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',$2) OR r.id IN (SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $3 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $4 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $5 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $6 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $7 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $8 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $9 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $10 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $11 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $12 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $13 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $14 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $15 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $16 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $17 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $18 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $19 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $20 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $21 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $22 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $23 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $24 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $25 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $26 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $27 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $28 ) ) 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 $29 OR upper( l.acc_txt ) LIKE $30 OR upper( l.acc_txt ) LIKE $31 OR upper( l.acc_txt ) LIKE $32 OR upper( l.acc_txt ) LIKE $33 OR upper( l.acc_txt ) LIKE $34 OR upper( l.acc_txt ) LIKE $35 OR upper( l.acc_txt ) LIKE $36 OR upper( l.acc_txt ) LIKE $37 OR upper( l.acc_txt ) LIKE $38 OR upper( l.acc_txt ) LIKE $39 OR upper( l.acc_txt ) LIKE $40 OR upper( l.acc_txt ) LIKE $41 OR upper( l.acc_txt ) LIKE $42 OR upper( l.acc_txt ) LIKE $43 OR upper( l.acc_txt ) LIKE $44 OR upper( l.acc_txt ) LIKE $45 OR upper( l.acc_txt ) LIKE $46 OR upper( l.acc_txt ) LIKE $47 OR upper( l.acc_txt ) LIKE $48 OR upper( l.acc_txt ) LIKE $49 OR upper( l.acc_txt ) LIKE $50 OR upper( l.acc_txt ) LIKE $51 OR upper( l.acc_txt ) LIKE $52 OR upper( l.acc_txt ) LIKE $53 ) ) ii GROUP BY ii.cd
Date: 2024-08-08 04:50:06
Statement: SELECT /* BasicCountsDAO gen */ ii.cd ,COUNT(ii.id) cnt FROM (SELECT ot.cd ,tl.term_id id FROM object_type ot INNER JOIN term_label tl ON ot.id = tl.object_type_id WHERE tl.nm_fts @@ to_tsquery('common.english_nostops',$1) UNION SELECT 'reference' ,r.id FROM reference r WHERE r.title_abstract_fts @@ to_tsquery('pg_catalog.english',$2) OR r.id IN (SELECT rpr.reference_id FROM reference_party_role rpr INNER JOIN reference_party rp ON rpr.reference_party_id = rp.id WHERE (SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $3 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $4 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $5 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $6 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $7 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $8 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $9 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $10 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $11 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $12 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $13 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $14 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $15 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $16 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $17 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $18 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $19 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $20 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $21 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $22 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $23 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $24 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $25 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $26 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $27 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $28 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $29 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $30 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $31 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $32 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $33 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $34 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $35 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $36 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $37 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $38 OR SUBSTR(get_reference_party_nm_sort(rp.required_nm),1,128) LIKE $39 ) ) 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 $40 OR upper( l.acc_txt ) LIKE $41 OR upper( l.acc_txt ) LIKE $42 OR upper( l.acc_txt ) LIKE $43 OR upper( l.acc_txt ) LIKE $44 OR upper( l.acc_txt ) LIKE $45 OR upper( l.acc_txt ) LIKE $46 OR upper( l.acc_txt ) LIKE $47 OR upper( l.acc_txt ) LIKE $48 OR upper( l.acc_txt ) LIKE $49 OR upper( l.acc_txt ) LIKE $50 OR upper( l.acc_txt ) LIKE $51 OR upper( l.acc_txt ) LIKE $52 OR upper( l.acc_txt ) LIKE $53 OR upper( l.acc_txt ) LIKE $54 OR upper( l.acc_txt ) LIKE $55 OR upper( l.acc_txt ) LIKE $56 OR upper( l.acc_txt ) LIKE $57 OR upper( l.acc_txt ) LIKE $58 OR upper( l.acc_txt ) LIKE $59 OR upper( l.acc_txt ) LIKE $60 OR upper( l.acc_txt ) LIKE $61 OR upper( l.acc_txt ) LIKE $62 OR upper( l.acc_txt ) LIKE $63 OR upper( l.acc_txt ) LIKE $64 OR upper( l.acc_txt ) LIKE $65 OR upper( l.acc_txt ) LIKE $66 OR upper( l.acc_txt ) LIKE $67 OR upper( l.acc_txt ) LIKE $68 OR upper( l.acc_txt ) LIKE $69 OR upper( l.acc_txt ) LIKE $70 OR upper( l.acc_txt ) LIKE $71 OR upper( l.acc_txt ) LIKE $72 OR upper( l.acc_txt ) LIKE $73 OR upper( l.acc_txt ) LIKE $74 OR upper( l.acc_txt ) LIKE $75 OR upper( l.acc_txt ) LIKE $76 ) ) ii GROUP BY ii.cd
Date: 2024-08-08 04:50:08