-
Global information
- Generated on Sat May 17 21:59:40 2025
- Log file: /home/postgres/pg_data/data/pg_log/postgresql-2025-05-17_230000.log
- Parsed 994,128 log entries in 39s
- Log start from 2025-05-17 23:00:00 to 2025-05-17 23:59:38
-
Overview
Global Stats
- 2,317 Number of unique normalized queries
- 70,219 Number of queries
- 1h30m59s Total query duration
- 2025-05-17 23:00:00 First query
- 2025-05-17 23:59:38 Last query
- 1,321 queries/s at 2025-05-17 23:30:04 Query peak
- 1h30m59s Total query duration
- 4s514ms Prepare/parse total duration
- 29s709ms Bind total duration
- 1h30m25s Execute total duration
- 0 Number of events
- 0 Number of unique normalized events
- 0 Max number of times the same event was reported
- 0 Number of cancellation
- 6 Total number of automatic vacuums
- 9 Total number of automatic analyzes
- 60 Number temporary file
- 4.63 MiB Max size of temporary file
- 4.46 MiB Average size of temporary file
- 2,525 Total number of sessions
- 12 sessions at 2025-05-17 23:51:52 Session peak
- 1d6h46m6s Total duration of sessions
- 43s868ms Average duration of sessions
- 27 Average queries per session
- 2s162ms Average queries duration per session
- 41s705ms Average idle time per session
- 2,525 Total number of connections
- 27 connections/s at 2025-05-17 23:13:48 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 1,321 queries/s Query Peak
- 2025-05-17 23:30:04 Date
SELECT Traffic
Key values
- 1,292 queries/s Query Peak
- 2025-05-17 23:30:04 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 233 queries/s Query Peak
- 2025-05-17 23:27:06 Date
Queries duration
Key values
- 1h30m59s Total query duration
Prepared queries ratio
Key values
- 0.00 Ratio of bind vs prepare
- 0.00 % Ratio between prepared and "usual" statements
General Activity
↑ Back to the top of the General Activity tableDay Hour Count Min duration Max duration Avg duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) May 17 23 70,219 0ms 16s287ms 77ms 2m49s 3m6s 3m32s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) May 17 23 38,335 0 1ms 802ms 1s850ms 3s970ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) May 17 23 27,537 953 0 0 0ms 137ms 565ms 1s27ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare May 17 23 18,011 53,738 2.98 25.93% Day Hour Count Average / Second May 17 23 2,525 0.70/s Day Hour Count Average Duration Average idle time May 17 23 2,525 43s868ms 41s719ms -
Connections
Established Connections
Key values
- 27 connections Connection Peak
- 2025-05-17 23:13:48 Date
Connections per database
Key values
- acaweb_fx Main Database
- 2,525 connections Total
Connections per user
Key values
- postgres Main User
- 2,525 connections Total
-
Sessions
Simultaneous sessions
Key values
- 12 sessions Session Peak
- 2025-05-17 23:51:52 Date
Histogram of session times
Key values
- 1,743 0-500ms duration
Sessions per database
Key values
- acaweb_fx Main Database
- 2,525 sessions Total
Sessions per user
Key values
- postgres Main User
- 2,525 sessions Total
Sessions per host
Key values
- 192.168.4.142 Main Host
- 2,525 sessions Total
Host Count Total Duration Average Duration 192.168.1.145 65 3h30m29s 3m14s 192.168.1.20 86 13h40m13s 9m32s 192.168.1.239 73 765ms 10ms 192.168.1.250 37 11h19m19s 18m21s 192.168.1.90 7 3s19ms 431ms 192.168.2.126 18 5s253ms 291ms 192.168.2.82 40 1h43m51s 2m35s 192.168.3.199 65 51s844ms 797ms 192.168.4.142 1,669 30m13s 1s86ms 192.168.4.33 67 24s620ms 367ms 192.168.4.98 330 11s379ms 34ms [local] 68 22s568ms 331ms -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 4,359 buffers Checkpoint Peak
- 2025-05-17 23:07:20 Date
- 209.485 seconds Highest write time
- 0.006 seconds Sync time
Checkpoints Wal files
Key values
- 2 files Wal files usage Peak
- 2025-05-17 23:07:20 Date
Checkpoints distance
Key values
- 45.29 Mo Distance Peak
- 2025-05-17 23:07:20 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time May 17 23 14,668 1,051.61s 0.037s 1,051.883s Day Hour Added Removed Recycled Synced files Longest sync Average sync May 17 23 0 0 5 876 0.006s 0s Day Hour Count Avg time (sec) May 17 23 0 0s Day Hour Mean distance Mean estimate May 17 23 6,906.33 kB 16,941.17 kB -
Temporary Files
Size of temporary files
Key values
- 9.26 MiB Temp Files size Peak
- 2025-05-17 23:11:56 Date
Number of temporary files
Key values
- 2 per second Temp Files Peak
- 2025-05-17 23:01:51 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size May 17 23 60 267.72 MiB 4.46 MiB Queries generating the most temporary files (N)
Rank Count Total size Min size Max size Avg size Query 1 60 267.72 MiB 4.21 MiB 4.63 MiB 4.46 MiB with rar_max as ( ;-
WITH rar_max as ( ;
Date: 2025-05-17 23:00:45 Duration: 0ms Database: acaweb_fx User: postgres Remote: 182.165.1.42 Application: [unknown]
Queries generating the largest temporary files
Rank Size Query 1 4.63 MiB WITH rar_max as ( ;[ Date: 2025-05-17 23:05:19 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver ]
2 4.63 MiB WITH rar_max as ( ;[ Date: 2025-05-17 23:06:45 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.145 - Application: PostgreSQL JDBC Driver ]
3 4.63 MiB WITH rar_max as ( ;[ Date: 2025-05-17 23:06:45 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.20 - Application: PostgreSQL JDBC Driver ]
4 4.63 MiB WITH rar_max as ( ;[ Date: 2025-05-17 23:10:09 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver ]
5 4.63 MiB WITH rar_max as ( ;[ Date: 2025-05-17 23:11:56 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.145 - Application: PostgreSQL JDBC Driver ]
6 4.63 MiB WITH rar_max as ( ;[ Date: 2025-05-17 23:11:56 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.20 - Application: PostgreSQL JDBC Driver ]
7 4.63 MiB WITH rar_max as ( ;[ Date: 2025-05-17 23:01:51 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.145 - Application: PostgreSQL JDBC Driver ]
8 4.63 MiB WITH rar_max as ( ;[ Date: 2025-05-17 23:01:51 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.20 - Application: PostgreSQL JDBC Driver ]
9 4.63 MiB WITH rar_max as ( ;[ Date: 2025-05-17 23:14:57 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver ]
10 4.63 MiB WITH rar_max as ( ;[ Date: 2025-05-17 23:16:55 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.20 - Application: PostgreSQL JDBC Driver ]
11 4.63 MiB WITH rar_max as ( ;[ Date: 2025-05-17 23:16:55 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.145 - Application: PostgreSQL JDBC Driver ]
12 4.63 MiB WITH rar_max as ( ;[ Date: 2025-05-17 23:20:34 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver ]
13 4.63 MiB WITH rar_max as ( ;[ Date: 2025-05-17 23:21:42 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.20 - Application: PostgreSQL JDBC Driver ]
14 4.63 MiB WITH rar_max as ( ;[ Date: 2025-05-17 23:21:45 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.145 - Application: PostgreSQL JDBC Driver ]
15 4.63 MiB WITH rar_max as ( ;[ Date: 2025-05-17 23:25:16 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver ]
16 4.63 MiB WITH rar_max as ( ;[ Date: 2025-05-17 23:26:43 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.145 - Application: PostgreSQL JDBC Driver ]
17 4.63 MiB WITH rar_max as ( ;[ Date: 2025-05-17 23:26:43 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.20 - Application: PostgreSQL JDBC Driver ]
18 4.63 MiB WITH rar_max as ( ;[ Date: 2025-05-17 23:46:42 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.145 - Application: PostgreSQL JDBC Driver ]
19 4.63 MiB WITH rar_max as ( ;[ Date: 2025-05-17 23:46:45 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.20 - Application: PostgreSQL JDBC Driver ]
20 4.63 MiB WITH rar_max as ( ;[ Date: 2025-05-17 23:48:44 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 0 sec Highest CPU-cost vacuum
Table
Database - Date
- 0 sec Highest CPU-cost analyze
Table
Database - Date
Analyzes per table
Key values
- public.datafeeds_latestrun (5) Main table analyzed (database acaweb_fx)
- 9 analyzes Total
Vacuums per table
Key values
- public.datafeeds_latestrun (4) Main table vacuumed on database acaweb_fx
- 6 vacuums Total
Index Buffer usage Skipped WAL usage Table Vacuums scans hits misses dirtied pins frozen records full page bytes acaweb_fx.public.datafeeds_latestrun 4 0 492 0 32 0 0 72 40 73,019 acaweb_fx.public.latest_t15_candle_view 1 1 93 0 1 0 0 6 1 9,037 acaweb_fx.pg_catalog.pg_attribute 1 1 936 0 163 0 64 401 158 885,102 Total 6 2 1,521 305 196 0 64 479 199 967,158 Tuples removed per table
Key values
- pg_catalog.pg_attribute (1015) Main table with removed tuples on database acaweb_fx
- 1313 tuples Total removed
Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs May 17 23 6 9 - 0 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- unknown Main Lock Type
- 0 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query NO DATASET
Queries that waited the most
Rank Wait time Query NO DATASET
-
Queries
Queries by type
Key values
- 38,335 Total read queries
- 31,129 Total write queries
Queries by database
Key values
- acaweb_fx Main database
- 62,914 Requests
- 1h30m17s (acaweb_fx)
- Main time consuming database
Queries by user
Key values
- postgres Main user
- 70,219 Requests
User Request type Count Duration postgres Total 70,219 1h30m25s cte 1,979 1h28m52s insert 27,537 24s787ms others 755 6s760ms select 38,335 1m tcl 660 193ms update 953 1s349ms Duration by user
Key values
- 1h30m25s (postgres) Main time consuming user
User Request type Count Duration postgres Total 70,219 1h30m25s cte 1,979 1h28m52s insert 27,537 24s787ms others 755 6s760ms select 38,335 1m tcl 660 193ms update 953 1s349ms Queries by host
Key values
- 192.168.4.142 Main host
- 18,270 Requests
- 31m50s (192.168.1.250)
- Main time consuming host
Host Request type Count Duration 127.0.0.1 Total 2,734 8s465ms insert 771 939ms select 1,483 7s378ms update 480 147ms 182.165.1.42 Total 120 7m1s cte 60 7m1s select 60 0ms 192.168.0.23 Total 6 0ms select 6 0ms 192.168.0.239 Total 71 31ms select 71 31ms 192.168.0.42 Total 112 101ms select 112 101ms 192.168.1.135 Total 28 25ms cte 1 2ms select 27 23ms 192.168.1.145 Total 17,260 25m5s cte 665 24m51s others 130 1ms select 16,465 13s624ms 192.168.1.20 Total 14,374 25m16s cte 654 25m5s others 172 1ms select 13,548 10s926ms 192.168.1.201 Total 392 264ms select 392 264ms 192.168.1.23 Total 615 408ms select 615 408ms 192.168.1.239 Total 292 150ms others 146 11ms select 146 138ms 192.168.1.250 Total 2,361 31m50s cte 598 31m49s others 74 0ms select 1,689 1s211ms 192.168.1.90 Total 8 2s914ms cte 1 2s903ms others 1 0ms select 6 10ms 192.168.1.93 Total 2 0ms select 2 0ms 192.168.2.126 Total 30 26ms others 12 0ms select 18 26ms 192.168.2.205 Total 89 7ms insert 89 7ms 192.168.2.82 Total 4,826 11s480ms insert 4,269 9s289ms others 80 7ms select 368 1s790ms update 109 392ms 192.168.3.199 Total 260 263ms others 130 11ms select 118 121ms update 12 129ms 192.168.4.142 Total 18,270 8s493ms insert 15,240 6s784ms select 3,030 1s708ms 192.168.4.33 Total 7,305 7s865ms insert 7,168 7s765ms select 137 99ms 192.168.4.98 Total 996 7s353ms others 6 6s520ms select 6 26ms tcl 660 193ms update 324 612ms [local] Total 68 22s424ms others 4 204ms select 36 22s153ms update 28 66ms Queries by application
Key values
- [unknown] Main application
- 35,120 Requests
- 1h22m14s (PostgreSQL JDBC Driver)
- Main time consuming application
Application Request type Count Duration PostgreSQL JDBC Driver Total 35,031 1h22m14s cte 1,918 1h21m47s others 188 2ms select 32,925 26s591ms [unknown] Total 35,120 7m48s cte 61 7m4s insert 27,537 24s787ms others 563 6s554ms select 5,374 11s301ms tcl 660 193ms update 925 1s282ms psql Total 68 22s424ms others 4 204ms select 36 22s153ms update 28 66ms Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2025-05-17 23:12:22 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 42,806 0-1ms duration
Slowest individual queries
Rank Duration Query 1 16s287ms WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), ar AS ( SELECT a.*, rr.age, rr.relevant from autochartist_results a LEFT OUTER JOIN relevance_autochartist_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_autochartist_results) END ), all_results AS ( SELECT ar.resultuid AS resultuid, ar.direction AS direction, ar.predictiontimeto AS predictiontimeto, ar.predictionpricefrom AS predictionpricefrom, ar.predictionpriceto AS predictionpriceto, cp.pip AS pip, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ar.pattern AS pattern_name, ar.breakout AS breakout, ar.patternendtime AS identified, dtt.timezone AS timezone, ar.patternlengthbars AS length, g.basegroupname, newLevels.profit, newLevels.stop, newLevels.filtered, CASE WHEN ar.age IS NOT NULL THEN ar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN ar.relevant IS NOT NULL THEN ar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM ar INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN brokersymbollist bsl ON bsl.brokerid = '627' AND bsl.symbolid = s.symbolid INNER JOIN symbolgroup sg on bsl.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON sg.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN autochartist_symbolupdates au on dss.symbolid = au.symbolid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('213' = 0 OR coalesce(bim.code, s.symbol) in ('#ADBE', '#ALVG', '#AMZN', '#APPL', '#BA', '#BABA', '#BAYGn', '#BMWG', '#BNPP', '#CAT', '#CBKG', '#DAIGn', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#META', '#MSFT', '#NFLX', '#TSLA', '#VOWG', '#WMT', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS_200', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CL_BRENT', 'DASHUSD', 'EOSUSD', 'ESP_35', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'EUR_50', 'FRA_40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'GBR_100', 'HKDJPY', 'HKG_50', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NAS100', 'NEOUSD', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'OMGUSD', 'SPX500', 'TRXUSD', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'USOIL', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XMRUSD', 'XPTUSD', 'XRPUSD', 'ZARJPY', 'ZECUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'HKDJPY', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'ZARJPY', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'DASHUSD', 'EOSUSD', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NEOUSD', 'OMGUSD', 'TRXUSD', 'XMRUSD', 'XRPUSD', 'ZECUSD', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XPTUSD', 'CL_BRENT', 'USOIL', '#ALVG', '#BAYGn', '#BMWG', '#BNPP', '#CBKG', '#DAIGn', '#VOWG', 'AUS_200', 'ESP_35', 'EUR_50', 'FRA_40', 'GBR_100', 'HKG_50', 'NAS100', 'SPX500', 'US30', '#ADBE', '#AMZN', '#APPL', '#BA', '#BABA', '#CAT', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#MSFT', '#NFLX', '#TSLA', '#WMT', '#XOM')) AND ('0' = 0 OR ar.pattern in ('')) AND ('0' = 0 OR ('0' = 1 AND ar.breakout >= 0) OR ('0' = 2 AND ar.breakout < 0)) AND ('400' = 0 OR ar.patternlengthbars <= '400') and newLevels.filtered = false AND ar.patternstarttime >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;[ Date: 2025-05-17 23:36:43 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.145 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
2 16s260ms WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), ar AS ( SELECT a.*, rr.age, rr.relevant from autochartist_results a LEFT OUTER JOIN relevance_autochartist_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_autochartist_results) END ), all_results AS ( SELECT ar.resultuid AS resultuid, ar.direction AS direction, ar.predictiontimeto AS predictiontimeto, ar.predictionpricefrom AS predictionpricefrom, ar.predictionpriceto AS predictionpriceto, cp.pip AS pip, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ar.pattern AS pattern_name, ar.breakout AS breakout, ar.patternendtime AS identified, dtt.timezone AS timezone, ar.patternlengthbars AS length, g.basegroupname, newLevels.profit, newLevels.stop, newLevels.filtered, CASE WHEN ar.age IS NOT NULL THEN ar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN ar.relevant IS NOT NULL THEN ar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM ar INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN brokersymbollist bsl ON bsl.brokerid = '627' AND bsl.symbolid = s.symbolid INNER JOIN symbolgroup sg on bsl.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON sg.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN autochartist_symbolupdates au on dss.symbolid = au.symbolid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('213' = 0 OR coalesce(bim.code, s.symbol) in ('#ADBE', '#ALVG', '#AMZN', '#APPL', '#BA', '#BABA', '#BAYGn', '#BMWG', '#BNPP', '#CAT', '#CBKG', '#DAIGn', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#META', '#MSFT', '#NFLX', '#TSLA', '#VOWG', '#WMT', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS_200', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CL_BRENT', 'DASHUSD', 'EOSUSD', 'ESP_35', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'EUR_50', 'FRA_40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'GBR_100', 'HKDJPY', 'HKG_50', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NAS100', 'NEOUSD', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'OMGUSD', 'SPX500', 'TRXUSD', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'USOIL', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XMRUSD', 'XPTUSD', 'XRPUSD', 'ZARJPY', 'ZECUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'HKDJPY', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'ZARJPY', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'DASHUSD', 'EOSUSD', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NEOUSD', 'OMGUSD', 'TRXUSD', 'XMRUSD', 'XRPUSD', 'ZECUSD', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XPTUSD', 'CL_BRENT', 'USOIL', '#ALVG', '#BAYGn', '#BMWG', '#BNPP', '#CBKG', '#DAIGn', '#VOWG', 'AUS_200', 'ESP_35', 'EUR_50', 'FRA_40', 'GBR_100', 'HKG_50', 'NAS100', 'SPX500', 'US30', '#ADBE', '#AMZN', '#APPL', '#BA', '#BABA', '#CAT', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#MSFT', '#NFLX', '#TSLA', '#WMT', '#XOM')) AND ('0' = 0 OR ar.pattern in ('')) AND ('0' = 0 OR ('0' = 1 AND ar.breakout >= 0) OR ('0' = 2 AND ar.breakout < 0)) AND ('400' = 0 OR ar.patternlengthbars <= '400') and newLevels.filtered = false AND ar.patternstarttime >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;[ Date: 2025-05-17 23:31:45 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.145 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
3 16s234ms WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), ar AS ( SELECT a.*, rr.age, rr.relevant from autochartist_results a LEFT OUTER JOIN relevance_autochartist_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_autochartist_results) END ), all_results AS ( SELECT ar.resultuid AS resultuid, ar.direction AS direction, ar.predictiontimeto AS predictiontimeto, ar.predictionpricefrom AS predictionpricefrom, ar.predictionpriceto AS predictionpriceto, cp.pip AS pip, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ar.pattern AS pattern_name, ar.breakout AS breakout, ar.patternendtime AS identified, dtt.timezone AS timezone, ar.patternlengthbars AS length, g.basegroupname, newLevels.profit, newLevels.stop, newLevels.filtered, CASE WHEN ar.age IS NOT NULL THEN ar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN ar.relevant IS NOT NULL THEN ar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM ar INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN brokersymbollist bsl ON bsl.brokerid = '627' AND bsl.symbolid = s.symbolid INNER JOIN symbolgroup sg on bsl.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON sg.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN autochartist_symbolupdates au on dss.symbolid = au.symbolid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('213' = 0 OR coalesce(bim.code, s.symbol) in ('#ADBE', '#ALVG', '#AMZN', '#APPL', '#BA', '#BABA', '#BAYGn', '#BMWG', '#BNPP', '#CAT', '#CBKG', '#DAIGn', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#META', '#MSFT', '#NFLX', '#TSLA', '#VOWG', '#WMT', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS_200', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CL_BRENT', 'DASHUSD', 'EOSUSD', 'ESP_35', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'EUR_50', 'FRA_40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'GBR_100', 'HKDJPY', 'HKG_50', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NAS100', 'NEOUSD', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'OMGUSD', 'SPX500', 'TRXUSD', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'USOIL', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XMRUSD', 'XPTUSD', 'XRPUSD', 'ZARJPY', 'ZECUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'HKDJPY', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'ZARJPY', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'DASHUSD', 'EOSUSD', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NEOUSD', 'OMGUSD', 'TRXUSD', 'XMRUSD', 'XRPUSD', 'ZECUSD', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XPTUSD', 'CL_BRENT', 'USOIL', '#ALVG', '#BAYGn', '#BMWG', '#BNPP', '#CBKG', '#DAIGn', '#VOWG', 'AUS_200', 'ESP_35', 'EUR_50', 'FRA_40', 'GBR_100', 'HKG_50', 'NAS100', 'SPX500', 'US30', '#ADBE', '#AMZN', '#APPL', '#BA', '#BABA', '#CAT', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#MSFT', '#NFLX', '#TSLA', '#WMT', '#XOM')) AND ('0' = 0 OR ar.pattern in ('')) AND ('0' = 0 OR ('0' = 1 AND ar.breakout >= 0) OR ('0' = 2 AND ar.breakout < 0)) AND ('400' = 0 OR ar.patternlengthbars <= '400') and newLevels.filtered = false AND ar.patternstarttime >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;[ Date: 2025-05-17 23:26:43 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.20 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
4 16s197ms WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), ar AS ( SELECT a.*, rr.age, rr.relevant from autochartist_results a LEFT OUTER JOIN relevance_autochartist_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_autochartist_results) END ), all_results AS ( SELECT ar.resultuid AS resultuid, ar.direction AS direction, ar.predictiontimeto AS predictiontimeto, ar.predictionpricefrom AS predictionpricefrom, ar.predictionpriceto AS predictionpriceto, cp.pip AS pip, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ar.pattern AS pattern_name, ar.breakout AS breakout, ar.patternendtime AS identified, dtt.timezone AS timezone, ar.patternlengthbars AS length, g.basegroupname, newLevels.profit, newLevels.stop, newLevels.filtered, CASE WHEN ar.age IS NOT NULL THEN ar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN ar.relevant IS NOT NULL THEN ar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM ar INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN brokersymbollist bsl ON bsl.brokerid = '627' AND bsl.symbolid = s.symbolid INNER JOIN symbolgroup sg on bsl.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON sg.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN autochartist_symbolupdates au on dss.symbolid = au.symbolid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('213' = 0 OR coalesce(bim.code, s.symbol) in ('#ADBE', '#ALVG', '#AMZN', '#APPL', '#BA', '#BABA', '#BAYGn', '#BMWG', '#BNPP', '#CAT', '#CBKG', '#DAIGn', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#META', '#MSFT', '#NFLX', '#TSLA', '#VOWG', '#WMT', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS_200', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CL_BRENT', 'DASHUSD', 'EOSUSD', 'ESP_35', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'EUR_50', 'FRA_40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'GBR_100', 'HKDJPY', 'HKG_50', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NAS100', 'NEOUSD', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'OMGUSD', 'SPX500', 'TRXUSD', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'USOIL', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XMRUSD', 'XPTUSD', 'XRPUSD', 'ZARJPY', 'ZECUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'HKDJPY', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'ZARJPY', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'DASHUSD', 'EOSUSD', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NEOUSD', 'OMGUSD', 'TRXUSD', 'XMRUSD', 'XRPUSD', 'ZECUSD', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XPTUSD', 'CL_BRENT', 'USOIL', '#ALVG', '#BAYGn', '#BMWG', '#BNPP', '#CBKG', '#DAIGn', '#VOWG', 'AUS_200', 'ESP_35', 'EUR_50', 'FRA_40', 'GBR_100', 'HKG_50', 'NAS100', 'SPX500', 'US30', '#ADBE', '#AMZN', '#APPL', '#BA', '#BABA', '#CAT', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#MSFT', '#NFLX', '#TSLA', '#WMT', '#XOM')) AND ('0' = 0 OR ar.pattern in ('')) AND ('0' = 0 OR ('0' = 1 AND ar.breakout >= 0) OR ('0' = 2 AND ar.breakout < 0)) AND ('400' = 0 OR ar.patternlengthbars <= '400') and newLevels.filtered = false AND ar.patternstarttime >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;[ Date: 2025-05-17 23:31:44 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.20 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
5 16s147ms WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), ar AS ( SELECT a.*, rr.age, rr.relevant from autochartist_results a LEFT OUTER JOIN relevance_autochartist_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_autochartist_results) END ), all_results AS ( SELECT ar.resultuid AS resultuid, ar.direction AS direction, ar.predictiontimeto AS predictiontimeto, ar.predictionpricefrom AS predictionpricefrom, ar.predictionpriceto AS predictionpriceto, cp.pip AS pip, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ar.pattern AS pattern_name, ar.breakout AS breakout, ar.patternendtime AS identified, dtt.timezone AS timezone, ar.patternlengthbars AS length, g.basegroupname, newLevels.profit, newLevels.stop, newLevels.filtered, CASE WHEN ar.age IS NOT NULL THEN ar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN ar.relevant IS NOT NULL THEN ar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM ar INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN brokersymbollist bsl ON bsl.brokerid = '627' AND bsl.symbolid = s.symbolid INNER JOIN symbolgroup sg on bsl.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON sg.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN autochartist_symbolupdates au on dss.symbolid = au.symbolid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('213' = 0 OR coalesce(bim.code, s.symbol) in ('#ADBE', '#ALVG', '#AMZN', '#APPL', '#BA', '#BABA', '#BAYGn', '#BMWG', '#BNPP', '#CAT', '#CBKG', '#DAIGn', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#META', '#MSFT', '#NFLX', '#TSLA', '#VOWG', '#WMT', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS_200', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CL_BRENT', 'DASHUSD', 'EOSUSD', 'ESP_35', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'EUR_50', 'FRA_40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'GBR_100', 'HKDJPY', 'HKG_50', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NAS100', 'NEOUSD', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'OMGUSD', 'SPX500', 'TRXUSD', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'USOIL', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XMRUSD', 'XPTUSD', 'XRPUSD', 'ZARJPY', 'ZECUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'HKDJPY', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'ZARJPY', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'DASHUSD', 'EOSUSD', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NEOUSD', 'OMGUSD', 'TRXUSD', 'XMRUSD', 'XRPUSD', 'ZECUSD', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XPTUSD', 'CL_BRENT', 'USOIL', '#ALVG', '#BAYGn', '#BMWG', '#BNPP', '#CBKG', '#DAIGn', '#VOWG', 'AUS_200', 'ESP_35', 'EUR_50', 'FRA_40', 'GBR_100', 'HKG_50', 'NAS100', 'SPX500', 'US30', '#ADBE', '#AMZN', '#APPL', '#BA', '#BABA', '#CAT', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#MSFT', '#NFLX', '#TSLA', '#WMT', '#XOM')) AND ('0' = 0 OR ar.pattern in ('')) AND ('0' = 0 OR ('0' = 1 AND ar.breakout >= 0) OR ('0' = 2 AND ar.breakout < 0)) AND ('400' = 0 OR ar.patternlengthbars <= '400') and newLevels.filtered = false AND ar.patternstarttime >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;[ Date: 2025-05-17 23:36:43 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.20 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
6 16s5ms WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), ar AS ( SELECT a.*, rr.age, rr.relevant from autochartist_results a LEFT OUTER JOIN relevance_autochartist_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_autochartist_results) END ), all_results AS ( SELECT ar.resultuid AS resultuid, ar.direction AS direction, ar.predictiontimeto AS predictiontimeto, ar.predictionpricefrom AS predictionpricefrom, ar.predictionpriceto AS predictionpriceto, cp.pip AS pip, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ar.pattern AS pattern_name, ar.breakout AS breakout, ar.patternendtime AS identified, dtt.timezone AS timezone, ar.patternlengthbars AS length, g.basegroupname, newLevels.profit, newLevels.stop, newLevels.filtered, CASE WHEN ar.age IS NOT NULL THEN ar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN ar.relevant IS NOT NULL THEN ar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM ar INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN brokersymbollist bsl ON bsl.brokerid = '627' AND bsl.symbolid = s.symbolid INNER JOIN symbolgroup sg on bsl.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON sg.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN autochartist_symbolupdates au on dss.symbolid = au.symbolid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('213' = 0 OR coalesce(bim.code, s.symbol) in ('#ADBE', '#ALVG', '#AMZN', '#APPL', '#BA', '#BABA', '#BAYGn', '#BMWG', '#BNPP', '#CAT', '#CBKG', '#DAIGn', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#META', '#MSFT', '#NFLX', '#TSLA', '#VOWG', '#WMT', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS_200', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CL_BRENT', 'DASHUSD', 'EOSUSD', 'ESP_35', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'EUR_50', 'FRA_40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'GBR_100', 'HKDJPY', 'HKG_50', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NAS100', 'NEOUSD', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'OMGUSD', 'SPX500', 'TRXUSD', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'USOIL', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XMRUSD', 'XPTUSD', 'XRPUSD', 'ZARJPY', 'ZECUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'HKDJPY', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'ZARJPY', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'DASHUSD', 'EOSUSD', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NEOUSD', 'OMGUSD', 'TRXUSD', 'XMRUSD', 'XRPUSD', 'ZECUSD', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XPTUSD', 'CL_BRENT', 'USOIL', '#ALVG', '#BAYGn', '#BMWG', '#BNPP', '#CBKG', '#DAIGn', '#VOWG', 'AUS_200', 'ESP_35', 'EUR_50', 'FRA_40', 'GBR_100', 'HKG_50', 'NAS100', 'SPX500', 'US30', '#ADBE', '#AMZN', '#APPL', '#BA', '#BABA', '#CAT', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#MSFT', '#NFLX', '#TSLA', '#WMT', '#XOM')) AND ('0' = 0 OR ar.pattern in ('')) AND ('0' = 0 OR ('0' = 1 AND ar.breakout >= 0) OR ('0' = 2 AND ar.breakout < 0)) AND ('400' = 0 OR ar.patternlengthbars <= '400') and newLevels.filtered = false AND ar.patternstarttime >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;[ Date: 2025-05-17 23:46:45 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.20 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
7 15s992ms WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), ar AS ( SELECT a.*, rr.age, rr.relevant from autochartist_results a LEFT OUTER JOIN relevance_autochartist_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_autochartist_results) END ), all_results AS ( SELECT ar.resultuid AS resultuid, ar.direction AS direction, ar.predictiontimeto AS predictiontimeto, ar.predictionpricefrom AS predictionpricefrom, ar.predictionpriceto AS predictionpriceto, cp.pip AS pip, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ar.pattern AS pattern_name, ar.breakout AS breakout, ar.patternendtime AS identified, dtt.timezone AS timezone, ar.patternlengthbars AS length, g.basegroupname, newLevels.profit, newLevels.stop, newLevels.filtered, CASE WHEN ar.age IS NOT NULL THEN ar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN ar.relevant IS NOT NULL THEN ar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM ar INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = s.symbolid INNER JOIN symbolgroup sg on bsl.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON sg.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN autochartist_symbolupdates au on dss.symbolid = au.symbolid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('310' = 0 OR coalesce(bim.code, s.symbol) in ('#AAPL', '#ADS', '#AIG', '#ALV', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BAS', '#BAYN', '#BEI', '#BIDU', '#BMW', '#C', '#CAT', '#CBK', '#CL', '#CSCO', '#CVX', '#DAI', '#DB1', '#DBK', '#DIS', '#DPW', '#DTE', '#EBAY', '#EON', '#F', '#FB', '#FDX', '#FME', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#IFX', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LHA', '#LMT', '#MA', '#MCD', '#META', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#RWE', '#SAP', '#SIE', '#T', '#UBER', '#V', '#VOW', '#WB', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS200', 'BRENT', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CHI50', 'ESP35', 'ETHUSD', 'EU50', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'FRA40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'LTCUSD', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'SPX500', 'UK100', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BTCUSD', 'ETHUSD', 'LTCUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BRENT', 'WTI', 'AUS200', 'CHI50', 'ESP35', 'EU50', 'FRA40', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'NAS100', 'SPX500', 'UK100', 'US30', 'AUDUSD', 'EURUSD', 'GBPUSD', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', '#AAPL', '#AIG', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BIDU', '#C', '#CAT', '#CL', '#CSCO', '#CVX', '#DIS', '#EBAY', '#F', '#FB', '#FDX', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#T', '#UBER', '#V', '#WB', '#XOM')) AND ('0' = 0 OR ar.pattern in ('')) AND ('0' = 0 OR ('0' = 1 AND ar.breakout >= 0) OR ('0' = 2 AND ar.breakout < 0)) AND ('400' = 0 OR ar.patternlengthbars <= '400') and newLevels.filtered = false AND ar.patternstarttime >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;[ Date: 2025-05-17 23:55:46 - Database: acaweb_fx - User: postgres - Remote: 182.165.1.42 - Application: [unknown] - Bind query: yes ]
8 15s979ms WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), ar AS ( SELECT a.*, rr.age, rr.relevant from autochartist_results a LEFT OUTER JOIN relevance_autochartist_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_autochartist_results) END ), all_results AS ( SELECT ar.resultuid AS resultuid, ar.direction AS direction, ar.predictiontimeto AS predictiontimeto, ar.predictionpricefrom AS predictionpricefrom, ar.predictionpriceto AS predictionpriceto, cp.pip AS pip, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ar.pattern AS pattern_name, ar.breakout AS breakout, ar.patternendtime AS identified, dtt.timezone AS timezone, ar.patternlengthbars AS length, g.basegroupname, newLevels.profit, newLevels.stop, newLevels.filtered, CASE WHEN ar.age IS NOT NULL THEN ar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN ar.relevant IS NOT NULL THEN ar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM ar INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN brokersymbollist bsl ON bsl.brokerid = '627' AND bsl.symbolid = s.symbolid INNER JOIN symbolgroup sg on bsl.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON sg.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN autochartist_symbolupdates au on dss.symbolid = au.symbolid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('213' = 0 OR coalesce(bim.code, s.symbol) in ('#ADBE', '#ALVG', '#AMZN', '#APPL', '#BA', '#BABA', '#BAYGn', '#BMWG', '#BNPP', '#CAT', '#CBKG', '#DAIGn', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#META', '#MSFT', '#NFLX', '#TSLA', '#VOWG', '#WMT', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS_200', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CL_BRENT', 'DASHUSD', 'EOSUSD', 'ESP_35', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'EUR_50', 'FRA_40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'GBR_100', 'HKDJPY', 'HKG_50', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NAS100', 'NEOUSD', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'OMGUSD', 'SPX500', 'TRXUSD', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'USOIL', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XMRUSD', 'XPTUSD', 'XRPUSD', 'ZARJPY', 'ZECUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'HKDJPY', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'ZARJPY', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'DASHUSD', 'EOSUSD', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NEOUSD', 'OMGUSD', 'TRXUSD', 'XMRUSD', 'XRPUSD', 'ZECUSD', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XPTUSD', 'CL_BRENT', 'USOIL', '#ALVG', '#BAYGn', '#BMWG', '#BNPP', '#CBKG', '#DAIGn', '#VOWG', 'AUS_200', 'ESP_35', 'EUR_50', 'FRA_40', 'GBR_100', 'HKG_50', 'NAS100', 'SPX500', 'US30', '#ADBE', '#AMZN', '#APPL', '#BA', '#BABA', '#CAT', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#MSFT', '#NFLX', '#TSLA', '#WMT', '#XOM')) AND ('0' = 0 OR ar.pattern in ('')) AND ('0' = 0 OR ('0' = 1 AND ar.breakout >= 0) OR ('0' = 2 AND ar.breakout < 0)) AND ('400' = 0 OR ar.patternlengthbars <= '400') and newLevels.filtered = false AND ar.patternstarttime >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;[ Date: 2025-05-17 23:11:56 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.20 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
9 15s973ms WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), ar AS ( SELECT a.*, rr.age, rr.relevant from autochartist_results a LEFT OUTER JOIN relevance_autochartist_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_autochartist_results) END ), all_results AS ( SELECT ar.resultuid AS resultuid, ar.direction AS direction, ar.predictiontimeto AS predictiontimeto, ar.predictionpricefrom AS predictionpricefrom, ar.predictionpriceto AS predictionpriceto, cp.pip AS pip, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ar.pattern AS pattern_name, ar.breakout AS breakout, ar.patternendtime AS identified, dtt.timezone AS timezone, ar.patternlengthbars AS length, g.basegroupname, newLevels.profit, newLevels.stop, newLevels.filtered, CASE WHEN ar.age IS NOT NULL THEN ar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN ar.relevant IS NOT NULL THEN ar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM ar INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN brokersymbollist bsl ON bsl.brokerid = '627' AND bsl.symbolid = s.symbolid INNER JOIN symbolgroup sg on bsl.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON sg.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN autochartist_symbolupdates au on dss.symbolid = au.symbolid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('213' = 0 OR coalesce(bim.code, s.symbol) in ('#ADBE', '#ALVG', '#AMZN', '#APPL', '#BA', '#BABA', '#BAYGn', '#BMWG', '#BNPP', '#CAT', '#CBKG', '#DAIGn', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#META', '#MSFT', '#NFLX', '#TSLA', '#VOWG', '#WMT', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS_200', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CL_BRENT', 'DASHUSD', 'EOSUSD', 'ESP_35', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'EUR_50', 'FRA_40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'GBR_100', 'HKDJPY', 'HKG_50', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NAS100', 'NEOUSD', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'OMGUSD', 'SPX500', 'TRXUSD', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'USOIL', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XMRUSD', 'XPTUSD', 'XRPUSD', 'ZARJPY', 'ZECUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'HKDJPY', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'ZARJPY', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'DASHUSD', 'EOSUSD', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NEOUSD', 'OMGUSD', 'TRXUSD', 'XMRUSD', 'XRPUSD', 'ZECUSD', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XPTUSD', 'CL_BRENT', 'USOIL', '#ALVG', '#BAYGn', '#BMWG', '#BNPP', '#CBKG', '#DAIGn', '#VOWG', 'AUS_200', 'ESP_35', 'EUR_50', 'FRA_40', 'GBR_100', 'HKG_50', 'NAS100', 'SPX500', 'US30', '#ADBE', '#AMZN', '#APPL', '#BA', '#BABA', '#CAT', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#MSFT', '#NFLX', '#TSLA', '#WMT', '#XOM')) AND ('0' = 0 OR ar.pattern in ('')) AND ('0' = 0 OR ('0' = 1 AND ar.breakout >= 0) OR ('0' = 2 AND ar.breakout < 0)) AND ('400' = 0 OR ar.patternlengthbars <= '400') and newLevels.filtered = false AND ar.patternstarttime >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;[ Date: 2025-05-17 23:21:42 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.20 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
10 15s966ms WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), ar AS ( SELECT a.*, rr.age, rr.relevant from autochartist_results a LEFT OUTER JOIN relevance_autochartist_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_autochartist_results) END ), all_results AS ( SELECT ar.resultuid AS resultuid, ar.direction AS direction, ar.predictiontimeto AS predictiontimeto, ar.predictionpricefrom AS predictionpricefrom, ar.predictionpriceto AS predictionpriceto, cp.pip AS pip, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ar.pattern AS pattern_name, ar.breakout AS breakout, ar.patternendtime AS identified, dtt.timezone AS timezone, ar.patternlengthbars AS length, g.basegroupname, newLevels.profit, newLevels.stop, newLevels.filtered, CASE WHEN ar.age IS NOT NULL THEN ar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN ar.relevant IS NOT NULL THEN ar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM ar INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN brokersymbollist bsl ON bsl.brokerid = '627' AND bsl.symbolid = s.symbolid INNER JOIN symbolgroup sg on bsl.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON sg.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN autochartist_symbolupdates au on dss.symbolid = au.symbolid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('213' = 0 OR coalesce(bim.code, s.symbol) in ('#ADBE', '#ALVG', '#AMZN', '#APPL', '#BA', '#BABA', '#BAYGn', '#BMWG', '#BNPP', '#CAT', '#CBKG', '#DAIGn', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#META', '#MSFT', '#NFLX', '#TSLA', '#VOWG', '#WMT', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS_200', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CL_BRENT', 'DASHUSD', 'EOSUSD', 'ESP_35', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'EUR_50', 'FRA_40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'GBR_100', 'HKDJPY', 'HKG_50', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NAS100', 'NEOUSD', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'OMGUSD', 'SPX500', 'TRXUSD', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'USOIL', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XMRUSD', 'XPTUSD', 'XRPUSD', 'ZARJPY', 'ZECUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'HKDJPY', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'ZARJPY', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'DASHUSD', 'EOSUSD', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NEOUSD', 'OMGUSD', 'TRXUSD', 'XMRUSD', 'XRPUSD', 'ZECUSD', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XPTUSD', 'CL_BRENT', 'USOIL', '#ALVG', '#BAYGn', '#BMWG', '#BNPP', '#CBKG', '#DAIGn', '#VOWG', 'AUS_200', 'ESP_35', 'EUR_50', 'FRA_40', 'GBR_100', 'HKG_50', 'NAS100', 'SPX500', 'US30', '#ADBE', '#AMZN', '#APPL', '#BA', '#BABA', '#CAT', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#MSFT', '#NFLX', '#TSLA', '#WMT', '#XOM')) AND ('0' = 0 OR ar.pattern in ('')) AND ('0' = 0 OR ('0' = 1 AND ar.breakout >= 0) OR ('0' = 2 AND ar.breakout < 0)) AND ('400' = 0 OR ar.patternlengthbars <= '400') and newLevels.filtered = false AND ar.patternstarttime >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;[ Date: 2025-05-17 23:26:43 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.145 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
11 15s924ms WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), ar AS ( SELECT a.*, rr.age, rr.relevant from autochartist_results a LEFT OUTER JOIN relevance_autochartist_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_autochartist_results) END ), all_results AS ( SELECT ar.resultuid AS resultuid, ar.direction AS direction, ar.predictiontimeto AS predictiontimeto, ar.predictionpricefrom AS predictionpricefrom, ar.predictionpriceto AS predictionpriceto, cp.pip AS pip, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ar.pattern AS pattern_name, ar.breakout AS breakout, ar.patternendtime AS identified, dtt.timezone AS timezone, ar.patternlengthbars AS length, g.basegroupname, newLevels.profit, newLevels.stop, newLevels.filtered, CASE WHEN ar.age IS NOT NULL THEN ar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN ar.relevant IS NOT NULL THEN ar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM ar INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN brokersymbollist bsl ON bsl.brokerid = '627' AND bsl.symbolid = s.symbolid INNER JOIN symbolgroup sg on bsl.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON sg.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN autochartist_symbolupdates au on dss.symbolid = au.symbolid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('213' = 0 OR coalesce(bim.code, s.symbol) in ('#ADBE', '#ALVG', '#AMZN', '#APPL', '#BA', '#BABA', '#BAYGn', '#BMWG', '#BNPP', '#CAT', '#CBKG', '#DAIGn', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#META', '#MSFT', '#NFLX', '#TSLA', '#VOWG', '#WMT', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS_200', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CL_BRENT', 'DASHUSD', 'EOSUSD', 'ESP_35', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'EUR_50', 'FRA_40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'GBR_100', 'HKDJPY', 'HKG_50', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NAS100', 'NEOUSD', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'OMGUSD', 'SPX500', 'TRXUSD', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'USOIL', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XMRUSD', 'XPTUSD', 'XRPUSD', 'ZARJPY', 'ZECUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'HKDJPY', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'ZARJPY', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'DASHUSD', 'EOSUSD', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NEOUSD', 'OMGUSD', 'TRXUSD', 'XMRUSD', 'XRPUSD', 'ZECUSD', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XPTUSD', 'CL_BRENT', 'USOIL', '#ALVG', '#BAYGn', '#BMWG', '#BNPP', '#CBKG', '#DAIGn', '#VOWG', 'AUS_200', 'ESP_35', 'EUR_50', 'FRA_40', 'GBR_100', 'HKG_50', 'NAS100', 'SPX500', 'US30', '#ADBE', '#AMZN', '#APPL', '#BA', '#BABA', '#CAT', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#MSFT', '#NFLX', '#TSLA', '#WMT', '#XOM')) AND ('0' = 0 OR ar.pattern in ('')) AND ('0' = 0 OR ('0' = 1 AND ar.breakout >= 0) OR ('0' = 2 AND ar.breakout < 0)) AND ('400' = 0 OR ar.patternlengthbars <= '400') and newLevels.filtered = false AND ar.patternstarttime >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;[ Date: 2025-05-17 23:56:45 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.20 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
12 15s913ms WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), ar AS ( SELECT a.*, rr.age, rr.relevant from autochartist_results a LEFT OUTER JOIN relevance_autochartist_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_autochartist_results) END ), all_results AS ( SELECT ar.resultuid AS resultuid, ar.direction AS direction, ar.predictiontimeto AS predictiontimeto, ar.predictionpricefrom AS predictionpricefrom, ar.predictionpriceto AS predictionpriceto, cp.pip AS pip, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ar.pattern AS pattern_name, ar.breakout AS breakout, ar.patternendtime AS identified, dtt.timezone AS timezone, ar.patternlengthbars AS length, g.basegroupname, newLevels.profit, newLevels.stop, newLevels.filtered, CASE WHEN ar.age IS NOT NULL THEN ar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN ar.relevant IS NOT NULL THEN ar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM ar INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN brokersymbollist bsl ON bsl.brokerid = '627' AND bsl.symbolid = s.symbolid INNER JOIN symbolgroup sg on bsl.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON sg.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN autochartist_symbolupdates au on dss.symbolid = au.symbolid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('213' = 0 OR coalesce(bim.code, s.symbol) in ('#ADBE', '#ALVG', '#AMZN', '#APPL', '#BA', '#BABA', '#BAYGn', '#BMWG', '#BNPP', '#CAT', '#CBKG', '#DAIGn', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#META', '#MSFT', '#NFLX', '#TSLA', '#VOWG', '#WMT', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS_200', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CL_BRENT', 'DASHUSD', 'EOSUSD', 'ESP_35', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'EUR_50', 'FRA_40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'GBR_100', 'HKDJPY', 'HKG_50', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NAS100', 'NEOUSD', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'OMGUSD', 'SPX500', 'TRXUSD', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'USOIL', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XMRUSD', 'XPTUSD', 'XRPUSD', 'ZARJPY', 'ZECUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'HKDJPY', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'ZARJPY', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'DASHUSD', 'EOSUSD', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NEOUSD', 'OMGUSD', 'TRXUSD', 'XMRUSD', 'XRPUSD', 'ZECUSD', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XPTUSD', 'CL_BRENT', 'USOIL', '#ALVG', '#BAYGn', '#BMWG', '#BNPP', '#CBKG', '#DAIGn', '#VOWG', 'AUS_200', 'ESP_35', 'EUR_50', 'FRA_40', 'GBR_100', 'HKG_50', 'NAS100', 'SPX500', 'US30', '#ADBE', '#AMZN', '#APPL', '#BA', '#BABA', '#CAT', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#MSFT', '#NFLX', '#TSLA', '#WMT', '#XOM')) AND ('0' = 0 OR ar.pattern in ('')) AND ('0' = 0 OR ('0' = 1 AND ar.breakout >= 0) OR ('0' = 2 AND ar.breakout < 0)) AND ('400' = 0 OR ar.patternlengthbars <= '400') and newLevels.filtered = false AND ar.patternstarttime >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;[ Date: 2025-05-17 23:01:51 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.20 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
13 15s906ms WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), ar AS ( SELECT a.*, rr.age, rr.relevant from autochartist_results a LEFT OUTER JOIN relevance_autochartist_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_autochartist_results) END ), all_results AS ( SELECT ar.resultuid AS resultuid, ar.direction AS direction, ar.predictiontimeto AS predictiontimeto, ar.predictionpricefrom AS predictionpricefrom, ar.predictionpriceto AS predictionpriceto, cp.pip AS pip, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ar.pattern AS pattern_name, ar.breakout AS breakout, ar.patternendtime AS identified, dtt.timezone AS timezone, ar.patternlengthbars AS length, g.basegroupname, newLevels.profit, newLevels.stop, newLevels.filtered, CASE WHEN ar.age IS NOT NULL THEN ar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN ar.relevant IS NOT NULL THEN ar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM ar INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN brokersymbollist bsl ON bsl.brokerid = '627' AND bsl.symbolid = s.symbolid INNER JOIN symbolgroup sg on bsl.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON sg.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN autochartist_symbolupdates au on dss.symbolid = au.symbolid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('213' = 0 OR coalesce(bim.code, s.symbol) in ('#ADBE', '#ALVG', '#AMZN', '#APPL', '#BA', '#BABA', '#BAYGn', '#BMWG', '#BNPP', '#CAT', '#CBKG', '#DAIGn', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#META', '#MSFT', '#NFLX', '#TSLA', '#VOWG', '#WMT', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS_200', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CL_BRENT', 'DASHUSD', 'EOSUSD', 'ESP_35', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'EUR_50', 'FRA_40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'GBR_100', 'HKDJPY', 'HKG_50', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NAS100', 'NEOUSD', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'OMGUSD', 'SPX500', 'TRXUSD', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'USOIL', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XMRUSD', 'XPTUSD', 'XRPUSD', 'ZARJPY', 'ZECUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'HKDJPY', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'ZARJPY', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'DASHUSD', 'EOSUSD', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NEOUSD', 'OMGUSD', 'TRXUSD', 'XMRUSD', 'XRPUSD', 'ZECUSD', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XPTUSD', 'CL_BRENT', 'USOIL', '#ALVG', '#BAYGn', '#BMWG', '#BNPP', '#CBKG', '#DAIGn', '#VOWG', 'AUS_200', 'ESP_35', 'EUR_50', 'FRA_40', 'GBR_100', 'HKG_50', 'NAS100', 'SPX500', 'US30', '#ADBE', '#AMZN', '#APPL', '#BA', '#BABA', '#CAT', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#MSFT', '#NFLX', '#TSLA', '#WMT', '#XOM')) AND ('0' = 0 OR ar.pattern in ('')) AND ('0' = 0 OR ('0' = 1 AND ar.breakout >= 0) OR ('0' = 2 AND ar.breakout < 0)) AND ('400' = 0 OR ar.patternlengthbars <= '400') and newLevels.filtered = false AND ar.patternstarttime >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;[ Date: 2025-05-17 23:16:55 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.145 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
14 15s897ms WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), ar AS ( SELECT a.*, rr.age, rr.relevant from autochartist_results a LEFT OUTER JOIN relevance_autochartist_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_autochartist_results) END ), all_results AS ( SELECT ar.resultuid AS resultuid, ar.direction AS direction, ar.predictiontimeto AS predictiontimeto, ar.predictionpricefrom AS predictionpricefrom, ar.predictionpriceto AS predictionpriceto, cp.pip AS pip, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ar.pattern AS pattern_name, ar.breakout AS breakout, ar.patternendtime AS identified, dtt.timezone AS timezone, ar.patternlengthbars AS length, g.basegroupname, newLevels.profit, newLevels.stop, newLevels.filtered, CASE WHEN ar.age IS NOT NULL THEN ar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN ar.relevant IS NOT NULL THEN ar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM ar INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN brokersymbollist bsl ON bsl.brokerid = '627' AND bsl.symbolid = s.symbolid INNER JOIN symbolgroup sg on bsl.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON sg.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN autochartist_symbolupdates au on dss.symbolid = au.symbolid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('213' = 0 OR coalesce(bim.code, s.symbol) in ('#ADBE', '#ALVG', '#AMZN', '#APPL', '#BA', '#BABA', '#BAYGn', '#BMWG', '#BNPP', '#CAT', '#CBKG', '#DAIGn', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#META', '#MSFT', '#NFLX', '#TSLA', '#VOWG', '#WMT', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS_200', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CL_BRENT', 'DASHUSD', 'EOSUSD', 'ESP_35', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'EUR_50', 'FRA_40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'GBR_100', 'HKDJPY', 'HKG_50', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NAS100', 'NEOUSD', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'OMGUSD', 'SPX500', 'TRXUSD', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'USOIL', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XMRUSD', 'XPTUSD', 'XRPUSD', 'ZARJPY', 'ZECUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'HKDJPY', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'ZARJPY', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'DASHUSD', 'EOSUSD', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NEOUSD', 'OMGUSD', 'TRXUSD', 'XMRUSD', 'XRPUSD', 'ZECUSD', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XPTUSD', 'CL_BRENT', 'USOIL', '#ALVG', '#BAYGn', '#BMWG', '#BNPP', '#CBKG', '#DAIGn', '#VOWG', 'AUS_200', 'ESP_35', 'EUR_50', 'FRA_40', 'GBR_100', 'HKG_50', 'NAS100', 'SPX500', 'US30', '#ADBE', '#AMZN', '#APPL', '#BA', '#BABA', '#CAT', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#MSFT', '#NFLX', '#TSLA', '#WMT', '#XOM')) AND ('0' = 0 OR ar.pattern in ('')) AND ('0' = 0 OR ('0' = 1 AND ar.breakout >= 0) OR ('0' = 2 AND ar.breakout < 0)) AND ('400' = 0 OR ar.patternlengthbars <= '400') and newLevels.filtered = false AND ar.patternstarttime >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;[ Date: 2025-05-17 23:41:44 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.20 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
15 15s891ms WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), ar AS ( SELECT a.*, rr.age, rr.relevant from autochartist_results a LEFT OUTER JOIN relevance_autochartist_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_autochartist_results) END ), all_results AS ( SELECT ar.resultuid AS resultuid, ar.direction AS direction, ar.predictiontimeto AS predictiontimeto, ar.predictionpricefrom AS predictionpricefrom, ar.predictionpriceto AS predictionpriceto, cp.pip AS pip, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ar.pattern AS pattern_name, ar.breakout AS breakout, ar.patternendtime AS identified, dtt.timezone AS timezone, ar.patternlengthbars AS length, g.basegroupname, newLevels.profit, newLevels.stop, newLevels.filtered, CASE WHEN ar.age IS NOT NULL THEN ar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN ar.relevant IS NOT NULL THEN ar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM ar INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN brokersymbollist bsl ON bsl.brokerid = '627' AND bsl.symbolid = s.symbolid INNER JOIN symbolgroup sg on bsl.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON sg.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN autochartist_symbolupdates au on dss.symbolid = au.symbolid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('213' = 0 OR coalesce(bim.code, s.symbol) in ('#ADBE', '#ALVG', '#AMZN', '#APPL', '#BA', '#BABA', '#BAYGn', '#BMWG', '#BNPP', '#CAT', '#CBKG', '#DAIGn', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#META', '#MSFT', '#NFLX', '#TSLA', '#VOWG', '#WMT', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS_200', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CL_BRENT', 'DASHUSD', 'EOSUSD', 'ESP_35', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'EUR_50', 'FRA_40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'GBR_100', 'HKDJPY', 'HKG_50', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NAS100', 'NEOUSD', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'OMGUSD', 'SPX500', 'TRXUSD', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'USOIL', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XMRUSD', 'XPTUSD', 'XRPUSD', 'ZARJPY', 'ZECUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'HKDJPY', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'ZARJPY', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'DASHUSD', 'EOSUSD', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NEOUSD', 'OMGUSD', 'TRXUSD', 'XMRUSD', 'XRPUSD', 'ZECUSD', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XPTUSD', 'CL_BRENT', 'USOIL', '#ALVG', '#BAYGn', '#BMWG', '#BNPP', '#CBKG', '#DAIGn', '#VOWG', 'AUS_200', 'ESP_35', 'EUR_50', 'FRA_40', 'GBR_100', 'HKG_50', 'NAS100', 'SPX500', 'US30', '#ADBE', '#AMZN', '#APPL', '#BA', '#BABA', '#CAT', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#MSFT', '#NFLX', '#TSLA', '#WMT', '#XOM')) AND ('0' = 0 OR ar.pattern in ('')) AND ('0' = 0 OR ('0' = 1 AND ar.breakout >= 0) OR ('0' = 2 AND ar.breakout < 0)) AND ('400' = 0 OR ar.patternlengthbars <= '400') and newLevels.filtered = false AND ar.patternstarttime >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;[ Date: 2025-05-17 23:01:51 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.145 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
16 15s877ms WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), ar AS ( SELECT a.*, rr.age, rr.relevant from autochartist_results a LEFT OUTER JOIN relevance_autochartist_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_autochartist_results) END ), all_results AS ( SELECT ar.resultuid AS resultuid, ar.direction AS direction, ar.predictiontimeto AS predictiontimeto, ar.predictionpricefrom AS predictionpricefrom, ar.predictionpriceto AS predictionpriceto, cp.pip AS pip, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ar.pattern AS pattern_name, ar.breakout AS breakout, ar.patternendtime AS identified, dtt.timezone AS timezone, ar.patternlengthbars AS length, g.basegroupname, newLevels.profit, newLevels.stop, newLevels.filtered, CASE WHEN ar.age IS NOT NULL THEN ar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN ar.relevant IS NOT NULL THEN ar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM ar INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN brokersymbollist bsl ON bsl.brokerid = '627' AND bsl.symbolid = s.symbolid INNER JOIN symbolgroup sg on bsl.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON sg.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN autochartist_symbolupdates au on dss.symbolid = au.symbolid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('213' = 0 OR coalesce(bim.code, s.symbol) in ('#ADBE', '#ALVG', '#AMZN', '#APPL', '#BA', '#BABA', '#BAYGn', '#BMWG', '#BNPP', '#CAT', '#CBKG', '#DAIGn', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#META', '#MSFT', '#NFLX', '#TSLA', '#VOWG', '#WMT', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS_200', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CL_BRENT', 'DASHUSD', 'EOSUSD', 'ESP_35', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'EUR_50', 'FRA_40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'GBR_100', 'HKDJPY', 'HKG_50', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NAS100', 'NEOUSD', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'OMGUSD', 'SPX500', 'TRXUSD', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'USOIL', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XMRUSD', 'XPTUSD', 'XRPUSD', 'ZARJPY', 'ZECUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'HKDJPY', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'ZARJPY', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'DASHUSD', 'EOSUSD', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NEOUSD', 'OMGUSD', 'TRXUSD', 'XMRUSD', 'XRPUSD', 'ZECUSD', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XPTUSD', 'CL_BRENT', 'USOIL', '#ALVG', '#BAYGn', '#BMWG', '#BNPP', '#CBKG', '#DAIGn', '#VOWG', 'AUS_200', 'ESP_35', 'EUR_50', 'FRA_40', 'GBR_100', 'HKG_50', 'NAS100', 'SPX500', 'US30', '#ADBE', '#AMZN', '#APPL', '#BA', '#BABA', '#CAT', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#MSFT', '#NFLX', '#TSLA', '#WMT', '#XOM')) AND ('0' = 0 OR ar.pattern in ('')) AND ('0' = 0 OR ('0' = 1 AND ar.breakout >= 0) OR ('0' = 2 AND ar.breakout < 0)) AND ('400' = 0 OR ar.patternlengthbars <= '400') and newLevels.filtered = false AND ar.patternstarttime >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;[ Date: 2025-05-17 23:16:55 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.20 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
17 15s867ms WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), ar AS ( SELECT a.*, rr.age, rr.relevant from autochartist_results a LEFT OUTER JOIN relevance_autochartist_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_autochartist_results) END ), all_results AS ( SELECT ar.resultuid AS resultuid, ar.direction AS direction, ar.predictiontimeto AS predictiontimeto, ar.predictionpricefrom AS predictionpricefrom, ar.predictionpriceto AS predictionpriceto, cp.pip AS pip, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ar.pattern AS pattern_name, ar.breakout AS breakout, ar.patternendtime AS identified, dtt.timezone AS timezone, ar.patternlengthbars AS length, g.basegroupname, newLevels.profit, newLevels.stop, newLevels.filtered, CASE WHEN ar.age IS NOT NULL THEN ar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN ar.relevant IS NOT NULL THEN ar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM ar INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN brokersymbollist bsl ON bsl.brokerid = '627' AND bsl.symbolid = s.symbolid INNER JOIN symbolgroup sg on bsl.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON sg.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN autochartist_symbolupdates au on dss.symbolid = au.symbolid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('213' = 0 OR coalesce(bim.code, s.symbol) in ('#ADBE', '#ALVG', '#AMZN', '#APPL', '#BA', '#BABA', '#BAYGn', '#BMWG', '#BNPP', '#CAT', '#CBKG', '#DAIGn', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#META', '#MSFT', '#NFLX', '#TSLA', '#VOWG', '#WMT', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS_200', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CL_BRENT', 'DASHUSD', 'EOSUSD', 'ESP_35', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'EUR_50', 'FRA_40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'GBR_100', 'HKDJPY', 'HKG_50', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NAS100', 'NEOUSD', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'OMGUSD', 'SPX500', 'TRXUSD', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'USOIL', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XMRUSD', 'XPTUSD', 'XRPUSD', 'ZARJPY', 'ZECUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'HKDJPY', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'ZARJPY', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'DASHUSD', 'EOSUSD', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NEOUSD', 'OMGUSD', 'TRXUSD', 'XMRUSD', 'XRPUSD', 'ZECUSD', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XPTUSD', 'CL_BRENT', 'USOIL', '#ALVG', '#BAYGn', '#BMWG', '#BNPP', '#CBKG', '#DAIGn', '#VOWG', 'AUS_200', 'ESP_35', 'EUR_50', 'FRA_40', 'GBR_100', 'HKG_50', 'NAS100', 'SPX500', 'US30', '#ADBE', '#AMZN', '#APPL', '#BA', '#BABA', '#CAT', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#MSFT', '#NFLX', '#TSLA', '#WMT', '#XOM')) AND ('0' = 0 OR ar.pattern in ('')) AND ('0' = 0 OR ('0' = 1 AND ar.breakout >= 0) OR ('0' = 2 AND ar.breakout < 0)) AND ('400' = 0 OR ar.patternlengthbars <= '400') and newLevels.filtered = false AND ar.patternstarttime >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;[ Date: 2025-05-17 23:51:52 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.20 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
18 15s821ms WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), ar AS ( SELECT a.*, rr.age, rr.relevant from autochartist_results a LEFT OUTER JOIN relevance_autochartist_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_autochartist_results) END ), all_results AS ( SELECT ar.resultuid AS resultuid, ar.direction AS direction, ar.predictiontimeto AS predictiontimeto, ar.predictionpricefrom AS predictionpricefrom, ar.predictionpriceto AS predictionpriceto, cp.pip AS pip, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ar.pattern AS pattern_name, ar.breakout AS breakout, ar.patternendtime AS identified, dtt.timezone AS timezone, ar.patternlengthbars AS length, g.basegroupname, newLevels.profit, newLevels.stop, newLevels.filtered, CASE WHEN ar.age IS NOT NULL THEN ar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN ar.relevant IS NOT NULL THEN ar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM ar INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN brokersymbollist bsl ON bsl.brokerid = '627' AND bsl.symbolid = s.symbolid INNER JOIN symbolgroup sg on bsl.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON sg.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN autochartist_symbolupdates au on dss.symbolid = au.symbolid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('213' = 0 OR coalesce(bim.code, s.symbol) in ('#ADBE', '#ALVG', '#AMZN', '#APPL', '#BA', '#BABA', '#BAYGn', '#BMWG', '#BNPP', '#CAT', '#CBKG', '#DAIGn', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#META', '#MSFT', '#NFLX', '#TSLA', '#VOWG', '#WMT', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS_200', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CL_BRENT', 'DASHUSD', 'EOSUSD', 'ESP_35', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'EUR_50', 'FRA_40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'GBR_100', 'HKDJPY', 'HKG_50', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NAS100', 'NEOUSD', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'OMGUSD', 'SPX500', 'TRXUSD', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'USOIL', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XMRUSD', 'XPTUSD', 'XRPUSD', 'ZARJPY', 'ZECUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'HKDJPY', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'ZARJPY', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'DASHUSD', 'EOSUSD', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NEOUSD', 'OMGUSD', 'TRXUSD', 'XMRUSD', 'XRPUSD', 'ZECUSD', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XPTUSD', 'CL_BRENT', 'USOIL', '#ALVG', '#BAYGn', '#BMWG', '#BNPP', '#CBKG', '#DAIGn', '#VOWG', 'AUS_200', 'ESP_35', 'EUR_50', 'FRA_40', 'GBR_100', 'HKG_50', 'NAS100', 'SPX500', 'US30', '#ADBE', '#AMZN', '#APPL', '#BA', '#BABA', '#CAT', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#MSFT', '#NFLX', '#TSLA', '#WMT', '#XOM')) AND ('0' = 0 OR ar.pattern in ('')) AND ('0' = 0 OR ('0' = 1 AND ar.breakout >= 0) OR ('0' = 2 AND ar.breakout < 0)) AND ('400' = 0 OR ar.patternlengthbars <= '400') and newLevels.filtered = false AND ar.patternstarttime >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;[ Date: 2025-05-17 23:58:06 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
19 15s819ms WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), ar AS ( SELECT a.*, rr.age, rr.relevant from autochartist_results a LEFT OUTER JOIN relevance_autochartist_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_autochartist_results) END ), all_results AS ( SELECT ar.resultuid AS resultuid, ar.direction AS direction, ar.predictiontimeto AS predictiontimeto, ar.predictionpricefrom AS predictionpricefrom, ar.predictionpriceto AS predictionpriceto, cp.pip AS pip, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ar.pattern AS pattern_name, ar.breakout AS breakout, ar.patternendtime AS identified, dtt.timezone AS timezone, ar.patternlengthbars AS length, g.basegroupname, newLevels.profit, newLevels.stop, newLevels.filtered, CASE WHEN ar.age IS NOT NULL THEN ar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN ar.relevant IS NOT NULL THEN ar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM ar INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN brokersymbollist bsl ON bsl.brokerid = '627' AND bsl.symbolid = s.symbolid INNER JOIN symbolgroup sg on bsl.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON sg.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN autochartist_symbolupdates au on dss.symbolid = au.symbolid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('213' = 0 OR coalesce(bim.code, s.symbol) in ('#ADBE', '#ALVG', '#AMZN', '#APPL', '#BA', '#BABA', '#BAYGn', '#BMWG', '#BNPP', '#CAT', '#CBKG', '#DAIGn', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#META', '#MSFT', '#NFLX', '#TSLA', '#VOWG', '#WMT', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS_200', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CL_BRENT', 'DASHUSD', 'EOSUSD', 'ESP_35', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'EUR_50', 'FRA_40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'GBR_100', 'HKDJPY', 'HKG_50', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NAS100', 'NEOUSD', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'OMGUSD', 'SPX500', 'TRXUSD', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'USOIL', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XMRUSD', 'XPTUSD', 'XRPUSD', 'ZARJPY', 'ZECUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'HKDJPY', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'ZARJPY', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'DASHUSD', 'EOSUSD', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NEOUSD', 'OMGUSD', 'TRXUSD', 'XMRUSD', 'XRPUSD', 'ZECUSD', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XPTUSD', 'CL_BRENT', 'USOIL', '#ALVG', '#BAYGn', '#BMWG', '#BNPP', '#CBKG', '#DAIGn', '#VOWG', 'AUS_200', 'ESP_35', 'EUR_50', 'FRA_40', 'GBR_100', 'HKG_50', 'NAS100', 'SPX500', 'US30', '#ADBE', '#AMZN', '#APPL', '#BA', '#BABA', '#CAT', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#MSFT', '#NFLX', '#TSLA', '#WMT', '#XOM')) AND ('0' = 0 OR ar.pattern in ('')) AND ('0' = 0 OR ('0' = 1 AND ar.breakout >= 0) OR ('0' = 2 AND ar.breakout < 0)) AND ('400' = 0 OR ar.patternlengthbars <= '400') and newLevels.filtered = false AND ar.patternstarttime >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;[ Date: 2025-05-17 23:56:40 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.145 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
20 15s811ms WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), ar AS ( SELECT a.*, rr.age, rr.relevant from autochartist_results a LEFT OUTER JOIN relevance_autochartist_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_autochartist_results) END ), all_results AS ( SELECT ar.resultuid AS resultuid, ar.direction AS direction, ar.predictiontimeto AS predictiontimeto, ar.predictionpricefrom AS predictionpricefrom, ar.predictionpriceto AS predictionpriceto, cp.pip AS pip, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ar.pattern AS pattern_name, ar.breakout AS breakout, ar.patternendtime AS identified, dtt.timezone AS timezone, ar.patternlengthbars AS length, g.basegroupname, newLevels.profit, newLevels.stop, newLevels.filtered, CASE WHEN ar.age IS NOT NULL THEN ar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN ar.relevant IS NOT NULL THEN ar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM ar INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN brokersymbollist bsl ON bsl.brokerid = '627' AND bsl.symbolid = s.symbolid INNER JOIN symbolgroup sg on bsl.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON sg.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN autochartist_symbolupdates au on dss.symbolid = au.symbolid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('213' = 0 OR coalesce(bim.code, s.symbol) in ('#ADBE', '#ALVG', '#AMZN', '#APPL', '#BA', '#BABA', '#BAYGn', '#BMWG', '#BNPP', '#CAT', '#CBKG', '#DAIGn', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#META', '#MSFT', '#NFLX', '#TSLA', '#VOWG', '#WMT', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS_200', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CL_BRENT', 'DASHUSD', 'EOSUSD', 'ESP_35', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'EUR_50', 'FRA_40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'GBR_100', 'HKDJPY', 'HKG_50', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NAS100', 'NEOUSD', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'OMGUSD', 'SPX500', 'TRXUSD', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'USOIL', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XMRUSD', 'XPTUSD', 'XRPUSD', 'ZARJPY', 'ZECUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'HKDJPY', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'ZARJPY', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'DASHUSD', 'EOSUSD', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NEOUSD', 'OMGUSD', 'TRXUSD', 'XMRUSD', 'XRPUSD', 'ZECUSD', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XPTUSD', 'CL_BRENT', 'USOIL', '#ALVG', '#BAYGn', '#BMWG', '#BNPP', '#CBKG', '#DAIGn', '#VOWG', 'AUS_200', 'ESP_35', 'EUR_50', 'FRA_40', 'GBR_100', 'HKG_50', 'NAS100', 'SPX500', 'US30', '#ADBE', '#AMZN', '#APPL', '#BA', '#BABA', '#CAT', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#MSFT', '#NFLX', '#TSLA', '#WMT', '#XOM')) AND ('0' = 0 OR ar.pattern in ('')) AND ('0' = 0 OR ('0' = 1 AND ar.breakout >= 0) OR ('0' = 2 AND ar.breakout < 0)) AND ('400' = 0 OR ar.patternlengthbars <= '400') and newLevels.filtered = false AND ar.patternstarttime >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;[ Date: 2025-05-17 23:06:45 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.20 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
Time consuming queries
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 41m16s 314 379ms 16s287ms 7s885ms with rar_max as ( select resultuid from relevance_autochartist_results order by resultuid desc limit ? ), ar as ( select a.*, rr.age, rr.relevant from autochartist_results a left outer join relevance_autochartist_results rr on a.resultuid = rr.resultuid where case when false = ? then true else a.resultuid > ( select min(resultuid) from relevance_autochartist_results) end ), all_results as ( select ar.resultuid as resultuid, ar.direction as direction, ar.predictiontimeto as predictiontimeto, ar.predictionpricefrom as predictionpricefrom, ar.predictionpriceto as predictionpriceto, cp.pip as pip, s.exchange as exchange, s.symbolid as symbolid, coalesce(bim.code, s.symbol) as symbol_code, s.longname as symbol_name, s.timegranularity as interval, ar.pattern as pattern_name, ar.breakout as breakout, ar.patternendtime as identified, dtt.timezone as timezone, ar.patternlengthbars as length, g.basegroupname, newlevels.profit, newlevels.stop, newlevels.filtered, case when ar.age is not null then ar.age when ar.resultuid <= rm.resultuid then ? else ? end as age, case when ar.relevant is not null then ar.relevant when ar.resultuid <= rm.resultuid then ? else ? end as relevant from ar inner join symbols s on ar.symbolid = s.symbolid and s.nonliquid = ? inner join brokersymbollist bsl on bsl.brokerid = ? and bsl.symbolid = s.symbolid inner join symbolgroup sg on bsl.symbolid = sg.symbolid inner join groups g on sg.groupid = g.groupid inner join brokergroups bg on g.groupid = bg.groupid and bsl.brokerid = bg.brokerid inner join downloadersymbolsettings dss on sg.symbolid = dss.symbolid inner join datafeedstimetable dtt on dss.classname = dtt.classname and dtt.dayofweek = ? inner join rar_max rm on ? = ? left outer join autochartist_symbolupdates au on dss.symbolid = au.symbolid left outer join currencypips cp on s.symbol = cp.symbol left join lateral calc_cp_signal (ar.resultuid) newlevels on true left outer join brokerinstrumentmap bim on dss.datafeedinstrumentid = bim.datafeedinstrumentid and bim.brokerid = bsl.brokerid and bim.type = ? where ar.gmttimefound > now() - interval ? and dss.enabled = ? and s.deleted = ? and (ar.simulation = ? or ar.simulation is null) and (? = ? or s.timegranularity in (...)) and (? = ? or s.exchange in (...)) and (? = ? or coalesce(bim.code, s.symbol) in (...)) and (? = ? or ar.pattern in (...)) and (? = ? or (? = ? and ar.breakout >= ?) or (? = ? and ar.breakout < ?)) and (? = ? or ar.patternlengthbars <= ?) and newlevels.filtered = false and ar.patternstarttime >= coalesce(au.earliestpricedatetime, ?::timestamp without time zone) -- to make sure patternstarttime is in our t-tables ), results as ( select distinct on (symbolid) * from all_results where (false = ? or relevant = ?) and (? = ? or age <= ?) order by symbolid, resultuid ) select * from results order by identified desc, length desc;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration May 17 23 314 41m16s 7s885ms [ User: postgres - Total duration: 41m16s - Times executed: 314 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 38m13s - Times executed: 302 ]
[ Application: [unknown] - Total duration: 3m2s - Times executed: 12 ]
-
WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), ar AS ( SELECT a.*, rr.age, rr.relevant from autochartist_results a LEFT OUTER JOIN relevance_autochartist_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_autochartist_results) END ), all_results AS ( SELECT ar.resultuid AS resultuid, ar.direction AS direction, ar.predictiontimeto AS predictiontimeto, ar.predictionpricefrom AS predictionpricefrom, ar.predictionpriceto AS predictionpriceto, cp.pip AS pip, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ar.pattern AS pattern_name, ar.breakout AS breakout, ar.patternendtime AS identified, dtt.timezone AS timezone, ar.patternlengthbars AS length, g.basegroupname, newLevels.profit, newLevels.stop, newLevels.filtered, CASE WHEN ar.age IS NOT NULL THEN ar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN ar.relevant IS NOT NULL THEN ar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM ar INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN brokersymbollist bsl ON bsl.brokerid = '627' AND bsl.symbolid = s.symbolid INNER JOIN symbolgroup sg on bsl.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON sg.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN autochartist_symbolupdates au on dss.symbolid = au.symbolid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('213' = 0 OR coalesce(bim.code, s.symbol) in ('#ADBE', '#ALVG', '#AMZN', '#APPL', '#BA', '#BABA', '#BAYGn', '#BMWG', '#BNPP', '#CAT', '#CBKG', '#DAIGn', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#META', '#MSFT', '#NFLX', '#TSLA', '#VOWG', '#WMT', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS_200', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CL_BRENT', 'DASHUSD', 'EOSUSD', 'ESP_35', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'EUR_50', 'FRA_40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'GBR_100', 'HKDJPY', 'HKG_50', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NAS100', 'NEOUSD', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'OMGUSD', 'SPX500', 'TRXUSD', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'USOIL', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XMRUSD', 'XPTUSD', 'XRPUSD', 'ZARJPY', 'ZECUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'HKDJPY', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'ZARJPY', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'DASHUSD', 'EOSUSD', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NEOUSD', 'OMGUSD', 'TRXUSD', 'XMRUSD', 'XRPUSD', 'ZECUSD', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XPTUSD', 'CL_BRENT', 'USOIL', '#ALVG', '#BAYGn', '#BMWG', '#BNPP', '#CBKG', '#DAIGn', '#VOWG', 'AUS_200', 'ESP_35', 'EUR_50', 'FRA_40', 'GBR_100', 'HKG_50', 'NAS100', 'SPX500', 'US30', '#ADBE', '#AMZN', '#APPL', '#BA', '#BABA', '#CAT', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#MSFT', '#NFLX', '#TSLA', '#WMT', '#XOM')) AND ('0' = 0 OR ar.pattern in ('')) AND ('0' = 0 OR ('0' = 1 AND ar.breakout >= 0) OR ('0' = 2 AND ar.breakout < 0)) AND ('400' = 0 OR ar.patternlengthbars <= '400') and newLevels.filtered = false AND ar.patternstarttime >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;
Date: 2025-05-17 23:36:43 Duration: 16s287ms Database: acaweb_fx User: postgres Remote: 192.168.1.145 Application: PostgreSQL JDBC Driver Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), ar AS ( SELECT a.*, rr.age, rr.relevant from autochartist_results a LEFT OUTER JOIN relevance_autochartist_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_autochartist_results) END ), all_results AS ( SELECT ar.resultuid AS resultuid, ar.direction AS direction, ar.predictiontimeto AS predictiontimeto, ar.predictionpricefrom AS predictionpricefrom, ar.predictionpriceto AS predictionpriceto, cp.pip AS pip, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ar.pattern AS pattern_name, ar.breakout AS breakout, ar.patternendtime AS identified, dtt.timezone AS timezone, ar.patternlengthbars AS length, g.basegroupname, newLevels.profit, newLevels.stop, newLevels.filtered, CASE WHEN ar.age IS NOT NULL THEN ar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN ar.relevant IS NOT NULL THEN ar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM ar INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN brokersymbollist bsl ON bsl.brokerid = '627' AND bsl.symbolid = s.symbolid INNER JOIN symbolgroup sg on bsl.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON sg.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN autochartist_symbolupdates au on dss.symbolid = au.symbolid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('213' = 0 OR coalesce(bim.code, s.symbol) in ('#ADBE', '#ALVG', '#AMZN', '#APPL', '#BA', '#BABA', '#BAYGn', '#BMWG', '#BNPP', '#CAT', '#CBKG', '#DAIGn', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#META', '#MSFT', '#NFLX', '#TSLA', '#VOWG', '#WMT', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS_200', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CL_BRENT', 'DASHUSD', 'EOSUSD', 'ESP_35', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'EUR_50', 'FRA_40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'GBR_100', 'HKDJPY', 'HKG_50', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NAS100', 'NEOUSD', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'OMGUSD', 'SPX500', 'TRXUSD', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'USOIL', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XMRUSD', 'XPTUSD', 'XRPUSD', 'ZARJPY', 'ZECUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'HKDJPY', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'ZARJPY', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'DASHUSD', 'EOSUSD', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NEOUSD', 'OMGUSD', 'TRXUSD', 'XMRUSD', 'XRPUSD', 'ZECUSD', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XPTUSD', 'CL_BRENT', 'USOIL', '#ALVG', '#BAYGn', '#BMWG', '#BNPP', '#CBKG', '#DAIGn', '#VOWG', 'AUS_200', 'ESP_35', 'EUR_50', 'FRA_40', 'GBR_100', 'HKG_50', 'NAS100', 'SPX500', 'US30', '#ADBE', '#AMZN', '#APPL', '#BA', '#BABA', '#CAT', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#MSFT', '#NFLX', '#TSLA', '#WMT', '#XOM')) AND ('0' = 0 OR ar.pattern in ('')) AND ('0' = 0 OR ('0' = 1 AND ar.breakout >= 0) OR ('0' = 2 AND ar.breakout < 0)) AND ('400' = 0 OR ar.patternlengthbars <= '400') and newLevels.filtered = false AND ar.patternstarttime >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;
Date: 2025-05-17 23:31:45 Duration: 16s260ms Database: acaweb_fx User: postgres Remote: 192.168.1.145 Application: PostgreSQL JDBC Driver Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), ar AS ( SELECT a.*, rr.age, rr.relevant from autochartist_results a LEFT OUTER JOIN relevance_autochartist_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_autochartist_results) END ), all_results AS ( SELECT ar.resultuid AS resultuid, ar.direction AS direction, ar.predictiontimeto AS predictiontimeto, ar.predictionpricefrom AS predictionpricefrom, ar.predictionpriceto AS predictionpriceto, cp.pip AS pip, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ar.pattern AS pattern_name, ar.breakout AS breakout, ar.patternendtime AS identified, dtt.timezone AS timezone, ar.patternlengthbars AS length, g.basegroupname, newLevels.profit, newLevels.stop, newLevels.filtered, CASE WHEN ar.age IS NOT NULL THEN ar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN ar.relevant IS NOT NULL THEN ar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM ar INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN brokersymbollist bsl ON bsl.brokerid = '627' AND bsl.symbolid = s.symbolid INNER JOIN symbolgroup sg on bsl.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON sg.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN autochartist_symbolupdates au on dss.symbolid = au.symbolid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('213' = 0 OR coalesce(bim.code, s.symbol) in ('#ADBE', '#ALVG', '#AMZN', '#APPL', '#BA', '#BABA', '#BAYGn', '#BMWG', '#BNPP', '#CAT', '#CBKG', '#DAIGn', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#META', '#MSFT', '#NFLX', '#TSLA', '#VOWG', '#WMT', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS_200', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CL_BRENT', 'DASHUSD', 'EOSUSD', 'ESP_35', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'EUR_50', 'FRA_40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'GBR_100', 'HKDJPY', 'HKG_50', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NAS100', 'NEOUSD', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'OMGUSD', 'SPX500', 'TRXUSD', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'USOIL', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XMRUSD', 'XPTUSD', 'XRPUSD', 'ZARJPY', 'ZECUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'HKDJPY', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'ZARJPY', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'DASHUSD', 'EOSUSD', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NEOUSD', 'OMGUSD', 'TRXUSD', 'XMRUSD', 'XRPUSD', 'ZECUSD', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XPTUSD', 'CL_BRENT', 'USOIL', '#ALVG', '#BAYGn', '#BMWG', '#BNPP', '#CBKG', '#DAIGn', '#VOWG', 'AUS_200', 'ESP_35', 'EUR_50', 'FRA_40', 'GBR_100', 'HKG_50', 'NAS100', 'SPX500', 'US30', '#ADBE', '#AMZN', '#APPL', '#BA', '#BABA', '#CAT', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#MSFT', '#NFLX', '#TSLA', '#WMT', '#XOM')) AND ('0' = 0 OR ar.pattern in ('')) AND ('0' = 0 OR ('0' = 1 AND ar.breakout >= 0) OR ('0' = 2 AND ar.breakout < 0)) AND ('400' = 0 OR ar.patternlengthbars <= '400') and newLevels.filtered = false AND ar.patternstarttime >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;
Date: 2025-05-17 23:26:43 Duration: 16s234ms Database: acaweb_fx User: postgres Remote: 192.168.1.20 Application: PostgreSQL JDBC Driver Bind query: yes
2 32m28s 315 129ms 15s379ms 6s185ms with rar_max as ( select resultuid from relevance_keylevels_results order by resultuid desc limit ? ), kr as ( select a.*, rr.age, rr.relevant from keylevels_results a left outer join relevance_keylevels_results rr on a.resultuid = rr.resultuid where case when false = ? then true else a.resultuid > ( select min(resultuid) from relevance_keylevels_results) end ), all_results as ( select kr.resultuid as resultuid, kr.direction as direction, s.exchange as exchange, s.symbolid as symbolid, coalesce(bim.code, s.symbol) as symbol_code, s.longname as symbol_name, s.timegranularity as interval, p.patternname as pattern_name, kr.breakout as breakout, kr.atbaridentified as identified, dtt.timezone as timezone, kr.patternlengthbars as length, g.basegroupname, newlevels.filtered, case when kr.age is not null then kr.age when kr.resultuid <= rm.resultuid then ? else ? end as age, case when kr.relevant is not null then kr.relevant when kr.resultuid <= rm.resultuid then ? else ? end as relevant, cps.pip from kr inner join brokersymbollist bsl on bsl.brokerid = ? and bsl.symbolid = kr.symbolid inner join symbols s on bsl.symbolid = s.symbolid and s.nonliquid = ? inner join symbolgroup sg on s.symbolid = sg.symbolid inner join groups g on sg.groupid = g.groupid inner join brokergroups bg on g.groupid = bg.groupid and bsl.brokerid = bg.brokerid inner join hrspatterns p on kr.patternid = p.patternid inner join downloadersymbolsettings dss on s.symbolid = dss.symbolid inner join datafeedstimetable dtt on dss.classname = dtt.classname and dtt.dayofweek = ? inner join rar_max rm on ? = ? left outer join autochartist_symbolupdates au on dss.symbolid = au.symbolid left outer join relevance_keylevels_results rar on rar.resultuid = kr.resultuid left join lateral calc_kl_signal_filter (kr.resultuid) newlevels on true left join currencypips cps on cps.symbol = s.symbol left outer join brokerinstrumentmap bim on dss.datafeedinstrumentid = bim.datafeedinstrumentid and bim.brokerid = bsl.brokerid and bim.type = ? where kr.gmttimefound > now() - interval ? and dss.enabled = ? and s.deleted = ? and (kr.simulation = ? or kr.simulation is null) and (? = ? or s.timegranularity in (...)) and (? = ? or s.exchange in (...)) and (? = ? or coalesce(bim.code, s.symbol) in (...)) and (? = ? or p.patternname in (...)) and (? = ? or kr.patternclassid in (...)) and (? = ? or kr.patternlengthbars <= ?) and kr.patternstarttime::timestamp without time zone >= coalesce(au.earliestpricedatetime, ?::timestamp without time zone) -- to make sure patternstarttime is in our t-tables ), results as ( select distinct on (symbolid) * from all_results where (false = ? or relevant = ?) and (? = ? or age <= ?) order by symbolid, resultuid ) select * from results order by identified desc, length desc limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration May 17 23 315 32m28s 6s185ms [ User: postgres - Total duration: 32m28s - Times executed: 315 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 30m7s - Times executed: 303 ]
[ Application: [unknown] - Total duration: 2m20s - Times executed: 12 ]
-
WITH rar_max as ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1 ), kr AS ( SELECT a.*, rr.age, rr.relevant from keylevels_results a LEFT OUTER JOIN relevance_keylevels_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_keylevels_results) END ), all_results AS ( SELECT kr.resultuid AS resultuid, kr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, p.patternname AS pattern_name, kr.breakout AS breakout, kr.atbaridentified AS identified, dtt.timezone AS timezone, kr.patternlengthbars AS length, g.basegroupname, newLevels.filtered, CASE WHEN kr.age IS NOT NULL THEN kr.age WHEN kr.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN kr.relevant IS NOT NULL THEN kr.relevant WHEN kr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip FROM kr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '627' AND bsl.symbolid = kr.symbolid INNER JOIN symbols s ON bsl.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN hrspatterns p ON kr.patternid = p.patternid INNER JOIN downloadersymbolsettings dss ON s.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN autochartist_symbolupdates au on dss.symbolid = au.symbolid LEFT OUTER JOIN relevance_keylevels_results rar ON rar.resultuid = kr.resultuid LEFT JOIN LATERAL calc_kl_signal_filter (kr.resultuid) newLevels on true LEFT JOIN currencypips cps on cps.symbol = s.symbol LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE kr.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (kr.simulation = 0 OR kr.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('213' = 0 OR coalesce(bim.code, s.symbol) in ('#ADBE', '#ALVG', '#AMZN', '#APPL', '#BA', '#BABA', '#BAYGn', '#BMWG', '#BNPP', '#CAT', '#CBKG', '#DAIGn', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#META', '#MSFT', '#NFLX', '#TSLA', '#VOWG', '#WMT', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS_200', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CL_BRENT', 'DASHUSD', 'EOSUSD', 'ESP_35', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'EUR_50', 'FRA_40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'GBR_100', 'HKDJPY', 'HKG_50', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NAS100', 'NEOUSD', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'OMGUSD', 'SPX500', 'TRXUSD', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'USOIL', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XMRUSD', 'XPTUSD', 'XRPUSD', 'ZARJPY', 'ZECUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'HKDJPY', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'ZARJPY', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'DASHUSD', 'EOSUSD', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NEOUSD', 'OMGUSD', 'TRXUSD', 'XMRUSD', 'XRPUSD', 'ZECUSD', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XPTUSD', 'CL_BRENT', 'USOIL', '#ALVG', '#BAYGn', '#BMWG', '#BNPP', '#CBKG', '#DAIGn', '#VOWG', 'AUS_200', 'ESP_35', 'EUR_50', 'FRA_40', 'GBR_100', 'HKG_50', 'NAS100', 'SPX500', 'US30', '#ADBE', '#AMZN', '#APPL', '#BA', '#BABA', '#CAT', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#MSFT', '#NFLX', '#TSLA', '#WMT', '#XOM')) AND ('0' = 0 OR p.patternname in ('')) AND ('2' = 0 OR kr.patternclassid in ('1', '2')) AND ('400' = 0 OR kr.patternlengthbars <= '400') AND kr.patternstarttime::timestamp without time zone >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC LIMIT 200;
Date: 2025-05-17 23:20:54 Duration: 15s379ms Database: acaweb_fx User: postgres Remote: 192.168.1.250 Application: PostgreSQL JDBC Driver Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1 ), kr AS ( SELECT a.*, rr.age, rr.relevant from keylevels_results a LEFT OUTER JOIN relevance_keylevels_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_keylevels_results) END ), all_results AS ( SELECT kr.resultuid AS resultuid, kr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, p.patternname AS pattern_name, kr.breakout AS breakout, kr.atbaridentified AS identified, dtt.timezone AS timezone, kr.patternlengthbars AS length, g.basegroupname, newLevels.filtered, CASE WHEN kr.age IS NOT NULL THEN kr.age WHEN kr.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN kr.relevant IS NOT NULL THEN kr.relevant WHEN kr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip FROM kr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '529' AND bsl.symbolid = kr.symbolid INNER JOIN symbols s ON bsl.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN hrspatterns p ON kr.patternid = p.patternid INNER JOIN downloadersymbolsettings dss ON s.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN autochartist_symbolupdates au on dss.symbolid = au.symbolid LEFT OUTER JOIN relevance_keylevels_results rar ON rar.resultuid = kr.resultuid LEFT JOIN LATERAL calc_kl_signal_filter (kr.resultuid) newLevels on true LEFT JOIN currencypips cps on cps.symbol = s.symbol LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE kr.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (kr.simulation = 0 OR kr.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('31' = 0 OR coalesce(bim.code, s.symbol) in ('AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURNZD', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'JPN225', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', 'XAGUSD', 'XAUUSD')) AND ('0' = 0 OR p.patternname in ('')) AND ('2' = 0 OR kr.patternclassid in ('1', '2')) AND ('0' = 0 OR kr.patternlengthbars <= '0') AND kr.patternstarttime::timestamp without time zone >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC LIMIT 200;
Date: 2025-05-17 23:40:58 Duration: 13s405ms Database: acaweb_fx User: postgres Remote: 192.168.1.145 Application: PostgreSQL JDBC Driver Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1 ), kr AS ( SELECT a.*, rr.age, rr.relevant from keylevels_results a LEFT OUTER JOIN relevance_keylevels_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_keylevels_results) END ), all_results AS ( SELECT kr.resultuid AS resultuid, kr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, p.patternname AS pattern_name, kr.breakout AS breakout, kr.atbaridentified AS identified, dtt.timezone AS timezone, kr.patternlengthbars AS length, g.basegroupname, newLevels.filtered, CASE WHEN kr.age IS NOT NULL THEN kr.age WHEN kr.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN kr.relevant IS NOT NULL THEN kr.relevant WHEN kr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip FROM kr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '529' AND bsl.symbolid = kr.symbolid INNER JOIN symbols s ON bsl.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN hrspatterns p ON kr.patternid = p.patternid INNER JOIN downloadersymbolsettings dss ON s.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN autochartist_symbolupdates au on dss.symbolid = au.symbolid LEFT OUTER JOIN relevance_keylevels_results rar ON rar.resultuid = kr.resultuid LEFT JOIN LATERAL calc_kl_signal_filter (kr.resultuid) newLevels on true LEFT JOIN currencypips cps on cps.symbol = s.symbol LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE kr.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (kr.simulation = 0 OR kr.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('31' = 0 OR coalesce(bim.code, s.symbol) in ('AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURNZD', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'JPN225', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', 'XAGUSD', 'XAUUSD')) AND ('0' = 0 OR p.patternname in ('')) AND ('2' = 0 OR kr.patternclassid in ('1', '2')) AND ('0' = 0 OR kr.patternlengthbars <= '0') AND kr.patternstarttime::timestamp without time zone >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC LIMIT 200;
Date: 2025-05-17 23:45:58 Duration: 12s959ms Database: acaweb_fx User: postgres Remote: 192.168.1.20 Application: PostgreSQL JDBC Driver Bind query: yes
3 12m14s 277 622ms 8s621ms 2s651ms with rar_max as ( select resultuid from relevance_fibonacci_results order by resultuid desc limit ? ), fr as ( select a.*, rr.age, rr.relevant from fibonacci_results a left outer join relevance_fibonacci_results rr on a.resultuid = rr.resultuid where case when false = ? then true else a.resultuid > ( select min(resultuid) from relevance_fibonacci_results) end ), all_results as ( select fr.resultuid as resultuid, fr.direction as direction, s.exchange as exchange, s.symbolid as symbolid, coalesce(bim.code, s.symbol) as symbol_code, s.longname as symbol_name, s.timegranularity as interval, fr.pattern as pattern_name, fr.timed as timed, fr.patternendtime as identified, dtt.timezone as timezone, fr.patternlengthbars as length, g.basegroupname, newlevels.filtered, case when fr.age is not null then fr.age when fr.resultuid <= rm.resultuid then ? else ? end as age, case when fr.relevant is not null then fr.relevant when fr.resultuid <= rm.resultuid then ? else ? end as relevant, cps.pip from fr inner join brokersymbollist bsl on bsl.brokerid = ? and bsl.symbolid = fr.symbolid inner join symbols s on fr.symbolid = s.symbolid and s.nonliquid = ? inner join symbolgroup sg on fr.symbolid = sg.symbolid inner join groups g on sg.groupid = g.groupid inner join brokergroups bg on g.groupid = bg.groupid and bsl.brokerid = bg.brokerid inner join downloadersymbolsettings dss on fr.symbolid = dss.symbolid inner join datafeedstimetable dtt on dss.classname = dtt.classname and dtt.dayofweek = ? inner join rar_max rm on ? = ? left join lateral calc_fib_signal_filter (fr.resultuid) newlevels on true left join currencypips cps on cps.symbol = s.symbol left outer join brokerinstrumentmap bim on dss.datafeedinstrumentid = bim.datafeedinstrumentid and bim.brokerid = bsl.brokerid and bim.type = ? where fr.gmttimefound > now() - interval ? and dss.enabled = ? and s.deleted = ? and (fr.simulation = ? or fr.simulation is null) and (? = ? or s.timegranularity in (...)) and (? = ? or s.exchange in (...)) and (? = ? or coalesce(bim.code, s.symbol) in (...)) and (? = ? or fr.pattern in (...)) and (? = ? or fr.patternlengthbars <= ?) and (? = ? or (? = ? and fr.timed > cast(? as timestamp)) or (? = ? and fr.timed < cast(? as timestamp))) ), results as ( select distinct on (symbolid) * from all_results where (false = ? or relevant = ?) and (? = ? or age <= ?) order by symbolid, resultuid ) select * from results order by identified desc, length desc;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration May 17 23 277 12m14s 2s651ms [ User: postgres - Total duration: 12m14s - Times executed: 277 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 10m53s - Times executed: 265 ]
[ Application: [unknown] - Total duration: 1m20s - Times executed: 12 ]
-
WITH rar_max as ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1 ), fr AS ( SELECT a.*, rr.age, rr.relevant from fibonacci_results a LEFT OUTER JOIN relevance_fibonacci_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_fibonacci_results) END ), all_results AS ( SELECT fr.resultuid AS resultuid, fr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, fr.pattern AS pattern_name, fr.timed AS timed, fr.patternendtime AS identified, dtt.timezone AS timezone, fr.patternlengthbars AS length, g.basegroupname, newLevels.filtered, CASE WHEN fr.age IS NOT NULL THEN fr.age WHEN fr.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN fr.relevant IS NOT NULL THEN fr.relevant WHEN fr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip FROM fr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = fr.symbolid INNER JOIN symbols s ON fr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on fr.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON fr.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT JOIN LATERAL calc_fib_signal_filter (fr.resultuid) newLevels on true LEFT JOIN currencypips cps on cps.symbol = s.symbol LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE fr.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (fr.simulation = 0 OR fr.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('310' = 0 OR coalesce(bim.code, s.symbol) in ('#AAPL', '#ADS', '#AIG', '#ALV', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BAS', '#BAYN', '#BEI', '#BIDU', '#BMW', '#C', '#CAT', '#CBK', '#CL', '#CSCO', '#CVX', '#DAI', '#DB1', '#DBK', '#DIS', '#DPW', '#DTE', '#EBAY', '#EON', '#F', '#FB', '#FDX', '#FME', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#IFX', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LHA', '#LMT', '#MA', '#MCD', '#META', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#RWE', '#SAP', '#SIE', '#T', '#UBER', '#V', '#VOW', '#WB', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS200', 'BRENT', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CHI50', 'ESP35', 'ETHUSD', 'EU50', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'FRA40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'LTCUSD', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'SPX500', 'UK100', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BTCUSD', 'ETHUSD', 'LTCUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BRENT', 'WTI', 'AUS200', 'CHI50', 'ESP35', 'EU50', 'FRA40', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'NAS100', 'SPX500', 'UK100', 'US30', 'AUDUSD', 'EURUSD', 'GBPUSD', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', '#AAPL', '#AIG', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BIDU', '#C', '#CAT', '#CL', '#CSCO', '#CVX', '#DIS', '#EBAY', '#F', '#FB', '#FDX', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#T', '#UBER', '#V', '#WB', '#XOM')) AND ('0' = 0 OR fr.pattern in ('')) AND ('400' = 0 OR fr.patternlengthbars <= '400') AND ('0' = 0 OR ('0' = 1 AND fr.timed > cast('1970-01-01' as timestamp)) OR ('0' = 2 AND fr.timed < cast('1970-01-01' as timestamp))) ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;
Date: 2025-05-17 23:20:55 Duration: 8s621ms Database: acaweb_fx User: postgres Remote: 182.165.1.42 Application: [unknown] Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1 ), fr AS ( SELECT a.*, rr.age, rr.relevant from fibonacci_results a LEFT OUTER JOIN relevance_fibonacci_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_fibonacci_results) END ), all_results AS ( SELECT fr.resultuid AS resultuid, fr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, fr.pattern AS pattern_name, fr.timed AS timed, fr.patternendtime AS identified, dtt.timezone AS timezone, fr.patternlengthbars AS length, g.basegroupname, newLevels.filtered, CASE WHEN fr.age IS NOT NULL THEN fr.age WHEN fr.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN fr.relevant IS NOT NULL THEN fr.relevant WHEN fr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip FROM fr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = fr.symbolid INNER JOIN symbols s ON fr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on fr.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON fr.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT JOIN LATERAL calc_fib_signal_filter (fr.resultuid) newLevels on true LEFT JOIN currencypips cps on cps.symbol = s.symbol LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE fr.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (fr.simulation = 0 OR fr.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('310' = 0 OR coalesce(bim.code, s.symbol) in ('#AAPL', '#ADS', '#AIG', '#ALV', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BAS', '#BAYN', '#BEI', '#BIDU', '#BMW', '#C', '#CAT', '#CBK', '#CL', '#CSCO', '#CVX', '#DAI', '#DB1', '#DBK', '#DIS', '#DPW', '#DTE', '#EBAY', '#EON', '#F', '#FB', '#FDX', '#FME', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#IFX', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LHA', '#LMT', '#MA', '#MCD', '#META', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#RWE', '#SAP', '#SIE', '#T', '#UBER', '#V', '#VOW', '#WB', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS200', 'BRENT', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CHI50', 'ESP35', 'ETHUSD', 'EU50', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'FRA40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'LTCUSD', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'SPX500', 'UK100', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BTCUSD', 'ETHUSD', 'LTCUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BRENT', 'WTI', 'AUS200', 'CHI50', 'ESP35', 'EU50', 'FRA40', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'NAS100', 'SPX500', 'UK100', 'US30', 'AUDUSD', 'EURUSD', 'GBPUSD', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', '#AAPL', '#AIG', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BIDU', '#C', '#CAT', '#CL', '#CSCO', '#CVX', '#DIS', '#EBAY', '#F', '#FB', '#FDX', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#T', '#UBER', '#V', '#WB', '#XOM')) AND ('0' = 0 OR fr.pattern in ('')) AND ('400' = 0 OR fr.patternlengthbars <= '400') AND ('0' = 0 OR ('0' = 1 AND fr.timed > cast('1970-01-01' as timestamp)) OR ('0' = 2 AND fr.timed < cast('1970-01-01' as timestamp))) ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;
Date: 2025-05-17 23:40:54 Duration: 8s413ms Database: acaweb_fx User: postgres Remote: 182.165.1.42 Application: [unknown] Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1 ), fr AS ( SELECT a.*, rr.age, rr.relevant from fibonacci_results a LEFT OUTER JOIN relevance_fibonacci_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_fibonacci_results) END ), all_results AS ( SELECT fr.resultuid AS resultuid, fr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, fr.pattern AS pattern_name, fr.timed AS timed, fr.patternendtime AS identified, dtt.timezone AS timezone, fr.patternlengthbars AS length, g.basegroupname, newLevels.filtered, CASE WHEN fr.age IS NOT NULL THEN fr.age WHEN fr.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN fr.relevant IS NOT NULL THEN fr.relevant WHEN fr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip FROM fr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = fr.symbolid INNER JOIN symbols s ON fr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on fr.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON fr.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT JOIN LATERAL calc_fib_signal_filter (fr.resultuid) newLevels on true LEFT JOIN currencypips cps on cps.symbol = s.symbol LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE fr.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (fr.simulation = 0 OR fr.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('310' = 0 OR coalesce(bim.code, s.symbol) in ('#AAPL', '#ADS', '#AIG', '#ALV', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BAS', '#BAYN', '#BEI', '#BIDU', '#BMW', '#C', '#CAT', '#CBK', '#CL', '#CSCO', '#CVX', '#DAI', '#DB1', '#DBK', '#DIS', '#DPW', '#DTE', '#EBAY', '#EON', '#F', '#FB', '#FDX', '#FME', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#IFX', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LHA', '#LMT', '#MA', '#MCD', '#META', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#RWE', '#SAP', '#SIE', '#T', '#UBER', '#V', '#VOW', '#WB', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS200', 'BRENT', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CHI50', 'ESP35', 'ETHUSD', 'EU50', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'FRA40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'LTCUSD', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'SPX500', 'UK100', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BTCUSD', 'ETHUSD', 'LTCUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BRENT', 'WTI', 'AUS200', 'CHI50', 'ESP35', 'EU50', 'FRA40', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'NAS100', 'SPX500', 'UK100', 'US30', 'AUDUSD', 'EURUSD', 'GBPUSD', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', '#AAPL', '#AIG', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BIDU', '#C', '#CAT', '#CL', '#CSCO', '#CVX', '#DIS', '#EBAY', '#F', '#FB', '#FDX', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#T', '#UBER', '#V', '#WB', '#XOM')) AND ('0' = 0 OR fr.pattern in ('')) AND ('400' = 0 OR fr.patternlengthbars <= '400') AND ('0' = 0 OR ('0' = 1 AND fr.timed > cast('1970-01-01' as timestamp)) OR ('0' = 2 AND fr.timed < cast('1970-01-01' as timestamp))) ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;
Date: 2025-05-17 23:35:54 Duration: 7s916ms Database: acaweb_fx User: postgres Remote: 182.165.1.42 Application: [unknown] Bind query: yes
4 1m55s 206 34ms 2s227ms 560ms with rar_max as ( select resultuid from relevance_consecutivecandles_results order by resultuid desc limit ? ), all_results as ( select ccr.resultuid as resultuid, ccr.direction as direction, s.exchange as exchange, s.symbolid as symbolid, coalesce(bim.code, s.symbol) as symbol_code, s.longname as symbol_name, s.timegranularity as interval, ccr.patternendtime as identified, dtt.timezone as timezone, ccr.qtyconsecutivecandles as length, g.basegroupname, case when rcr.age is not null then rcr.age when ccr.resultuid <= rm.resultuid then ? else ? end as age, case when rcr.relevant is not null then rcr.relevant when ccr.resultuid <= rm.resultuid then ? else ? end as relevant, cps.pip, newlevels.filtered from consecutivecandles_results ccr inner join brokersymbollist bsl on bsl.brokerid = ? and bsl.symbolid = ccr.symbolid inner join symbols s on ccr.symbolid = s.symbolid and s.nonliquid = ? inner join downloadersymbolsettings dss on ccr.symbolid = dss.symbolid inner join datafeedstimetable dtt on dss.classname = dtt.classname and dtt.dayofweek = ? inner join symbolgroup sg on ccr.symbolid = sg.symbolid inner join groups g on sg.groupid = g.groupid inner join brokergroups bg on g.groupid = bg.groupid and bsl.brokerid = bg.brokerid inner join rar_max rm on ? = ? left outer join relevance_consecutivecandles_results rcr on rcr.resultuid = ccr.resultuid left join currencypips cps on cps.symbol = s.symbol left outer join brokerinstrumentmap bim on dss.datafeedinstrumentid = bim.datafeedinstrumentid and bim.brokerid = bsl.brokerid and bim.type = ? left join lateral calc_cc_signal_filter (ccr.resultuid) newlevels on true where ccr.gmttimefound > now() - interval ? and s.deleted = ? and (ccr.simulation = ? or ccr.simulation is null) and (? = ? or s.timegranularity in (...)) and (? = ? or s.exchange in (...)) and (? = ? or coalesce(bim.code, s.symbol) in (...)) and (? = ? or ccr.patternlengthbars <= ?) ), results as ( select distinct on (symbolid) * from all_results where (false = ? or relevant = ?) and (? = ? or age <= ?) order by symbolid, resultuid ) select * from results order by identified desc, length desc;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration May 17 23 206 1m55s 560ms [ User: postgres - Total duration: 1m55s - Times executed: 206 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1m39s - Times executed: 194 ]
[ Application: [unknown] - Total duration: 15s759ms - Times executed: 12 ]
-
WITH rar_max as ( SELECT resultuid FROM relevance_consecutivecandles_results ORDER BY resultuid DESC LIMIT 1 ), all_results AS ( SELECT ccr.resultuid AS resultuid, ccr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ccr.patternendtime AS identified, dtt.timezone AS timezone, ccr.qtyconsecutivecandles AS length, g.basegroupname, CASE WHEN rcr.age IS NOT NULL THEN rcr.age WHEN ccr.resultuid <= rm.resultuid THEN 1 ELSE 0 END as age, CASE WHEN rcr.relevant IS NOT NULL THEN rcr.relevant WHEN ccr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip, newLevels.filtered FROM consecutivecandles_results ccr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = ccr.symbolid INNER JOIN symbols s ON ccr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN downloadersymbolsettings dss ON ccr.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN symbolgroup sg on ccr.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_consecutivecandles_results rcr ON rcr.resultuid = ccr.resultuid LEFT JOIN currencypips cps on cps.symbol = s.symbol LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' LEFT JOIN LATERAL calc_cc_signal_filter (ccr.resultuid) newLevels on true WHERE ccr.gmttimefound > now() - INTERVAL '7 DAYS' AND s.deleted = 0 AND (ccr.simulation = 0 OR ccr.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('310' = 0 OR coalesce(bim.code, s.symbol) in ('#AAPL', '#ADS', '#AIG', '#ALV', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BAS', '#BAYN', '#BEI', '#BIDU', '#BMW', '#C', '#CAT', '#CBK', '#CL', '#CSCO', '#CVX', '#DAI', '#DB1', '#DBK', '#DIS', '#DPW', '#DTE', '#EBAY', '#EON', '#F', '#FB', '#FDX', '#FME', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#IFX', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LHA', '#LMT', '#MA', '#MCD', '#META', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#RWE', '#SAP', '#SIE', '#T', '#UBER', '#V', '#VOW', '#WB', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS200', 'BRENT', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CHI50', 'ESP35', 'ETHUSD', 'EU50', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'FRA40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'LTCUSD', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'SPX500', 'UK100', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BTCUSD', 'ETHUSD', 'LTCUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BRENT', 'WTI', 'AUS200', 'CHI50', 'ESP35', 'EU50', 'FRA40', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'NAS100', 'SPX500', 'UK100', 'US30', 'AUDUSD', 'EURUSD', 'GBPUSD', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', '#AAPL', '#AIG', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BIDU', '#C', '#CAT', '#CL', '#CSCO', '#CVX', '#DIS', '#EBAY', '#F', '#FB', '#FDX', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#T', '#UBER', '#V', '#WB', '#XOM')) AND ('400' = 0 OR ccr.patternlengthbars <= '400') ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;
Date: 2025-05-17 23:06:10 Duration: 2s227ms Database: acaweb_fx User: postgres Remote: 182.165.1.42 Application: [unknown] Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_consecutivecandles_results ORDER BY resultuid DESC LIMIT 1 ), all_results AS ( SELECT ccr.resultuid AS resultuid, ccr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ccr.patternendtime AS identified, dtt.timezone AS timezone, ccr.qtyconsecutivecandles AS length, g.basegroupname, CASE WHEN rcr.age IS NOT NULL THEN rcr.age WHEN ccr.resultuid <= rm.resultuid THEN 1 ELSE 0 END as age, CASE WHEN rcr.relevant IS NOT NULL THEN rcr.relevant WHEN ccr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip, newLevels.filtered FROM consecutivecandles_results ccr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = ccr.symbolid INNER JOIN symbols s ON ccr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN downloadersymbolsettings dss ON ccr.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN symbolgroup sg on ccr.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_consecutivecandles_results rcr ON rcr.resultuid = ccr.resultuid LEFT JOIN currencypips cps on cps.symbol = s.symbol LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' LEFT JOIN LATERAL calc_cc_signal_filter (ccr.resultuid) newLevels on true WHERE ccr.gmttimefound > now() - INTERVAL '7 DAYS' AND s.deleted = 0 AND (ccr.simulation = 0 OR ccr.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('310' = 0 OR coalesce(bim.code, s.symbol) in ('#AAPL', '#ADS', '#AIG', '#ALV', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BAS', '#BAYN', '#BEI', '#BIDU', '#BMW', '#C', '#CAT', '#CBK', '#CL', '#CSCO', '#CVX', '#DAI', '#DB1', '#DBK', '#DIS', '#DPW', '#DTE', '#EBAY', '#EON', '#F', '#FB', '#FDX', '#FME', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#IFX', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LHA', '#LMT', '#MA', '#MCD', '#META', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#RWE', '#SAP', '#SIE', '#T', '#UBER', '#V', '#VOW', '#WB', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS200', 'BRENT', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CHI50', 'ESP35', 'ETHUSD', 'EU50', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'FRA40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'LTCUSD', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'SPX500', 'UK100', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BTCUSD', 'ETHUSD', 'LTCUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BRENT', 'WTI', 'AUS200', 'CHI50', 'ESP35', 'EU50', 'FRA40', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'NAS100', 'SPX500', 'UK100', 'US30', 'AUDUSD', 'EURUSD', 'GBPUSD', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', '#AAPL', '#AIG', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BIDU', '#C', '#CAT', '#CL', '#CSCO', '#CVX', '#DIS', '#EBAY', '#F', '#FB', '#FDX', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#T', '#UBER', '#V', '#WB', '#XOM')) AND ('400' = 0 OR ccr.patternlengthbars <= '400') ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;
Date: 2025-05-17 23:41:09 Duration: 1s270ms Database: acaweb_fx User: postgres Remote: 182.165.1.42 Application: [unknown] Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_consecutivecandles_results ORDER BY resultuid DESC LIMIT 1 ), all_results AS ( SELECT ccr.resultuid AS resultuid, ccr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ccr.patternendtime AS identified, dtt.timezone AS timezone, ccr.qtyconsecutivecandles AS length, g.basegroupname, CASE WHEN rcr.age IS NOT NULL THEN rcr.age WHEN ccr.resultuid <= rm.resultuid THEN 1 ELSE 0 END as age, CASE WHEN rcr.relevant IS NOT NULL THEN rcr.relevant WHEN ccr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip, newLevels.filtered FROM consecutivecandles_results ccr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = ccr.symbolid INNER JOIN symbols s ON ccr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN downloadersymbolsettings dss ON ccr.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN symbolgroup sg on ccr.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_consecutivecandles_results rcr ON rcr.resultuid = ccr.resultuid LEFT JOIN currencypips cps on cps.symbol = s.symbol LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' LEFT JOIN LATERAL calc_cc_signal_filter (ccr.resultuid) newLevels on true WHERE ccr.gmttimefound > now() - INTERVAL '7 DAYS' AND s.deleted = 0 AND (ccr.simulation = 0 OR ccr.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('310' = 0 OR coalesce(bim.code, s.symbol) in ('#AAPL', '#ADS', '#AIG', '#ALV', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BAS', '#BAYN', '#BEI', '#BIDU', '#BMW', '#C', '#CAT', '#CBK', '#CL', '#CSCO', '#CVX', '#DAI', '#DB1', '#DBK', '#DIS', '#DPW', '#DTE', '#EBAY', '#EON', '#F', '#FB', '#FDX', '#FME', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#IFX', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LHA', '#LMT', '#MA', '#MCD', '#META', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#RWE', '#SAP', '#SIE', '#T', '#UBER', '#V', '#VOW', '#WB', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS200', 'BRENT', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CHI50', 'ESP35', 'ETHUSD', 'EU50', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'FRA40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'LTCUSD', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'SPX500', 'UK100', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BTCUSD', 'ETHUSD', 'LTCUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BRENT', 'WTI', 'AUS200', 'CHI50', 'ESP35', 'EU50', 'FRA40', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'NAS100', 'SPX500', 'UK100', 'US30', 'AUDUSD', 'EURUSD', 'GBPUSD', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', '#AAPL', '#AIG', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BIDU', '#C', '#CAT', '#CL', '#CSCO', '#CVX', '#DIS', '#EBAY', '#F', '#FB', '#FDX', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#T', '#UBER', '#V', '#WB', '#XOM')) AND ('400' = 0 OR ccr.patternlengthbars <= '400') ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;
Date: 2025-05-17 23:01:07 Duration: 1s247ms Database: acaweb_fx User: postgres Remote: 182.165.1.42 Application: [unknown] Bind query: yes
5 31s130ms 120 75ms 685ms 259ms with last_candle as ( select acs.symbolid as symbolid, acs.latestpricedatetime as latest_candle_time, bsl.brokerid as broker_id, coalesce(bim.code, s.symbol) as symbol, bim.code as symbol_mapping, s.exchange as exchange, s.timegranularity as timegranularity from autochartist_symbolupdates acs inner join brokersymbollist bsl on acs.symbolid = bsl.symbolid inner join symbols s on acs.symbolid = s.symbolid inner join downloadersymbolsettings dss on s.symbolid = dss.symbolid left outer join brokerinstrumentmap bim on dss.datafeedinstrumentid = bim.datafeedinstrumentid and bim.brokerid = bsl.brokerid and bim.type = ? where bsl.brokerid = ? and s.deleted = ? and s.nonliquid = ? and acs.latestpricedatetime is not null ) select * from ( select lc.broker_id as brokerid, prf.groupid, psp.symbolid, prf.longname, psd.hourlysymbolid, lc.symbol, lc.exchange, psp.enddate, psp.dayofweek, psp.fromtime, floor(psp.fromtime / ?) + ? as sast_hh, mod(cast(psp.fromtime as int), ?) as sast_mm, current_timestamp as datetime, (powerstatslatestprfprice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice as closingprice, ((powerstatslatestprfprice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice - (psp.ave_15 + psp.stddev_15) / ?.?) as low_15, ((powerstatslatestprfprice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice + (psp.ave_15 + psp.stddev_15) / ?.?) as high_15, ((powerstatslatestprfprice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice - (psp.ave_30 + psp.stddev_30) / ?.?) as low_30, ((powerstatslatestprfprice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice + (psp.ave_30 + psp.stddev_30) / ?.?) as high_30, ((powerstatslatestprfprice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice - (psp.ave_60 + psp.stddev_60) / ?.?) as low_60, ((powerstatslatestprfprice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice + (psp.ave_60 + psp.stddev_60) / ?.?) as high_60, ((powerstatslatestprfprice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice - (psp.ave_240 + psp.stddev_240) / ?.?) as low_240, ((powerstatslatestprfprice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice + (psp.ave_240 + psp.stddev_240) / ?.?) as high_240, ((powerstatslatestprfprice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice - (psp.ave_1440 + psp.stddev_1440) / ?.?) as low_1440, ((powerstatslatestprfprice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice + (psp.ave_1440 + psp.stddev_1440) / ?.?) as high_1440, dtt.absolutetimezoneoffset as datafeedtimezoneoffset, dtt.timezone as datafeedtimezonename, (round((cast(? as float) - rank) / ? * ?)) as rank_rounded, ((cast(? as float) - rank) / ? * ?) as rank from last_candle lc inner join downloadersymbolsettings dss on lc.symbolid = dss.symbolid inner join datafeedstimetable dtt on trim(dss.classname) = trim(dtt.classname) and dtt.dayofweek = ? -- assuming timezone is same for whole week. inner join powerstats_symboldata psd on psd.symbolid = lc.symbolid left outer join powerstats_trumpet psp on psd.trumpetsymbolid = psp.symbolid and psp.dayofweek = extract(dow from lc.latest_candle_time) and psp.fromtime = cast(extract(? from lc.latest_candle_time) as integer) * ? + extract(? from (cast(extract(? from lc.latest_candle_time) as integer) / ?) * ? * interval ?) inner join prfsymboltree prf on psd.symbolid = prf.symbolid and date_trunc(?, prf.enddate) = date_trunc(?, psp.enddate) left join lateral ( select ph.hour, (ave + stddev) as volatility, rank() over (order by (ave + stddev) desc) as rank from powerstats_hourly ph where ph.symbolid = psd.hourlysymbolid and date_trunc(?,ph.enddate) = date_trunc(?, prf.enddate) ) rank_query on true where prf.brokerid = ? and rank_query.hour = floor((psp.fromtime) / ?) and volatility > ? order by rank desc, rank_rounded desc, exchange, symbol, groupid) sub order by brokerid, groupid, symbolid;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration May 17 23 120 31s130ms 259ms [ User: postgres - Total duration: 31s130ms - Times executed: 120 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 31s130ms - Times executed: 120 ]
-
WITH last_candle AS ( SELECT acs.symbolid AS symbolid, acs.latestpricedatetime AS latest_candle_time, bsl.brokerid AS broker_id, coalesce(bim.code, s.symbol) AS symbol, bim.code AS symbol_mapping, s.exchange AS exchange, s.timegranularity AS timegranularity FROM autochartist_symbolupdates acs INNER JOIN brokersymbollist bsl ON acs.symbolid = bsl.symbolid INNER JOIN symbols s ON acs.symbolid = s.symbolid INNER JOIN downloadersymbolsettings dss ON s.symbolid = dss.symbolid LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE bsl.brokerid = '529' AND s.deleted = 0 AND s.nonliquid = 0 AND acs.latestpricedatetime IS NOT NULL ) SELECT * FROM ( SELECT lc.broker_id AS brokerid, prf.groupid, psp.symbolid, prf.longname, psd.hourlysymbolid, lc.symbol, lc.exchange, psp.enddate, psp.dayofweek, psp.fromtime, floor(psp.fromtime / 60) + 6 as SAST_HH, mod(cast(psp.fromtime as int), 60) as SAST_MM, current_timestamp AS datetime, (PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice AS closingprice, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice - (psp.ave_15 + psp.stddev_15) / 2.0) AS low_15, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice + (psp.ave_15 + psp.stddev_15) / 2.0) AS high_15, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice - (psp.ave_30 + psp.stddev_30) / 2.0) AS low_30, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice + (psp.ave_30 + psp.stddev_30) / 2.0) AS high_30, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice - (psp.ave_60 + psp.stddev_60) / 2.0) AS low_60, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice + (psp.ave_60 + psp.stddev_60) / 2.0) AS high_60, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice - (psp.ave_240 + psp.stddev_240) / 2.0) AS low_240, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice + (psp.ave_240 + psp.stddev_240) / 2.0) AS high_240, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice - (psp.ave_1440 + psp.stddev_1440) / 2.0) AS low_1440, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice + (psp.ave_1440 + psp.stddev_1440) / 2.0) AS high_1440, dtt.absolutetimezoneoffset AS datafeedtimezoneoffset, dtt.timezone AS datafeedtimezonename, (round((cast(25 as float) - rank) / 24 * 10)) as rank_rounded, ((cast(25 as float) - rank) / 24 * 10) as rank FROM last_candle lc INNER JOIN downloadersymbolsettings dss ON lc.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON TRIM(dss.classname) = TRIM(dtt.classname) and dtt.dayofweek = 3 -- assuming timezone is same for whole week. INNER JOIN powerstats_symboldata psd ON psd.symbolid = lc.symbolid LEFT OUTER JOIN powerstats_trumpet psp ON psd.trumpetsymbolid = psp.symbolid AND psp.dayofweek = extract(dow from lc.latest_candle_time) AND psp.fromtime = cast(extract('hour' from lc.latest_candle_time) as integer) * 60 + extract('minute' from (cast(extract('minute' from lc.latest_candle_time) as integer) / 15) * 15 * interval '1 minutes') INNER JOIN prfsymboltree prf ON psd.symbolid = prf.symbolid and DATE_TRUNC('day', prf.enddate) = DATE_TRUNC('day', psp.enddate) LEFT JOIN LATERAL ( SELECT ph.hour, (ave + stddev) AS volatility, rank() over (ORDER BY (ave + stddev) DESC) AS rank FROM powerstats_hourly ph WHERE ph.symbolid = psd.hourlysymbolid AND DATE_TRUNC('day', ph.enddate) = DATE_TRUNC('day', prf.enddate)) rank_query ON true WHERE prf.brokerid = '529' AND rank_query.hour = floor((psp.fromtime) / 60) AND volatility > 0 ORDER BY rank DESC, rank_rounded DESC, exchange, symbol, groupid) sub order by brokerid, groupid, symbolid;
Date: 2025-05-17 23:16:00 Duration: 685ms Database: acaweb_fx User: postgres Remote: 192.168.1.145 Application: PostgreSQL JDBC Driver Bind query: yes
-
WITH last_candle AS ( SELECT acs.symbolid AS symbolid, acs.latestpricedatetime AS latest_candle_time, bsl.brokerid AS broker_id, coalesce(bim.code, s.symbol) AS symbol, bim.code AS symbol_mapping, s.exchange AS exchange, s.timegranularity AS timegranularity FROM autochartist_symbolupdates acs INNER JOIN brokersymbollist bsl ON acs.symbolid = bsl.symbolid INNER JOIN symbols s ON acs.symbolid = s.symbolid INNER JOIN downloadersymbolsettings dss ON s.symbolid = dss.symbolid LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE bsl.brokerid = '529' AND s.deleted = 0 AND s.nonliquid = 0 AND acs.latestpricedatetime IS NOT NULL ) SELECT * FROM ( SELECT lc.broker_id AS brokerid, prf.groupid, psp.symbolid, prf.longname, psd.hourlysymbolid, lc.symbol, lc.exchange, psp.enddate, psp.dayofweek, psp.fromtime, floor(psp.fromtime / 60) + 6 as SAST_HH, mod(cast(psp.fromtime as int), 60) as SAST_MM, current_timestamp AS datetime, (PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice AS closingprice, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice - (psp.ave_15 + psp.stddev_15) / 2.0) AS low_15, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice + (psp.ave_15 + psp.stddev_15) / 2.0) AS high_15, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice - (psp.ave_30 + psp.stddev_30) / 2.0) AS low_30, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice + (psp.ave_30 + psp.stddev_30) / 2.0) AS high_30, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice - (psp.ave_60 + psp.stddev_60) / 2.0) AS low_60, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice + (psp.ave_60 + psp.stddev_60) / 2.0) AS high_60, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice - (psp.ave_240 + psp.stddev_240) / 2.0) AS low_240, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice + (psp.ave_240 + psp.stddev_240) / 2.0) AS high_240, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice - (psp.ave_1440 + psp.stddev_1440) / 2.0) AS low_1440, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice + (psp.ave_1440 + psp.stddev_1440) / 2.0) AS high_1440, dtt.absolutetimezoneoffset AS datafeedtimezoneoffset, dtt.timezone AS datafeedtimezonename, (round((cast(25 as float) - rank) / 24 * 10)) as rank_rounded, ((cast(25 as float) - rank) / 24 * 10) as rank FROM last_candle lc INNER JOIN downloadersymbolsettings dss ON lc.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON TRIM(dss.classname) = TRIM(dtt.classname) and dtt.dayofweek = 3 -- assuming timezone is same for whole week. INNER JOIN powerstats_symboldata psd ON psd.symbolid = lc.symbolid LEFT OUTER JOIN powerstats_trumpet psp ON psd.trumpetsymbolid = psp.symbolid AND psp.dayofweek = extract(dow from lc.latest_candle_time) AND psp.fromtime = cast(extract('hour' from lc.latest_candle_time) as integer) * 60 + extract('minute' from (cast(extract('minute' from lc.latest_candle_time) as integer) / 15) * 15 * interval '1 minutes') INNER JOIN prfsymboltree prf ON psd.symbolid = prf.symbolid and DATE_TRUNC('day', prf.enddate) = DATE_TRUNC('day', psp.enddate) LEFT JOIN LATERAL ( SELECT ph.hour, (ave + stddev) AS volatility, rank() over (ORDER BY (ave + stddev) DESC) AS rank FROM powerstats_hourly ph WHERE ph.symbolid = psd.hourlysymbolid AND DATE_TRUNC('day', ph.enddate) = DATE_TRUNC('day', prf.enddate)) rank_query ON true WHERE prf.brokerid = '529' AND rank_query.hour = floor((psp.fromtime) / 60) AND volatility > 0 ORDER BY rank DESC, rank_rounded DESC, exchange, symbol, groupid) sub order by brokerid, groupid, symbolid;
Date: 2025-05-17 23:36:00 Duration: 614ms Database: acaweb_fx User: postgres Remote: 192.168.1.145 Application: PostgreSQL JDBC Driver Bind query: yes
-
WITH last_candle AS ( SELECT acs.symbolid AS symbolid, acs.latestpricedatetime AS latest_candle_time, bsl.brokerid AS broker_id, coalesce(bim.code, s.symbol) AS symbol, bim.code AS symbol_mapping, s.exchange AS exchange, s.timegranularity AS timegranularity FROM autochartist_symbolupdates acs INNER JOIN brokersymbollist bsl ON acs.symbolid = bsl.symbolid INNER JOIN symbols s ON acs.symbolid = s.symbolid INNER JOIN downloadersymbolsettings dss ON s.symbolid = dss.symbolid LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE bsl.brokerid = '529' AND s.deleted = 0 AND s.nonliquid = 0 AND acs.latestpricedatetime IS NOT NULL ) SELECT * FROM ( SELECT lc.broker_id AS brokerid, prf.groupid, psp.symbolid, prf.longname, psd.hourlysymbolid, lc.symbol, lc.exchange, psp.enddate, psp.dayofweek, psp.fromtime, floor(psp.fromtime / 60) + 6 as SAST_HH, mod(cast(psp.fromtime as int), 60) as SAST_MM, current_timestamp AS datetime, (PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice AS closingprice, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice - (psp.ave_15 + psp.stddev_15) / 2.0) AS low_15, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice + (psp.ave_15 + psp.stddev_15) / 2.0) AS high_15, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice - (psp.ave_30 + psp.stddev_30) / 2.0) AS low_30, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice + (psp.ave_30 + psp.stddev_30) / 2.0) AS high_30, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice - (psp.ave_60 + psp.stddev_60) / 2.0) AS low_60, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice + (psp.ave_60 + psp.stddev_60) / 2.0) AS high_60, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice - (psp.ave_240 + psp.stddev_240) / 2.0) AS low_240, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice + (psp.ave_240 + psp.stddev_240) / 2.0) AS high_240, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice - (psp.ave_1440 + psp.stddev_1440) / 2.0) AS low_1440, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice + (psp.ave_1440 + psp.stddev_1440) / 2.0) AS high_1440, dtt.absolutetimezoneoffset AS datafeedtimezoneoffset, dtt.timezone AS datafeedtimezonename, (round((cast(25 as float) - rank) / 24 * 10)) as rank_rounded, ((cast(25 as float) - rank) / 24 * 10) as rank FROM last_candle lc INNER JOIN downloadersymbolsettings dss ON lc.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON TRIM(dss.classname) = TRIM(dtt.classname) and dtt.dayofweek = 3 -- assuming timezone is same for whole week. INNER JOIN powerstats_symboldata psd ON psd.symbolid = lc.symbolid LEFT OUTER JOIN powerstats_trumpet psp ON psd.trumpetsymbolid = psp.symbolid AND psp.dayofweek = extract(dow from lc.latest_candle_time) AND psp.fromtime = cast(extract('hour' from lc.latest_candle_time) as integer) * 60 + extract('minute' from (cast(extract('minute' from lc.latest_candle_time) as integer) / 15) * 15 * interval '1 minutes') INNER JOIN prfsymboltree prf ON psd.symbolid = prf.symbolid and DATE_TRUNC('day', prf.enddate) = DATE_TRUNC('day', psp.enddate) LEFT JOIN LATERAL ( SELECT ph.hour, (ave + stddev) AS volatility, rank() over (ORDER BY (ave + stddev) DESC) AS rank FROM powerstats_hourly ph WHERE ph.symbolid = psd.hourlysymbolid AND DATE_TRUNC('day', ph.enddate) = DATE_TRUNC('day', prf.enddate)) rank_query ON true WHERE prf.brokerid = '529' AND rank_query.hour = floor((psp.fromtime) / 60) AND volatility > 0 ORDER BY rank DESC, rank_rounded DESC, exchange, symbol, groupid) sub order by brokerid, groupid, symbolid;
Date: 2025-05-17 23:56:00 Duration: 608ms Database: acaweb_fx User: postgres Remote: 192.168.1.20 Application: PostgreSQL JDBC Driver Bind query: yes
6 23s241ms 206 10ms 400ms 112ms with rar_max as ( select resultuid from relevance_bigmovement_results order by resultuid desc limit ? ), all_results as ( select bmr.resultuid as resultuid, ? as direction, s.exchange as exchange, s.symbolid as symbolid, coalesce(bim.code, s.symbol) as symbol_code, s.longname as symbol_name, s.timegranularity as interval, bmr.patternendtime as identified, bmr.patternlengthbars, dtt.timezone as timezone, g.basegroupname, case when rbr.age is not null then rbr.age when bmr.resultuid <= rm.resultuid then ? else ? end as age, case when rbr.relevant is not null then rbr.relevant when bmr.resultuid <= rm.resultuid then ? else ? end as relevant, cps.pip from bigmovement_results bmr inner join brokersymbollist bsl on bsl.brokerid = ? and bsl.symbolid = bmr.symbolid inner join symbols s on bmr.symbolid = s.symbolid and s.nonliquid = ? inner join downloadersymbolsettings dss on bmr.symbolid = dss.symbolid inner join datafeedstimetable dtt on dss.classname = dtt.classname and dtt.dayofweek = ? inner join symbolgroup sg on bmr.symbolid = sg.symbolid inner join groups g on sg.groupid = g.groupid inner join brokergroups bg on g.groupid = bg.groupid and bsl.brokerid = bg.brokerid inner join rar_max rm on ? = ? left outer join relevance_bigmovement_results rbr on rbr.resultuid = bmr.resultuid left join currencypips cps on cps.symbol = s.symbol left outer join brokerinstrumentmap bim on dss.datafeedinstrumentid = bim.datafeedinstrumentid and bim.brokerid = bsl.brokerid and bim.type = ? where bmr.gmttimefound > now() - interval ? and s.deleted = ? and (bmr.simulation = ? or bmr.simulation is null) and (? = ? or s.timegranularity in (...)) and (? = ? or s.exchange in (...)) and (? = ? or coalesce(bim.code, s.symbol) in (...)) and (? = ? or bmr.patternlengthbars <= ?) ), results as ( select distinct on (symbolid) * from all_results where (false = ? or relevant = ?) and (? = ? or age <= ?) order by symbolid, resultuid ) select * from results order by identified desc, interval desc;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration May 17 23 206 23s241ms 112ms [ User: postgres - Total duration: 23s241ms - Times executed: 206 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 21s109ms - Times executed: 194 ]
[ Application: [unknown] - Total duration: 2s131ms - Times executed: 12 ]
-
WITH rar_max as ( SELECT resultuid FROM relevance_bigmovement_results ORDER BY resultuid DESC LIMIT 1 ), all_results AS ( SELECT bmr.resultuid AS resultuid, 0 AS direction, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, bmr.patternendtime AS identified, bmr.patternlengthbars, dtt.timezone AS timezone, g.basegroupname, CASE WHEN rbr.age IS NOT NULL THEN rbr.age WHEN bmr.resultuid <= rm.resultuid THEN 4 ELSE 0 END as age, CASE WHEN rbr.relevant IS NOT NULL THEN rbr.relevant WHEN bmr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip FROM bigmovement_results bmr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '627' AND bsl.symbolid = bmr.symbolid INNER JOIN symbols s ON bmr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN downloadersymbolsettings dss ON bmr.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN symbolgroup sg on bmr.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_bigmovement_results rbr ON rbr.resultuid = bmr.resultuid LEFT JOIN currencypips cps on cps.symbol = s.symbol LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE bmr.gmttimefound > now() - INTERVAL '7 DAYS' AND s.deleted = 0 AND (bmr.simulation = 0 OR bmr.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('213' = 0 OR coalesce(bim.code, s.symbol) in ('#ADBE', '#ALVG', '#AMZN', '#APPL', '#BA', '#BABA', '#BAYGn', '#BMWG', '#BNPP', '#CAT', '#CBKG', '#DAIGn', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#META', '#MSFT', '#NFLX', '#TSLA', '#VOWG', '#WMT', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS_200', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CL_BRENT', 'DASHUSD', 'EOSUSD', 'ESP_35', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'EUR_50', 'FRA_40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'GBR_100', 'HKDJPY', 'HKG_50', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NAS100', 'NEOUSD', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'OMGUSD', 'SPX500', 'TRXUSD', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'USOIL', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XMRUSD', 'XPTUSD', 'XRPUSD', 'ZARJPY', 'ZECUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'HKDJPY', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'ZARJPY', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'DASHUSD', 'EOSUSD', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NEOUSD', 'OMGUSD', 'TRXUSD', 'XMRUSD', 'XRPUSD', 'ZECUSD', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XPTUSD', 'CL_BRENT', 'USOIL', '#ALVG', '#BAYGn', '#BMWG', '#BNPP', '#CBKG', '#DAIGn', '#VOWG', 'AUS_200', 'ESP_35', 'EUR_50', 'FRA_40', 'GBR_100', 'HKG_50', 'NAS100', 'SPX500', 'US30', '#ADBE', '#AMZN', '#APPL', '#BA', '#BABA', '#CAT', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#MSFT', '#NFLX', '#TSLA', '#WMT', '#XOM')) AND ('400' = 0 OR bmr.patternlengthbars <= '400') ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, interval DESC;
Date: 2025-05-17 23:26:59 Duration: 400ms Database: acaweb_fx User: postgres Remote: 192.168.1.145 Application: PostgreSQL JDBC Driver Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_bigmovement_results ORDER BY resultuid DESC LIMIT 1 ), all_results AS ( SELECT bmr.resultuid AS resultuid, 0 AS direction, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, bmr.patternendtime AS identified, bmr.patternlengthbars, dtt.timezone AS timezone, g.basegroupname, CASE WHEN rbr.age IS NOT NULL THEN rbr.age WHEN bmr.resultuid <= rm.resultuid THEN 4 ELSE 0 END as age, CASE WHEN rbr.relevant IS NOT NULL THEN rbr.relevant WHEN bmr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip FROM bigmovement_results bmr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '627' AND bsl.symbolid = bmr.symbolid INNER JOIN symbols s ON bmr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN downloadersymbolsettings dss ON bmr.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN symbolgroup sg on bmr.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_bigmovement_results rbr ON rbr.resultuid = bmr.resultuid LEFT JOIN currencypips cps on cps.symbol = s.symbol LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE bmr.gmttimefound > now() - INTERVAL '7 DAYS' AND s.deleted = 0 AND (bmr.simulation = 0 OR bmr.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('213' = 0 OR coalesce(bim.code, s.symbol) in ('#ADBE', '#ALVG', '#AMZN', '#APPL', '#BA', '#BABA', '#BAYGn', '#BMWG', '#BNPP', '#CAT', '#CBKG', '#DAIGn', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#META', '#MSFT', '#NFLX', '#TSLA', '#VOWG', '#WMT', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS_200', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CL_BRENT', 'DASHUSD', 'EOSUSD', 'ESP_35', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'EUR_50', 'FRA_40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'GBR_100', 'HKDJPY', 'HKG_50', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NAS100', 'NEOUSD', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'OMGUSD', 'SPX500', 'TRXUSD', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'USOIL', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XMRUSD', 'XPTUSD', 'XRPUSD', 'ZARJPY', 'ZECUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'HKDJPY', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'ZARJPY', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'DASHUSD', 'EOSUSD', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NEOUSD', 'OMGUSD', 'TRXUSD', 'XMRUSD', 'XRPUSD', 'ZECUSD', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XPTUSD', 'CL_BRENT', 'USOIL', '#ALVG', '#BAYGn', '#BMWG', '#BNPP', '#CBKG', '#DAIGn', '#VOWG', 'AUS_200', 'ESP_35', 'EUR_50', 'FRA_40', 'GBR_100', 'HKG_50', 'NAS100', 'SPX500', 'US30', '#ADBE', '#AMZN', '#APPL', '#BA', '#BABA', '#CAT', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#MSFT', '#NFLX', '#TSLA', '#WMT', '#XOM')) AND ('400' = 0 OR bmr.patternlengthbars <= '400') ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, interval DESC;
Date: 2025-05-17 23:53:54 Duration: 377ms Database: acaweb_fx User: postgres Remote: 192.168.1.250 Application: PostgreSQL JDBC Driver Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_bigmovement_results ORDER BY resultuid DESC LIMIT 1 ), all_results AS ( SELECT bmr.resultuid AS resultuid, 0 AS direction, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, bmr.patternendtime AS identified, bmr.patternlengthbars, dtt.timezone AS timezone, g.basegroupname, CASE WHEN rbr.age IS NOT NULL THEN rbr.age WHEN bmr.resultuid <= rm.resultuid THEN 4 ELSE 0 END as age, CASE WHEN rbr.relevant IS NOT NULL THEN rbr.relevant WHEN bmr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip FROM bigmovement_results bmr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '627' AND bsl.symbolid = bmr.symbolid INNER JOIN symbols s ON bmr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN downloadersymbolsettings dss ON bmr.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN symbolgroup sg on bmr.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_bigmovement_results rbr ON rbr.resultuid = bmr.resultuid LEFT JOIN currencypips cps on cps.symbol = s.symbol LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE bmr.gmttimefound > now() - INTERVAL '7 DAYS' AND s.deleted = 0 AND (bmr.simulation = 0 OR bmr.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('213' = 0 OR coalesce(bim.code, s.symbol) in ('#ADBE', '#ALVG', '#AMZN', '#APPL', '#BA', '#BABA', '#BAYGn', '#BMWG', '#BNPP', '#CAT', '#CBKG', '#DAIGn', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#META', '#MSFT', '#NFLX', '#TSLA', '#VOWG', '#WMT', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS_200', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CL_BRENT', 'DASHUSD', 'EOSUSD', 'ESP_35', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'EUR_50', 'FRA_40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'GBR_100', 'HKDJPY', 'HKG_50', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NAS100', 'NEOUSD', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'OMGUSD', 'SPX500', 'TRXUSD', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'USOIL', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XMRUSD', 'XPTUSD', 'XRPUSD', 'ZARJPY', 'ZECUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'HKDJPY', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'ZARJPY', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'DASHUSD', 'EOSUSD', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NEOUSD', 'OMGUSD', 'TRXUSD', 'XMRUSD', 'XRPUSD', 'ZECUSD', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XPTUSD', 'CL_BRENT', 'USOIL', '#ALVG', '#BAYGn', '#BMWG', '#BNPP', '#CBKG', '#DAIGn', '#VOWG', 'AUS_200', 'ESP_35', 'EUR_50', 'FRA_40', 'GBR_100', 'HKG_50', 'NAS100', 'SPX500', 'US30', '#ADBE', '#AMZN', '#APPL', '#BA', '#BABA', '#CAT', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#MSFT', '#NFLX', '#TSLA', '#WMT', '#XOM')) AND ('400' = 0 OR bmr.patternlengthbars <= '400') ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, interval DESC;
Date: 2025-05-17 23:58:22 Duration: 367ms Database: acaweb_fx User: postgres Remote: 192.168.1.250 Application: PostgreSQL JDBC Driver Bind query: yes
7 20s916ms 34 12ms 7s373ms 615ms select fixcandlegaps (?, false);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration May 17 23 34 20s916ms 615ms [ User: postgres - Total duration: 20s916ms - Times executed: 34 ]
[ Application: psql - Total duration: 20s916ms - Times executed: 34 ]
-
select fixcandlegaps ('ICMARKETS-AU-MT5', false);
Date: 2025-05-17 23:06:22 Duration: 7s373ms Database: acaweb_fx User: postgres Remote: [local] Application: psql
-
select fixcandlegaps ('ATFX', false);
Date: 2025-05-17 23:06:06 Duration: 2s562ms Database: acaweb_fx User: postgres Remote: [local] Application: psql
-
select fixcandlegaps ('PEPPERSTONE', false);
Date: 2025-05-17 23:06:12 Duration: 2s16ms Database: acaweb_fx User: postgres Remote: [local] Application: psql
8 14s853ms 9,036 1ms 5ms 1ms select s.symbolid as id, s.symbol as name, s.exchange as exchange, s.timegranularity as interval, dtt.timezone as timezone from symbols s inner join downloadersymbolsettings dss on dss.symbolid = s.symbolid inner join datafeedstimetable dtt on dss.classname = dtt.classname and dtt.dayofweek = ? inner join brokersymbollist bsl on bsl.symbolid = s.symbolid where bsl.brokerid = ? and (? = ? or s.timegranularity = ?) and (s.symbol = ? or dss.downloadersymbol = ?) and dss.enabled = ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration May 17 23 9,036 14s853ms 1ms [ User: postgres - Total duration: 14s853ms - Times executed: 9036 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 14s853ms - Times executed: 9036 ]
-
SELECT s.symbolid AS id, s.symbol AS name, s.exchange AS exchange, s.timegranularity AS interval, dtt.timezone AS timezone FROM symbols s INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN brokersymbollist bsl ON bsl.symbolid = s.symbolid WHERE bsl.brokerid = '529' AND ('0' = 0 OR s.timegranularity = '0') AND (s.symbol = 'US30' OR dss.downloadersymbol = 'US30') AND dss.enabled = 1;
Date: 2025-05-17 23:15:04 Duration: 5ms Database: acaweb_fx User: postgres Remote: 192.168.1.20 Application: PostgreSQL JDBC Driver Bind query: yes
-
SELECT s.symbolid AS id, s.symbol AS name, s.exchange AS exchange, s.timegranularity AS interval, dtt.timezone AS timezone FROM symbols s INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN brokersymbollist bsl ON bsl.symbolid = s.symbolid WHERE bsl.brokerid = '529' AND ('0' = 0 OR s.timegranularity = '0') AND (s.symbol = 'US2000' OR dss.downloadersymbol = 'US2000') AND dss.enabled = 1;
Date: 2025-05-17 23:15:04 Duration: 5ms Database: acaweb_fx User: postgres Remote: 192.168.1.20 Application: PostgreSQL JDBC Driver Bind query: yes
-
SELECT s.symbolid AS id, s.symbol AS name, s.exchange AS exchange, s.timegranularity AS interval, dtt.timezone AS timezone FROM symbols s INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN brokersymbollist bsl ON bsl.symbolid = s.symbolid WHERE bsl.brokerid = '529' AND ('0' = 0 OR s.timegranularity = '0') AND (s.symbol = 'SWI20' OR dss.downloadersymbol = 'SWI20') AND dss.enabled = 1;
Date: 2025-05-17 23:15:04 Duration: 5ms Database: acaweb_fx User: postgres Remote: 192.168.1.20 Application: PostgreSQL JDBC Driver Bind query: yes
9 9s845ms 9,903 0ms 17ms 0ms select distinct on (coalesce(bim.code, s.symbol) , s.exchange, s.timegranularity, df.timezone) s.symbolid as id, coalesce(bim.code, s.symbol) as name, s.symbol as symbol, dss.downloadersymbol as ticker, s.exchange as exchange, s.timegranularity as interval, df.timezone as timezone from symbols s inner join downloadersymbolsettings dss on dss.symbolid = s.symbolid inner join datafeedstimetable df on df.classname ilike dss.classname left join brokersymbollist bsl on bsl.brokerid = ? and bsl.symbolid = s.symbolid left outer join brokerinstrumentmap bim on dss.datafeedinstrumentid = bim.datafeedinstrumentid and bim.brokerid = ? and bim.type = ? where s.symbolid = ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration May 17 23 9,903 9s845ms 0ms [ User: postgres - Total duration: 9s845ms - Times executed: 9903 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 9s845ms - Times executed: 9903 ]
-
SELECT DISTINCT ON (coalesce(bim.code, s.symbol) , s.exchange, s.timegranularity, df.timezone) s.symbolid as id, coalesce(bim.code, s.symbol) as name, s.symbol as symbol, dss.downloadersymbol as ticker, s.exchange as exchange, s.timegranularity as interval, df.timezone as timezone FROM symbols s INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable df ON df.classname ILIKE dss.classname LEFT JOIN brokersymbollist bsl ON bsl.brokerid = '558' AND bsl.symbolid = s.symbolid LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = '558' AND bim.TYPE = 'OUTBOUND' WHERE s.symbolid = '515840243213706300';
Date: 2025-05-17 23:40:52 Duration: 17ms Database: acaweb_fx User: postgres Remote: 192.168.1.20 Application: PostgreSQL JDBC Driver Bind query: yes
-
SELECT DISTINCT ON (coalesce(bim.code, s.symbol) , s.exchange, s.timegranularity, df.timezone) s.symbolid as id, coalesce(bim.code, s.symbol) as name, s.symbol as symbol, dss.downloadersymbol as ticker, s.exchange as exchange, s.timegranularity as interval, df.timezone as timezone FROM symbols s INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable df ON df.classname ILIKE dss.classname LEFT JOIN brokersymbollist bsl ON bsl.brokerid = '558' AND bsl.symbolid = s.symbolid LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = '558' AND bim.TYPE = 'OUTBOUND' WHERE s.symbolid = '515840243266316300';
Date: 2025-05-17 23:11:00 Duration: 5ms Database: acaweb_fx User: postgres Remote: 192.168.1.145 Application: PostgreSQL JDBC Driver Bind query: yes
-
SELECT DISTINCT ON (coalesce(bim.code, s.symbol) , s.exchange, s.timegranularity, df.timezone) s.symbolid as id, coalesce(bim.code, s.symbol) as name, s.symbol as symbol, dss.downloadersymbol as ticker, s.exchange as exchange, s.timegranularity as interval, df.timezone as timezone FROM symbols s INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable df ON df.classname ILIKE dss.classname LEFT JOIN brokersymbollist bsl ON bsl.brokerid = '529' AND bsl.symbolid = s.symbolid LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = '529' AND bim.TYPE = 'OUTBOUND' WHERE s.symbolid = '515840249406359300';
Date: 2025-05-17 23:57:15 Duration: 2ms Database: acaweb_fx User: postgres Remote: 192.168.1.250 Application: PostgreSQL JDBC Driver Bind query: yes
10 7s765ms 7,168 0ms 4ms 1ms insert into executionlogs (executionid, status, message, details, detailtype) values (null, ?, ?, null, null);Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration May 17 23 7,168 7s765ms 1ms [ User: postgres - Total duration: 7s765ms - Times executed: 7168 ]
[ Application: [unknown] - Total duration: 7s765ms - Times executed: 7168 ]
-
INSERT INTO executionlogs (executionid, status, message, details, detailtype) VALUES (NULL, 'info', 'evaluating processid: 35, schedule: 0 15 * * 3 Africa/Johannesburg', NULL, NULL);
Date: 2025-05-17 23:16:49 Duration: 4ms Database: socialmedia User: postgres Remote: 192.168.4.33 Application: [unknown]
-
INSERT INTO executionlogs (executionid, status, message, details, detailtype) VALUES (NULL, 'info', 'evaluating processid: 57, schedule: 0 14 * * 1 Africa/Johannesburg', NULL, NULL);
Date: 2025-05-17 23:19:49 Duration: 3ms Database: socialmedia User: postgres Remote: 192.168.4.33 Application: [unknown]
-
INSERT INTO executionlogs (executionid, status, message, details, detailtype) VALUES (NULL, 'info', 'evaluating processid: 175, schedule: 1 9 * * 1 Africa/Johannesburg', NULL, NULL);
Date: 2025-05-17 23:37:49 Duration: 3ms Database: socialmedia User: postgres Remote: 192.168.4.33 Application: [unknown]
11 6s520ms 6 1s46ms 1s169ms 1s86ms refresh materialized view concurrently latest_t15_candle_view;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration May 17 23 6 6s520ms 1s86ms [ User: postgres - Total duration: 6s520ms - Times executed: 6 ]
[ Application: [unknown] - Total duration: 6s520ms - Times executed: 6 ]
-
refresh materialized view concurrently latest_t15_candle_view;
Date: 2025-05-17 23:46:17 Duration: 1s169ms Database: acaweb_fx User: postgres Remote: 192.168.4.98 Application: [unknown]
-
refresh materialized view concurrently latest_t15_candle_view;
Date: 2025-05-17 23:01:17 Duration: 1s89ms Database: acaweb_fx User: postgres Remote: 192.168.4.98 Application: [unknown]
-
refresh materialized view concurrently latest_t15_candle_view;
Date: 2025-05-17 23:16:17 Duration: 1s78ms Database: acaweb_fx User: postgres Remote: 192.168.4.98 Application: [unknown]
12 3s729ms 98 15ms 163ms 38ms select distinct k.symbolid, p.resultuid, k.symbolid, k.bandwidth, k.direction, k.patternendtime, k.patternprice, k.patternlengthbars, k.breakoutbars, k.uniquepointsvalue, k.predictionpricefrom, k.predictionpriceto, k.furthestprice, k.patternclassid from relevance_keylevels_results p inner join keylevels_results k on p.resultuid = k.resultuid inner join autochartist_stocklist asl on k.symbolid = asl.symbolid where k.patternclassid in (...) and asl.enabled = ? and asl.recognitionengine ilike ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration May 17 23 98 3s729ms 38ms [ User: postgres - Total duration: 3s729ms - Times executed: 98 ]
[ Application: [unknown] - Total duration: 3s729ms - Times executed: 98 ]
-
SELECT DISTINCT k.symbolid, p.resultuid, k.symbolid, k.bandwidth, k.direction, k.patternendtime, k.patternprice, k.patternlengthbars, k.breakoutbars, k.uniquepointsvalue, k.predictionpricefrom, k.predictionpriceto, k.furthestprice, k.patternclassid FROM relevance_keylevels_results p INNER JOIN keylevels_results k ON p.resultuid = k.resultuid INNER JOIN autochartist_stocklist asl ON k.symbolid = asl.symbolid WHERE k.patternclassid in (1, 2) AND asl.enabled = 1 AND asl.recognitionengine ILIKE 'ICMARKETS - 1';
Date: 2025-05-17 23:16:09 Duration: 163ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
-
SELECT DISTINCT k.symbolid, p.resultuid, k.symbolid, k.bandwidth, k.direction, k.patternendtime, k.patternprice, k.patternlengthbars, k.breakoutbars, k.uniquepointsvalue, k.predictionpricefrom, k.predictionpriceto, k.furthestprice, k.patternclassid FROM relevance_keylevels_results p INNER JOIN keylevels_results k ON p.resultuid = k.resultuid INNER JOIN autochartist_stocklist asl ON k.symbolid = asl.symbolid WHERE k.patternclassid in (1, 2) AND asl.enabled = 1 AND asl.recognitionengine ILIKE 'ICMARKETS - 1';
Date: 2025-05-17 23:46:14 Duration: 120ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
-
SELECT DISTINCT k.symbolid, p.resultuid, k.symbolid, k.bandwidth, k.direction, k.patternendtime, k.patternprice, k.patternlengthbars, k.breakoutbars, k.uniquepointsvalue, k.predictionpricefrom, k.predictionpriceto, k.furthestprice, k.patternclassid FROM relevance_keylevels_results p INNER JOIN keylevels_results k ON p.resultuid = k.resultuid INNER JOIN autochartist_stocklist asl ON k.symbolid = asl.symbolid WHERE k.patternclassid in (1, 2) AND asl.enabled = 1 AND asl.recognitionengine ILIKE 'ICMARKETS - 1';
Date: 2025-05-17 23:31:10 Duration: 110ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
13 3s413ms 4,538 0ms 9ms 0ms insert into t15 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) on conflict (pricedatetime, symbolid) do update set open = ?, high = ?, low = ?, close = ?, volume = ?, bsf = ?, sastdatetimewritten = ?, sastdatetimereceived = ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration May 17 23 4,538 3s413ms 0ms [ User: postgres - Total duration: 3s413ms - Times executed: 4538 ]
[ Application: [unknown] - Total duration: 3s413ms - Times executed: 4538 ]
-
INSERT INTO T15 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ('2025-05-18 00:15:00', '0.229', '0.2293', '0.2277', '0.2293', '427', '515840249462859300', '0', '2025-05-17 23:30:55.202', '2025-05-17 23:30:55.075') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '0.229', high = '0.2293', low = '0.2277', close = '0.2293', volume = '427', bsf = '0', sastdatetimewritten = '2025-05-17 23:30:55.202', sastdatetimereceived = '2025-05-17 23:30:55.075';
Date: 2025-05-17 23:30:55 Duration: 9ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
-
INSERT INTO T15 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ('2025-05-17 23:45:00', '5.31', '5.41', '5.31', '5.39', '52', '515840247947986300', '0', '2025-05-17 23:02:04.748', '2025-05-17 23:02:04.586') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '5.31', high = '5.41', low = '5.31', close = '5.39', volume = '52', bsf = '0', sastdatetimewritten = '2025-05-17 23:02:04.748', sastdatetimereceived = '2025-05-17 23:02:04.586';
Date: 2025-05-17 23:02:04 Duration: 9ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
-
INSERT INTO T15 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ('2025-05-17 23:45:00', '0.1944', '0.1972', '0.1943', '0.197', '86', '515840247944733300', '0', '2025-05-17 23:01:01.743', '2025-05-17 23:01:01.677') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '0.1944', high = '0.1972', low = '0.1943', close = '0.197', volume = '86', bsf = '0', sastdatetimewritten = '2025-05-17 23:01:01.743', sastdatetimereceived = '2025-05-17 23:01:01.677';
Date: 2025-05-17 23:01:01 Duration: 8ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
14 3s409ms 98 14ms 93ms 34ms select distinct a.symbolid, p.resultuid, case when a.breakout >= ? then ? else ? end as type, a.resultid, a.bandwidth, a.patternlengthbars, a.patternendtime, a.resy0, a.supporty0, a.resy1, a.supporty1, a.direction, a.predictionpriceto, a.patternendprice, a.predictionpricefrom, a.resx0, a.supportx0, a.resgradient, a.supportgradient from relevance_autochartist_results p inner join autochartist_results a on p.resultuid = a.resultuid inner join autochartist_stocklist asl on a.symbolid = asl.symbolid where asl.enabled = ? and asl.recognitionengine ilike ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration May 17 23 98 3s409ms 34ms [ User: postgres - Total duration: 3s409ms - Times executed: 98 ]
[ Application: [unknown] - Total duration: 3s409ms - Times executed: 98 ]
-
SELECT distinct a.symbolid, p.resultuid, case when a.breakout >= 0 then 1 else 2 end as type, a.resultid, a.bandwidth, a.patternlengthbars, a.patternendtime, a.resy0, a.supporty0, a.resy1, a.supporty1, a.direction, a.predictionpriceto, a.patternendprice, a.predictionpricefrom, a.resx0, a.supportx0, a.resgradient, a.supportgradient FROM relevance_autochartist_results p INNER JOIN autochartist_results a ON p.resultuid = a.resultuid INNER JOIN autochartist_stocklist asl ON a.symbolid = asl.symbolid WHERE asl.enabled = 1 AND asl.recognitionengine ILIKE 'GLOBALGTMT5 - 1';
Date: 2025-05-17 23:00:53 Duration: 93ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
-
SELECT distinct a.symbolid, p.resultuid, case when a.breakout >= 0 then 1 else 2 end as type, a.resultid, a.bandwidth, a.patternlengthbars, a.patternendtime, a.resy0, a.supporty0, a.resy1, a.supporty1, a.direction, a.predictionpriceto, a.patternendprice, a.predictionpricefrom, a.resx0, a.supportx0, a.resgradient, a.supportgradient FROM relevance_autochartist_results p INNER JOIN autochartist_results a ON p.resultuid = a.resultuid INNER JOIN autochartist_stocklist asl ON a.symbolid = asl.symbolid WHERE asl.enabled = 1 AND asl.recognitionengine ILIKE 'GLOBALGTMT5 - 1';
Date: 2025-05-17 23:45:53 Duration: 87ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
-
SELECT distinct a.symbolid, p.resultuid, case when a.breakout >= 0 then 1 else 2 end as type, a.resultid, a.bandwidth, a.patternlengthbars, a.patternendtime, a.resy0, a.supporty0, a.resy1, a.supporty1, a.direction, a.predictionpriceto, a.patternendprice, a.predictionpricefrom, a.resx0, a.supportx0, a.resgradient, a.supportgradient FROM relevance_autochartist_results p INNER JOIN autochartist_results a ON p.resultuid = a.resultuid INNER JOIN autochartist_stocklist asl ON a.symbolid = asl.symbolid WHERE asl.enabled = 1 AND asl.recognitionengine ILIKE 'GLOBALGTMT5 - 1';
Date: 2025-05-17 23:45:53 Duration: 87ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
15 2s903ms 1 2s903ms 2s903ms 2s903ms with sel as ( select resultuid, resultid, row_number() over (partition by resultuid) r from autochartist_results ) select * from sel where r = ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration May 17 23 1 2s903ms 2s903ms [ User: postgres - Total duration: 2s903ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 2s903ms - Times executed: 1 ]
-
with sel as ( select resultuid, resultid, row_number() over (partition by resultuid) r from autochartist_results ) select * from sel where r = 2;
Date: 2025-05-17 23:30:30 Duration: 2s903ms Database: acaweb_fx User: postgres Remote: 192.168.1.90 Application: [unknown] Bind query: yes
16 2s111ms 694 2ms 6ms 3ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration May 17 23 694 2s111ms 3ms [ User: postgres - Total duration: 2s111ms - Times executed: 694 ]
[ Application: [unknown] - Total duration: 2s111ms - Times executed: 694 ]
-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 13:15:00'::timestamp without time zone, 0.64105, 0.6412, 0.6404, 0.64055, 983, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 13:30:00'::timestamp without time zone, 0.6406, 0.6406, 0.6403, 0.6404, 1012, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 13:45:00'::timestamp without time zone, 0.6404, 0.6409, 0.6403, 0.6407, 824, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 14:00:00'::timestamp without time zone, 0.6407, 0.6409, 0.6406, 0.64075, 836, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 14:15:00'::timestamp without time zone, 0.64075, 0.64085, 0.6398, 0.64005, 2221, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 14:30:00'::timestamp without time zone, 0.64005, 0.64025, 0.6399, 0.64005, 1206, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 14:45:00'::timestamp without time zone, 0.64, 0.6402, 0.6399, 0.63995, 1297, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 15:00:00'::timestamp without time zone, 0.63995, 0.64005, 0.63985, 0.63995, 985, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 15:15:00'::timestamp without time zone, 0.64005, 0.64055, 0.63985, 0.6402, 2241, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 15:30:00'::timestamp without time zone, 0.64025, 0.6407, 0.64025, 0.64045, 1226, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 15:45:00'::timestamp without time zone, 0.64045, 0.6406, 0.6403, 0.6404, 1033, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 16:00:00'::timestamp without time zone, 0.6404, 0.6404, 0.6402, 0.6403, 266, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 16:15:00'::timestamp without time zone, 0.6403, 0.6405, 0.64025, 0.64035, 71, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 16:30:00'::timestamp without time zone, 0.6404, 0.6405, 0.64035, 0.6405, 124, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 16:45:00'::timestamp without time zone, 0.6404, 0.6405, 0.64025, 0.64035, 185, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 18:00:00'::timestamp without time zone, 0.6404, 0.64065, 0.6402, 0.64025, 180, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 18:15:00'::timestamp without time zone, 0.6403, 0.6403, 0.63995, 0.6402, 466, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 18:30:00'::timestamp without time zone, 0.6402, 0.64045, 0.6401, 0.64025, 230, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 18:45:00'::timestamp without time zone, 0.64025, 0.6405, 0.64025, 0.64035, 195, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 19:00:00'::timestamp without time zone, 0.6403, 0.6403, 0.63975, 0.63985, 472, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 19:15:00'::timestamp without time zone, 0.6399, 0.63995, 0.6396, 0.63965, 168, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 19:30:00'::timestamp without time zone, 0.63965, 0.64005, 0.63955, 0.64, 539, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 19:45:00'::timestamp without time zone, 0.64, 0.64005, 0.63945, 0.63965, 415, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 20:00:00'::timestamp without time zone, 0.63965, 0.6401, 0.63945, 0.6395, 839, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 20:15:00'::timestamp without time zone, 0.63945, 0.63975, 0.63905, 0.6393, 947, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 20:30:00'::timestamp without time zone, 0.63925, 0.6394, 0.63915, 0.6392, 371, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 20:45:00'::timestamp without time zone, 0.6392, 0.6394, 0.6391, 0.63935, 624, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 21:00:00'::timestamp without time zone, 0.6393, 0.63965, 0.6391, 0.63955, 720, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 21:15:00'::timestamp without time zone, 0.6396, 0.6397, 0.63915, 0.63945, 564, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 21:30:00'::timestamp without time zone, 0.63945, 0.63985, 0.63845, 0.6388, 984, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 21:45:00'::timestamp without time zone, 0.6388, 0.63905, 0.63875, 0.63905, 483, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 22:00:00'::timestamp without time zone, 0.63905, 0.63905, 0.63735, 0.63785, 2064, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 22:15:00'::timestamp without time zone, 0.6379, 0.6388, 0.6379, 0.6388, 929, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 22:30:00'::timestamp without time zone, 0.63885, 0.63975, 0.6388, 0.63965, 2449, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 22:45:00'::timestamp without time zone, 0.6396, 0.64, 0.6394, 0.6399, 827, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 23:00:00'::timestamp without time zone, 0.63995, 0.64065, 0.63995, 0.6403, 1660, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 23:15:00'::timestamp without time zone, 0.6403, 0.6404, 0.6399, 0.63995, 465, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 23:30:00'::timestamp without time zone, 0.6399, 0.6408, 0.6399, 0.64035, 1125, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 23:45:00'::timestamp without time zone, 0.64035, 0.6409, 0.64035, 0.64085, 301, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 00:00:00'::timestamp without time zone, 0.6409, 0.64115, 0.6408, 0.6408, 648, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 00:15:00'::timestamp without time zone, 0.64085, 0.64115, 0.64045, 0.64115, 544, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 00:30:00'::timestamp without time zone, 0.6411, 0.6411, 0.64085, 0.641, 128, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 00:45:00'::timestamp without time zone, 0.64105, 0.64135, 0.64095, 0.6413, 244, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 01:00:00'::timestamp without time zone, 0.6412, 0.6412, 0.6405, 0.64065, 592, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 01:15:00'::timestamp without time zone, 0.64065, 0.64065, 0.6403, 0.6405, 472, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 01:30:00'::timestamp without time zone, 0.6405, 0.64105, 0.6405, 0.64095, 361, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 01:45:00'::timestamp without time zone, 0.64095, 0.64105, 0.6405, 0.64085, 740, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 02:00:00'::timestamp without time zone, 0.6408, 0.641, 0.64065, 0.64075, 725, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 02:15:00'::timestamp without time zone, 0.64085, 0.641, 0.6402, 0.64025, 630, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 02:30:00'::timestamp without time zone, 0.6403, 0.64075, 0.6403, 0.6407, 625, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 02:45:00'::timestamp without time zone, 0.64065, 0.64065, 0.64025, 0.64025, 408, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING;
Date: 2025-05-17 23:26:21 Duration: 6ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 08:15:00'::timestamp without time zone, 105.868, 105.893, 105.81, 105.872, 2480, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 08:30:00'::timestamp without time zone, 105.851, 105.949, 105.679, 105.722, 4207, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 08:45:00'::timestamp without time zone, 105.733, 105.926, 105.72, 105.864, 3452, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 09:00:00'::timestamp without time zone, 105.863, 105.865, 105.57, 105.609, 3658, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 09:15:00'::timestamp without time zone, 105.606, 105.685, 105.56, 105.583, 3434, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 09:30:00'::timestamp without time zone, 105.592, 105.638, 105.458, 105.539, 4335, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 09:45:00'::timestamp without time zone, 105.527, 105.599, 105.48, 105.546, 3667, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 10:00:00'::timestamp without time zone, 105.534, 105.747, 105.51, 105.745, 3556, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 10:15:00'::timestamp without time zone, 105.744, 105.755, 105.62, 105.669, 3567, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 10:30:00'::timestamp without time zone, 105.658, 105.805, 105.6, 105.674, 3795, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 10:45:00'::timestamp without time zone, 105.666, 105.8, 105.65, 105.757, 3863, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 11:00:00'::timestamp without time zone, 105.758, 105.804, 105.66, 105.791, 3443, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 11:15:00'::timestamp without time zone, 105.783, 105.845, 105.71, 105.8, 3037, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 11:30:00'::timestamp without time zone, 105.807, 105.876, 105.73, 105.859, 2781, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 11:45:00'::timestamp without time zone, 105.856, 105.871, 105.76, 105.841, 2947, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 12:00:00'::timestamp without time zone, 105.837, 105.847, 105.67, 105.752, 2734, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 12:15:00'::timestamp without time zone, 105.743, 105.825, 105.68, 105.811, 2216, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 12:30:00'::timestamp without time zone, 105.809, 105.819, 105.64, 105.705, 2522, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 12:45:00'::timestamp without time zone, 105.713, 105.783, 105.67, 105.77, 2165, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 13:00:00'::timestamp without time zone, 105.763, 105.83, 105.74, 105.804, 2069, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 13:15:00'::timestamp without time zone, 105.797, 105.91, 105.79, 105.895, 1657, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 13:30:00'::timestamp without time zone, 105.894, 105.9, 105.81, 105.845, 1737, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 13:45:00'::timestamp without time zone, 105.836, 105.872, 105.78, 105.834, 1926, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 14:00:00'::timestamp without time zone, 105.831, 105.835, 105.74, 105.795, 1914, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 14:15:00'::timestamp without time zone, 105.788, 105.835, 105.76, 105.824, 1632, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 14:30:00'::timestamp without time zone, 105.825, 105.834, 105.74, 105.779, 1676, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 14:45:00'::timestamp without time zone, 105.78, 105.829, 105.74, 105.807, 1975, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 15:00:00'::timestamp without time zone, 105.807, 105.834, 105.75, 105.834, 1895, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 15:15:00'::timestamp without time zone, 105.826, 105.867, 105.8, 105.841, 1411, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 15:30:00'::timestamp without time zone, 105.84, 105.871, 105.81, 105.837, 1368, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 15:45:00'::timestamp without time zone, 105.831, 105.847, 105.74, 105.807, 2051, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 16:00:00'::timestamp without time zone, 105.805, 105.828, 105.74, 105.758, 1366, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 16:15:00'::timestamp without time zone, 105.764, 105.823, 105.73, 105.786, 1072, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 16:30:00'::timestamp without time zone, 105.781, 105.825, 105.758, 105.775, 902, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 16:45:00'::timestamp without time zone, 105.772, 105.82, 105.73, 105.805, 726, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 17:00:00'::timestamp without time zone, 105.8, 105.836, 105.655, 105.749, 215, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 17:15:00'::timestamp without time zone, 105.744, 105.82, 105.639, 105.739, 323, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 17:30:00'::timestamp without time zone, 105.741, 105.835, 105.668, 105.747, 452, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 17:45:00'::timestamp without time zone, 105.77, 105.82, 105.708, 105.737, 405, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 18:00:00'::timestamp without time zone, 105.744, 105.83, 105.684, 105.739, 538, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 18:15:00'::timestamp without time zone, 105.736, 105.784, 105.71, 105.776, 568, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 18:30:00'::timestamp without time zone, 105.78, 105.804, 105.7426275, 105.773, 528, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 18:45:00'::timestamp without time zone, 105.773, 105.811, 105.74, 105.781, 558, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 19:00:00'::timestamp without time zone, 105.779, 105.846, 105.76, 105.82, 646, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 19:15:00'::timestamp without time zone, 105.819, 105.853, 105.77, 105.825, 687, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 19:30:00'::timestamp without time zone, 105.825, 105.849, 105.8, 105.81, 670, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 19:45:00'::timestamp without time zone, 105.827, 105.887, 105.81, 105.868, 742, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 20:00:00'::timestamp without time zone, 105.87, 105.942, 105.83, 105.93, 1210, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 20:15:00'::timestamp without time zone, 105.927, 105.942, 105.807, 105.831, 976, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 20:30:00'::timestamp without time zone, 105.831, 105.847, 105.77, 105.8, 921, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 20:45:00'::timestamp without time zone, 105.801, 105.859, 105.69, 105.764, 1291, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING;
Date: 2025-05-17 23:26:25 Duration: 4ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 15:45:00'::timestamp without time zone, 0.6412, 0.64145, 0.64105, 0.64145, 555, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 16:00:00'::timestamp without time zone, 0.6414, 0.6415, 0.6413, 0.6413, 285, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 16:15:00'::timestamp without time zone, 0.6413, 0.64155, 0.6413, 0.6414, 413, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 16:30:00'::timestamp without time zone, 0.6414, 0.6414, 0.64135, 0.6414, 140, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 16:45:00'::timestamp without time zone, 0.6413, 0.64145, 0.6411, 0.64135, 282, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 18:00:00'::timestamp without time zone, 0.6425, 0.64355, 0.64205, 0.64335, 1340, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 18:15:00'::timestamp without time zone, 0.64335, 0.64335, 0.64235, 0.64255, 425, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 18:30:00'::timestamp without time zone, 0.6426, 0.6427, 0.6422, 0.64225, 519, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 18:45:00'::timestamp without time zone, 0.64215, 0.6424, 0.64205, 0.6422, 230, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 19:00:00'::timestamp without time zone, 0.64225, 0.64255, 0.64205, 0.64245, 286, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 19:15:00'::timestamp without time zone, 0.6425, 0.64275, 0.6423, 0.6427, 361, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 19:30:00'::timestamp without time zone, 0.64265, 0.64315, 0.64245, 0.64295, 872, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 19:45:00'::timestamp without time zone, 0.643, 0.643, 0.64215, 0.64225, 953, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 20:00:00'::timestamp without time zone, 0.64225, 0.6427, 0.6422, 0.64245, 752, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 20:15:00'::timestamp without time zone, 0.64245, 0.6425, 0.64145, 0.64175, 697, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 20:30:00'::timestamp without time zone, 0.64175, 0.64235, 0.6417, 0.64235, 543, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 20:45:00'::timestamp without time zone, 0.64235, 0.6427, 0.64215, 0.6425, 742, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 21:00:00'::timestamp without time zone, 0.64245, 0.6436, 0.64245, 0.64285, 955, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 21:15:00'::timestamp without time zone, 0.64285, 0.64315, 0.6425, 0.6427, 605, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 21:30:00'::timestamp without time zone, 0.6429, 0.64325, 0.6423, 0.64285, 568, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 21:45:00'::timestamp without time zone, 0.6429, 0.6429, 0.64225, 0.6426, 425, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 22:00:00'::timestamp without time zone, 0.64255, 0.643, 0.6423, 0.64285, 493, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 22:15:00'::timestamp without time zone, 0.64285, 0.643, 0.64265, 0.64275, 196, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 22:30:00'::timestamp without time zone, 0.64275, 0.64275, 0.6418, 0.64205, 706, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 22:45:00'::timestamp without time zone, 0.64205, 0.6427, 0.6419, 0.64265, 598, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 23:00:00'::timestamp without time zone, 0.64265, 0.6432, 0.6425, 0.64295, 590, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 23:15:00'::timestamp without time zone, 0.6429, 0.6429, 0.64255, 0.64285, 382, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 23:30:00'::timestamp without time zone, 0.6429, 0.643, 0.64255, 0.643, 243, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 23:45:00'::timestamp without time zone, 0.643, 0.6435, 0.64275, 0.64335, 368, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 00:00:00'::timestamp without time zone, 0.64335, 0.6438, 0.64335, 0.64345, 704, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 00:15:00'::timestamp without time zone, 0.6435, 0.64375, 0.64345, 0.64355, 171, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 00:30:00'::timestamp without time zone, 0.6435, 0.6435, 0.6429, 0.64315, 300, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 00:45:00'::timestamp without time zone, 0.6431, 0.64345, 0.643, 0.64335, 381, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 01:00:00'::timestamp without time zone, 0.64335, 0.64375, 0.6433, 0.64345, 500, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 01:15:00'::timestamp without time zone, 0.6434, 0.64345, 0.643, 0.6434, 401, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 01:30:00'::timestamp without time zone, 0.64345, 0.64355, 0.6431, 0.64355, 282, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 01:45:00'::timestamp without time zone, 0.6435, 0.64415, 0.6434, 0.6439, 853, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 02:00:00'::timestamp without time zone, 0.64385, 0.64425, 0.64385, 0.64415, 748, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 02:15:00'::timestamp without time zone, 0.64415, 0.64435, 0.6436, 0.6441, 1504, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 02:30:00'::timestamp without time zone, 0.64415, 0.6445, 0.64335, 0.6434, 1141, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 02:45:00'::timestamp without time zone, 0.64345, 0.6437, 0.64325, 0.64325, 717, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 03:00:00'::timestamp without time zone, 0.64325, 0.6464, 0.64325, 0.6444, 8743, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 03:15:00'::timestamp without time zone, 0.64445, 0.6446, 0.6417, 0.6418, 3893, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 03:30:00'::timestamp without time zone, 0.64185, 0.6426, 0.6399, 0.63995, 4212, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 03:45:00'::timestamp without time zone, 0.63995, 0.64085, 0.63955, 0.64075, 4587, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 04:00:00'::timestamp without time zone, 0.6408, 0.64175, 0.6399, 0.6401, 3956, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 04:15:00'::timestamp without time zone, 0.64015, 0.6409, 0.6399, 0.64075, 1741, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 04:30:00'::timestamp without time zone, 0.64075, 0.64105, 0.64005, 0.64105, 2168, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 04:45:00'::timestamp without time zone, 0.64105, 0.64175, 0.6408, 0.64125, 1594, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 05:00:00'::timestamp without time zone, 0.64125, 0.64165, 0.64055, 0.6406, 1125, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 05:15:00'::timestamp without time zone, 0.64065, 0.6418, 0.64055, 0.64175, 969, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING;
Date: 2025-05-17 23:26:21 Duration: 4ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
17 1s842ms 1,551 0ms 6ms 1ms insert into t1440_underlying (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) on conflict (pricedatetime, symbolid) do update set open = ?, high = ?, low = ?, close = ?, volume = ?, bsf = ?, sastdatetimewritten = ?, sastdatetimereceived = ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration May 17 23 1,551 1s842ms 1ms [ User: postgres - Total duration: 1s842ms - Times executed: 1551 ]
[ Application: [unknown] - Total duration: 1s842ms - Times executed: 1551 ]
-
INSERT INTO T1440_underlying (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ('2025-05-16 00:00:00', '1.330415', '1.333265', '1.325075', '1.327885', '64576', '515840249374139300', '0', '2025-05-17 23:15:49.337', '2025-05-17 23:15:49.336') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '1.330415', high = '1.333265', low = '1.325075', close = '1.327885', volume = '64576', bsf = '0', sastdatetimewritten = '2025-05-17 23:15:49.337', sastdatetimereceived = '2025-05-17 23:15:49.336';
Date: 2025-05-17 23:15:49 Duration: 6ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
-
INSERT INTO T1440_underlying (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ('2025-05-17 00:00:00', '6.146', '6.169', '5.655', '5.699', '46562', '515840248621836300', '0', '2025-05-17 23:01:01.41', '2025-05-17 23:01:01.409') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '6.146', high = '6.169', low = '5.655', close = '5.699', volume = '46562', bsf = '0', sastdatetimewritten = '2025-05-17 23:01:01.41', sastdatetimereceived = '2025-05-17 23:01:01.409';
Date: 2025-05-17 23:01:01 Duration: 5ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
-
INSERT INTO T1440_underlying (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ('2025-05-17 00:00:00', '169.48', '170.16', '163.91', '165.79', '87548', '515840249462695300', '0', '2025-05-17 23:00:59.556', '2025-05-17 23:00:59.555') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '169.48', high = '170.16', low = '163.91', close = '165.79', volume = '87548', bsf = '0', sastdatetimewritten = '2025-05-17 23:00:59.556', sastdatetimereceived = '2025-05-17 23:00:59.555';
Date: 2025-05-17 23:00:59 Duration: 4ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
18 1s236ms 2 526ms 709ms 618ms select cleanupkeylevelsresults (?, ?, ?);Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration May 17 23 2 1s236ms 618ms [ User: postgres - Total duration: 1s236ms - Times executed: 2 ]
[ Application: psql - Total duration: 1s236ms - Times executed: 2 ]
-
select cleanupkeylevelsresults (30, 20, 30);
Date: 2025-05-17 23:05:02 Duration: 709ms Database: acaweb_fx User: postgres Remote: [local] Application: psql
-
select cleanupkeylevelsresults (15, 15, 15);
Date: 2025-05-17 23:10:01 Duration: 526ms Database: acaweb_fx User: postgres Remote: [local] Application: psql
19 1s155ms 194 0ms 16ms 5ms select open as _open, high as _high, low as _low, close "..." _close, volume as _volume, pricedatetime as _pricedatetime from ( select open, high, low, close, volume, pricedatetime from t15 where pricedatetime >= current_timestamp - interval ? and symbolid = ? union all select open, high, low, close, volume, pricedatetime from t15_ps where pricedatetime >= current_timestamp - interval ? and symbolid = ? order by pricedatetime desc limit ?) a order by _pricedatetime asc;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration May 17 23 194 1s155ms 5ms [ User: postgres - Total duration: 1s155ms - Times executed: 194 ]
[ Application: [unknown] - Total duration: 1s155ms - Times executed: 194 ]
-
select open as _open, high as _high, low as _low, close as _close, volume as _volume, pricedatetime as _pricedatetime FROM ( select open, high, low, close, volume, pricedatetime FROM T15 WHERE pricedatetime >= current_timestamp - interval '180 days' and symbolid = 515840221186843300 union all select open, high, low, close, volume, pricedatetime FROM T15_ps WHERE pricedatetime >= current_timestamp - interval '180 days' and symbolid = 515840221186843300 order by pricedatetime desc limit 672) a order by _pricedatetime asc;
Date: 2025-05-17 23:26:20 Duration: 16ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
-
select open as _open, high as _high, low as _low, close as _close, volume as _volume, pricedatetime as _pricedatetime FROM ( select open, high, low, close, volume, pricedatetime FROM T15 WHERE pricedatetime >= current_timestamp - interval '180 days' and symbolid = 515840249510241300 union all select open, high, low, close, volume, pricedatetime FROM T15_ps WHERE pricedatetime >= current_timestamp - interval '180 days' and symbolid = 515840249510241300 order by pricedatetime desc limit 672) a order by _pricedatetime asc;
Date: 2025-05-17 23:26:20 Duration: 14ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
-
select open as _open, high as _high, low as _low, close as _close, volume as _volume, pricedatetime as _pricedatetime FROM ( select open, high, low, close, volume, pricedatetime FROM T15 WHERE pricedatetime >= current_timestamp - interval '180 days' and symbolid = 515840249493325300 union all select open, high, low, close, volume, pricedatetime FROM T15_ps WHERE pricedatetime >= current_timestamp - interval '180 days' and symbolid = 515840249493325300 order by pricedatetime desc limit 672) a order by _pricedatetime asc;
Date: 2025-05-17 23:26:21 Duration: 13ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
20 889ms 302 2ms 4ms 2ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration May 17 23 302 889ms 2ms [ User: postgres - Total duration: 889ms - Times executed: 302 ]
[ Application: [unknown] - Total duration: 889ms - Times executed: 302 ]
-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-08 13:00:00'::timestamp without time zone, 0.64105, 0.6412, 0.6404, 0.64055, 1966, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-08 13:30:00'::timestamp without time zone, 0.6406, 0.6409, 0.6403, 0.6407, 3672, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-08 14:00:00'::timestamp without time zone, 0.6407, 0.6409, 0.6398, 0.64005, 6114, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-08 14:30:00'::timestamp without time zone, 0.64005, 0.64025, 0.6399, 0.63995, 5006, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-08 15:00:00'::timestamp without time zone, 0.63995, 0.64055, 0.63985, 0.6402, 6452, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-08 15:30:00'::timestamp without time zone, 0.64025, 0.6407, 0.64025, 0.6404, 4518, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-08 16:00:00'::timestamp without time zone, 0.6404, 0.6405, 0.6402, 0.64035, 674, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-08 16:30:00'::timestamp without time zone, 0.6404, 0.6405, 0.64025, 0.64035, 618, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-08 18:00:00'::timestamp without time zone, 0.6404, 0.64065, 0.63995, 0.6402, 1292, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-08 18:30:00'::timestamp without time zone, 0.6402, 0.6405, 0.6401, 0.64035, 850, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-08 19:00:00'::timestamp without time zone, 0.6403, 0.6403, 0.6396, 0.63965, 1280, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-08 19:30:00'::timestamp without time zone, 0.63965, 0.64005, 0.63945, 0.63965, 1908, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-08 20:00:00'::timestamp without time zone, 0.63965, 0.6401, 0.63905, 0.6393, 3572, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-08 20:30:00'::timestamp without time zone, 0.63925, 0.6394, 0.6391, 0.63935, 1990, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-08 21:00:00'::timestamp without time zone, 0.6393, 0.6397, 0.6391, 0.63945, 2568, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-08 21:30:00'::timestamp without time zone, 0.63945, 0.63985, 0.63845, 0.63905, 2934, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-08 22:00:00'::timestamp without time zone, 0.63905, 0.63905, 0.63735, 0.6388, 5986, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-08 22:30:00'::timestamp without time zone, 0.63885, 0.64, 0.6388, 0.6399, 6552, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-08 23:00:00'::timestamp without time zone, 0.63995, 0.64065, 0.6399, 0.63995, 4250, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-08 23:30:00'::timestamp without time zone, 0.6399, 0.6409, 0.6399, 0.64085, 2852, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 00:00:00'::timestamp without time zone, 0.6409, 0.64115, 0.64045, 0.64115, 2384, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 00:30:00'::timestamp without time zone, 0.6411, 0.64135, 0.64085, 0.6413, 744, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 01:00:00'::timestamp without time zone, 0.6412, 0.6412, 0.6403, 0.6405, 2128, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 01:30:00'::timestamp without time zone, 0.6405, 0.64105, 0.6405, 0.64085, 2202, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 02:00:00'::timestamp without time zone, 0.6408, 0.641, 0.6402, 0.64025, 2710, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 02:30:00'::timestamp without time zone, 0.6403, 0.64075, 0.64025, 0.64025, 2066, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 03:00:00'::timestamp without time zone, 0.6402, 0.6409, 0.63995, 0.6408, 2908, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 03:30:00'::timestamp without time zone, 0.6408, 0.64175, 0.6408, 0.6413, 3390, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 04:00:00'::timestamp without time zone, 0.64135, 0.6414, 0.64025, 0.6404, 2704, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 04:30:00'::timestamp without time zone, 0.6404, 0.64115, 0.64035, 0.6411, 2242, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 05:00:00'::timestamp without time zone, 0.64105, 0.6412, 0.64025, 0.6403, 2112, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 05:30:00'::timestamp without time zone, 0.6403, 0.6408, 0.64005, 0.64025, 1838, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 06:00:00'::timestamp without time zone, 0.64025, 0.6405, 0.6397, 0.6397, 2460, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 06:30:00'::timestamp without time zone, 0.63965, 0.6403, 0.63965, 0.6402, 1916, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 07:00:00'::timestamp without time zone, 0.6402, 0.6411, 0.64015, 0.64055, 4770, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 07:30:00'::timestamp without time zone, 0.6406, 0.6409, 0.6401, 0.6408, 2938, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 08:00:00'::timestamp without time zone, 0.64085, 0.64105, 0.6405, 0.64105, 3168, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 08:30:00'::timestamp without time zone, 0.641, 0.64125, 0.64075, 0.64115, 3552, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 09:00:00'::timestamp without time zone, 0.6412, 0.64265, 0.64115, 0.64255, 10340, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 09:30:00'::timestamp without time zone, 0.64255, 0.6428, 0.6423, 0.6426, 6658, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 10:00:00'::timestamp without time zone, 0.6426, 0.64355, 0.64235, 0.64325, 11328, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 10:30:00'::timestamp without time zone, 0.64325, 0.64335, 0.6418, 0.64235, 8988, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 11:00:00'::timestamp without time zone, 0.6424, 0.6425, 0.64175, 0.6419, 4958, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 11:30:00'::timestamp without time zone, 0.64185, 0.6427, 0.6418, 0.64265, 2844, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 12:00:00'::timestamp without time zone, 0.64265, 0.64275, 0.64185, 0.64185, 3308, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 12:30:00'::timestamp without time zone, 0.64185, 0.6421, 0.6417, 0.6417, 1988, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 13:00:00'::timestamp without time zone, 0.64175, 0.64205, 0.6416, 0.6418, 2094, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 13:30:00'::timestamp without time zone, 0.64185, 0.6423, 0.64185, 0.642, 1414, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 14:00:00'::timestamp without time zone, 0.642, 0.6422, 0.6416, 0.6417, 1622, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 14:30:00'::timestamp without time zone, 0.6417, 0.6418, 0.6415, 0.64155, 3818, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 15:00:00'::timestamp without time zone, 0.64155, 0.64175, 0.6412, 0.6413, 2978, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING;
Date: 2025-05-17 23:26:21 Duration: 4ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 15:30:00'::timestamp without time zone, 0.64125, 0.64145, 0.64105, 0.64145, 2080, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 16:00:00'::timestamp without time zone, 0.6414, 0.64155, 0.6413, 0.6414, 1396, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 16:30:00'::timestamp without time zone, 0.6414, 0.64145, 0.6411, 0.64135, 562, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-11 18:00:00'::timestamp without time zone, 0.6425, 0.64355, 0.64205, 0.64255, 1765, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-11 18:30:00'::timestamp without time zone, 0.6426, 0.6427, 0.64205, 0.6422, 749, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-11 19:00:00'::timestamp without time zone, 0.64225, 0.64275, 0.64205, 0.6427, 647, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-11 19:30:00'::timestamp without time zone, 0.64265, 0.64315, 0.64215, 0.64225, 1825, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-11 20:00:00'::timestamp without time zone, 0.64225, 0.6427, 0.64145, 0.64175, 1449, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-11 20:30:00'::timestamp without time zone, 0.64175, 0.6427, 0.6417, 0.6425, 1285, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-11 21:00:00'::timestamp without time zone, 0.64245, 0.6436, 0.64245, 0.6427, 1560, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-11 21:30:00'::timestamp without time zone, 0.6429, 0.64325, 0.64225, 0.6426, 993, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-11 22:00:00'::timestamp without time zone, 0.64255, 0.643, 0.6423, 0.64275, 689, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-11 22:30:00'::timestamp without time zone, 0.64275, 0.64275, 0.6418, 0.64265, 1304, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-11 23:00:00'::timestamp without time zone, 0.64265, 0.6432, 0.6425, 0.64285, 972, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-11 23:30:00'::timestamp without time zone, 0.6429, 0.6435, 0.64255, 0.64335, 611, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 00:00:00'::timestamp without time zone, 0.64335, 0.6438, 0.64335, 0.64355, 875, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 00:30:00'::timestamp without time zone, 0.6435, 0.6435, 0.6429, 0.64335, 681, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 01:00:00'::timestamp without time zone, 0.64335, 0.64375, 0.643, 0.6434, 901, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 01:30:00'::timestamp without time zone, 0.64345, 0.64415, 0.6431, 0.6439, 1135, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 02:00:00'::timestamp without time zone, 0.64385, 0.64435, 0.6436, 0.6441, 2252, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 02:30:00'::timestamp without time zone, 0.64415, 0.6445, 0.64325, 0.64325, 1858, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 03:00:00'::timestamp without time zone, 0.64325, 0.6464, 0.6417, 0.6418, 12636, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 03:30:00'::timestamp without time zone, 0.64185, 0.6426, 0.63955, 0.64075, 8799, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 04:00:00'::timestamp without time zone, 0.6408, 0.64175, 0.6399, 0.64075, 5697, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 04:30:00'::timestamp without time zone, 0.64075, 0.64175, 0.64005, 0.64125, 3762, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 05:00:00'::timestamp without time zone, 0.64125, 0.6418, 0.64055, 0.64175, 2094, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 05:30:00'::timestamp without time zone, 0.6418, 0.6418, 0.64065, 0.64105, 1660, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 06:00:00'::timestamp without time zone, 0.641, 0.641, 0.63925, 0.6393, 2880, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 06:30:00'::timestamp without time zone, 0.63935, 0.63965, 0.63855, 0.6388, 2795, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 07:00:00'::timestamp without time zone, 0.6388, 0.63975, 0.63865, 0.6395, 2132, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 07:30:00'::timestamp without time zone, 0.6395, 0.63995, 0.63875, 0.63975, 2309, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 08:00:00'::timestamp without time zone, 0.63975, 0.6398, 0.63895, 0.6393, 2543, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 08:30:00'::timestamp without time zone, 0.63935, 0.63975, 0.6389, 0.639, 2741, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 09:00:00'::timestamp without time zone, 0.63905, 0.64005, 0.6388, 0.63975, 2838, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 09:30:00'::timestamp without time zone, 0.6397, 0.64035, 0.6389, 0.63905, 3638, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 10:00:00'::timestamp without time zone, 0.63905, 0.63905, 0.6384, 0.6387, 4447, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 10:30:00'::timestamp without time zone, 0.6387, 0.6394, 0.6375, 0.63775, 8286, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 11:00:00'::timestamp without time zone, 0.63775, 0.6381, 0.6374, 0.63775, 3771, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 11:30:00'::timestamp without time zone, 0.6378, 0.63795, 0.6366, 0.637, 3530, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 12:00:00'::timestamp without time zone, 0.637, 0.6372, 0.63615, 0.6368, 2807, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 12:30:00'::timestamp without time zone, 0.6368, 0.6373, 0.6366, 0.63675, 2116, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 13:00:00'::timestamp without time zone, 0.63675, 0.63685, 0.6364, 0.63645, 1471, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 13:30:00'::timestamp without time zone, 0.6364, 0.6367, 0.63615, 0.6364, 1647, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 14:00:00'::timestamp without time zone, 0.63645, 0.63655, 0.63595, 0.6361, 1331, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 14:30:00'::timestamp without time zone, 0.6361, 0.63715, 0.63605, 0.63705, 3295, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 15:00:00'::timestamp without time zone, 0.6371, 0.63745, 0.63675, 0.63725, 1930, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 15:30:00'::timestamp without time zone, 0.6372, 0.6375, 0.6371, 0.6373, 1227, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 16:00:00'::timestamp without time zone, 0.63725, 0.63745, 0.63715, 0.6374, 596, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 16:30:00'::timestamp without time zone, 0.63735, 0.6379, 0.63735, 0.6375, 1186, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 18:00:00'::timestamp without time zone, 0.63735, 0.6376, 0.63725, 0.6374, 564, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 18:30:00'::timestamp without time zone, 0.6374, 0.63765, 0.63715, 0.6375, 1093, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING;
Date: 2025-05-17 23:26:21 Duration: 3ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-12 19:30:00'::timestamp without time zone, 1.08783, 1.087934443, 1.086, 1.08705, 1557, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-12 20:00:00'::timestamp without time zone, 1.08711, 1.087614721, 1.086, 1.08718, 2135, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-12 20:30:00'::timestamp without time zone, 1.08716, 1.088048008, 1.086, 1.087006362, 2345, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-12 21:00:00'::timestamp without time zone, 1.08727, 1.08793, 1.0863, 1.08763, 4166, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-12 21:30:00'::timestamp without time zone, 1.08765, 1.08876, 1.0865, 1.088, 4706, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-12 22:00:00'::timestamp without time zone, 1.08814, 1.08816, 1.0866, 1.08756, 3583, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-12 22:30:00'::timestamp without time zone, 1.08743, 1.087865255, 1.0862, 1.08713, 3489, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-12 23:00:00'::timestamp without time zone, 1.0872, 1.0882402, 1.0863, 1.08764, 3091, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-12 23:30:00'::timestamp without time zone, 1.08777, 1.088358294, 1.0865, 1.088197435, 3379, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 00:00:00'::timestamp without time zone, 1.08821, 1.089080474, 1.087, 1.088892448, 2808, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 00:30:00'::timestamp without time zone, 1.08889, 1.089329905, 1.0877, 1.08873, 2792, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 01:00:00'::timestamp without time zone, 1.08875, 1.08912, 1.0873, 1.088332617, 2874, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 01:30:00'::timestamp without time zone, 1.08848, 1.088773982, 1.0871, 1.08836, 3257, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 02:00:00'::timestamp without time zone, 1.08837, 1.08851, 1.087, 1.08799, 4055, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 02:30:00'::timestamp without time zone, 1.087891141, 1.088455709, 1.0867, 1.0878, 4368, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 03:00:00'::timestamp without time zone, 1.08792, 1.088434638, 1.0867, 1.087897991, 5047, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 03:30:00'::timestamp without time zone, 1.088, 1.08843, 1.0867, 1.08777, 4652, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 04:00:00'::timestamp without time zone, 1.08778, 1.088369798, 1.0865, 1.08774, 4377, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 04:30:00'::timestamp without time zone, 1.0877, 1.087930626, 1.0864, 1.08747, 3638, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 05:00:00'::timestamp without time zone, 1.08719, 1.0877844, 1.0863, 1.08741, 3626, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 05:30:00'::timestamp without time zone, 1.08759, 1.087990309, 1.0863, 1.08764605, 3513, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 06:00:00'::timestamp without time zone, 1.087663013, 1.08854, 1.0867, 1.087753903, 3565, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 06:30:00'::timestamp without time zone, 1.087772776, 1.088007221, 1.0865, 1.08781, 3422, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 07:00:00'::timestamp without time zone, 1.08777, 1.087956738, 1.0865, 1.087598783, 3200, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 07:30:00'::timestamp without time zone, 1.08772, 1.087872763, 1.0865, 1.087535496, 3123, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 08:00:00'::timestamp without time zone, 1.08753, 1.088015078, 1.0859, 1.08717, 3665, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 08:30:00'::timestamp without time zone, 1.086776155, 1.088505611, 1.08609, 1.087436634, 6344, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 09:00:00'::timestamp without time zone, 1.08739, 1.087614517, 1.0862, 1.087341099, 5504, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 09:30:00'::timestamp without time zone, 1.08743, 1.087911876, 1.0862, 1.08774, 6022, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 10:00:00'::timestamp without time zone, 1.087582061, 1.088133652, 1.0865, 1.08778, 5480, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 10:30:00'::timestamp without time zone, 1.087817422, 1.08947, 1.0869, 1.08928, 6039, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 11:00:00'::timestamp without time zone, 1.08915, 1.089652722, 1.088, 1.089174291, 5408, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 11:30:00'::timestamp without time zone, 1.08917, 1.090369867, 1.0882, 1.09009, 4452, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 12:00:00'::timestamp without time zone, 1.09011, 1.09056, 1.089, 1.09026, 3669, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 12:30:00'::timestamp without time zone, 1.09028, 1.090564721, 1.0891, 1.09038, 3362, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 13:00:00'::timestamp without time zone, 1.090365307, 1.09053, 1.0892, 1.090078476, 2658, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 13:30:00'::timestamp without time zone, 1.09026, 1.090541722, 1.0891, 1.090089554, 2822, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 14:00:00'::timestamp without time zone, 1.09007, 1.090538806, 1.0892, 1.09012, 2476, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 14:30:00'::timestamp without time zone, 1.09029, 1.090538697, 1.0888, 1.090175208, 2470, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 15:00:00'::timestamp without time zone, 1.09018, 1.090428554, 1.089, 1.0902, 2305, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 15:30:00'::timestamp without time zone, 1.09017, 1.09059063, 1.0892, 1.09009983, 2304, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 16:00:00'::timestamp without time zone, 1.09028, 1.090396371, 1.0886, 1.089541404, 1977, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 16:30:00'::timestamp without time zone, 1.08955, 1.089839392, 1.0884, 1.089549298, 1751, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 17:00:00'::timestamp without time zone, 1.0888, 1.089873283, 1.08438, 1.089716343, 774, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 17:30:00'::timestamp without time zone, 1.0889, 1.089974916, 1.08785, 1.089464462, 1160, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 18:00:00'::timestamp without time zone, 1.089470024, 1.090027204, 1.08835, 1.089534956, 1449, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 18:30:00'::timestamp without time zone, 1.08966, 1.090389812, 1.0886, 1.09003, 1416, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 19:00:00'::timestamp without time zone, 1.0901, 1.090253924, 1.0888, 1.089950212, 1403, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 19:30:00'::timestamp without time zone, 1.08994, 1.090474108, 1.0889, 1.090188895, 1579, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 20:00:00'::timestamp without time zone, 1.09014, 1.090460622, 1.0885, 1.08933, 2111, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 20:30:00'::timestamp without time zone, 1.08929, 1.089433801, 1.0877, 1.08876, 2019, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING;
Date: 2025-05-17 23:26:22 Duration: 3ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 12,923 46ms 0ms 0ms 0ms select ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration May 17 23 12,923 46ms 0ms [ User: postgres - Total duration: 46ms - Times executed: 12923 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 40ms - Times executed: 12774 ]
[ Application: [unknown] - Total duration: 6ms - Times executed: 149 ]
-
SELECT 1;
Date: 2025-05-17 23:26:19 Duration: 0ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
-
SELECT 1;
Date: 2025-05-17 23:49:15 Duration: 0ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
-
SELECT 1;
Date: 2025-05-17 23:21:50 Duration: 0ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
2 9,903 9s845ms 0ms 17ms 0ms select distinct on (coalesce(bim.code, s.symbol) , s.exchange, s.timegranularity, df.timezone) s.symbolid as id, coalesce(bim.code, s.symbol) as name, s.symbol as symbol, dss.downloadersymbol as ticker, s.exchange as exchange, s.timegranularity as interval, df.timezone as timezone from symbols s inner join downloadersymbolsettings dss on dss.symbolid = s.symbolid inner join datafeedstimetable df on df.classname ilike dss.classname left join brokersymbollist bsl on bsl.brokerid = ? and bsl.symbolid = s.symbolid left outer join brokerinstrumentmap bim on dss.datafeedinstrumentid = bim.datafeedinstrumentid and bim.brokerid = ? and bim.type = ? where s.symbolid = ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration May 17 23 9,903 9s845ms 0ms [ User: postgres - Total duration: 9s845ms - Times executed: 9903 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 9s845ms - Times executed: 9903 ]
-
SELECT DISTINCT ON (coalesce(bim.code, s.symbol) , s.exchange, s.timegranularity, df.timezone) s.symbolid as id, coalesce(bim.code, s.symbol) as name, s.symbol as symbol, dss.downloadersymbol as ticker, s.exchange as exchange, s.timegranularity as interval, df.timezone as timezone FROM symbols s INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable df ON df.classname ILIKE dss.classname LEFT JOIN brokersymbollist bsl ON bsl.brokerid = '558' AND bsl.symbolid = s.symbolid LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = '558' AND bim.TYPE = 'OUTBOUND' WHERE s.symbolid = '515840243213706300';
Date: 2025-05-17 23:40:52 Duration: 17ms Database: acaweb_fx User: postgres Remote: 192.168.1.20 Application: PostgreSQL JDBC Driver Bind query: yes
-
SELECT DISTINCT ON (coalesce(bim.code, s.symbol) , s.exchange, s.timegranularity, df.timezone) s.symbolid as id, coalesce(bim.code, s.symbol) as name, s.symbol as symbol, dss.downloadersymbol as ticker, s.exchange as exchange, s.timegranularity as interval, df.timezone as timezone FROM symbols s INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable df ON df.classname ILIKE dss.classname LEFT JOIN brokersymbollist bsl ON bsl.brokerid = '558' AND bsl.symbolid = s.symbolid LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = '558' AND bim.TYPE = 'OUTBOUND' WHERE s.symbolid = '515840243266316300';
Date: 2025-05-17 23:11:00 Duration: 5ms Database: acaweb_fx User: postgres Remote: 192.168.1.145 Application: PostgreSQL JDBC Driver Bind query: yes
-
SELECT DISTINCT ON (coalesce(bim.code, s.symbol) , s.exchange, s.timegranularity, df.timezone) s.symbolid as id, coalesce(bim.code, s.symbol) as name, s.symbol as symbol, dss.downloadersymbol as ticker, s.exchange as exchange, s.timegranularity as interval, df.timezone as timezone FROM symbols s INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable df ON df.classname ILIKE dss.classname LEFT JOIN brokersymbollist bsl ON bsl.brokerid = '529' AND bsl.symbolid = s.symbolid LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = '529' AND bim.TYPE = 'OUTBOUND' WHERE s.symbolid = '515840249406359300';
Date: 2025-05-17 23:57:15 Duration: 2ms Database: acaweb_fx User: postgres Remote: 192.168.1.250 Application: PostgreSQL JDBC Driver Bind query: yes
3 9,036 14s853ms 1ms 5ms 1ms select s.symbolid as id, s.symbol as name, s.exchange as exchange, s.timegranularity as interval, dtt.timezone as timezone from symbols s inner join downloadersymbolsettings dss on dss.symbolid = s.symbolid inner join datafeedstimetable dtt on dss.classname = dtt.classname and dtt.dayofweek = ? inner join brokersymbollist bsl on bsl.symbolid = s.symbolid where bsl.brokerid = ? and (? = ? or s.timegranularity = ?) and (s.symbol = ? or dss.downloadersymbol = ?) and dss.enabled = ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration May 17 23 9,036 14s853ms 1ms [ User: postgres - Total duration: 14s853ms - Times executed: 9036 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 14s853ms - Times executed: 9036 ]
-
SELECT s.symbolid AS id, s.symbol AS name, s.exchange AS exchange, s.timegranularity AS interval, dtt.timezone AS timezone FROM symbols s INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN brokersymbollist bsl ON bsl.symbolid = s.symbolid WHERE bsl.brokerid = '529' AND ('0' = 0 OR s.timegranularity = '0') AND (s.symbol = 'US30' OR dss.downloadersymbol = 'US30') AND dss.enabled = 1;
Date: 2025-05-17 23:15:04 Duration: 5ms Database: acaweb_fx User: postgres Remote: 192.168.1.20 Application: PostgreSQL JDBC Driver Bind query: yes
-
SELECT s.symbolid AS id, s.symbol AS name, s.exchange AS exchange, s.timegranularity AS interval, dtt.timezone AS timezone FROM symbols s INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN brokersymbollist bsl ON bsl.symbolid = s.symbolid WHERE bsl.brokerid = '529' AND ('0' = 0 OR s.timegranularity = '0') AND (s.symbol = 'US2000' OR dss.downloadersymbol = 'US2000') AND dss.enabled = 1;
Date: 2025-05-17 23:15:04 Duration: 5ms Database: acaweb_fx User: postgres Remote: 192.168.1.20 Application: PostgreSQL JDBC Driver Bind query: yes
-
SELECT s.symbolid AS id, s.symbol AS name, s.exchange AS exchange, s.timegranularity AS interval, dtt.timezone AS timezone FROM symbols s INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN brokersymbollist bsl ON bsl.symbolid = s.symbolid WHERE bsl.brokerid = '529' AND ('0' = 0 OR s.timegranularity = '0') AND (s.symbol = 'SWI20' OR dss.downloadersymbol = 'SWI20') AND dss.enabled = 1;
Date: 2025-05-17 23:15:04 Duration: 5ms Database: acaweb_fx User: postgres Remote: 192.168.1.20 Application: PostgreSQL JDBC Driver Bind query: yes
4 7,168 7s765ms 0ms 4ms 1ms insert into executionlogs (executionid, status, message, details, detailtype) values (null, ?, ?, null, null);Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration May 17 23 7,168 7s765ms 1ms [ User: postgres - Total duration: 7s765ms - Times executed: 7168 ]
[ Application: [unknown] - Total duration: 7s765ms - Times executed: 7168 ]
-
INSERT INTO executionlogs (executionid, status, message, details, detailtype) VALUES (NULL, 'info', 'evaluating processid: 35, schedule: 0 15 * * 3 Africa/Johannesburg', NULL, NULL);
Date: 2025-05-17 23:16:49 Duration: 4ms Database: socialmedia User: postgres Remote: 192.168.4.33 Application: [unknown]
-
INSERT INTO executionlogs (executionid, status, message, details, detailtype) VALUES (NULL, 'info', 'evaluating processid: 57, schedule: 0 14 * * 1 Africa/Johannesburg', NULL, NULL);
Date: 2025-05-17 23:19:49 Duration: 3ms Database: socialmedia User: postgres Remote: 192.168.4.33 Application: [unknown]
-
INSERT INTO executionlogs (executionid, status, message, details, detailtype) VALUES (NULL, 'info', 'evaluating processid: 175, schedule: 1 9 * * 1 Africa/Johannesburg', NULL, NULL);
Date: 2025-05-17 23:37:49 Duration: 3ms Database: socialmedia User: postgres Remote: 192.168.4.33 Application: [unknown]
5 4,538 3s413ms 0ms 9ms 0ms insert into t15 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) on conflict (pricedatetime, symbolid) do update set open = ?, high = ?, low = ?, close = ?, volume = ?, bsf = ?, sastdatetimewritten = ?, sastdatetimereceived = ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration May 17 23 4,538 3s413ms 0ms [ User: postgres - Total duration: 3s413ms - Times executed: 4538 ]
[ Application: [unknown] - Total duration: 3s413ms - Times executed: 4538 ]
-
INSERT INTO T15 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ('2025-05-18 00:15:00', '0.229', '0.2293', '0.2277', '0.2293', '427', '515840249462859300', '0', '2025-05-17 23:30:55.202', '2025-05-17 23:30:55.075') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '0.229', high = '0.2293', low = '0.2277', close = '0.2293', volume = '427', bsf = '0', sastdatetimewritten = '2025-05-17 23:30:55.202', sastdatetimereceived = '2025-05-17 23:30:55.075';
Date: 2025-05-17 23:30:55 Duration: 9ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
-
INSERT INTO T15 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ('2025-05-17 23:45:00', '5.31', '5.41', '5.31', '5.39', '52', '515840247947986300', '0', '2025-05-17 23:02:04.748', '2025-05-17 23:02:04.586') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '5.31', high = '5.41', low = '5.31', close = '5.39', volume = '52', bsf = '0', sastdatetimewritten = '2025-05-17 23:02:04.748', sastdatetimereceived = '2025-05-17 23:02:04.586';
Date: 2025-05-17 23:02:04 Duration: 9ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
-
INSERT INTO T15 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ('2025-05-17 23:45:00', '0.1944', '0.1972', '0.1943', '0.197', '86', '515840247944733300', '0', '2025-05-17 23:01:01.743', '2025-05-17 23:01:01.677') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '0.1944', high = '0.1972', low = '0.1943', close = '0.197', volume = '86', bsf = '0', sastdatetimewritten = '2025-05-17 23:01:01.743', sastdatetimereceived = '2025-05-17 23:01:01.677';
Date: 2025-05-17 23:01:01 Duration: 8ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
6 4,056 687ms 0ms 7ms 0ms insert into t30 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) on conflict (pricedatetime, symbolid) do update set open = ?, high = ?, low = ?, close = ?, volume = ?, bsf = ?, sastdatetimewritten = ?, sastdatetimereceived = ?;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration May 17 23 4,056 687ms 0ms [ User: postgres - Total duration: 687ms - Times executed: 4056 ]
[ Application: [unknown] - Total duration: 687ms - Times executed: 4056 ]
-
INSERT INTO T30 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ('2025-05-17 23:30:00', '34.24', '34.35', '34.2', '34.24', '880', '515840247893477300', '0', '2025-05-17 23:01:14.392', '2025-05-17 23:01:14.158') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '34.24', high = '34.35', low = '34.2', close = '34.24', volume = '880', bsf = '0', sastdatetimewritten = '2025-05-17 23:01:14.392', sastdatetimereceived = '2025-05-17 23:01:14.158';
Date: 2025-05-17 23:01:14 Duration: 7ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
-
INSERT INTO T30 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ('2025-05-17 23:30:00', '0.25984', '0.2612', '0.25971', '0.2612', '1059', '515840247991182300', '0', '2025-05-17 23:01:08.08', '2025-05-17 23:01:08.034') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '0.25984', high = '0.2612', low = '0.25971', close = '0.2612', volume = '1059', bsf = '0', sastdatetimewritten = '2025-05-17 23:01:08.08', sastdatetimereceived = '2025-05-17 23:01:08.034';
Date: 2025-05-17 23:01:08 Duration: 7ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
-
INSERT INTO T30 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ('2025-05-17 23:30:00', '2210.28', '2229.16', '2209.87', '2223.7', '6542', '515840247911613300', '0', '2025-05-17 23:00:51.651', '2025-05-17 23:00:51.598') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '2210.28', high = '2229.16', low = '2209.87', close = '2223.7', volume = '6542', bsf = '0', sastdatetimewritten = '2025-05-17 23:00:51.651', sastdatetimereceived = '2025-05-17 23:00:51.598';
Date: 2025-05-17 23:00:51 Duration: 7ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
7 3,424 606ms 0ms 7ms 0ms insert into t60 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) on conflict (pricedatetime, symbolid) do update set open = ?, high = ?, low = ?, close = ?, volume = ?, bsf = ?, sastdatetimewritten = ?, sastdatetimereceived = ?;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration May 17 23 3,424 606ms 0ms [ User: postgres - Total duration: 606ms - Times executed: 3424 ]
[ Application: [unknown] - Total duration: 606ms - Times executed: 3424 ]
-
INSERT INTO T60 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ('2025-05-17 23:00:00', '1852.71', '1872.04', '1849.18', '1867.08', '1735', '515840247940523300', '0', '2025-05-17 23:00:53.707', '2025-05-17 23:00:53.642') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '1852.71', high = '1872.04', low = '1849.18', close = '1867.08', volume = '1735', bsf = '0', sastdatetimewritten = '2025-05-17 23:00:53.707', sastdatetimereceived = '2025-05-17 23:00:53.642';
Date: 2025-05-17 23:00:53 Duration: 7ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
-
INSERT INTO T60 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ('2025-05-17 23:00:00', '34.23', '34.35', '34.2', '34.24', '2024', '515840247893649300', '0', '2025-05-17 23:01:14.076', '2025-05-17 23:01:13.933') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '34.23', high = '34.35', low = '34.2', close = '34.24', volume = '2024', bsf = '0', sastdatetimewritten = '2025-05-17 23:01:14.076', sastdatetimereceived = '2025-05-17 23:01:13.933';
Date: 2025-05-17 23:01:14 Duration: 7ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
-
INSERT INTO T60 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ('2025-05-17 23:00:00', '2206.56', '2229.16', '2202.26', '2223.7', '13837', '515840247911908300', '0', '2025-05-17 23:00:51.677', '2025-05-17 23:00:51.635') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '2206.56', high = '2229.16', low = '2202.26', close = '2223.7', volume = '13837', bsf = '0', sastdatetimewritten = '2025-05-17 23:00:51.677', sastdatetimereceived = '2025-05-17 23:00:51.635';
Date: 2025-05-17 23:00:51 Duration: 7ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
8 1,924 768ms 0ms 3ms 0ms select t.pricedatetime, t.open, t.high, t.low, t.close, t.volume, t.symbolid, dss.downloadersymbol as symbol, dss.classname as datafeed, t.bsf, t.sastdatetimewritten, t.sastdatetimereceived from t15 t inner join downloadersymbolsettings dss on t.symbolid = dss.symbolid where dss.classname = ? and dss.downloadersymbol in (...) and dss.downloadfrequency = ? and t.pricedatetime between ?::timestamp and ?::timestamp order by t.pricedatetime;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration May 17 23 1,924 768ms 0ms [ User: postgres - Total duration: 768ms - Times executed: 1924 ]
[ Application: [unknown] - Total duration: 768ms - Times executed: 1924 ]
-
SELECT t.pricedatetime, t.open, t.high, t.low, t.close, t.volume, t.symbolid, dss.downloadersymbol AS symbol, dss.classname as datafeed, t.bsf, t.sastdatetimewritten, t.sastdatetimereceived FROM T15 t INNER JOIN downloadersymbolsettings dss ON t.symbolid = dss.symbolid WHERE dss.classname = 'ICMARKETS-AU-MT5' AND dss.downloadersymbol IN ('XAUEUR') AND dss.downloadfrequency = '15' AND t.pricedatetime BETWEEN '2025-05-16 00:00:00'::timestamp AND '2025-05-16 23:45:00'::timestamp ORDER BY t.pricedatetime;
Date: 2025-05-17 23:01:01 Duration: 3ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
-
SELECT t.pricedatetime, t.open, t.high, t.low, t.close, t.volume, t.symbolid, dss.downloadersymbol AS symbol, dss.classname as datafeed, t.bsf, t.sastdatetimewritten, t.sastdatetimereceived FROM T15 t INNER JOIN downloadersymbolsettings dss ON t.symbolid = dss.symbolid WHERE dss.classname = 'ICMARKETS-AU-MT5' AND dss.downloadersymbol IN ('XAUEUR') AND dss.downloadfrequency = '15' AND t.pricedatetime BETWEEN '2025-05-16 00:00:00'::timestamp AND '2025-05-16 23:45:00'::timestamp ORDER BY t.pricedatetime;
Date: 2025-05-17 23:16:01 Duration: 3ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
-
SELECT t.pricedatetime, t.open, t.high, t.low, t.close, t.volume, t.symbolid, dss.downloadersymbol AS symbol, dss.classname as datafeed, t.bsf, t.sastdatetimewritten, t.sastdatetimereceived FROM T15 t INNER JOIN downloadersymbolsettings dss ON t.symbolid = dss.symbolid WHERE dss.classname = 'ICMARKETS-AU-MT5' AND dss.downloadersymbol IN ('AUS200') AND dss.downloadfrequency = '15' AND t.pricedatetime BETWEEN '2025-05-16 00:00:00'::timestamp AND '2025-05-16 23:45:00'::timestamp ORDER BY t.pricedatetime;
Date: 2025-05-17 23:01:10 Duration: 3ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
9 1,671 234ms 0ms 3ms 0ms insert into t240 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) on conflict (pricedatetime, symbolid) do update set open = ?, high = ?, low = ?, close = ?, volume = ?, bsf = ?, sastdatetimewritten = ?, sastdatetimereceived = ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration May 17 23 1,671 234ms 0ms [ User: postgres - Total duration: 234ms - Times executed: 1671 ]
[ Application: [unknown] - Total duration: 234ms - Times executed: 1671 ]
-
INSERT INTO T240 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ('2025-05-17 20:00:00', '39.23245', '39.70165', '39.13425', '39.63465', '186058', '515840249405670300', '0', '2025-05-17 23:00:51.992', '2025-05-17 23:00:51.854') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '39.23245', high = '39.70165', low = '39.13425', close = '39.63465', volume = '186058', bsf = '0', sastdatetimewritten = '2025-05-17 23:00:51.992', sastdatetimereceived = '2025-05-17 23:00:51.854';
Date: 2025-05-17 23:00:51 Duration: 3ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
-
INSERT INTO T240 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ('2025-05-17 20:00:00', '165.25165', '167.9426', '164.7401', '167.51185', '23328', '515840249476671300', '0', '2025-05-17 23:01:01.925', '2025-05-17 23:01:01.877') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '165.25165', high = '167.9426', low = '164.7401', close = '167.51185', volume = '23328', bsf = '0', sastdatetimewritten = '2025-05-17 23:01:01.925', sastdatetimereceived = '2025-05-17 23:01:01.877';
Date: 2025-05-17 23:01:01 Duration: 2ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
-
INSERT INTO T240 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ('2025-05-17 20:00:00', '0.6097', '0.6137', '0.6028', '0.6077', '7284', '515840248632805300', '0', '2025-05-17 23:00:09.436', '2025-05-17 23:00:09.328') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '0.6097', high = '0.6137', low = '0.6028', close = '0.6077', volume = '7284', bsf = '0', sastdatetimewritten = '2025-05-17 23:00:09.436', sastdatetimereceived = '2025-05-17 23:00:09.328';
Date: 2025-05-17 23:00:09 Duration: 2ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
10 1,551 1s842ms 0ms 6ms 1ms insert into t1440_underlying (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) on conflict (pricedatetime, symbolid) do update set open = ?, high = ?, low = ?, close = ?, volume = ?, bsf = ?, sastdatetimewritten = ?, sastdatetimereceived = ?;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration May 17 23 1,551 1s842ms 1ms [ User: postgres - Total duration: 1s842ms - Times executed: 1551 ]
[ Application: [unknown] - Total duration: 1s842ms - Times executed: 1551 ]
-
INSERT INTO T1440_underlying (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ('2025-05-16 00:00:00', '1.330415', '1.333265', '1.325075', '1.327885', '64576', '515840249374139300', '0', '2025-05-17 23:15:49.337', '2025-05-17 23:15:49.336') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '1.330415', high = '1.333265', low = '1.325075', close = '1.327885', volume = '64576', bsf = '0', sastdatetimewritten = '2025-05-17 23:15:49.337', sastdatetimereceived = '2025-05-17 23:15:49.336';
Date: 2025-05-17 23:15:49 Duration: 6ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
-
INSERT INTO T1440_underlying (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ('2025-05-17 00:00:00', '6.146', '6.169', '5.655', '5.699', '46562', '515840248621836300', '0', '2025-05-17 23:01:01.41', '2025-05-17 23:01:01.409') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '6.146', high = '6.169', low = '5.655', close = '5.699', volume = '46562', bsf = '0', sastdatetimewritten = '2025-05-17 23:01:01.41', sastdatetimereceived = '2025-05-17 23:01:01.409';
Date: 2025-05-17 23:01:01 Duration: 5ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
-
INSERT INTO T1440_underlying (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ('2025-05-17 00:00:00', '169.48', '170.16', '163.91', '165.79', '87548', '515840249462695300', '0', '2025-05-17 23:00:59.556', '2025-05-17 23:00:59.555') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '169.48', high = '170.16', low = '163.91', close = '165.79', volume = '87548', bsf = '0', sastdatetimewritten = '2025-05-17 23:00:59.556', sastdatetimereceived = '2025-05-17 23:00:59.555';
Date: 2025-05-17 23:00:59 Duration: 4ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
11 1,201 233ms 0ms 0ms 0ms select datetimeupdate from latest_candle_datetime_per_receng where recognitionengine ilike ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration May 17 23 1,201 233ms 0ms [ User: postgres - Total duration: 233ms - Times executed: 1201 ]
[ Application: [unknown] - Total duration: 233ms - Times executed: 1201 ]
-
SELECT datetimeupdate FROM latest_candle_datetime_per_receng WHERE recognitionengine ILIKE 'MILLENNIUMPF - 1';
Date: 2025-05-17 23:32:01 Duration: 0ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
-
SELECT datetimeupdate FROM latest_candle_datetime_per_receng WHERE recognitionengine ILIKE 'MILLENNIUMPF - 1';
Date: 2025-05-17 23:02:29 Duration: 0ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
-
SELECT datetimeupdate FROM latest_candle_datetime_per_receng WHERE recognitionengine ILIKE 'HOTFOREX - 1';
Date: 2025-05-17 23:17:04 Duration: 0ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
12 694 2s111ms 2ms 6ms 3ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration May 17 23 694 2s111ms 3ms [ User: postgres - Total duration: 2s111ms - Times executed: 694 ]
[ Application: [unknown] - Total duration: 2s111ms - Times executed: 694 ]
-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 13:15:00'::timestamp without time zone, 0.64105, 0.6412, 0.6404, 0.64055, 983, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 13:30:00'::timestamp without time zone, 0.6406, 0.6406, 0.6403, 0.6404, 1012, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 13:45:00'::timestamp without time zone, 0.6404, 0.6409, 0.6403, 0.6407, 824, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 14:00:00'::timestamp without time zone, 0.6407, 0.6409, 0.6406, 0.64075, 836, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 14:15:00'::timestamp without time zone, 0.64075, 0.64085, 0.6398, 0.64005, 2221, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 14:30:00'::timestamp without time zone, 0.64005, 0.64025, 0.6399, 0.64005, 1206, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 14:45:00'::timestamp without time zone, 0.64, 0.6402, 0.6399, 0.63995, 1297, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 15:00:00'::timestamp without time zone, 0.63995, 0.64005, 0.63985, 0.63995, 985, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 15:15:00'::timestamp without time zone, 0.64005, 0.64055, 0.63985, 0.6402, 2241, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 15:30:00'::timestamp without time zone, 0.64025, 0.6407, 0.64025, 0.64045, 1226, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 15:45:00'::timestamp without time zone, 0.64045, 0.6406, 0.6403, 0.6404, 1033, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 16:00:00'::timestamp without time zone, 0.6404, 0.6404, 0.6402, 0.6403, 266, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 16:15:00'::timestamp without time zone, 0.6403, 0.6405, 0.64025, 0.64035, 71, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 16:30:00'::timestamp without time zone, 0.6404, 0.6405, 0.64035, 0.6405, 124, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 16:45:00'::timestamp without time zone, 0.6404, 0.6405, 0.64025, 0.64035, 185, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 18:00:00'::timestamp without time zone, 0.6404, 0.64065, 0.6402, 0.64025, 180, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 18:15:00'::timestamp without time zone, 0.6403, 0.6403, 0.63995, 0.6402, 466, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 18:30:00'::timestamp without time zone, 0.6402, 0.64045, 0.6401, 0.64025, 230, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 18:45:00'::timestamp without time zone, 0.64025, 0.6405, 0.64025, 0.64035, 195, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 19:00:00'::timestamp without time zone, 0.6403, 0.6403, 0.63975, 0.63985, 472, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 19:15:00'::timestamp without time zone, 0.6399, 0.63995, 0.6396, 0.63965, 168, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 19:30:00'::timestamp without time zone, 0.63965, 0.64005, 0.63955, 0.64, 539, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 19:45:00'::timestamp without time zone, 0.64, 0.64005, 0.63945, 0.63965, 415, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 20:00:00'::timestamp without time zone, 0.63965, 0.6401, 0.63945, 0.6395, 839, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 20:15:00'::timestamp without time zone, 0.63945, 0.63975, 0.63905, 0.6393, 947, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 20:30:00'::timestamp without time zone, 0.63925, 0.6394, 0.63915, 0.6392, 371, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 20:45:00'::timestamp without time zone, 0.6392, 0.6394, 0.6391, 0.63935, 624, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 21:00:00'::timestamp without time zone, 0.6393, 0.63965, 0.6391, 0.63955, 720, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 21:15:00'::timestamp without time zone, 0.6396, 0.6397, 0.63915, 0.63945, 564, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 21:30:00'::timestamp without time zone, 0.63945, 0.63985, 0.63845, 0.6388, 984, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 21:45:00'::timestamp without time zone, 0.6388, 0.63905, 0.63875, 0.63905, 483, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 22:00:00'::timestamp without time zone, 0.63905, 0.63905, 0.63735, 0.63785, 2064, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 22:15:00'::timestamp without time zone, 0.6379, 0.6388, 0.6379, 0.6388, 929, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 22:30:00'::timestamp without time zone, 0.63885, 0.63975, 0.6388, 0.63965, 2449, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 22:45:00'::timestamp without time zone, 0.6396, 0.64, 0.6394, 0.6399, 827, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 23:00:00'::timestamp without time zone, 0.63995, 0.64065, 0.63995, 0.6403, 1660, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 23:15:00'::timestamp without time zone, 0.6403, 0.6404, 0.6399, 0.63995, 465, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 23:30:00'::timestamp without time zone, 0.6399, 0.6408, 0.6399, 0.64035, 1125, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 23:45:00'::timestamp without time zone, 0.64035, 0.6409, 0.64035, 0.64085, 301, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 00:00:00'::timestamp without time zone, 0.6409, 0.64115, 0.6408, 0.6408, 648, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 00:15:00'::timestamp without time zone, 0.64085, 0.64115, 0.64045, 0.64115, 544, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 00:30:00'::timestamp without time zone, 0.6411, 0.6411, 0.64085, 0.641, 128, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 00:45:00'::timestamp without time zone, 0.64105, 0.64135, 0.64095, 0.6413, 244, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 01:00:00'::timestamp without time zone, 0.6412, 0.6412, 0.6405, 0.64065, 592, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 01:15:00'::timestamp without time zone, 0.64065, 0.64065, 0.6403, 0.6405, 472, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 01:30:00'::timestamp without time zone, 0.6405, 0.64105, 0.6405, 0.64095, 361, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 01:45:00'::timestamp without time zone, 0.64095, 0.64105, 0.6405, 0.64085, 740, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 02:00:00'::timestamp without time zone, 0.6408, 0.641, 0.64065, 0.64075, 725, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 02:15:00'::timestamp without time zone, 0.64085, 0.641, 0.6402, 0.64025, 630, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 02:30:00'::timestamp without time zone, 0.6403, 0.64075, 0.6403, 0.6407, 625, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 02:45:00'::timestamp without time zone, 0.64065, 0.64065, 0.64025, 0.64025, 408, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING;
Date: 2025-05-17 23:26:21 Duration: 6ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 08:15:00'::timestamp without time zone, 105.868, 105.893, 105.81, 105.872, 2480, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 08:30:00'::timestamp without time zone, 105.851, 105.949, 105.679, 105.722, 4207, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 08:45:00'::timestamp without time zone, 105.733, 105.926, 105.72, 105.864, 3452, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 09:00:00'::timestamp without time zone, 105.863, 105.865, 105.57, 105.609, 3658, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 09:15:00'::timestamp without time zone, 105.606, 105.685, 105.56, 105.583, 3434, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 09:30:00'::timestamp without time zone, 105.592, 105.638, 105.458, 105.539, 4335, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 09:45:00'::timestamp without time zone, 105.527, 105.599, 105.48, 105.546, 3667, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 10:00:00'::timestamp without time zone, 105.534, 105.747, 105.51, 105.745, 3556, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 10:15:00'::timestamp without time zone, 105.744, 105.755, 105.62, 105.669, 3567, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 10:30:00'::timestamp without time zone, 105.658, 105.805, 105.6, 105.674, 3795, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 10:45:00'::timestamp without time zone, 105.666, 105.8, 105.65, 105.757, 3863, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 11:00:00'::timestamp without time zone, 105.758, 105.804, 105.66, 105.791, 3443, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 11:15:00'::timestamp without time zone, 105.783, 105.845, 105.71, 105.8, 3037, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 11:30:00'::timestamp without time zone, 105.807, 105.876, 105.73, 105.859, 2781, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 11:45:00'::timestamp without time zone, 105.856, 105.871, 105.76, 105.841, 2947, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 12:00:00'::timestamp without time zone, 105.837, 105.847, 105.67, 105.752, 2734, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 12:15:00'::timestamp without time zone, 105.743, 105.825, 105.68, 105.811, 2216, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 12:30:00'::timestamp without time zone, 105.809, 105.819, 105.64, 105.705, 2522, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 12:45:00'::timestamp without time zone, 105.713, 105.783, 105.67, 105.77, 2165, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 13:00:00'::timestamp without time zone, 105.763, 105.83, 105.74, 105.804, 2069, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 13:15:00'::timestamp without time zone, 105.797, 105.91, 105.79, 105.895, 1657, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 13:30:00'::timestamp without time zone, 105.894, 105.9, 105.81, 105.845, 1737, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 13:45:00'::timestamp without time zone, 105.836, 105.872, 105.78, 105.834, 1926, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 14:00:00'::timestamp without time zone, 105.831, 105.835, 105.74, 105.795, 1914, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 14:15:00'::timestamp without time zone, 105.788, 105.835, 105.76, 105.824, 1632, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 14:30:00'::timestamp without time zone, 105.825, 105.834, 105.74, 105.779, 1676, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 14:45:00'::timestamp without time zone, 105.78, 105.829, 105.74, 105.807, 1975, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 15:00:00'::timestamp without time zone, 105.807, 105.834, 105.75, 105.834, 1895, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 15:15:00'::timestamp without time zone, 105.826, 105.867, 105.8, 105.841, 1411, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 15:30:00'::timestamp without time zone, 105.84, 105.871, 105.81, 105.837, 1368, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 15:45:00'::timestamp without time zone, 105.831, 105.847, 105.74, 105.807, 2051, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 16:00:00'::timestamp without time zone, 105.805, 105.828, 105.74, 105.758, 1366, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 16:15:00'::timestamp without time zone, 105.764, 105.823, 105.73, 105.786, 1072, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 16:30:00'::timestamp without time zone, 105.781, 105.825, 105.758, 105.775, 902, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 16:45:00'::timestamp without time zone, 105.772, 105.82, 105.73, 105.805, 726, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 17:00:00'::timestamp without time zone, 105.8, 105.836, 105.655, 105.749, 215, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 17:15:00'::timestamp without time zone, 105.744, 105.82, 105.639, 105.739, 323, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 17:30:00'::timestamp without time zone, 105.741, 105.835, 105.668, 105.747, 452, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 17:45:00'::timestamp without time zone, 105.77, 105.82, 105.708, 105.737, 405, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 18:00:00'::timestamp without time zone, 105.744, 105.83, 105.684, 105.739, 538, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 18:15:00'::timestamp without time zone, 105.736, 105.784, 105.71, 105.776, 568, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 18:30:00'::timestamp without time zone, 105.78, 105.804, 105.7426275, 105.773, 528, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 18:45:00'::timestamp without time zone, 105.773, 105.811, 105.74, 105.781, 558, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 19:00:00'::timestamp without time zone, 105.779, 105.846, 105.76, 105.82, 646, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 19:15:00'::timestamp without time zone, 105.819, 105.853, 105.77, 105.825, 687, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 19:30:00'::timestamp without time zone, 105.825, 105.849, 105.8, 105.81, 670, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 19:45:00'::timestamp without time zone, 105.827, 105.887, 105.81, 105.868, 742, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 20:00:00'::timestamp without time zone, 105.87, 105.942, 105.83, 105.93, 1210, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 20:15:00'::timestamp without time zone, 105.927, 105.942, 105.807, 105.831, 976, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 20:30:00'::timestamp without time zone, 105.831, 105.847, 105.77, 105.8, 921, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 20:45:00'::timestamp without time zone, 105.801, 105.859, 105.69, 105.764, 1291, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING;
Date: 2025-05-17 23:26:25 Duration: 4ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 15:45:00'::timestamp without time zone, 0.6412, 0.64145, 0.64105, 0.64145, 555, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 16:00:00'::timestamp without time zone, 0.6414, 0.6415, 0.6413, 0.6413, 285, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 16:15:00'::timestamp without time zone, 0.6413, 0.64155, 0.6413, 0.6414, 413, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 16:30:00'::timestamp without time zone, 0.6414, 0.6414, 0.64135, 0.6414, 140, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 16:45:00'::timestamp without time zone, 0.6413, 0.64145, 0.6411, 0.64135, 282, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 18:00:00'::timestamp without time zone, 0.6425, 0.64355, 0.64205, 0.64335, 1340, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 18:15:00'::timestamp without time zone, 0.64335, 0.64335, 0.64235, 0.64255, 425, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 18:30:00'::timestamp without time zone, 0.6426, 0.6427, 0.6422, 0.64225, 519, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 18:45:00'::timestamp without time zone, 0.64215, 0.6424, 0.64205, 0.6422, 230, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 19:00:00'::timestamp without time zone, 0.64225, 0.64255, 0.64205, 0.64245, 286, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 19:15:00'::timestamp without time zone, 0.6425, 0.64275, 0.6423, 0.6427, 361, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 19:30:00'::timestamp without time zone, 0.64265, 0.64315, 0.64245, 0.64295, 872, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 19:45:00'::timestamp without time zone, 0.643, 0.643, 0.64215, 0.64225, 953, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 20:00:00'::timestamp without time zone, 0.64225, 0.6427, 0.6422, 0.64245, 752, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 20:15:00'::timestamp without time zone, 0.64245, 0.6425, 0.64145, 0.64175, 697, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 20:30:00'::timestamp without time zone, 0.64175, 0.64235, 0.6417, 0.64235, 543, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 20:45:00'::timestamp without time zone, 0.64235, 0.6427, 0.64215, 0.6425, 742, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 21:00:00'::timestamp without time zone, 0.64245, 0.6436, 0.64245, 0.64285, 955, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 21:15:00'::timestamp without time zone, 0.64285, 0.64315, 0.6425, 0.6427, 605, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 21:30:00'::timestamp without time zone, 0.6429, 0.64325, 0.6423, 0.64285, 568, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 21:45:00'::timestamp without time zone, 0.6429, 0.6429, 0.64225, 0.6426, 425, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 22:00:00'::timestamp without time zone, 0.64255, 0.643, 0.6423, 0.64285, 493, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 22:15:00'::timestamp without time zone, 0.64285, 0.643, 0.64265, 0.64275, 196, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 22:30:00'::timestamp without time zone, 0.64275, 0.64275, 0.6418, 0.64205, 706, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 22:45:00'::timestamp without time zone, 0.64205, 0.6427, 0.6419, 0.64265, 598, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 23:00:00'::timestamp without time zone, 0.64265, 0.6432, 0.6425, 0.64295, 590, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 23:15:00'::timestamp without time zone, 0.6429, 0.6429, 0.64255, 0.64285, 382, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 23:30:00'::timestamp without time zone, 0.6429, 0.643, 0.64255, 0.643, 243, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 23:45:00'::timestamp without time zone, 0.643, 0.6435, 0.64275, 0.64335, 368, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 00:00:00'::timestamp without time zone, 0.64335, 0.6438, 0.64335, 0.64345, 704, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 00:15:00'::timestamp without time zone, 0.6435, 0.64375, 0.64345, 0.64355, 171, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 00:30:00'::timestamp without time zone, 0.6435, 0.6435, 0.6429, 0.64315, 300, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 00:45:00'::timestamp without time zone, 0.6431, 0.64345, 0.643, 0.64335, 381, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 01:00:00'::timestamp without time zone, 0.64335, 0.64375, 0.6433, 0.64345, 500, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 01:15:00'::timestamp without time zone, 0.6434, 0.64345, 0.643, 0.6434, 401, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 01:30:00'::timestamp without time zone, 0.64345, 0.64355, 0.6431, 0.64355, 282, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 01:45:00'::timestamp without time zone, 0.6435, 0.64415, 0.6434, 0.6439, 853, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 02:00:00'::timestamp without time zone, 0.64385, 0.64425, 0.64385, 0.64415, 748, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 02:15:00'::timestamp without time zone, 0.64415, 0.64435, 0.6436, 0.6441, 1504, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 02:30:00'::timestamp without time zone, 0.64415, 0.6445, 0.64335, 0.6434, 1141, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 02:45:00'::timestamp without time zone, 0.64345, 0.6437, 0.64325, 0.64325, 717, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 03:00:00'::timestamp without time zone, 0.64325, 0.6464, 0.64325, 0.6444, 8743, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 03:15:00'::timestamp without time zone, 0.64445, 0.6446, 0.6417, 0.6418, 3893, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 03:30:00'::timestamp without time zone, 0.64185, 0.6426, 0.6399, 0.63995, 4212, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 03:45:00'::timestamp without time zone, 0.63995, 0.64085, 0.63955, 0.64075, 4587, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 04:00:00'::timestamp without time zone, 0.6408, 0.64175, 0.6399, 0.6401, 3956, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 04:15:00'::timestamp without time zone, 0.64015, 0.6409, 0.6399, 0.64075, 1741, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 04:30:00'::timestamp without time zone, 0.64075, 0.64105, 0.64005, 0.64105, 2168, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 04:45:00'::timestamp without time zone, 0.64105, 0.64175, 0.6408, 0.64125, 1594, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 05:00:00'::timestamp without time zone, 0.64125, 0.64165, 0.64055, 0.6406, 1125, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 05:15:00'::timestamp without time zone, 0.64065, 0.6418, 0.64055, 0.64175, 969, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING;
Date: 2025-05-17 23:26:21 Duration: 4ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
13 553 846ms 0ms 4ms 1ms select s.symbolid, dss.downloadfrequency, dss.downloadersymbol from downloadersymbolsettings dss inner join symbols s on dss.symbolid = s.symbolid where dss.classname = ? and s.deleted = ? and dss.enabled = ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration May 17 23 553 846ms 1ms [ User: postgres - Total duration: 846ms - Times executed: 553 ]
[ Application: [unknown] - Total duration: 846ms - Times executed: 553 ]
-
SELECT s.symbolid, dss.downloadfrequency, dss.downloadersymbol FROM downloadersymbolsettings dss INNER JOIN symbols s ON dss.symbolid = s.symbolid WHERE dss.classname = 'ICMARKETS-AU-MT5' AND s.deleted = 0 AND dss.enabled = 1;
Date: 2025-05-17 23:31:58 Duration: 4ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
-
SELECT s.symbolid, dss.downloadfrequency, dss.downloadersymbol FROM downloadersymbolsettings dss INNER JOIN symbols s ON dss.symbolid = s.symbolid WHERE dss.classname = 'ICMARKETS-AU-MT5' AND s.deleted = 0 AND dss.enabled = 1;
Date: 2025-05-17 23:17:09 Duration: 4ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
-
SELECT s.symbolid, dss.downloadfrequency, dss.downloadersymbol FROM downloadersymbolsettings dss INNER JOIN symbols s ON dss.symbolid = s.symbolid WHERE dss.classname = 'ICMARKETS-AU-MT5' AND s.deleted = 0 AND dss.enabled = 1;
Date: 2025-05-17 23:31:32 Duration: 4ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
14 553 93ms 0ms 0ms 0ms select downloadersymbol, spike_threshold from price_datafeed_spike_threshold where classname = ?;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration May 17 23 553 93ms 0ms [ User: postgres - Total duration: 93ms - Times executed: 553 ]
[ Application: [unknown] - Total duration: 93ms - Times executed: 553 ]
-
SELECT downloadersymbol, spike_threshold FROM price_datafeed_spike_threshold WHERE classname = 'ICMARKETS-AU-MT5';
Date: 2025-05-17 23:45:49 Duration: 0ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
-
SELECT downloadersymbol, spike_threshold FROM price_datafeed_spike_threshold WHERE classname = 'ICMARKETS-AU-MT5';
Date: 2025-05-17 23:15:56 Duration: 0ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
-
SELECT downloadersymbol, spike_threshold FROM price_datafeed_spike_threshold WHERE classname = 'ATFX';
Date: 2025-05-17 23:15:40 Duration: 0ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
15 525 629ms 0ms 11ms 1ms insert into autochartist_results (resultid, symbolid, bandwidth, pattern, qtytp, gmttimefound, direction, initialtrend, breakout, volumeincrease, noise, symmetry, predictionpricefrom, predictionpriceto, predictiontimefrom, predictiontimeto, patternstarttime, patternendtime, patternstartprice, patternendprice, resx0, resx1, supportx0, supportx1, resy0, resy1, supporty0, supporty1, supportgradient, resgradient, riskreward, patternquality, trendchange, maxmovementafterbreakout, latestbaratbreakouttime, latestbaratbreakoutprice, patternlengthbars, temporarypattern, relevancestartdistance, simulation, writtendatetime) values (?, ?, ?.?, ?, ?, ?::timestamp without time zone, ?, ?.?, ?.?, ?.?, ?.?, ?.?, ?.?, ?.?, ?::timestamp without time zone, ?::timestamp without time zone, ?::timestamp without time zone, ?::timestamp without time zone, ?.?, ?.?, ?::timestamp without time zone, ?::timestamp without time zone, ?::timestamp without time zone, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?.?, ?.?, ?.?, ?.?, ?, ?.?, ?::timestamp without time zone, ?.?, ?, ?, ?.?, ?, current_timestamp::timestamp without time zone) on conflict do nothing;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration May 17 23 525 629ms 1ms [ User: postgres - Total duration: 629ms - Times executed: 525 ]
[ Application: [unknown] - Total duration: 629ms - Times executed: 525 ]
-
INSERT INTO Autochartist_Results (ResultID, SymbolID, Bandwidth, Pattern, QtyTP, GMTTimeFound, Direction, InitialTrend, Breakout, VolumeIncrease, Noise, Symmetry, PredictionPriceFrom, PredictionPriceTo, PredictionTimeFrom, PredictionTimeTo, PatternStartTime, PatternEndTime, PatternStartPrice, PatternEndPrice, Resx0, Resx1, Supportx0, Supportx1, Resy0, Resy1, Supporty0, Supporty1, SupportGradient, ResGradient, RiskReward, PatternQuality, TrendChange, MaxMovementAfterBreakout, LatestBarAtBreakoutTime, LatestBarAtBreakoutPrice, PatternLengthBars, TemporaryPattern, relevancestartdistance, simulation, writtendatetime) VALUES ('5158402482669003000.9235|45794.7708|45794.8854|45794.8229|45794.9688|19935|19915.1|19676.9|19761.7', 515840248266900300, 2.000000000000000000000000000000, 'Triangle', 4, '2025-05-17 21:11:37'::timestamp without time zone, 1, 0.284614615139707372000000000000, 0.923491960720874804900000000000, 0.378902083481476137400000000000, 0.172223610295043377800000000000, 0.758500129798715505600000000000, 20024.253784614185860000000000000000, 20150.469083074051010000000000000000, '2025-05-18 00:00:00'::timestamp without time zone, '2025-05-18 02:45:00'::timestamp without time zone, '2025-05-17 16:45:00'::timestamp without time zone, '2025-05-18 00:00:00'::timestamp without time zone, 19723.799999999999270000000000000000, 19895.199999999997090000000000000000, '2025-05-17 18:30:00'::timestamp without time zone, '2025-05-17 21:15:00'::timestamp without time zone, '2025-05-17 19:45:00'::timestamp without time zone, '2025-05-17 23:15:00'::timestamp without time zone, 19935.000000000000000000000000000000, 19915.099999999998540000000000000000, 19676.900000000001460000000000000000, 19761.700000000000730000000000000000, 6.057142857142805426000000000000, - 1.809090909091041421000000000000, 3.317803511728730559000000000000, 0.698595773841063527600000000000, 'Continuation', 38.900000000001455190000000000000, '2025-05-18 00:00:00'::timestamp without time zone, 19934.099999999998540000000000000000, 22, 0, 108.283333333332237200000000000000, 0, CURRENT_TIMESTAMP::timestamp without time zone) ON CONFLICT DO NOTHING;
Date: 2025-05-17 23:15:48 Duration: 11ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
-
INSERT INTO Autochartist_Results (ResultID, SymbolID, Bandwidth, Pattern, QtyTP, GMTTimeFound, Direction, InitialTrend, Breakout, VolumeIncrease, Noise, Symmetry, PredictionPriceFrom, PredictionPriceTo, PredictionTimeFrom, PredictionTimeTo, PatternStartTime, PatternEndTime, PatternStartPrice, PatternEndPrice, Resx0, Resx1, Supportx0, Supportx1, Resy0, Resy1, Supporty0, Supporty1, SupportGradient, ResGradient, RiskReward, PatternQuality, TrendChange, MaxMovementAfterBreakout, LatestBarAtBreakoutTime, LatestBarAtBreakoutPrice, PatternLengthBars, TemporaryPattern, relevancestartdistance, simulation, writtendatetime) VALUES ('5158402494048593000.5784|45793.7917|45794.4167|45794.1667|45794.7917|40.9094|40.1701|39.0885|38.9534', 515840249404859300, 2.000000000000000000000000000000, 'Falling Wedge', 4, '2025-05-17 20:56:51'::timestamp without time zone, 1, 0.284283880275087108600000000000, 0.578376966086627031200000000000, 0.502261012835556575000000000000, 0.178883652126854753000000000000, 0.842187902039292613000000000000, 40.209591230475702160000000000000, 41.014508953141685760000000000000, '2025-05-17 23:00:00'::timestamp without time zone, '2025-05-18 13:00:00'::timestamp without time zone, '2025-05-16 11:00:00'::timestamp without time zone, '2025-05-17 23:00:00'::timestamp without time zone, 40.133650000000002930000000000000, 39.529236666666669460000000000000, '2025-05-16 19:00:00'::timestamp without time zone, '2025-05-17 10:00:00'::timestamp without time zone, '2025-05-17 04:00:00'::timestamp without time zone, '2025-05-17 19:00:00'::timestamp without time zone, 40.909449999999999650000000000000, 40.170050000000003360000000000000, 39.088549999999997910000000000000, 38.953449999999996580000000000000, - 0.009006666666666754764000000000, - 0.049293333333333085040000000000, 2.713639948341379338000000000000, 0.631491274068538000000000000000, 'Continuation', 0.105413333333331138400000000000, '2025-05-17 23:00:00'::timestamp without time zone, 39.634650000000000600000000000000, 28, 0, 0.686500000000002330600000000000, 0, CURRENT_TIMESTAMP::timestamp without time zone) ON CONFLICT DO NOTHING;
Date: 2025-05-17 23:01:01 Duration: 10ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
-
INSERT INTO Autochartist_Results (ResultID, SymbolID, Bandwidth, Pattern, QtyTP, GMTTimeFound, Direction, InitialTrend, Breakout, VolumeIncrease, Noise, Symmetry, PredictionPriceFrom, PredictionPriceTo, PredictionTimeFrom, PredictionTimeTo, PatternStartTime, PatternEndTime, PatternStartPrice, PatternEndPrice, Resx0, Resx1, Supportx0, Supportx1, Resy0, Resy1, Supporty0, Supporty1, SupportGradient, ResGradient, RiskReward, PatternQuality, TrendChange, MaxMovementAfterBreakout, LatestBarAtBreakoutTime, LatestBarAtBreakoutPrice, PatternLengthBars, TemporaryPattern, relevancestartdistance, simulation, writtendatetime) VALUES ('5158402494047043000.9268|45793.7917|45794.4375|45794.1875|45794.8125|40.9094|40.1482|39.0885|38.9534', 515840249404704300, 4.000000000000000000000000000000, 'Falling Wedge', 4, '2025-05-17 20:56:51'::timestamp without time zone, 1, 0.281156874344962948200000000000, 0.926767348904201981900000000000, 0.605636772806025569500000000000, 0.426082082746737700300000000000, 0.850220178644222834800000000000, 40.233740284616764880000000000000, 41.072466683080243400000000000000, '2025-05-17 23:30:00'::timestamp without time zone, '2025-05-18 13:45:00'::timestamp without time zone, '2025-05-16 11:30:00'::timestamp without time zone, '2025-05-17 23:30:00'::timestamp without time zone, 40.133650000000002930000000000000, 39.509824193548382710000000000000, '2025-05-16 19:00:00'::timestamp without time zone, '2025-05-17 10:30:00'::timestamp without time zone, '2025-05-17 04:30:00'::timestamp without time zone, '2025-05-17 19:30:00'::timestamp without time zone, 40.909449999999999650000000000000, 40.148249999999997330000000000000, 39.088549999999997910000000000000, 38.953449999999996580000000000000, - 0.004503333333333377382000000000, - 0.024554838709677492820000000000, 2.924109815810257196000000000000, 0.658015579786662474500000000000, 'Continuation', 0.124825806451617893400000000000, '2025-05-17 23:30:00'::timestamp without time zone, 39.634650000000000600000000000000, 57, 0, 0.000000000000000000000000000000, 0, CURRENT_TIMESTAMP::timestamp without time zone) ON CONFLICT DO NOTHING;
Date: 2025-05-17 23:01:02 Duration: 9ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
16 480 147ms 0ms 4ms 0ms update patternresultsrelevance set relevant = ?, saxo_relevant = ?, notrelevantpricedatetime = ?, reason = ? where uniqueindex = ? and relevant = ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration May 17 23 480 147ms 0ms [ User: postgres - Total duration: 147ms - Times executed: 480 ]
[ Application: [unknown] - Total duration: 147ms - Times executed: 480 ]
-
UPDATE patternresultsrelevance SET relevant = 0, saxo_relevant = 0, notrelevantpricedatetime = '2025-05-17 20:00:00', reason = 'Pattern is too old to be relevant. PEIndex at 608 vs 619' WHERE uniqueIndex = '515840248266548300-1|45789.6667|45790.8333|45790.1667|45792.6667|418.21|415.32|390.78|382.38' and relevant = 1;
Date: 2025-05-17 23:00:54 Duration: 4ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
-
UPDATE patternresultsrelevance SET relevant = 0, saxo_relevant = 0, notrelevantpricedatetime = '2025-05-17 16:00:00', reason = 'Pattern is too old to be relevant.' WHERE uniqueIndex = '|515840249463392300|0.2357|2|2025-05-16 00:00:00|-1|1' and relevant = 1;
Date: 2025-05-17 23:01:11 Duration: 3ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
-
UPDATE patternresultsrelevance SET relevant = 0, saxo_relevant = 0, notrelevantpricedatetime = '2025-05-17 23:45:00', reason = 'Pattern formed a Breakout pattern (see |515840249471231300|0.2159925|1|2025-05-17 23:45:00|1|1).' WHERE uniqueIndex = '|515840249471231300|0.2159925|1|2025-05-17 20:45:00|-1|-1' and relevant = 1;
Date: 2025-05-17 23:01:04 Duration: 2ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
17 332 632ms 1ms 4ms 1ms update datafeeds_latestrun set latestrxtime = subquery.latestrxtime, latestdbwritetime = subquery.latestdbwritetime from ( select latestrxtime, latestdbwritetime from latest_t15_candle_view where classname ilike ?) as subquery where datafeeds_latestrun.feedname ilike ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration May 17 23 332 632ms 1ms [ User: postgres - Total duration: 632ms - Times executed: 332 ]
[ Application: [unknown] - Total duration: 612ms - Times executed: 324 ]
[ Application: psql - Total duration: 19ms - Times executed: 8 ]
-
UPDATE datafeeds_latestrun SET latestrxtime = subquery.latestrxtime, latestdbwritetime = subquery.latestdbwritetime FROM ( select latestrxtime, latestdbwritetime from latest_t15_candle_view where classname ilike 'AKFX') AS subquery WHERE datafeeds_latestrun.feedname ilike 'AKFX';
Date: 2025-05-17 23:33:01 Duration: 4ms Database: acaweb_fx User: postgres Remote: [local] Application: psql
-
UPDATE datafeeds_latestrun SET latestrxtime = subquery.latestrxtime, latestdbwritetime = subquery.latestdbwritetime FROM ( select latestrxtime, latestdbwritetime from latest_t15_candle_view where classname ilike 'ICMARKETS-AU-MT5') AS subquery WHERE datafeeds_latestrun.feedname ilike 'ICMARKETS-AU-MT5';
Date: 2025-05-17 23:53:48 Duration: 3ms Database: acaweb_fx User: postgres Remote: 192.168.4.98 Application: [unknown]
-
UPDATE datafeeds_latestrun SET latestrxtime = subquery.latestrxtime, latestdbwritetime = subquery.latestdbwritetime FROM ( select latestrxtime, latestdbwritetime from latest_t15_candle_view where classname ilike 'MILLENNIUMPF') AS subquery WHERE datafeeds_latestrun.feedname ilike 'MILLENNIUMPF';
Date: 2025-05-17 23:13:48 Duration: 3ms Database: acaweb_fx User: postgres Remote: 192.168.4.98 Application: [unknown]
18 330 182ms 0ms 2ms 0ms commit;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration May 17 23 330 182ms 0ms [ User: postgres - Total duration: 182ms - Times executed: 330 ]
[ Application: [unknown] - Total duration: 182ms - Times executed: 330 ]
-
COMMIT;
Date: 2025-05-17 23:46:17 Duration: 2ms Database: acaweb_fx User: postgres Remote: 192.168.4.98 Application: [unknown]
-
COMMIT;
Date: 2025-05-17 23:49:17 Duration: 2ms Database: acaweb_fx User: postgres Remote: 192.168.4.98 Application: [unknown]
-
COMMIT;
Date: 2025-05-17 23:16:17 Duration: 2ms Database: acaweb_fx User: postgres Remote: 192.168.4.98 Application: [unknown]
19 330 11ms 0ms 0ms 0ms begin;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration May 17 23 330 11ms 0ms [ User: postgres - Total duration: 11ms - Times executed: 330 ]
[ Application: [unknown] - Total duration: 11ms - Times executed: 330 ]
-
BEGIN;
Date: 2025-05-17 23:46:16 Duration: 0ms Database: acaweb_fx User: postgres Remote: 192.168.4.98 Application: [unknown]
-
BEGIN;
Date: 2025-05-17 23:28:48 Duration: 0ms Database: acaweb_fx User: postgres Remote: 192.168.4.98 Application: [unknown]
-
BEGIN;
Date: 2025-05-17 23:43:48 Duration: 0ms Database: acaweb_fx User: postgres Remote: 192.168.4.98 Application: [unknown]
20 315 32m28s 129ms 15s379ms 6s185ms with rar_max as ( select resultuid from relevance_keylevels_results order by resultuid desc limit ? ), kr as ( select a.*, rr.age, rr.relevant from keylevels_results a left outer join relevance_keylevels_results rr on a.resultuid = rr.resultuid where case when false = ? then true else a.resultuid > ( select min(resultuid) from relevance_keylevels_results) end ), all_results as ( select kr.resultuid as resultuid, kr.direction as direction, s.exchange as exchange, s.symbolid as symbolid, coalesce(bim.code, s.symbol) as symbol_code, s.longname as symbol_name, s.timegranularity as interval, p.patternname as pattern_name, kr.breakout as breakout, kr.atbaridentified as identified, dtt.timezone as timezone, kr.patternlengthbars as length, g.basegroupname, newlevels.filtered, case when kr.age is not null then kr.age when kr.resultuid <= rm.resultuid then ? else ? end as age, case when kr.relevant is not null then kr.relevant when kr.resultuid <= rm.resultuid then ? else ? end as relevant, cps.pip from kr inner join brokersymbollist bsl on bsl.brokerid = ? and bsl.symbolid = kr.symbolid inner join symbols s on bsl.symbolid = s.symbolid and s.nonliquid = ? inner join symbolgroup sg on s.symbolid = sg.symbolid inner join groups g on sg.groupid = g.groupid inner join brokergroups bg on g.groupid = bg.groupid and bsl.brokerid = bg.brokerid inner join hrspatterns p on kr.patternid = p.patternid inner join downloadersymbolsettings dss on s.symbolid = dss.symbolid inner join datafeedstimetable dtt on dss.classname = dtt.classname and dtt.dayofweek = ? inner join rar_max rm on ? = ? left outer join autochartist_symbolupdates au on dss.symbolid = au.symbolid left outer join relevance_keylevels_results rar on rar.resultuid = kr.resultuid left join lateral calc_kl_signal_filter (kr.resultuid) newlevels on true left join currencypips cps on cps.symbol = s.symbol left outer join brokerinstrumentmap bim on dss.datafeedinstrumentid = bim.datafeedinstrumentid and bim.brokerid = bsl.brokerid and bim.type = ? where kr.gmttimefound > now() - interval ? and dss.enabled = ? and s.deleted = ? and (kr.simulation = ? or kr.simulation is null) and (? = ? or s.timegranularity in (...)) and (? = ? or s.exchange in (...)) and (? = ? or coalesce(bim.code, s.symbol) in (...)) and (? = ? or p.patternname in (...)) and (? = ? or kr.patternclassid in (...)) and (? = ? or kr.patternlengthbars <= ?) and kr.patternstarttime::timestamp without time zone >= coalesce(au.earliestpricedatetime, ?::timestamp without time zone) -- to make sure patternstarttime is in our t-tables ), results as ( select distinct on (symbolid) * from all_results where (false = ? or relevant = ?) and (? = ? or age <= ?) order by symbolid, resultuid ) select * from results order by identified desc, length desc limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration May 17 23 315 32m28s 6s185ms [ User: postgres - Total duration: 32m28s - Times executed: 315 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 30m7s - Times executed: 303 ]
[ Application: [unknown] - Total duration: 2m20s - Times executed: 12 ]
-
WITH rar_max as ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1 ), kr AS ( SELECT a.*, rr.age, rr.relevant from keylevels_results a LEFT OUTER JOIN relevance_keylevels_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_keylevels_results) END ), all_results AS ( SELECT kr.resultuid AS resultuid, kr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, p.patternname AS pattern_name, kr.breakout AS breakout, kr.atbaridentified AS identified, dtt.timezone AS timezone, kr.patternlengthbars AS length, g.basegroupname, newLevels.filtered, CASE WHEN kr.age IS NOT NULL THEN kr.age WHEN kr.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN kr.relevant IS NOT NULL THEN kr.relevant WHEN kr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip FROM kr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '627' AND bsl.symbolid = kr.symbolid INNER JOIN symbols s ON bsl.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN hrspatterns p ON kr.patternid = p.patternid INNER JOIN downloadersymbolsettings dss ON s.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN autochartist_symbolupdates au on dss.symbolid = au.symbolid LEFT OUTER JOIN relevance_keylevels_results rar ON rar.resultuid = kr.resultuid LEFT JOIN LATERAL calc_kl_signal_filter (kr.resultuid) newLevels on true LEFT JOIN currencypips cps on cps.symbol = s.symbol LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE kr.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (kr.simulation = 0 OR kr.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('213' = 0 OR coalesce(bim.code, s.symbol) in ('#ADBE', '#ALVG', '#AMZN', '#APPL', '#BA', '#BABA', '#BAYGn', '#BMWG', '#BNPP', '#CAT', '#CBKG', '#DAIGn', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#META', '#MSFT', '#NFLX', '#TSLA', '#VOWG', '#WMT', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS_200', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CL_BRENT', 'DASHUSD', 'EOSUSD', 'ESP_35', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'EUR_50', 'FRA_40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'GBR_100', 'HKDJPY', 'HKG_50', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NAS100', 'NEOUSD', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'OMGUSD', 'SPX500', 'TRXUSD', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'USOIL', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XMRUSD', 'XPTUSD', 'XRPUSD', 'ZARJPY', 'ZECUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'HKDJPY', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'ZARJPY', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'DASHUSD', 'EOSUSD', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NEOUSD', 'OMGUSD', 'TRXUSD', 'XMRUSD', 'XRPUSD', 'ZECUSD', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XPTUSD', 'CL_BRENT', 'USOIL', '#ALVG', '#BAYGn', '#BMWG', '#BNPP', '#CBKG', '#DAIGn', '#VOWG', 'AUS_200', 'ESP_35', 'EUR_50', 'FRA_40', 'GBR_100', 'HKG_50', 'NAS100', 'SPX500', 'US30', '#ADBE', '#AMZN', '#APPL', '#BA', '#BABA', '#CAT', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#MSFT', '#NFLX', '#TSLA', '#WMT', '#XOM')) AND ('0' = 0 OR p.patternname in ('')) AND ('2' = 0 OR kr.patternclassid in ('1', '2')) AND ('400' = 0 OR kr.patternlengthbars <= '400') AND kr.patternstarttime::timestamp without time zone >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC LIMIT 200;
Date: 2025-05-17 23:20:54 Duration: 15s379ms Database: acaweb_fx User: postgres Remote: 192.168.1.250 Application: PostgreSQL JDBC Driver Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1 ), kr AS ( SELECT a.*, rr.age, rr.relevant from keylevels_results a LEFT OUTER JOIN relevance_keylevels_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_keylevels_results) END ), all_results AS ( SELECT kr.resultuid AS resultuid, kr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, p.patternname AS pattern_name, kr.breakout AS breakout, kr.atbaridentified AS identified, dtt.timezone AS timezone, kr.patternlengthbars AS length, g.basegroupname, newLevels.filtered, CASE WHEN kr.age IS NOT NULL THEN kr.age WHEN kr.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN kr.relevant IS NOT NULL THEN kr.relevant WHEN kr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip FROM kr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '529' AND bsl.symbolid = kr.symbolid INNER JOIN symbols s ON bsl.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN hrspatterns p ON kr.patternid = p.patternid INNER JOIN downloadersymbolsettings dss ON s.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN autochartist_symbolupdates au on dss.symbolid = au.symbolid LEFT OUTER JOIN relevance_keylevels_results rar ON rar.resultuid = kr.resultuid LEFT JOIN LATERAL calc_kl_signal_filter (kr.resultuid) newLevels on true LEFT JOIN currencypips cps on cps.symbol = s.symbol LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE kr.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (kr.simulation = 0 OR kr.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('31' = 0 OR coalesce(bim.code, s.symbol) in ('AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURNZD', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'JPN225', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', 'XAGUSD', 'XAUUSD')) AND ('0' = 0 OR p.patternname in ('')) AND ('2' = 0 OR kr.patternclassid in ('1', '2')) AND ('0' = 0 OR kr.patternlengthbars <= '0') AND kr.patternstarttime::timestamp without time zone >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC LIMIT 200;
Date: 2025-05-17 23:40:58 Duration: 13s405ms Database: acaweb_fx User: postgres Remote: 192.168.1.145 Application: PostgreSQL JDBC Driver Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1 ), kr AS ( SELECT a.*, rr.age, rr.relevant from keylevels_results a LEFT OUTER JOIN relevance_keylevels_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_keylevels_results) END ), all_results AS ( SELECT kr.resultuid AS resultuid, kr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, p.patternname AS pattern_name, kr.breakout AS breakout, kr.atbaridentified AS identified, dtt.timezone AS timezone, kr.patternlengthbars AS length, g.basegroupname, newLevels.filtered, CASE WHEN kr.age IS NOT NULL THEN kr.age WHEN kr.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN kr.relevant IS NOT NULL THEN kr.relevant WHEN kr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip FROM kr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '529' AND bsl.symbolid = kr.symbolid INNER JOIN symbols s ON bsl.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN hrspatterns p ON kr.patternid = p.patternid INNER JOIN downloadersymbolsettings dss ON s.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN autochartist_symbolupdates au on dss.symbolid = au.symbolid LEFT OUTER JOIN relevance_keylevels_results rar ON rar.resultuid = kr.resultuid LEFT JOIN LATERAL calc_kl_signal_filter (kr.resultuid) newLevels on true LEFT JOIN currencypips cps on cps.symbol = s.symbol LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE kr.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (kr.simulation = 0 OR kr.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('31' = 0 OR coalesce(bim.code, s.symbol) in ('AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURNZD', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'JPN225', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', 'XAGUSD', 'XAUUSD')) AND ('0' = 0 OR p.patternname in ('')) AND ('2' = 0 OR kr.patternclassid in ('1', '2')) AND ('0' = 0 OR kr.patternlengthbars <= '0') AND kr.patternstarttime::timestamp without time zone >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC LIMIT 200;
Date: 2025-05-17 23:45:58 Duration: 12s959ms Database: acaweb_fx User: postgres Remote: 192.168.1.20 Application: PostgreSQL JDBC Driver Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 379ms 16s287ms 7s885ms 314 41m16s with rar_max as ( select resultuid from relevance_autochartist_results order by resultuid desc limit ? ), ar as ( select a.*, rr.age, rr.relevant from autochartist_results a left outer join relevance_autochartist_results rr on a.resultuid = rr.resultuid where case when false = ? then true else a.resultuid > ( select min(resultuid) from relevance_autochartist_results) end ), all_results as ( select ar.resultuid as resultuid, ar.direction as direction, ar.predictiontimeto as predictiontimeto, ar.predictionpricefrom as predictionpricefrom, ar.predictionpriceto as predictionpriceto, cp.pip as pip, s.exchange as exchange, s.symbolid as symbolid, coalesce(bim.code, s.symbol) as symbol_code, s.longname as symbol_name, s.timegranularity as interval, ar.pattern as pattern_name, ar.breakout as breakout, ar.patternendtime as identified, dtt.timezone as timezone, ar.patternlengthbars as length, g.basegroupname, newlevels.profit, newlevels.stop, newlevels.filtered, case when ar.age is not null then ar.age when ar.resultuid <= rm.resultuid then ? else ? end as age, case when ar.relevant is not null then ar.relevant when ar.resultuid <= rm.resultuid then ? else ? end as relevant from ar inner join symbols s on ar.symbolid = s.symbolid and s.nonliquid = ? inner join brokersymbollist bsl on bsl.brokerid = ? and bsl.symbolid = s.symbolid inner join symbolgroup sg on bsl.symbolid = sg.symbolid inner join groups g on sg.groupid = g.groupid inner join brokergroups bg on g.groupid = bg.groupid and bsl.brokerid = bg.brokerid inner join downloadersymbolsettings dss on sg.symbolid = dss.symbolid inner join datafeedstimetable dtt on dss.classname = dtt.classname and dtt.dayofweek = ? inner join rar_max rm on ? = ? left outer join autochartist_symbolupdates au on dss.symbolid = au.symbolid left outer join currencypips cp on s.symbol = cp.symbol left join lateral calc_cp_signal (ar.resultuid) newlevels on true left outer join brokerinstrumentmap bim on dss.datafeedinstrumentid = bim.datafeedinstrumentid and bim.brokerid = bsl.brokerid and bim.type = ? where ar.gmttimefound > now() - interval ? and dss.enabled = ? and s.deleted = ? and (ar.simulation = ? or ar.simulation is null) and (? = ? or s.timegranularity in (...)) and (? = ? or s.exchange in (...)) and (? = ? or coalesce(bim.code, s.symbol) in (...)) and (? = ? or ar.pattern in (...)) and (? = ? or (? = ? and ar.breakout >= ?) or (? = ? and ar.breakout < ?)) and (? = ? or ar.patternlengthbars <= ?) and newlevels.filtered = false and ar.patternstarttime >= coalesce(au.earliestpricedatetime, ?::timestamp without time zone) -- to make sure patternstarttime is in our t-tables ), results as ( select distinct on (symbolid) * from all_results where (false = ? or relevant = ?) and (? = ? or age <= ?) order by symbolid, resultuid ) select * from results order by identified desc, length desc;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration May 17 23 314 41m16s 7s885ms [ User: postgres - Total duration: 41m16s - Times executed: 314 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 38m13s - Times executed: 302 ]
[ Application: [unknown] - Total duration: 3m2s - Times executed: 12 ]
-
WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), ar AS ( SELECT a.*, rr.age, rr.relevant from autochartist_results a LEFT OUTER JOIN relevance_autochartist_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_autochartist_results) END ), all_results AS ( SELECT ar.resultuid AS resultuid, ar.direction AS direction, ar.predictiontimeto AS predictiontimeto, ar.predictionpricefrom AS predictionpricefrom, ar.predictionpriceto AS predictionpriceto, cp.pip AS pip, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ar.pattern AS pattern_name, ar.breakout AS breakout, ar.patternendtime AS identified, dtt.timezone AS timezone, ar.patternlengthbars AS length, g.basegroupname, newLevels.profit, newLevels.stop, newLevels.filtered, CASE WHEN ar.age IS NOT NULL THEN ar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN ar.relevant IS NOT NULL THEN ar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM ar INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN brokersymbollist bsl ON bsl.brokerid = '627' AND bsl.symbolid = s.symbolid INNER JOIN symbolgroup sg on bsl.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON sg.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN autochartist_symbolupdates au on dss.symbolid = au.symbolid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('213' = 0 OR coalesce(bim.code, s.symbol) in ('#ADBE', '#ALVG', '#AMZN', '#APPL', '#BA', '#BABA', '#BAYGn', '#BMWG', '#BNPP', '#CAT', '#CBKG', '#DAIGn', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#META', '#MSFT', '#NFLX', '#TSLA', '#VOWG', '#WMT', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS_200', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CL_BRENT', 'DASHUSD', 'EOSUSD', 'ESP_35', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'EUR_50', 'FRA_40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'GBR_100', 'HKDJPY', 'HKG_50', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NAS100', 'NEOUSD', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'OMGUSD', 'SPX500', 'TRXUSD', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'USOIL', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XMRUSD', 'XPTUSD', 'XRPUSD', 'ZARJPY', 'ZECUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'HKDJPY', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'ZARJPY', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'DASHUSD', 'EOSUSD', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NEOUSD', 'OMGUSD', 'TRXUSD', 'XMRUSD', 'XRPUSD', 'ZECUSD', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XPTUSD', 'CL_BRENT', 'USOIL', '#ALVG', '#BAYGn', '#BMWG', '#BNPP', '#CBKG', '#DAIGn', '#VOWG', 'AUS_200', 'ESP_35', 'EUR_50', 'FRA_40', 'GBR_100', 'HKG_50', 'NAS100', 'SPX500', 'US30', '#ADBE', '#AMZN', '#APPL', '#BA', '#BABA', '#CAT', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#MSFT', '#NFLX', '#TSLA', '#WMT', '#XOM')) AND ('0' = 0 OR ar.pattern in ('')) AND ('0' = 0 OR ('0' = 1 AND ar.breakout >= 0) OR ('0' = 2 AND ar.breakout < 0)) AND ('400' = 0 OR ar.patternlengthbars <= '400') and newLevels.filtered = false AND ar.patternstarttime >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;
Date: 2025-05-17 23:36:43 Duration: 16s287ms Database: acaweb_fx User: postgres Remote: 192.168.1.145 Application: PostgreSQL JDBC Driver Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), ar AS ( SELECT a.*, rr.age, rr.relevant from autochartist_results a LEFT OUTER JOIN relevance_autochartist_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_autochartist_results) END ), all_results AS ( SELECT ar.resultuid AS resultuid, ar.direction AS direction, ar.predictiontimeto AS predictiontimeto, ar.predictionpricefrom AS predictionpricefrom, ar.predictionpriceto AS predictionpriceto, cp.pip AS pip, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ar.pattern AS pattern_name, ar.breakout AS breakout, ar.patternendtime AS identified, dtt.timezone AS timezone, ar.patternlengthbars AS length, g.basegroupname, newLevels.profit, newLevels.stop, newLevels.filtered, CASE WHEN ar.age IS NOT NULL THEN ar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN ar.relevant IS NOT NULL THEN ar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM ar INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN brokersymbollist bsl ON bsl.brokerid = '627' AND bsl.symbolid = s.symbolid INNER JOIN symbolgroup sg on bsl.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON sg.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN autochartist_symbolupdates au on dss.symbolid = au.symbolid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('213' = 0 OR coalesce(bim.code, s.symbol) in ('#ADBE', '#ALVG', '#AMZN', '#APPL', '#BA', '#BABA', '#BAYGn', '#BMWG', '#BNPP', '#CAT', '#CBKG', '#DAIGn', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#META', '#MSFT', '#NFLX', '#TSLA', '#VOWG', '#WMT', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS_200', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CL_BRENT', 'DASHUSD', 'EOSUSD', 'ESP_35', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'EUR_50', 'FRA_40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'GBR_100', 'HKDJPY', 'HKG_50', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NAS100', 'NEOUSD', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'OMGUSD', 'SPX500', 'TRXUSD', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'USOIL', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XMRUSD', 'XPTUSD', 'XRPUSD', 'ZARJPY', 'ZECUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'HKDJPY', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'ZARJPY', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'DASHUSD', 'EOSUSD', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NEOUSD', 'OMGUSD', 'TRXUSD', 'XMRUSD', 'XRPUSD', 'ZECUSD', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XPTUSD', 'CL_BRENT', 'USOIL', '#ALVG', '#BAYGn', '#BMWG', '#BNPP', '#CBKG', '#DAIGn', '#VOWG', 'AUS_200', 'ESP_35', 'EUR_50', 'FRA_40', 'GBR_100', 'HKG_50', 'NAS100', 'SPX500', 'US30', '#ADBE', '#AMZN', '#APPL', '#BA', '#BABA', '#CAT', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#MSFT', '#NFLX', '#TSLA', '#WMT', '#XOM')) AND ('0' = 0 OR ar.pattern in ('')) AND ('0' = 0 OR ('0' = 1 AND ar.breakout >= 0) OR ('0' = 2 AND ar.breakout < 0)) AND ('400' = 0 OR ar.patternlengthbars <= '400') and newLevels.filtered = false AND ar.patternstarttime >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;
Date: 2025-05-17 23:31:45 Duration: 16s260ms Database: acaweb_fx User: postgres Remote: 192.168.1.145 Application: PostgreSQL JDBC Driver Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), ar AS ( SELECT a.*, rr.age, rr.relevant from autochartist_results a LEFT OUTER JOIN relevance_autochartist_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_autochartist_results) END ), all_results AS ( SELECT ar.resultuid AS resultuid, ar.direction AS direction, ar.predictiontimeto AS predictiontimeto, ar.predictionpricefrom AS predictionpricefrom, ar.predictionpriceto AS predictionpriceto, cp.pip AS pip, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ar.pattern AS pattern_name, ar.breakout AS breakout, ar.patternendtime AS identified, dtt.timezone AS timezone, ar.patternlengthbars AS length, g.basegroupname, newLevels.profit, newLevels.stop, newLevels.filtered, CASE WHEN ar.age IS NOT NULL THEN ar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN ar.relevant IS NOT NULL THEN ar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM ar INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN brokersymbollist bsl ON bsl.brokerid = '627' AND bsl.symbolid = s.symbolid INNER JOIN symbolgroup sg on bsl.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON sg.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN autochartist_symbolupdates au on dss.symbolid = au.symbolid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('213' = 0 OR coalesce(bim.code, s.symbol) in ('#ADBE', '#ALVG', '#AMZN', '#APPL', '#BA', '#BABA', '#BAYGn', '#BMWG', '#BNPP', '#CAT', '#CBKG', '#DAIGn', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#META', '#MSFT', '#NFLX', '#TSLA', '#VOWG', '#WMT', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS_200', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CL_BRENT', 'DASHUSD', 'EOSUSD', 'ESP_35', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'EUR_50', 'FRA_40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'GBR_100', 'HKDJPY', 'HKG_50', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NAS100', 'NEOUSD', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'OMGUSD', 'SPX500', 'TRXUSD', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'USOIL', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XMRUSD', 'XPTUSD', 'XRPUSD', 'ZARJPY', 'ZECUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'HKDJPY', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'ZARJPY', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'DASHUSD', 'EOSUSD', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NEOUSD', 'OMGUSD', 'TRXUSD', 'XMRUSD', 'XRPUSD', 'ZECUSD', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XPTUSD', 'CL_BRENT', 'USOIL', '#ALVG', '#BAYGn', '#BMWG', '#BNPP', '#CBKG', '#DAIGn', '#VOWG', 'AUS_200', 'ESP_35', 'EUR_50', 'FRA_40', 'GBR_100', 'HKG_50', 'NAS100', 'SPX500', 'US30', '#ADBE', '#AMZN', '#APPL', '#BA', '#BABA', '#CAT', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#MSFT', '#NFLX', '#TSLA', '#WMT', '#XOM')) AND ('0' = 0 OR ar.pattern in ('')) AND ('0' = 0 OR ('0' = 1 AND ar.breakout >= 0) OR ('0' = 2 AND ar.breakout < 0)) AND ('400' = 0 OR ar.patternlengthbars <= '400') and newLevels.filtered = false AND ar.patternstarttime >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;
Date: 2025-05-17 23:26:43 Duration: 16s234ms Database: acaweb_fx User: postgres Remote: 192.168.1.20 Application: PostgreSQL JDBC Driver Bind query: yes
2 129ms 15s379ms 6s185ms 315 32m28s with rar_max as ( select resultuid from relevance_keylevels_results order by resultuid desc limit ? ), kr as ( select a.*, rr.age, rr.relevant from keylevels_results a left outer join relevance_keylevels_results rr on a.resultuid = rr.resultuid where case when false = ? then true else a.resultuid > ( select min(resultuid) from relevance_keylevels_results) end ), all_results as ( select kr.resultuid as resultuid, kr.direction as direction, s.exchange as exchange, s.symbolid as symbolid, coalesce(bim.code, s.symbol) as symbol_code, s.longname as symbol_name, s.timegranularity as interval, p.patternname as pattern_name, kr.breakout as breakout, kr.atbaridentified as identified, dtt.timezone as timezone, kr.patternlengthbars as length, g.basegroupname, newlevels.filtered, case when kr.age is not null then kr.age when kr.resultuid <= rm.resultuid then ? else ? end as age, case when kr.relevant is not null then kr.relevant when kr.resultuid <= rm.resultuid then ? else ? end as relevant, cps.pip from kr inner join brokersymbollist bsl on bsl.brokerid = ? and bsl.symbolid = kr.symbolid inner join symbols s on bsl.symbolid = s.symbolid and s.nonliquid = ? inner join symbolgroup sg on s.symbolid = sg.symbolid inner join groups g on sg.groupid = g.groupid inner join brokergroups bg on g.groupid = bg.groupid and bsl.brokerid = bg.brokerid inner join hrspatterns p on kr.patternid = p.patternid inner join downloadersymbolsettings dss on s.symbolid = dss.symbolid inner join datafeedstimetable dtt on dss.classname = dtt.classname and dtt.dayofweek = ? inner join rar_max rm on ? = ? left outer join autochartist_symbolupdates au on dss.symbolid = au.symbolid left outer join relevance_keylevels_results rar on rar.resultuid = kr.resultuid left join lateral calc_kl_signal_filter (kr.resultuid) newlevels on true left join currencypips cps on cps.symbol = s.symbol left outer join brokerinstrumentmap bim on dss.datafeedinstrumentid = bim.datafeedinstrumentid and bim.brokerid = bsl.brokerid and bim.type = ? where kr.gmttimefound > now() - interval ? and dss.enabled = ? and s.deleted = ? and (kr.simulation = ? or kr.simulation is null) and (? = ? or s.timegranularity in (...)) and (? = ? or s.exchange in (...)) and (? = ? or coalesce(bim.code, s.symbol) in (...)) and (? = ? or p.patternname in (...)) and (? = ? or kr.patternclassid in (...)) and (? = ? or kr.patternlengthbars <= ?) and kr.patternstarttime::timestamp without time zone >= coalesce(au.earliestpricedatetime, ?::timestamp without time zone) -- to make sure patternstarttime is in our t-tables ), results as ( select distinct on (symbolid) * from all_results where (false = ? or relevant = ?) and (? = ? or age <= ?) order by symbolid, resultuid ) select * from results order by identified desc, length desc limit ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration May 17 23 315 32m28s 6s185ms [ User: postgres - Total duration: 32m28s - Times executed: 315 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 30m7s - Times executed: 303 ]
[ Application: [unknown] - Total duration: 2m20s - Times executed: 12 ]
-
WITH rar_max as ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1 ), kr AS ( SELECT a.*, rr.age, rr.relevant from keylevels_results a LEFT OUTER JOIN relevance_keylevels_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_keylevels_results) END ), all_results AS ( SELECT kr.resultuid AS resultuid, kr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, p.patternname AS pattern_name, kr.breakout AS breakout, kr.atbaridentified AS identified, dtt.timezone AS timezone, kr.patternlengthbars AS length, g.basegroupname, newLevels.filtered, CASE WHEN kr.age IS NOT NULL THEN kr.age WHEN kr.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN kr.relevant IS NOT NULL THEN kr.relevant WHEN kr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip FROM kr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '627' AND bsl.symbolid = kr.symbolid INNER JOIN symbols s ON bsl.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN hrspatterns p ON kr.patternid = p.patternid INNER JOIN downloadersymbolsettings dss ON s.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN autochartist_symbolupdates au on dss.symbolid = au.symbolid LEFT OUTER JOIN relevance_keylevels_results rar ON rar.resultuid = kr.resultuid LEFT JOIN LATERAL calc_kl_signal_filter (kr.resultuid) newLevels on true LEFT JOIN currencypips cps on cps.symbol = s.symbol LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE kr.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (kr.simulation = 0 OR kr.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('213' = 0 OR coalesce(bim.code, s.symbol) in ('#ADBE', '#ALVG', '#AMZN', '#APPL', '#BA', '#BABA', '#BAYGn', '#BMWG', '#BNPP', '#CAT', '#CBKG', '#DAIGn', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#META', '#MSFT', '#NFLX', '#TSLA', '#VOWG', '#WMT', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS_200', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CL_BRENT', 'DASHUSD', 'EOSUSD', 'ESP_35', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'EUR_50', 'FRA_40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'GBR_100', 'HKDJPY', 'HKG_50', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NAS100', 'NEOUSD', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'OMGUSD', 'SPX500', 'TRXUSD', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'USOIL', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XMRUSD', 'XPTUSD', 'XRPUSD', 'ZARJPY', 'ZECUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'HKDJPY', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'ZARJPY', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'DASHUSD', 'EOSUSD', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NEOUSD', 'OMGUSD', 'TRXUSD', 'XMRUSD', 'XRPUSD', 'ZECUSD', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XPTUSD', 'CL_BRENT', 'USOIL', '#ALVG', '#BAYGn', '#BMWG', '#BNPP', '#CBKG', '#DAIGn', '#VOWG', 'AUS_200', 'ESP_35', 'EUR_50', 'FRA_40', 'GBR_100', 'HKG_50', 'NAS100', 'SPX500', 'US30', '#ADBE', '#AMZN', '#APPL', '#BA', '#BABA', '#CAT', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#MSFT', '#NFLX', '#TSLA', '#WMT', '#XOM')) AND ('0' = 0 OR p.patternname in ('')) AND ('2' = 0 OR kr.patternclassid in ('1', '2')) AND ('400' = 0 OR kr.patternlengthbars <= '400') AND kr.patternstarttime::timestamp without time zone >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC LIMIT 200;
Date: 2025-05-17 23:20:54 Duration: 15s379ms Database: acaweb_fx User: postgres Remote: 192.168.1.250 Application: PostgreSQL JDBC Driver Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1 ), kr AS ( SELECT a.*, rr.age, rr.relevant from keylevels_results a LEFT OUTER JOIN relevance_keylevels_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_keylevels_results) END ), all_results AS ( SELECT kr.resultuid AS resultuid, kr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, p.patternname AS pattern_name, kr.breakout AS breakout, kr.atbaridentified AS identified, dtt.timezone AS timezone, kr.patternlengthbars AS length, g.basegroupname, newLevels.filtered, CASE WHEN kr.age IS NOT NULL THEN kr.age WHEN kr.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN kr.relevant IS NOT NULL THEN kr.relevant WHEN kr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip FROM kr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '529' AND bsl.symbolid = kr.symbolid INNER JOIN symbols s ON bsl.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN hrspatterns p ON kr.patternid = p.patternid INNER JOIN downloadersymbolsettings dss ON s.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN autochartist_symbolupdates au on dss.symbolid = au.symbolid LEFT OUTER JOIN relevance_keylevels_results rar ON rar.resultuid = kr.resultuid LEFT JOIN LATERAL calc_kl_signal_filter (kr.resultuid) newLevels on true LEFT JOIN currencypips cps on cps.symbol = s.symbol LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE kr.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (kr.simulation = 0 OR kr.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('31' = 0 OR coalesce(bim.code, s.symbol) in ('AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURNZD', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'JPN225', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', 'XAGUSD', 'XAUUSD')) AND ('0' = 0 OR p.patternname in ('')) AND ('2' = 0 OR kr.patternclassid in ('1', '2')) AND ('0' = 0 OR kr.patternlengthbars <= '0') AND kr.patternstarttime::timestamp without time zone >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC LIMIT 200;
Date: 2025-05-17 23:40:58 Duration: 13s405ms Database: acaweb_fx User: postgres Remote: 192.168.1.145 Application: PostgreSQL JDBC Driver Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1 ), kr AS ( SELECT a.*, rr.age, rr.relevant from keylevels_results a LEFT OUTER JOIN relevance_keylevels_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_keylevels_results) END ), all_results AS ( SELECT kr.resultuid AS resultuid, kr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, p.patternname AS pattern_name, kr.breakout AS breakout, kr.atbaridentified AS identified, dtt.timezone AS timezone, kr.patternlengthbars AS length, g.basegroupname, newLevels.filtered, CASE WHEN kr.age IS NOT NULL THEN kr.age WHEN kr.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN kr.relevant IS NOT NULL THEN kr.relevant WHEN kr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip FROM kr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '529' AND bsl.symbolid = kr.symbolid INNER JOIN symbols s ON bsl.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on s.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN hrspatterns p ON kr.patternid = p.patternid INNER JOIN downloadersymbolsettings dss ON s.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN autochartist_symbolupdates au on dss.symbolid = au.symbolid LEFT OUTER JOIN relevance_keylevels_results rar ON rar.resultuid = kr.resultuid LEFT JOIN LATERAL calc_kl_signal_filter (kr.resultuid) newLevels on true LEFT JOIN currencypips cps on cps.symbol = s.symbol LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE kr.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (kr.simulation = 0 OR kr.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('31' = 0 OR coalesce(bim.code, s.symbol) in ('AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURNZD', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'JPN225', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', 'XAGUSD', 'XAUUSD')) AND ('0' = 0 OR p.patternname in ('')) AND ('2' = 0 OR kr.patternclassid in ('1', '2')) AND ('0' = 0 OR kr.patternlengthbars <= '0') AND kr.patternstarttime::timestamp without time zone >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC LIMIT 200;
Date: 2025-05-17 23:45:58 Duration: 12s959ms Database: acaweb_fx User: postgres Remote: 192.168.1.20 Application: PostgreSQL JDBC Driver Bind query: yes
3 2s903ms 2s903ms 2s903ms 1 2s903ms with sel as ( select resultuid, resultid, row_number() over (partition by resultuid) r from autochartist_results ) select * from sel where r = ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration May 17 23 1 2s903ms 2s903ms [ User: postgres - Total duration: 2s903ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 2s903ms - Times executed: 1 ]
-
with sel as ( select resultuid, resultid, row_number() over (partition by resultuid) r from autochartist_results ) select * from sel where r = 2;
Date: 2025-05-17 23:30:30 Duration: 2s903ms Database: acaweb_fx User: postgres Remote: 192.168.1.90 Application: [unknown] Bind query: yes
4 622ms 8s621ms 2s651ms 277 12m14s with rar_max as ( select resultuid from relevance_fibonacci_results order by resultuid desc limit ? ), fr as ( select a.*, rr.age, rr.relevant from fibonacci_results a left outer join relevance_fibonacci_results rr on a.resultuid = rr.resultuid where case when false = ? then true else a.resultuid > ( select min(resultuid) from relevance_fibonacci_results) end ), all_results as ( select fr.resultuid as resultuid, fr.direction as direction, s.exchange as exchange, s.symbolid as symbolid, coalesce(bim.code, s.symbol) as symbol_code, s.longname as symbol_name, s.timegranularity as interval, fr.pattern as pattern_name, fr.timed as timed, fr.patternendtime as identified, dtt.timezone as timezone, fr.patternlengthbars as length, g.basegroupname, newlevels.filtered, case when fr.age is not null then fr.age when fr.resultuid <= rm.resultuid then ? else ? end as age, case when fr.relevant is not null then fr.relevant when fr.resultuid <= rm.resultuid then ? else ? end as relevant, cps.pip from fr inner join brokersymbollist bsl on bsl.brokerid = ? and bsl.symbolid = fr.symbolid inner join symbols s on fr.symbolid = s.symbolid and s.nonliquid = ? inner join symbolgroup sg on fr.symbolid = sg.symbolid inner join groups g on sg.groupid = g.groupid inner join brokergroups bg on g.groupid = bg.groupid and bsl.brokerid = bg.brokerid inner join downloadersymbolsettings dss on fr.symbolid = dss.symbolid inner join datafeedstimetable dtt on dss.classname = dtt.classname and dtt.dayofweek = ? inner join rar_max rm on ? = ? left join lateral calc_fib_signal_filter (fr.resultuid) newlevels on true left join currencypips cps on cps.symbol = s.symbol left outer join brokerinstrumentmap bim on dss.datafeedinstrumentid = bim.datafeedinstrumentid and bim.brokerid = bsl.brokerid and bim.type = ? where fr.gmttimefound > now() - interval ? and dss.enabled = ? and s.deleted = ? and (fr.simulation = ? or fr.simulation is null) and (? = ? or s.timegranularity in (...)) and (? = ? or s.exchange in (...)) and (? = ? or coalesce(bim.code, s.symbol) in (...)) and (? = ? or fr.pattern in (...)) and (? = ? or fr.patternlengthbars <= ?) and (? = ? or (? = ? and fr.timed > cast(? as timestamp)) or (? = ? and fr.timed < cast(? as timestamp))) ), results as ( select distinct on (symbolid) * from all_results where (false = ? or relevant = ?) and (? = ? or age <= ?) order by symbolid, resultuid ) select * from results order by identified desc, length desc;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration May 17 23 277 12m14s 2s651ms [ User: postgres - Total duration: 12m14s - Times executed: 277 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 10m53s - Times executed: 265 ]
[ Application: [unknown] - Total duration: 1m20s - Times executed: 12 ]
-
WITH rar_max as ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1 ), fr AS ( SELECT a.*, rr.age, rr.relevant from fibonacci_results a LEFT OUTER JOIN relevance_fibonacci_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_fibonacci_results) END ), all_results AS ( SELECT fr.resultuid AS resultuid, fr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, fr.pattern AS pattern_name, fr.timed AS timed, fr.patternendtime AS identified, dtt.timezone AS timezone, fr.patternlengthbars AS length, g.basegroupname, newLevels.filtered, CASE WHEN fr.age IS NOT NULL THEN fr.age WHEN fr.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN fr.relevant IS NOT NULL THEN fr.relevant WHEN fr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip FROM fr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = fr.symbolid INNER JOIN symbols s ON fr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on fr.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON fr.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT JOIN LATERAL calc_fib_signal_filter (fr.resultuid) newLevels on true LEFT JOIN currencypips cps on cps.symbol = s.symbol LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE fr.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (fr.simulation = 0 OR fr.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('310' = 0 OR coalesce(bim.code, s.symbol) in ('#AAPL', '#ADS', '#AIG', '#ALV', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BAS', '#BAYN', '#BEI', '#BIDU', '#BMW', '#C', '#CAT', '#CBK', '#CL', '#CSCO', '#CVX', '#DAI', '#DB1', '#DBK', '#DIS', '#DPW', '#DTE', '#EBAY', '#EON', '#F', '#FB', '#FDX', '#FME', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#IFX', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LHA', '#LMT', '#MA', '#MCD', '#META', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#RWE', '#SAP', '#SIE', '#T', '#UBER', '#V', '#VOW', '#WB', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS200', 'BRENT', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CHI50', 'ESP35', 'ETHUSD', 'EU50', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'FRA40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'LTCUSD', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'SPX500', 'UK100', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BTCUSD', 'ETHUSD', 'LTCUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BRENT', 'WTI', 'AUS200', 'CHI50', 'ESP35', 'EU50', 'FRA40', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'NAS100', 'SPX500', 'UK100', 'US30', 'AUDUSD', 'EURUSD', 'GBPUSD', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', '#AAPL', '#AIG', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BIDU', '#C', '#CAT', '#CL', '#CSCO', '#CVX', '#DIS', '#EBAY', '#F', '#FB', '#FDX', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#T', '#UBER', '#V', '#WB', '#XOM')) AND ('0' = 0 OR fr.pattern in ('')) AND ('400' = 0 OR fr.patternlengthbars <= '400') AND ('0' = 0 OR ('0' = 1 AND fr.timed > cast('1970-01-01' as timestamp)) OR ('0' = 2 AND fr.timed < cast('1970-01-01' as timestamp))) ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;
Date: 2025-05-17 23:20:55 Duration: 8s621ms Database: acaweb_fx User: postgres Remote: 182.165.1.42 Application: [unknown] Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1 ), fr AS ( SELECT a.*, rr.age, rr.relevant from fibonacci_results a LEFT OUTER JOIN relevance_fibonacci_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_fibonacci_results) END ), all_results AS ( SELECT fr.resultuid AS resultuid, fr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, fr.pattern AS pattern_name, fr.timed AS timed, fr.patternendtime AS identified, dtt.timezone AS timezone, fr.patternlengthbars AS length, g.basegroupname, newLevels.filtered, CASE WHEN fr.age IS NOT NULL THEN fr.age WHEN fr.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN fr.relevant IS NOT NULL THEN fr.relevant WHEN fr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip FROM fr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = fr.symbolid INNER JOIN symbols s ON fr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on fr.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON fr.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT JOIN LATERAL calc_fib_signal_filter (fr.resultuid) newLevels on true LEFT JOIN currencypips cps on cps.symbol = s.symbol LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE fr.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (fr.simulation = 0 OR fr.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('310' = 0 OR coalesce(bim.code, s.symbol) in ('#AAPL', '#ADS', '#AIG', '#ALV', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BAS', '#BAYN', '#BEI', '#BIDU', '#BMW', '#C', '#CAT', '#CBK', '#CL', '#CSCO', '#CVX', '#DAI', '#DB1', '#DBK', '#DIS', '#DPW', '#DTE', '#EBAY', '#EON', '#F', '#FB', '#FDX', '#FME', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#IFX', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LHA', '#LMT', '#MA', '#MCD', '#META', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#RWE', '#SAP', '#SIE', '#T', '#UBER', '#V', '#VOW', '#WB', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS200', 'BRENT', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CHI50', 'ESP35', 'ETHUSD', 'EU50', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'FRA40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'LTCUSD', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'SPX500', 'UK100', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BTCUSD', 'ETHUSD', 'LTCUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BRENT', 'WTI', 'AUS200', 'CHI50', 'ESP35', 'EU50', 'FRA40', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'NAS100', 'SPX500', 'UK100', 'US30', 'AUDUSD', 'EURUSD', 'GBPUSD', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', '#AAPL', '#AIG', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BIDU', '#C', '#CAT', '#CL', '#CSCO', '#CVX', '#DIS', '#EBAY', '#F', '#FB', '#FDX', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#T', '#UBER', '#V', '#WB', '#XOM')) AND ('0' = 0 OR fr.pattern in ('')) AND ('400' = 0 OR fr.patternlengthbars <= '400') AND ('0' = 0 OR ('0' = 1 AND fr.timed > cast('1970-01-01' as timestamp)) OR ('0' = 2 AND fr.timed < cast('1970-01-01' as timestamp))) ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;
Date: 2025-05-17 23:40:54 Duration: 8s413ms Database: acaweb_fx User: postgres Remote: 182.165.1.42 Application: [unknown] Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_fibonacci_results ORDER BY resultuid DESC LIMIT 1 ), fr AS ( SELECT a.*, rr.age, rr.relevant from fibonacci_results a LEFT OUTER JOIN relevance_fibonacci_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_fibonacci_results) END ), all_results AS ( SELECT fr.resultuid AS resultuid, fr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, fr.pattern AS pattern_name, fr.timed AS timed, fr.patternendtime AS identified, dtt.timezone AS timezone, fr.patternlengthbars AS length, g.basegroupname, newLevels.filtered, CASE WHEN fr.age IS NOT NULL THEN fr.age WHEN fr.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN fr.relevant IS NOT NULL THEN fr.relevant WHEN fr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip FROM fr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = fr.symbolid INNER JOIN symbols s ON fr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN symbolgroup sg on fr.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON fr.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT JOIN LATERAL calc_fib_signal_filter (fr.resultuid) newLevels on true LEFT JOIN currencypips cps on cps.symbol = s.symbol LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE fr.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (fr.simulation = 0 OR fr.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('310' = 0 OR coalesce(bim.code, s.symbol) in ('#AAPL', '#ADS', '#AIG', '#ALV', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BAS', '#BAYN', '#BEI', '#BIDU', '#BMW', '#C', '#CAT', '#CBK', '#CL', '#CSCO', '#CVX', '#DAI', '#DB1', '#DBK', '#DIS', '#DPW', '#DTE', '#EBAY', '#EON', '#F', '#FB', '#FDX', '#FME', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#IFX', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LHA', '#LMT', '#MA', '#MCD', '#META', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#RWE', '#SAP', '#SIE', '#T', '#UBER', '#V', '#VOW', '#WB', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS200', 'BRENT', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CHI50', 'ESP35', 'ETHUSD', 'EU50', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'FRA40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'LTCUSD', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'SPX500', 'UK100', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BTCUSD', 'ETHUSD', 'LTCUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BRENT', 'WTI', 'AUS200', 'CHI50', 'ESP35', 'EU50', 'FRA40', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'NAS100', 'SPX500', 'UK100', 'US30', 'AUDUSD', 'EURUSD', 'GBPUSD', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', '#AAPL', '#AIG', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BIDU', '#C', '#CAT', '#CL', '#CSCO', '#CVX', '#DIS', '#EBAY', '#F', '#FB', '#FDX', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#T', '#UBER', '#V', '#WB', '#XOM')) AND ('0' = 0 OR fr.pattern in ('')) AND ('400' = 0 OR fr.patternlengthbars <= '400') AND ('0' = 0 OR ('0' = 1 AND fr.timed > cast('1970-01-01' as timestamp)) OR ('0' = 2 AND fr.timed < cast('1970-01-01' as timestamp))) ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;
Date: 2025-05-17 23:35:54 Duration: 7s916ms Database: acaweb_fx User: postgres Remote: 182.165.1.42 Application: [unknown] Bind query: yes
5 1s46ms 1s169ms 1s86ms 6 6s520ms refresh materialized view concurrently latest_t15_candle_view;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration May 17 23 6 6s520ms 1s86ms [ User: postgres - Total duration: 6s520ms - Times executed: 6 ]
[ Application: [unknown] - Total duration: 6s520ms - Times executed: 6 ]
-
refresh materialized view concurrently latest_t15_candle_view;
Date: 2025-05-17 23:46:17 Duration: 1s169ms Database: acaweb_fx User: postgres Remote: 192.168.4.98 Application: [unknown]
-
refresh materialized view concurrently latest_t15_candle_view;
Date: 2025-05-17 23:01:17 Duration: 1s89ms Database: acaweb_fx User: postgres Remote: 192.168.4.98 Application: [unknown]
-
refresh materialized view concurrently latest_t15_candle_view;
Date: 2025-05-17 23:16:17 Duration: 1s78ms Database: acaweb_fx User: postgres Remote: 192.168.4.98 Application: [unknown]
6 526ms 709ms 618ms 2 1s236ms select cleanupkeylevelsresults (?, ?, ?);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration May 17 23 2 1s236ms 618ms [ User: postgres - Total duration: 1s236ms - Times executed: 2 ]
[ Application: psql - Total duration: 1s236ms - Times executed: 2 ]
-
select cleanupkeylevelsresults (30, 20, 30);
Date: 2025-05-17 23:05:02 Duration: 709ms Database: acaweb_fx User: postgres Remote: [local] Application: psql
-
select cleanupkeylevelsresults (15, 15, 15);
Date: 2025-05-17 23:10:01 Duration: 526ms Database: acaweb_fx User: postgres Remote: [local] Application: psql
7 12ms 7s373ms 615ms 34 20s916ms select fixcandlegaps (?, false);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration May 17 23 34 20s916ms 615ms [ User: postgres - Total duration: 20s916ms - Times executed: 34 ]
[ Application: psql - Total duration: 20s916ms - Times executed: 34 ]
-
select fixcandlegaps ('ICMARKETS-AU-MT5', false);
Date: 2025-05-17 23:06:22 Duration: 7s373ms Database: acaweb_fx User: postgres Remote: [local] Application: psql
-
select fixcandlegaps ('ATFX', false);
Date: 2025-05-17 23:06:06 Duration: 2s562ms Database: acaweb_fx User: postgres Remote: [local] Application: psql
-
select fixcandlegaps ('PEPPERSTONE', false);
Date: 2025-05-17 23:06:12 Duration: 2s16ms Database: acaweb_fx User: postgres Remote: [local] Application: psql
8 34ms 2s227ms 560ms 206 1m55s with rar_max as ( select resultuid from relevance_consecutivecandles_results order by resultuid desc limit ? ), all_results as ( select ccr.resultuid as resultuid, ccr.direction as direction, s.exchange as exchange, s.symbolid as symbolid, coalesce(bim.code, s.symbol) as symbol_code, s.longname as symbol_name, s.timegranularity as interval, ccr.patternendtime as identified, dtt.timezone as timezone, ccr.qtyconsecutivecandles as length, g.basegroupname, case when rcr.age is not null then rcr.age when ccr.resultuid <= rm.resultuid then ? else ? end as age, case when rcr.relevant is not null then rcr.relevant when ccr.resultuid <= rm.resultuid then ? else ? end as relevant, cps.pip, newlevels.filtered from consecutivecandles_results ccr inner join brokersymbollist bsl on bsl.brokerid = ? and bsl.symbolid = ccr.symbolid inner join symbols s on ccr.symbolid = s.symbolid and s.nonliquid = ? inner join downloadersymbolsettings dss on ccr.symbolid = dss.symbolid inner join datafeedstimetable dtt on dss.classname = dtt.classname and dtt.dayofweek = ? inner join symbolgroup sg on ccr.symbolid = sg.symbolid inner join groups g on sg.groupid = g.groupid inner join brokergroups bg on g.groupid = bg.groupid and bsl.brokerid = bg.brokerid inner join rar_max rm on ? = ? left outer join relevance_consecutivecandles_results rcr on rcr.resultuid = ccr.resultuid left join currencypips cps on cps.symbol = s.symbol left outer join brokerinstrumentmap bim on dss.datafeedinstrumentid = bim.datafeedinstrumentid and bim.brokerid = bsl.brokerid and bim.type = ? left join lateral calc_cc_signal_filter (ccr.resultuid) newlevels on true where ccr.gmttimefound > now() - interval ? and s.deleted = ? and (ccr.simulation = ? or ccr.simulation is null) and (? = ? or s.timegranularity in (...)) and (? = ? or s.exchange in (...)) and (? = ? or coalesce(bim.code, s.symbol) in (...)) and (? = ? or ccr.patternlengthbars <= ?) ), results as ( select distinct on (symbolid) * from all_results where (false = ? or relevant = ?) and (? = ? or age <= ?) order by symbolid, resultuid ) select * from results order by identified desc, length desc;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration May 17 23 206 1m55s 560ms [ User: postgres - Total duration: 1m55s - Times executed: 206 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1m39s - Times executed: 194 ]
[ Application: [unknown] - Total duration: 15s759ms - Times executed: 12 ]
-
WITH rar_max as ( SELECT resultuid FROM relevance_consecutivecandles_results ORDER BY resultuid DESC LIMIT 1 ), all_results AS ( SELECT ccr.resultuid AS resultuid, ccr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ccr.patternendtime AS identified, dtt.timezone AS timezone, ccr.qtyconsecutivecandles AS length, g.basegroupname, CASE WHEN rcr.age IS NOT NULL THEN rcr.age WHEN ccr.resultuid <= rm.resultuid THEN 1 ELSE 0 END as age, CASE WHEN rcr.relevant IS NOT NULL THEN rcr.relevant WHEN ccr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip, newLevels.filtered FROM consecutivecandles_results ccr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = ccr.symbolid INNER JOIN symbols s ON ccr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN downloadersymbolsettings dss ON ccr.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN symbolgroup sg on ccr.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_consecutivecandles_results rcr ON rcr.resultuid = ccr.resultuid LEFT JOIN currencypips cps on cps.symbol = s.symbol LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' LEFT JOIN LATERAL calc_cc_signal_filter (ccr.resultuid) newLevels on true WHERE ccr.gmttimefound > now() - INTERVAL '7 DAYS' AND s.deleted = 0 AND (ccr.simulation = 0 OR ccr.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('310' = 0 OR coalesce(bim.code, s.symbol) in ('#AAPL', '#ADS', '#AIG', '#ALV', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BAS', '#BAYN', '#BEI', '#BIDU', '#BMW', '#C', '#CAT', '#CBK', '#CL', '#CSCO', '#CVX', '#DAI', '#DB1', '#DBK', '#DIS', '#DPW', '#DTE', '#EBAY', '#EON', '#F', '#FB', '#FDX', '#FME', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#IFX', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LHA', '#LMT', '#MA', '#MCD', '#META', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#RWE', '#SAP', '#SIE', '#T', '#UBER', '#V', '#VOW', '#WB', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS200', 'BRENT', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CHI50', 'ESP35', 'ETHUSD', 'EU50', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'FRA40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'LTCUSD', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'SPX500', 'UK100', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BTCUSD', 'ETHUSD', 'LTCUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BRENT', 'WTI', 'AUS200', 'CHI50', 'ESP35', 'EU50', 'FRA40', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'NAS100', 'SPX500', 'UK100', 'US30', 'AUDUSD', 'EURUSD', 'GBPUSD', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', '#AAPL', '#AIG', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BIDU', '#C', '#CAT', '#CL', '#CSCO', '#CVX', '#DIS', '#EBAY', '#F', '#FB', '#FDX', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#T', '#UBER', '#V', '#WB', '#XOM')) AND ('400' = 0 OR ccr.patternlengthbars <= '400') ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;
Date: 2025-05-17 23:06:10 Duration: 2s227ms Database: acaweb_fx User: postgres Remote: 182.165.1.42 Application: [unknown] Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_consecutivecandles_results ORDER BY resultuid DESC LIMIT 1 ), all_results AS ( SELECT ccr.resultuid AS resultuid, ccr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ccr.patternendtime AS identified, dtt.timezone AS timezone, ccr.qtyconsecutivecandles AS length, g.basegroupname, CASE WHEN rcr.age IS NOT NULL THEN rcr.age WHEN ccr.resultuid <= rm.resultuid THEN 1 ELSE 0 END as age, CASE WHEN rcr.relevant IS NOT NULL THEN rcr.relevant WHEN ccr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip, newLevels.filtered FROM consecutivecandles_results ccr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = ccr.symbolid INNER JOIN symbols s ON ccr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN downloadersymbolsettings dss ON ccr.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN symbolgroup sg on ccr.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_consecutivecandles_results rcr ON rcr.resultuid = ccr.resultuid LEFT JOIN currencypips cps on cps.symbol = s.symbol LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' LEFT JOIN LATERAL calc_cc_signal_filter (ccr.resultuid) newLevels on true WHERE ccr.gmttimefound > now() - INTERVAL '7 DAYS' AND s.deleted = 0 AND (ccr.simulation = 0 OR ccr.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('310' = 0 OR coalesce(bim.code, s.symbol) in ('#AAPL', '#ADS', '#AIG', '#ALV', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BAS', '#BAYN', '#BEI', '#BIDU', '#BMW', '#C', '#CAT', '#CBK', '#CL', '#CSCO', '#CVX', '#DAI', '#DB1', '#DBK', '#DIS', '#DPW', '#DTE', '#EBAY', '#EON', '#F', '#FB', '#FDX', '#FME', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#IFX', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LHA', '#LMT', '#MA', '#MCD', '#META', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#RWE', '#SAP', '#SIE', '#T', '#UBER', '#V', '#VOW', '#WB', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS200', 'BRENT', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CHI50', 'ESP35', 'ETHUSD', 'EU50', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'FRA40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'LTCUSD', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'SPX500', 'UK100', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BTCUSD', 'ETHUSD', 'LTCUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BRENT', 'WTI', 'AUS200', 'CHI50', 'ESP35', 'EU50', 'FRA40', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'NAS100', 'SPX500', 'UK100', 'US30', 'AUDUSD', 'EURUSD', 'GBPUSD', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', '#AAPL', '#AIG', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BIDU', '#C', '#CAT', '#CL', '#CSCO', '#CVX', '#DIS', '#EBAY', '#F', '#FB', '#FDX', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#T', '#UBER', '#V', '#WB', '#XOM')) AND ('400' = 0 OR ccr.patternlengthbars <= '400') ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;
Date: 2025-05-17 23:41:09 Duration: 1s270ms Database: acaweb_fx User: postgres Remote: 182.165.1.42 Application: [unknown] Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_consecutivecandles_results ORDER BY resultuid DESC LIMIT 1 ), all_results AS ( SELECT ccr.resultuid AS resultuid, ccr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ccr.patternendtime AS identified, dtt.timezone AS timezone, ccr.qtyconsecutivecandles AS length, g.basegroupname, CASE WHEN rcr.age IS NOT NULL THEN rcr.age WHEN ccr.resultuid <= rm.resultuid THEN 1 ELSE 0 END as age, CASE WHEN rcr.relevant IS NOT NULL THEN rcr.relevant WHEN ccr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip, newLevels.filtered FROM consecutivecandles_results ccr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = ccr.symbolid INNER JOIN symbols s ON ccr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN downloadersymbolsettings dss ON ccr.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN symbolgroup sg on ccr.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_consecutivecandles_results rcr ON rcr.resultuid = ccr.resultuid LEFT JOIN currencypips cps on cps.symbol = s.symbol LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' LEFT JOIN LATERAL calc_cc_signal_filter (ccr.resultuid) newLevels on true WHERE ccr.gmttimefound > now() - INTERVAL '7 DAYS' AND s.deleted = 0 AND (ccr.simulation = 0 OR ccr.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('310' = 0 OR coalesce(bim.code, s.symbol) in ('#AAPL', '#ADS', '#AIG', '#ALV', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BAS', '#BAYN', '#BEI', '#BIDU', '#BMW', '#C', '#CAT', '#CBK', '#CL', '#CSCO', '#CVX', '#DAI', '#DB1', '#DBK', '#DIS', '#DPW', '#DTE', '#EBAY', '#EON', '#F', '#FB', '#FDX', '#FME', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#IFX', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LHA', '#LMT', '#MA', '#MCD', '#META', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#RWE', '#SAP', '#SIE', '#T', '#UBER', '#V', '#VOW', '#WB', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS200', 'BRENT', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CHI50', 'ESP35', 'ETHUSD', 'EU50', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'FRA40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'LTCUSD', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'SPX500', 'UK100', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BTCUSD', 'ETHUSD', 'LTCUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BRENT', 'WTI', 'AUS200', 'CHI50', 'ESP35', 'EU50', 'FRA40', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'NAS100', 'SPX500', 'UK100', 'US30', 'AUDUSD', 'EURUSD', 'GBPUSD', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', '#AAPL', '#AIG', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BIDU', '#C', '#CAT', '#CL', '#CSCO', '#CVX', '#DIS', '#EBAY', '#F', '#FB', '#FDX', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#T', '#UBER', '#V', '#WB', '#XOM')) AND ('400' = 0 OR ccr.patternlengthbars <= '400') ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;
Date: 2025-05-17 23:01:07 Duration: 1s247ms Database: acaweb_fx User: postgres Remote: 182.165.1.42 Application: [unknown] Bind query: yes
9 75ms 685ms 259ms 120 31s130ms with last_candle as ( select acs.symbolid as symbolid, acs.latestpricedatetime as latest_candle_time, bsl.brokerid as broker_id, coalesce(bim.code, s.symbol) as symbol, bim.code as symbol_mapping, s.exchange as exchange, s.timegranularity as timegranularity from autochartist_symbolupdates acs inner join brokersymbollist bsl on acs.symbolid = bsl.symbolid inner join symbols s on acs.symbolid = s.symbolid inner join downloadersymbolsettings dss on s.symbolid = dss.symbolid left outer join brokerinstrumentmap bim on dss.datafeedinstrumentid = bim.datafeedinstrumentid and bim.brokerid = bsl.brokerid and bim.type = ? where bsl.brokerid = ? and s.deleted = ? and s.nonliquid = ? and acs.latestpricedatetime is not null ) select * from ( select lc.broker_id as brokerid, prf.groupid, psp.symbolid, prf.longname, psd.hourlysymbolid, lc.symbol, lc.exchange, psp.enddate, psp.dayofweek, psp.fromtime, floor(psp.fromtime / ?) + ? as sast_hh, mod(cast(psp.fromtime as int), ?) as sast_mm, current_timestamp as datetime, (powerstatslatestprfprice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice as closingprice, ((powerstatslatestprfprice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice - (psp.ave_15 + psp.stddev_15) / ?.?) as low_15, ((powerstatslatestprfprice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice + (psp.ave_15 + psp.stddev_15) / ?.?) as high_15, ((powerstatslatestprfprice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice - (psp.ave_30 + psp.stddev_30) / ?.?) as low_30, ((powerstatslatestprfprice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice + (psp.ave_30 + psp.stddev_30) / ?.?) as high_30, ((powerstatslatestprfprice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice - (psp.ave_60 + psp.stddev_60) / ?.?) as low_60, ((powerstatslatestprfprice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice + (psp.ave_60 + psp.stddev_60) / ?.?) as high_60, ((powerstatslatestprfprice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice - (psp.ave_240 + psp.stddev_240) / ?.?) as low_240, ((powerstatslatestprfprice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice + (psp.ave_240 + psp.stddev_240) / ?.?) as high_240, ((powerstatslatestprfprice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice - (psp.ave_1440 + psp.stddev_1440) / ?.?) as low_1440, ((powerstatslatestprfprice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice + (psp.ave_1440 + psp.stddev_1440) / ?.?) as high_1440, dtt.absolutetimezoneoffset as datafeedtimezoneoffset, dtt.timezone as datafeedtimezonename, (round((cast(? as float) - rank) / ? * ?)) as rank_rounded, ((cast(? as float) - rank) / ? * ?) as rank from last_candle lc inner join downloadersymbolsettings dss on lc.symbolid = dss.symbolid inner join datafeedstimetable dtt on trim(dss.classname) = trim(dtt.classname) and dtt.dayofweek = ? -- assuming timezone is same for whole week. inner join powerstats_symboldata psd on psd.symbolid = lc.symbolid left outer join powerstats_trumpet psp on psd.trumpetsymbolid = psp.symbolid and psp.dayofweek = extract(dow from lc.latest_candle_time) and psp.fromtime = cast(extract(? from lc.latest_candle_time) as integer) * ? + extract(? from (cast(extract(? from lc.latest_candle_time) as integer) / ?) * ? * interval ?) inner join prfsymboltree prf on psd.symbolid = prf.symbolid and date_trunc(?, prf.enddate) = date_trunc(?, psp.enddate) left join lateral ( select ph.hour, (ave + stddev) as volatility, rank() over (order by (ave + stddev) desc) as rank from powerstats_hourly ph where ph.symbolid = psd.hourlysymbolid and date_trunc(?,ph.enddate) = date_trunc(?, prf.enddate) ) rank_query on true where prf.brokerid = ? and rank_query.hour = floor((psp.fromtime) / ?) and volatility > ? order by rank desc, rank_rounded desc, exchange, symbol, groupid) sub order by brokerid, groupid, symbolid;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration May 17 23 120 31s130ms 259ms [ User: postgres - Total duration: 31s130ms - Times executed: 120 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 31s130ms - Times executed: 120 ]
-
WITH last_candle AS ( SELECT acs.symbolid AS symbolid, acs.latestpricedatetime AS latest_candle_time, bsl.brokerid AS broker_id, coalesce(bim.code, s.symbol) AS symbol, bim.code AS symbol_mapping, s.exchange AS exchange, s.timegranularity AS timegranularity FROM autochartist_symbolupdates acs INNER JOIN brokersymbollist bsl ON acs.symbolid = bsl.symbolid INNER JOIN symbols s ON acs.symbolid = s.symbolid INNER JOIN downloadersymbolsettings dss ON s.symbolid = dss.symbolid LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE bsl.brokerid = '529' AND s.deleted = 0 AND s.nonliquid = 0 AND acs.latestpricedatetime IS NOT NULL ) SELECT * FROM ( SELECT lc.broker_id AS brokerid, prf.groupid, psp.symbolid, prf.longname, psd.hourlysymbolid, lc.symbol, lc.exchange, psp.enddate, psp.dayofweek, psp.fromtime, floor(psp.fromtime / 60) + 6 as SAST_HH, mod(cast(psp.fromtime as int), 60) as SAST_MM, current_timestamp AS datetime, (PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice AS closingprice, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice - (psp.ave_15 + psp.stddev_15) / 2.0) AS low_15, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice + (psp.ave_15 + psp.stddev_15) / 2.0) AS high_15, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice - (psp.ave_30 + psp.stddev_30) / 2.0) AS low_30, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice + (psp.ave_30 + psp.stddev_30) / 2.0) AS high_30, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice - (psp.ave_60 + psp.stddev_60) / 2.0) AS low_60, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice + (psp.ave_60 + psp.stddev_60) / 2.0) AS high_60, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice - (psp.ave_240 + psp.stddev_240) / 2.0) AS low_240, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice + (psp.ave_240 + psp.stddev_240) / 2.0) AS high_240, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice - (psp.ave_1440 + psp.stddev_1440) / 2.0) AS low_1440, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice + (psp.ave_1440 + psp.stddev_1440) / 2.0) AS high_1440, dtt.absolutetimezoneoffset AS datafeedtimezoneoffset, dtt.timezone AS datafeedtimezonename, (round((cast(25 as float) - rank) / 24 * 10)) as rank_rounded, ((cast(25 as float) - rank) / 24 * 10) as rank FROM last_candle lc INNER JOIN downloadersymbolsettings dss ON lc.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON TRIM(dss.classname) = TRIM(dtt.classname) and dtt.dayofweek = 3 -- assuming timezone is same for whole week. INNER JOIN powerstats_symboldata psd ON psd.symbolid = lc.symbolid LEFT OUTER JOIN powerstats_trumpet psp ON psd.trumpetsymbolid = psp.symbolid AND psp.dayofweek = extract(dow from lc.latest_candle_time) AND psp.fromtime = cast(extract('hour' from lc.latest_candle_time) as integer) * 60 + extract('minute' from (cast(extract('minute' from lc.latest_candle_time) as integer) / 15) * 15 * interval '1 minutes') INNER JOIN prfsymboltree prf ON psd.symbolid = prf.symbolid and DATE_TRUNC('day', prf.enddate) = DATE_TRUNC('day', psp.enddate) LEFT JOIN LATERAL ( SELECT ph.hour, (ave + stddev) AS volatility, rank() over (ORDER BY (ave + stddev) DESC) AS rank FROM powerstats_hourly ph WHERE ph.symbolid = psd.hourlysymbolid AND DATE_TRUNC('day', ph.enddate) = DATE_TRUNC('day', prf.enddate)) rank_query ON true WHERE prf.brokerid = '529' AND rank_query.hour = floor((psp.fromtime) / 60) AND volatility > 0 ORDER BY rank DESC, rank_rounded DESC, exchange, symbol, groupid) sub order by brokerid, groupid, symbolid;
Date: 2025-05-17 23:16:00 Duration: 685ms Database: acaweb_fx User: postgres Remote: 192.168.1.145 Application: PostgreSQL JDBC Driver Bind query: yes
-
WITH last_candle AS ( SELECT acs.symbolid AS symbolid, acs.latestpricedatetime AS latest_candle_time, bsl.brokerid AS broker_id, coalesce(bim.code, s.symbol) AS symbol, bim.code AS symbol_mapping, s.exchange AS exchange, s.timegranularity AS timegranularity FROM autochartist_symbolupdates acs INNER JOIN brokersymbollist bsl ON acs.symbolid = bsl.symbolid INNER JOIN symbols s ON acs.symbolid = s.symbolid INNER JOIN downloadersymbolsettings dss ON s.symbolid = dss.symbolid LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE bsl.brokerid = '529' AND s.deleted = 0 AND s.nonliquid = 0 AND acs.latestpricedatetime IS NOT NULL ) SELECT * FROM ( SELECT lc.broker_id AS brokerid, prf.groupid, psp.symbolid, prf.longname, psd.hourlysymbolid, lc.symbol, lc.exchange, psp.enddate, psp.dayofweek, psp.fromtime, floor(psp.fromtime / 60) + 6 as SAST_HH, mod(cast(psp.fromtime as int), 60) as SAST_MM, current_timestamp AS datetime, (PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice AS closingprice, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice - (psp.ave_15 + psp.stddev_15) / 2.0) AS low_15, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice + (psp.ave_15 + psp.stddev_15) / 2.0) AS high_15, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice - (psp.ave_30 + psp.stddev_30) / 2.0) AS low_30, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice + (psp.ave_30 + psp.stddev_30) / 2.0) AS high_30, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice - (psp.ave_60 + psp.stddev_60) / 2.0) AS low_60, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice + (psp.ave_60 + psp.stddev_60) / 2.0) AS high_60, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice - (psp.ave_240 + psp.stddev_240) / 2.0) AS low_240, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice + (psp.ave_240 + psp.stddev_240) / 2.0) AS high_240, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice - (psp.ave_1440 + psp.stddev_1440) / 2.0) AS low_1440, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice + (psp.ave_1440 + psp.stddev_1440) / 2.0) AS high_1440, dtt.absolutetimezoneoffset AS datafeedtimezoneoffset, dtt.timezone AS datafeedtimezonename, (round((cast(25 as float) - rank) / 24 * 10)) as rank_rounded, ((cast(25 as float) - rank) / 24 * 10) as rank FROM last_candle lc INNER JOIN downloadersymbolsettings dss ON lc.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON TRIM(dss.classname) = TRIM(dtt.classname) and dtt.dayofweek = 3 -- assuming timezone is same for whole week. INNER JOIN powerstats_symboldata psd ON psd.symbolid = lc.symbolid LEFT OUTER JOIN powerstats_trumpet psp ON psd.trumpetsymbolid = psp.symbolid AND psp.dayofweek = extract(dow from lc.latest_candle_time) AND psp.fromtime = cast(extract('hour' from lc.latest_candle_time) as integer) * 60 + extract('minute' from (cast(extract('minute' from lc.latest_candle_time) as integer) / 15) * 15 * interval '1 minutes') INNER JOIN prfsymboltree prf ON psd.symbolid = prf.symbolid and DATE_TRUNC('day', prf.enddate) = DATE_TRUNC('day', psp.enddate) LEFT JOIN LATERAL ( SELECT ph.hour, (ave + stddev) AS volatility, rank() over (ORDER BY (ave + stddev) DESC) AS rank FROM powerstats_hourly ph WHERE ph.symbolid = psd.hourlysymbolid AND DATE_TRUNC('day', ph.enddate) = DATE_TRUNC('day', prf.enddate)) rank_query ON true WHERE prf.brokerid = '529' AND rank_query.hour = floor((psp.fromtime) / 60) AND volatility > 0 ORDER BY rank DESC, rank_rounded DESC, exchange, symbol, groupid) sub order by brokerid, groupid, symbolid;
Date: 2025-05-17 23:36:00 Duration: 614ms Database: acaweb_fx User: postgres Remote: 192.168.1.145 Application: PostgreSQL JDBC Driver Bind query: yes
-
WITH last_candle AS ( SELECT acs.symbolid AS symbolid, acs.latestpricedatetime AS latest_candle_time, bsl.brokerid AS broker_id, coalesce(bim.code, s.symbol) AS symbol, bim.code AS symbol_mapping, s.exchange AS exchange, s.timegranularity AS timegranularity FROM autochartist_symbolupdates acs INNER JOIN brokersymbollist bsl ON acs.symbolid = bsl.symbolid INNER JOIN symbols s ON acs.symbolid = s.symbolid INNER JOIN downloadersymbolsettings dss ON s.symbolid = dss.symbolid LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE bsl.brokerid = '529' AND s.deleted = 0 AND s.nonliquid = 0 AND acs.latestpricedatetime IS NOT NULL ) SELECT * FROM ( SELECT lc.broker_id AS brokerid, prf.groupid, psp.symbolid, prf.longname, psd.hourlysymbolid, lc.symbol, lc.exchange, psp.enddate, psp.dayofweek, psp.fromtime, floor(psp.fromtime / 60) + 6 as SAST_HH, mod(cast(psp.fromtime as int), 60) as SAST_MM, current_timestamp AS datetime, (PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice AS closingprice, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice - (psp.ave_15 + psp.stddev_15) / 2.0) AS low_15, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice + (psp.ave_15 + psp.stddev_15) / 2.0) AS high_15, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice - (psp.ave_30 + psp.stddev_30) / 2.0) AS low_30, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice + (psp.ave_30 + psp.stddev_30) / 2.0) AS high_30, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice - (psp.ave_60 + psp.stddev_60) / 2.0) AS low_60, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice + (psp.ave_60 + psp.stddev_60) / 2.0) AS high_60, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice - (psp.ave_240 + psp.stddev_240) / 2.0) AS low_240, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice + (psp.ave_240 + psp.stddev_240) / 2.0) AS high_240, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice - (psp.ave_1440 + psp.stddev_1440) / 2.0) AS low_1440, ((PowerStatsLatestPRFPrice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice + (psp.ave_1440 + psp.stddev_1440) / 2.0) AS high_1440, dtt.absolutetimezoneoffset AS datafeedtimezoneoffset, dtt.timezone AS datafeedtimezonename, (round((cast(25 as float) - rank) / 24 * 10)) as rank_rounded, ((cast(25 as float) - rank) / 24 * 10) as rank FROM last_candle lc INNER JOIN downloadersymbolsettings dss ON lc.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON TRIM(dss.classname) = TRIM(dtt.classname) and dtt.dayofweek = 3 -- assuming timezone is same for whole week. INNER JOIN powerstats_symboldata psd ON psd.symbolid = lc.symbolid LEFT OUTER JOIN powerstats_trumpet psp ON psd.trumpetsymbolid = psp.symbolid AND psp.dayofweek = extract(dow from lc.latest_candle_time) AND psp.fromtime = cast(extract('hour' from lc.latest_candle_time) as integer) * 60 + extract('minute' from (cast(extract('minute' from lc.latest_candle_time) as integer) / 15) * 15 * interval '1 minutes') INNER JOIN prfsymboltree prf ON psd.symbolid = prf.symbolid and DATE_TRUNC('day', prf.enddate) = DATE_TRUNC('day', psp.enddate) LEFT JOIN LATERAL ( SELECT ph.hour, (ave + stddev) AS volatility, rank() over (ORDER BY (ave + stddev) DESC) AS rank FROM powerstats_hourly ph WHERE ph.symbolid = psd.hourlysymbolid AND DATE_TRUNC('day', ph.enddate) = DATE_TRUNC('day', prf.enddate)) rank_query ON true WHERE prf.brokerid = '529' AND rank_query.hour = floor((psp.fromtime) / 60) AND volatility > 0 ORDER BY rank DESC, rank_rounded DESC, exchange, symbol, groupid) sub order by brokerid, groupid, symbolid;
Date: 2025-05-17 23:56:00 Duration: 608ms Database: acaweb_fx User: postgres Remote: 192.168.1.20 Application: PostgreSQL JDBC Driver Bind query: yes
10 10ms 400ms 112ms 206 23s241ms with rar_max as ( select resultuid from relevance_bigmovement_results order by resultuid desc limit ? ), all_results as ( select bmr.resultuid as resultuid, ? as direction, s.exchange as exchange, s.symbolid as symbolid, coalesce(bim.code, s.symbol) as symbol_code, s.longname as symbol_name, s.timegranularity as interval, bmr.patternendtime as identified, bmr.patternlengthbars, dtt.timezone as timezone, g.basegroupname, case when rbr.age is not null then rbr.age when bmr.resultuid <= rm.resultuid then ? else ? end as age, case when rbr.relevant is not null then rbr.relevant when bmr.resultuid <= rm.resultuid then ? else ? end as relevant, cps.pip from bigmovement_results bmr inner join brokersymbollist bsl on bsl.brokerid = ? and bsl.symbolid = bmr.symbolid inner join symbols s on bmr.symbolid = s.symbolid and s.nonliquid = ? inner join downloadersymbolsettings dss on bmr.symbolid = dss.symbolid inner join datafeedstimetable dtt on dss.classname = dtt.classname and dtt.dayofweek = ? inner join symbolgroup sg on bmr.symbolid = sg.symbolid inner join groups g on sg.groupid = g.groupid inner join brokergroups bg on g.groupid = bg.groupid and bsl.brokerid = bg.brokerid inner join rar_max rm on ? = ? left outer join relevance_bigmovement_results rbr on rbr.resultuid = bmr.resultuid left join currencypips cps on cps.symbol = s.symbol left outer join brokerinstrumentmap bim on dss.datafeedinstrumentid = bim.datafeedinstrumentid and bim.brokerid = bsl.brokerid and bim.type = ? where bmr.gmttimefound > now() - interval ? and s.deleted = ? and (bmr.simulation = ? or bmr.simulation is null) and (? = ? or s.timegranularity in (...)) and (? = ? or s.exchange in (...)) and (? = ? or coalesce(bim.code, s.symbol) in (...)) and (? = ? or bmr.patternlengthbars <= ?) ), results as ( select distinct on (symbolid) * from all_results where (false = ? or relevant = ?) and (? = ? or age <= ?) order by symbolid, resultuid ) select * from results order by identified desc, interval desc;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration May 17 23 206 23s241ms 112ms [ User: postgres - Total duration: 23s241ms - Times executed: 206 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 21s109ms - Times executed: 194 ]
[ Application: [unknown] - Total duration: 2s131ms - Times executed: 12 ]
-
WITH rar_max as ( SELECT resultuid FROM relevance_bigmovement_results ORDER BY resultuid DESC LIMIT 1 ), all_results AS ( SELECT bmr.resultuid AS resultuid, 0 AS direction, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, bmr.patternendtime AS identified, bmr.patternlengthbars, dtt.timezone AS timezone, g.basegroupname, CASE WHEN rbr.age IS NOT NULL THEN rbr.age WHEN bmr.resultuid <= rm.resultuid THEN 4 ELSE 0 END as age, CASE WHEN rbr.relevant IS NOT NULL THEN rbr.relevant WHEN bmr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip FROM bigmovement_results bmr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '627' AND bsl.symbolid = bmr.symbolid INNER JOIN symbols s ON bmr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN downloadersymbolsettings dss ON bmr.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN symbolgroup sg on bmr.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_bigmovement_results rbr ON rbr.resultuid = bmr.resultuid LEFT JOIN currencypips cps on cps.symbol = s.symbol LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE bmr.gmttimefound > now() - INTERVAL '7 DAYS' AND s.deleted = 0 AND (bmr.simulation = 0 OR bmr.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('213' = 0 OR coalesce(bim.code, s.symbol) in ('#ADBE', '#ALVG', '#AMZN', '#APPL', '#BA', '#BABA', '#BAYGn', '#BMWG', '#BNPP', '#CAT', '#CBKG', '#DAIGn', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#META', '#MSFT', '#NFLX', '#TSLA', '#VOWG', '#WMT', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS_200', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CL_BRENT', 'DASHUSD', 'EOSUSD', 'ESP_35', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'EUR_50', 'FRA_40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'GBR_100', 'HKDJPY', 'HKG_50', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NAS100', 'NEOUSD', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'OMGUSD', 'SPX500', 'TRXUSD', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'USOIL', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XMRUSD', 'XPTUSD', 'XRPUSD', 'ZARJPY', 'ZECUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'HKDJPY', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'ZARJPY', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'DASHUSD', 'EOSUSD', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NEOUSD', 'OMGUSD', 'TRXUSD', 'XMRUSD', 'XRPUSD', 'ZECUSD', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XPTUSD', 'CL_BRENT', 'USOIL', '#ALVG', '#BAYGn', '#BMWG', '#BNPP', '#CBKG', '#DAIGn', '#VOWG', 'AUS_200', 'ESP_35', 'EUR_50', 'FRA_40', 'GBR_100', 'HKG_50', 'NAS100', 'SPX500', 'US30', '#ADBE', '#AMZN', '#APPL', '#BA', '#BABA', '#CAT', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#MSFT', '#NFLX', '#TSLA', '#WMT', '#XOM')) AND ('400' = 0 OR bmr.patternlengthbars <= '400') ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, interval DESC;
Date: 2025-05-17 23:26:59 Duration: 400ms Database: acaweb_fx User: postgres Remote: 192.168.1.145 Application: PostgreSQL JDBC Driver Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_bigmovement_results ORDER BY resultuid DESC LIMIT 1 ), all_results AS ( SELECT bmr.resultuid AS resultuid, 0 AS direction, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, bmr.patternendtime AS identified, bmr.patternlengthbars, dtt.timezone AS timezone, g.basegroupname, CASE WHEN rbr.age IS NOT NULL THEN rbr.age WHEN bmr.resultuid <= rm.resultuid THEN 4 ELSE 0 END as age, CASE WHEN rbr.relevant IS NOT NULL THEN rbr.relevant WHEN bmr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip FROM bigmovement_results bmr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '627' AND bsl.symbolid = bmr.symbolid INNER JOIN symbols s ON bmr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN downloadersymbolsettings dss ON bmr.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN symbolgroup sg on bmr.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_bigmovement_results rbr ON rbr.resultuid = bmr.resultuid LEFT JOIN currencypips cps on cps.symbol = s.symbol LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE bmr.gmttimefound > now() - INTERVAL '7 DAYS' AND s.deleted = 0 AND (bmr.simulation = 0 OR bmr.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('213' = 0 OR coalesce(bim.code, s.symbol) in ('#ADBE', '#ALVG', '#AMZN', '#APPL', '#BA', '#BABA', '#BAYGn', '#BMWG', '#BNPP', '#CAT', '#CBKG', '#DAIGn', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#META', '#MSFT', '#NFLX', '#TSLA', '#VOWG', '#WMT', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS_200', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CL_BRENT', 'DASHUSD', 'EOSUSD', 'ESP_35', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'EUR_50', 'FRA_40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'GBR_100', 'HKDJPY', 'HKG_50', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NAS100', 'NEOUSD', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'OMGUSD', 'SPX500', 'TRXUSD', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'USOIL', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XMRUSD', 'XPTUSD', 'XRPUSD', 'ZARJPY', 'ZECUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'HKDJPY', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'ZARJPY', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'DASHUSD', 'EOSUSD', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NEOUSD', 'OMGUSD', 'TRXUSD', 'XMRUSD', 'XRPUSD', 'ZECUSD', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XPTUSD', 'CL_BRENT', 'USOIL', '#ALVG', '#BAYGn', '#BMWG', '#BNPP', '#CBKG', '#DAIGn', '#VOWG', 'AUS_200', 'ESP_35', 'EUR_50', 'FRA_40', 'GBR_100', 'HKG_50', 'NAS100', 'SPX500', 'US30', '#ADBE', '#AMZN', '#APPL', '#BA', '#BABA', '#CAT', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#MSFT', '#NFLX', '#TSLA', '#WMT', '#XOM')) AND ('400' = 0 OR bmr.patternlengthbars <= '400') ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, interval DESC;
Date: 2025-05-17 23:53:54 Duration: 377ms Database: acaweb_fx User: postgres Remote: 192.168.1.250 Application: PostgreSQL JDBC Driver Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_bigmovement_results ORDER BY resultuid DESC LIMIT 1 ), all_results AS ( SELECT bmr.resultuid AS resultuid, 0 AS direction, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, bmr.patternendtime AS identified, bmr.patternlengthbars, dtt.timezone AS timezone, g.basegroupname, CASE WHEN rbr.age IS NOT NULL THEN rbr.age WHEN bmr.resultuid <= rm.resultuid THEN 4 ELSE 0 END as age, CASE WHEN rbr.relevant IS NOT NULL THEN rbr.relevant WHEN bmr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip FROM bigmovement_results bmr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '627' AND bsl.symbolid = bmr.symbolid INNER JOIN symbols s ON bmr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN downloadersymbolsettings dss ON bmr.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN symbolgroup sg on bmr.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_bigmovement_results rbr ON rbr.resultuid = bmr.resultuid LEFT JOIN currencypips cps on cps.symbol = s.symbol LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE bmr.gmttimefound > now() - INTERVAL '7 DAYS' AND s.deleted = 0 AND (bmr.simulation = 0 OR bmr.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('213' = 0 OR coalesce(bim.code, s.symbol) in ('#ADBE', '#ALVG', '#AMZN', '#APPL', '#BA', '#BABA', '#BAYGn', '#BMWG', '#BNPP', '#CAT', '#CBKG', '#DAIGn', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#META', '#MSFT', '#NFLX', '#TSLA', '#VOWG', '#WMT', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS_200', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CL_BRENT', 'DASHUSD', 'EOSUSD', 'ESP_35', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'EUR_50', 'FRA_40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'GBR_100', 'HKDJPY', 'HKG_50', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NAS100', 'NEOUSD', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'OMGUSD', 'SPX500', 'TRXUSD', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'USOIL', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XMRUSD', 'XPTUSD', 'XRPUSD', 'ZARJPY', 'ZECUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURJPY', 'EURMXN', 'EURNOK', 'EURNZD', 'EURPLN', 'EURSEK', 'EURTRY', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GBPZAR', 'HKDJPY', 'NOKJPY', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDDKK', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDZAR', 'ZARJPY', 'BTCEUR', 'BTCGBP', 'BTCUSD', 'DASHUSD', 'EOSUSD', 'ETHEUR', 'ETHGBP', 'ETHUSD', 'IOTAUSD', 'LTCEUR', 'LTCUSD', 'NEOUSD', 'OMGUSD', 'TRXUSD', 'XMRUSD', 'XRPUSD', 'ZECUSD', 'XAGUSD', 'XAUEUR', 'XAUUSD', 'XPTUSD', 'CL_BRENT', 'USOIL', '#ALVG', '#BAYGn', '#BMWG', '#BNPP', '#CBKG', '#DAIGn', '#VOWG', 'AUS_200', 'ESP_35', 'EUR_50', 'FRA_40', 'GBR_100', 'HKG_50', 'NAS100', 'SPX500', 'US30', '#ADBE', '#AMZN', '#APPL', '#BA', '#BABA', '#CAT', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#MSFT', '#NFLX', '#TSLA', '#WMT', '#XOM')) AND ('400' = 0 OR bmr.patternlengthbars <= '400') ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, interval DESC;
Date: 2025-05-17 23:58:22 Duration: 367ms Database: acaweb_fx User: postgres Remote: 192.168.1.250 Application: PostgreSQL JDBC Driver Bind query: yes
11 15ms 163ms 38ms 98 3s729ms select distinct k.symbolid, p.resultuid, k.symbolid, k.bandwidth, k.direction, k.patternendtime, k.patternprice, k.patternlengthbars, k.breakoutbars, k.uniquepointsvalue, k.predictionpricefrom, k.predictionpriceto, k.furthestprice, k.patternclassid from relevance_keylevels_results p inner join keylevels_results k on p.resultuid = k.resultuid inner join autochartist_stocklist asl on k.symbolid = asl.symbolid where k.patternclassid in (...) and asl.enabled = ? and asl.recognitionengine ilike ?;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration May 17 23 98 3s729ms 38ms [ User: postgres - Total duration: 3s729ms - Times executed: 98 ]
[ Application: [unknown] - Total duration: 3s729ms - Times executed: 98 ]
-
SELECT DISTINCT k.symbolid, p.resultuid, k.symbolid, k.bandwidth, k.direction, k.patternendtime, k.patternprice, k.patternlengthbars, k.breakoutbars, k.uniquepointsvalue, k.predictionpricefrom, k.predictionpriceto, k.furthestprice, k.patternclassid FROM relevance_keylevels_results p INNER JOIN keylevels_results k ON p.resultuid = k.resultuid INNER JOIN autochartist_stocklist asl ON k.symbolid = asl.symbolid WHERE k.patternclassid in (1, 2) AND asl.enabled = 1 AND asl.recognitionengine ILIKE 'ICMARKETS - 1';
Date: 2025-05-17 23:16:09 Duration: 163ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
-
SELECT DISTINCT k.symbolid, p.resultuid, k.symbolid, k.bandwidth, k.direction, k.patternendtime, k.patternprice, k.patternlengthbars, k.breakoutbars, k.uniquepointsvalue, k.predictionpricefrom, k.predictionpriceto, k.furthestprice, k.patternclassid FROM relevance_keylevels_results p INNER JOIN keylevels_results k ON p.resultuid = k.resultuid INNER JOIN autochartist_stocklist asl ON k.symbolid = asl.symbolid WHERE k.patternclassid in (1, 2) AND asl.enabled = 1 AND asl.recognitionengine ILIKE 'ICMARKETS - 1';
Date: 2025-05-17 23:46:14 Duration: 120ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
-
SELECT DISTINCT k.symbolid, p.resultuid, k.symbolid, k.bandwidth, k.direction, k.patternendtime, k.patternprice, k.patternlengthbars, k.breakoutbars, k.uniquepointsvalue, k.predictionpricefrom, k.predictionpriceto, k.furthestprice, k.patternclassid FROM relevance_keylevels_results p INNER JOIN keylevels_results k ON p.resultuid = k.resultuid INNER JOIN autochartist_stocklist asl ON k.symbolid = asl.symbolid WHERE k.patternclassid in (1, 2) AND asl.enabled = 1 AND asl.recognitionengine ILIKE 'ICMARKETS - 1';
Date: 2025-05-17 23:31:10 Duration: 110ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
12 14ms 93ms 34ms 98 3s409ms select distinct a.symbolid, p.resultuid, case when a.breakout >= ? then ? else ? end as type, a.resultid, a.bandwidth, a.patternlengthbars, a.patternendtime, a.resy0, a.supporty0, a.resy1, a.supporty1, a.direction, a.predictionpriceto, a.patternendprice, a.predictionpricefrom, a.resx0, a.supportx0, a.resgradient, a.supportgradient from relevance_autochartist_results p inner join autochartist_results a on p.resultuid = a.resultuid inner join autochartist_stocklist asl on a.symbolid = asl.symbolid where asl.enabled = ? and asl.recognitionengine ilike ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration May 17 23 98 3s409ms 34ms [ User: postgres - Total duration: 3s409ms - Times executed: 98 ]
[ Application: [unknown] - Total duration: 3s409ms - Times executed: 98 ]
-
SELECT distinct a.symbolid, p.resultuid, case when a.breakout >= 0 then 1 else 2 end as type, a.resultid, a.bandwidth, a.patternlengthbars, a.patternendtime, a.resy0, a.supporty0, a.resy1, a.supporty1, a.direction, a.predictionpriceto, a.patternendprice, a.predictionpricefrom, a.resx0, a.supportx0, a.resgradient, a.supportgradient FROM relevance_autochartist_results p INNER JOIN autochartist_results a ON p.resultuid = a.resultuid INNER JOIN autochartist_stocklist asl ON a.symbolid = asl.symbolid WHERE asl.enabled = 1 AND asl.recognitionengine ILIKE 'GLOBALGTMT5 - 1';
Date: 2025-05-17 23:00:53 Duration: 93ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
-
SELECT distinct a.symbolid, p.resultuid, case when a.breakout >= 0 then 1 else 2 end as type, a.resultid, a.bandwidth, a.patternlengthbars, a.patternendtime, a.resy0, a.supporty0, a.resy1, a.supporty1, a.direction, a.predictionpriceto, a.patternendprice, a.predictionpricefrom, a.resx0, a.supportx0, a.resgradient, a.supportgradient FROM relevance_autochartist_results p INNER JOIN autochartist_results a ON p.resultuid = a.resultuid INNER JOIN autochartist_stocklist asl ON a.symbolid = asl.symbolid WHERE asl.enabled = 1 AND asl.recognitionengine ILIKE 'GLOBALGTMT5 - 1';
Date: 2025-05-17 23:45:53 Duration: 87ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
-
SELECT distinct a.symbolid, p.resultuid, case when a.breakout >= 0 then 1 else 2 end as type, a.resultid, a.bandwidth, a.patternlengthbars, a.patternendtime, a.resy0, a.supporty0, a.resy1, a.supporty1, a.direction, a.predictionpriceto, a.patternendprice, a.predictionpricefrom, a.resx0, a.supportx0, a.resgradient, a.supportgradient FROM relevance_autochartist_results p INNER JOIN autochartist_results a ON p.resultuid = a.resultuid INNER JOIN autochartist_stocklist asl ON a.symbolid = asl.symbolid WHERE asl.enabled = 1 AND asl.recognitionengine ILIKE 'GLOBALGTMT5 - 1';
Date: 2025-05-17 23:45:53 Duration: 87ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
13 0ms 16ms 5ms 194 1s155ms select open as _open, high as _high, low as _low, close "..." _close, volume as _volume, pricedatetime as _pricedatetime from ( select open, high, low, close, volume, pricedatetime from t15 where pricedatetime >= current_timestamp - interval ? and symbolid = ? union all select open, high, low, close, volume, pricedatetime from t15_ps where pricedatetime >= current_timestamp - interval ? and symbolid = ? order by pricedatetime desc limit ?) a order by _pricedatetime asc;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration May 17 23 194 1s155ms 5ms [ User: postgres - Total duration: 1s155ms - Times executed: 194 ]
[ Application: [unknown] - Total duration: 1s155ms - Times executed: 194 ]
-
select open as _open, high as _high, low as _low, close as _close, volume as _volume, pricedatetime as _pricedatetime FROM ( select open, high, low, close, volume, pricedatetime FROM T15 WHERE pricedatetime >= current_timestamp - interval '180 days' and symbolid = 515840221186843300 union all select open, high, low, close, volume, pricedatetime FROM T15_ps WHERE pricedatetime >= current_timestamp - interval '180 days' and symbolid = 515840221186843300 order by pricedatetime desc limit 672) a order by _pricedatetime asc;
Date: 2025-05-17 23:26:20 Duration: 16ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
-
select open as _open, high as _high, low as _low, close as _close, volume as _volume, pricedatetime as _pricedatetime FROM ( select open, high, low, close, volume, pricedatetime FROM T15 WHERE pricedatetime >= current_timestamp - interval '180 days' and symbolid = 515840249510241300 union all select open, high, low, close, volume, pricedatetime FROM T15_ps WHERE pricedatetime >= current_timestamp - interval '180 days' and symbolid = 515840249510241300 order by pricedatetime desc limit 672) a order by _pricedatetime asc;
Date: 2025-05-17 23:26:20 Duration: 14ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
-
select open as _open, high as _high, low as _low, close as _close, volume as _volume, pricedatetime as _pricedatetime FROM ( select open, high, low, close, volume, pricedatetime FROM T15 WHERE pricedatetime >= current_timestamp - interval '180 days' and symbolid = 515840249493325300 union all select open, high, low, close, volume, pricedatetime FROM T15_ps WHERE pricedatetime >= current_timestamp - interval '180 days' and symbolid = 515840249493325300 order by pricedatetime desc limit 672) a order by _pricedatetime asc;
Date: 2025-05-17 23:26:21 Duration: 13ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
14 2ms 6ms 3ms 694 2s111ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration May 17 23 694 2s111ms 3ms [ User: postgres - Total duration: 2s111ms - Times executed: 694 ]
[ Application: [unknown] - Total duration: 2s111ms - Times executed: 694 ]
-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 13:15:00'::timestamp without time zone, 0.64105, 0.6412, 0.6404, 0.64055, 983, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 13:30:00'::timestamp without time zone, 0.6406, 0.6406, 0.6403, 0.6404, 1012, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 13:45:00'::timestamp without time zone, 0.6404, 0.6409, 0.6403, 0.6407, 824, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 14:00:00'::timestamp without time zone, 0.6407, 0.6409, 0.6406, 0.64075, 836, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 14:15:00'::timestamp without time zone, 0.64075, 0.64085, 0.6398, 0.64005, 2221, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 14:30:00'::timestamp without time zone, 0.64005, 0.64025, 0.6399, 0.64005, 1206, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 14:45:00'::timestamp without time zone, 0.64, 0.6402, 0.6399, 0.63995, 1297, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 15:00:00'::timestamp without time zone, 0.63995, 0.64005, 0.63985, 0.63995, 985, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 15:15:00'::timestamp without time zone, 0.64005, 0.64055, 0.63985, 0.6402, 2241, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 15:30:00'::timestamp without time zone, 0.64025, 0.6407, 0.64025, 0.64045, 1226, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 15:45:00'::timestamp without time zone, 0.64045, 0.6406, 0.6403, 0.6404, 1033, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 16:00:00'::timestamp without time zone, 0.6404, 0.6404, 0.6402, 0.6403, 266, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 16:15:00'::timestamp without time zone, 0.6403, 0.6405, 0.64025, 0.64035, 71, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 16:30:00'::timestamp without time zone, 0.6404, 0.6405, 0.64035, 0.6405, 124, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 16:45:00'::timestamp without time zone, 0.6404, 0.6405, 0.64025, 0.64035, 185, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 18:00:00'::timestamp without time zone, 0.6404, 0.64065, 0.6402, 0.64025, 180, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 18:15:00'::timestamp without time zone, 0.6403, 0.6403, 0.63995, 0.6402, 466, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 18:30:00'::timestamp without time zone, 0.6402, 0.64045, 0.6401, 0.64025, 230, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 18:45:00'::timestamp without time zone, 0.64025, 0.6405, 0.64025, 0.64035, 195, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 19:00:00'::timestamp without time zone, 0.6403, 0.6403, 0.63975, 0.63985, 472, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 19:15:00'::timestamp without time zone, 0.6399, 0.63995, 0.6396, 0.63965, 168, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 19:30:00'::timestamp without time zone, 0.63965, 0.64005, 0.63955, 0.64, 539, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 19:45:00'::timestamp without time zone, 0.64, 0.64005, 0.63945, 0.63965, 415, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 20:00:00'::timestamp without time zone, 0.63965, 0.6401, 0.63945, 0.6395, 839, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 20:15:00'::timestamp without time zone, 0.63945, 0.63975, 0.63905, 0.6393, 947, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 20:30:00'::timestamp without time zone, 0.63925, 0.6394, 0.63915, 0.6392, 371, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 20:45:00'::timestamp without time zone, 0.6392, 0.6394, 0.6391, 0.63935, 624, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 21:00:00'::timestamp without time zone, 0.6393, 0.63965, 0.6391, 0.63955, 720, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 21:15:00'::timestamp without time zone, 0.6396, 0.6397, 0.63915, 0.63945, 564, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 21:30:00'::timestamp without time zone, 0.63945, 0.63985, 0.63845, 0.6388, 984, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 21:45:00'::timestamp without time zone, 0.6388, 0.63905, 0.63875, 0.63905, 483, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 22:00:00'::timestamp without time zone, 0.63905, 0.63905, 0.63735, 0.63785, 2064, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 22:15:00'::timestamp without time zone, 0.6379, 0.6388, 0.6379, 0.6388, 929, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 22:30:00'::timestamp without time zone, 0.63885, 0.63975, 0.6388, 0.63965, 2449, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 22:45:00'::timestamp without time zone, 0.6396, 0.64, 0.6394, 0.6399, 827, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 23:00:00'::timestamp without time zone, 0.63995, 0.64065, 0.63995, 0.6403, 1660, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 23:15:00'::timestamp without time zone, 0.6403, 0.6404, 0.6399, 0.63995, 465, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 23:30:00'::timestamp without time zone, 0.6399, 0.6408, 0.6399, 0.64035, 1125, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-08 23:45:00'::timestamp without time zone, 0.64035, 0.6409, 0.64035, 0.64085, 301, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 00:00:00'::timestamp without time zone, 0.6409, 0.64115, 0.6408, 0.6408, 648, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 00:15:00'::timestamp without time zone, 0.64085, 0.64115, 0.64045, 0.64115, 544, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 00:30:00'::timestamp without time zone, 0.6411, 0.6411, 0.64085, 0.641, 128, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 00:45:00'::timestamp without time zone, 0.64105, 0.64135, 0.64095, 0.6413, 244, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 01:00:00'::timestamp without time zone, 0.6412, 0.6412, 0.6405, 0.64065, 592, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 01:15:00'::timestamp without time zone, 0.64065, 0.64065, 0.6403, 0.6405, 472, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 01:30:00'::timestamp without time zone, 0.6405, 0.64105, 0.6405, 0.64095, 361, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 01:45:00'::timestamp without time zone, 0.64095, 0.64105, 0.6405, 0.64085, 740, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 02:00:00'::timestamp without time zone, 0.6408, 0.641, 0.64065, 0.64075, 725, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 02:15:00'::timestamp without time zone, 0.64085, 0.641, 0.6402, 0.64025, 630, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 02:30:00'::timestamp without time zone, 0.6403, 0.64075, 0.6403, 0.6407, 625, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 02:45:00'::timestamp without time zone, 0.64065, 0.64065, 0.64025, 0.64025, 408, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING;
Date: 2025-05-17 23:26:21 Duration: 6ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 08:15:00'::timestamp without time zone, 105.868, 105.893, 105.81, 105.872, 2480, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 08:30:00'::timestamp without time zone, 105.851, 105.949, 105.679, 105.722, 4207, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 08:45:00'::timestamp without time zone, 105.733, 105.926, 105.72, 105.864, 3452, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 09:00:00'::timestamp without time zone, 105.863, 105.865, 105.57, 105.609, 3658, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 09:15:00'::timestamp without time zone, 105.606, 105.685, 105.56, 105.583, 3434, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 09:30:00'::timestamp without time zone, 105.592, 105.638, 105.458, 105.539, 4335, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 09:45:00'::timestamp without time zone, 105.527, 105.599, 105.48, 105.546, 3667, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 10:00:00'::timestamp without time zone, 105.534, 105.747, 105.51, 105.745, 3556, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 10:15:00'::timestamp without time zone, 105.744, 105.755, 105.62, 105.669, 3567, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 10:30:00'::timestamp without time zone, 105.658, 105.805, 105.6, 105.674, 3795, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 10:45:00'::timestamp without time zone, 105.666, 105.8, 105.65, 105.757, 3863, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 11:00:00'::timestamp without time zone, 105.758, 105.804, 105.66, 105.791, 3443, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 11:15:00'::timestamp without time zone, 105.783, 105.845, 105.71, 105.8, 3037, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 11:30:00'::timestamp without time zone, 105.807, 105.876, 105.73, 105.859, 2781, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 11:45:00'::timestamp without time zone, 105.856, 105.871, 105.76, 105.841, 2947, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 12:00:00'::timestamp without time zone, 105.837, 105.847, 105.67, 105.752, 2734, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 12:15:00'::timestamp without time zone, 105.743, 105.825, 105.68, 105.811, 2216, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 12:30:00'::timestamp without time zone, 105.809, 105.819, 105.64, 105.705, 2522, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 12:45:00'::timestamp without time zone, 105.713, 105.783, 105.67, 105.77, 2165, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 13:00:00'::timestamp without time zone, 105.763, 105.83, 105.74, 105.804, 2069, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 13:15:00'::timestamp without time zone, 105.797, 105.91, 105.79, 105.895, 1657, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 13:30:00'::timestamp without time zone, 105.894, 105.9, 105.81, 105.845, 1737, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 13:45:00'::timestamp without time zone, 105.836, 105.872, 105.78, 105.834, 1926, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 14:00:00'::timestamp without time zone, 105.831, 105.835, 105.74, 105.795, 1914, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 14:15:00'::timestamp without time zone, 105.788, 105.835, 105.76, 105.824, 1632, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 14:30:00'::timestamp without time zone, 105.825, 105.834, 105.74, 105.779, 1676, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 14:45:00'::timestamp without time zone, 105.78, 105.829, 105.74, 105.807, 1975, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 15:00:00'::timestamp without time zone, 105.807, 105.834, 105.75, 105.834, 1895, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 15:15:00'::timestamp without time zone, 105.826, 105.867, 105.8, 105.841, 1411, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 15:30:00'::timestamp without time zone, 105.84, 105.871, 105.81, 105.837, 1368, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 15:45:00'::timestamp without time zone, 105.831, 105.847, 105.74, 105.807, 2051, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 16:00:00'::timestamp without time zone, 105.805, 105.828, 105.74, 105.758, 1366, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 16:15:00'::timestamp without time zone, 105.764, 105.823, 105.73, 105.786, 1072, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 16:30:00'::timestamp without time zone, 105.781, 105.825, 105.758, 105.775, 902, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 16:45:00'::timestamp without time zone, 105.772, 105.82, 105.73, 105.805, 726, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 17:00:00'::timestamp without time zone, 105.8, 105.836, 105.655, 105.749, 215, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 17:15:00'::timestamp without time zone, 105.744, 105.82, 105.639, 105.739, 323, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 17:30:00'::timestamp without time zone, 105.741, 105.835, 105.668, 105.747, 452, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 17:45:00'::timestamp without time zone, 105.77, 105.82, 105.708, 105.737, 405, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 18:00:00'::timestamp without time zone, 105.744, 105.83, 105.684, 105.739, 538, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 18:15:00'::timestamp without time zone, 105.736, 105.784, 105.71, 105.776, 568, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 18:30:00'::timestamp without time zone, 105.78, 105.804, 105.7426275, 105.773, 528, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 18:45:00'::timestamp without time zone, 105.773, 105.811, 105.74, 105.781, 558, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 19:00:00'::timestamp without time zone, 105.779, 105.846, 105.76, 105.82, 646, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 19:15:00'::timestamp without time zone, 105.819, 105.853, 105.77, 105.825, 687, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 19:30:00'::timestamp without time zone, 105.825, 105.849, 105.8, 105.81, 670, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 19:45:00'::timestamp without time zone, 105.827, 105.887, 105.81, 105.868, 742, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 20:00:00'::timestamp without time zone, 105.87, 105.942, 105.83, 105.93, 1210, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 20:15:00'::timestamp without time zone, 105.927, 105.942, 105.807, 105.831, 976, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 20:30:00'::timestamp without time zone, 105.831, 105.847, 105.77, 105.8, 921, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249493497300, '2025-05-13 20:45:00'::timestamp without time zone, 105.801, 105.859, 105.69, 105.764, 1291, 0, '2025-05-17 23:26:25'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING;
Date: 2025-05-17 23:26:25 Duration: 4ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 15:45:00'::timestamp without time zone, 0.6412, 0.64145, 0.64105, 0.64145, 555, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 16:00:00'::timestamp without time zone, 0.6414, 0.6415, 0.6413, 0.6413, 285, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 16:15:00'::timestamp without time zone, 0.6413, 0.64155, 0.6413, 0.6414, 413, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 16:30:00'::timestamp without time zone, 0.6414, 0.6414, 0.64135, 0.6414, 140, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-09 16:45:00'::timestamp without time zone, 0.6413, 0.64145, 0.6411, 0.64135, 282, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 18:00:00'::timestamp without time zone, 0.6425, 0.64355, 0.64205, 0.64335, 1340, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 18:15:00'::timestamp without time zone, 0.64335, 0.64335, 0.64235, 0.64255, 425, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 18:30:00'::timestamp without time zone, 0.6426, 0.6427, 0.6422, 0.64225, 519, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 18:45:00'::timestamp without time zone, 0.64215, 0.6424, 0.64205, 0.6422, 230, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 19:00:00'::timestamp without time zone, 0.64225, 0.64255, 0.64205, 0.64245, 286, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 19:15:00'::timestamp without time zone, 0.6425, 0.64275, 0.6423, 0.6427, 361, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 19:30:00'::timestamp without time zone, 0.64265, 0.64315, 0.64245, 0.64295, 872, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 19:45:00'::timestamp without time zone, 0.643, 0.643, 0.64215, 0.64225, 953, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 20:00:00'::timestamp without time zone, 0.64225, 0.6427, 0.6422, 0.64245, 752, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 20:15:00'::timestamp without time zone, 0.64245, 0.6425, 0.64145, 0.64175, 697, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 20:30:00'::timestamp without time zone, 0.64175, 0.64235, 0.6417, 0.64235, 543, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 20:45:00'::timestamp without time zone, 0.64235, 0.6427, 0.64215, 0.6425, 742, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 21:00:00'::timestamp without time zone, 0.64245, 0.6436, 0.64245, 0.64285, 955, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 21:15:00'::timestamp without time zone, 0.64285, 0.64315, 0.6425, 0.6427, 605, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 21:30:00'::timestamp without time zone, 0.6429, 0.64325, 0.6423, 0.64285, 568, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 21:45:00'::timestamp without time zone, 0.6429, 0.6429, 0.64225, 0.6426, 425, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 22:00:00'::timestamp without time zone, 0.64255, 0.643, 0.6423, 0.64285, 493, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 22:15:00'::timestamp without time zone, 0.64285, 0.643, 0.64265, 0.64275, 196, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 22:30:00'::timestamp without time zone, 0.64275, 0.64275, 0.6418, 0.64205, 706, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 22:45:00'::timestamp without time zone, 0.64205, 0.6427, 0.6419, 0.64265, 598, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 23:00:00'::timestamp without time zone, 0.64265, 0.6432, 0.6425, 0.64295, 590, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 23:15:00'::timestamp without time zone, 0.6429, 0.6429, 0.64255, 0.64285, 382, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 23:30:00'::timestamp without time zone, 0.6429, 0.643, 0.64255, 0.643, 243, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-11 23:45:00'::timestamp without time zone, 0.643, 0.6435, 0.64275, 0.64335, 368, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 00:00:00'::timestamp without time zone, 0.64335, 0.6438, 0.64335, 0.64345, 704, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 00:15:00'::timestamp without time zone, 0.6435, 0.64375, 0.64345, 0.64355, 171, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 00:30:00'::timestamp without time zone, 0.6435, 0.6435, 0.6429, 0.64315, 300, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 00:45:00'::timestamp without time zone, 0.6431, 0.64345, 0.643, 0.64335, 381, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 01:00:00'::timestamp without time zone, 0.64335, 0.64375, 0.6433, 0.64345, 500, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 01:15:00'::timestamp without time zone, 0.6434, 0.64345, 0.643, 0.6434, 401, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 01:30:00'::timestamp without time zone, 0.64345, 0.64355, 0.6431, 0.64355, 282, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 01:45:00'::timestamp without time zone, 0.6435, 0.64415, 0.6434, 0.6439, 853, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 02:00:00'::timestamp without time zone, 0.64385, 0.64425, 0.64385, 0.64415, 748, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 02:15:00'::timestamp without time zone, 0.64415, 0.64435, 0.6436, 0.6441, 1504, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 02:30:00'::timestamp without time zone, 0.64415, 0.6445, 0.64335, 0.6434, 1141, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 02:45:00'::timestamp without time zone, 0.64345, 0.6437, 0.64325, 0.64325, 717, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 03:00:00'::timestamp without time zone, 0.64325, 0.6464, 0.64325, 0.6444, 8743, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 03:15:00'::timestamp without time zone, 0.64445, 0.6446, 0.6417, 0.6418, 3893, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 03:30:00'::timestamp without time zone, 0.64185, 0.6426, 0.6399, 0.63995, 4212, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 03:45:00'::timestamp without time zone, 0.63995, 0.64085, 0.63955, 0.64075, 4587, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 04:00:00'::timestamp without time zone, 0.6408, 0.64175, 0.6399, 0.6401, 3956, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 04:15:00'::timestamp without time zone, 0.64015, 0.6409, 0.6399, 0.64075, 1741, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 04:30:00'::timestamp without time zone, 0.64075, 0.64105, 0.64005, 0.64105, 2168, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 04:45:00'::timestamp without time zone, 0.64105, 0.64175, 0.6408, 0.64125, 1594, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 05:00:00'::timestamp without time zone, 0.64125, 0.64165, 0.64055, 0.6406, 1125, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-12 05:15:00'::timestamp without time zone, 0.64065, 0.6418, 0.64055, 0.64175, 969, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING;
Date: 2025-05-17 23:26:21 Duration: 4ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
15 2ms 4ms 2ms 302 889ms insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t30 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration May 17 23 302 889ms 2ms [ User: postgres - Total duration: 889ms - Times executed: 302 ]
[ Application: [unknown] - Total duration: 889ms - Times executed: 302 ]
-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-08 13:00:00'::timestamp without time zone, 0.64105, 0.6412, 0.6404, 0.64055, 1966, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-08 13:30:00'::timestamp without time zone, 0.6406, 0.6409, 0.6403, 0.6407, 3672, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-08 14:00:00'::timestamp without time zone, 0.6407, 0.6409, 0.6398, 0.64005, 6114, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-08 14:30:00'::timestamp without time zone, 0.64005, 0.64025, 0.6399, 0.63995, 5006, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-08 15:00:00'::timestamp without time zone, 0.63995, 0.64055, 0.63985, 0.6402, 6452, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-08 15:30:00'::timestamp without time zone, 0.64025, 0.6407, 0.64025, 0.6404, 4518, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-08 16:00:00'::timestamp without time zone, 0.6404, 0.6405, 0.6402, 0.64035, 674, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-08 16:30:00'::timestamp without time zone, 0.6404, 0.6405, 0.64025, 0.64035, 618, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-08 18:00:00'::timestamp without time zone, 0.6404, 0.64065, 0.63995, 0.6402, 1292, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-08 18:30:00'::timestamp without time zone, 0.6402, 0.6405, 0.6401, 0.64035, 850, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-08 19:00:00'::timestamp without time zone, 0.6403, 0.6403, 0.6396, 0.63965, 1280, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-08 19:30:00'::timestamp without time zone, 0.63965, 0.64005, 0.63945, 0.63965, 1908, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-08 20:00:00'::timestamp without time zone, 0.63965, 0.6401, 0.63905, 0.6393, 3572, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-08 20:30:00'::timestamp without time zone, 0.63925, 0.6394, 0.6391, 0.63935, 1990, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-08 21:00:00'::timestamp without time zone, 0.6393, 0.6397, 0.6391, 0.63945, 2568, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-08 21:30:00'::timestamp without time zone, 0.63945, 0.63985, 0.63845, 0.63905, 2934, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-08 22:00:00'::timestamp without time zone, 0.63905, 0.63905, 0.63735, 0.6388, 5986, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-08 22:30:00'::timestamp without time zone, 0.63885, 0.64, 0.6388, 0.6399, 6552, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-08 23:00:00'::timestamp without time zone, 0.63995, 0.64065, 0.6399, 0.63995, 4250, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-08 23:30:00'::timestamp without time zone, 0.6399, 0.6409, 0.6399, 0.64085, 2852, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 00:00:00'::timestamp without time zone, 0.6409, 0.64115, 0.64045, 0.64115, 2384, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 00:30:00'::timestamp without time zone, 0.6411, 0.64135, 0.64085, 0.6413, 744, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 01:00:00'::timestamp without time zone, 0.6412, 0.6412, 0.6403, 0.6405, 2128, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 01:30:00'::timestamp without time zone, 0.6405, 0.64105, 0.6405, 0.64085, 2202, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 02:00:00'::timestamp without time zone, 0.6408, 0.641, 0.6402, 0.64025, 2710, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 02:30:00'::timestamp without time zone, 0.6403, 0.64075, 0.64025, 0.64025, 2066, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 03:00:00'::timestamp without time zone, 0.6402, 0.6409, 0.63995, 0.6408, 2908, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 03:30:00'::timestamp without time zone, 0.6408, 0.64175, 0.6408, 0.6413, 3390, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 04:00:00'::timestamp without time zone, 0.64135, 0.6414, 0.64025, 0.6404, 2704, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 04:30:00'::timestamp without time zone, 0.6404, 0.64115, 0.64035, 0.6411, 2242, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 05:00:00'::timestamp without time zone, 0.64105, 0.6412, 0.64025, 0.6403, 2112, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 05:30:00'::timestamp without time zone, 0.6403, 0.6408, 0.64005, 0.64025, 1838, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 06:00:00'::timestamp without time zone, 0.64025, 0.6405, 0.6397, 0.6397, 2460, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 06:30:00'::timestamp without time zone, 0.63965, 0.6403, 0.63965, 0.6402, 1916, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 07:00:00'::timestamp without time zone, 0.6402, 0.6411, 0.64015, 0.64055, 4770, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 07:30:00'::timestamp without time zone, 0.6406, 0.6409, 0.6401, 0.6408, 2938, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 08:00:00'::timestamp without time zone, 0.64085, 0.64105, 0.6405, 0.64105, 3168, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 08:30:00'::timestamp without time zone, 0.641, 0.64125, 0.64075, 0.64115, 3552, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 09:00:00'::timestamp without time zone, 0.6412, 0.64265, 0.64115, 0.64255, 10340, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 09:30:00'::timestamp without time zone, 0.64255, 0.6428, 0.6423, 0.6426, 6658, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 10:00:00'::timestamp without time zone, 0.6426, 0.64355, 0.64235, 0.64325, 11328, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 10:30:00'::timestamp without time zone, 0.64325, 0.64335, 0.6418, 0.64235, 8988, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 11:00:00'::timestamp without time zone, 0.6424, 0.6425, 0.64175, 0.6419, 4958, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 11:30:00'::timestamp without time zone, 0.64185, 0.6427, 0.6418, 0.64265, 2844, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 12:00:00'::timestamp without time zone, 0.64265, 0.64275, 0.64185, 0.64185, 3308, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 12:30:00'::timestamp without time zone, 0.64185, 0.6421, 0.6417, 0.6417, 1988, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 13:00:00'::timestamp without time zone, 0.64175, 0.64205, 0.6416, 0.6418, 2094, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 13:30:00'::timestamp without time zone, 0.64185, 0.6423, 0.64185, 0.642, 1414, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 14:00:00'::timestamp without time zone, 0.642, 0.6422, 0.6416, 0.6417, 1622, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 14:30:00'::timestamp without time zone, 0.6417, 0.6418, 0.6415, 0.64155, 3818, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 15:00:00'::timestamp without time zone, 0.64155, 0.64175, 0.6412, 0.6413, 2978, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING;
Date: 2025-05-17 23:26:21 Duration: 4ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 15:30:00'::timestamp without time zone, 0.64125, 0.64145, 0.64105, 0.64145, 2080, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 16:00:00'::timestamp without time zone, 0.6414, 0.64155, 0.6413, 0.6414, 1396, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-09 16:30:00'::timestamp without time zone, 0.6414, 0.64145, 0.6411, 0.64135, 562, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-11 18:00:00'::timestamp without time zone, 0.6425, 0.64355, 0.64205, 0.64255, 1765, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-11 18:30:00'::timestamp without time zone, 0.6426, 0.6427, 0.64205, 0.6422, 749, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-11 19:00:00'::timestamp without time zone, 0.64225, 0.64275, 0.64205, 0.6427, 647, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-11 19:30:00'::timestamp without time zone, 0.64265, 0.64315, 0.64215, 0.64225, 1825, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-11 20:00:00'::timestamp without time zone, 0.64225, 0.6427, 0.64145, 0.64175, 1449, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-11 20:30:00'::timestamp without time zone, 0.64175, 0.6427, 0.6417, 0.6425, 1285, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-11 21:00:00'::timestamp without time zone, 0.64245, 0.6436, 0.64245, 0.6427, 1560, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-11 21:30:00'::timestamp without time zone, 0.6429, 0.64325, 0.64225, 0.6426, 993, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-11 22:00:00'::timestamp without time zone, 0.64255, 0.643, 0.6423, 0.64275, 689, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-11 22:30:00'::timestamp without time zone, 0.64275, 0.64275, 0.6418, 0.64265, 1304, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-11 23:00:00'::timestamp without time zone, 0.64265, 0.6432, 0.6425, 0.64285, 972, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-11 23:30:00'::timestamp without time zone, 0.6429, 0.6435, 0.64255, 0.64335, 611, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 00:00:00'::timestamp without time zone, 0.64335, 0.6438, 0.64335, 0.64355, 875, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 00:30:00'::timestamp without time zone, 0.6435, 0.6435, 0.6429, 0.64335, 681, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 01:00:00'::timestamp without time zone, 0.64335, 0.64375, 0.643, 0.6434, 901, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 01:30:00'::timestamp without time zone, 0.64345, 0.64415, 0.6431, 0.6439, 1135, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 02:00:00'::timestamp without time zone, 0.64385, 0.64435, 0.6436, 0.6441, 2252, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 02:30:00'::timestamp without time zone, 0.64415, 0.6445, 0.64325, 0.64325, 1858, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 03:00:00'::timestamp without time zone, 0.64325, 0.6464, 0.6417, 0.6418, 12636, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 03:30:00'::timestamp without time zone, 0.64185, 0.6426, 0.63955, 0.64075, 8799, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 04:00:00'::timestamp without time zone, 0.6408, 0.64175, 0.6399, 0.64075, 5697, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 04:30:00'::timestamp without time zone, 0.64075, 0.64175, 0.64005, 0.64125, 3762, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 05:00:00'::timestamp without time zone, 0.64125, 0.6418, 0.64055, 0.64175, 2094, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 05:30:00'::timestamp without time zone, 0.6418, 0.6418, 0.64065, 0.64105, 1660, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 06:00:00'::timestamp without time zone, 0.641, 0.641, 0.63925, 0.6393, 2880, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 06:30:00'::timestamp without time zone, 0.63935, 0.63965, 0.63855, 0.6388, 2795, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 07:00:00'::timestamp without time zone, 0.6388, 0.63975, 0.63865, 0.6395, 2132, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 07:30:00'::timestamp without time zone, 0.6395, 0.63995, 0.63875, 0.63975, 2309, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 08:00:00'::timestamp without time zone, 0.63975, 0.6398, 0.63895, 0.6393, 2543, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 08:30:00'::timestamp without time zone, 0.63935, 0.63975, 0.6389, 0.639, 2741, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 09:00:00'::timestamp without time zone, 0.63905, 0.64005, 0.6388, 0.63975, 2838, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 09:30:00'::timestamp without time zone, 0.6397, 0.64035, 0.6389, 0.63905, 3638, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 10:00:00'::timestamp without time zone, 0.63905, 0.63905, 0.6384, 0.6387, 4447, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 10:30:00'::timestamp without time zone, 0.6387, 0.6394, 0.6375, 0.63775, 8286, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 11:00:00'::timestamp without time zone, 0.63775, 0.6381, 0.6374, 0.63775, 3771, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 11:30:00'::timestamp without time zone, 0.6378, 0.63795, 0.6366, 0.637, 3530, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 12:00:00'::timestamp without time zone, 0.637, 0.6372, 0.63615, 0.6368, 2807, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 12:30:00'::timestamp without time zone, 0.6368, 0.6373, 0.6366, 0.63675, 2116, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 13:00:00'::timestamp without time zone, 0.63675, 0.63685, 0.6364, 0.63645, 1471, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 13:30:00'::timestamp without time zone, 0.6364, 0.6367, 0.63615, 0.6364, 1647, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 14:00:00'::timestamp without time zone, 0.63645, 0.63655, 0.63595, 0.6361, 1331, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 14:30:00'::timestamp without time zone, 0.6361, 0.63715, 0.63605, 0.63705, 3295, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 15:00:00'::timestamp without time zone, 0.6371, 0.63745, 0.63675, 0.63725, 1930, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 15:30:00'::timestamp without time zone, 0.6372, 0.6375, 0.6371, 0.6373, 1227, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 16:00:00'::timestamp without time zone, 0.63725, 0.63745, 0.63715, 0.6374, 596, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 16:30:00'::timestamp without time zone, 0.63735, 0.6379, 0.63735, 0.6375, 1186, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 18:00:00'::timestamp without time zone, 0.63735, 0.6376, 0.63725, 0.6374, 564, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2025-05-12 18:30:00'::timestamp without time zone, 0.6374, 0.63765, 0.63715, 0.6375, 1093, 0, '2025-05-17 23:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING;
Date: 2025-05-17 23:26:21 Duration: 3ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-12 19:30:00'::timestamp without time zone, 1.08783, 1.087934443, 1.086, 1.08705, 1557, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-12 20:00:00'::timestamp without time zone, 1.08711, 1.087614721, 1.086, 1.08718, 2135, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-12 20:30:00'::timestamp without time zone, 1.08716, 1.088048008, 1.086, 1.087006362, 2345, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-12 21:00:00'::timestamp without time zone, 1.08727, 1.08793, 1.0863, 1.08763, 4166, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-12 21:30:00'::timestamp without time zone, 1.08765, 1.08876, 1.0865, 1.088, 4706, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-12 22:00:00'::timestamp without time zone, 1.08814, 1.08816, 1.0866, 1.08756, 3583, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-12 22:30:00'::timestamp without time zone, 1.08743, 1.087865255, 1.0862, 1.08713, 3489, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-12 23:00:00'::timestamp without time zone, 1.0872, 1.0882402, 1.0863, 1.08764, 3091, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-12 23:30:00'::timestamp without time zone, 1.08777, 1.088358294, 1.0865, 1.088197435, 3379, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 00:00:00'::timestamp without time zone, 1.08821, 1.089080474, 1.087, 1.088892448, 2808, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 00:30:00'::timestamp without time zone, 1.08889, 1.089329905, 1.0877, 1.08873, 2792, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 01:00:00'::timestamp without time zone, 1.08875, 1.08912, 1.0873, 1.088332617, 2874, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 01:30:00'::timestamp without time zone, 1.08848, 1.088773982, 1.0871, 1.08836, 3257, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 02:00:00'::timestamp without time zone, 1.08837, 1.08851, 1.087, 1.08799, 4055, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 02:30:00'::timestamp without time zone, 1.087891141, 1.088455709, 1.0867, 1.0878, 4368, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 03:00:00'::timestamp without time zone, 1.08792, 1.088434638, 1.0867, 1.087897991, 5047, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 03:30:00'::timestamp without time zone, 1.088, 1.08843, 1.0867, 1.08777, 4652, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 04:00:00'::timestamp without time zone, 1.08778, 1.088369798, 1.0865, 1.08774, 4377, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 04:30:00'::timestamp without time zone, 1.0877, 1.087930626, 1.0864, 1.08747, 3638, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 05:00:00'::timestamp without time zone, 1.08719, 1.0877844, 1.0863, 1.08741, 3626, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 05:30:00'::timestamp without time zone, 1.08759, 1.087990309, 1.0863, 1.08764605, 3513, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 06:00:00'::timestamp without time zone, 1.087663013, 1.08854, 1.0867, 1.087753903, 3565, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 06:30:00'::timestamp without time zone, 1.087772776, 1.088007221, 1.0865, 1.08781, 3422, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 07:00:00'::timestamp without time zone, 1.08777, 1.087956738, 1.0865, 1.087598783, 3200, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 07:30:00'::timestamp without time zone, 1.08772, 1.087872763, 1.0865, 1.087535496, 3123, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 08:00:00'::timestamp without time zone, 1.08753, 1.088015078, 1.0859, 1.08717, 3665, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 08:30:00'::timestamp without time zone, 1.086776155, 1.088505611, 1.08609, 1.087436634, 6344, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 09:00:00'::timestamp without time zone, 1.08739, 1.087614517, 1.0862, 1.087341099, 5504, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 09:30:00'::timestamp without time zone, 1.08743, 1.087911876, 1.0862, 1.08774, 6022, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 10:00:00'::timestamp without time zone, 1.087582061, 1.088133652, 1.0865, 1.08778, 5480, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 10:30:00'::timestamp without time zone, 1.087817422, 1.08947, 1.0869, 1.08928, 6039, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 11:00:00'::timestamp without time zone, 1.08915, 1.089652722, 1.088, 1.089174291, 5408, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 11:30:00'::timestamp without time zone, 1.08917, 1.090369867, 1.0882, 1.09009, 4452, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 12:00:00'::timestamp without time zone, 1.09011, 1.09056, 1.089, 1.09026, 3669, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 12:30:00'::timestamp without time zone, 1.09028, 1.090564721, 1.0891, 1.09038, 3362, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 13:00:00'::timestamp without time zone, 1.090365307, 1.09053, 1.0892, 1.090078476, 2658, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 13:30:00'::timestamp without time zone, 1.09026, 1.090541722, 1.0891, 1.090089554, 2822, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 14:00:00'::timestamp without time zone, 1.09007, 1.090538806, 1.0892, 1.09012, 2476, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 14:30:00'::timestamp without time zone, 1.09029, 1.090538697, 1.0888, 1.090175208, 2470, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 15:00:00'::timestamp without time zone, 1.09018, 1.090428554, 1.089, 1.0902, 2305, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 15:30:00'::timestamp without time zone, 1.09017, 1.09059063, 1.0892, 1.09009983, 2304, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 16:00:00'::timestamp without time zone, 1.09028, 1.090396371, 1.0886, 1.089541404, 1977, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 16:30:00'::timestamp without time zone, 1.08955, 1.089839392, 1.0884, 1.089549298, 1751, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 17:00:00'::timestamp without time zone, 1.0888, 1.089873283, 1.08438, 1.089716343, 774, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 17:30:00'::timestamp without time zone, 1.0889, 1.089974916, 1.08785, 1.089464462, 1160, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 18:00:00'::timestamp without time zone, 1.089470024, 1.090027204, 1.08835, 1.089534956, 1449, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 18:30:00'::timestamp without time zone, 1.08966, 1.090389812, 1.0886, 1.09003, 1416, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 19:00:00'::timestamp without time zone, 1.0901, 1.090253924, 1.0888, 1.089950212, 1403, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 19:30:00'::timestamp without time zone, 1.08994, 1.090474108, 1.0889, 1.090188895, 1579, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 20:00:00'::timestamp without time zone, 1.09014, 1.090460622, 1.0885, 1.08933, 2111, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249497290300, '2025-05-13 20:30:00'::timestamp without time zone, 1.08929, 1.089433801, 1.0877, 1.08876, 2019, 0, '2025-05-17 23:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING;
Date: 2025-05-17 23:26:22 Duration: 3ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
16 1ms 4ms 1ms 332 632ms update datafeeds_latestrun set latestrxtime = subquery.latestrxtime, latestdbwritetime = subquery.latestdbwritetime from ( select latestrxtime, latestdbwritetime from latest_t15_candle_view where classname ilike ?) as subquery where datafeeds_latestrun.feedname ilike ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration May 17 23 332 632ms 1ms [ User: postgres - Total duration: 632ms - Times executed: 332 ]
[ Application: [unknown] - Total duration: 612ms - Times executed: 324 ]
[ Application: psql - Total duration: 19ms - Times executed: 8 ]
-
UPDATE datafeeds_latestrun SET latestrxtime = subquery.latestrxtime, latestdbwritetime = subquery.latestdbwritetime FROM ( select latestrxtime, latestdbwritetime from latest_t15_candle_view where classname ilike 'AKFX') AS subquery WHERE datafeeds_latestrun.feedname ilike 'AKFX';
Date: 2025-05-17 23:33:01 Duration: 4ms Database: acaweb_fx User: postgres Remote: [local] Application: psql
-
UPDATE datafeeds_latestrun SET latestrxtime = subquery.latestrxtime, latestdbwritetime = subquery.latestdbwritetime FROM ( select latestrxtime, latestdbwritetime from latest_t15_candle_view where classname ilike 'ICMARKETS-AU-MT5') AS subquery WHERE datafeeds_latestrun.feedname ilike 'ICMARKETS-AU-MT5';
Date: 2025-05-17 23:53:48 Duration: 3ms Database: acaweb_fx User: postgres Remote: 192.168.4.98 Application: [unknown]
-
UPDATE datafeeds_latestrun SET latestrxtime = subquery.latestrxtime, latestdbwritetime = subquery.latestdbwritetime FROM ( select latestrxtime, latestdbwritetime from latest_t15_candle_view where classname ilike 'MILLENNIUMPF') AS subquery WHERE datafeeds_latestrun.feedname ilike 'MILLENNIUMPF';
Date: 2025-05-17 23:13:48 Duration: 3ms Database: acaweb_fx User: postgres Remote: 192.168.4.98 Application: [unknown]
17 1ms 5ms 1ms 9,036 14s853ms select s.symbolid as id, s.symbol as name, s.exchange as exchange, s.timegranularity as interval, dtt.timezone as timezone from symbols s inner join downloadersymbolsettings dss on dss.symbolid = s.symbolid inner join datafeedstimetable dtt on dss.classname = dtt.classname and dtt.dayofweek = ? inner join brokersymbollist bsl on bsl.symbolid = s.symbolid where bsl.brokerid = ? and (? = ? or s.timegranularity = ?) and (s.symbol = ? or dss.downloadersymbol = ?) and dss.enabled = ?;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration May 17 23 9,036 14s853ms 1ms [ User: postgres - Total duration: 14s853ms - Times executed: 9036 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 14s853ms - Times executed: 9036 ]
-
SELECT s.symbolid AS id, s.symbol AS name, s.exchange AS exchange, s.timegranularity AS interval, dtt.timezone AS timezone FROM symbols s INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN brokersymbollist bsl ON bsl.symbolid = s.symbolid WHERE bsl.brokerid = '529' AND ('0' = 0 OR s.timegranularity = '0') AND (s.symbol = 'US30' OR dss.downloadersymbol = 'US30') AND dss.enabled = 1;
Date: 2025-05-17 23:15:04 Duration: 5ms Database: acaweb_fx User: postgres Remote: 192.168.1.20 Application: PostgreSQL JDBC Driver Bind query: yes
-
SELECT s.symbolid AS id, s.symbol AS name, s.exchange AS exchange, s.timegranularity AS interval, dtt.timezone AS timezone FROM symbols s INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN brokersymbollist bsl ON bsl.symbolid = s.symbolid WHERE bsl.brokerid = '529' AND ('0' = 0 OR s.timegranularity = '0') AND (s.symbol = 'US2000' OR dss.downloadersymbol = 'US2000') AND dss.enabled = 1;
Date: 2025-05-17 23:15:04 Duration: 5ms Database: acaweb_fx User: postgres Remote: 192.168.1.20 Application: PostgreSQL JDBC Driver Bind query: yes
-
SELECT s.symbolid AS id, s.symbol AS name, s.exchange AS exchange, s.timegranularity AS interval, dtt.timezone AS timezone FROM symbols s INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN brokersymbollist bsl ON bsl.symbolid = s.symbolid WHERE bsl.brokerid = '529' AND ('0' = 0 OR s.timegranularity = '0') AND (s.symbol = 'SWI20' OR dss.downloadersymbol = 'SWI20') AND dss.enabled = 1;
Date: 2025-05-17 23:15:04 Duration: 5ms Database: acaweb_fx User: postgres Remote: 192.168.1.20 Application: PostgreSQL JDBC Driver Bind query: yes
18 0ms 4ms 1ms 553 846ms select s.symbolid, dss.downloadfrequency, dss.downloadersymbol from downloadersymbolsettings dss inner join symbols s on dss.symbolid = s.symbolid where dss.classname = ? and s.deleted = ? and dss.enabled = ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration May 17 23 553 846ms 1ms [ User: postgres - Total duration: 846ms - Times executed: 553 ]
[ Application: [unknown] - Total duration: 846ms - Times executed: 553 ]
-
SELECT s.symbolid, dss.downloadfrequency, dss.downloadersymbol FROM downloadersymbolsettings dss INNER JOIN symbols s ON dss.symbolid = s.symbolid WHERE dss.classname = 'ICMARKETS-AU-MT5' AND s.deleted = 0 AND dss.enabled = 1;
Date: 2025-05-17 23:31:58 Duration: 4ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
-
SELECT s.symbolid, dss.downloadfrequency, dss.downloadersymbol FROM downloadersymbolsettings dss INNER JOIN symbols s ON dss.symbolid = s.symbolid WHERE dss.classname = 'ICMARKETS-AU-MT5' AND s.deleted = 0 AND dss.enabled = 1;
Date: 2025-05-17 23:17:09 Duration: 4ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
-
SELECT s.symbolid, dss.downloadfrequency, dss.downloadersymbol FROM downloadersymbolsettings dss INNER JOIN symbols s ON dss.symbolid = s.symbolid WHERE dss.classname = 'ICMARKETS-AU-MT5' AND s.deleted = 0 AND dss.enabled = 1;
Date: 2025-05-17 23:31:32 Duration: 4ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
19 0ms 11ms 1ms 525 629ms insert into autochartist_results (resultid, symbolid, bandwidth, pattern, qtytp, gmttimefound, direction, initialtrend, breakout, volumeincrease, noise, symmetry, predictionpricefrom, predictionpriceto, predictiontimefrom, predictiontimeto, patternstarttime, patternendtime, patternstartprice, patternendprice, resx0, resx1, supportx0, supportx1, resy0, resy1, supporty0, supporty1, supportgradient, resgradient, riskreward, patternquality, trendchange, maxmovementafterbreakout, latestbaratbreakouttime, latestbaratbreakoutprice, patternlengthbars, temporarypattern, relevancestartdistance, simulation, writtendatetime) values (?, ?, ?.?, ?, ?, ?::timestamp without time zone, ?, ?.?, ?.?, ?.?, ?.?, ?.?, ?.?, ?.?, ?::timestamp without time zone, ?::timestamp without time zone, ?::timestamp without time zone, ?::timestamp without time zone, ?.?, ?.?, ?::timestamp without time zone, ?::timestamp without time zone, ?::timestamp without time zone, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?.?, ?.?, ?.?, ?.?, ?, ?.?, ?::timestamp without time zone, ?.?, ?, ?, ?.?, ?, current_timestamp::timestamp without time zone) on conflict do nothing;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration May 17 23 525 629ms 1ms [ User: postgres - Total duration: 629ms - Times executed: 525 ]
[ Application: [unknown] - Total duration: 629ms - Times executed: 525 ]
-
INSERT INTO Autochartist_Results (ResultID, SymbolID, Bandwidth, Pattern, QtyTP, GMTTimeFound, Direction, InitialTrend, Breakout, VolumeIncrease, Noise, Symmetry, PredictionPriceFrom, PredictionPriceTo, PredictionTimeFrom, PredictionTimeTo, PatternStartTime, PatternEndTime, PatternStartPrice, PatternEndPrice, Resx0, Resx1, Supportx0, Supportx1, Resy0, Resy1, Supporty0, Supporty1, SupportGradient, ResGradient, RiskReward, PatternQuality, TrendChange, MaxMovementAfterBreakout, LatestBarAtBreakoutTime, LatestBarAtBreakoutPrice, PatternLengthBars, TemporaryPattern, relevancestartdistance, simulation, writtendatetime) VALUES ('5158402482669003000.9235|45794.7708|45794.8854|45794.8229|45794.9688|19935|19915.1|19676.9|19761.7', 515840248266900300, 2.000000000000000000000000000000, 'Triangle', 4, '2025-05-17 21:11:37'::timestamp without time zone, 1, 0.284614615139707372000000000000, 0.923491960720874804900000000000, 0.378902083481476137400000000000, 0.172223610295043377800000000000, 0.758500129798715505600000000000, 20024.253784614185860000000000000000, 20150.469083074051010000000000000000, '2025-05-18 00:00:00'::timestamp without time zone, '2025-05-18 02:45:00'::timestamp without time zone, '2025-05-17 16:45:00'::timestamp without time zone, '2025-05-18 00:00:00'::timestamp without time zone, 19723.799999999999270000000000000000, 19895.199999999997090000000000000000, '2025-05-17 18:30:00'::timestamp without time zone, '2025-05-17 21:15:00'::timestamp without time zone, '2025-05-17 19:45:00'::timestamp without time zone, '2025-05-17 23:15:00'::timestamp without time zone, 19935.000000000000000000000000000000, 19915.099999999998540000000000000000, 19676.900000000001460000000000000000, 19761.700000000000730000000000000000, 6.057142857142805426000000000000, - 1.809090909091041421000000000000, 3.317803511728730559000000000000, 0.698595773841063527600000000000, 'Continuation', 38.900000000001455190000000000000, '2025-05-18 00:00:00'::timestamp without time zone, 19934.099999999998540000000000000000, 22, 0, 108.283333333332237200000000000000, 0, CURRENT_TIMESTAMP::timestamp without time zone) ON CONFLICT DO NOTHING;
Date: 2025-05-17 23:15:48 Duration: 11ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
-
INSERT INTO Autochartist_Results (ResultID, SymbolID, Bandwidth, Pattern, QtyTP, GMTTimeFound, Direction, InitialTrend, Breakout, VolumeIncrease, Noise, Symmetry, PredictionPriceFrom, PredictionPriceTo, PredictionTimeFrom, PredictionTimeTo, PatternStartTime, PatternEndTime, PatternStartPrice, PatternEndPrice, Resx0, Resx1, Supportx0, Supportx1, Resy0, Resy1, Supporty0, Supporty1, SupportGradient, ResGradient, RiskReward, PatternQuality, TrendChange, MaxMovementAfterBreakout, LatestBarAtBreakoutTime, LatestBarAtBreakoutPrice, PatternLengthBars, TemporaryPattern, relevancestartdistance, simulation, writtendatetime) VALUES ('5158402494048593000.5784|45793.7917|45794.4167|45794.1667|45794.7917|40.9094|40.1701|39.0885|38.9534', 515840249404859300, 2.000000000000000000000000000000, 'Falling Wedge', 4, '2025-05-17 20:56:51'::timestamp without time zone, 1, 0.284283880275087108600000000000, 0.578376966086627031200000000000, 0.502261012835556575000000000000, 0.178883652126854753000000000000, 0.842187902039292613000000000000, 40.209591230475702160000000000000, 41.014508953141685760000000000000, '2025-05-17 23:00:00'::timestamp without time zone, '2025-05-18 13:00:00'::timestamp without time zone, '2025-05-16 11:00:00'::timestamp without time zone, '2025-05-17 23:00:00'::timestamp without time zone, 40.133650000000002930000000000000, 39.529236666666669460000000000000, '2025-05-16 19:00:00'::timestamp without time zone, '2025-05-17 10:00:00'::timestamp without time zone, '2025-05-17 04:00:00'::timestamp without time zone, '2025-05-17 19:00:00'::timestamp without time zone, 40.909449999999999650000000000000, 40.170050000000003360000000000000, 39.088549999999997910000000000000, 38.953449999999996580000000000000, - 0.009006666666666754764000000000, - 0.049293333333333085040000000000, 2.713639948341379338000000000000, 0.631491274068538000000000000000, 'Continuation', 0.105413333333331138400000000000, '2025-05-17 23:00:00'::timestamp without time zone, 39.634650000000000600000000000000, 28, 0, 0.686500000000002330600000000000, 0, CURRENT_TIMESTAMP::timestamp without time zone) ON CONFLICT DO NOTHING;
Date: 2025-05-17 23:01:01 Duration: 10ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
-
INSERT INTO Autochartist_Results (ResultID, SymbolID, Bandwidth, Pattern, QtyTP, GMTTimeFound, Direction, InitialTrend, Breakout, VolumeIncrease, Noise, Symmetry, PredictionPriceFrom, PredictionPriceTo, PredictionTimeFrom, PredictionTimeTo, PatternStartTime, PatternEndTime, PatternStartPrice, PatternEndPrice, Resx0, Resx1, Supportx0, Supportx1, Resy0, Resy1, Supporty0, Supporty1, SupportGradient, ResGradient, RiskReward, PatternQuality, TrendChange, MaxMovementAfterBreakout, LatestBarAtBreakoutTime, LatestBarAtBreakoutPrice, PatternLengthBars, TemporaryPattern, relevancestartdistance, simulation, writtendatetime) VALUES ('5158402494047043000.9268|45793.7917|45794.4375|45794.1875|45794.8125|40.9094|40.1482|39.0885|38.9534', 515840249404704300, 4.000000000000000000000000000000, 'Falling Wedge', 4, '2025-05-17 20:56:51'::timestamp without time zone, 1, 0.281156874344962948200000000000, 0.926767348904201981900000000000, 0.605636772806025569500000000000, 0.426082082746737700300000000000, 0.850220178644222834800000000000, 40.233740284616764880000000000000, 41.072466683080243400000000000000, '2025-05-17 23:30:00'::timestamp without time zone, '2025-05-18 13:45:00'::timestamp without time zone, '2025-05-16 11:30:00'::timestamp without time zone, '2025-05-17 23:30:00'::timestamp without time zone, 40.133650000000002930000000000000, 39.509824193548382710000000000000, '2025-05-16 19:00:00'::timestamp without time zone, '2025-05-17 10:30:00'::timestamp without time zone, '2025-05-17 04:30:00'::timestamp without time zone, '2025-05-17 19:30:00'::timestamp without time zone, 40.909449999999999650000000000000, 40.148249999999997330000000000000, 39.088549999999997910000000000000, 38.953449999999996580000000000000, - 0.004503333333333377382000000000, - 0.024554838709677492820000000000, 2.924109815810257196000000000000, 0.658015579786662474500000000000, 'Continuation', 0.124825806451617893400000000000, '2025-05-17 23:30:00'::timestamp without time zone, 39.634650000000000600000000000000, 57, 0, 0.000000000000000000000000000000, 0, CURRENT_TIMESTAMP::timestamp without time zone) ON CONFLICT DO NOTHING;
Date: 2025-05-17 23:01:02 Duration: 9ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
20 0ms 6ms 1ms 1,551 1s842ms insert into t1440_underlying (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) on conflict (pricedatetime, symbolid) do update set open = ?, high = ?, low = ?, close = ?, volume = ?, bsf = ?, sastdatetimewritten = ?, sastdatetimereceived = ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration May 17 23 1,551 1s842ms 1ms [ User: postgres - Total duration: 1s842ms - Times executed: 1551 ]
[ Application: [unknown] - Total duration: 1s842ms - Times executed: 1551 ]
-
INSERT INTO T1440_underlying (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ('2025-05-16 00:00:00', '1.330415', '1.333265', '1.325075', '1.327885', '64576', '515840249374139300', '0', '2025-05-17 23:15:49.337', '2025-05-17 23:15:49.336') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '1.330415', high = '1.333265', low = '1.325075', close = '1.327885', volume = '64576', bsf = '0', sastdatetimewritten = '2025-05-17 23:15:49.337', sastdatetimereceived = '2025-05-17 23:15:49.336';
Date: 2025-05-17 23:15:49 Duration: 6ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
-
INSERT INTO T1440_underlying (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ('2025-05-17 00:00:00', '6.146', '6.169', '5.655', '5.699', '46562', '515840248621836300', '0', '2025-05-17 23:01:01.41', '2025-05-17 23:01:01.409') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '6.146', high = '6.169', low = '5.655', close = '5.699', volume = '46562', bsf = '0', sastdatetimewritten = '2025-05-17 23:01:01.41', sastdatetimereceived = '2025-05-17 23:01:01.409';
Date: 2025-05-17 23:01:01 Duration: 5ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
-
INSERT INTO T1440_underlying (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ('2025-05-17 00:00:00', '169.48', '170.16', '163.91', '165.79', '87548', '515840249462695300', '0', '2025-05-17 23:00:59.556', '2025-05-17 23:00:59.555') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '169.48', high = '170.16', low = '163.91', close = '165.79', volume = '87548', bsf = '0', sastdatetimewritten = '2025-05-17 23:00:59.556', sastdatetimereceived = '2025-05-17 23:00:59.555';
Date: 2025-05-17 23:00:59 Duration: 4ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 883ms 2,335 0ms 0ms 0ms INSERT INTO T15 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;Times Reported Time consuming prepare #1
Day Hour Count Duration Avg duration May 17 23 2,335 883ms 0ms [ User: postgres - Total duration: 3s122ms - Times executed: 2335 ]
[ Application: [unknown] - Total duration: 3s122ms - Times executed: 2335 ]
-
INSERT INTO T15 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2025-05-17 23:00:48 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142
-
INSERT INTO T15 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2025-05-17 23:47:58 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142
-
INSERT INTO T15 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2025-05-17 23:16:09 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142
2 847ms 1,150 0ms 3ms 0ms WITH rar_max as ( ;Times Reported Time consuming prepare #2
Day Hour Count Duration Avg duration 23 1,150 847ms 0ms [ User: postgres - Total duration: 51m41s - Times executed: 1150 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 51m41s - Times executed: 1150 ]
-
WITH rar_max as ( ;
Date: 2025-05-17 23:40:52 Duration: 3ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.20
-
WITH rar_max as ( ;
Date: 2025-05-17 23:41:47 Duration: 3ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.145
-
WITH rar_max as ( ;
Date: 2025-05-17 23:50:41 Duration: 3ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.145
3 790ms 2,851 0ms 2ms 0ms SELECT ;Times Reported Time consuming prepare #3
Day Hour Count Duration Avg duration 23 2,851 790ms 0ms [ User: postgres - Total duration: 1s398ms - Times executed: 2851 ]
[ Application: [unknown] - Total duration: 862ms - Times executed: 2477 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 536ms - Times executed: 374 ]
-
SELECT ;
Date: 2025-05-17 23:11:00 Duration: 2ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.145
-
SELECT ;
Date: 2025-05-17 23:55:57 Duration: 2ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.145
-
SELECT ;
Date: 2025-05-17 23:11:53 Duration: 2ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.145
4 717ms 553 0ms 1ms 1ms SELECT s.symbolid, dss.downloadfrequency, dss.downloadersymbol;Times Reported Time consuming prepare #4
Day Hour Count Duration Avg duration 23 553 717ms 1ms [ User: postgres - Total duration: 846ms - Times executed: 553 ]
[ Application: [unknown] - Total duration: 846ms - Times executed: 553 ]
-
SELECT s.symbolid, dss.downloadfrequency, dss.downloadersymbol;
Date: 2025-05-17 23:01:17 Duration: 1ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142
-
SELECT s.symbolid, dss.downloadfrequency, dss.downloadersymbol;
Date: 2025-05-17 23:01:30 Duration: 1ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142
-
SELECT s.symbolid, dss.downloadfrequency, dss.downloadersymbol;
Date: 2025-05-17 23:30:51 Duration: 1ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142
5 389ms 3,356 0ms 0ms 0ms INSERT INTO T60 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;Times Reported Time consuming prepare #5
Day Hour Count Duration Avg duration 23 3,356 389ms 0ms [ User: postgres - Total duration: 603ms - Times executed: 3356 ]
[ Application: [unknown] - Total duration: 603ms - Times executed: 3356 ]
-
INSERT INTO T60 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2025-05-17 23:00:33 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142
-
INSERT INTO T60 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2025-05-17 23:11:27 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142
-
INSERT INTO T60 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2025-05-17 23:11:33 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142
6 360ms 3,672 0ms 0ms 0ms INSERT INTO T30 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;Times Reported Time consuming prepare #6
Day Hour Count Duration Avg duration 23 3,672 360ms 0ms [ User: postgres - Total duration: 666ms - Times executed: 3672 ]
[ Application: [unknown] - Total duration: 666ms - Times executed: 3672 ]
-
INSERT INTO T30 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2025-05-17 23:01:14 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142
-
INSERT INTO T30 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2025-05-17 23:01:01 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142
-
INSERT INTO T30 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2025-05-17 23:00:47 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142
7 210ms 1,551 0ms 0ms 0ms INSERT INTO T1440_underlying (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;Times Reported Time consuming prepare #7
Day Hour Count Duration Avg duration 23 1,551 210ms 0ms [ User: postgres - Total duration: 1s842ms - Times executed: 1551 ]
[ Application: [unknown] - Total duration: 1s842ms - Times executed: 1551 ]
-
INSERT INTO T1440_underlying (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2025-05-17 23:46:01 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142
-
INSERT INTO T1440_underlying (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2025-05-17 23:45:47 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142
-
INSERT INTO T1440_underlying (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2025-05-17 23:45:32 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142
8 161ms 1,623 0ms 0ms 0ms INSERT INTO T240 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;Times Reported Time consuming prepare #8
Day Hour Count Duration Avg duration 23 1,623 161ms 0ms [ User: postgres - Total duration: 231ms - Times executed: 1623 ]
[ Application: [unknown] - Total duration: 231ms - Times executed: 1623 ]
-
INSERT INTO T240 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2025-05-17 23:45:47 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142
-
INSERT INTO T240 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2025-05-17 23:01:16 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142
-
INSERT INTO T240 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2025-05-17 23:01:03 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142
9 46ms 18 2ms 3ms 2ms select cast(count(*) / cast(setting as numeric) * 100 as int) from pg_stat_activity, pg_settings WHERE name = 'max_connections' group by setting;Times Reported Time consuming prepare #9
Day Hour Count Duration Avg duration 23 18 46ms 2ms [ User: postgres - Total duration: 28ms - Times executed: 18 ]
[ Application: [unknown] - Total duration: 28ms - Times executed: 18 ]
-
select cast(count(*) / cast(setting as numeric) * 100 as int) from pg_stat_activity, pg_settings WHERE name = 'max_connections' group by setting;
Date: 2025-05-17 23:11:00 Duration: 3ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.90
-
select cast(count(*) / cast(setting as numeric) * 100 as int) from pg_stat_activity, pg_settings WHERE name = 'max_connections' group by setting;
Date: 2025-05-17 23:21:00 Duration: 3ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.126
-
select cast(count(*) / cast(setting as numeric) * 100 as int) from pg_stat_activity, pg_settings WHERE name = 'max_connections' group by setting;
Date: 2025-05-17 23:11:00 Duration: 3ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.126
10 26ms 201 0ms 0ms 0ms SET extra_float_digits = 3;Times Reported Time consuming prepare #10
Day Hour Count Duration Avg duration 23 201 26ms 0ms [ User: postgres - Total duration: 1ms - Times executed: 201 ]
[ Application: [unknown] - Total duration: 1ms - Times executed: 201 ]
-
SET extra_float_digits = 3;
Date: 2025-05-17 23:06:30 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.145
-
SET extra_float_digits = 3;
Date: 2025-05-17 23:07:25 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.145
-
SET extra_float_digits = 3;
Date: 2025-05-17 23:20:05 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.126
11 18ms 326 0ms 0ms 0ms select 1;Times Reported Time consuming prepare #11
Day Hour Count Duration Avg duration 23 326 18ms 0ms [ User: postgres - Total duration: 1ms - Times executed: 326 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1ms - Times executed: 326 ]
-
select 1;
Date: 2025-05-17 23:31:57 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.20
-
select 1;
Date: 2025-05-17 23:31:02 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.20
-
select 1;
Date: 2025-05-17 23:11:00 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.145
12 15ms 6 2ms 3ms 2ms select client_addr, count(1) from pg_stat_activity, pg_settings WHERE name = 'max_connections' group by client_addr, setting having (client_addr is not null OR (client_addr is null and count(1) > (cast(setting as numeric) / 3 * 2))) order by count desc;Times Reported Time consuming prepare #12
Day Hour Count Duration Avg duration 23 6 15ms 2ms [ User: postgres - Total duration: 8ms - Times executed: 6 ]
[ Application: [unknown] - Total duration: 8ms - Times executed: 6 ]
-
select client_addr, count(1) from pg_stat_activity, pg_settings WHERE name = 'max_connections' group by client_addr, setting having (client_addr is not null OR (client_addr is null and count(1) > (cast(setting as numeric) / 3 * 2))) order by count desc;
Date: 2025-05-17 23:20:05 Duration: 3ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.126
-
select client_addr, count(1) from pg_stat_activity, pg_settings WHERE name = 'max_connections' group by client_addr, setting having (client_addr is not null OR (client_addr is null and count(1) > (cast(setting as numeric) / 3 * 2))) order by count desc;
Date: 2025-05-17 23:10:05 Duration: 2ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.126
-
select client_addr, count(1) from pg_stat_activity, pg_settings WHERE name = 'max_connections' group by client_addr, setting having (client_addr is not null OR (client_addr is null and count(1) > (cast(setting as numeric) / 3 * 2))) order by count desc;
Date: 2025-05-17 23:40:04 Duration: 2ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.126
13 9ms 8 0ms 1ms 1ms with wh_patitioned as ( ;Times Reported Time consuming prepare #13
Day Hour Count Duration Avg duration 23 8 9ms 1ms [ User: postgres - Total duration: 17ms - Times executed: 8 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 17ms - Times executed: 8 ]
-
with wh_patitioned as ( ;
Date: 2025-05-17 23:56:47 Duration: 1ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250
-
with wh_patitioned as ( ;
Date: 2025-05-17 23:43:05 Duration: 1ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250
-
with wh_patitioned as ( ;
Date: 2025-05-17 23:14:43 Duration: 1ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250
14 7ms 89 0ms 0ms 0ms INSERT INTO mt4datafeederrors (datafeedname, eventtimestamp, errordescription, status, serveraddress, username) values ($1, current_timestamp, $2, $3, $4, $5);Times Reported Time consuming prepare #14
Day Hour Count Duration Avg duration 23 89 7ms 0ms [ User: postgres - Total duration: 7ms - Times executed: 89 ]
[ Application: [unknown] - Total duration: 7ms - Times executed: 89 ]
-
INSERT INTO mt4datafeederrors (datafeedname, eventtimestamp, errordescription, status, serveraddress, username) values ($1, current_timestamp, $2, $3, $4, $5);
Date: 2025-05-17 23:37:45 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.205
-
INSERT INTO mt4datafeederrors (datafeedname, eventtimestamp, errordescription, status, serveraddress, username) values ($1, current_timestamp, $2, $3, $4, $5);
Date: 2025-05-17 23:19:01 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.205
-
INSERT INTO mt4datafeederrors (datafeedname, eventtimestamp, errordescription, status, serveraddress, username) values ($1, current_timestamp, $2, $3, $4, $5);
Date: 2025-05-17 23:34:24 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.205
15 5ms 10 0ms 2ms 0ms select autocharti0_.resultid as resultid1_0_0_, symbols1_.symbolid as symbolid1_15_1_, downloader2_.symbolid as symbolid1_11_2_, datafeedst3_.datafeedstimetableid as datafeed1_10_3_, patterns4_.patternname as patternn1_14_4_, autocharti0_.bandwidth as bandwidt2_0_0_, autocharti0_.breakout as breakout3_0_0_, autocharti0_.direction as directio4_0_0_, autocharti0_.gmttimefound as gmttimef5_0_0_, autocharti0_.initialtrend as initialt6_0_0_, autocharti0_.latestbaratbreakoutprice as latestba7_0_0_, autocharti0_.latestbaratbreakouttime as latestba8_0_0_, autocharti0_.maxmovementafterbreakout as maxmovem9_0_0_, autocharti0_.noise as noise10_0_0_, autocharti0_.pattern as pattern11_0_0_, autocharti0_.patternendprice as pattern12_0_0_, autocharti0_.patternendtime as pattern13_0_0_, autocharti0_.patternlengthbars as pattern14_0_0_, autocharti0_.patternquality as pattern15_0_0_, autocharti0_.patternstartprice as pattern16_0_0_, autocharti0_.patternstarttime as pattern17_0_0_, autocharti0_.predictionpricefrom as predict18_0_0_, autocharti0_.predictionpriceto as predict19_0_0_, autocharti0_.predictiontimefrom as predict20_0_0_, autocharti0_.predictiontimeto as predict21_0_0_, autocharti0_.qtytp as qtytp22_0_0_, autocharti0_.relevancestartdistance as relevan23_0_0_, autocharti0_.resgradient as resgrad24_0_0_, autocharti0_.resultuid as resultu25_0_0_, autocharti0_.resx0 as resx26_0_0_, autocharti0_.resx1 as resx27_0_0_, autocharti0_.resy0 as resy28_0_0_, autocharti0_.resy1 as resy29_0_0_, autocharti0_.riskreward as riskrew30_0_0_, autocharti0_.simulation as simulat31_0_0_, autocharti0_.supportgradient as support32_0_0_, autocharti0_.supportx0 as support33_0_0_, autocharti0_.supportx1 as support34_0_0_, autocharti0_.supporty0 as support35_0_0_, autocharti0_.supporty1 as support36_0_0_, autocharti0_.symbolid as symboli37_0_0_, autocharti0_.symmetry as symmetr38_0_0_, autocharti0_.temporarypattern as tempora39_0_0_, autocharti0_.trendchange as trendch40_0_0_, autocharti0_.volumeincrease as volumei41_0_0_, autocharti0_.writtendatetime as written42_0_0_, symbols1_.deleted as deleted2_15_1_, symbols1_.exchange as exchange3_15_1_, symbols1_.industry as industry4_15_1_, symbols1_.location as location5_15_1_, symbols1_.longname as longname6_15_1_, symbols1_.nonliquid as nonliqui7_15_1_, symbols1_.sector as sector8_15_1_, symbols1_.shortname as shortnam9_15_1_, symbols1_.symbol as symbol10_15_1_, symbols1_.timegranularity as timegra11_15_1_, downloader2_.archive as archive2_11_2_, downloader2_.classname as classnam3_11_2_, downloader2_.configfile as configfi4_11_2_, downloader2_.datafeedinstrumentid as datafeed5_11_2_, downloader2_.downloadersymbol as download6_11_2_, downloader2_.downloadfrequency as download7_11_2_, downloader2_.enabled as enabled8_11_2_, downloader2_.endtime as endtime9_11_2_, downloader2_.starttime as startti10_11_2_, datafeedst3_.absolutetimezoneoffset as absolute2_10_3_, datafeedst3_.classname as classnam3_10_3_, datafeedst3_.dayofweek as dayofwee4_10_3_, datafeedst3_.enabledtsautoupdate as enabledt5_10_3_, datafeedst3_.hourfrom as hourfrom6_10_3_, datafeedst3_.hourto as hourto7_10_3_, datafeedst3_.minutefrom as minutefr8_10_3_, datafeedst3_.minuteto as minuteto9_10_3_, datafeedst3_.timezone as timezon10_10_3_, datafeedst3_.timezoneoffset as timezon11_10_3_, patterns4_.patternid as patterni2_14_4_ from public.autochartist_results autocharti0_ left outer join symbols symbols1_ on autocharti0_.symbolid = symbols1_.symbolid left outer join downloadersymbolsettings downloader2_ on symbols1_.symbolid = downloader2_.symbolid left outer join datafeedstimetable datafeedst3_ on downloader2_.classname = datafeedst3_.classname left outer join patterns patterns4_ on autocharti0_.pattern = patterns4_.patternname where autocharti0_.resultuid = $1 and datafeedst3_.dayofweek = 3;Times Reported Time consuming prepare #15
Day Hour Count Duration Avg duration 23 10 5ms 0ms [ User: postgres - Total duration: 1ms - Times executed: 10 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1ms - Times executed: 10 ]
-
select autocharti0_.resultid as resultid1_0_0_, symbols1_.symbolid as symbolid1_15_1_, downloader2_.symbolid as symbolid1_11_2_, datafeedst3_.datafeedstimetableid as datafeed1_10_3_, patterns4_.patternname as patternn1_14_4_, autocharti0_.bandwidth as bandwidt2_0_0_, autocharti0_.breakout as breakout3_0_0_, autocharti0_.direction as directio4_0_0_, autocharti0_.gmttimefound as gmttimef5_0_0_, autocharti0_.initialtrend as initialt6_0_0_, autocharti0_.latestbaratbreakoutprice as latestba7_0_0_, autocharti0_.latestbaratbreakouttime as latestba8_0_0_, autocharti0_.maxmovementafterbreakout as maxmovem9_0_0_, autocharti0_.noise as noise10_0_0_, autocharti0_.pattern as pattern11_0_0_, autocharti0_.patternendprice as pattern12_0_0_, autocharti0_.patternendtime as pattern13_0_0_, autocharti0_.patternlengthbars as pattern14_0_0_, autocharti0_.patternquality as pattern15_0_0_, autocharti0_.patternstartprice as pattern16_0_0_, autocharti0_.patternstarttime as pattern17_0_0_, autocharti0_.predictionpricefrom as predict18_0_0_, autocharti0_.predictionpriceto as predict19_0_0_, autocharti0_.predictiontimefrom as predict20_0_0_, autocharti0_.predictiontimeto as predict21_0_0_, autocharti0_.qtytp as qtytp22_0_0_, autocharti0_.relevancestartdistance as relevan23_0_0_, autocharti0_.resgradient as resgrad24_0_0_, autocharti0_.resultuid as resultu25_0_0_, autocharti0_.resx0 as resx26_0_0_, autocharti0_.resx1 as resx27_0_0_, autocharti0_.resy0 as resy28_0_0_, autocharti0_.resy1 as resy29_0_0_, autocharti0_.riskreward as riskrew30_0_0_, autocharti0_.simulation as simulat31_0_0_, autocharti0_.supportgradient as support32_0_0_, autocharti0_.supportx0 as support33_0_0_, autocharti0_.supportx1 as support34_0_0_, autocharti0_.supporty0 as support35_0_0_, autocharti0_.supporty1 as support36_0_0_, autocharti0_.symbolid as symboli37_0_0_, autocharti0_.symmetry as symmetr38_0_0_, autocharti0_.temporarypattern as tempora39_0_0_, autocharti0_.trendchange as trendch40_0_0_, autocharti0_.volumeincrease as volumei41_0_0_, autocharti0_.writtendatetime as written42_0_0_, symbols1_.deleted as deleted2_15_1_, symbols1_.exchange as exchange3_15_1_, symbols1_.industry as industry4_15_1_, symbols1_.location as location5_15_1_, symbols1_.longname as longname6_15_1_, symbols1_.nonliquid as nonliqui7_15_1_, symbols1_.sector as sector8_15_1_, symbols1_.shortname as shortnam9_15_1_, symbols1_.symbol as symbol10_15_1_, symbols1_.timegranularity as timegra11_15_1_, downloader2_.archive as archive2_11_2_, downloader2_.classname as classnam3_11_2_, downloader2_.configfile as configfi4_11_2_, downloader2_.datafeedinstrumentid as datafeed5_11_2_, downloader2_.downloadersymbol as download6_11_2_, downloader2_.downloadfrequency as download7_11_2_, downloader2_.enabled as enabled8_11_2_, downloader2_.endtime as endtime9_11_2_, downloader2_.starttime as startti10_11_2_, datafeedst3_.absolutetimezoneoffset as absolute2_10_3_, datafeedst3_.classname as classnam3_10_3_, datafeedst3_.dayofweek as dayofwee4_10_3_, datafeedst3_.enabledtsautoupdate as enabledt5_10_3_, datafeedst3_.hourfrom as hourfrom6_10_3_, datafeedst3_.hourto as hourto7_10_3_, datafeedst3_.minutefrom as minutefr8_10_3_, datafeedst3_.minuteto as minuteto9_10_3_, datafeedst3_.timezone as timezon10_10_3_, datafeedst3_.timezoneoffset as timezon11_10_3_, patterns4_.patternid as patterni2_14_4_ from public.autochartist_results autocharti0_ left outer join symbols symbols1_ on autocharti0_.symbolid = symbols1_.symbolid left outer join downloadersymbolsettings downloader2_ on symbols1_.symbolid = downloader2_.symbolid left outer join datafeedstimetable datafeedst3_ on downloader2_.classname = datafeedst3_.classname left outer join patterns patterns4_ on autocharti0_.pattern = patterns4_.patternname where autocharti0_.resultuid = $1 and datafeedst3_.dayofweek = 3;
Date: 2025-05-17 23:43:10 Duration: 2ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250
-
select autocharti0_.resultid as resultid1_0_0_, symbols1_.symbolid as symbolid1_15_1_, downloader2_.symbolid as symbolid1_11_2_, datafeedst3_.datafeedstimetableid as datafeed1_10_3_, patterns4_.patternname as patternn1_14_4_, autocharti0_.bandwidth as bandwidt2_0_0_, autocharti0_.breakout as breakout3_0_0_, autocharti0_.direction as directio4_0_0_, autocharti0_.gmttimefound as gmttimef5_0_0_, autocharti0_.initialtrend as initialt6_0_0_, autocharti0_.latestbaratbreakoutprice as latestba7_0_0_, autocharti0_.latestbaratbreakouttime as latestba8_0_0_, autocharti0_.maxmovementafterbreakout as maxmovem9_0_0_, autocharti0_.noise as noise10_0_0_, autocharti0_.pattern as pattern11_0_0_, autocharti0_.patternendprice as pattern12_0_0_, autocharti0_.patternendtime as pattern13_0_0_, autocharti0_.patternlengthbars as pattern14_0_0_, autocharti0_.patternquality as pattern15_0_0_, autocharti0_.patternstartprice as pattern16_0_0_, autocharti0_.patternstarttime as pattern17_0_0_, autocharti0_.predictionpricefrom as predict18_0_0_, autocharti0_.predictionpriceto as predict19_0_0_, autocharti0_.predictiontimefrom as predict20_0_0_, autocharti0_.predictiontimeto as predict21_0_0_, autocharti0_.qtytp as qtytp22_0_0_, autocharti0_.relevancestartdistance as relevan23_0_0_, autocharti0_.resgradient as resgrad24_0_0_, autocharti0_.resultuid as resultu25_0_0_, autocharti0_.resx0 as resx26_0_0_, autocharti0_.resx1 as resx27_0_0_, autocharti0_.resy0 as resy28_0_0_, autocharti0_.resy1 as resy29_0_0_, autocharti0_.riskreward as riskrew30_0_0_, autocharti0_.simulation as simulat31_0_0_, autocharti0_.supportgradient as support32_0_0_, autocharti0_.supportx0 as support33_0_0_, autocharti0_.supportx1 as support34_0_0_, autocharti0_.supporty0 as support35_0_0_, autocharti0_.supporty1 as support36_0_0_, autocharti0_.symbolid as symboli37_0_0_, autocharti0_.symmetry as symmetr38_0_0_, autocharti0_.temporarypattern as tempora39_0_0_, autocharti0_.trendchange as trendch40_0_0_, autocharti0_.volumeincrease as volumei41_0_0_, autocharti0_.writtendatetime as written42_0_0_, symbols1_.deleted as deleted2_15_1_, symbols1_.exchange as exchange3_15_1_, symbols1_.industry as industry4_15_1_, symbols1_.location as location5_15_1_, symbols1_.longname as longname6_15_1_, symbols1_.nonliquid as nonliqui7_15_1_, symbols1_.sector as sector8_15_1_, symbols1_.shortname as shortnam9_15_1_, symbols1_.symbol as symbol10_15_1_, symbols1_.timegranularity as timegra11_15_1_, downloader2_.archive as archive2_11_2_, downloader2_.classname as classnam3_11_2_, downloader2_.configfile as configfi4_11_2_, downloader2_.datafeedinstrumentid as datafeed5_11_2_, downloader2_.downloadersymbol as download6_11_2_, downloader2_.downloadfrequency as download7_11_2_, downloader2_.enabled as enabled8_11_2_, downloader2_.endtime as endtime9_11_2_, downloader2_.starttime as startti10_11_2_, datafeedst3_.absolutetimezoneoffset as absolute2_10_3_, datafeedst3_.classname as classnam3_10_3_, datafeedst3_.dayofweek as dayofwee4_10_3_, datafeedst3_.enabledtsautoupdate as enabledt5_10_3_, datafeedst3_.hourfrom as hourfrom6_10_3_, datafeedst3_.hourto as hourto7_10_3_, datafeedst3_.minutefrom as minutefr8_10_3_, datafeedst3_.minuteto as minuteto9_10_3_, datafeedst3_.timezone as timezon10_10_3_, datafeedst3_.timezoneoffset as timezon11_10_3_, patterns4_.patternid as patterni2_14_4_ from public.autochartist_results autocharti0_ left outer join symbols symbols1_ on autocharti0_.symbolid = symbols1_.symbolid left outer join downloadersymbolsettings downloader2_ on symbols1_.symbolid = downloader2_.symbolid left outer join datafeedstimetable datafeedst3_ on downloader2_.classname = datafeedst3_.classname left outer join patterns patterns4_ on autocharti0_.pattern = patterns4_.patternname where autocharti0_.resultuid = $1 and datafeedst3_.dayofweek = 3;
Date: 2025-05-17 23:43:10 Duration: 1ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250
-
select autocharti0_.resultid as resultid1_0_0_, symbols1_.symbolid as symbolid1_15_1_, downloader2_.symbolid as symbolid1_11_2_, datafeedst3_.datafeedstimetableid as datafeed1_10_3_, patterns4_.patternname as patternn1_14_4_, autocharti0_.bandwidth as bandwidt2_0_0_, autocharti0_.breakout as breakout3_0_0_, autocharti0_.direction as directio4_0_0_, autocharti0_.gmttimefound as gmttimef5_0_0_, autocharti0_.initialtrend as initialt6_0_0_, autocharti0_.latestbaratbreakoutprice as latestba7_0_0_, autocharti0_.latestbaratbreakouttime as latestba8_0_0_, autocharti0_.maxmovementafterbreakout as maxmovem9_0_0_, autocharti0_.noise as noise10_0_0_, autocharti0_.pattern as pattern11_0_0_, autocharti0_.patternendprice as pattern12_0_0_, autocharti0_.patternendtime as pattern13_0_0_, autocharti0_.patternlengthbars as pattern14_0_0_, autocharti0_.patternquality as pattern15_0_0_, autocharti0_.patternstartprice as pattern16_0_0_, autocharti0_.patternstarttime as pattern17_0_0_, autocharti0_.predictionpricefrom as predict18_0_0_, autocharti0_.predictionpriceto as predict19_0_0_, autocharti0_.predictiontimefrom as predict20_0_0_, autocharti0_.predictiontimeto as predict21_0_0_, autocharti0_.qtytp as qtytp22_0_0_, autocharti0_.relevancestartdistance as relevan23_0_0_, autocharti0_.resgradient as resgrad24_0_0_, autocharti0_.resultuid as resultu25_0_0_, autocharti0_.resx0 as resx26_0_0_, autocharti0_.resx1 as resx27_0_0_, autocharti0_.resy0 as resy28_0_0_, autocharti0_.resy1 as resy29_0_0_, autocharti0_.riskreward as riskrew30_0_0_, autocharti0_.simulation as simulat31_0_0_, autocharti0_.supportgradient as support32_0_0_, autocharti0_.supportx0 as support33_0_0_, autocharti0_.supportx1 as support34_0_0_, autocharti0_.supporty0 as support35_0_0_, autocharti0_.supporty1 as support36_0_0_, autocharti0_.symbolid as symboli37_0_0_, autocharti0_.symmetry as symmetr38_0_0_, autocharti0_.temporarypattern as tempora39_0_0_, autocharti0_.trendchange as trendch40_0_0_, autocharti0_.volumeincrease as volumei41_0_0_, autocharti0_.writtendatetime as written42_0_0_, symbols1_.deleted as deleted2_15_1_, symbols1_.exchange as exchange3_15_1_, symbols1_.industry as industry4_15_1_, symbols1_.location as location5_15_1_, symbols1_.longname as longname6_15_1_, symbols1_.nonliquid as nonliqui7_15_1_, symbols1_.sector as sector8_15_1_, symbols1_.shortname as shortnam9_15_1_, symbols1_.symbol as symbol10_15_1_, symbols1_.timegranularity as timegra11_15_1_, downloader2_.archive as archive2_11_2_, downloader2_.classname as classnam3_11_2_, downloader2_.configfile as configfi4_11_2_, downloader2_.datafeedinstrumentid as datafeed5_11_2_, downloader2_.downloadersymbol as download6_11_2_, downloader2_.downloadfrequency as download7_11_2_, downloader2_.enabled as enabled8_11_2_, downloader2_.endtime as endtime9_11_2_, downloader2_.starttime as startti10_11_2_, datafeedst3_.absolutetimezoneoffset as absolute2_10_3_, datafeedst3_.classname as classnam3_10_3_, datafeedst3_.dayofweek as dayofwee4_10_3_, datafeedst3_.enabledtsautoupdate as enabledt5_10_3_, datafeedst3_.hourfrom as hourfrom6_10_3_, datafeedst3_.hourto as hourto7_10_3_, datafeedst3_.minutefrom as minutefr8_10_3_, datafeedst3_.minuteto as minuteto9_10_3_, datafeedst3_.timezone as timezon10_10_3_, datafeedst3_.timezoneoffset as timezon11_10_3_, patterns4_.patternid as patterni2_14_4_ from public.autochartist_results autocharti0_ left outer join symbols symbols1_ on autocharti0_.symbolid = symbols1_.symbolid left outer join downloadersymbolsettings downloader2_ on symbols1_.symbolid = downloader2_.symbolid left outer join datafeedstimetable datafeedst3_ on downloader2_.classname = datafeedst3_.classname left outer join patterns patterns4_ on autocharti0_.pattern = patterns4_.patternname where autocharti0_.resultuid = $1 and datafeedst3_.dayofweek = 3;
Date: 2025-05-17 23:43:13 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250
16 3ms 6 0ms 1ms 0ms WITH last_candle AS ( ;Times Reported Time consuming prepare #16
Day Hour Count Duration Avg duration 23 6 3ms 0ms [ User: postgres - Total duration: 1s947ms - Times executed: 6 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s947ms - Times executed: 6 ]
-
WITH last_candle AS ( ;
Date: 2025-05-17 23:40:00 Duration: 1ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.20
-
WITH last_candle AS ( ;
Date: 2025-05-17 23:04:00 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.20
-
WITH last_candle AS ( ;
Date: 2025-05-17 23:00:01 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.20
17 3ms 10 0ms 1ms 0ms select distinct t1440x0_.symbolid as symbolid1_16_0_, t1440x0_.pricedatetime as pricedat2_16_0_, symbols1_.symbolid as symbolid1_15_1_, downloader2_.symbolid as symbolid1_11_2_, datafeedst3_.datafeedstimetableid as datafeed1_10_3_, t1440x0_.bsf as bsf3_16_0_, t1440x0_.close as close4_16_0_, t1440x0_.high as high5_16_0_, t1440x0_.low as low6_16_0_, t1440x0_.open as open7_16_0_, t1440x0_.pricesadjusted as pricesad8_16_0_, t1440x0_.recengprocessedadjusted as recengpr9_16_0_, t1440x0_.relevanceprocessed as relevan10_16_0_, t1440x0_.sastdatetimereceived as sastdat11_16_0_, t1440x0_.sastdatetimewritten as sastdat12_16_0_, t1440x0_.volume as volume13_16_0_, symbols1_.deleted as deleted2_15_1_, symbols1_.exchange as exchange3_15_1_, symbols1_.industry as industry4_15_1_, symbols1_.location as location5_15_1_, symbols1_.longname as longname6_15_1_, symbols1_.nonliquid as nonliqui7_15_1_, symbols1_.sector as sector8_15_1_, symbols1_.shortname as shortnam9_15_1_, symbols1_.symbol as symbol10_15_1_, symbols1_.timegranularity as timegra11_15_1_, downloader2_.archive as archive2_11_2_, downloader2_.classname as classnam3_11_2_, downloader2_.configfile as configfi4_11_2_, downloader2_.datafeedinstrumentid as datafeed5_11_2_, downloader2_.downloadersymbol as download6_11_2_, downloader2_.downloadfrequency as download7_11_2_, downloader2_.enabled as enabled8_11_2_, downloader2_.endtime as endtime9_11_2_, downloader2_.starttime as startti10_11_2_, datafeedst3_.absolutetimezoneoffset as absolute2_10_3_, datafeedst3_.classname as classnam3_10_3_, datafeedst3_.dayofweek as dayofwee4_10_3_, datafeedst3_.enabledtsautoupdate as enabledt5_10_3_, datafeedst3_.hourfrom as hourfrom6_10_3_, datafeedst3_.hourto as hourto7_10_3_, datafeedst3_.minutefrom as minutefr8_10_3_, datafeedst3_.minuteto as minuteto9_10_3_, datafeedst3_.timezone as timezon10_10_3_, datafeedst3_.timezoneoffset as timezon11_10_3_ from t1440 t1440x0_ inner join symbols symbols1_ on t1440x0_.symbolid = symbols1_.symbolid left outer join downloadersymbolsettings downloader2_ on symbols1_.symbolid = downloader2_.symbolid left outer join datafeedstimetable datafeedst3_ on downloader2_.classname = datafeedst3_.classname where t1440x0_.symbolid = $1 and t1440x0_.pricedatetime >= $2 and t1440x0_.pricedatetime <= $3 and datafeedst3_.dayofweek = 5 order by t1440x0_.pricedatetime asc;Times Reported Time consuming prepare #17
Day Hour Count Duration Avg duration 23 10 3ms 0ms [ User: postgres - Total duration: 10ms - Times executed: 10 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 10ms - Times executed: 10 ]
-
select distinct t1440x0_.symbolid as symbolid1_16_0_, t1440x0_.pricedatetime as pricedat2_16_0_, symbols1_.symbolid as symbolid1_15_1_, downloader2_.symbolid as symbolid1_11_2_, datafeedst3_.datafeedstimetableid as datafeed1_10_3_, t1440x0_.bsf as bsf3_16_0_, t1440x0_.close as close4_16_0_, t1440x0_.high as high5_16_0_, t1440x0_.low as low6_16_0_, t1440x0_.open as open7_16_0_, t1440x0_.pricesadjusted as pricesad8_16_0_, t1440x0_.recengprocessedadjusted as recengpr9_16_0_, t1440x0_.relevanceprocessed as relevan10_16_0_, t1440x0_.sastdatetimereceived as sastdat11_16_0_, t1440x0_.sastdatetimewritten as sastdat12_16_0_, t1440x0_.volume as volume13_16_0_, symbols1_.deleted as deleted2_15_1_, symbols1_.exchange as exchange3_15_1_, symbols1_.industry as industry4_15_1_, symbols1_.location as location5_15_1_, symbols1_.longname as longname6_15_1_, symbols1_.nonliquid as nonliqui7_15_1_, symbols1_.sector as sector8_15_1_, symbols1_.shortname as shortnam9_15_1_, symbols1_.symbol as symbol10_15_1_, symbols1_.timegranularity as timegra11_15_1_, downloader2_.archive as archive2_11_2_, downloader2_.classname as classnam3_11_2_, downloader2_.configfile as configfi4_11_2_, downloader2_.datafeedinstrumentid as datafeed5_11_2_, downloader2_.downloadersymbol as download6_11_2_, downloader2_.downloadfrequency as download7_11_2_, downloader2_.enabled as enabled8_11_2_, downloader2_.endtime as endtime9_11_2_, downloader2_.starttime as startti10_11_2_, datafeedst3_.absolutetimezoneoffset as absolute2_10_3_, datafeedst3_.classname as classnam3_10_3_, datafeedst3_.dayofweek as dayofwee4_10_3_, datafeedst3_.enabledtsautoupdate as enabledt5_10_3_, datafeedst3_.hourfrom as hourfrom6_10_3_, datafeedst3_.hourto as hourto7_10_3_, datafeedst3_.minutefrom as minutefr8_10_3_, datafeedst3_.minuteto as minuteto9_10_3_, datafeedst3_.timezone as timezon10_10_3_, datafeedst3_.timezoneoffset as timezon11_10_3_ from t1440 t1440x0_ inner join symbols symbols1_ on t1440x0_.symbolid = symbols1_.symbolid left outer join downloadersymbolsettings downloader2_ on symbols1_.symbolid = downloader2_.symbolid left outer join datafeedstimetable datafeedst3_ on downloader2_.classname = datafeedst3_.classname where t1440x0_.symbolid = $1 and t1440x0_.pricedatetime >= $2 and t1440x0_.pricedatetime <= $3 and datafeedst3_.dayofweek = 5 order by t1440x0_.pricedatetime asc;
Date: 2025-05-17 23:43:10 Duration: 1ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250
-
select distinct t1440x0_.symbolid as symbolid1_16_0_, t1440x0_.pricedatetime as pricedat2_16_0_, symbols1_.symbolid as symbolid1_15_1_, downloader2_.symbolid as symbolid1_11_2_, datafeedst3_.datafeedstimetableid as datafeed1_10_3_, t1440x0_.bsf as bsf3_16_0_, t1440x0_.close as close4_16_0_, t1440x0_.high as high5_16_0_, t1440x0_.low as low6_16_0_, t1440x0_.open as open7_16_0_, t1440x0_.pricesadjusted as pricesad8_16_0_, t1440x0_.recengprocessedadjusted as recengpr9_16_0_, t1440x0_.relevanceprocessed as relevan10_16_0_, t1440x0_.sastdatetimereceived as sastdat11_16_0_, t1440x0_.sastdatetimewritten as sastdat12_16_0_, t1440x0_.volume as volume13_16_0_, symbols1_.deleted as deleted2_15_1_, symbols1_.exchange as exchange3_15_1_, symbols1_.industry as industry4_15_1_, symbols1_.location as location5_15_1_, symbols1_.longname as longname6_15_1_, symbols1_.nonliquid as nonliqui7_15_1_, symbols1_.sector as sector8_15_1_, symbols1_.shortname as shortnam9_15_1_, symbols1_.symbol as symbol10_15_1_, symbols1_.timegranularity as timegra11_15_1_, downloader2_.archive as archive2_11_2_, downloader2_.classname as classnam3_11_2_, downloader2_.configfile as configfi4_11_2_, downloader2_.datafeedinstrumentid as datafeed5_11_2_, downloader2_.downloadersymbol as download6_11_2_, downloader2_.downloadfrequency as download7_11_2_, downloader2_.enabled as enabled8_11_2_, downloader2_.endtime as endtime9_11_2_, downloader2_.starttime as startti10_11_2_, datafeedst3_.absolutetimezoneoffset as absolute2_10_3_, datafeedst3_.classname as classnam3_10_3_, datafeedst3_.dayofweek as dayofwee4_10_3_, datafeedst3_.enabledtsautoupdate as enabledt5_10_3_, datafeedst3_.hourfrom as hourfrom6_10_3_, datafeedst3_.hourto as hourto7_10_3_, datafeedst3_.minutefrom as minutefr8_10_3_, datafeedst3_.minuteto as minuteto9_10_3_, datafeedst3_.timezone as timezon10_10_3_, datafeedst3_.timezoneoffset as timezon11_10_3_ from t1440 t1440x0_ inner join symbols symbols1_ on t1440x0_.symbolid = symbols1_.symbolid left outer join downloadersymbolsettings downloader2_ on symbols1_.symbolid = downloader2_.symbolid left outer join datafeedstimetable datafeedst3_ on downloader2_.classname = datafeedst3_.classname where t1440x0_.symbolid = $1 and t1440x0_.pricedatetime >= $2 and t1440x0_.pricedatetime <= $3 and datafeedst3_.dayofweek = 5 order by t1440x0_.pricedatetime asc;
Date: 2025-05-17 23:43:10 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250
-
select distinct t1440x0_.symbolid as symbolid1_16_0_, t1440x0_.pricedatetime as pricedat2_16_0_, symbols1_.symbolid as symbolid1_15_1_, downloader2_.symbolid as symbolid1_11_2_, datafeedst3_.datafeedstimetableid as datafeed1_10_3_, t1440x0_.bsf as bsf3_16_0_, t1440x0_.close as close4_16_0_, t1440x0_.high as high5_16_0_, t1440x0_.low as low6_16_0_, t1440x0_.open as open7_16_0_, t1440x0_.pricesadjusted as pricesad8_16_0_, t1440x0_.recengprocessedadjusted as recengpr9_16_0_, t1440x0_.relevanceprocessed as relevan10_16_0_, t1440x0_.sastdatetimereceived as sastdat11_16_0_, t1440x0_.sastdatetimewritten as sastdat12_16_0_, t1440x0_.volume as volume13_16_0_, symbols1_.deleted as deleted2_15_1_, symbols1_.exchange as exchange3_15_1_, symbols1_.industry as industry4_15_1_, symbols1_.location as location5_15_1_, symbols1_.longname as longname6_15_1_, symbols1_.nonliquid as nonliqui7_15_1_, symbols1_.sector as sector8_15_1_, symbols1_.shortname as shortnam9_15_1_, symbols1_.symbol as symbol10_15_1_, symbols1_.timegranularity as timegra11_15_1_, downloader2_.archive as archive2_11_2_, downloader2_.classname as classnam3_11_2_, downloader2_.configfile as configfi4_11_2_, downloader2_.datafeedinstrumentid as datafeed5_11_2_, downloader2_.downloadersymbol as download6_11_2_, downloader2_.downloadfrequency as download7_11_2_, downloader2_.enabled as enabled8_11_2_, downloader2_.endtime as endtime9_11_2_, downloader2_.starttime as startti10_11_2_, datafeedst3_.absolutetimezoneoffset as absolute2_10_3_, datafeedst3_.classname as classnam3_10_3_, datafeedst3_.dayofweek as dayofwee4_10_3_, datafeedst3_.enabledtsautoupdate as enabledt5_10_3_, datafeedst3_.hourfrom as hourfrom6_10_3_, datafeedst3_.hourto as hourto7_10_3_, datafeedst3_.minutefrom as minutefr8_10_3_, datafeedst3_.minuteto as minuteto9_10_3_, datafeedst3_.timezone as timezon10_10_3_, datafeedst3_.timezoneoffset as timezon11_10_3_ from t1440 t1440x0_ inner join symbols symbols1_ on t1440x0_.symbolid = symbols1_.symbolid left outer join downloadersymbolsettings downloader2_ on symbols1_.symbolid = downloader2_.symbolid left outer join datafeedstimetable datafeedst3_ on downloader2_.classname = datafeedst3_.classname where t1440x0_.symbolid = $1 and t1440x0_.pricedatetime >= $2 and t1440x0_.pricedatetime <= $3 and datafeedst3_.dayofweek = 5 order by t1440x0_.pricedatetime asc;
Date: 2025-05-17 23:43:10 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250
18 3ms 9 0ms 0ms 0ms WITH /*Latest.JapSticks*/ all_results AS ( SELECT ;Times Reported Time consuming prepare #18
Day Hour Count Duration Avg duration 23 9 3ms 0ms [ User: postgres - Total duration: 0ms - Times executed: 9 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 0ms - Times executed: 9 ]
-
WITH /*Latest.JapSticks*/ all_results AS ( SELECT ;
Date: 2025-05-17 23:58:13 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250
-
WITH /*Latest.JapSticks*/ all_results AS ( SELECT ;
Date: 2025-05-17 23:38:15 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250
-
WITH /*Latest.JapSticks*/ all_results AS ( SELECT ;
Date: 2025-05-17 23:00:34 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250
19 2ms 9 0ms 0ms 0ms select keylevelsr0_.resultuid as resultui1_6_0_, symbols1_.symbolid as symbolid1_15_1_, downloader2_.symbolid as symbolid1_11_2_, datafeedst3_.datafeedstimetableid as datafeed1_10_3_, keylevelsp4_.patternid as patterni1_13_4_, keylevelsr0_.approachingregion as approach2_6_0_, keylevelsr0_.approachingtimestamp as approach3_6_0_, keylevelsr0_.atbaridentified as atbaride4_6_0_, keylevelsr0_.atpriceidentified as atpricei5_6_0_, keylevelsr0_.bandwidth as bandwidt6_6_0_, keylevelsr0_.breakout as breakout7_6_0_, keylevelsr0_.breakoutbars as breakout8_6_0_, keylevelsr0_.breakoutprice as breakout9_6_0_, keylevelsr0_.direction as directi10_6_0_, keylevelsr0_.errormargin as errorma11_6_0_, keylevelsr0_.furthestprice as furthes12_6_0_, keylevelsr0_.gmttimefound as gmttime13_6_0_, keylevelsr0_.isrelevant as isrelev14_6_0_, keylevelsr0_.patternclassid as pattern15_6_0_, keylevelsr0_.patternendtime as pattern16_6_0_, keylevelsr0_.patternid as pattern17_6_0_, keylevelsr0_.patternlengthbars as pattern18_6_0_, keylevelsr0_.patternprice as pattern19_6_0_, keylevelsr0_.patternstarttime as pattern20_6_0_, keylevelsr0_.predictionpricefrom as predict21_6_0_, keylevelsr0_.predictionpriceto as predict22_6_0_, keylevelsr0_.predictiontimebars as predict23_6_0_, keylevelsr0_.predictiontimefrom as predict24_6_0_, keylevelsr0_.qtytp as qtytp25_6_0_, keylevelsr0_.relevancestartdistance as relevan26_6_0_, keylevelsr0_.simulation as simulat27_6_0_, keylevelsr0_.stoplosslevel as stoplos28_6_0_, keylevelsr0_.symbolid as symboli29_6_0_, keylevelsr0_.uniquepointsvalue as uniquep30_6_0_, keylevelsr0_.writtendatetime as written31_6_0_, keylevelsr0_.x0 as x32_6_0_, keylevelsr0_.x1 as x33_6_0_, keylevelsr0_.x2 as x34_6_0_, keylevelsr0_.x3 as x35_6_0_, keylevelsr0_.x4 as x36_6_0_, keylevelsr0_.x5 as x37_6_0_, keylevelsr0_.x6 as x38_6_0_, keylevelsr0_.x7 as x39_6_0_, keylevelsr0_.x8 as x40_6_0_, keylevelsr0_.x9 as x41_6_0_, symbols1_.deleted as deleted2_15_1_, symbols1_.exchange as exchange3_15_1_, symbols1_.industry as industry4_15_1_, symbols1_.location as location5_15_1_, symbols1_.longname as longname6_15_1_, symbols1_.nonliquid as nonliqui7_15_1_, symbols1_.sector as sector8_15_1_, symbols1_.shortname as shortnam9_15_1_, symbols1_.symbol as symbol10_15_1_, symbols1_.timegranularity as timegra11_15_1_, downloader2_.archive as archive2_11_2_, downloader2_.classname as classnam3_11_2_, downloader2_.configfile as configfi4_11_2_, downloader2_.datafeedinstrumentid as datafeed5_11_2_, downloader2_.downloadersymbol as download6_11_2_, downloader2_.downloadfrequency as download7_11_2_, downloader2_.enabled as enabled8_11_2_, downloader2_.endtime as endtime9_11_2_, downloader2_.starttime as startti10_11_2_, datafeedst3_.absolutetimezoneoffset as absolute2_10_3_, datafeedst3_.classname as classnam3_10_3_, datafeedst3_.dayofweek as dayofwee4_10_3_, datafeedst3_.enabledtsautoupdate as enabledt5_10_3_, datafeedst3_.hourfrom as hourfrom6_10_3_, datafeedst3_.hourto as hourto7_10_3_, datafeedst3_.minutefrom as minutefr8_10_3_, datafeedst3_.minuteto as minuteto9_10_3_, datafeedst3_.timezone as timezon10_10_3_, datafeedst3_.timezoneoffset as timezon11_10_3_, keylevelsp4_.patternname as patternn2_13_4_ from public.keylevels_results keylevelsr0_ left outer join symbols symbols1_ on keylevelsr0_.symbolid = symbols1_.symbolid left outer join downloadersymbolsettings downloader2_ on symbols1_.symbolid = downloader2_.symbolid left outer join datafeedstimetable datafeedst3_ on downloader2_.classname = datafeedst3_.classname left outer join keylevelspatterns keylevelsp4_ on keylevelsr0_.patternid = keylevelsp4_.patternid where keylevelsr0_.resultuid = $1 and datafeedst3_.dayofweek = 3;Times Reported Time consuming prepare #19
Day Hour Count Duration Avg duration 23 9 2ms 0ms [ User: postgres - Total duration: 0ms - Times executed: 9 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 0ms - Times executed: 9 ]
-
select keylevelsr0_.resultuid as resultui1_6_0_, symbols1_.symbolid as symbolid1_15_1_, downloader2_.symbolid as symbolid1_11_2_, datafeedst3_.datafeedstimetableid as datafeed1_10_3_, keylevelsp4_.patternid as patterni1_13_4_, keylevelsr0_.approachingregion as approach2_6_0_, keylevelsr0_.approachingtimestamp as approach3_6_0_, keylevelsr0_.atbaridentified as atbaride4_6_0_, keylevelsr0_.atpriceidentified as atpricei5_6_0_, keylevelsr0_.bandwidth as bandwidt6_6_0_, keylevelsr0_.breakout as breakout7_6_0_, keylevelsr0_.breakoutbars as breakout8_6_0_, keylevelsr0_.breakoutprice as breakout9_6_0_, keylevelsr0_.direction as directi10_6_0_, keylevelsr0_.errormargin as errorma11_6_0_, keylevelsr0_.furthestprice as furthes12_6_0_, keylevelsr0_.gmttimefound as gmttime13_6_0_, keylevelsr0_.isrelevant as isrelev14_6_0_, keylevelsr0_.patternclassid as pattern15_6_0_, keylevelsr0_.patternendtime as pattern16_6_0_, keylevelsr0_.patternid as pattern17_6_0_, keylevelsr0_.patternlengthbars as pattern18_6_0_, keylevelsr0_.patternprice as pattern19_6_0_, keylevelsr0_.patternstarttime as pattern20_6_0_, keylevelsr0_.predictionpricefrom as predict21_6_0_, keylevelsr0_.predictionpriceto as predict22_6_0_, keylevelsr0_.predictiontimebars as predict23_6_0_, keylevelsr0_.predictiontimefrom as predict24_6_0_, keylevelsr0_.qtytp as qtytp25_6_0_, keylevelsr0_.relevancestartdistance as relevan26_6_0_, keylevelsr0_.simulation as simulat27_6_0_, keylevelsr0_.stoplosslevel as stoplos28_6_0_, keylevelsr0_.symbolid as symboli29_6_0_, keylevelsr0_.uniquepointsvalue as uniquep30_6_0_, keylevelsr0_.writtendatetime as written31_6_0_, keylevelsr0_.x0 as x32_6_0_, keylevelsr0_.x1 as x33_6_0_, keylevelsr0_.x2 as x34_6_0_, keylevelsr0_.x3 as x35_6_0_, keylevelsr0_.x4 as x36_6_0_, keylevelsr0_.x5 as x37_6_0_, keylevelsr0_.x6 as x38_6_0_, keylevelsr0_.x7 as x39_6_0_, keylevelsr0_.x8 as x40_6_0_, keylevelsr0_.x9 as x41_6_0_, symbols1_.deleted as deleted2_15_1_, symbols1_.exchange as exchange3_15_1_, symbols1_.industry as industry4_15_1_, symbols1_.location as location5_15_1_, symbols1_.longname as longname6_15_1_, symbols1_.nonliquid as nonliqui7_15_1_, symbols1_.sector as sector8_15_1_, symbols1_.shortname as shortnam9_15_1_, symbols1_.symbol as symbol10_15_1_, symbols1_.timegranularity as timegra11_15_1_, downloader2_.archive as archive2_11_2_, downloader2_.classname as classnam3_11_2_, downloader2_.configfile as configfi4_11_2_, downloader2_.datafeedinstrumentid as datafeed5_11_2_, downloader2_.downloadersymbol as download6_11_2_, downloader2_.downloadfrequency as download7_11_2_, downloader2_.enabled as enabled8_11_2_, downloader2_.endtime as endtime9_11_2_, downloader2_.starttime as startti10_11_2_, datafeedst3_.absolutetimezoneoffset as absolute2_10_3_, datafeedst3_.classname as classnam3_10_3_, datafeedst3_.dayofweek as dayofwee4_10_3_, datafeedst3_.enabledtsautoupdate as enabledt5_10_3_, datafeedst3_.hourfrom as hourfrom6_10_3_, datafeedst3_.hourto as hourto7_10_3_, datafeedst3_.minutefrom as minutefr8_10_3_, datafeedst3_.minuteto as minuteto9_10_3_, datafeedst3_.timezone as timezon10_10_3_, datafeedst3_.timezoneoffset as timezon11_10_3_, keylevelsp4_.patternname as patternn2_13_4_ from public.keylevels_results keylevelsr0_ left outer join symbols symbols1_ on keylevelsr0_.symbolid = symbols1_.symbolid left outer join downloadersymbolsettings downloader2_ on symbols1_.symbolid = downloader2_.symbolid left outer join datafeedstimetable datafeedst3_ on downloader2_.classname = datafeedst3_.classname left outer join keylevelspatterns keylevelsp4_ on keylevelsr0_.patternid = keylevelsp4_.patternid where keylevelsr0_.resultuid = $1 and datafeedst3_.dayofweek = 3;
Date: 2025-05-17 23:43:12 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250
-
select keylevelsr0_.resultuid as resultui1_6_0_, symbols1_.symbolid as symbolid1_15_1_, downloader2_.symbolid as symbolid1_11_2_, datafeedst3_.datafeedstimetableid as datafeed1_10_3_, keylevelsp4_.patternid as patterni1_13_4_, keylevelsr0_.approachingregion as approach2_6_0_, keylevelsr0_.approachingtimestamp as approach3_6_0_, keylevelsr0_.atbaridentified as atbaride4_6_0_, keylevelsr0_.atpriceidentified as atpricei5_6_0_, keylevelsr0_.bandwidth as bandwidt6_6_0_, keylevelsr0_.breakout as breakout7_6_0_, keylevelsr0_.breakoutbars as breakout8_6_0_, keylevelsr0_.breakoutprice as breakout9_6_0_, keylevelsr0_.direction as directi10_6_0_, keylevelsr0_.errormargin as errorma11_6_0_, keylevelsr0_.furthestprice as furthes12_6_0_, keylevelsr0_.gmttimefound as gmttime13_6_0_, keylevelsr0_.isrelevant as isrelev14_6_0_, keylevelsr0_.patternclassid as pattern15_6_0_, keylevelsr0_.patternendtime as pattern16_6_0_, keylevelsr0_.patternid as pattern17_6_0_, keylevelsr0_.patternlengthbars as pattern18_6_0_, keylevelsr0_.patternprice as pattern19_6_0_, keylevelsr0_.patternstarttime as pattern20_6_0_, keylevelsr0_.predictionpricefrom as predict21_6_0_, keylevelsr0_.predictionpriceto as predict22_6_0_, keylevelsr0_.predictiontimebars as predict23_6_0_, keylevelsr0_.predictiontimefrom as predict24_6_0_, keylevelsr0_.qtytp as qtytp25_6_0_, keylevelsr0_.relevancestartdistance as relevan26_6_0_, keylevelsr0_.simulation as simulat27_6_0_, keylevelsr0_.stoplosslevel as stoplos28_6_0_, keylevelsr0_.symbolid as symboli29_6_0_, keylevelsr0_.uniquepointsvalue as uniquep30_6_0_, keylevelsr0_.writtendatetime as written31_6_0_, keylevelsr0_.x0 as x32_6_0_, keylevelsr0_.x1 as x33_6_0_, keylevelsr0_.x2 as x34_6_0_, keylevelsr0_.x3 as x35_6_0_, keylevelsr0_.x4 as x36_6_0_, keylevelsr0_.x5 as x37_6_0_, keylevelsr0_.x6 as x38_6_0_, keylevelsr0_.x7 as x39_6_0_, keylevelsr0_.x8 as x40_6_0_, keylevelsr0_.x9 as x41_6_0_, symbols1_.deleted as deleted2_15_1_, symbols1_.exchange as exchange3_15_1_, symbols1_.industry as industry4_15_1_, symbols1_.location as location5_15_1_, symbols1_.longname as longname6_15_1_, symbols1_.nonliquid as nonliqui7_15_1_, symbols1_.sector as sector8_15_1_, symbols1_.shortname as shortnam9_15_1_, symbols1_.symbol as symbol10_15_1_, symbols1_.timegranularity as timegra11_15_1_, downloader2_.archive as archive2_11_2_, downloader2_.classname as classnam3_11_2_, downloader2_.configfile as configfi4_11_2_, downloader2_.datafeedinstrumentid as datafeed5_11_2_, downloader2_.downloadersymbol as download6_11_2_, downloader2_.downloadfrequency as download7_11_2_, downloader2_.enabled as enabled8_11_2_, downloader2_.endtime as endtime9_11_2_, downloader2_.starttime as startti10_11_2_, datafeedst3_.absolutetimezoneoffset as absolute2_10_3_, datafeedst3_.classname as classnam3_10_3_, datafeedst3_.dayofweek as dayofwee4_10_3_, datafeedst3_.enabledtsautoupdate as enabledt5_10_3_, datafeedst3_.hourfrom as hourfrom6_10_3_, datafeedst3_.hourto as hourto7_10_3_, datafeedst3_.minutefrom as minutefr8_10_3_, datafeedst3_.minuteto as minuteto9_10_3_, datafeedst3_.timezone as timezon10_10_3_, datafeedst3_.timezoneoffset as timezon11_10_3_, keylevelsp4_.patternname as patternn2_13_4_ from public.keylevels_results keylevelsr0_ left outer join symbols symbols1_ on keylevelsr0_.symbolid = symbols1_.symbolid left outer join downloadersymbolsettings downloader2_ on symbols1_.symbolid = downloader2_.symbolid left outer join datafeedstimetable datafeedst3_ on downloader2_.classname = datafeedst3_.classname left outer join keylevelspatterns keylevelsp4_ on keylevelsr0_.patternid = keylevelsp4_.patternid where keylevelsr0_.resultuid = $1 and datafeedst3_.dayofweek = 3;
Date: 2025-05-17 23:43:13 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250
-
select keylevelsr0_.resultuid as resultui1_6_0_, symbols1_.symbolid as symbolid1_15_1_, downloader2_.symbolid as symbolid1_11_2_, datafeedst3_.datafeedstimetableid as datafeed1_10_3_, keylevelsp4_.patternid as patterni1_13_4_, keylevelsr0_.approachingregion as approach2_6_0_, keylevelsr0_.approachingtimestamp as approach3_6_0_, keylevelsr0_.atbaridentified as atbaride4_6_0_, keylevelsr0_.atpriceidentified as atpricei5_6_0_, keylevelsr0_.bandwidth as bandwidt6_6_0_, keylevelsr0_.breakout as breakout7_6_0_, keylevelsr0_.breakoutbars as breakout8_6_0_, keylevelsr0_.breakoutprice as breakout9_6_0_, keylevelsr0_.direction as directi10_6_0_, keylevelsr0_.errormargin as errorma11_6_0_, keylevelsr0_.furthestprice as furthes12_6_0_, keylevelsr0_.gmttimefound as gmttime13_6_0_, keylevelsr0_.isrelevant as isrelev14_6_0_, keylevelsr0_.patternclassid as pattern15_6_0_, keylevelsr0_.patternendtime as pattern16_6_0_, keylevelsr0_.patternid as pattern17_6_0_, keylevelsr0_.patternlengthbars as pattern18_6_0_, keylevelsr0_.patternprice as pattern19_6_0_, keylevelsr0_.patternstarttime as pattern20_6_0_, keylevelsr0_.predictionpricefrom as predict21_6_0_, keylevelsr0_.predictionpriceto as predict22_6_0_, keylevelsr0_.predictiontimebars as predict23_6_0_, keylevelsr0_.predictiontimefrom as predict24_6_0_, keylevelsr0_.qtytp as qtytp25_6_0_, keylevelsr0_.relevancestartdistance as relevan26_6_0_, keylevelsr0_.simulation as simulat27_6_0_, keylevelsr0_.stoplosslevel as stoplos28_6_0_, keylevelsr0_.symbolid as symboli29_6_0_, keylevelsr0_.uniquepointsvalue as uniquep30_6_0_, keylevelsr0_.writtendatetime as written31_6_0_, keylevelsr0_.x0 as x32_6_0_, keylevelsr0_.x1 as x33_6_0_, keylevelsr0_.x2 as x34_6_0_, keylevelsr0_.x3 as x35_6_0_, keylevelsr0_.x4 as x36_6_0_, keylevelsr0_.x5 as x37_6_0_, keylevelsr0_.x6 as x38_6_0_, keylevelsr0_.x7 as x39_6_0_, keylevelsr0_.x8 as x40_6_0_, keylevelsr0_.x9 as x41_6_0_, symbols1_.deleted as deleted2_15_1_, symbols1_.exchange as exchange3_15_1_, symbols1_.industry as industry4_15_1_, symbols1_.location as location5_15_1_, symbols1_.longname as longname6_15_1_, symbols1_.nonliquid as nonliqui7_15_1_, symbols1_.sector as sector8_15_1_, symbols1_.shortname as shortnam9_15_1_, symbols1_.symbol as symbol10_15_1_, symbols1_.timegranularity as timegra11_15_1_, downloader2_.archive as archive2_11_2_, downloader2_.classname as classnam3_11_2_, downloader2_.configfile as configfi4_11_2_, downloader2_.datafeedinstrumentid as datafeed5_11_2_, downloader2_.downloadersymbol as download6_11_2_, downloader2_.downloadfrequency as download7_11_2_, downloader2_.enabled as enabled8_11_2_, downloader2_.endtime as endtime9_11_2_, downloader2_.starttime as startti10_11_2_, datafeedst3_.absolutetimezoneoffset as absolute2_10_3_, datafeedst3_.classname as classnam3_10_3_, datafeedst3_.dayofweek as dayofwee4_10_3_, datafeedst3_.enabledtsautoupdate as enabledt5_10_3_, datafeedst3_.hourfrom as hourfrom6_10_3_, datafeedst3_.hourto as hourto7_10_3_, datafeedst3_.minutefrom as minutefr8_10_3_, datafeedst3_.minuteto as minuteto9_10_3_, datafeedst3_.timezone as timezon10_10_3_, datafeedst3_.timezoneoffset as timezon11_10_3_, keylevelsp4_.patternname as patternn2_13_4_ from public.keylevels_results keylevelsr0_ left outer join symbols symbols1_ on keylevelsr0_.symbolid = symbols1_.symbolid left outer join downloadersymbolsettings downloader2_ on symbols1_.symbolid = downloader2_.symbolid left outer join datafeedstimetable datafeedst3_ on downloader2_.classname = datafeedst3_.classname left outer join keylevelspatterns keylevelsp4_ on keylevelsr0_.patternid = keylevelsp4_.patternid where keylevelsr0_.resultuid = $1 and datafeedst3_.dayofweek = 3;
Date: 2025-05-17 23:43:13 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250
20 2ms 188 0ms 0ms 0ms SET application_name = 'PostgreSQL JDBC Driver';Times Reported Time consuming prepare #20
Day Hour Count Duration Avg duration 23 188 2ms 0ms [ User: postgres - Total duration: 2ms - Times executed: 188 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 2ms - Times executed: 188 ]
-
SET application_name = 'PostgreSQL JDBC Driver';
Date: 2025-05-17 23:41:47 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.145
-
SET application_name = 'PostgreSQL JDBC Driver';
Date: 2025-05-17 23:07:25 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.145
-
SET application_name = 'PostgreSQL JDBC Driver';
Date: 2025-05-17 23:20:18 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.20
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 17s969ms 1,814 0ms 47ms 9ms WITH rar_max as ( ;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration May 17 23 1,814 17s969ms 9ms [ User: postgres - Total duration: 1h28m7s - Times executed: 1814 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1h21m5s - Times executed: 1754 ]
[ Application: [unknown] - Total duration: 7m1s - Times executed: 60 ]
-
WITH rar_max as ( ;
Date: 2025-05-17 23:50:55 Duration: 47ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250 parameters: $1 = 't', $2 = '667', $3 = '7', $4 = '15', $5 = '30', $6 = '60', $7 = '120', $8 = '240', $9 = '480', $10 = '1440', $11 = '0', $12 = '', $13 = '84', $14 = 'AUDCAD', $15 = 'AUDCHF', $16 = 'AUDJPY', $17 = 'AUDNZD', $18 = 'AUDSGD', $19 = 'CADCHF', $20 = 'CADJPY', $21 = 'CHFJPY', $22 = 'EURAUD', $23 = 'EURCAD', $24 = 'EURCHF', $25 = 'EURCZK', $26 = 'EURGBP', $27 = 'EURHUF', $28 = 'EURJPY', $29 = 'EURNOK', $30 = 'EURNZD', $31 = 'EURPLN', $32 = 'EURSEK', $33 = 'EURSGD', $34 = 'EURTRY', $35 = 'EURZAR', $36 = 'GBPAUD', $37 = 'GBPCAD', $38 = 'GBPCHF', $39 = 'GBPJPY', $40 = 'GBPNZD', $41 = 'GBPPLN', $42 = 'GBPSEK', $43 = 'GBPSGD', $44 = 'NZDCAD', $45 = 'NZDCHF', $46 = 'NZDJPY', $47 = 'NZDSGD', $48 = 'USDCNH', $49 = 'USDCZK', $50 = 'USDHUF', $51 = 'USDNOK', $52 = 'USDPLN', $53 = 'USDSEK', $54 = 'USDSGD', $55 = 'USDTRY', $56 = 'USDZAR', $57 = 'WTI', $58 = 'XBRUSD', $59 = 'XTIUSD', $60 = 'BTCUSD', $61 = 'XAGAUD', $62 = 'XAGUSD', $63 = 'XAUAUD', $64 = 'XAUUSD', $65 = 'XPTUSD', $66 = 'XPDUSD', $67 = 'AUDUSD', $68 = 'EURUSD', $69 = 'GBPUSD', $70 = 'NZDUSD', $71 = 'USDCAD', $72 = 'USDCHF', $73 = 'USDHKD', $74 = 'USDJPY', $75 = 'AUS200', $76 = 'CHINA300', $77 = 'CHINA50', $78 = 'DJ30', $79 = 'ESP35t', $80 = 'EUR50', $81 = 'EURO50', $82 = 'FRA40', $83 = 'GDAXI', $84 = 'GDAXIm', $85 = 'HK50', $86 = 'ITA40', $87 = 'J225', $88 = 'JP225', $89 = 'NAS100', $90 = 'SING30', $91 = 'SPA35', $92 = 'STOXX50', $93 = 'SUI20', $94 = 'UK100', $95 = 'US100', $96 = 'US30', $97 = 'US500', $98 = '0', $99 = '', $100 = '0', $101 = '0', $102 = '0', $103 = '400', $104 = '400', $105 = 't', $106 = '10', $107 = '10'
-
WITH rar_max as ( ;
Date: 2025-05-17 23:51:07 Duration: 33ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250 parameters: $1 = '667', $2 = '7', $3 = '15', $4 = '30', $5 = '60', $6 = '120', $7 = '240', $8 = '480', $9 = '1440', $10 = '0', $11 = '', $12 = '84', $13 = 'AUDCAD', $14 = 'AUDCHF', $15 = 'AUDJPY', $16 = 'AUDNZD', $17 = 'AUDSGD', $18 = 'CADCHF', $19 = 'CADJPY', $20 = 'CHFJPY', $21 = 'EURAUD', $22 = 'EURCAD', $23 = 'EURCHF', $24 = 'EURCZK', $25 = 'EURGBP', $26 = 'EURHUF', $27 = 'EURJPY', $28 = 'EURNOK', $29 = 'EURNZD', $30 = 'EURPLN', $31 = 'EURSEK', $32 = 'EURSGD', $33 = 'EURTRY', $34 = 'EURZAR', $35 = 'GBPAUD', $36 = 'GBPCAD', $37 = 'GBPCHF', $38 = 'GBPJPY', $39 = 'GBPNZD', $40 = 'GBPPLN', $41 = 'GBPSEK', $42 = 'GBPSGD', $43 = 'NZDCAD', $44 = 'NZDCHF', $45 = 'NZDJPY', $46 = 'NZDSGD', $47 = 'USDCNH', $48 = 'USDCZK', $49 = 'USDHUF', $50 = 'USDNOK', $51 = 'USDPLN', $52 = 'USDSEK', $53 = 'USDSGD', $54 = 'USDTRY', $55 = 'USDZAR', $56 = 'WTI', $57 = 'XBRUSD', $58 = 'XTIUSD', $59 = 'BTCUSD', $60 = 'XAGAUD', $61 = 'XAGUSD', $62 = 'XAUAUD', $63 = 'XAUUSD', $64 = 'XPTUSD', $65 = 'XPDUSD', $66 = 'AUDUSD', $67 = 'EURUSD', $68 = 'GBPUSD', $69 = 'NZDUSD', $70 = 'USDCAD', $71 = 'USDCHF', $72 = 'USDHKD', $73 = 'USDJPY', $74 = 'AUS200', $75 = 'CHINA300', $76 = 'CHINA50', $77 = 'DJ30', $78 = 'ESP35t', $79 = 'EUR50', $80 = 'EURO50', $81 = 'FRA40', $82 = 'GDAXI', $83 = 'GDAXIm', $84 = 'HK50', $85 = 'ITA40', $86 = 'J225', $87 = 'JP225', $88 = 'NAS100', $89 = 'SING30', $90 = 'SPA35', $91 = 'STOXX50', $92 = 'SUI20', $93 = 'UK100', $94 = 'US100', $95 = 'US30', $96 = 'US500', $97 = '400', $98 = '400', $99 = 't', $100 = '10', $101 = '10'
-
WITH rar_max as ( ;
Date: 2025-05-17 23:51:06 Duration: 33ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250 parameters: $1 = '667', $2 = '7', $3 = '15', $4 = '30', $5 = '60', $6 = '120', $7 = '240', $8 = '480', $9 = '1440', $10 = '0', $11 = '', $12 = '84', $13 = 'AUDCAD', $14 = 'AUDCHF', $15 = 'AUDJPY', $16 = 'AUDNZD', $17 = 'AUDSGD', $18 = 'CADCHF', $19 = 'CADJPY', $20 = 'CHFJPY', $21 = 'EURAUD', $22 = 'EURCAD', $23 = 'EURCHF', $24 = 'EURCZK', $25 = 'EURGBP', $26 = 'EURHUF', $27 = 'EURJPY', $28 = 'EURNOK', $29 = 'EURNZD', $30 = 'EURPLN', $31 = 'EURSEK', $32 = 'EURSGD', $33 = 'EURTRY', $34 = 'EURZAR', $35 = 'GBPAUD', $36 = 'GBPCAD', $37 = 'GBPCHF', $38 = 'GBPJPY', $39 = 'GBPNZD', $40 = 'GBPPLN', $41 = 'GBPSEK', $42 = 'GBPSGD', $43 = 'NZDCAD', $44 = 'NZDCHF', $45 = 'NZDJPY', $46 = 'NZDSGD', $47 = 'USDCNH', $48 = 'USDCZK', $49 = 'USDHUF', $50 = 'USDNOK', $51 = 'USDPLN', $52 = 'USDSEK', $53 = 'USDSGD', $54 = 'USDTRY', $55 = 'USDZAR', $56 = 'WTI', $57 = 'XBRUSD', $58 = 'XTIUSD', $59 = 'BTCUSD', $60 = 'XAGAUD', $61 = 'XAGUSD', $62 = 'XAUAUD', $63 = 'XAUUSD', $64 = 'XPTUSD', $65 = 'XPDUSD', $66 = 'AUDUSD', $67 = 'EURUSD', $68 = 'GBPUSD', $69 = 'NZDUSD', $70 = 'USDCAD', $71 = 'USDCHF', $72 = 'USDHKD', $73 = 'USDJPY', $74 = 'AUS200', $75 = 'CHINA300', $76 = 'CHINA50', $77 = 'DJ30', $78 = 'ESP35t', $79 = 'EUR50', $80 = 'EURO50', $81 = 'FRA40', $82 = 'GDAXI', $83 = 'GDAXIm', $84 = 'HK50', $85 = 'ITA40', $86 = 'J225', $87 = 'JP225', $88 = 'NAS100', $89 = 'SING30', $90 = 'SPA35', $91 = 'STOXX50', $92 = 'SUI20', $93 = 'UK100', $94 = 'US100', $95 = 'US30', $96 = 'US500', $97 = '400', $98 = '400', $99 = 't', $100 = '10', $101 = '10'
2 7s559ms 21,802 0ms 5ms 0ms SELECT ;Times Reported Time consuming bind #2
Day Hour Count Duration Avg duration 23 21,802 7s559ms 0ms [ User: postgres - Total duration: 25s957ms - Times executed: 21802 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 25s95ms - Times executed: 19325 ]
[ Application: [unknown] - Total duration: 862ms - Times executed: 2477 ]
-
SELECT ;
Date: 2025-05-17 23:52:28 Duration: 5ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.145 parameters: $1 = '515840243198780300'
-
SELECT ;
Date: 2025-05-17 23:36:23 Duration: 5ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.20 parameters: $1 = '515840243198780300'
-
SELECT ;
Date: 2025-05-17 23:30:04 Duration: 4ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.145 parameters: $1 = '515840248626964300'
3 1s6ms 553 1ms 2ms 1ms SELECT s.symbolid, dss.downloadfrequency, dss.downloadersymbol;Times Reported Time consuming bind #3
Day Hour Count Duration Avg duration 23 553 1s6ms 1ms [ User: postgres - Total duration: 846ms - Times executed: 553 ]
[ Application: [unknown] - Total duration: 846ms - Times executed: 553 ]
-
SELECT s.symbolid, dss.downloadfrequency, dss.downloadersymbol;
Date: 2025-05-17 23:15:49 Duration: 2ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = 'PEPPERSTONEMT5'
-
SELECT s.symbolid, dss.downloadfrequency, dss.downloadersymbol;
Date: 2025-05-17 23:01:17 Duration: 2ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = 'ICMARKETS-AU-MT5'
-
SELECT s.symbolid, dss.downloadfrequency, dss.downloadersymbol;
Date: 2025-05-17 23:17:09 Duration: 2ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = 'ICMARKETS-AU-MT5'
4 708ms 120 4ms 18ms 5ms WITH last_candle AS ( ;Times Reported Time consuming bind #4
Day Hour Count Duration Avg duration 23 120 708ms 5ms [ User: postgres - Total duration: 31s130ms - Times executed: 120 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 31s130ms - Times executed: 120 ]
-
WITH last_candle AS ( ;
Date: 2025-05-17 23:08:00 Duration: 18ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.145 parameters: $1 = '529', $2 = '529'
-
WITH last_candle AS ( ;
Date: 2025-05-17 23:24:01 Duration: 10ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.20 parameters: $1 = '558', $2 = '558'
-
WITH last_candle AS ( ;
Date: 2025-05-17 23:32:00 Duration: 9ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.145 parameters: $1 = '529', $2 = '529'
5 599ms 4,538 0ms 0ms 0ms INSERT INTO T15 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;Times Reported Time consuming bind #5
Day Hour Count Duration Avg duration 23 4,538 599ms 0ms [ User: postgres - Total duration: 3s413ms - Times executed: 4538 ]
[ Application: [unknown] - Total duration: 3s413ms - Times executed: 4538 ]
-
INSERT INTO T15 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2025-05-17 23:00:59 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = '2025-05-16 22:45:00', $2 = '145.8765', $3 = '145.986', $4 = '145.8755', $5 = '145.9625', $6 = '627', $7 = '515840230604694300', $8 = '0', $9 = '2025-05-17 23:00:59.072', $10 = '2025-05-17 23:00:58.909', $11 = '145.8765', $12 = '145.986', $13 = '145.8755', $14 = '145.9625', $15 = '627', $16 = '0', $17 = '2025-05-17 23:00:59.072', $18 = '2025-05-17 23:00:58.909'
-
INSERT INTO T15 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2025-05-17 23:16:09 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = '2025-05-16 23:45:00', $2 = '145.86', $3 = '145.877', $4 = '145.5565', $5 = '145.6555', $6 = '1094', $7 = '515840249375237300', $8 = '0', $9 = '2025-05-17 23:16:09.372', $10 = '2025-05-17 23:16:08.892', $11 = '145.86', $12 = '145.877', $13 = '145.5565', $14 = '145.6555', $15 = '1094', $16 = '0', $17 = '2025-05-17 23:16:09.372', $18 = '2025-05-17 23:16:08.892'
-
INSERT INTO T15 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2025-05-17 23:40:47 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = '2025-05-16 21:30:00', $2 = '8354.35', $3 = '8357.45', $4 = '8352.35', $5 = '8355.95', $6 = '85', $7 = '515840248015086300', $8 = '0', $9 = '2025-05-17 23:40:47.501', $10 = '2025-05-17 23:40:47.436', $11 = '8354.35', $12 = '8357.45', $13 = '8352.35', $14 = '8355.95', $15 = '85', $16 = '0', $17 = '2025-05-17 23:40:47.501', $18 = '2025-05-17 23:40:47.436'
6 364ms 3,424 0ms 0ms 0ms INSERT INTO T60 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;Times Reported Time consuming bind #6
Day Hour Count Duration Avg duration 23 3,424 364ms 0ms [ User: postgres - Total duration: 606ms - Times executed: 3424 ]
[ Application: [unknown] - Total duration: 606ms - Times executed: 3424 ]
-
INSERT INTO T60 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2025-05-17 23:00:45 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = '2025-05-16 21:00:00', $2 = '108.02', $3 = '108.23', $4 = '107.95', $5 = '108.06', $6 = '2096', $7 = '515840247963296300', $8 = '0', $9 = '2025-05-17 23:00:45.599', $10 = '2025-05-17 23:00:45.562', $11 = '108.02', $12 = '108.23', $13 = '107.95', $14 = '108.06', $15 = '2096', $16 = '0', $17 = '2025-05-17 23:00:45.599', $18 = '2025-05-17 23:00:45.562'
-
INSERT INTO T60 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2025-05-17 23:00:33 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = '2025-05-16 21:00:00', $2 = '75.73', $3 = '75.87', $4 = '75.65', $5 = '75.66', $6 = '806', $7 = '515840247879403300', $8 = '0', $9 = '2025-05-17 23:00:33.646', $10 = '2025-05-17 23:00:33.548', $11 = '75.73', $12 = '75.87', $13 = '75.65', $14 = '75.66', $15 = '806', $16 = '0', $17 = '2025-05-17 23:00:33.646', $18 = '2025-05-17 23:00:33.548'
-
INSERT INTO T60 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2025-05-17 23:11:45 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = '2025-05-16 21:00:00', $2 = '108.02', $3 = '108.23', $4 = '107.95', $5 = '108.06', $6 = '2096', $7 = '515840247963296300', $8 = '0', $9 = '2025-05-17 23:11:45.612', $10 = '2025-05-17 23:11:45.566', $11 = '108.02', $12 = '108.23', $13 = '107.95', $14 = '108.06', $15 = '2096', $16 = '0', $17 = '2025-05-17 23:11:45.612', $18 = '2025-05-17 23:11:45.566'
7 352ms 4,056 0ms 0ms 0ms INSERT INTO T30 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;Times Reported Time consuming bind #7
Day Hour Count Duration Avg duration 23 4,056 352ms 0ms [ User: postgres - Total duration: 687ms - Times executed: 4056 ]
[ Application: [unknown] - Total duration: 687ms - Times executed: 4056 ]
-
INSERT INTO T30 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2025-05-17 23:01:01 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = '2025-05-16 18:00:00', $2 = '23272.25', $3 = '23292.75', $4 = '23259.75', $5 = '23290.25', $6 = '1865', $7 = '515840247933633300', $8 = '0', $9 = '2025-05-17 23:01:01.863', $10 = '2025-05-17 23:01:01.776', $11 = '23272.25', $12 = '23292.75', $13 = '23259.75', $14 = '23290.25', $15 = '1865', $16 = '0', $17 = '2025-05-17 23:01:01.863', $18 = '2025-05-17 23:01:01.776'
-
INSERT INTO T30 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2025-05-17 23:31:48 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = '2025-05-16 21:00:00', $2 = '8349.95', $3 = '8354.35', $4 = '8349.35', $5 = '8353.85', $6 = '130', $7 = '515840248015340300', $8 = '0', $9 = '2025-05-17 23:31:48.683', $10 = '2025-05-17 23:31:48.593', $11 = '8349.95', $12 = '8354.35', $13 = '8349.35', $14 = '8353.85', $15 = '130', $16 = '0', $17 = '2025-05-17 23:31:48.683', $18 = '2025-05-17 23:31:48.593'
-
INSERT INTO T30 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2025-05-17 23:32:04 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = '2025-05-16 23:00:00', $2 = '21423.4', $3 = '21424.8', $4 = '21408.8', $5 = '21421.4', $6 = '2637', $7 = '515840248039147300', $8 = '0', $9 = '2025-05-17 23:32:04.806', $10 = '2025-05-17 23:32:04.728', $11 = '21423.4', $12 = '21424.8', $13 = '21408.8', $14 = '21421.4', $15 = '2637', $16 = '0', $17 = '2025-05-17 23:32:04.806', $18 = '2025-05-17 23:32:04.728'
8 282ms 30 0ms 35ms 9ms with wh_patitioned as ( ;Times Reported Time consuming bind #8
Day Hour Count Duration Avg duration 23 30 282ms 9ms [ User: postgres - Total duration: 101ms - Times executed: 30 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 101ms - Times executed: 30 ]
-
with wh_patitioned as ( ;
Date: 2025-05-17 23:09:12 Duration: 35ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.20 parameters: $1 = '558', $2 = '558', $3 = '558', $4 = '558', $5 = '558', $6 = '558', $7 = '558', $8 = '558', $9 = '558'
-
with wh_patitioned as ( ;
Date: 2025-05-17 23:56:47 Duration: 35ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250 parameters: $1 = '529', $2 = '529', $3 = '529', $4 = '529', $5 = '529', $6 = '529', $7 = '529', $8 = '529', $9 = '529'
-
with wh_patitioned as ( ;
Date: 2025-05-17 23:37:15 Duration: 29ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250 parameters: $1 = '529', $2 = '529', $3 = '529', $4 = '529', $5 = '529', $6 = '529', $7 = '529', $8 = '529', $9 = '529'
9 210ms 1,551 0ms 0ms 0ms INSERT INTO T1440_underlying (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;Times Reported Time consuming bind #9
Day Hour Count Duration Avg duration 23 1,551 210ms 0ms [ User: postgres - Total duration: 1s842ms - Times executed: 1551 ]
[ Application: [unknown] - Total duration: 1s842ms - Times executed: 1551 ]
-
INSERT INTO T1440_underlying (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2025-05-17 23:30:51 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = '2025-05-17 00:00:00', $2 = '40.32815', $3 = '40.47885', $4 = '38.95345', $5 = '39.63465', $6 = '1023505', $7 = '515840249405982300', $8 = '0', $9 = '2025-05-17 23:30:51.898', $10 = '2025-05-17 23:30:51.898', $11 = '40.32815', $12 = '40.47885', $13 = '38.95345', $14 = '39.63465', $15 = '1023505', $16 = '0', $17 = '2025-05-17 23:30:51.898', $18 = '2025-05-17 23:30:51.898'
-
INSERT INTO T1440_underlying (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2025-05-17 23:45:47 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = '2025-05-16 00:00:00', $2 = '193.8065', $3 = '193.892', $4 = '193.0395', $5 = '193.4125', $6 = '175330', $7 = '515840249382462300', $8 = '0', $9 = '2025-05-17 23:45:47.312', $10 = '2025-05-17 23:45:47.311', $11 = '193.8065', $12 = '193.892', $13 = '193.0395', $14 = '193.4125', $15 = '175330', $16 = '0', $17 = '2025-05-17 23:45:47.312', $18 = '2025-05-17 23:45:47.311'
-
INSERT INTO T1440_underlying (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2025-05-17 23:45:32 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = '2025-05-16 00:00:00', $2 = '1866341.15', $3 = '1890751.735', $4 = '1853951.295', $5 = '1869222.635', $6 = '185494', $7 = '515840249474565300', $8 = '0', $9 = '2025-05-17 23:45:32.963', $10 = '2025-05-17 23:45:32.962', $11 = '1866341.15', $12 = '1890751.735', $13 = '1853951.295', $14 = '1869222.635', $15 = '185494', $16 = '0', $17 = '2025-05-17 23:45:32.963', $18 = '2025-05-17 23:45:32.962'
10 164ms 1,671 0ms 0ms 0ms INSERT INTO T240 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;Times Reported Time consuming bind #10
Day Hour Count Duration Avg duration 23 1,671 164ms 0ms [ User: postgres - Total duration: 234ms - Times executed: 1671 ]
[ Application: [unknown] - Total duration: 234ms - Times executed: 1671 ]
-
INSERT INTO T240 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2025-05-17 23:17:40 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = '2025-05-16 16:00:00', $2 = '17.645', $3 = '17.685', $4 = '17.425', $5 = '17.565', $6 = '1028', $7 = '605679371913951300', $8 = '0', $9 = '2025-05-17 23:17:40.041', $10 = '2025-05-17 23:17:40.04', $11 = '17.645', $12 = '17.685', $13 = '17.425', $14 = '17.565', $15 = '1028', $16 = '0', $17 = '2025-05-17 23:17:40.041', $18 = '2025-05-17 23:17:40.04'
-
INSERT INTO T240 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2025-05-17 23:30:41 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = '2025-05-16 16:00:00', $2 = '17.645', $3 = '17.685', $4 = '17.425', $5 = '17.565', $6 = '1028', $7 = '605679371913951300', $8 = '0', $9 = '2025-05-17 23:30:41.62', $10 = '2025-05-17 23:30:41.619', $11 = '17.645', $12 = '17.685', $13 = '17.425', $14 = '17.565', $15 = '1028', $16 = '0', $17 = '2025-05-17 23:30:41.62', $18 = '2025-05-17 23:30:41.619'
-
INSERT INTO T240 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;
Date: 2025-05-17 23:31:44 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = '2025-03-21 16:00:00', $2 = '19.725', $3 = '19.74', $4 = '19.425', $5 = '19.445', $6 = '1224', $7 = '605679371921768300', $8 = '0', $9 = '2025-05-17 23:31:44.539', $10 = '2025-05-17 23:31:42.817', $11 = '19.725', $12 = '19.74', $13 = '19.425', $14 = '19.445', $15 = '1224', $16 = '0', $17 = '2025-05-17 23:31:44.539', $18 = '2025-05-17 23:31:42.817'
11 156ms 12,835 0ms 0ms 0ms select 1;Times Reported Time consuming bind #11
Day Hour Count Duration Avg duration 23 12,835 156ms 0ms [ User: postgres - Total duration: 41ms - Times executed: 12835 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 40ms - Times executed: 12774 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 61 ]
-
select 1;
Date: 2025-05-17 23:40:52 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.20
-
select 1;
Date: 2025-05-17 23:15:42 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.145
-
select 1;
Date: 2025-05-17 23:31:42 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250
12 132ms 13 9ms 12ms 10ms WITH /*Latest.JapSticks*/ all_results AS ( SELECT ;Times Reported Time consuming bind #12
Day Hour Count Duration Avg duration 23 13 132ms 10ms [ User: postgres - Total duration: 0ms - Times executed: 13 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 0ms - Times executed: 13 ]
-
WITH /*Latest.JapSticks*/ all_results AS ( SELECT ;
Date: 2025-05-17 23:38:15 Duration: 12ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250 parameters: $1 = '667', $2 = '0', $3 = '0', $4 = '0', $5 = '', $6 = '0', $7 = '', $8 = '0', $9 = '', $10 = '0', $11 = '0'
-
WITH /*Latest.JapSticks*/ all_results AS ( SELECT ;
Date: 2025-05-17 23:58:13 Duration: 10ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250 parameters: $1 = '667', $2 = '0', $3 = '0', $4 = '0', $5 = '', $6 = '0', $7 = '', $8 = '0', $9 = '', $10 = '0', $11 = '0'
-
WITH /*Latest.JapSticks*/ all_results AS ( SELECT ;
Date: 2025-05-17 23:23:15 Duration: 10ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250 parameters: $1 = '667', $2 = '0', $3 = '0', $4 = '0', $5 = '', $6 = '0', $7 = '', $8 = '0', $9 = '', $10 = '0', $11 = '0'
13 30ms 32 0ms 6ms 0ms select autocharti0_.resultid as resultid1_0_0_, symbols1_.symbolid as symbolid1_15_1_, downloader2_.symbolid as symbolid1_11_2_, datafeedst3_.datafeedstimetableid as datafeed1_10_3_, patterns4_.patternname as patternn1_14_4_, autocharti0_.bandwidth as bandwidt2_0_0_, autocharti0_.breakout as breakout3_0_0_, autocharti0_.direction as directio4_0_0_, autocharti0_.gmttimefound as gmttimef5_0_0_, autocharti0_.initialtrend as initialt6_0_0_, autocharti0_.latestbaratbreakoutprice as latestba7_0_0_, autocharti0_.latestbaratbreakouttime as latestba8_0_0_, autocharti0_.maxmovementafterbreakout as maxmovem9_0_0_, autocharti0_.noise as noise10_0_0_, autocharti0_.pattern as pattern11_0_0_, autocharti0_.patternendprice as pattern12_0_0_, autocharti0_.patternendtime as pattern13_0_0_, autocharti0_.patternlengthbars as pattern14_0_0_, autocharti0_.patternquality as pattern15_0_0_, autocharti0_.patternstartprice as pattern16_0_0_, autocharti0_.patternstarttime as pattern17_0_0_, autocharti0_.predictionpricefrom as predict18_0_0_, autocharti0_.predictionpriceto as predict19_0_0_, autocharti0_.predictiontimefrom as predict20_0_0_, autocharti0_.predictiontimeto as predict21_0_0_, autocharti0_.qtytp as qtytp22_0_0_, autocharti0_.relevancestartdistance as relevan23_0_0_, autocharti0_.resgradient as resgrad24_0_0_, autocharti0_.resultuid as resultu25_0_0_, autocharti0_.resx0 as resx26_0_0_, autocharti0_.resx1 as resx27_0_0_, autocharti0_.resy0 as resy28_0_0_, autocharti0_.resy1 as resy29_0_0_, autocharti0_.riskreward as riskrew30_0_0_, autocharti0_.simulation as simulat31_0_0_, autocharti0_.supportgradient as support32_0_0_, autocharti0_.supportx0 as support33_0_0_, autocharti0_.supportx1 as support34_0_0_, autocharti0_.supporty0 as support35_0_0_, autocharti0_.supporty1 as support36_0_0_, autocharti0_.symbolid as symboli37_0_0_, autocharti0_.symmetry as symmetr38_0_0_, autocharti0_.temporarypattern as tempora39_0_0_, autocharti0_.trendchange as trendch40_0_0_, autocharti0_.volumeincrease as volumei41_0_0_, autocharti0_.writtendatetime as written42_0_0_, symbols1_.deleted as deleted2_15_1_, symbols1_.exchange as exchange3_15_1_, symbols1_.industry as industry4_15_1_, symbols1_.location as location5_15_1_, symbols1_.longname as longname6_15_1_, symbols1_.nonliquid as nonliqui7_15_1_, symbols1_.sector as sector8_15_1_, symbols1_.shortname as shortnam9_15_1_, symbols1_.symbol as symbol10_15_1_, symbols1_.timegranularity as timegra11_15_1_, downloader2_.archive as archive2_11_2_, downloader2_.classname as classnam3_11_2_, downloader2_.configfile as configfi4_11_2_, downloader2_.datafeedinstrumentid as datafeed5_11_2_, downloader2_.downloadersymbol as download6_11_2_, downloader2_.downloadfrequency as download7_11_2_, downloader2_.enabled as enabled8_11_2_, downloader2_.endtime as endtime9_11_2_, downloader2_.starttime as startti10_11_2_, datafeedst3_.absolutetimezoneoffset as absolute2_10_3_, datafeedst3_.classname as classnam3_10_3_, datafeedst3_.dayofweek as dayofwee4_10_3_, datafeedst3_.enabledtsautoupdate as enabledt5_10_3_, datafeedst3_.hourfrom as hourfrom6_10_3_, datafeedst3_.hourto as hourto7_10_3_, datafeedst3_.minutefrom as minutefr8_10_3_, datafeedst3_.minuteto as minuteto9_10_3_, datafeedst3_.timezone as timezon10_10_3_, datafeedst3_.timezoneoffset as timezon11_10_3_, patterns4_.patternid as patterni2_14_4_ from public.autochartist_results autocharti0_ left outer join symbols symbols1_ on autocharti0_.symbolid = symbols1_.symbolid left outer join downloadersymbolsettings downloader2_ on symbols1_.symbolid = downloader2_.symbolid left outer join datafeedstimetable datafeedst3_ on downloader2_.classname = datafeedst3_.classname left outer join patterns patterns4_ on autocharti0_.pattern = patterns4_.patternname where autocharti0_.resultuid = $1 and datafeedst3_.dayofweek = 3;Times Reported Time consuming bind #13
Day Hour Count Duration Avg duration 23 32 30ms 0ms [ User: postgres - Total duration: 3ms - Times executed: 32 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 3ms - Times executed: 32 ]
-
select autocharti0_.resultid as resultid1_0_0_, symbols1_.symbolid as symbolid1_15_1_, downloader2_.symbolid as symbolid1_11_2_, datafeedst3_.datafeedstimetableid as datafeed1_10_3_, patterns4_.patternname as patternn1_14_4_, autocharti0_.bandwidth as bandwidt2_0_0_, autocharti0_.breakout as breakout3_0_0_, autocharti0_.direction as directio4_0_0_, autocharti0_.gmttimefound as gmttimef5_0_0_, autocharti0_.initialtrend as initialt6_0_0_, autocharti0_.latestbaratbreakoutprice as latestba7_0_0_, autocharti0_.latestbaratbreakouttime as latestba8_0_0_, autocharti0_.maxmovementafterbreakout as maxmovem9_0_0_, autocharti0_.noise as noise10_0_0_, autocharti0_.pattern as pattern11_0_0_, autocharti0_.patternendprice as pattern12_0_0_, autocharti0_.patternendtime as pattern13_0_0_, autocharti0_.patternlengthbars as pattern14_0_0_, autocharti0_.patternquality as pattern15_0_0_, autocharti0_.patternstartprice as pattern16_0_0_, autocharti0_.patternstarttime as pattern17_0_0_, autocharti0_.predictionpricefrom as predict18_0_0_, autocharti0_.predictionpriceto as predict19_0_0_, autocharti0_.predictiontimefrom as predict20_0_0_, autocharti0_.predictiontimeto as predict21_0_0_, autocharti0_.qtytp as qtytp22_0_0_, autocharti0_.relevancestartdistance as relevan23_0_0_, autocharti0_.resgradient as resgrad24_0_0_, autocharti0_.resultuid as resultu25_0_0_, autocharti0_.resx0 as resx26_0_0_, autocharti0_.resx1 as resx27_0_0_, autocharti0_.resy0 as resy28_0_0_, autocharti0_.resy1 as resy29_0_0_, autocharti0_.riskreward as riskrew30_0_0_, autocharti0_.simulation as simulat31_0_0_, autocharti0_.supportgradient as support32_0_0_, autocharti0_.supportx0 as support33_0_0_, autocharti0_.supportx1 as support34_0_0_, autocharti0_.supporty0 as support35_0_0_, autocharti0_.supporty1 as support36_0_0_, autocharti0_.symbolid as symboli37_0_0_, autocharti0_.symmetry as symmetr38_0_0_, autocharti0_.temporarypattern as tempora39_0_0_, autocharti0_.trendchange as trendch40_0_0_, autocharti0_.volumeincrease as volumei41_0_0_, autocharti0_.writtendatetime as written42_0_0_, symbols1_.deleted as deleted2_15_1_, symbols1_.exchange as exchange3_15_1_, symbols1_.industry as industry4_15_1_, symbols1_.location as location5_15_1_, symbols1_.longname as longname6_15_1_, symbols1_.nonliquid as nonliqui7_15_1_, symbols1_.sector as sector8_15_1_, symbols1_.shortname as shortnam9_15_1_, symbols1_.symbol as symbol10_15_1_, symbols1_.timegranularity as timegra11_15_1_, downloader2_.archive as archive2_11_2_, downloader2_.classname as classnam3_11_2_, downloader2_.configfile as configfi4_11_2_, downloader2_.datafeedinstrumentid as datafeed5_11_2_, downloader2_.downloadersymbol as download6_11_2_, downloader2_.downloadfrequency as download7_11_2_, downloader2_.enabled as enabled8_11_2_, downloader2_.endtime as endtime9_11_2_, downloader2_.starttime as startti10_11_2_, datafeedst3_.absolutetimezoneoffset as absolute2_10_3_, datafeedst3_.classname as classnam3_10_3_, datafeedst3_.dayofweek as dayofwee4_10_3_, datafeedst3_.enabledtsautoupdate as enabledt5_10_3_, datafeedst3_.hourfrom as hourfrom6_10_3_, datafeedst3_.hourto as hourto7_10_3_, datafeedst3_.minutefrom as minutefr8_10_3_, datafeedst3_.minuteto as minuteto9_10_3_, datafeedst3_.timezone as timezon10_10_3_, datafeedst3_.timezoneoffset as timezon11_10_3_, patterns4_.patternid as patterni2_14_4_ from public.autochartist_results autocharti0_ left outer join symbols symbols1_ on autocharti0_.symbolid = symbols1_.symbolid left outer join downloadersymbolsettings downloader2_ on symbols1_.symbolid = downloader2_.symbolid left outer join datafeedstimetable datafeedst3_ on downloader2_.classname = datafeedst3_.classname left outer join patterns patterns4_ on autocharti0_.pattern = patterns4_.patternname where autocharti0_.resultuid = $1 and datafeedst3_.dayofweek = 3;
Date: 2025-05-17 23:43:10 Duration: 6ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250 parameters: $1 = '606100239911959301'
-
select autocharti0_.resultid as resultid1_0_0_, symbols1_.symbolid as symbolid1_15_1_, downloader2_.symbolid as symbolid1_11_2_, datafeedst3_.datafeedstimetableid as datafeed1_10_3_, patterns4_.patternname as patternn1_14_4_, autocharti0_.bandwidth as bandwidt2_0_0_, autocharti0_.breakout as breakout3_0_0_, autocharti0_.direction as directio4_0_0_, autocharti0_.gmttimefound as gmttimef5_0_0_, autocharti0_.initialtrend as initialt6_0_0_, autocharti0_.latestbaratbreakoutprice as latestba7_0_0_, autocharti0_.latestbaratbreakouttime as latestba8_0_0_, autocharti0_.maxmovementafterbreakout as maxmovem9_0_0_, autocharti0_.noise as noise10_0_0_, autocharti0_.pattern as pattern11_0_0_, autocharti0_.patternendprice as pattern12_0_0_, autocharti0_.patternendtime as pattern13_0_0_, autocharti0_.patternlengthbars as pattern14_0_0_, autocharti0_.patternquality as pattern15_0_0_, autocharti0_.patternstartprice as pattern16_0_0_, autocharti0_.patternstarttime as pattern17_0_0_, autocharti0_.predictionpricefrom as predict18_0_0_, autocharti0_.predictionpriceto as predict19_0_0_, autocharti0_.predictiontimefrom as predict20_0_0_, autocharti0_.predictiontimeto as predict21_0_0_, autocharti0_.qtytp as qtytp22_0_0_, autocharti0_.relevancestartdistance as relevan23_0_0_, autocharti0_.resgradient as resgrad24_0_0_, autocharti0_.resultuid as resultu25_0_0_, autocharti0_.resx0 as resx26_0_0_, autocharti0_.resx1 as resx27_0_0_, autocharti0_.resy0 as resy28_0_0_, autocharti0_.resy1 as resy29_0_0_, autocharti0_.riskreward as riskrew30_0_0_, autocharti0_.simulation as simulat31_0_0_, autocharti0_.supportgradient as support32_0_0_, autocharti0_.supportx0 as support33_0_0_, autocharti0_.supportx1 as support34_0_0_, autocharti0_.supporty0 as support35_0_0_, autocharti0_.supporty1 as support36_0_0_, autocharti0_.symbolid as symboli37_0_0_, autocharti0_.symmetry as symmetr38_0_0_, autocharti0_.temporarypattern as tempora39_0_0_, autocharti0_.trendchange as trendch40_0_0_, autocharti0_.volumeincrease as volumei41_0_0_, autocharti0_.writtendatetime as written42_0_0_, symbols1_.deleted as deleted2_15_1_, symbols1_.exchange as exchange3_15_1_, symbols1_.industry as industry4_15_1_, symbols1_.location as location5_15_1_, symbols1_.longname as longname6_15_1_, symbols1_.nonliquid as nonliqui7_15_1_, symbols1_.sector as sector8_15_1_, symbols1_.shortname as shortnam9_15_1_, symbols1_.symbol as symbol10_15_1_, symbols1_.timegranularity as timegra11_15_1_, downloader2_.archive as archive2_11_2_, downloader2_.classname as classnam3_11_2_, downloader2_.configfile as configfi4_11_2_, downloader2_.datafeedinstrumentid as datafeed5_11_2_, downloader2_.downloadersymbol as download6_11_2_, downloader2_.downloadfrequency as download7_11_2_, downloader2_.enabled as enabled8_11_2_, downloader2_.endtime as endtime9_11_2_, downloader2_.starttime as startti10_11_2_, datafeedst3_.absolutetimezoneoffset as absolute2_10_3_, datafeedst3_.classname as classnam3_10_3_, datafeedst3_.dayofweek as dayofwee4_10_3_, datafeedst3_.enabledtsautoupdate as enabledt5_10_3_, datafeedst3_.hourfrom as hourfrom6_10_3_, datafeedst3_.hourto as hourto7_10_3_, datafeedst3_.minutefrom as minutefr8_10_3_, datafeedst3_.minuteto as minuteto9_10_3_, datafeedst3_.timezone as timezon10_10_3_, datafeedst3_.timezoneoffset as timezon11_10_3_, patterns4_.patternid as patterni2_14_4_ from public.autochartist_results autocharti0_ left outer join symbols symbols1_ on autocharti0_.symbolid = symbols1_.symbolid left outer join downloadersymbolsettings downloader2_ on symbols1_.symbolid = downloader2_.symbolid left outer join datafeedstimetable datafeedst3_ on downloader2_.classname = datafeedst3_.classname left outer join patterns patterns4_ on autocharti0_.pattern = patterns4_.patternname where autocharti0_.resultuid = $1 and datafeedst3_.dayofweek = 3;
Date: 2025-05-17 23:43:10 Duration: 4ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250 parameters: $1 = '606100239981176301'
-
select autocharti0_.resultid as resultid1_0_0_, symbols1_.symbolid as symbolid1_15_1_, downloader2_.symbolid as symbolid1_11_2_, datafeedst3_.datafeedstimetableid as datafeed1_10_3_, patterns4_.patternname as patternn1_14_4_, autocharti0_.bandwidth as bandwidt2_0_0_, autocharti0_.breakout as breakout3_0_0_, autocharti0_.direction as directio4_0_0_, autocharti0_.gmttimefound as gmttimef5_0_0_, autocharti0_.initialtrend as initialt6_0_0_, autocharti0_.latestbaratbreakoutprice as latestba7_0_0_, autocharti0_.latestbaratbreakouttime as latestba8_0_0_, autocharti0_.maxmovementafterbreakout as maxmovem9_0_0_, autocharti0_.noise as noise10_0_0_, autocharti0_.pattern as pattern11_0_0_, autocharti0_.patternendprice as pattern12_0_0_, autocharti0_.patternendtime as pattern13_0_0_, autocharti0_.patternlengthbars as pattern14_0_0_, autocharti0_.patternquality as pattern15_0_0_, autocharti0_.patternstartprice as pattern16_0_0_, autocharti0_.patternstarttime as pattern17_0_0_, autocharti0_.predictionpricefrom as predict18_0_0_, autocharti0_.predictionpriceto as predict19_0_0_, autocharti0_.predictiontimefrom as predict20_0_0_, autocharti0_.predictiontimeto as predict21_0_0_, autocharti0_.qtytp as qtytp22_0_0_, autocharti0_.relevancestartdistance as relevan23_0_0_, autocharti0_.resgradient as resgrad24_0_0_, autocharti0_.resultuid as resultu25_0_0_, autocharti0_.resx0 as resx26_0_0_, autocharti0_.resx1 as resx27_0_0_, autocharti0_.resy0 as resy28_0_0_, autocharti0_.resy1 as resy29_0_0_, autocharti0_.riskreward as riskrew30_0_0_, autocharti0_.simulation as simulat31_0_0_, autocharti0_.supportgradient as support32_0_0_, autocharti0_.supportx0 as support33_0_0_, autocharti0_.supportx1 as support34_0_0_, autocharti0_.supporty0 as support35_0_0_, autocharti0_.supporty1 as support36_0_0_, autocharti0_.symbolid as symboli37_0_0_, autocharti0_.symmetry as symmetr38_0_0_, autocharti0_.temporarypattern as tempora39_0_0_, autocharti0_.trendchange as trendch40_0_0_, autocharti0_.volumeincrease as volumei41_0_0_, autocharti0_.writtendatetime as written42_0_0_, symbols1_.deleted as deleted2_15_1_, symbols1_.exchange as exchange3_15_1_, symbols1_.industry as industry4_15_1_, symbols1_.location as location5_15_1_, symbols1_.longname as longname6_15_1_, symbols1_.nonliquid as nonliqui7_15_1_, symbols1_.sector as sector8_15_1_, symbols1_.shortname as shortnam9_15_1_, symbols1_.symbol as symbol10_15_1_, symbols1_.timegranularity as timegra11_15_1_, downloader2_.archive as archive2_11_2_, downloader2_.classname as classnam3_11_2_, downloader2_.configfile as configfi4_11_2_, downloader2_.datafeedinstrumentid as datafeed5_11_2_, downloader2_.downloadersymbol as download6_11_2_, downloader2_.downloadfrequency as download7_11_2_, downloader2_.enabled as enabled8_11_2_, downloader2_.endtime as endtime9_11_2_, downloader2_.starttime as startti10_11_2_, datafeedst3_.absolutetimezoneoffset as absolute2_10_3_, datafeedst3_.classname as classnam3_10_3_, datafeedst3_.dayofweek as dayofwee4_10_3_, datafeedst3_.enabledtsautoupdate as enabledt5_10_3_, datafeedst3_.hourfrom as hourfrom6_10_3_, datafeedst3_.hourto as hourto7_10_3_, datafeedst3_.minutefrom as minutefr8_10_3_, datafeedst3_.minuteto as minuteto9_10_3_, datafeedst3_.timezone as timezon10_10_3_, datafeedst3_.timezoneoffset as timezon11_10_3_, patterns4_.patternid as patterni2_14_4_ from public.autochartist_results autocharti0_ left outer join symbols symbols1_ on autocharti0_.symbolid = symbols1_.symbolid left outer join downloadersymbolsettings downloader2_ on symbols1_.symbolid = downloader2_.symbolid left outer join datafeedstimetable datafeedst3_ on downloader2_.classname = datafeedst3_.classname left outer join patterns patterns4_ on autocharti0_.pattern = patterns4_.patternname where autocharti0_.resultuid = $1 and datafeedst3_.dayofweek = 3;
Date: 2025-05-17 23:43:13 Duration: 1ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250 parameters: $1 = '606123595880378301'
14 25ms 32 0ms 2ms 0ms select distinct t240x0_.symbolid as symbolid1_18_0_, t240x0_.pricedatetime as pricedat2_18_0_, symbols1_.symbolid as symbolid1_15_1_, downloader2_.symbolid as symbolid1_11_2_, datafeedst3_.datafeedstimetableid as datafeed1_10_3_, t240x0_.bsf as bsf3_18_0_, t240x0_.close as close4_18_0_, t240x0_.high as high5_18_0_, t240x0_.low as low6_18_0_, t240x0_.open as open7_18_0_, t240x0_.pricesadjusted as pricesad8_18_0_, t240x0_.recengprocessedadjusted as recengpr9_18_0_, t240x0_.relevanceprocessed as relevan10_18_0_, t240x0_.sastdatetimereceived as sastdat11_18_0_, t240x0_.sastdatetimewritten as sastdat12_18_0_, t240x0_.volume as volume13_18_0_, symbols1_.deleted as deleted2_15_1_, symbols1_.exchange as exchange3_15_1_, symbols1_.industry as industry4_15_1_, symbols1_.location as location5_15_1_, symbols1_.longname as longname6_15_1_, symbols1_.nonliquid as nonliqui7_15_1_, symbols1_.sector as sector8_15_1_, symbols1_.shortname as shortnam9_15_1_, symbols1_.symbol as symbol10_15_1_, symbols1_.timegranularity as timegra11_15_1_, downloader2_.archive as archive2_11_2_, downloader2_.classname as classnam3_11_2_, downloader2_.configfile as configfi4_11_2_, downloader2_.datafeedinstrumentid as datafeed5_11_2_, downloader2_.downloadersymbol as download6_11_2_, downloader2_.downloadfrequency as download7_11_2_, downloader2_.enabled as enabled8_11_2_, downloader2_.endtime as endtime9_11_2_, downloader2_.starttime as startti10_11_2_, datafeedst3_.absolutetimezoneoffset as absolute2_10_3_, datafeedst3_.classname as classnam3_10_3_, datafeedst3_.dayofweek as dayofwee4_10_3_, datafeedst3_.enabledtsautoupdate as enabledt5_10_3_, datafeedst3_.hourfrom as hourfrom6_10_3_, datafeedst3_.hourto as hourto7_10_3_, datafeedst3_.minutefrom as minutefr8_10_3_, datafeedst3_.minuteto as minuteto9_10_3_, datafeedst3_.timezone as timezon10_10_3_, datafeedst3_.timezoneoffset as timezon11_10_3_ from t240 t240x0_ inner join symbols symbols1_ on t240x0_.symbolid = symbols1_.symbolid left outer join downloadersymbolsettings downloader2_ on symbols1_.symbolid = downloader2_.symbolid left outer join datafeedstimetable datafeedst3_ on downloader2_.classname = datafeedst3_.classname where t240x0_.symbolid = $1 and t240x0_.pricedatetime >= $2 and t240x0_.pricedatetime <= $3 and datafeedst3_.dayofweek = 5 order by t240x0_.pricedatetime asc;Times Reported Time consuming bind #14
Day Hour Count Duration Avg duration 23 32 25ms 0ms [ User: postgres - Total duration: 37ms - Times executed: 32 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 37ms - Times executed: 32 ]
-
select distinct t240x0_.symbolid as symbolid1_18_0_, t240x0_.pricedatetime as pricedat2_18_0_, symbols1_.symbolid as symbolid1_15_1_, downloader2_.symbolid as symbolid1_11_2_, datafeedst3_.datafeedstimetableid as datafeed1_10_3_, t240x0_.bsf as bsf3_18_0_, t240x0_.close as close4_18_0_, t240x0_.high as high5_18_0_, t240x0_.low as low6_18_0_, t240x0_.open as open7_18_0_, t240x0_.pricesadjusted as pricesad8_18_0_, t240x0_.recengprocessedadjusted as recengpr9_18_0_, t240x0_.relevanceprocessed as relevan10_18_0_, t240x0_.sastdatetimereceived as sastdat11_18_0_, t240x0_.sastdatetimewritten as sastdat12_18_0_, t240x0_.volume as volume13_18_0_, symbols1_.deleted as deleted2_15_1_, symbols1_.exchange as exchange3_15_1_, symbols1_.industry as industry4_15_1_, symbols1_.location as location5_15_1_, symbols1_.longname as longname6_15_1_, symbols1_.nonliquid as nonliqui7_15_1_, symbols1_.sector as sector8_15_1_, symbols1_.shortname as shortnam9_15_1_, symbols1_.symbol as symbol10_15_1_, symbols1_.timegranularity as timegra11_15_1_, downloader2_.archive as archive2_11_2_, downloader2_.classname as classnam3_11_2_, downloader2_.configfile as configfi4_11_2_, downloader2_.datafeedinstrumentid as datafeed5_11_2_, downloader2_.downloadersymbol as download6_11_2_, downloader2_.downloadfrequency as download7_11_2_, downloader2_.enabled as enabled8_11_2_, downloader2_.endtime as endtime9_11_2_, downloader2_.starttime as startti10_11_2_, datafeedst3_.absolutetimezoneoffset as absolute2_10_3_, datafeedst3_.classname as classnam3_10_3_, datafeedst3_.dayofweek as dayofwee4_10_3_, datafeedst3_.enabledtsautoupdate as enabledt5_10_3_, datafeedst3_.hourfrom as hourfrom6_10_3_, datafeedst3_.hourto as hourto7_10_3_, datafeedst3_.minutefrom as minutefr8_10_3_, datafeedst3_.minuteto as minuteto9_10_3_, datafeedst3_.timezone as timezon10_10_3_, datafeedst3_.timezoneoffset as timezon11_10_3_ from t240 t240x0_ inner join symbols symbols1_ on t240x0_.symbolid = symbols1_.symbolid left outer join downloadersymbolsettings downloader2_ on symbols1_.symbolid = downloader2_.symbolid left outer join datafeedstimetable datafeedst3_ on downloader2_.classname = datafeedst3_.classname where t240x0_.symbolid = $1 and t240x0_.pricedatetime >= $2 and t240x0_.pricedatetime <= $3 and datafeedst3_.dayofweek = 5 order by t240x0_.pricedatetime asc;
Date: 2025-05-17 23:43:13 Duration: 2ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250 parameters: $1 = '515840243276293300', $2 = '2025-03-25 12:00:00', $3 = '2025-05-16 00:00:00'
-
select distinct t240x0_.symbolid as symbolid1_18_0_, t240x0_.pricedatetime as pricedat2_18_0_, symbols1_.symbolid as symbolid1_15_1_, downloader2_.symbolid as symbolid1_11_2_, datafeedst3_.datafeedstimetableid as datafeed1_10_3_, t240x0_.bsf as bsf3_18_0_, t240x0_.close as close4_18_0_, t240x0_.high as high5_18_0_, t240x0_.low as low6_18_0_, t240x0_.open as open7_18_0_, t240x0_.pricesadjusted as pricesad8_18_0_, t240x0_.recengprocessedadjusted as recengpr9_18_0_, t240x0_.relevanceprocessed as relevan10_18_0_, t240x0_.sastdatetimereceived as sastdat11_18_0_, t240x0_.sastdatetimewritten as sastdat12_18_0_, t240x0_.volume as volume13_18_0_, symbols1_.deleted as deleted2_15_1_, symbols1_.exchange as exchange3_15_1_, symbols1_.industry as industry4_15_1_, symbols1_.location as location5_15_1_, symbols1_.longname as longname6_15_1_, symbols1_.nonliquid as nonliqui7_15_1_, symbols1_.sector as sector8_15_1_, symbols1_.shortname as shortnam9_15_1_, symbols1_.symbol as symbol10_15_1_, symbols1_.timegranularity as timegra11_15_1_, downloader2_.archive as archive2_11_2_, downloader2_.classname as classnam3_11_2_, downloader2_.configfile as configfi4_11_2_, downloader2_.datafeedinstrumentid as datafeed5_11_2_, downloader2_.downloadersymbol as download6_11_2_, downloader2_.downloadfrequency as download7_11_2_, downloader2_.enabled as enabled8_11_2_, downloader2_.endtime as endtime9_11_2_, downloader2_.starttime as startti10_11_2_, datafeedst3_.absolutetimezoneoffset as absolute2_10_3_, datafeedst3_.classname as classnam3_10_3_, datafeedst3_.dayofweek as dayofwee4_10_3_, datafeedst3_.enabledtsautoupdate as enabledt5_10_3_, datafeedst3_.hourfrom as hourfrom6_10_3_, datafeedst3_.hourto as hourto7_10_3_, datafeedst3_.minutefrom as minutefr8_10_3_, datafeedst3_.minuteto as minuteto9_10_3_, datafeedst3_.timezone as timezon10_10_3_, datafeedst3_.timezoneoffset as timezon11_10_3_ from t240 t240x0_ inner join symbols symbols1_ on t240x0_.symbolid = symbols1_.symbolid left outer join downloadersymbolsettings downloader2_ on symbols1_.symbolid = downloader2_.symbolid left outer join datafeedstimetable datafeedst3_ on downloader2_.classname = datafeedst3_.classname where t240x0_.symbolid = $1 and t240x0_.pricedatetime >= $2 and t240x0_.pricedatetime <= $3 and datafeedst3_.dayofweek = 5 order by t240x0_.pricedatetime asc;
Date: 2025-05-17 23:43:14 Duration: 1ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250 parameters: $1 = '515840243243525300', $2 = '2025-05-05 04:00:00', $3 = '2025-05-16 04:00:00'
-
select distinct t240x0_.symbolid as symbolid1_18_0_, t240x0_.pricedatetime as pricedat2_18_0_, symbols1_.symbolid as symbolid1_15_1_, downloader2_.symbolid as symbolid1_11_2_, datafeedst3_.datafeedstimetableid as datafeed1_10_3_, t240x0_.bsf as bsf3_18_0_, t240x0_.close as close4_18_0_, t240x0_.high as high5_18_0_, t240x0_.low as low6_18_0_, t240x0_.open as open7_18_0_, t240x0_.pricesadjusted as pricesad8_18_0_, t240x0_.recengprocessedadjusted as recengpr9_18_0_, t240x0_.relevanceprocessed as relevan10_18_0_, t240x0_.sastdatetimereceived as sastdat11_18_0_, t240x0_.sastdatetimewritten as sastdat12_18_0_, t240x0_.volume as volume13_18_0_, symbols1_.deleted as deleted2_15_1_, symbols1_.exchange as exchange3_15_1_, symbols1_.industry as industry4_15_1_, symbols1_.location as location5_15_1_, symbols1_.longname as longname6_15_1_, symbols1_.nonliquid as nonliqui7_15_1_, symbols1_.sector as sector8_15_1_, symbols1_.shortname as shortnam9_15_1_, symbols1_.symbol as symbol10_15_1_, symbols1_.timegranularity as timegra11_15_1_, downloader2_.archive as archive2_11_2_, downloader2_.classname as classnam3_11_2_, downloader2_.configfile as configfi4_11_2_, downloader2_.datafeedinstrumentid as datafeed5_11_2_, downloader2_.downloadersymbol as download6_11_2_, downloader2_.downloadfrequency as download7_11_2_, downloader2_.enabled as enabled8_11_2_, downloader2_.endtime as endtime9_11_2_, downloader2_.starttime as startti10_11_2_, datafeedst3_.absolutetimezoneoffset as absolute2_10_3_, datafeedst3_.classname as classnam3_10_3_, datafeedst3_.dayofweek as dayofwee4_10_3_, datafeedst3_.enabledtsautoupdate as enabledt5_10_3_, datafeedst3_.hourfrom as hourfrom6_10_3_, datafeedst3_.hourto as hourto7_10_3_, datafeedst3_.minutefrom as minutefr8_10_3_, datafeedst3_.minuteto as minuteto9_10_3_, datafeedst3_.timezone as timezon10_10_3_, datafeedst3_.timezoneoffset as timezon11_10_3_ from t240 t240x0_ inner join symbols symbols1_ on t240x0_.symbolid = symbols1_.symbolid left outer join downloadersymbolsettings downloader2_ on symbols1_.symbolid = downloader2_.symbolid left outer join datafeedstimetable datafeedst3_ on downloader2_.classname = datafeedst3_.classname where t240x0_.symbolid = $1 and t240x0_.pricedatetime >= $2 and t240x0_.pricedatetime <= $3 and datafeedst3_.dayofweek = 5 order by t240x0_.pricedatetime asc;
Date: 2025-05-17 23:43:14 Duration: 1ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250 parameters: $1 = '515840243278038300', $2 = '2025-03-21 00:00:00', $3 = '2025-05-16 04:00:00'
15 23ms 5 3ms 5ms 4ms SELECT DISTINCT ON (basegroupname, symbol) ;Times Reported Time consuming bind #15
Day Hour Count Duration Avg duration 23 5 23ms 4ms [ User: postgres - Total duration: 530ms - Times executed: 5 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 530ms - Times executed: 5 ]
-
SELECT DISTINCT ON (basegroupname, symbol) ;
Date: 2025-05-17 23:46:00 Duration: 5ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.20 parameters: $1 = '627', $2 = '627'
-
SELECT DISTINCT ON (basegroupname, symbol) ;
Date: 2025-05-17 23:56:00 Duration: 5ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250 parameters: $1 = '627', $2 = '627'
-
SELECT DISTINCT ON (basegroupname, symbol) ;
Date: 2025-05-17 23:11:24 Duration: 5ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250 parameters: $1 = '958', $2 = '958'
16 19ms 27 0ms 2ms 0ms select keylevelsr0_.resultuid as resultui1_6_0_, symbols1_.symbolid as symbolid1_15_1_, downloader2_.symbolid as symbolid1_11_2_, datafeedst3_.datafeedstimetableid as datafeed1_10_3_, keylevelsp4_.patternid as patterni1_13_4_, keylevelsr0_.approachingregion as approach2_6_0_, keylevelsr0_.approachingtimestamp as approach3_6_0_, keylevelsr0_.atbaridentified as atbaride4_6_0_, keylevelsr0_.atpriceidentified as atpricei5_6_0_, keylevelsr0_.bandwidth as bandwidt6_6_0_, keylevelsr0_.breakout as breakout7_6_0_, keylevelsr0_.breakoutbars as breakout8_6_0_, keylevelsr0_.breakoutprice as breakout9_6_0_, keylevelsr0_.direction as directi10_6_0_, keylevelsr0_.errormargin as errorma11_6_0_, keylevelsr0_.furthestprice as furthes12_6_0_, keylevelsr0_.gmttimefound as gmttime13_6_0_, keylevelsr0_.isrelevant as isrelev14_6_0_, keylevelsr0_.patternclassid as pattern15_6_0_, keylevelsr0_.patternendtime as pattern16_6_0_, keylevelsr0_.patternid as pattern17_6_0_, keylevelsr0_.patternlengthbars as pattern18_6_0_, keylevelsr0_.patternprice as pattern19_6_0_, keylevelsr0_.patternstarttime as pattern20_6_0_, keylevelsr0_.predictionpricefrom as predict21_6_0_, keylevelsr0_.predictionpriceto as predict22_6_0_, keylevelsr0_.predictiontimebars as predict23_6_0_, keylevelsr0_.predictiontimefrom as predict24_6_0_, keylevelsr0_.qtytp as qtytp25_6_0_, keylevelsr0_.relevancestartdistance as relevan26_6_0_, keylevelsr0_.simulation as simulat27_6_0_, keylevelsr0_.stoplosslevel as stoplos28_6_0_, keylevelsr0_.symbolid as symboli29_6_0_, keylevelsr0_.uniquepointsvalue as uniquep30_6_0_, keylevelsr0_.writtendatetime as written31_6_0_, keylevelsr0_.x0 as x32_6_0_, keylevelsr0_.x1 as x33_6_0_, keylevelsr0_.x2 as x34_6_0_, keylevelsr0_.x3 as x35_6_0_, keylevelsr0_.x4 as x36_6_0_, keylevelsr0_.x5 as x37_6_0_, keylevelsr0_.x6 as x38_6_0_, keylevelsr0_.x7 as x39_6_0_, keylevelsr0_.x8 as x40_6_0_, keylevelsr0_.x9 as x41_6_0_, symbols1_.deleted as deleted2_15_1_, symbols1_.exchange as exchange3_15_1_, symbols1_.industry as industry4_15_1_, symbols1_.location as location5_15_1_, symbols1_.longname as longname6_15_1_, symbols1_.nonliquid as nonliqui7_15_1_, symbols1_.sector as sector8_15_1_, symbols1_.shortname as shortnam9_15_1_, symbols1_.symbol as symbol10_15_1_, symbols1_.timegranularity as timegra11_15_1_, downloader2_.archive as archive2_11_2_, downloader2_.classname as classnam3_11_2_, downloader2_.configfile as configfi4_11_2_, downloader2_.datafeedinstrumentid as datafeed5_11_2_, downloader2_.downloadersymbol as download6_11_2_, downloader2_.downloadfrequency as download7_11_2_, downloader2_.enabled as enabled8_11_2_, downloader2_.endtime as endtime9_11_2_, downloader2_.starttime as startti10_11_2_, datafeedst3_.absolutetimezoneoffset as absolute2_10_3_, datafeedst3_.classname as classnam3_10_3_, datafeedst3_.dayofweek as dayofwee4_10_3_, datafeedst3_.enabledtsautoupdate as enabledt5_10_3_, datafeedst3_.hourfrom as hourfrom6_10_3_, datafeedst3_.hourto as hourto7_10_3_, datafeedst3_.minutefrom as minutefr8_10_3_, datafeedst3_.minuteto as minuteto9_10_3_, datafeedst3_.timezone as timezon10_10_3_, datafeedst3_.timezoneoffset as timezon11_10_3_, keylevelsp4_.patternname as patternn2_13_4_ from public.keylevels_results keylevelsr0_ left outer join symbols symbols1_ on keylevelsr0_.symbolid = symbols1_.symbolid left outer join downloadersymbolsettings downloader2_ on symbols1_.symbolid = downloader2_.symbolid left outer join datafeedstimetable datafeedst3_ on downloader2_.classname = datafeedst3_.classname left outer join keylevelspatterns keylevelsp4_ on keylevelsr0_.patternid = keylevelsp4_.patternid where keylevelsr0_.resultuid = $1 and datafeedst3_.dayofweek = 3;Times Reported Time consuming bind #16
Day Hour Count Duration Avg duration 23 27 19ms 0ms [ User: postgres - Total duration: 2ms - Times executed: 27 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 2ms - Times executed: 27 ]
-
select keylevelsr0_.resultuid as resultui1_6_0_, symbols1_.symbolid as symbolid1_15_1_, downloader2_.symbolid as symbolid1_11_2_, datafeedst3_.datafeedstimetableid as datafeed1_10_3_, keylevelsp4_.patternid as patterni1_13_4_, keylevelsr0_.approachingregion as approach2_6_0_, keylevelsr0_.approachingtimestamp as approach3_6_0_, keylevelsr0_.atbaridentified as atbaride4_6_0_, keylevelsr0_.atpriceidentified as atpricei5_6_0_, keylevelsr0_.bandwidth as bandwidt6_6_0_, keylevelsr0_.breakout as breakout7_6_0_, keylevelsr0_.breakoutbars as breakout8_6_0_, keylevelsr0_.breakoutprice as breakout9_6_0_, keylevelsr0_.direction as directi10_6_0_, keylevelsr0_.errormargin as errorma11_6_0_, keylevelsr0_.furthestprice as furthes12_6_0_, keylevelsr0_.gmttimefound as gmttime13_6_0_, keylevelsr0_.isrelevant as isrelev14_6_0_, keylevelsr0_.patternclassid as pattern15_6_0_, keylevelsr0_.patternendtime as pattern16_6_0_, keylevelsr0_.patternid as pattern17_6_0_, keylevelsr0_.patternlengthbars as pattern18_6_0_, keylevelsr0_.patternprice as pattern19_6_0_, keylevelsr0_.patternstarttime as pattern20_6_0_, keylevelsr0_.predictionpricefrom as predict21_6_0_, keylevelsr0_.predictionpriceto as predict22_6_0_, keylevelsr0_.predictiontimebars as predict23_6_0_, keylevelsr0_.predictiontimefrom as predict24_6_0_, keylevelsr0_.qtytp as qtytp25_6_0_, keylevelsr0_.relevancestartdistance as relevan26_6_0_, keylevelsr0_.simulation as simulat27_6_0_, keylevelsr0_.stoplosslevel as stoplos28_6_0_, keylevelsr0_.symbolid as symboli29_6_0_, keylevelsr0_.uniquepointsvalue as uniquep30_6_0_, keylevelsr0_.writtendatetime as written31_6_0_, keylevelsr0_.x0 as x32_6_0_, keylevelsr0_.x1 as x33_6_0_, keylevelsr0_.x2 as x34_6_0_, keylevelsr0_.x3 as x35_6_0_, keylevelsr0_.x4 as x36_6_0_, keylevelsr0_.x5 as x37_6_0_, keylevelsr0_.x6 as x38_6_0_, keylevelsr0_.x7 as x39_6_0_, keylevelsr0_.x8 as x40_6_0_, keylevelsr0_.x9 as x41_6_0_, symbols1_.deleted as deleted2_15_1_, symbols1_.exchange as exchange3_15_1_, symbols1_.industry as industry4_15_1_, symbols1_.location as location5_15_1_, symbols1_.longname as longname6_15_1_, symbols1_.nonliquid as nonliqui7_15_1_, symbols1_.sector as sector8_15_1_, symbols1_.shortname as shortnam9_15_1_, symbols1_.symbol as symbol10_15_1_, symbols1_.timegranularity as timegra11_15_1_, downloader2_.archive as archive2_11_2_, downloader2_.classname as classnam3_11_2_, downloader2_.configfile as configfi4_11_2_, downloader2_.datafeedinstrumentid as datafeed5_11_2_, downloader2_.downloadersymbol as download6_11_2_, downloader2_.downloadfrequency as download7_11_2_, downloader2_.enabled as enabled8_11_2_, downloader2_.endtime as endtime9_11_2_, downloader2_.starttime as startti10_11_2_, datafeedst3_.absolutetimezoneoffset as absolute2_10_3_, datafeedst3_.classname as classnam3_10_3_, datafeedst3_.dayofweek as dayofwee4_10_3_, datafeedst3_.enabledtsautoupdate as enabledt5_10_3_, datafeedst3_.hourfrom as hourfrom6_10_3_, datafeedst3_.hourto as hourto7_10_3_, datafeedst3_.minutefrom as minutefr8_10_3_, datafeedst3_.minuteto as minuteto9_10_3_, datafeedst3_.timezone as timezon10_10_3_, datafeedst3_.timezoneoffset as timezon11_10_3_, keylevelsp4_.patternname as patternn2_13_4_ from public.keylevels_results keylevelsr0_ left outer join symbols symbols1_ on keylevelsr0_.symbolid = symbols1_.symbolid left outer join downloadersymbolsettings downloader2_ on symbols1_.symbolid = downloader2_.symbolid left outer join datafeedstimetable datafeedst3_ on downloader2_.classname = datafeedst3_.classname left outer join keylevelspatterns keylevelsp4_ on keylevelsr0_.patternid = keylevelsp4_.patternid where keylevelsr0_.resultuid = $1 and datafeedst3_.dayofweek = 3;
Date: 2025-05-17 23:43:12 Duration: 2ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250 parameters: $1 = '606105664268338303'
-
select keylevelsr0_.resultuid as resultui1_6_0_, symbols1_.symbolid as symbolid1_15_1_, downloader2_.symbolid as symbolid1_11_2_, datafeedst3_.datafeedstimetableid as datafeed1_10_3_, keylevelsp4_.patternid as patterni1_13_4_, keylevelsr0_.approachingregion as approach2_6_0_, keylevelsr0_.approachingtimestamp as approach3_6_0_, keylevelsr0_.atbaridentified as atbaride4_6_0_, keylevelsr0_.atpriceidentified as atpricei5_6_0_, keylevelsr0_.bandwidth as bandwidt6_6_0_, keylevelsr0_.breakout as breakout7_6_0_, keylevelsr0_.breakoutbars as breakout8_6_0_, keylevelsr0_.breakoutprice as breakout9_6_0_, keylevelsr0_.direction as directi10_6_0_, keylevelsr0_.errormargin as errorma11_6_0_, keylevelsr0_.furthestprice as furthes12_6_0_, keylevelsr0_.gmttimefound as gmttime13_6_0_, keylevelsr0_.isrelevant as isrelev14_6_0_, keylevelsr0_.patternclassid as pattern15_6_0_, keylevelsr0_.patternendtime as pattern16_6_0_, keylevelsr0_.patternid as pattern17_6_0_, keylevelsr0_.patternlengthbars as pattern18_6_0_, keylevelsr0_.patternprice as pattern19_6_0_, keylevelsr0_.patternstarttime as pattern20_6_0_, keylevelsr0_.predictionpricefrom as predict21_6_0_, keylevelsr0_.predictionpriceto as predict22_6_0_, keylevelsr0_.predictiontimebars as predict23_6_0_, keylevelsr0_.predictiontimefrom as predict24_6_0_, keylevelsr0_.qtytp as qtytp25_6_0_, keylevelsr0_.relevancestartdistance as relevan26_6_0_, keylevelsr0_.simulation as simulat27_6_0_, keylevelsr0_.stoplosslevel as stoplos28_6_0_, keylevelsr0_.symbolid as symboli29_6_0_, keylevelsr0_.uniquepointsvalue as uniquep30_6_0_, keylevelsr0_.writtendatetime as written31_6_0_, keylevelsr0_.x0 as x32_6_0_, keylevelsr0_.x1 as x33_6_0_, keylevelsr0_.x2 as x34_6_0_, keylevelsr0_.x3 as x35_6_0_, keylevelsr0_.x4 as x36_6_0_, keylevelsr0_.x5 as x37_6_0_, keylevelsr0_.x6 as x38_6_0_, keylevelsr0_.x7 as x39_6_0_, keylevelsr0_.x8 as x40_6_0_, keylevelsr0_.x9 as x41_6_0_, symbols1_.deleted as deleted2_15_1_, symbols1_.exchange as exchange3_15_1_, symbols1_.industry as industry4_15_1_, symbols1_.location as location5_15_1_, symbols1_.longname as longname6_15_1_, symbols1_.nonliquid as nonliqui7_15_1_, symbols1_.sector as sector8_15_1_, symbols1_.shortname as shortnam9_15_1_, symbols1_.symbol as symbol10_15_1_, symbols1_.timegranularity as timegra11_15_1_, downloader2_.archive as archive2_11_2_, downloader2_.classname as classnam3_11_2_, downloader2_.configfile as configfi4_11_2_, downloader2_.datafeedinstrumentid as datafeed5_11_2_, downloader2_.downloadersymbol as download6_11_2_, downloader2_.downloadfrequency as download7_11_2_, downloader2_.enabled as enabled8_11_2_, downloader2_.endtime as endtime9_11_2_, downloader2_.starttime as startti10_11_2_, datafeedst3_.absolutetimezoneoffset as absolute2_10_3_, datafeedst3_.classname as classnam3_10_3_, datafeedst3_.dayofweek as dayofwee4_10_3_, datafeedst3_.enabledtsautoupdate as enabledt5_10_3_, datafeedst3_.hourfrom as hourfrom6_10_3_, datafeedst3_.hourto as hourto7_10_3_, datafeedst3_.minutefrom as minutefr8_10_3_, datafeedst3_.minuteto as minuteto9_10_3_, datafeedst3_.timezone as timezon10_10_3_, datafeedst3_.timezoneoffset as timezon11_10_3_, keylevelsp4_.patternname as patternn2_13_4_ from public.keylevels_results keylevelsr0_ left outer join symbols symbols1_ on keylevelsr0_.symbolid = symbols1_.symbolid left outer join downloadersymbolsettings downloader2_ on symbols1_.symbolid = downloader2_.symbolid left outer join datafeedstimetable datafeedst3_ on downloader2_.classname = datafeedst3_.classname left outer join keylevelspatterns keylevelsp4_ on keylevelsr0_.patternid = keylevelsp4_.patternid where keylevelsr0_.resultuid = $1 and datafeedst3_.dayofweek = 3;
Date: 2025-05-17 23:43:13 Duration: 1ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250 parameters: $1 = '606105666451135303'
-
select keylevelsr0_.resultuid as resultui1_6_0_, symbols1_.symbolid as symbolid1_15_1_, downloader2_.symbolid as symbolid1_11_2_, datafeedst3_.datafeedstimetableid as datafeed1_10_3_, keylevelsp4_.patternid as patterni1_13_4_, keylevelsr0_.approachingregion as approach2_6_0_, keylevelsr0_.approachingtimestamp as approach3_6_0_, keylevelsr0_.atbaridentified as atbaride4_6_0_, keylevelsr0_.atpriceidentified as atpricei5_6_0_, keylevelsr0_.bandwidth as bandwidt6_6_0_, keylevelsr0_.breakout as breakout7_6_0_, keylevelsr0_.breakoutbars as breakout8_6_0_, keylevelsr0_.breakoutprice as breakout9_6_0_, keylevelsr0_.direction as directi10_6_0_, keylevelsr0_.errormargin as errorma11_6_0_, keylevelsr0_.furthestprice as furthes12_6_0_, keylevelsr0_.gmttimefound as gmttime13_6_0_, keylevelsr0_.isrelevant as isrelev14_6_0_, keylevelsr0_.patternclassid as pattern15_6_0_, keylevelsr0_.patternendtime as pattern16_6_0_, keylevelsr0_.patternid as pattern17_6_0_, keylevelsr0_.patternlengthbars as pattern18_6_0_, keylevelsr0_.patternprice as pattern19_6_0_, keylevelsr0_.patternstarttime as pattern20_6_0_, keylevelsr0_.predictionpricefrom as predict21_6_0_, keylevelsr0_.predictionpriceto as predict22_6_0_, keylevelsr0_.predictiontimebars as predict23_6_0_, keylevelsr0_.predictiontimefrom as predict24_6_0_, keylevelsr0_.qtytp as qtytp25_6_0_, keylevelsr0_.relevancestartdistance as relevan26_6_0_, keylevelsr0_.simulation as simulat27_6_0_, keylevelsr0_.stoplosslevel as stoplos28_6_0_, keylevelsr0_.symbolid as symboli29_6_0_, keylevelsr0_.uniquepointsvalue as uniquep30_6_0_, keylevelsr0_.writtendatetime as written31_6_0_, keylevelsr0_.x0 as x32_6_0_, keylevelsr0_.x1 as x33_6_0_, keylevelsr0_.x2 as x34_6_0_, keylevelsr0_.x3 as x35_6_0_, keylevelsr0_.x4 as x36_6_0_, keylevelsr0_.x5 as x37_6_0_, keylevelsr0_.x6 as x38_6_0_, keylevelsr0_.x7 as x39_6_0_, keylevelsr0_.x8 as x40_6_0_, keylevelsr0_.x9 as x41_6_0_, symbols1_.deleted as deleted2_15_1_, symbols1_.exchange as exchange3_15_1_, symbols1_.industry as industry4_15_1_, symbols1_.location as location5_15_1_, symbols1_.longname as longname6_15_1_, symbols1_.nonliquid as nonliqui7_15_1_, symbols1_.sector as sector8_15_1_, symbols1_.shortname as shortnam9_15_1_, symbols1_.symbol as symbol10_15_1_, symbols1_.timegranularity as timegra11_15_1_, downloader2_.archive as archive2_11_2_, downloader2_.classname as classnam3_11_2_, downloader2_.configfile as configfi4_11_2_, downloader2_.datafeedinstrumentid as datafeed5_11_2_, downloader2_.downloadersymbol as download6_11_2_, downloader2_.downloadfrequency as download7_11_2_, downloader2_.enabled as enabled8_11_2_, downloader2_.endtime as endtime9_11_2_, downloader2_.starttime as startti10_11_2_, datafeedst3_.absolutetimezoneoffset as absolute2_10_3_, datafeedst3_.classname as classnam3_10_3_, datafeedst3_.dayofweek as dayofwee4_10_3_, datafeedst3_.enabledtsautoupdate as enabledt5_10_3_, datafeedst3_.hourfrom as hourfrom6_10_3_, datafeedst3_.hourto as hourto7_10_3_, datafeedst3_.minutefrom as minutefr8_10_3_, datafeedst3_.minuteto as minuteto9_10_3_, datafeedst3_.timezone as timezon10_10_3_, datafeedst3_.timezoneoffset as timezon11_10_3_, keylevelsp4_.patternname as patternn2_13_4_ from public.keylevels_results keylevelsr0_ left outer join symbols symbols1_ on keylevelsr0_.symbolid = symbols1_.symbolid left outer join downloadersymbolsettings downloader2_ on symbols1_.symbolid = downloader2_.symbolid left outer join datafeedstimetable datafeedst3_ on downloader2_.classname = datafeedst3_.classname left outer join keylevelspatterns keylevelsp4_ on keylevelsr0_.patternid = keylevelsp4_.patternid where keylevelsr0_.resultuid = $1 and datafeedst3_.dayofweek = 3;
Date: 2025-05-17 23:43:14 Duration: 1ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250 parameters: $1 = '606123600142852303'
17 19ms 22 0ms 2ms 0ms select distinct t1440x0_.symbolid as symbolid1_16_0_, t1440x0_.pricedatetime as pricedat2_16_0_, symbols1_.symbolid as symbolid1_15_1_, downloader2_.symbolid as symbolid1_11_2_, datafeedst3_.datafeedstimetableid as datafeed1_10_3_, t1440x0_.bsf as bsf3_16_0_, t1440x0_.close as close4_16_0_, t1440x0_.high as high5_16_0_, t1440x0_.low as low6_16_0_, t1440x0_.open as open7_16_0_, t1440x0_.pricesadjusted as pricesad8_16_0_, t1440x0_.recengprocessedadjusted as recengpr9_16_0_, t1440x0_.relevanceprocessed as relevan10_16_0_, t1440x0_.sastdatetimereceived as sastdat11_16_0_, t1440x0_.sastdatetimewritten as sastdat12_16_0_, t1440x0_.volume as volume13_16_0_, symbols1_.deleted as deleted2_15_1_, symbols1_.exchange as exchange3_15_1_, symbols1_.industry as industry4_15_1_, symbols1_.location as location5_15_1_, symbols1_.longname as longname6_15_1_, symbols1_.nonliquid as nonliqui7_15_1_, symbols1_.sector as sector8_15_1_, symbols1_.shortname as shortnam9_15_1_, symbols1_.symbol as symbol10_15_1_, symbols1_.timegranularity as timegra11_15_1_, downloader2_.archive as archive2_11_2_, downloader2_.classname as classnam3_11_2_, downloader2_.configfile as configfi4_11_2_, downloader2_.datafeedinstrumentid as datafeed5_11_2_, downloader2_.downloadersymbol as download6_11_2_, downloader2_.downloadfrequency as download7_11_2_, downloader2_.enabled as enabled8_11_2_, downloader2_.endtime as endtime9_11_2_, downloader2_.starttime as startti10_11_2_, datafeedst3_.absolutetimezoneoffset as absolute2_10_3_, datafeedst3_.classname as classnam3_10_3_, datafeedst3_.dayofweek as dayofwee4_10_3_, datafeedst3_.enabledtsautoupdate as enabledt5_10_3_, datafeedst3_.hourfrom as hourfrom6_10_3_, datafeedst3_.hourto as hourto7_10_3_, datafeedst3_.minutefrom as minutefr8_10_3_, datafeedst3_.minuteto as minuteto9_10_3_, datafeedst3_.timezone as timezon10_10_3_, datafeedst3_.timezoneoffset as timezon11_10_3_ from t1440 t1440x0_ inner join symbols symbols1_ on t1440x0_.symbolid = symbols1_.symbolid left outer join downloadersymbolsettings downloader2_ on symbols1_.symbolid = downloader2_.symbolid left outer join datafeedstimetable datafeedst3_ on downloader2_.classname = datafeedst3_.classname where t1440x0_.symbolid = $1 and t1440x0_.pricedatetime >= $2 and t1440x0_.pricedatetime <= $3 and datafeedst3_.dayofweek = 5 order by t1440x0_.pricedatetime asc;Times Reported Time consuming bind #17
Day Hour Count Duration Avg duration 23 22 19ms 0ms [ User: postgres - Total duration: 20ms - Times executed: 22 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 20ms - Times executed: 22 ]
-
select distinct t1440x0_.symbolid as symbolid1_16_0_, t1440x0_.pricedatetime as pricedat2_16_0_, symbols1_.symbolid as symbolid1_15_1_, downloader2_.symbolid as symbolid1_11_2_, datafeedst3_.datafeedstimetableid as datafeed1_10_3_, t1440x0_.bsf as bsf3_16_0_, t1440x0_.close as close4_16_0_, t1440x0_.high as high5_16_0_, t1440x0_.low as low6_16_0_, t1440x0_.open as open7_16_0_, t1440x0_.pricesadjusted as pricesad8_16_0_, t1440x0_.recengprocessedadjusted as recengpr9_16_0_, t1440x0_.relevanceprocessed as relevan10_16_0_, t1440x0_.sastdatetimereceived as sastdat11_16_0_, t1440x0_.sastdatetimewritten as sastdat12_16_0_, t1440x0_.volume as volume13_16_0_, symbols1_.deleted as deleted2_15_1_, symbols1_.exchange as exchange3_15_1_, symbols1_.industry as industry4_15_1_, symbols1_.location as location5_15_1_, symbols1_.longname as longname6_15_1_, symbols1_.nonliquid as nonliqui7_15_1_, symbols1_.sector as sector8_15_1_, symbols1_.shortname as shortnam9_15_1_, symbols1_.symbol as symbol10_15_1_, symbols1_.timegranularity as timegra11_15_1_, downloader2_.archive as archive2_11_2_, downloader2_.classname as classnam3_11_2_, downloader2_.configfile as configfi4_11_2_, downloader2_.datafeedinstrumentid as datafeed5_11_2_, downloader2_.downloadersymbol as download6_11_2_, downloader2_.downloadfrequency as download7_11_2_, downloader2_.enabled as enabled8_11_2_, downloader2_.endtime as endtime9_11_2_, downloader2_.starttime as startti10_11_2_, datafeedst3_.absolutetimezoneoffset as absolute2_10_3_, datafeedst3_.classname as classnam3_10_3_, datafeedst3_.dayofweek as dayofwee4_10_3_, datafeedst3_.enabledtsautoupdate as enabledt5_10_3_, datafeedst3_.hourfrom as hourfrom6_10_3_, datafeedst3_.hourto as hourto7_10_3_, datafeedst3_.minutefrom as minutefr8_10_3_, datafeedst3_.minuteto as minuteto9_10_3_, datafeedst3_.timezone as timezon10_10_3_, datafeedst3_.timezoneoffset as timezon11_10_3_ from t1440 t1440x0_ inner join symbols symbols1_ on t1440x0_.symbolid = symbols1_.symbolid left outer join downloadersymbolsettings downloader2_ on symbols1_.symbolid = downloader2_.symbolid left outer join datafeedstimetable datafeedst3_ on downloader2_.classname = datafeedst3_.classname where t1440x0_.symbolid = $1 and t1440x0_.pricedatetime >= $2 and t1440x0_.pricedatetime <= $3 and datafeedst3_.dayofweek = 5 order by t1440x0_.pricedatetime asc;
Date: 2025-05-17 23:43:10 Duration: 2ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250 parameters: $1 = '515840233926059300', $2 = '2025-03-19 00:00:00', $3 = '2025-05-09 00:00:00'
-
select distinct t1440x0_.symbolid as symbolid1_16_0_, t1440x0_.pricedatetime as pricedat2_16_0_, symbols1_.symbolid as symbolid1_15_1_, downloader2_.symbolid as symbolid1_11_2_, datafeedst3_.datafeedstimetableid as datafeed1_10_3_, t1440x0_.bsf as bsf3_16_0_, t1440x0_.close as close4_16_0_, t1440x0_.high as high5_16_0_, t1440x0_.low as low6_16_0_, t1440x0_.open as open7_16_0_, t1440x0_.pricesadjusted as pricesad8_16_0_, t1440x0_.recengprocessedadjusted as recengpr9_16_0_, t1440x0_.relevanceprocessed as relevan10_16_0_, t1440x0_.sastdatetimereceived as sastdat11_16_0_, t1440x0_.sastdatetimewritten as sastdat12_16_0_, t1440x0_.volume as volume13_16_0_, symbols1_.deleted as deleted2_15_1_, symbols1_.exchange as exchange3_15_1_, symbols1_.industry as industry4_15_1_, symbols1_.location as location5_15_1_, symbols1_.longname as longname6_15_1_, symbols1_.nonliquid as nonliqui7_15_1_, symbols1_.sector as sector8_15_1_, symbols1_.shortname as shortnam9_15_1_, symbols1_.symbol as symbol10_15_1_, symbols1_.timegranularity as timegra11_15_1_, downloader2_.archive as archive2_11_2_, downloader2_.classname as classnam3_11_2_, downloader2_.configfile as configfi4_11_2_, downloader2_.datafeedinstrumentid as datafeed5_11_2_, downloader2_.downloadersymbol as download6_11_2_, downloader2_.downloadfrequency as download7_11_2_, downloader2_.enabled as enabled8_11_2_, downloader2_.endtime as endtime9_11_2_, downloader2_.starttime as startti10_11_2_, datafeedst3_.absolutetimezoneoffset as absolute2_10_3_, datafeedst3_.classname as classnam3_10_3_, datafeedst3_.dayofweek as dayofwee4_10_3_, datafeedst3_.enabledtsautoupdate as enabledt5_10_3_, datafeedst3_.hourfrom as hourfrom6_10_3_, datafeedst3_.hourto as hourto7_10_3_, datafeedst3_.minutefrom as minutefr8_10_3_, datafeedst3_.minuteto as minuteto9_10_3_, datafeedst3_.timezone as timezon10_10_3_, datafeedst3_.timezoneoffset as timezon11_10_3_ from t1440 t1440x0_ inner join symbols symbols1_ on t1440x0_.symbolid = symbols1_.symbolid left outer join downloadersymbolsettings downloader2_ on symbols1_.symbolid = downloader2_.symbolid left outer join datafeedstimetable datafeedst3_ on downloader2_.classname = datafeedst3_.classname where t1440x0_.symbolid = $1 and t1440x0_.pricedatetime >= $2 and t1440x0_.pricedatetime <= $3 and datafeedst3_.dayofweek = 5 order by t1440x0_.pricedatetime asc;
Date: 2025-05-17 23:43:10 Duration: 1ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250 parameters: $1 = '515840243266316300', $2 = '2024-12-30 00:00:00', $3 = '2025-05-12 00:00:00'
-
select distinct t1440x0_.symbolid as symbolid1_16_0_, t1440x0_.pricedatetime as pricedat2_16_0_, symbols1_.symbolid as symbolid1_15_1_, downloader2_.symbolid as symbolid1_11_2_, datafeedst3_.datafeedstimetableid as datafeed1_10_3_, t1440x0_.bsf as bsf3_16_0_, t1440x0_.close as close4_16_0_, t1440x0_.high as high5_16_0_, t1440x0_.low as low6_16_0_, t1440x0_.open as open7_16_0_, t1440x0_.pricesadjusted as pricesad8_16_0_, t1440x0_.recengprocessedadjusted as recengpr9_16_0_, t1440x0_.relevanceprocessed as relevan10_16_0_, t1440x0_.sastdatetimereceived as sastdat11_16_0_, t1440x0_.sastdatetimewritten as sastdat12_16_0_, t1440x0_.volume as volume13_16_0_, symbols1_.deleted as deleted2_15_1_, symbols1_.exchange as exchange3_15_1_, symbols1_.industry as industry4_15_1_, symbols1_.location as location5_15_1_, symbols1_.longname as longname6_15_1_, symbols1_.nonliquid as nonliqui7_15_1_, symbols1_.sector as sector8_15_1_, symbols1_.shortname as shortnam9_15_1_, symbols1_.symbol as symbol10_15_1_, symbols1_.timegranularity as timegra11_15_1_, downloader2_.archive as archive2_11_2_, downloader2_.classname as classnam3_11_2_, downloader2_.configfile as configfi4_11_2_, downloader2_.datafeedinstrumentid as datafeed5_11_2_, downloader2_.downloadersymbol as download6_11_2_, downloader2_.downloadfrequency as download7_11_2_, downloader2_.enabled as enabled8_11_2_, downloader2_.endtime as endtime9_11_2_, downloader2_.starttime as startti10_11_2_, datafeedst3_.absolutetimezoneoffset as absolute2_10_3_, datafeedst3_.classname as classnam3_10_3_, datafeedst3_.dayofweek as dayofwee4_10_3_, datafeedst3_.enabledtsautoupdate as enabledt5_10_3_, datafeedst3_.hourfrom as hourfrom6_10_3_, datafeedst3_.hourto as hourto7_10_3_, datafeedst3_.minutefrom as minutefr8_10_3_, datafeedst3_.minuteto as minuteto9_10_3_, datafeedst3_.timezone as timezon10_10_3_, datafeedst3_.timezoneoffset as timezon11_10_3_ from t1440 t1440x0_ inner join symbols symbols1_ on t1440x0_.symbolid = symbols1_.symbolid left outer join downloadersymbolsettings downloader2_ on symbols1_.symbolid = downloader2_.symbolid left outer join datafeedstimetable datafeedst3_ on downloader2_.classname = datafeedst3_.classname where t1440x0_.symbolid = $1 and t1440x0_.pricedatetime >= $2 and t1440x0_.pricedatetime <= $3 and datafeedst3_.dayofweek = 5 order by t1440x0_.pricedatetime asc;
Date: 2025-05-17 23:43:10 Duration: 1ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250 parameters: $1 = '515840243263317300', $2 = '2025-03-19 00:00:00', $3 = '2025-05-12 00:00:00'
18 13ms 18 0ms 0ms 0ms select cast(count(*) / cast(setting as numeric) * 100 as int) from pg_stat_activity, pg_settings WHERE name = 'max_connections' group by setting;Times Reported Time consuming bind #18
Day Hour Count Duration Avg duration 23 18 13ms 0ms [ User: postgres - Total duration: 28ms - Times executed: 18 ]
[ Application: [unknown] - Total duration: 28ms - Times executed: 18 ]
-
select cast(count(*) / cast(setting as numeric) * 100 as int) from pg_stat_activity, pg_settings WHERE name = 'max_connections' group by setting;
Date: 2025-05-17 23:11:00 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.90
-
select cast(count(*) / cast(setting as numeric) * 100 as int) from pg_stat_activity, pg_settings WHERE name = 'max_connections' group by setting;
Date: 2025-05-17 23:31:01 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.126
-
select cast(count(*) / cast(setting as numeric) * 100 as int) from pg_stat_activity, pg_settings WHERE name = 'max_connections' group by setting;
Date: 2025-05-17 23:21:00 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.126
19 11ms 10 0ms 1ms 1ms select distinct t60x0_.symbolid as symbolid1_20_0_, t60x0_.pricedatetime as pricedat2_20_0_, symbols1_.symbolid as symbolid1_15_1_, downloader2_.symbolid as symbolid1_11_2_, datafeedst3_.datafeedstimetableid as datafeed1_10_3_, t60x0_.bsf as bsf3_20_0_, t60x0_.close as close4_20_0_, t60x0_.high as high5_20_0_, t60x0_.low as low6_20_0_, t60x0_.open as open7_20_0_, t60x0_.pricesadjusted as pricesad8_20_0_, t60x0_.recengprocessedadjusted as recengpr9_20_0_, t60x0_.relevanceprocessed as relevan10_20_0_, t60x0_.sastdatetimereceived as sastdat11_20_0_, t60x0_.sastdatetimewritten as sastdat12_20_0_, t60x0_.volume as volume13_20_0_, symbols1_.deleted as deleted2_15_1_, symbols1_.exchange as exchange3_15_1_, symbols1_.industry as industry4_15_1_, symbols1_.location as location5_15_1_, symbols1_.longname as longname6_15_1_, symbols1_.nonliquid as nonliqui7_15_1_, symbols1_.sector as sector8_15_1_, symbols1_.shortname as shortnam9_15_1_, symbols1_.symbol as symbol10_15_1_, symbols1_.timegranularity as timegra11_15_1_, downloader2_.archive as archive2_11_2_, downloader2_.classname as classnam3_11_2_, downloader2_.configfile as configfi4_11_2_, downloader2_.datafeedinstrumentid as datafeed5_11_2_, downloader2_.downloadersymbol as download6_11_2_, downloader2_.downloadfrequency as download7_11_2_, downloader2_.enabled as enabled8_11_2_, downloader2_.endtime as endtime9_11_2_, downloader2_.starttime as startti10_11_2_, datafeedst3_.absolutetimezoneoffset as absolute2_10_3_, datafeedst3_.classname as classnam3_10_3_, datafeedst3_.dayofweek as dayofwee4_10_3_, datafeedst3_.enabledtsautoupdate as enabledt5_10_3_, datafeedst3_.hourfrom as hourfrom6_10_3_, datafeedst3_.hourto as hourto7_10_3_, datafeedst3_.minutefrom as minutefr8_10_3_, datafeedst3_.minuteto as minuteto9_10_3_, datafeedst3_.timezone as timezon10_10_3_, datafeedst3_.timezoneoffset as timezon11_10_3_ from t60 t60x0_ inner join symbols symbols1_ on t60x0_.symbolid = symbols1_.symbolid left outer join downloadersymbolsettings downloader2_ on symbols1_.symbolid = downloader2_.symbolid left outer join datafeedstimetable datafeedst3_ on downloader2_.classname = datafeedst3_.classname where t60x0_.symbolid = $1 and t60x0_.pricedatetime >= $2 and t60x0_.pricedatetime <= $3 and datafeedst3_.dayofweek = 5 order by t60x0_.pricedatetime asc;Times Reported Time consuming bind #19
Day Hour Count Duration Avg duration 23 10 11ms 1ms [ User: postgres - Total duration: 18ms - Times executed: 10 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 18ms - Times executed: 10 ]
-
select distinct t60x0_.symbolid as symbolid1_20_0_, t60x0_.pricedatetime as pricedat2_20_0_, symbols1_.symbolid as symbolid1_15_1_, downloader2_.symbolid as symbolid1_11_2_, datafeedst3_.datafeedstimetableid as datafeed1_10_3_, t60x0_.bsf as bsf3_20_0_, t60x0_.close as close4_20_0_, t60x0_.high as high5_20_0_, t60x0_.low as low6_20_0_, t60x0_.open as open7_20_0_, t60x0_.pricesadjusted as pricesad8_20_0_, t60x0_.recengprocessedadjusted as recengpr9_20_0_, t60x0_.relevanceprocessed as relevan10_20_0_, t60x0_.sastdatetimereceived as sastdat11_20_0_, t60x0_.sastdatetimewritten as sastdat12_20_0_, t60x0_.volume as volume13_20_0_, symbols1_.deleted as deleted2_15_1_, symbols1_.exchange as exchange3_15_1_, symbols1_.industry as industry4_15_1_, symbols1_.location as location5_15_1_, symbols1_.longname as longname6_15_1_, symbols1_.nonliquid as nonliqui7_15_1_, symbols1_.sector as sector8_15_1_, symbols1_.shortname as shortnam9_15_1_, symbols1_.symbol as symbol10_15_1_, symbols1_.timegranularity as timegra11_15_1_, downloader2_.archive as archive2_11_2_, downloader2_.classname as classnam3_11_2_, downloader2_.configfile as configfi4_11_2_, downloader2_.datafeedinstrumentid as datafeed5_11_2_, downloader2_.downloadersymbol as download6_11_2_, downloader2_.downloadfrequency as download7_11_2_, downloader2_.enabled as enabled8_11_2_, downloader2_.endtime as endtime9_11_2_, downloader2_.starttime as startti10_11_2_, datafeedst3_.absolutetimezoneoffset as absolute2_10_3_, datafeedst3_.classname as classnam3_10_3_, datafeedst3_.dayofweek as dayofwee4_10_3_, datafeedst3_.enabledtsautoupdate as enabledt5_10_3_, datafeedst3_.hourfrom as hourfrom6_10_3_, datafeedst3_.hourto as hourto7_10_3_, datafeedst3_.minutefrom as minutefr8_10_3_, datafeedst3_.minuteto as minuteto9_10_3_, datafeedst3_.timezone as timezon10_10_3_, datafeedst3_.timezoneoffset as timezon11_10_3_ from t60 t60x0_ inner join symbols symbols1_ on t60x0_.symbolid = symbols1_.symbolid left outer join downloadersymbolsettings downloader2_ on symbols1_.symbolid = downloader2_.symbolid left outer join datafeedstimetable datafeedst3_ on downloader2_.classname = datafeedst3_.classname where t60x0_.symbolid = $1 and t60x0_.pricedatetime >= $2 and t60x0_.pricedatetime <= $3 and datafeedst3_.dayofweek = 5 order by t60x0_.pricedatetime asc;
Date: 2025-05-17 23:43:15 Duration: 1ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250 parameters: $1 = '515840243296143300', $2 = '2025-05-06 04:00:00', $3 = '2025-05-16 18:00:00'
-
select distinct t60x0_.symbolid as symbolid1_20_0_, t60x0_.pricedatetime as pricedat2_20_0_, symbols1_.symbolid as symbolid1_15_1_, downloader2_.symbolid as symbolid1_11_2_, datafeedst3_.datafeedstimetableid as datafeed1_10_3_, t60x0_.bsf as bsf3_20_0_, t60x0_.close as close4_20_0_, t60x0_.high as high5_20_0_, t60x0_.low as low6_20_0_, t60x0_.open as open7_20_0_, t60x0_.pricesadjusted as pricesad8_20_0_, t60x0_.recengprocessedadjusted as recengpr9_20_0_, t60x0_.relevanceprocessed as relevan10_20_0_, t60x0_.sastdatetimereceived as sastdat11_20_0_, t60x0_.sastdatetimewritten as sastdat12_20_0_, t60x0_.volume as volume13_20_0_, symbols1_.deleted as deleted2_15_1_, symbols1_.exchange as exchange3_15_1_, symbols1_.industry as industry4_15_1_, symbols1_.location as location5_15_1_, symbols1_.longname as longname6_15_1_, symbols1_.nonliquid as nonliqui7_15_1_, symbols1_.sector as sector8_15_1_, symbols1_.shortname as shortnam9_15_1_, symbols1_.symbol as symbol10_15_1_, symbols1_.timegranularity as timegra11_15_1_, downloader2_.archive as archive2_11_2_, downloader2_.classname as classnam3_11_2_, downloader2_.configfile as configfi4_11_2_, downloader2_.datafeedinstrumentid as datafeed5_11_2_, downloader2_.downloadersymbol as download6_11_2_, downloader2_.downloadfrequency as download7_11_2_, downloader2_.enabled as enabled8_11_2_, downloader2_.endtime as endtime9_11_2_, downloader2_.starttime as startti10_11_2_, datafeedst3_.absolutetimezoneoffset as absolute2_10_3_, datafeedst3_.classname as classnam3_10_3_, datafeedst3_.dayofweek as dayofwee4_10_3_, datafeedst3_.enabledtsautoupdate as enabledt5_10_3_, datafeedst3_.hourfrom as hourfrom6_10_3_, datafeedst3_.hourto as hourto7_10_3_, datafeedst3_.minutefrom as minutefr8_10_3_, datafeedst3_.minuteto as minuteto9_10_3_, datafeedst3_.timezone as timezon10_10_3_, datafeedst3_.timezoneoffset as timezon11_10_3_ from t60 t60x0_ inner join symbols symbols1_ on t60x0_.symbolid = symbols1_.symbolid left outer join downloadersymbolsettings downloader2_ on symbols1_.symbolid = downloader2_.symbolid left outer join datafeedstimetable datafeedst3_ on downloader2_.classname = datafeedst3_.classname where t60x0_.symbolid = $1 and t60x0_.pricedatetime >= $2 and t60x0_.pricedatetime <= $3 and datafeedst3_.dayofweek = 5 order by t60x0_.pricedatetime asc;
Date: 2025-05-17 23:43:15 Duration: 1ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250 parameters: $1 = '515840243262744300', $2 = '2025-05-06 15:00:00', $3 = '2025-05-16 18:00:00'
-
select distinct t60x0_.symbolid as symbolid1_20_0_, t60x0_.pricedatetime as pricedat2_20_0_, symbols1_.symbolid as symbolid1_15_1_, downloader2_.symbolid as symbolid1_11_2_, datafeedst3_.datafeedstimetableid as datafeed1_10_3_, t60x0_.bsf as bsf3_20_0_, t60x0_.close as close4_20_0_, t60x0_.high as high5_20_0_, t60x0_.low as low6_20_0_, t60x0_.open as open7_20_0_, t60x0_.pricesadjusted as pricesad8_20_0_, t60x0_.recengprocessedadjusted as recengpr9_20_0_, t60x0_.relevanceprocessed as relevan10_20_0_, t60x0_.sastdatetimereceived as sastdat11_20_0_, t60x0_.sastdatetimewritten as sastdat12_20_0_, t60x0_.volume as volume13_20_0_, symbols1_.deleted as deleted2_15_1_, symbols1_.exchange as exchange3_15_1_, symbols1_.industry as industry4_15_1_, symbols1_.location as location5_15_1_, symbols1_.longname as longname6_15_1_, symbols1_.nonliquid as nonliqui7_15_1_, symbols1_.sector as sector8_15_1_, symbols1_.shortname as shortnam9_15_1_, symbols1_.symbol as symbol10_15_1_, symbols1_.timegranularity as timegra11_15_1_, downloader2_.archive as archive2_11_2_, downloader2_.classname as classnam3_11_2_, downloader2_.configfile as configfi4_11_2_, downloader2_.datafeedinstrumentid as datafeed5_11_2_, downloader2_.downloadersymbol as download6_11_2_, downloader2_.downloadfrequency as download7_11_2_, downloader2_.enabled as enabled8_11_2_, downloader2_.endtime as endtime9_11_2_, downloader2_.starttime as startti10_11_2_, datafeedst3_.absolutetimezoneoffset as absolute2_10_3_, datafeedst3_.classname as classnam3_10_3_, datafeedst3_.dayofweek as dayofwee4_10_3_, datafeedst3_.enabledtsautoupdate as enabledt5_10_3_, datafeedst3_.hourfrom as hourfrom6_10_3_, datafeedst3_.hourto as hourto7_10_3_, datafeedst3_.minutefrom as minutefr8_10_3_, datafeedst3_.minuteto as minuteto9_10_3_, datafeedst3_.timezone as timezon10_10_3_, datafeedst3_.timezoneoffset as timezon11_10_3_ from t60 t60x0_ inner join symbols symbols1_ on t60x0_.symbolid = symbols1_.symbolid left outer join downloadersymbolsettings downloader2_ on symbols1_.symbolid = downloader2_.symbolid left outer join datafeedstimetable datafeedst3_ on downloader2_.classname = datafeedst3_.classname where t60x0_.symbolid = $1 and t60x0_.pricedatetime >= $2 and t60x0_.pricedatetime <= $3 and datafeedst3_.dayofweek = 5 order by t60x0_.pricedatetime asc;
Date: 2025-05-17 23:43:15 Duration: 1ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250 parameters: $1 = '515840243265742300', $2 = '2025-05-06 03:00:00', $3 = '2025-05-16 18:00:00'
20 9ms 97 0ms 1ms 0ms /*server.CPResult*/ SELECT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, symbol, longname, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, breakout, dtt.absolutetimezoneoffset as tzOs, dtt.timezone as tz FROM autochartist_results a INNER JOIN downloadersymbolsettings dss on a.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname inner join symbols s on a.symbolid = s.symbolid inner join patterns p on p.patternname = a.pattern where resultuid = $1;Times Reported Time consuming bind #20
Day Hour Count Duration Avg duration 23 97 9ms 0ms [ User: postgres - Total duration: 8ms - Times executed: 97 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 8ms - Times executed: 97 ]
-
/*server.CPResult*/ SELECT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, symbol, longname, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, breakout, dtt.absolutetimezoneoffset as tzOs, dtt.timezone as tz FROM autochartist_results a INNER JOIN downloadersymbolsettings dss on a.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname inner join symbols s on a.symbolid = s.symbolid inner join patterns p on p.patternname = a.pattern where resultuid = $1;
Date: 2025-05-17 23:48:20 Duration: 1ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.0.239 parameters: $1 = '606127959269412301'
-
/*server.CPResult*/ SELECT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, symbol, longname, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, breakout, dtt.absolutetimezoneoffset as tzOs, dtt.timezone as tz FROM autochartist_results a INNER JOIN downloadersymbolsettings dss on a.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname inner join symbols s on a.symbolid = s.symbolid inner join patterns p on p.patternname = a.pattern where resultuid = $1;
Date: 2025-05-17 23:03:39 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.201 parameters: $1 = '606127605246733301'
-
/*server.CPResult*/ SELECT patternid, resy0, resy1, supporty0, supporty1, predictiontimeto, patternstarttime, s.symbolid, resx0, resx1, supportx0, supportx1, symbol, longname, shortname, timegranularity, patternendtime, pattern, a.direction, trendchange, patternlengthbars, patternquality, resultuid as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, exchange, breakout, dtt.absolutetimezoneoffset as tzOs, dtt.timezone as tz FROM autochartist_results a INNER JOIN downloadersymbolsettings dss on a.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname inner join symbols s on a.symbolid = s.symbolid inner join patterns p on p.patternname = a.pattern where resultuid = $1;
Date: 2025-05-17 23:18:17 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.201 parameters: $1 = '606128957886765301'
-
Events
Log levels
Key values
- 230,644 Log entries
Events distribution
Key values
- 0 PANIC entries
- 0 FATAL entries
- 0 ERROR entries
- 0 WARNING entries
Errors per 5 minutes
NO DATASET
Most Frequent Errors/Events
Key values
- 0 Max number of times the same event was reported
- 0 Total events found
Rank Times reported Error NO DATASET