-
Global information
- Generated on Sat May 24 01:59:42 2025
- Log file: /home/postgres/pg_data/data/pg_log/postgresql-2025-05-24_030000.log
- Parsed 1,057,196 log entries in 41s
- Log start from 2025-05-24 03:00:00 to 2025-05-24 03:59:40
-
Overview
Global Stats
- 2,236 Number of unique normalized queries
- 102,223 Number of queries
- 1h31m26s Total query duration
- 2025-05-24 03:00:00 First query
- 2025-05-24 03:59:40 Last query
- 2,113 queries/s at 2025-05-24 03:00:04 Query peak
- 1h31m26s Total query duration
- 2s856ms Prepare/parse total duration
- 28s277ms Bind total duration
- 1h30m55s 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
- 9 Total number of automatic vacuums
- 14 Total number of automatic analyzes
- 105 Number temporary file
- 184.09 MiB Max size of temporary file
- 5.59 MiB Average size of temporary file
- 1,752 Total number of sessions
- 13 sessions at 2025-05-24 03:55:46 Session peak
- 2d14h48m37s Total duration of sessions
- 2m9s Average duration of sessions
- 58 Average queries per session
- 3s131ms Average queries duration per session
- 2m5s Average idle time per session
- 1,744 Total number of connections
- 28 connections/s at 2025-05-24 03:48:50 Connection peak
- 2 Total number of databases
SQL Traffic
Key values
- 2,113 queries/s Query Peak
- 2025-05-24 03:00:04 Date
SELECT Traffic
Key values
- 1,847 queries/s Query Peak
- 2025-05-24 03:00:04 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 420 queries/s Query Peak
- 2025-05-24 03:00:42 Date
Queries duration
Key values
- 1h31m26s 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 24 03 102,223 0ms 45s747ms 53ms 2m15s 2m22s 2m46s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) May 24 03 64,396 0 2ms 876ms 5s131ms 29s411ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) May 24 03 32,975 766 0 0 1ms 135ms 254ms 1s631ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare May 24 03 10,737 51,881 4.83 10.64% Day Hour Count Average / Second May 24 03 1,744 0.48/s Day Hour Count Average Duration Average idle time May 24 03 1,752 2m9s 2m5s -
Connections
Established Connections
Key values
- 28 connections Connection Peak
- 2025-05-24 03:48:50 Date
Connections per database
Key values
- acaweb_fx Main Database
- 1,744 connections Total
Connections per user
Key values
- postgres Main User
- 1,744 connections Total
Connections per host
Key values
- 192.168.4.142 Main host with 585 connections
- 1,744 Total connections
-
Sessions
Simultaneous sessions
Key values
- 13 sessions Session Peak
- 2025-05-24 03:55:46 Date
Histogram of session times
Key values
- 1,247 0-500ms duration
Sessions per database
Key values
- acaweb_fx Main Database
- 1,752 sessions Total
Sessions per user
Key values
- postgres Main User
- 1,752 sessions Total
Sessions per host
Key values
- 192.168.4.142 Main Host
- 1,752 sessions Total
Host Count Total Duration Average Duration 127.0.0.1 1 40s302ms 40s302ms 192.168.0.114 1 5m 5m 192.168.0.216 113 5m55s 3s148ms 192.168.1.145 124 3h48m46s 1m50s 192.168.1.20 152 14h34s 5m31s 192.168.1.231 20 9h52m54s 29m38s 192.168.1.239 69 768ms 11ms 192.168.1.250 43 12h32m54s 17m30s 192.168.1.90 6 50ms 8ms 192.168.2.126 18 4s887ms 271ms 192.168.2.205 12 424ms 35ms 192.168.2.82 40 1h45m23s 2m38s 192.168.3.199 65 51s970ms 799ms 192.168.4.142 585 19m30s 2s 192.168.4.150 10 20h11m31s 2h1m9s 192.168.4.33 91 2m46s 1s832ms 192.168.4.98 330 13s801ms 41ms [local] 72 1m27s 1s216ms -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 85,783 buffers Checkpoint Peak
- 2025-05-24 03:18:23 Date
- 210.014 seconds Highest write time
- 0.005 seconds Sync time
Checkpoints Wal files
Key values
- 36 files Wal files usage Peak
- 2025-05-24 03:18:23 Date
Checkpoints distance
Key values
- 1,160.02 Mo Distance Peak
- 2025-05-24 03:18:23 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time May 24 03 97,224 1,138.828s 0.033s 1,139.184s Day Hour Added Removed Recycled Synced files Longest sync Average sync May 24 03 0 0 40 969 0.005s 0s Day Hour Count Avg time (sec) May 24 03 0 0s Day Hour Mean distance Mean estimate May 24 03 54,598.08 kB 309,797.58 kB -
Temporary Files
Size of temporary files
Key values
- 117.77 MiB Temp Files size Peak
- 2025-05-24 03:10:35 Date
Number of temporary files
Key values
- 2 per second Temp Files Peak
- 2025-05-24 03:10:07 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size May 24 03 105 587.40 MiB 5.59 MiB Queries generating the most temporary files (N)
Rank Count Total size Min size Max size Avg size Query 1 100 403.31 MiB 3.23 MiB 4.91 MiB 4.03 MiB with rar_max as ( ;-
WITH rar_max as ( ;
Date: 2025-05-24 03:00:46 Duration: 0ms Database: acaweb_fx User: postgres Remote: 182.165.1.42 Application: [unknown]
2 1 184.09 MiB 184.09 MiB 184.09 MiB 184.09 MiB select cleanupkeylevelsresults (?, ?, ?);-
select cleanupkeylevelsresults (15, 15, 15);
Date: 2025-05-24 03:10:46 Duration: 45s747ms Database: acaweb_fx User: postgres Remote: [local] Application: psql
-
select cleanupkeylevelsresults (60, 20, 60);
Date: 2025-05-24 03:00:02 Duration: 551ms Database: acaweb_fx User: postgres Remote: [local] Application: psql
-
select cleanupkeylevelsresults (30, 20, 30);
Date: 2025-05-24 03:05:01 Duration: 532ms Database: acaweb_fx User: postgres Remote: [local] Application: psql
Queries generating the largest temporary files
Rank Size Query 1 184.09 MiB select cleanupkeylevelsresults (15, 15, 15);[ Date: 2025-05-24 03:10:02 - Database: acaweb_fx - User: postgres - Remote: [local] - Application: psql ]
2 4.91 MiB WITH rar_max as ( ;[ Date: 2025-05-24 03:02:11 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.145 - Application: PostgreSQL JDBC Driver ]
3 4.91 MiB WITH rar_max as ( ;[ Date: 2025-05-24 03:04:48 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.20 - Application: PostgreSQL JDBC Driver ]
4 4.91 MiB WITH rar_max as ( ;[ Date: 2025-05-24 03:07:14 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver ]
5 4.91 MiB WITH rar_max as ( ;[ Date: 2025-05-24 03:08:42 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.145 - Application: PostgreSQL JDBC Driver ]
6 4.91 MiB WITH rar_max as ( ;[ Date: 2025-05-24 03:10:12 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.20 - Application: PostgreSQL JDBC Driver ]
7 4.91 MiB WITH rar_max as ( ;[ Date: 2025-05-24 03:20:01 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.145 - Application: PostgreSQL JDBC Driver ]
8 4.91 MiB WITH rar_max as ( ;[ Date: 2025-05-24 03:21:13 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.20 - Application: PostgreSQL JDBC Driver ]
9 4.91 MiB WITH rar_max as ( ;[ Date: 2025-05-24 03:23:47 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver ]
10 4.91 MiB WITH rar_max as ( ;[ Date: 2025-05-24 03:25:42 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.145 - Application: PostgreSQL JDBC Driver ]
11 4.91 MiB WITH rar_max as ( ;[ Date: 2025-05-24 03:26:23 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.20 - Application: PostgreSQL JDBC Driver ]
12 4.91 MiB WITH rar_max as ( ;[ Date: 2025-05-24 03:27:11 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver ]
13 4.91 MiB WITH rar_max as ( ;[ Date: 2025-05-24 03:13:19 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver ]
14 4.91 MiB WITH rar_max as ( ;[ Date: 2025-05-24 03:14:05 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.145 - Application: PostgreSQL JDBC Driver ]
15 4.91 MiB WITH rar_max as ( ;[ Date: 2025-05-24 03:15:57 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver ]
16 4.91 MiB WITH rar_max as ( ;[ Date: 2025-05-24 03:16:04 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.20 - Application: PostgreSQL JDBC Driver ]
17 4.91 MiB WITH rar_max as ( ;[ Date: 2025-05-24 03:30:57 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver ]
18 4.91 MiB WITH rar_max as ( ;[ Date: 2025-05-24 03:31:55 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.20 - Application: PostgreSQL JDBC Driver ]
19 4.91 MiB WITH rar_max as ( ;[ Date: 2025-05-24 03:33:58 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.145 - Application: PostgreSQL JDBC Driver ]
20 4.91 MiB WITH rar_max as ( ;[ Date: 2025-05-24 03:37:09 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.20 - 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 (4) Main table analyzed (database acaweb_fx)
- 14 analyzes Total
Table Number of analyzes acaweb_fx.public.datafeeds_latestrun 4 acaweb_fx.public.latest_t15_candle_view 2 acaweb_fx.public.sa_hist_bigmove 1 acaweb_fx.pg_catalog.pg_type 1 acaweb_fx.public.t60 1 acaweb_fx.public.keylevels_results 1 acaweb_fx.public.variables 1 acaweb_fx.pg_catalog.pg_class 1 acaweb_fx.public.latest_candle_datetime_per_receng 1 acaweb_fx.public.patternresultsage 1 Total 14 Vacuums per table
Key values
- public.datafeeds_latestrun (4) Main table vacuumed on database acaweb_fx
- 9 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 25 0 0 68 24 69,671 acaweb_fx.public.sa_hist_bigmove 1 1 5,100 0 392 0 0 1,609 218 487,955 acaweb_fx.public.latest_t15_candle_view 1 1 93 0 1 0 0 6 4 11,819 acaweb_fx.public.variables 1 1 534 0 1 0 0 500 2 75,722 acaweb_fx.public.keylevels_results 1 1 558,191 0 74,420 0 255,436 146,915 67,482 268,557,679 acaweb_fx.pg_catalog.pg_class 1 1 471 0 63 0 0 151 61 257,291 Total 9 5 564,881 494,415 74,902 0 255,436 149,249 67,791 269,460,137 Tuples removed per table
Key values
- public.keylevels_results (54349) Main table with removed tuples on database acaweb_fx
- 72479 tuples Total removed
Index Tuples Pages Table Vacuums scans removed remain not yet removable removed remain acaweb_fx.public.keylevels_results 1 1 54,349 1,315,428 0 0 307,375 acaweb_fx.public.variables 1 1 17,678 2 0 0 166 acaweb_fx.public.datafeeds_latestrun 4 0 215 81 21 0 64 acaweb_fx.pg_catalog.pg_class 1 1 183 1,601 6 0 150 acaweb_fx.public.latest_t15_candle_view 1 1 54 14 0 0 1 acaweb_fx.public.sa_hist_bigmove 1 1 0 78,085 0 0 1,519 Total 9 5 72,479 1,395,211 27 0 309,275 Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Pages removed per tables
NO DATASET
Table Number of vacuums Index scans Tuples removed Pages removed acaweb_fx.public.sa_hist_bigmove 1 1 0 0 acaweb_fx.public.latest_t15_candle_view 1 1 54 0 acaweb_fx.public.datafeeds_latestrun 4 0 215 0 acaweb_fx.public.variables 1 1 17678 0 acaweb_fx.public.keylevels_results 1 1 54349 0 acaweb_fx.pg_catalog.pg_class 1 1 183 0 Total 9 5 72,479 0 Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs May 24 03 9 14 - 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
- 64,396 Total read queries
- 36,523 Total write queries
Queries by database
Key values
- acaweb_fx Main database
- 94,801 Requests
- 1h30m46s (acaweb_fx)
- Main time consuming database
Queries by user
Key values
- postgres Main user
- 102,223 Requests
User Request type Count Duration postgres Total 102,223 1h30m55s cte 2,120 1h27m55s insert 32,975 32s465ms others 1,304 9s644ms select 64,396 2m15s tcl 662 198ms update 766 1s720ms Duration by user
Key values
- 1h30m55s (postgres) Main time consuming user
User Request type Count Duration postgres Total 102,223 1h30m55s cte 2,120 1h27m55s insert 32,975 32s465ms others 1,304 9s644ms select 64,396 2m15s tcl 662 198ms update 766 1s720ms Queries by host
Key values
- 127.0.0.1 Main host
- 35,854 Requests
- 31m34s (192.168.1.20)
- Main time consuming host
Host Request type Count Duration 127.0.0.1 Total 35,854 21s526ms insert 12,834 14s888ms others 5 0ms select 22,853 6s514ms update 162 123ms 182.165.1.42 Total 120 7m12s cte 60 7m12s select 60 0ms 192.168.0.114 Total 5 26ms others 1 0ms select 2 26ms tcl 2 0ms 192.168.0.216 Total 452 363ms others 226 21ms select 218 253ms update 8 88ms 192.168.0.23 Total 6 2ms select 6 2ms 192.168.0.239 Total 63 46ms select 63 46ms 192.168.0.42 Total 749 319ms insert 299 24ms select 450 294ms 192.168.1.135 Total 30 43ms cte 5 17ms select 25 26ms 192.168.1.145 Total 20,018 29m57s cte 756 29m37s others 248 2ms select 19,014 19s930ms 192.168.1.20 Total 18,024 31m34s cte 783 31m17s others 304 2ms select 16,937 16s310ms 192.168.1.201 Total 328 286ms select 328 286ms 192.168.1.210 Total 56 1ms select 56 1ms 192.168.1.23 Total 901 783ms select 901 783ms 192.168.1.231 Total 40 0ms others 40 0ms 192.168.1.239 Total 276 143ms others 138 10ms select 138 132ms 192.168.1.250 Total 2,266 19m48s cte 516 19m47s others 86 0ms select 1,664 1s21ms 192.168.1.90 Total 6 10ms select 6 10ms 192.168.2.126 Total 30 26ms others 12 0ms select 18 26ms 192.168.2.205 Total 137 111ms insert 89 7ms others 24 2ms select 20 21ms update 4 78ms 192.168.2.82 Total 4,958 9s635ms insert 4,299 7s336ms others 80 8ms select 419 1s828ms update 160 461ms 192.168.3.199 Total 260 265ms others 130 12ms select 118 128ms update 12 124ms 192.168.4.142 Total 9,154 2s920ms insert 8,476 2s415ms select 678 504ms 192.168.4.33 Total 7,422 8s190ms insert 6,978 7s792ms select 376 267ms update 68 130ms 192.168.4.98 Total 996 10s212ms others 6 9s349ms select 6 21ms tcl 660 198ms update 324 643ms [local] Total 72 1m27s others 4 232ms select 40 1m27s update 28 69ms Queries by application
Key values
- [unknown] Main application
- 60,009 Requests
- 1h21m21s (PostgreSQL JDBC Driver)
- Main time consuming application
Application Request type Count Duration PostgreSQL JDBC Driver Total 42,142 1h21m21s cte 2,060 1h20m42s insert 299 24ms others 339 3ms select 39,444 38s703ms [unknown] Total 60,009 8m6s cte 60 7m12s insert 32,676 32s441ms others 961 9s409ms select 24,912 9s736ms tcl 662 198ms update 738 1s650ms psql Total 72 1m27s others 4 232ms select 40 1m27s update 28 69ms Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2025-05-24 03:47:02 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 60,904 0-1ms duration
Slowest individual queries
Rank Duration Query 1 45s747ms select cleanupkeylevelsresults (15, 15, 15);[ Date: 2025-05-24 03:10:46 - Database: acaweb_fx - User: postgres - Remote: [local] - Application: psql ]
2 17s685ms 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 ('0' = 0 OR coalesce(bim.code, s.symbol) in ('')) 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 ('0' = 0 OR ar.patternlengthbars <= '0') 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-24 03:56:03 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
3 17s343ms 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 = '529' 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 ('183' = 0 OR coalesce(bim.code, s.symbol) in ('AUDUSD', 'EURUSD', 'GBPUSD', 'USDCAD', 'USDCHF', 'USDJPY', 'XAGAUD', 'XAGEUR', 'XAGUSD', 'XAUAUD', 'XAUCHF', 'XAUEUR', 'XAUGBP', 'XAUJPY', 'XAUUSD', 'XPDUSD', 'XPTUSD', 'AUS200', 'CA60', 'CHINAH', 'CN50', 'EUSTX50', 'FRA40', 'GER40', 'GERTEC30', 'HK50', 'JPN225', 'MidDE50', 'NAS100', 'NETH25', 'NOR25', 'SA40', 'SCI25', 'SPA35', 'SWI20', 'UK100', 'US2000', 'US30', 'US500', 'VIX', 'AUDCAD', 'AUDCHF', 'AUDNZD', 'AUDSGD', 'EURAUD', 'EURCHF', 'EURGBP', 'GBPAUD', 'GBPCHF', 'NZDUSD', 'CHFSGD', 'EURCZK', 'EURHUF', 'EURMXN', 'EURNOK', 'EURPLN', 'EURSEK', 'EURSGD', 'EURTRY', 'EURZAR', 'GBPMXN', 'GBPNOK', 'GBPSEK', 'GBPSGD', 'GBPTRY', 'NOKJPY', 'NOKSEK', 'NZDCAD', 'NZDCHF', 'SEKJPY', 'SGDJPY', 'USDCNH', 'USDCZK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTHB', 'USDTRY', 'USDZAR', 'ZARJPY', 'ADAUSD', 'AVAXUSD', 'BCHUSD', 'BNBUSD', 'BTCUSD', 'Crypto10', 'Crypto20', 'Crypto30', 'DOGEUSD', 'DOTUSD', 'EOSUSD', 'ETHUSD', 'LINKUSD', 'LTCUSD', 'MATICUSD', 'SOLUSD', 'UNIUSD', 'XLMUSD', 'XRPUSD', 'XTZUSD', 'EURX', 'JPYX', 'USDX', 'Gasoline', 'NatGas', 'SpotBrent', 'SpotCrude', 'AAPL.US', 'ABNB.US', 'AMD.US', 'AMZN.US', 'AXP.US', 'BA.US', 'BABA.US', 'BIDU.US', 'BYND.US', 'C.US', 'COIN.US', 'CRM.US', 'DIS.US', 'EA.US', 'GOOG.US', 'GS.US', 'IBM.US', 'JPM.US', 'LMT.US', 'MA.US', 'MCD.US', 'META.US', 'MRNA.US', 'MSFT.US', 'NFLX.US', 'NKE.US', 'NVDA.US', 'ORCL.US', 'PFE.US', 'PG.US', 'PLTR.US', 'PTON.US', 'PYPL.US', 'QCOM.US', 'SNAP.US', 'SPCE.US', 'SPY.US', 'T.US', 'TMUS.US', 'TSLA.US', 'UBER.US', 'V.US', 'WMT.US', 'ZM.US', 'Cattle', 'Cocoa', 'Coffee', 'Corn', 'Cotton', 'LDSugar', 'LeanHogs', 'LondonSugar', 'Lumber', 'OJ', 'Oats', 'RghRice', 'SoyMeal', 'SoyOil', 'Soybeans', 'Sugar', 'Wheat', 'AUDJPY', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURCAD', 'EURJPY', 'EURNZD', 'GBPCAD', 'GBPJPY', 'GBPNZD', 'NZDJPY')) 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-24 03:36:04 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.145 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
4 17s193ms 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 ('0' = 0 OR coalesce(bim.code, s.symbol) in ('')) 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 ('0' = 0 OR ar.patternlengthbars <= '0') 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-24 03:15:57 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
5 17s161ms 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-24 03:14:05 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.145 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
6 17s160ms 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-24 03:39:13 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.145 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
7 17s151ms 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-24 03:21:13 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.20 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
8 17s151ms 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 ('0' = 0 OR coalesce(bim.code, s.symbol) in ('')) 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 ('0' = 0 OR ar.patternlengthbars <= '0') 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-24 03:23:47 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
9 17s145ms 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-24 03:16:04 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.20 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
10 17s144ms 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-24 03:41:10 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
11 17s139ms 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-24 03:08:42 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.145 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
12 17s137ms 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 ('0' = 0 OR coalesce(bim.code, s.symbol) in ('')) 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 ('0' = 0 OR ar.patternlengthbars <= '0') 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-24 03:42:55 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
13 17s132ms 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 ('0' = 0 OR coalesce(bim.code, s.symbol) in ('')) 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 ('0' = 0 OR ar.patternlengthbars <= '0') 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-24 03:07:14 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
14 17s118ms 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-24 03:26:23 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.20 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
15 17s111ms 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 ('0' = 0 OR coalesce(bim.code, s.symbol) in ('')) 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 ('0' = 0 OR ar.patternlengthbars <= '0') 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-24 03:30:57 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
16 17s98ms 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-24 03:31:55 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.20 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
17 17s85ms 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-24 03:54:16 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
18 17s71ms 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-24 03:02:11 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.145 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
19 17s58ms 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-24 03:44:57 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.145 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
20 17s55ms 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-24 03:27:11 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
Time consuming queries
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 39m57s 298 443ms 17s685ms 8s43ms 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 24 03 298 39m57s 8s43ms [ User: postgres - Total duration: 39m57s - Times executed: 298 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 36m46s - Times executed: 286 ]
[ Application: [unknown] - Total duration: 3m10s - 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 ('0' = 0 OR coalesce(bim.code, s.symbol) in ('')) 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 ('0' = 0 OR ar.patternlengthbars <= '0') 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-24 03:56:03 Duration: 17s685ms 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_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 = '529' 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 ('183' = 0 OR coalesce(bim.code, s.symbol) in ('AUDUSD', 'EURUSD', 'GBPUSD', 'USDCAD', 'USDCHF', 'USDJPY', 'XAGAUD', 'XAGEUR', 'XAGUSD', 'XAUAUD', 'XAUCHF', 'XAUEUR', 'XAUGBP', 'XAUJPY', 'XAUUSD', 'XPDUSD', 'XPTUSD', 'AUS200', 'CA60', 'CHINAH', 'CN50', 'EUSTX50', 'FRA40', 'GER40', 'GERTEC30', 'HK50', 'JPN225', 'MidDE50', 'NAS100', 'NETH25', 'NOR25', 'SA40', 'SCI25', 'SPA35', 'SWI20', 'UK100', 'US2000', 'US30', 'US500', 'VIX', 'AUDCAD', 'AUDCHF', 'AUDNZD', 'AUDSGD', 'EURAUD', 'EURCHF', 'EURGBP', 'GBPAUD', 'GBPCHF', 'NZDUSD', 'CHFSGD', 'EURCZK', 'EURHUF', 'EURMXN', 'EURNOK', 'EURPLN', 'EURSEK', 'EURSGD', 'EURTRY', 'EURZAR', 'GBPMXN', 'GBPNOK', 'GBPSEK', 'GBPSGD', 'GBPTRY', 'NOKJPY', 'NOKSEK', 'NZDCAD', 'NZDCHF', 'SEKJPY', 'SGDJPY', 'USDCNH', 'USDCZK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTHB', 'USDTRY', 'USDZAR', 'ZARJPY', 'ADAUSD', 'AVAXUSD', 'BCHUSD', 'BNBUSD', 'BTCUSD', 'Crypto10', 'Crypto20', 'Crypto30', 'DOGEUSD', 'DOTUSD', 'EOSUSD', 'ETHUSD', 'LINKUSD', 'LTCUSD', 'MATICUSD', 'SOLUSD', 'UNIUSD', 'XLMUSD', 'XRPUSD', 'XTZUSD', 'EURX', 'JPYX', 'USDX', 'Gasoline', 'NatGas', 'SpotBrent', 'SpotCrude', 'AAPL.US', 'ABNB.US', 'AMD.US', 'AMZN.US', 'AXP.US', 'BA.US', 'BABA.US', 'BIDU.US', 'BYND.US', 'C.US', 'COIN.US', 'CRM.US', 'DIS.US', 'EA.US', 'GOOG.US', 'GS.US', 'IBM.US', 'JPM.US', 'LMT.US', 'MA.US', 'MCD.US', 'META.US', 'MRNA.US', 'MSFT.US', 'NFLX.US', 'NKE.US', 'NVDA.US', 'ORCL.US', 'PFE.US', 'PG.US', 'PLTR.US', 'PTON.US', 'PYPL.US', 'QCOM.US', 'SNAP.US', 'SPCE.US', 'SPY.US', 'T.US', 'TMUS.US', 'TSLA.US', 'UBER.US', 'V.US', 'WMT.US', 'ZM.US', 'Cattle', 'Cocoa', 'Coffee', 'Corn', 'Cotton', 'LDSugar', 'LeanHogs', 'LondonSugar', 'Lumber', 'OJ', 'Oats', 'RghRice', 'SoyMeal', 'SoyOil', 'Soybeans', 'Sugar', 'Wheat', 'AUDJPY', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURCAD', 'EURJPY', 'EURNZD', 'GBPCAD', 'GBPJPY', 'GBPNZD', 'NZDJPY')) 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-24 03:36:04 Duration: 17s343ms 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 ('0' = 0 OR coalesce(bim.code, s.symbol) in ('')) 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 ('0' = 0 OR ar.patternlengthbars <= '0') 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-24 03:15:57 Duration: 17s193ms Database: acaweb_fx User: postgres Remote: 192.168.1.250 Application: PostgreSQL JDBC Driver Bind query: yes
2 34m19s 299 157ms 15s584ms 6s886ms 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 24 03 299 34m19s 6s886ms [ User: postgres - Total duration: 34m19s - Times executed: 299 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 31m30s - Times executed: 287 ]
[ Application: [unknown] - Total duration: 2m48s - 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-24 03:26:02 Duration: 15s584ms 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 = '689' 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 ('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 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-24 03:36:11 Duration: 14s828ms Database: acaweb_fx User: postgres Remote: 182.165.1.42 Application: [unknown] 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 = '689' 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 ('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 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-24 03:36:04 Duration: 14s399ms Database: acaweb_fx User: postgres Remote: 192.168.1.250 Application: PostgreSQL JDBC Driver Bind query: yes
3 11m40s 274 570ms 8s849ms 2s556ms 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 24 03 274 11m40s 2s556ms [ User: postgres - Total duration: 11m40s - Times executed: 274 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 10m36s - Times executed: 262 ]
[ Application: [unknown] - Total duration: 1m3s - 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-24 03:35:56 Duration: 8s849ms 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-24 03:20:51 Duration: 5s73ms 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-24 03:15:52 Duration: 5s69ms Database: acaweb_fx User: postgres Remote: 182.165.1.42 Application: [unknown] Bind query: yes
4 1m18s 172 107ms 1s577ms 457ms 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 24 03 172 1m18s 457ms [ User: postgres - Total duration: 1m18s - Times executed: 172 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1m9s - Times executed: 160 ]
[ Application: [unknown] - Total duration: 8s971ms - 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 = '627' 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 ('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 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-24 03:26:04 Duration: 1s577ms 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_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 = '627' 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 ('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 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-24 03:34:16 Duration: 873ms 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_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 = '627' 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 ('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 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-24 03:48:00 Duration: 870ms Database: acaweb_fx User: postgres Remote: 192.168.1.20 Application: PostgreSQL JDBC Driver Bind query: yes
5 46s830ms 3 532ms 45s747ms 15s610ms select cleanupkeylevelsresults (?, ?, ?);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration May 24 03 3 46s830ms 15s610ms [ User: postgres - Total duration: 46s830ms - Times executed: 3 ]
[ Application: psql - Total duration: 46s830ms - Times executed: 3 ]
-
select cleanupkeylevelsresults (15, 15, 15);
Date: 2025-05-24 03:10:46 Duration: 45s747ms Database: acaweb_fx User: postgres Remote: [local] Application: psql
-
select cleanupkeylevelsresults (60, 20, 60);
Date: 2025-05-24 03:00:02 Duration: 551ms Database: acaweb_fx User: postgres Remote: [local] Application: psql
-
select cleanupkeylevelsresults (30, 20, 30);
Date: 2025-05-24 03:05:01 Duration: 532ms Database: acaweb_fx User: postgres Remote: [local] Application: psql
6 38s749ms 150 74ms 729ms 258ms 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 #6
Day Hour Count Duration Avg duration May 24 03 150 38s749ms 258ms [ User: postgres - Total duration: 38s749ms - Times executed: 150 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 38s749ms - Times executed: 150 ]
-
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-24 03:36:01 Duration: 729ms 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-24 03:36:01 Duration: 727ms Database: acaweb_fx User: postgres Remote: 192.168.1.20 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-24 03:16:02 Duration: 652ms Database: acaweb_fx User: postgres Remote: 192.168.1.20 Application: PostgreSQL JDBC Driver Bind query: yes
7 29s202ms 34 12ms 10s511ms 858ms select fixcandlegaps (?, false);Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration May 24 03 34 29s202ms 858ms [ User: postgres - Total duration: 29s202ms - Times executed: 34 ]
[ Application: psql - Total duration: 29s202ms - Times executed: 34 ]
-
select fixcandlegaps ('ICMARKETS-AU-MT5', false);
Date: 2025-05-24 03:06:31 Duration: 10s511ms Database: acaweb_fx User: postgres Remote: [local] Application: psql
-
select fixcandlegaps ('ATFX', false);
Date: 2025-05-24 03:06:09 Duration: 3s679ms Database: acaweb_fx User: postgres Remote: [local] Application: psql
-
select fixcandlegaps ('AXIORY', false);
Date: 2025-05-24 03:06:12 Duration: 2s703ms Database: acaweb_fx User: postgres Remote: [local] Application: psql
8 23s126ms 10,360 0ms 9ms 2ms 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 24 03 10,360 23s126ms 2ms [ User: postgres - Total duration: 23s126ms - Times executed: 10360 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 23s126ms - Times executed: 10360 ]
-
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 = '558' AND ('0' = 0 OR s.timegranularity = '0') AND (s.symbol = 'USDSEK' OR dss.downloadersymbol = 'USDSEK') AND dss.enabled = 1;
Date: 2025-05-24 03:00:05 Duration: 9ms 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 = 'UK100' OR dss.downloadersymbol = 'UK100') AND dss.enabled = 1;
Date: 2025-05-24 03:00:04 Duration: 7ms Database: acaweb_fx User: postgres Remote: 192.168.1.145 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 = 'ETHUSD' OR dss.downloadersymbol = 'ETHUSD') AND dss.enabled = 1;
Date: 2025-05-24 03:00:05 Duration: 6ms Database: acaweb_fx User: postgres Remote: 192.168.1.145 Application: PostgreSQL JDBC Driver Bind query: yes
9 13s363ms 11,770 0ms 7ms 1ms insert into sa_hist_bigmove (symbolid, datetime, image, return, percentile, direction, height, z0, z1, timez0, timez1) select ?, ?, ?, ?.?, ?.?, ?, ?.?, ?.?, ?.?, ?, ? where not exists ( select ? from sa_hist_bigmove where symbolid = ? and datetime = ? and cast(percentile * ? as integer) = ? and direction = ?) returning id;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration May 24 03 11,770 13s363ms 1ms [ User: postgres - Total duration: 13s363ms - Times executed: 11770 ]
[ Application: [unknown] - Total duration: 13s363ms - Times executed: 11770 ]
-
insert into sa_hist_bigmove (symbolid, datetime, image, return, percentile, direction, height, z0, z1, timez0, timez1) select 500991627550361200, '2025-05-23 22:00:00', '', 0.743764679566049, 0.99, 1, 0.00133000000000001, 0.90075, 0.8941, '2025-05-20 02:00:00', '2025-05-19 01:00:00' WHERE NOT EXISTS ( SELECT 1 FROM sa_hist_bigmove WHERE symbolid = 500991627550361200 AND datetime = '2025-05-23 22:00:00' AND CAST(percentile * 100 AS integer) = 99 AND direction = 1) RETURNING id;
Date: 2025-05-24 03:00:02 Duration: 7ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
-
insert into sa_hist_bigmove (symbolid, datetime, image, return, percentile, direction, height, z0, z1, timez0, timez1) select 500991628208653200, '2025-05-23 22:00:00', '', - 0.576956232605098, 0.02, - 1, 0.187399999999997, 161.467, 162.404, '2025-05-23 14:00:00', '2025-05-22 22:00:00' WHERE NOT EXISTS ( SELECT 1 FROM sa_hist_bigmove WHERE symbolid = 500991628208653200 AND datetime = '2025-05-23 22:00:00' AND CAST(percentile * 100 AS integer) = 2 AND direction = - 1) RETURNING id;
Date: 2025-05-24 03:00:03 Duration: 5ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
-
insert into sa_hist_bigmove (symbolid, datetime, image, return, percentile, direction, height, z0, z1, timez0, timez1) select 515840245930551300, '2025-05-23 23:00:00', '', - 2.88219202548319, 0.04, - 1, 606.767999999999, 102227.71, 105261.55, '2025-05-19 09:00:00', '2025-05-19 03:00:00' WHERE NOT EXISTS ( SELECT 1 FROM sa_hist_bigmove WHERE symbolid = 515840245930551300 AND datetime = '2025-05-23 23:00:00' AND CAST(percentile * 100 AS integer) = 4 AND direction = - 1) RETURNING id;
Date: 2025-05-24 03:00:25 Duration: 5ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
10 12s575ms 11,590 0ms 6ms 1ms 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 #10
Day Hour Count Duration Avg duration May 24 03 11,590 12s575ms 1ms [ User: postgres - Total duration: 12s575ms - Times executed: 11590 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 12s575ms - Times executed: 11590 ]
-
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 = '515840217509185300';
Date: 2025-05-24 03:00:05 Duration: 6ms 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 = '515840218039797300';
Date: 2025-05-24 03:07:11 Duration: 4ms 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 = '515840217505138300';
Date: 2025-05-24 03:00:05 Duration: 4ms Database: acaweb_fx User: postgres Remote: 192.168.1.145 Application: PostgreSQL JDBC Driver Bind query: yes
11 9s349ms 6 1s51ms 4s56ms 1s558ms refresh materialized view concurrently latest_t15_candle_view;Times Reported Time consuming queries #11
Day Hour Count Duration Avg duration May 24 03 6 9s349ms 1s558ms [ User: postgres - Total duration: 9s349ms - Times executed: 6 ]
[ Application: [unknown] - Total duration: 9s349ms - Times executed: 6 ]
-
refresh materialized view concurrently latest_t15_candle_view;
Date: 2025-05-24 03:16:20 Duration: 4s56ms Database: acaweb_fx User: postgres Remote: 192.168.4.98 Application: [unknown]
-
refresh materialized view concurrently latest_t15_candle_view;
Date: 2025-05-24 03:01:17 Duration: 1s72ms Database: acaweb_fx User: postgres Remote: 192.168.4.98 Application: [unknown]
-
refresh materialized view concurrently latest_t15_candle_view;
Date: 2025-05-24 03:31:17 Duration: 1s60ms Database: acaweb_fx User: postgres Remote: 192.168.4.98 Application: [unknown]
12 7s348ms 6,672 0ms 5ms 1ms insert into executionlogs (executionid, status, message, details, detailtype) values (null, ?, ?, null, null);Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration May 24 03 6,672 7s348ms 1ms [ User: postgres - Total duration: 7s348ms - Times executed: 6672 ]
[ Application: [unknown] - Total duration: 7s348ms - Times executed: 6672 ]
-
INSERT INTO executionlogs (executionid, status, message, details, detailtype) VALUES (NULL, 'info', 'evaluating processid: 110, schedule: 1 * * * * Africa/Johannesburg', NULL, NULL);
Date: 2025-05-24 03:47:51 Duration: 5ms Database: socialmedia User: postgres Remote: 192.168.4.33 Application: [unknown]
-
INSERT INTO executionlogs (executionid, status, message, details, detailtype) VALUES (NULL, 'info', 'evaluating processid: 53, schedule: 0 8 * * 1 Africa/Johannesburg', NULL, NULL);
Date: 2025-05-24 03:50: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: 110, schedule: 1 * * * * Africa/Johannesburg', NULL, NULL);
Date: 2025-05-24 03:53:49 Duration: 4ms Database: socialmedia User: postgres Remote: 192.168.4.33 Application: [unknown]
13 6s282ms 1 6s282ms 6s282ms 6s282ms select cleanupt60 (?, ?); refresh materialized view concurrently mat_oldest_t60_candle_per_symbolid;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration May 24 03 1 6s282ms 6s282ms [ User: postgres - Total duration: 6s282ms - Times executed: 1 ]
[ Application: psql - Total duration: 6s282ms - Times executed: 1 ]
-
select cleanupt60 (60, 30); refresh materialized view concurrently mat_oldest_t60_candle_per_symbolid;
Date: 2025-05-24 03:25:08 Duration: 6s282ms Database: acaweb_fx User: postgres Remote: [local] Application: psql
14 4s174ms 1 4s174ms 4s174ms 4s174ms select cleanupt240 (?, ?); refresh materialized view concurrently mat_oldest_t240_candle_per_symbolid;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration May 24 03 1 4s174ms 4s174ms [ User: postgres - Total duration: 4s174ms - Times executed: 1 ]
[ Application: psql - Total duration: 4s174ms - Times executed: 1 ]
-
select cleanupt240 (240, 20); refresh materialized view concurrently mat_oldest_t240_candle_per_symbolid;
Date: 2025-05-24 03:30:05 Duration: 4s174ms Database: acaweb_fx User: postgres Remote: [local] Application: psql
15 2s124ms 52 16ms 161ms 40ms 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 #15
Day Hour Count Duration Avg duration May 24 03 52 2s124ms 40ms [ User: postgres - Total duration: 2s124ms - Times executed: 52 ]
[ Application: [unknown] - Total duration: 2s124ms - Times executed: 52 ]
-
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-24 03:01:05 Duration: 161ms 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-24 03:16:09 Duration: 133ms 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-24 03:31:11 Duration: 102ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
16 1s726ms 706 2ms 11ms 2ms 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 24 03 706 1s726ms 2ms [ User: postgres - Total duration: 1s726ms - Times executed: 706 ]
[ Application: [unknown] - Total duration: 1s726ms - Times executed: 706 ]
-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-25 12:15:00'::timestamp without time zone, 66.55, 66.6, 66.5, 66.575, 3091, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-25 12:30:00'::timestamp without time zone, 66.5, 66.6744, 66.5, 66.6744, 29830, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-25 13:00:00'::timestamp without time zone, 66.7229, 67.0554, 66.7229, 67.0554, 4013, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-25 13:15:00'::timestamp without time zone, 66.5316, 66.5316, 66.5316, 66.5316, 7413, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-26 09:30:00'::timestamp without time zone, 66.3, 66.3, 66.3, 66.3, 63346, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-26 10:15:00'::timestamp without time zone, 66.25, 66.25, 66.2, 66.2, 339, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-26 10:30:00'::timestamp without time zone, 66.1799, 66.2, 66.1799, 66.2, 5085, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-26 10:45:00'::timestamp without time zone, 66.35, 66.35, 66.35, 66.35, 15, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-26 11:00:00'::timestamp without time zone, 66.35, 66.4, 66.3, 66.3, 17164, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-26 11:15:00'::timestamp without time zone, 66.25, 66.25, 66.25, 66.25, 19, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-26 11:45:00'::timestamp without time zone, 66.4, 66.5, 66.4, 66.5, 476, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-26 12:00:00'::timestamp without time zone, 66.4, 66.4, 66.4, 66.4, 200, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-26 12:15:00'::timestamp without time zone, 66.4, 66.4, 66.4, 66.4, 667, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-26 12:45:00'::timestamp without time zone, 66.2857, 66.2857, 66.2857, 66.2857, 32711, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-26 13:00:00'::timestamp without time zone, 66.5, 66.5, 66.2, 66.2233, 1963, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-26 13:15:00'::timestamp without time zone, 66.2427, 66.2427, 66.2427, 66.2427, 440, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-27 08:00:00'::timestamp without time zone, 66.1, 66.15, 66.1, 66.15, 202, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-27 08:45:00'::timestamp without time zone, 66.1, 66.1, 66.1, 66.1, 248, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-27 09:00:00'::timestamp without time zone, 66.1, 66.1, 66.1, 66.1, 104, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-27 09:30:00'::timestamp without time zone, 66.15, 66.15, 66.15, 66.15, 18098, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-27 09:45:00'::timestamp without time zone, 66.05, 66.15, 66.05, 66.15, 304, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-27 10:00:00'::timestamp without time zone, 66.25, 66.3, 66.25, 66.3, 915, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-27 10:30:00'::timestamp without time zone, 66.15, 66.15, 66.1, 66.1, 274, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-27 10:45:00'::timestamp without time zone, 66.15, 66.15, 66.05, 66.05, 199596, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-27 11:00:00'::timestamp without time zone, 66.2, 66.2, 66.2, 66.2, 64, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-27 12:15:00'::timestamp without time zone, 66.225, 66.225, 66.225, 66.225, 68, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-27 12:30:00'::timestamp without time zone, 66.2318, 66.2318, 66.2318, 66.2318, 8206, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-27 13:00:00'::timestamp without time zone, 66.3888, 66.55, 66.1219, 66.1219, 1889, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-27 13:15:00'::timestamp without time zone, 66.1693, 66.2, 66.1693, 66.2, 1315, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-28 08:00:00'::timestamp without time zone, 66.95, 66.95, 66.95, 66.95, 375457, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-28 08:30:00'::timestamp without time zone, 67.15, 67.15, 67.15, 67.15, 38, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-28 09:00:00'::timestamp without time zone, 67.4, 67.4, 67.4, 67.4, 14835, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-28 09:30:00'::timestamp without time zone, 67.35, 67.35, 67.35, 67.35, 30, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-28 10:00:00'::timestamp without time zone, 67.4, 67.4, 67.4, 67.4, 17187, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-28 10:30:00'::timestamp without time zone, 67.35, 67.35, 67.35, 67.35, 18581, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-28 11:00:00'::timestamp without time zone, 67.2, 67.3, 67.2, 67.3, 3096745, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-28 11:30:00'::timestamp without time zone, 67.6, 67.6, 67.6, 67.6, 1, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-28 12:30:00'::timestamp without time zone, 67.45, 67.45, 67.45, 67.45, 25, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-28 13:00:00'::timestamp without time zone, 66.6, 67.4045, 66.6, 67.4045, 1658, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-28 13:15:00'::timestamp without time zone, 66.7582, 66.7582, 66.7582, 66.7582, 567, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-31 08:45:00'::timestamp without time zone, 66.7, 66.7, 66.7, 66.7, 6, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-31 09:15:00'::timestamp without time zone, 66.65, 66.65, 66.65, 66.65, 42, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-31 09:30:00'::timestamp without time zone, 66.65, 66.65, 66.65, 66.65, 115, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-31 10:45:00'::timestamp without time zone, 66.8, 66.8, 66.8, 66.8, 1, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-31 11:00:00'::timestamp without time zone, 66.65, 66.675, 66.55, 66.55, 4154, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-31 11:15:00'::timestamp without time zone, 66.55, 66.625, 66.55, 66.625, 4883, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-31 11:30:00'::timestamp without time zone, 66.9, 66.9, 66.9, 66.9, 445, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-31 12:00:00'::timestamp without time zone, 66.6729, 66.6729, 66.5461, 66.6473, 1983, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-04-01 08:15:00'::timestamp without time zone, 66.225, 66.225, 66.225, 66.225, 322, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-04-01 08:30:00'::timestamp without time zone, 66.25, 66.35, 66.25, 66.35, 397, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-04-01 08:45:00'::timestamp without time zone, 66.375, 66.375, 66.375, 66.375, 1379, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING;
Date: 2025-05-24 03:26:41 Duration: 11ms 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-15 13:15:00'::timestamp without time zone, 0.6407, 0.6408, 0.64055, 0.6407, 424, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 13:30:00'::timestamp without time zone, 0.64065, 0.64065, 0.6403, 0.6403, 682, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 13:45:00'::timestamp without time zone, 0.64035, 0.64055, 0.6403, 0.64035, 830, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 14:00:00'::timestamp without time zone, 0.64035, 0.64065, 0.64035, 0.6405, 442, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 14:15:00'::timestamp without time zone, 0.6405, 0.64055, 0.64015, 0.6402, 549, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 14:30:00'::timestamp without time zone, 0.6402, 0.6407, 0.64015, 0.6406, 587, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 14:45:00'::timestamp without time zone, 0.6406, 0.64085, 0.64035, 0.6408, 1511, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 15:00:00'::timestamp without time zone, 0.64075, 0.6408, 0.6405, 0.64055, 748, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 15:15:00'::timestamp without time zone, 0.6405, 0.6406, 0.64035, 0.6404, 332, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 15:30:00'::timestamp without time zone, 0.64045, 0.6409, 0.64045, 0.6407, 437, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 15:45:00'::timestamp without time zone, 0.6407, 0.64085, 0.6406, 0.64085, 438, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 16:00:00'::timestamp without time zone, 0.6408, 0.64115, 0.6408, 0.64105, 238, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 16:15:00'::timestamp without time zone, 0.64105, 0.6411, 0.64095, 0.641, 115, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 16:30:00'::timestamp without time zone, 0.64105, 0.64105, 0.64065, 0.6408, 139, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 16:45:00'::timestamp without time zone, 0.64075, 0.641, 0.6407, 0.64095, 112, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 18:00:00'::timestamp without time zone, 0.64085, 0.6411, 0.6405, 0.6409, 478, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 18:15:00'::timestamp without time zone, 0.64085, 0.641, 0.6408, 0.64085, 230, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 18:30:00'::timestamp without time zone, 0.64085, 0.64085, 0.64065, 0.6408, 420, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 18:45:00'::timestamp without time zone, 0.64085, 0.6409, 0.6406, 0.6407, 193, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 19:00:00'::timestamp without time zone, 0.64075, 0.6408, 0.64045, 0.64075, 483, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 19:15:00'::timestamp without time zone, 0.6407, 0.64075, 0.64045, 0.64075, 179, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 19:30:00'::timestamp without time zone, 0.6408, 0.64085, 0.64055, 0.64065, 303, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 19:45:00'::timestamp without time zone, 0.64065, 0.6408, 0.6406, 0.64065, 339, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 20:00:00'::timestamp without time zone, 0.6407, 0.64135, 0.64055, 0.641, 838, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 20:15:00'::timestamp without time zone, 0.641, 0.6412, 0.6407, 0.6407, 545, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 20:30:00'::timestamp without time zone, 0.64075, 0.6412, 0.64035, 0.64035, 813, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 20:45:00'::timestamp without time zone, 0.6404, 0.6404, 0.6397, 0.64005, 1339, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 21:00:00'::timestamp without time zone, 0.64, 0.6406, 0.64, 0.64055, 638, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 21:15:00'::timestamp without time zone, 0.6406, 0.6409, 0.64045, 0.64065, 587, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 21:30:00'::timestamp without time zone, 0.6407, 0.64125, 0.64065, 0.64105, 923, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 21:45:00'::timestamp without time zone, 0.6411, 0.64125, 0.64065, 0.64105, 481, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 22:00:00'::timestamp without time zone, 0.641, 0.641, 0.6405, 0.641, 1048, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 22:15:00'::timestamp without time zone, 0.641, 0.64115, 0.64085, 0.64085, 234, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 22:30:00'::timestamp without time zone, 0.64085, 0.64195, 0.64085, 0.6419, 974, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 22:45:00'::timestamp without time zone, 0.6419, 0.64215, 0.64175, 0.64205, 509, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 23:00:00'::timestamp without time zone, 0.642, 0.6423, 0.6416, 0.6417, 1136, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 23:15:00'::timestamp without time zone, 0.64165, 0.64255, 0.64165, 0.64245, 411, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 23:30:00'::timestamp without time zone, 0.64235, 0.6428, 0.64225, 0.6424, 785, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 23:45:00'::timestamp without time zone, 0.64235, 0.64285, 0.64225, 0.6424, 812, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 00:00:00'::timestamp without time zone, 0.6424, 0.6426, 0.6423, 0.64255, 343, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 00:15:00'::timestamp without time zone, 0.64245, 0.6429, 0.6424, 0.64265, 448, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 00:30:00'::timestamp without time zone, 0.6427, 0.64285, 0.6426, 0.64275, 221, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 00:45:00'::timestamp without time zone, 0.64275, 0.6432, 0.64275, 0.64275, 639, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 01:00:00'::timestamp without time zone, 0.64275, 0.64325, 0.64265, 0.64325, 719, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 01:15:00'::timestamp without time zone, 0.64325, 0.6435, 0.64305, 0.6432, 539, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 01:30:00'::timestamp without time zone, 0.64315, 0.64365, 0.6431, 0.64345, 569, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 01:45:00'::timestamp without time zone, 0.64345, 0.6438, 0.64335, 0.64365, 568, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 02:00:00'::timestamp without time zone, 0.64365, 0.64365, 0.64295, 0.6432, 1315, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 02:15:00'::timestamp without time zone, 0.6432, 0.64345, 0.6427, 0.64275, 727, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 02:30:00'::timestamp without time zone, 0.6427, 0.643, 0.64265, 0.64265, 712, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 02:45:00'::timestamp without time zone, 0.6427, 0.6431, 0.6426, 0.64285, 1123, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING;
Date: 2025-05-24 03: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 (515840221186843300, '2025-05-16 03:00:00'::timestamp without time zone, 0.6428, 0.64295, 0.6425, 0.64295, 1114, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 03:15:00'::timestamp without time zone, 0.64295, 0.6433, 0.6427, 0.6433, 898, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 03:30:00'::timestamp without time zone, 0.64335, 0.6434, 0.64295, 0.64325, 849, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 03:45:00'::timestamp without time zone, 0.6432, 0.64335, 0.64295, 0.64305, 865, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 04:00:00'::timestamp without time zone, 0.64305, 0.64325, 0.64235, 0.64235, 1672, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 04:15:00'::timestamp without time zone, 0.64235, 0.64275, 0.6422, 0.6427, 761, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 04:30:00'::timestamp without time zone, 0.64275, 0.64335, 0.6427, 0.6432, 657, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 04:45:00'::timestamp without time zone, 0.6432, 0.6433, 0.643, 0.643, 373, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 05:00:00'::timestamp without time zone, 0.6429, 0.64305, 0.64275, 0.64295, 383, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 05:15:00'::timestamp without time zone, 0.6429, 0.6431, 0.6427, 0.64305, 554, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 05:30:00'::timestamp without time zone, 0.64305, 0.64305, 0.6425, 0.64255, 396, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 05:45:00'::timestamp without time zone, 0.64255, 0.64255, 0.6422, 0.64225, 677, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 06:00:00'::timestamp without time zone, 0.6422, 0.6424, 0.64195, 0.642, 555, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 06:15:00'::timestamp without time zone, 0.642, 0.6424, 0.642, 0.6423, 403, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 06:30:00'::timestamp without time zone, 0.64225, 0.6424, 0.642, 0.6422, 329, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 06:45:00'::timestamp without time zone, 0.64225, 0.6424, 0.64215, 0.64225, 515, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 07:00:00'::timestamp without time zone, 0.64225, 0.64255, 0.6422, 0.6422, 554, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 07:15:00'::timestamp without time zone, 0.64225, 0.64225, 0.64195, 0.64195, 377, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 07:30:00'::timestamp without time zone, 0.64195, 0.64215, 0.6419, 0.642, 516, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 07:45:00'::timestamp without time zone, 0.642, 0.64225, 0.64175, 0.64195, 506, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 08:00:00'::timestamp without time zone, 0.64195, 0.64195, 0.64125, 0.64135, 1030, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 08:15:00'::timestamp without time zone, 0.6413, 0.64155, 0.6412, 0.6414, 735, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 08:30:00'::timestamp without time zone, 0.6414, 0.64155, 0.64105, 0.6414, 783, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 08:45:00'::timestamp without time zone, 0.64135, 0.6417, 0.64115, 0.64165, 1045, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 09:00:00'::timestamp without time zone, 0.6416, 0.6416, 0.6413, 0.64155, 740, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 09:15:00'::timestamp without time zone, 0.64155, 0.64195, 0.64125, 0.64125, 697, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 09:30:00'::timestamp without time zone, 0.64125, 0.6416, 0.6411, 0.64135, 1388, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 09:45:00'::timestamp without time zone, 0.6414, 0.64205, 0.64135, 0.64195, 1478, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 10:00:00'::timestamp without time zone, 0.6419, 0.64195, 0.641, 0.64125, 1736, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 10:15:00'::timestamp without time zone, 0.6412, 0.64145, 0.6409, 0.6412, 1197, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 10:30:00'::timestamp without time zone, 0.6412, 0.64135, 0.63975, 0.6398, 2327, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 10:45:00'::timestamp without time zone, 0.6398, 0.6403, 0.6396, 0.63995, 2425, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 11:00:00'::timestamp without time zone, 0.63995, 0.64, 0.6394, 0.63995, 2010, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 11:15:00'::timestamp without time zone, 0.6399, 0.6399, 0.63905, 0.63925, 1462, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 11:30:00'::timestamp without time zone, 0.63925, 0.6397, 0.63915, 0.63945, 1217, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 11:45:00'::timestamp without time zone, 0.63945, 0.63965, 0.6393, 0.63955, 1286, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 12:00:00'::timestamp without time zone, 0.63955, 0.64005, 0.6392, 0.6394, 1316, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 12:15:00'::timestamp without time zone, 0.63945, 0.6399, 0.6394, 0.6398, 581, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 12:30:00'::timestamp without time zone, 0.63985, 0.64005, 0.63985, 0.64005, 735, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 12:45:00'::timestamp without time zone, 0.64, 0.64025, 0.63995, 0.64015, 776, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 13:00:00'::timestamp without time zone, 0.6402, 0.64045, 0.6401, 0.64025, 548, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 13:15:00'::timestamp without time zone, 0.64025, 0.64035, 0.64025, 0.6403, 404, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 13:30:00'::timestamp without time zone, 0.6403, 0.64035, 0.6401, 0.6401, 525, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 13:45:00'::timestamp without time zone, 0.64015, 0.64045, 0.64005, 0.6402, 522, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 14:00:00'::timestamp without time zone, 0.64025, 0.64035, 0.64015, 0.64015, 355, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 14:15:00'::timestamp without time zone, 0.64015, 0.64035, 0.64, 0.64025, 351, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 14:30:00'::timestamp without time zone, 0.64025, 0.6406, 0.64015, 0.6406, 487, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 14:45:00'::timestamp without time zone, 0.6407, 0.6408, 0.6406, 0.6408, 814, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 15:00:00'::timestamp without time zone, 0.64075, 0.64095, 0.6407, 0.64075, 667, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 15:15:00'::timestamp without time zone, 0.64075, 0.6409, 0.6407, 0.64075, 261, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 15:30:00'::timestamp without time zone, 0.64075, 0.6409, 0.64075, 0.6408, 262, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING;
Date: 2025-05-24 03:26:21 Duration: 4ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
17 1s537ms 52 14ms 66ms 29ms 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 #17
Day Hour Count Duration Avg duration May 24 03 52 1s537ms 29ms [ User: postgres - Total duration: 1s537ms - Times executed: 52 ]
[ Application: [unknown] - Total duration: 1s537ms - Times executed: 52 ]
-
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-24 03:18:18 Duration: 66ms 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-24 03:03:02 Duration: 63ms 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-24 03:32:06 Duration: 58ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
18 1s394ms 194 0ms 16ms 7ms 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 #18
Day Hour Count Duration Avg duration May 24 03 194 1s394ms 7ms [ User: postgres - Total duration: 1s394ms - Times executed: 194 ]
[ Application: [unknown] - Total duration: 1s394ms - 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 = 515840249492203300 union all select open, high, low, close, volume, pricedatetime FROM T15_ps WHERE pricedatetime >= current_timestamp - interval '180 days' and symbolid = 515840249492203300 order by pricedatetime desc limit 672) a order by _pricedatetime asc;
Date: 2025-05-24 03:26:33 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 = 515840224838607300 union all select open, high, low, close, volume, pricedatetime FROM T15_ps WHERE pricedatetime >= current_timestamp - interval '180 days' and symbolid = 515840224838607300 order by pricedatetime desc limit 672) a order by _pricedatetime asc;
Date: 2025-05-24 03:26:59 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 = 515840249488631300 union all select open, high, low, close, volume, pricedatetime FROM T15_ps WHERE pricedatetime >= current_timestamp - interval '180 days' and symbolid = 515840249488631300 order by pricedatetime desc limit 672) a order by _pricedatetime asc;
Date: 2025-05-24 03:27:08 Duration: 15ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
19 1s350ms 20,019 0ms 1ms 0ms select attnotnull from pg_attribute where attrelid = ? and attnum = ?;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration May 24 03 20,019 1s350ms 0ms [ User: postgres - Total duration: 1s350ms - Times executed: 20019 ]
[ Application: [unknown] - Total duration: 1s350ms - Times executed: 20019 ]
-
select attnotnull from pg_attribute where attrelid = 5882587 and attnum = '1';
Date: 2025-05-24 03:00:02 Duration: 1ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
-
select attnotnull from pg_attribute where attrelid = 5883401 and attnum = '1';
Date: 2025-05-24 03:00:04 Duration: 0ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
-
select attnotnull from pg_attribute where attrelid = 5883401 and attnum = '1';
Date: 2025-05-24 03:00:36 Duration: 0ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
20 1s342ms 2,907 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 #20
Day Hour Count Duration Avg duration May 24 03 2,907 1s342ms 0ms [ User: postgres - Total duration: 1s342ms - Times executed: 2907 ]
[ Application: [unknown] - Total duration: 1s342ms - Times executed: 2907 ]
-
INSERT INTO T15 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ('2025-05-24 04:00:00', '41.04', '41.09', '40.89', '40.89', '494', '515840247893280300', '0', '2025-05-24 03:15:10.822', '2025-05-24 03:15:10.684') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '41.04', high = '41.09', low = '40.89', close = '40.89', volume = '494', bsf = '0', sastdatetimewritten = '2025-05-24 03:15:10.822', sastdatetimereceived = '2025-05-24 03:15:10.684';
Date: 2025-05-24 03:15:10 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-24 03:45:00', '5.45', '5.46', '5.41', '5.41', '57', '515840247947986300', '0', '2025-05-24 03:01:02.134', '2025-05-24 03:01:02.067') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '5.45', high = '5.46', low = '5.41', close = '5.41', volume = '57', bsf = '0', sastdatetimewritten = '2025-05-24 03:01:02.134', sastdatetimereceived = '2025-05-24 03:01:02.067';
Date: 2025-05-24 03:01:02 Duration: 8ms 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-24 04:30:00', '6.008', '6.051', '6.001', '6.035', '600', '515840248621098300', '0', '2025-05-24 03:45:09.341', '2025-05-24 03:45:09.167') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '6.008', high = '6.051', low = '6.001', close = '6.035', volume = '600', bsf = '0', sastdatetimewritten = '2025-05-24 03:45:09.341', sastdatetimereceived = '2025-05-24 03:45:09.167';
Date: 2025-05-24 03:45:09 Duration: 8ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 20,019 1s350ms 0ms 1ms 0ms select attnotnull from pg_attribute where attrelid = ? and attnum = ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration May 24 03 20,019 1s350ms 0ms [ User: postgres - Total duration: 1s350ms - Times executed: 20019 ]
[ Application: [unknown] - Total duration: 1s350ms - Times executed: 20019 ]
-
select attnotnull from pg_attribute where attrelid = 5882587 and attnum = '1';
Date: 2025-05-24 03:00:02 Duration: 1ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
-
select attnotnull from pg_attribute where attrelid = 5883401 and attnum = '1';
Date: 2025-05-24 03:00:04 Duration: 0ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
-
select attnotnull from pg_attribute where attrelid = 5883401 and attnum = '1';
Date: 2025-05-24 03:00:36 Duration: 0ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
2 15,773 58ms 0ms 0ms 0ms select ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration May 24 03 15,773 58ms 0ms [ User: postgres - Total duration: 58ms - Times executed: 15773 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 53ms - Times executed: 15645 ]
[ Application: [unknown] - Total duration: 5ms - Times executed: 128 ]
-
SELECT 1;
Date: 2025-05-24 03:41:58 Duration: 0ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
-
SELECT 1;
Date: 2025-05-24 03:33:38 Duration: 0ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
-
SELECT 1;
Date: 2025-05-24 03:26:20 Duration: 0ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
3 11,770 13s363ms 0ms 7ms 1ms insert into sa_hist_bigmove (symbolid, datetime, image, return, percentile, direction, height, z0, z1, timez0, timez1) select ?, ?, ?, ?.?, ?.?, ?, ?.?, ?.?, ?.?, ?, ? where not exists ( select ? from sa_hist_bigmove where symbolid = ? and datetime = ? and cast(percentile * ? as integer) = ? and direction = ?) returning id;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration May 24 03 11,770 13s363ms 1ms [ User: postgres - Total duration: 13s363ms - Times executed: 11770 ]
[ Application: [unknown] - Total duration: 13s363ms - Times executed: 11770 ]
-
insert into sa_hist_bigmove (symbolid, datetime, image, return, percentile, direction, height, z0, z1, timez0, timez1) select 500991627550361200, '2025-05-23 22:00:00', '', 0.743764679566049, 0.99, 1, 0.00133000000000001, 0.90075, 0.8941, '2025-05-20 02:00:00', '2025-05-19 01:00:00' WHERE NOT EXISTS ( SELECT 1 FROM sa_hist_bigmove WHERE symbolid = 500991627550361200 AND datetime = '2025-05-23 22:00:00' AND CAST(percentile * 100 AS integer) = 99 AND direction = 1) RETURNING id;
Date: 2025-05-24 03:00:02 Duration: 7ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
-
insert into sa_hist_bigmove (symbolid, datetime, image, return, percentile, direction, height, z0, z1, timez0, timez1) select 500991628208653200, '2025-05-23 22:00:00', '', - 0.576956232605098, 0.02, - 1, 0.187399999999997, 161.467, 162.404, '2025-05-23 14:00:00', '2025-05-22 22:00:00' WHERE NOT EXISTS ( SELECT 1 FROM sa_hist_bigmove WHERE symbolid = 500991628208653200 AND datetime = '2025-05-23 22:00:00' AND CAST(percentile * 100 AS integer) = 2 AND direction = - 1) RETURNING id;
Date: 2025-05-24 03:00:03 Duration: 5ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
-
insert into sa_hist_bigmove (symbolid, datetime, image, return, percentile, direction, height, z0, z1, timez0, timez1) select 515840245930551300, '2025-05-23 23:00:00', '', - 2.88219202548319, 0.04, - 1, 606.767999999999, 102227.71, 105261.55, '2025-05-19 09:00:00', '2025-05-19 03:00:00' WHERE NOT EXISTS ( SELECT 1 FROM sa_hist_bigmove WHERE symbolid = 515840245930551300 AND datetime = '2025-05-23 23:00:00' AND CAST(percentile * 100 AS integer) = 4 AND direction = - 1) RETURNING id;
Date: 2025-05-24 03:00:25 Duration: 5ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
4 11,590 12s575ms 0ms 6ms 1ms 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 #4
Day Hour Count Duration Avg duration May 24 03 11,590 12s575ms 1ms [ User: postgres - Total duration: 12s575ms - Times executed: 11590 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 12s575ms - Times executed: 11590 ]
-
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 = '515840217509185300';
Date: 2025-05-24 03:00:05 Duration: 6ms 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 = '515840218039797300';
Date: 2025-05-24 03:07:11 Duration: 4ms 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 = '515840217505138300';
Date: 2025-05-24 03:00:05 Duration: 4ms Database: acaweb_fx User: postgres Remote: 192.168.1.145 Application: PostgreSQL JDBC Driver Bind query: yes
5 10,360 23s126ms 0ms 9ms 2ms 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 #5
Day Hour Count Duration Avg duration May 24 03 10,360 23s126ms 2ms [ User: postgres - Total duration: 23s126ms - Times executed: 10360 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 23s126ms - Times executed: 10360 ]
-
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 = '558' AND ('0' = 0 OR s.timegranularity = '0') AND (s.symbol = 'USDSEK' OR dss.downloadersymbol = 'USDSEK') AND dss.enabled = 1;
Date: 2025-05-24 03:00:05 Duration: 9ms 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 = 'UK100' OR dss.downloadersymbol = 'UK100') AND dss.enabled = 1;
Date: 2025-05-24 03:00:04 Duration: 7ms Database: acaweb_fx User: postgres Remote: 192.168.1.145 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 = 'ETHUSD' OR dss.downloadersymbol = 'ETHUSD') AND dss.enabled = 1;
Date: 2025-05-24 03:00:05 Duration: 6ms Database: acaweb_fx User: postgres Remote: 192.168.1.145 Application: PostgreSQL JDBC Driver Bind query: yes
6 6,672 7s348ms 0ms 5ms 1ms insert into executionlogs (executionid, status, message, details, detailtype) values (null, ?, ?, null, null);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration May 24 03 6,672 7s348ms 1ms [ User: postgres - Total duration: 7s348ms - Times executed: 6672 ]
[ Application: [unknown] - Total duration: 7s348ms - Times executed: 6672 ]
-
INSERT INTO executionlogs (executionid, status, message, details, detailtype) VALUES (NULL, 'info', 'evaluating processid: 110, schedule: 1 * * * * Africa/Johannesburg', NULL, NULL);
Date: 2025-05-24 03:47:51 Duration: 5ms Database: socialmedia User: postgres Remote: 192.168.4.33 Application: [unknown]
-
INSERT INTO executionlogs (executionid, status, message, details, detailtype) VALUES (NULL, 'info', 'evaluating processid: 53, schedule: 0 8 * * 1 Africa/Johannesburg', NULL, NULL);
Date: 2025-05-24 03:50: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: 110, schedule: 1 * * * * Africa/Johannesburg', NULL, NULL);
Date: 2025-05-24 03:53:49 Duration: 4ms Database: socialmedia User: postgres Remote: 192.168.4.33 Application: [unknown]
7 2,907 1s342ms 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 #7
Day Hour Count Duration Avg duration May 24 03 2,907 1s342ms 0ms [ User: postgres - Total duration: 1s342ms - Times executed: 2907 ]
[ Application: [unknown] - Total duration: 1s342ms - Times executed: 2907 ]
-
INSERT INTO T15 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ('2025-05-24 04:00:00', '41.04', '41.09', '40.89', '40.89', '494', '515840247893280300', '0', '2025-05-24 03:15:10.822', '2025-05-24 03:15:10.684') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '41.04', high = '41.09', low = '40.89', close = '40.89', volume = '494', bsf = '0', sastdatetimewritten = '2025-05-24 03:15:10.822', sastdatetimereceived = '2025-05-24 03:15:10.684';
Date: 2025-05-24 03:15:10 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-24 03:45:00', '5.45', '5.46', '5.41', '5.41', '57', '515840247947986300', '0', '2025-05-24 03:01:02.134', '2025-05-24 03:01:02.067') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '5.45', high = '5.46', low = '5.41', close = '5.41', volume = '57', bsf = '0', sastdatetimewritten = '2025-05-24 03:01:02.134', sastdatetimereceived = '2025-05-24 03:01:02.067';
Date: 2025-05-24 03:01:02 Duration: 8ms 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-24 04:30:00', '6.008', '6.051', '6.001', '6.035', '600', '515840248621098300', '0', '2025-05-24 03:45:09.341', '2025-05-24 03:45:09.167') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '6.008', high = '6.051', low = '6.001', close = '6.035', volume = '600', bsf = '0', sastdatetimewritten = '2025-05-24 03:45:09.341', sastdatetimereceived = '2025-05-24 03:45:09.167';
Date: 2025-05-24 03:45:09 Duration: 8ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
8 2,476 431ms 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 #8
Day Hour Count Duration Avg duration May 24 03 2,476 431ms 0ms [ User: postgres - Total duration: 431ms - Times executed: 2476 ]
[ Application: [unknown] - Total duration: 431ms - Times executed: 2476 ]
-
INSERT INTO T30 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ('2025-05-24 04:00:00', '92.82', '93.75', '92.82', '93.42', '855', '515840247891126300', '0', '2025-05-24 03:31:00.084', '2025-05-24 03:30:59.878') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '92.82', high = '93.75', low = '92.82', close = '93.42', volume = '855', bsf = '0', sastdatetimewritten = '2025-05-24 03:31:00.084', sastdatetimereceived = '2025-05-24 03:30:59.878';
Date: 2025-05-24 03:31:00 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-24 03:30:00', '79032.09', '79312.42', '79017.33', '79091.1', '125', '515840247892420300', '0', '2025-05-24 03:00:45.814', '2025-05-24 03:00:45.725') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '79032.09', high = '79312.42', low = '79017.33', close = '79091.1', volume = '125', bsf = '0', sastdatetimewritten = '2025-05-24 03:00:45.814', sastdatetimereceived = '2025-05-24 03:00:45.725';
Date: 2025-05-24 03:00:45 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-24 04:00:00', '1849.34', '1862.69', '1849.04', '1858.48', '339', '515840247940195300', '0', '2025-05-24 03:30:52.195', '2025-05-24 03:30:52.001') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '1849.34', high = '1862.69', low = '1849.04', close = '1858.48', volume = '339', bsf = '0', sastdatetimewritten = '2025-05-24 03:30:52.195', sastdatetimereceived = '2025-05-24 03:30:52.001';
Date: 2025-05-24 03:30:52 Duration: 6ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
9 2,435 399ms 0ms 8ms 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 #9
Day Hour Count Duration Avg duration May 24 03 2,435 399ms 0ms [ User: postgres - Total duration: 399ms - Times executed: 2435 ]
[ Application: [unknown] - Total duration: 399ms - Times executed: 2435 ]
-
INSERT INTO T60 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ('2025-05-24 03:00:00', '92.54', '93.67', '92.12', '92.83', '2843', '515840247891314300', '0', '2025-05-24 03:01:02.643', '2025-05-24 03:01:02.4') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '92.54', high = '93.67', low = '92.12', close = '92.83', volume = '2843', bsf = '0', sastdatetimewritten = '2025-05-24 03:01:02.643', sastdatetimereceived = '2025-05-24 03:01:02.4';
Date: 2025-05-24 03:01:02 Duration: 8ms 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-24 03:00:00', '0.1887', '0.1907', '0.1887', '0.1895', '471', '515840247945372300', '0', '2025-05-24 03:02:00.706', '2025-05-24 03:02:00.644') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '0.1887', high = '0.1907', low = '0.1887', close = '0.1895', volume = '471', bsf = '0', sastdatetimewritten = '2025-05-24 03:02:00.706', sastdatetimereceived = '2025-05-24 03:02:00.644';
Date: 2025-05-24 03:02:00 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-24 03:00:00', '41.24', '41.51', '40.89', '41.04', '2264', '515840247893649300', '0', '2025-05-24 03:00:11.679', '2025-05-24 03:00:11.578') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '41.24', high = '41.51', low = '40.89', close = '41.04', volume = '2264', bsf = '0', sastdatetimewritten = '2025-05-24 03:00:11.679', sastdatetimereceived = '2025-05-24 03:00:11.578';
Date: 2025-05-24 03:00:11 Duration: 6ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
10 1,507 1s230ms 0ms 11ms 0ms select * from ( select pricedatetime, open, high, low, close "..." t60 where symbolid = ? order by pricedatetime desc limit ?) as tmp order by pricedatetime asc;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration May 24 03 1,507 1s230ms 0ms [ User: postgres - Total duration: 1s230ms - Times executed: 1507 ]
[ Application: [unknown] - Total duration: 1s230ms - Times executed: 1507 ]
-
select * from ( select pricedatetime, open, high, low, close from T60 where symbolid = 500991628285625200 order by pricedatetime desc limit 150) as tmp order by pricedatetime asc;
Date: 2025-05-24 03:00:05 Duration: 11ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
-
select * from ( select pricedatetime, open, high, low, close from T60 where symbolid = 515840245940406300 order by pricedatetime desc limit 150) as tmp order by pricedatetime asc;
Date: 2025-05-24 03:00:25 Duration: 7ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
-
select * from ( select pricedatetime, open, high, low, close from T60 where symbolid = 515840245915731300 order by pricedatetime desc limit 150) as tmp order by pricedatetime asc;
Date: 2025-05-24 03:00:24 Duration: 7ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
11 1,156 232ms 0ms 7ms 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 24 03 1,156 232ms 0ms [ User: postgres - Total duration: 232ms - Times executed: 1156 ]
[ Application: [unknown] - Total duration: 232ms - Times executed: 1156 ]
-
SELECT datetimeupdate FROM latest_candle_datetime_per_receng WHERE recognitionengine ILIKE 'ICMARKETS-AU-MT5 - 3';
Date: 2025-05-24 03:47:01 Duration: 7ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
-
SELECT datetimeupdate FROM latest_candle_datetime_per_receng WHERE recognitionengine ILIKE 'ICMARKETS-AU-MT5 - 1';
Date: 2025-05-24 03:18:24 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 'ICMARKETS-AU-MT5 - 2';
Date: 2025-05-24 03:02:14 Duration: 0ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
12 706 1s726ms 2ms 11ms 2ms 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 24 03 706 1s726ms 2ms [ User: postgres - Total duration: 1s726ms - Times executed: 706 ]
[ Application: [unknown] - Total duration: 1s726ms - Times executed: 706 ]
-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-25 12:15:00'::timestamp without time zone, 66.55, 66.6, 66.5, 66.575, 3091, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-25 12:30:00'::timestamp without time zone, 66.5, 66.6744, 66.5, 66.6744, 29830, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-25 13:00:00'::timestamp without time zone, 66.7229, 67.0554, 66.7229, 67.0554, 4013, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-25 13:15:00'::timestamp without time zone, 66.5316, 66.5316, 66.5316, 66.5316, 7413, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-26 09:30:00'::timestamp without time zone, 66.3, 66.3, 66.3, 66.3, 63346, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-26 10:15:00'::timestamp without time zone, 66.25, 66.25, 66.2, 66.2, 339, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-26 10:30:00'::timestamp without time zone, 66.1799, 66.2, 66.1799, 66.2, 5085, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-26 10:45:00'::timestamp without time zone, 66.35, 66.35, 66.35, 66.35, 15, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-26 11:00:00'::timestamp without time zone, 66.35, 66.4, 66.3, 66.3, 17164, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-26 11:15:00'::timestamp without time zone, 66.25, 66.25, 66.25, 66.25, 19, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-26 11:45:00'::timestamp without time zone, 66.4, 66.5, 66.4, 66.5, 476, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-26 12:00:00'::timestamp without time zone, 66.4, 66.4, 66.4, 66.4, 200, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-26 12:15:00'::timestamp without time zone, 66.4, 66.4, 66.4, 66.4, 667, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-26 12:45:00'::timestamp without time zone, 66.2857, 66.2857, 66.2857, 66.2857, 32711, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-26 13:00:00'::timestamp without time zone, 66.5, 66.5, 66.2, 66.2233, 1963, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-26 13:15:00'::timestamp without time zone, 66.2427, 66.2427, 66.2427, 66.2427, 440, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-27 08:00:00'::timestamp without time zone, 66.1, 66.15, 66.1, 66.15, 202, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-27 08:45:00'::timestamp without time zone, 66.1, 66.1, 66.1, 66.1, 248, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-27 09:00:00'::timestamp without time zone, 66.1, 66.1, 66.1, 66.1, 104, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-27 09:30:00'::timestamp without time zone, 66.15, 66.15, 66.15, 66.15, 18098, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-27 09:45:00'::timestamp without time zone, 66.05, 66.15, 66.05, 66.15, 304, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-27 10:00:00'::timestamp without time zone, 66.25, 66.3, 66.25, 66.3, 915, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-27 10:30:00'::timestamp without time zone, 66.15, 66.15, 66.1, 66.1, 274, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-27 10:45:00'::timestamp without time zone, 66.15, 66.15, 66.05, 66.05, 199596, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-27 11:00:00'::timestamp without time zone, 66.2, 66.2, 66.2, 66.2, 64, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-27 12:15:00'::timestamp without time zone, 66.225, 66.225, 66.225, 66.225, 68, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-27 12:30:00'::timestamp without time zone, 66.2318, 66.2318, 66.2318, 66.2318, 8206, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-27 13:00:00'::timestamp without time zone, 66.3888, 66.55, 66.1219, 66.1219, 1889, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-27 13:15:00'::timestamp without time zone, 66.1693, 66.2, 66.1693, 66.2, 1315, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-28 08:00:00'::timestamp without time zone, 66.95, 66.95, 66.95, 66.95, 375457, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-28 08:30:00'::timestamp without time zone, 67.15, 67.15, 67.15, 67.15, 38, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-28 09:00:00'::timestamp without time zone, 67.4, 67.4, 67.4, 67.4, 14835, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-28 09:30:00'::timestamp without time zone, 67.35, 67.35, 67.35, 67.35, 30, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-28 10:00:00'::timestamp without time zone, 67.4, 67.4, 67.4, 67.4, 17187, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-28 10:30:00'::timestamp without time zone, 67.35, 67.35, 67.35, 67.35, 18581, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-28 11:00:00'::timestamp without time zone, 67.2, 67.3, 67.2, 67.3, 3096745, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-28 11:30:00'::timestamp without time zone, 67.6, 67.6, 67.6, 67.6, 1, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-28 12:30:00'::timestamp without time zone, 67.45, 67.45, 67.45, 67.45, 25, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-28 13:00:00'::timestamp without time zone, 66.6, 67.4045, 66.6, 67.4045, 1658, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-28 13:15:00'::timestamp without time zone, 66.7582, 66.7582, 66.7582, 66.7582, 567, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-31 08:45:00'::timestamp without time zone, 66.7, 66.7, 66.7, 66.7, 6, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-31 09:15:00'::timestamp without time zone, 66.65, 66.65, 66.65, 66.65, 42, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-31 09:30:00'::timestamp without time zone, 66.65, 66.65, 66.65, 66.65, 115, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-31 10:45:00'::timestamp without time zone, 66.8, 66.8, 66.8, 66.8, 1, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-31 11:00:00'::timestamp without time zone, 66.65, 66.675, 66.55, 66.55, 4154, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-31 11:15:00'::timestamp without time zone, 66.55, 66.625, 66.55, 66.625, 4883, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-31 11:30:00'::timestamp without time zone, 66.9, 66.9, 66.9, 66.9, 445, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-31 12:00:00'::timestamp without time zone, 66.6729, 66.6729, 66.5461, 66.6473, 1983, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-04-01 08:15:00'::timestamp without time zone, 66.225, 66.225, 66.225, 66.225, 322, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-04-01 08:30:00'::timestamp without time zone, 66.25, 66.35, 66.25, 66.35, 397, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-04-01 08:45:00'::timestamp without time zone, 66.375, 66.375, 66.375, 66.375, 1379, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING;
Date: 2025-05-24 03:26:41 Duration: 11ms 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-15 13:15:00'::timestamp without time zone, 0.6407, 0.6408, 0.64055, 0.6407, 424, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 13:30:00'::timestamp without time zone, 0.64065, 0.64065, 0.6403, 0.6403, 682, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 13:45:00'::timestamp without time zone, 0.64035, 0.64055, 0.6403, 0.64035, 830, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 14:00:00'::timestamp without time zone, 0.64035, 0.64065, 0.64035, 0.6405, 442, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 14:15:00'::timestamp without time zone, 0.6405, 0.64055, 0.64015, 0.6402, 549, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 14:30:00'::timestamp without time zone, 0.6402, 0.6407, 0.64015, 0.6406, 587, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 14:45:00'::timestamp without time zone, 0.6406, 0.64085, 0.64035, 0.6408, 1511, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 15:00:00'::timestamp without time zone, 0.64075, 0.6408, 0.6405, 0.64055, 748, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 15:15:00'::timestamp without time zone, 0.6405, 0.6406, 0.64035, 0.6404, 332, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 15:30:00'::timestamp without time zone, 0.64045, 0.6409, 0.64045, 0.6407, 437, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 15:45:00'::timestamp without time zone, 0.6407, 0.64085, 0.6406, 0.64085, 438, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 16:00:00'::timestamp without time zone, 0.6408, 0.64115, 0.6408, 0.64105, 238, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 16:15:00'::timestamp without time zone, 0.64105, 0.6411, 0.64095, 0.641, 115, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 16:30:00'::timestamp without time zone, 0.64105, 0.64105, 0.64065, 0.6408, 139, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 16:45:00'::timestamp without time zone, 0.64075, 0.641, 0.6407, 0.64095, 112, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 18:00:00'::timestamp without time zone, 0.64085, 0.6411, 0.6405, 0.6409, 478, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 18:15:00'::timestamp without time zone, 0.64085, 0.641, 0.6408, 0.64085, 230, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 18:30:00'::timestamp without time zone, 0.64085, 0.64085, 0.64065, 0.6408, 420, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 18:45:00'::timestamp without time zone, 0.64085, 0.6409, 0.6406, 0.6407, 193, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 19:00:00'::timestamp without time zone, 0.64075, 0.6408, 0.64045, 0.64075, 483, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 19:15:00'::timestamp without time zone, 0.6407, 0.64075, 0.64045, 0.64075, 179, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 19:30:00'::timestamp without time zone, 0.6408, 0.64085, 0.64055, 0.64065, 303, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 19:45:00'::timestamp without time zone, 0.64065, 0.6408, 0.6406, 0.64065, 339, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 20:00:00'::timestamp without time zone, 0.6407, 0.64135, 0.64055, 0.641, 838, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 20:15:00'::timestamp without time zone, 0.641, 0.6412, 0.6407, 0.6407, 545, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 20:30:00'::timestamp without time zone, 0.64075, 0.6412, 0.64035, 0.64035, 813, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 20:45:00'::timestamp without time zone, 0.6404, 0.6404, 0.6397, 0.64005, 1339, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 21:00:00'::timestamp without time zone, 0.64, 0.6406, 0.64, 0.64055, 638, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 21:15:00'::timestamp without time zone, 0.6406, 0.6409, 0.64045, 0.64065, 587, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 21:30:00'::timestamp without time zone, 0.6407, 0.64125, 0.64065, 0.64105, 923, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 21:45:00'::timestamp without time zone, 0.6411, 0.64125, 0.64065, 0.64105, 481, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 22:00:00'::timestamp without time zone, 0.641, 0.641, 0.6405, 0.641, 1048, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 22:15:00'::timestamp without time zone, 0.641, 0.64115, 0.64085, 0.64085, 234, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 22:30:00'::timestamp without time zone, 0.64085, 0.64195, 0.64085, 0.6419, 974, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 22:45:00'::timestamp without time zone, 0.6419, 0.64215, 0.64175, 0.64205, 509, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 23:00:00'::timestamp without time zone, 0.642, 0.6423, 0.6416, 0.6417, 1136, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 23:15:00'::timestamp without time zone, 0.64165, 0.64255, 0.64165, 0.64245, 411, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 23:30:00'::timestamp without time zone, 0.64235, 0.6428, 0.64225, 0.6424, 785, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 23:45:00'::timestamp without time zone, 0.64235, 0.64285, 0.64225, 0.6424, 812, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 00:00:00'::timestamp without time zone, 0.6424, 0.6426, 0.6423, 0.64255, 343, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 00:15:00'::timestamp without time zone, 0.64245, 0.6429, 0.6424, 0.64265, 448, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 00:30:00'::timestamp without time zone, 0.6427, 0.64285, 0.6426, 0.64275, 221, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 00:45:00'::timestamp without time zone, 0.64275, 0.6432, 0.64275, 0.64275, 639, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 01:00:00'::timestamp without time zone, 0.64275, 0.64325, 0.64265, 0.64325, 719, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 01:15:00'::timestamp without time zone, 0.64325, 0.6435, 0.64305, 0.6432, 539, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 01:30:00'::timestamp without time zone, 0.64315, 0.64365, 0.6431, 0.64345, 569, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 01:45:00'::timestamp without time zone, 0.64345, 0.6438, 0.64335, 0.64365, 568, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 02:00:00'::timestamp without time zone, 0.64365, 0.64365, 0.64295, 0.6432, 1315, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 02:15:00'::timestamp without time zone, 0.6432, 0.64345, 0.6427, 0.64275, 727, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 02:30:00'::timestamp without time zone, 0.6427, 0.643, 0.64265, 0.64265, 712, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 02:45:00'::timestamp without time zone, 0.6427, 0.6431, 0.6426, 0.64285, 1123, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING;
Date: 2025-05-24 03: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 (515840221186843300, '2025-05-16 03:00:00'::timestamp without time zone, 0.6428, 0.64295, 0.6425, 0.64295, 1114, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 03:15:00'::timestamp without time zone, 0.64295, 0.6433, 0.6427, 0.6433, 898, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 03:30:00'::timestamp without time zone, 0.64335, 0.6434, 0.64295, 0.64325, 849, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 03:45:00'::timestamp without time zone, 0.6432, 0.64335, 0.64295, 0.64305, 865, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 04:00:00'::timestamp without time zone, 0.64305, 0.64325, 0.64235, 0.64235, 1672, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 04:15:00'::timestamp without time zone, 0.64235, 0.64275, 0.6422, 0.6427, 761, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 04:30:00'::timestamp without time zone, 0.64275, 0.64335, 0.6427, 0.6432, 657, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 04:45:00'::timestamp without time zone, 0.6432, 0.6433, 0.643, 0.643, 373, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 05:00:00'::timestamp without time zone, 0.6429, 0.64305, 0.64275, 0.64295, 383, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 05:15:00'::timestamp without time zone, 0.6429, 0.6431, 0.6427, 0.64305, 554, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 05:30:00'::timestamp without time zone, 0.64305, 0.64305, 0.6425, 0.64255, 396, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 05:45:00'::timestamp without time zone, 0.64255, 0.64255, 0.6422, 0.64225, 677, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 06:00:00'::timestamp without time zone, 0.6422, 0.6424, 0.64195, 0.642, 555, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 06:15:00'::timestamp without time zone, 0.642, 0.6424, 0.642, 0.6423, 403, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 06:30:00'::timestamp without time zone, 0.64225, 0.6424, 0.642, 0.6422, 329, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 06:45:00'::timestamp without time zone, 0.64225, 0.6424, 0.64215, 0.64225, 515, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 07:00:00'::timestamp without time zone, 0.64225, 0.64255, 0.6422, 0.6422, 554, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 07:15:00'::timestamp without time zone, 0.64225, 0.64225, 0.64195, 0.64195, 377, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 07:30:00'::timestamp without time zone, 0.64195, 0.64215, 0.6419, 0.642, 516, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 07:45:00'::timestamp without time zone, 0.642, 0.64225, 0.64175, 0.64195, 506, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 08:00:00'::timestamp without time zone, 0.64195, 0.64195, 0.64125, 0.64135, 1030, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 08:15:00'::timestamp without time zone, 0.6413, 0.64155, 0.6412, 0.6414, 735, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 08:30:00'::timestamp without time zone, 0.6414, 0.64155, 0.64105, 0.6414, 783, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 08:45:00'::timestamp without time zone, 0.64135, 0.6417, 0.64115, 0.64165, 1045, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 09:00:00'::timestamp without time zone, 0.6416, 0.6416, 0.6413, 0.64155, 740, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 09:15:00'::timestamp without time zone, 0.64155, 0.64195, 0.64125, 0.64125, 697, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 09:30:00'::timestamp without time zone, 0.64125, 0.6416, 0.6411, 0.64135, 1388, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 09:45:00'::timestamp without time zone, 0.6414, 0.64205, 0.64135, 0.64195, 1478, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 10:00:00'::timestamp without time zone, 0.6419, 0.64195, 0.641, 0.64125, 1736, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 10:15:00'::timestamp without time zone, 0.6412, 0.64145, 0.6409, 0.6412, 1197, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 10:30:00'::timestamp without time zone, 0.6412, 0.64135, 0.63975, 0.6398, 2327, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 10:45:00'::timestamp without time zone, 0.6398, 0.6403, 0.6396, 0.63995, 2425, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 11:00:00'::timestamp without time zone, 0.63995, 0.64, 0.6394, 0.63995, 2010, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 11:15:00'::timestamp without time zone, 0.6399, 0.6399, 0.63905, 0.63925, 1462, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 11:30:00'::timestamp without time zone, 0.63925, 0.6397, 0.63915, 0.63945, 1217, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 11:45:00'::timestamp without time zone, 0.63945, 0.63965, 0.6393, 0.63955, 1286, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 12:00:00'::timestamp without time zone, 0.63955, 0.64005, 0.6392, 0.6394, 1316, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 12:15:00'::timestamp without time zone, 0.63945, 0.6399, 0.6394, 0.6398, 581, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 12:30:00'::timestamp without time zone, 0.63985, 0.64005, 0.63985, 0.64005, 735, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 12:45:00'::timestamp without time zone, 0.64, 0.64025, 0.63995, 0.64015, 776, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 13:00:00'::timestamp without time zone, 0.6402, 0.64045, 0.6401, 0.64025, 548, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 13:15:00'::timestamp without time zone, 0.64025, 0.64035, 0.64025, 0.6403, 404, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 13:30:00'::timestamp without time zone, 0.6403, 0.64035, 0.6401, 0.6401, 525, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 13:45:00'::timestamp without time zone, 0.64015, 0.64045, 0.64005, 0.6402, 522, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 14:00:00'::timestamp without time zone, 0.64025, 0.64035, 0.64015, 0.64015, 355, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 14:15:00'::timestamp without time zone, 0.64015, 0.64035, 0.64, 0.64025, 351, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 14:30:00'::timestamp without time zone, 0.64025, 0.6406, 0.64015, 0.6406, 487, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 14:45:00'::timestamp without time zone, 0.6407, 0.6408, 0.6406, 0.6408, 814, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 15:00:00'::timestamp without time zone, 0.64075, 0.64095, 0.6407, 0.64075, 667, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 15:15:00'::timestamp without time zone, 0.64075, 0.6409, 0.6407, 0.64075, 261, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 15:30:00'::timestamp without time zone, 0.64075, 0.6409, 0.64075, 0.6408, 262, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING;
Date: 2025-05-24 03:26:21 Duration: 4ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
13 420 542ms 0ms 5ms 1ms with rar_max as ( select resultuid from relevance_autochartist_results order by resultuid desc limit ? ) select a.symbolid, pattern, patternid, resy0, resy1, resx0, resx1, supporty0, supporty1, supportx0, supportx1, predictiontimeto, patternstarttime, timegranularity, patternendtime, direction, trendchange, patternlengthbars, patternquality, case when a.old_resultuid = ? then a.old_resultuid else a.resultuid end as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, s.exchange, s.symbol, s.longname, s.shortname, breakout, dtt.timezone, patternstartprice, patternendprice, qtytp, newlevels.profit, newlevels.stop, newlevels.filtered, case when rar.age is not null then rar.age when a.resultuid <= rm.resultuid then ? else ? end as age, case when rar.relevant is not null then rar.relevant when a.resultuid <= rm.resultuid then ? else ? end as relevant, cps.pip 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 inner join rar_max rm on ? = ? left outer join relevance_autochartist_results rar on rar.resultuid = a.resultuid left join lateral calc_cp_signal (a.resultuid) newlevels on true left join currencypips cps on cps.symbol = s.symbol where (a.old_resultuid = ? or a.resultuid = ?) and dtt.dayofweek = ?;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration May 24 03 420 542ms 1ms [ User: postgres - Total duration: 542ms - Times executed: 420 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 542ms - Times executed: 420 ]
-
WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ) SELECT a.symbolid, pattern, patternid, resy0, resy1, resx0, resx1, supporty0, supporty1, supportx0, supportx1, predictiontimeto, patternstarttime, timegranularity, patternendtime, direction, trendchange, patternlengthbars, patternquality, CASE WHEN a.old_resultuid = '606156626721225301' THEN a.old_resultuid ELSE a.resultuid END AS uid, breakout, initialtrend, volumeincrease, symmetry AS uniformity, predictionpricefrom, predictionpriceto, noise, s.exchange, s.symbol, s.longname, s.shortname, breakout, dtt.timezone, patternStartPrice, patternEndPrice, qtytp, newLevels.profit, newLevels.stop, newLevels.filtered, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip 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 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid LEFT JOIN LATERAL calc_cp_signal (a.resultuid) newLevels on true LEFT JOIN currencypips cps on cps.symbol = s.symbol WHERE (a.old_resultuid = '606156626721225301' OR a.resultuid = '606156626721225301') AND dtt.dayofweek = 3;
Date: 2025-05-24 03:01:36 Duration: 5ms 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 ) SELECT a.symbolid, pattern, patternid, resy0, resy1, resx0, resx1, supporty0, supporty1, supportx0, supportx1, predictiontimeto, patternstarttime, timegranularity, patternendtime, direction, trendchange, patternlengthbars, patternquality, CASE WHEN a.old_resultuid = '606156628993997301' THEN a.old_resultuid ELSE a.resultuid END AS uid, breakout, initialtrend, volumeincrease, symmetry AS uniformity, predictionpricefrom, predictionpriceto, noise, s.exchange, s.symbol, s.longname, s.shortname, breakout, dtt.timezone, patternStartPrice, patternEndPrice, qtytp, newLevels.profit, newLevels.stop, newLevels.filtered, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip 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 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid LEFT JOIN LATERAL calc_cp_signal (a.resultuid) newLevels on true LEFT JOIN currencypips cps on cps.symbol = s.symbol WHERE (a.old_resultuid = '606156628993997301' OR a.resultuid = '606156628993997301') AND dtt.dayofweek = 3;
Date: 2025-05-24 03:01:36 Duration: 5ms Database: acaweb_fx User: postgres Remote: 192.168.1.20 Application: PostgreSQL JDBC Driver Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ) SELECT a.symbolid, pattern, patternid, resy0, resy1, resx0, resx1, supporty0, supporty1, supportx0, supportx1, predictiontimeto, patternstarttime, timegranularity, patternendtime, direction, trendchange, patternlengthbars, patternquality, CASE WHEN a.old_resultuid = '606167829059215301' THEN a.old_resultuid ELSE a.resultuid END AS uid, breakout, initialtrend, volumeincrease, symmetry AS uniformity, predictionpricefrom, predictionpriceto, noise, s.exchange, s.symbol, s.longname, s.shortname, breakout, dtt.timezone, patternStartPrice, patternEndPrice, qtytp, newLevels.profit, newLevels.stop, newLevels.filtered, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip 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 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid LEFT JOIN LATERAL calc_cp_signal (a.resultuid) newLevels on true LEFT JOIN currencypips cps on cps.symbol = s.symbol WHERE (a.old_resultuid = '606167829059215301' OR a.resultuid = '606167829059215301') AND dtt.dayofweek = 3;
Date: 2025-05-24 03:22:07 Duration: 5ms Database: acaweb_fx User: postgres Remote: 192.168.1.250 Application: PostgreSQL JDBC Driver Bind query: yes
14 370 91ms 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 #14
Day Hour Count Duration Avg duration May 24 03 370 91ms 0ms [ User: postgres - Total duration: 91ms - Times executed: 370 ]
[ Application: [unknown] - Total duration: 91ms - Times executed: 370 ]
-
INSERT INTO T240 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ('2025-05-24 00:00:00', '177.06', '178.34', '172.44', '172.63', '15904', '515840249462531300', '0', '2025-05-24 03:00:06.545', '2025-05-24 03:00:06.544') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '177.06', high = '178.34', low = '172.44', close = '172.63', volume = '15904', bsf = '0', sastdatetimewritten = '2025-05-24 03:00:06.545', sastdatetimereceived = '2025-05-24 03:00:06.544';
Date: 2025-05-24 03:00:06 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-24 00:00:00', '108265.53', '108749.02', '106745.97', '107390.08', '50037', '515840248625039300', '0', '2025-05-24 03:00:42.788', '2025-05-24 03:00:42.787') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '108265.53', high = '108749.02', low = '106745.97', close = '107390.08', volume = '50037', bsf = '0', sastdatetimewritten = '2025-05-24 03:00:42.788', sastdatetimereceived = '2025-05-24 03:00:42.787';
Date: 2025-05-24 03:00:42 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-24 00:00:00', '0.7628', '0.7663', '0.7407', '0.742', '12593', '515840249406531300', '0', '2025-05-24 03:00:40.711', '2025-05-24 03:00:40.71') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '0.7628', high = '0.7663', low = '0.7407', close = '0.742', volume = '12593', bsf = '0', sastdatetimewritten = '2025-05-24 03:00:40.711', sastdatetimereceived = '2025-05-24 03:00:40.71';
Date: 2025-05-24 03:00:40 Duration: 2ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
15 351 3ms 0ms 0ms 0ms set extra_float_digits = ?;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration May 24 03 351 3ms 0ms [ User: postgres - Total duration: 3ms - Times executed: 351 ]
[ Application: [unknown] - Total duration: 3ms - Times executed: 351 ]
-
SET extra_float_digits = 3;
Date: 2025-05-24 03:18:07 Duration: 0ms Database: acaweb_fx User: postgres Remote: 192.168.1.145 Application: [unknown] Bind query: yes
-
SET extra_float_digits = 3;
Date: 2025-05-24 03:12:18 Duration: 0ms Database: acaweb_fx User: postgres Remote: 192.168.1.145 Application: [unknown] Bind query: yes
-
SET extra_float_digits = 3;
Date: 2025-05-24 03:50:04 Duration: 0ms Database: acaweb_fx User: postgres Remote: 192.168.2.126 Application: [unknown] Bind query: yes
16 339 3ms 0ms 0ms 0ms set application_name = ?;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration May 24 03 339 3ms 0ms [ User: postgres - Total duration: 3ms - Times executed: 339 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 3ms - Times executed: 339 ]
-
SET application_name = 'PostgreSQL JDBC Driver';
Date: 2025-05-24 03:08:25 Duration: 0ms Database: acaweb_fx User: postgres Remote: 192.168.1.20 Application: PostgreSQL JDBC Driver Bind query: yes
-
SET application_name = 'PostgreSQL JDBC Driver';
Date: 2025-05-24 03:08:46 Duration: 0ms Database: acaweb_fx User: postgres Remote: 192.168.1.145 Application: PostgreSQL JDBC Driver Bind query: yes
-
SET application_name = 'PostgreSQL JDBC Driver';
Date: 2025-05-24 03:02:49 Duration: 0ms Database: acaweb_fx User: postgres Remote: 192.168.1.145 Application: PostgreSQL JDBC Driver Bind query: yes
17 332 661ms 1ms 3ms 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 24 03 332 661ms 1ms [ User: postgres - Total duration: 661ms - Times executed: 332 ]
[ Application: [unknown] - Total duration: 643ms - Times executed: 324 ]
[ Application: psql - Total duration: 18ms - 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 'MILLENNIUMPF') AS subquery WHERE datafeeds_latestrun.feedname ilike 'MILLENNIUMPF';
Date: 2025-05-24 03:38: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 'PEPPERSTONE') AS subquery WHERE datafeeds_latestrun.feedname ilike 'PEPPERSTONE';
Date: 2025-05-24 03:18: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-24 03:43:48 Duration: 3ms Database: acaweb_fx User: postgres Remote: 192.168.4.98 Application: [unknown]
18 331 186ms 0ms 2ms 0ms commit;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration May 24 03 331 186ms 0ms [ User: postgres - Total duration: 186ms - Times executed: 331 ]
[ Application: [unknown] - Total duration: 186ms - Times executed: 331 ]
-
COMMIT;
Date: 2025-05-24 03:09:17 Duration: 2ms Database: acaweb_fx User: postgres Remote: 192.168.4.98 Application: [unknown]
-
COMMIT;
Date: 2025-05-24 03:16:20 Duration: 2ms Database: acaweb_fx User: postgres Remote: 192.168.4.98 Application: [unknown]
-
COMMIT;
Date: 2025-05-24 03:01:17 Duration: 2ms Database: acaweb_fx User: postgres Remote: 192.168.4.98 Application: [unknown]
19 331 12ms 0ms 0ms 0ms begin;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration May 24 03 331 12ms 0ms [ User: postgres - Total duration: 12ms - Times executed: 331 ]
[ Application: [unknown] - Total duration: 12ms - Times executed: 331 ]
-
BEGIN;
Date: 2025-05-24 03:23:48 Duration: 0ms Database: acaweb_fx User: postgres Remote: 192.168.4.98 Application: [unknown]
-
BEGIN;
Date: 2025-05-24 03:38:48 Duration: 0ms Database: acaweb_fx User: postgres Remote: 192.168.4.98 Application: [unknown]
-
BEGIN;
Date: 2025-05-24 03:58:48 Duration: 0ms Database: acaweb_fx User: postgres Remote: 192.168.4.98 Application: [unknown]
20 305 716ms 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 24 03 305 716ms 2ms [ User: postgres - Total duration: 716ms - Times executed: 305 ]
[ Application: [unknown] - Total duration: 716ms - Times executed: 305 ]
-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249505089300, '2025-05-15 16:30:00'::timestamp without time zone, 93.277, 93.33, 93.25, 93.315, 1400, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-15 17:00:00'::timestamp without time zone, 93.236, 93.32, 92.903, 93.194, 1234, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-15 17:30:00'::timestamp without time zone, 93.161, 93.3111839, 93.151, 93.19, 1464, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-15 18:00:00'::timestamp without time zone, 93.238092, 93.282, 93.193, 93.271, 2366, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-15 18:30:00'::timestamp without time zone, 93.28, 93.28, 93.13, 93.158, 2532, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-15 19:00:00'::timestamp without time zone, 93.158, 93.223, 93.1, 93.223, 2484, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-15 19:30:00'::timestamp without time zone, 93.2229144, 93.281, 93.16, 93.221, 3516, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-15 20:00:00'::timestamp without time zone, 93.224, 93.242, 93.04, 93.065, 5194, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-15 20:30:00'::timestamp without time zone, 93.069, 93.091, 92.73, 92.819, 5286, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-15 21:00:00'::timestamp without time zone, 92.823, 93.002, 92.81, 92.973, 9408, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-15 21:30:00'::timestamp without time zone, 92.971, 93.04, 92.95, 93.028, 7858, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-15 22:00:00'::timestamp without time zone, 93.031, 93.087, 92.93, 93.047, 6656, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-15 22:30:00'::timestamp without time zone, 93.044, 93.342, 93.03, 93.323, 7394, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-15 23:00:00'::timestamp without time zone, 93.324, 93.361, 93.22, 93.314, 6898, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-15 23:30:00'::timestamp without time zone, 93.315, 93.351, 93.24, 93.277, 5954, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 00:00:00'::timestamp without time zone, 93.275, 93.386, 93.235, 93.369, 6106, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 00:30:00'::timestamp without time zone, 93.367, 93.458, 93.32, 93.359, 5160, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 01:00:00'::timestamp without time zone, 93.36, 93.466, 93.3, 93.427, 5984, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 01:30:00'::timestamp without time zone, 93.432, 93.471, 93.39, 93.43, 5560, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 02:00:00'::timestamp without time zone, 93.426, 93.49, 93.26, 93.312, 8602, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 02:30:00'::timestamp without time zone, 93.313, 93.3337536, 93.18, 93.208, 7496, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 03:00:00'::timestamp without time zone, 93.209, 93.358, 93.11, 93.347, 11048, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 03:30:00'::timestamp without time zone, 93.346, 93.375, 93.27, 93.359, 9680, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 04:00:00'::timestamp without time zone, 93.355, 93.412, 93.26, 93.381, 9736, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 04:30:00'::timestamp without time zone, 93.386, 93.437, 93.36, 93.389, 7550, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 05:00:00'::timestamp without time zone, 93.383, 93.492, 93.34, 93.451, 7632, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 05:30:00'::timestamp without time zone, 93.451, 93.48, 93.39, 93.432, 8610, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 06:00:00'::timestamp without time zone, 93.426, 93.4583835, 93.35, 93.397, 7160, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 06:30:00'::timestamp without time zone, 93.393, 93.453, 93.37, 93.431, 7204, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 07:00:00'::timestamp without time zone, 93.434, 93.451, 93.35, 93.413, 6904, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 07:30:00'::timestamp without time zone, 93.4116643, 93.468, 93.4, 93.456, 7750, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 08:00:00'::timestamp without time zone, 93.456, 93.474, 93.32, 93.341, 8284, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 08:30:00'::timestamp without time zone, 93.346, 93.3697654, 93.28, 93.33, 9270, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 09:00:00'::timestamp without time zone, 93.329, 93.365, 93.24, 93.311, 9556, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 09:30:00'::timestamp without time zone, 93.302, 93.391, 93.24, 93.365, 11608, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 10:00:00'::timestamp without time zone, 93.367, 93.498, 93.28, 93.458, 12976, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 10:30:00'::timestamp without time zone, 93.456, 93.464, 93.33, 93.36, 14440, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 11:00:00'::timestamp without time zone, 93.365, 93.383, 93.25, 93.278, 10648, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 11:30:00'::timestamp without time zone, 93.279, 93.357, 93.27, 93.349, 7722, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 12:00:00'::timestamp without time zone, 93.352, 93.3761678, 93.29, 93.35, 8444, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 12:30:00'::timestamp without time zone, 93.352, 93.401, 93.31, 93.384, 6236, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 13:00:00'::timestamp without time zone, 93.379, 93.4610744, 93.35, 93.409, 5896, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 13:30:00'::timestamp without time zone, 93.419, 93.437, 93.34, 93.376, 5588, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 14:00:00'::timestamp without time zone, 93.376, 93.396, 93.32, 93.36, 4872, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 14:30:00'::timestamp without time zone, 93.362, 93.459, 93.34, 93.446, 5160, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 15:00:00'::timestamp without time zone, 93.445, 93.457, 93.39, 93.427, 4678, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 15:30:00'::timestamp without time zone, 93.425, 93.496, 93.4, 93.491, 5502, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 16:00:00'::timestamp without time zone, 93.494, 93.495, 93.43, 93.481, 3752, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 16:30:00'::timestamp without time zone, 93.477, 93.4974113, 93.145, 93.171, 3590, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-18 17:00:00'::timestamp without time zone, 93.013, 93.1637848, 92.575, 92.977, 239, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-18 17:30:00'::timestamp without time zone, 92.963, 93.1248102, 92.907, 93.072, 320, 0, '2025-05-24 03:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING;
Date: 2025-05-24 03:26:22 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-15 13:00:00'::timestamp without time zone, 0.6407, 0.6408, 0.64055, 0.6407, 848, 0, '2025-05-24 03: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-15 13:30:00'::timestamp without time zone, 0.64065, 0.64065, 0.6403, 0.64035, 3024, 0, '2025-05-24 03: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-15 14:00:00'::timestamp without time zone, 0.64035, 0.64065, 0.64015, 0.6402, 1982, 0, '2025-05-24 03: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-15 14:30:00'::timestamp without time zone, 0.6402, 0.64085, 0.64015, 0.6408, 4196, 0, '2025-05-24 03: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-15 15:00:00'::timestamp without time zone, 0.64075, 0.6408, 0.64035, 0.6404, 2160, 0, '2025-05-24 03: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-15 15:30:00'::timestamp without time zone, 0.64045, 0.6409, 0.64045, 0.64085, 1750, 0, '2025-05-24 03: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-15 16:00:00'::timestamp without time zone, 0.6408, 0.64115, 0.6408, 0.641, 706, 0, '2025-05-24 03: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-15 16:30:00'::timestamp without time zone, 0.64105, 0.64105, 0.64065, 0.64095, 502, 0, '2025-05-24 03: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-15 18:00:00'::timestamp without time zone, 0.64085, 0.6411, 0.6405, 0.64085, 1416, 0, '2025-05-24 03: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-15 18:30:00'::timestamp without time zone, 0.64085, 0.6409, 0.6406, 0.6407, 1226, 0, '2025-05-24 03: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-15 19:00:00'::timestamp without time zone, 0.64075, 0.6408, 0.64045, 0.64075, 1324, 0, '2025-05-24 03: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-15 19:30:00'::timestamp without time zone, 0.6408, 0.64085, 0.64055, 0.64065, 1284, 0, '2025-05-24 03: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-15 20:00:00'::timestamp without time zone, 0.6407, 0.64135, 0.64055, 0.6407, 2766, 0, '2025-05-24 03: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-15 20:30:00'::timestamp without time zone, 0.64075, 0.6412, 0.6397, 0.64005, 4304, 0, '2025-05-24 03: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-15 21:00:00'::timestamp without time zone, 0.64, 0.6409, 0.64, 0.64065, 2450, 0, '2025-05-24 03: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-15 21:30:00'::timestamp without time zone, 0.6407, 0.64125, 0.64065, 0.64105, 2808, 0, '2025-05-24 03: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-15 22:00:00'::timestamp without time zone, 0.641, 0.64115, 0.6405, 0.64085, 2564, 0, '2025-05-24 03: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-15 22:30:00'::timestamp without time zone, 0.64085, 0.64215, 0.64085, 0.64205, 2966, 0, '2025-05-24 03: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-15 23:00:00'::timestamp without time zone, 0.642, 0.64255, 0.6416, 0.64245, 3094, 0, '2025-05-24 03: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-15 23:30:00'::timestamp without time zone, 0.64235, 0.64285, 0.64225, 0.6424, 3194, 0, '2025-05-24 03: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-16 00:00:00'::timestamp without time zone, 0.6424, 0.6429, 0.6423, 0.64265, 1582, 0, '2025-05-24 03: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-16 00:30:00'::timestamp without time zone, 0.6427, 0.6432, 0.6426, 0.64275, 1720, 0, '2025-05-24 03: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-16 01:00:00'::timestamp without time zone, 0.64275, 0.6435, 0.64265, 0.6432, 2516, 0, '2025-05-24 03: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-16 01:30:00'::timestamp without time zone, 0.64315, 0.6438, 0.6431, 0.64365, 2274, 0, '2025-05-24 03: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-16 02:00:00'::timestamp without time zone, 0.64365, 0.64365, 0.6427, 0.64275, 4084, 0, '2025-05-24 03: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-16 02:30:00'::timestamp without time zone, 0.6427, 0.6431, 0.6426, 0.64285, 3670, 0, '2025-05-24 03: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-16 03:00:00'::timestamp without time zone, 0.6428, 0.6433, 0.6425, 0.6433, 4024, 0, '2025-05-24 03: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-16 03:30:00'::timestamp without time zone, 0.64335, 0.6434, 0.64295, 0.64305, 3428, 0, '2025-05-24 03: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-16 04:00:00'::timestamp without time zone, 0.64305, 0.64325, 0.6422, 0.6427, 4866, 0, '2025-05-24 03: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-16 04:30:00'::timestamp without time zone, 0.64275, 0.64335, 0.6427, 0.643, 2060, 0, '2025-05-24 03: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-16 05:00:00'::timestamp without time zone, 0.6429, 0.6431, 0.6427, 0.64305, 1874, 0, '2025-05-24 03: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-16 05:30:00'::timestamp without time zone, 0.64305, 0.64305, 0.6422, 0.64225, 2146, 0, '2025-05-24 03: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-16 06:00:00'::timestamp without time zone, 0.6422, 0.6424, 0.64195, 0.6423, 1916, 0, '2025-05-24 03: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-16 06:30:00'::timestamp without time zone, 0.64225, 0.6424, 0.642, 0.64225, 1688, 0, '2025-05-24 03: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-16 07:00:00'::timestamp without time zone, 0.64225, 0.64255, 0.64195, 0.64195, 1862, 0, '2025-05-24 03: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-16 07:30:00'::timestamp without time zone, 0.64195, 0.64225, 0.64175, 0.64195, 2044, 0, '2025-05-24 03: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-16 08:00:00'::timestamp without time zone, 0.64195, 0.64195, 0.6412, 0.6414, 3530, 0, '2025-05-24 03: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-16 08:30:00'::timestamp without time zone, 0.6414, 0.6417, 0.64105, 0.64165, 3656, 0, '2025-05-24 03: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-16 09:00:00'::timestamp without time zone, 0.6416, 0.64195, 0.64125, 0.64125, 2874, 0, '2025-05-24 03: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-16 09:30:00'::timestamp without time zone, 0.64125, 0.64205, 0.6411, 0.64195, 5732, 0, '2025-05-24 03: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-16 10:00:00'::timestamp without time zone, 0.6419, 0.64195, 0.6409, 0.6412, 5866, 0, '2025-05-24 03: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-16 10:30:00'::timestamp without time zone, 0.6412, 0.64135, 0.6396, 0.63995, 9504, 0, '2025-05-24 03: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-16 11:00:00'::timestamp without time zone, 0.63995, 0.64, 0.63905, 0.63925, 6944, 0, '2025-05-24 03: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-16 11:30:00'::timestamp without time zone, 0.63925, 0.6397, 0.63915, 0.63955, 5006, 0, '2025-05-24 03: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-16 12:00:00'::timestamp without time zone, 0.63955, 0.64005, 0.6392, 0.6398, 3794, 0, '2025-05-24 03: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-16 12:30:00'::timestamp without time zone, 0.63985, 0.64025, 0.63985, 0.64015, 3022, 0, '2025-05-24 03: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-16 13:00:00'::timestamp without time zone, 0.6402, 0.64045, 0.6401, 0.6403, 1904, 0, '2025-05-24 03: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-16 13:30:00'::timestamp without time zone, 0.6403, 0.64045, 0.64005, 0.6402, 2094, 0, '2025-05-24 03: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-16 14:00:00'::timestamp without time zone, 0.64025, 0.64035, 0.64, 0.64025, 1412, 0, '2025-05-24 03: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-16 14:30:00'::timestamp without time zone, 0.64025, 0.6408, 0.64015, 0.6408, 2602, 0, '2025-05-24 03: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-16 15:00:00'::timestamp without time zone, 0.64075, 0.64095, 0.6407, 0.64075, 1856, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING;
Date: 2025-05-24 03: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-20 21:30:00'::timestamp without time zone, 0.6434, 0.6439, 0.64325, 0.6437, 646, 0, '2025-05-24 03: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-20 22:00:00'::timestamp without time zone, 0.6436, 0.6449, 0.6436, 0.64425, 1535, 0, '2025-05-24 03: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-20 22:30:00'::timestamp without time zone, 0.64435, 0.6445, 0.6436, 0.6443, 1305, 0, '2025-05-24 03: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-20 23:00:00'::timestamp without time zone, 0.6443, 0.6451, 0.6442, 0.64505, 1309, 0, '2025-05-24 03: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-20 23:30:00'::timestamp without time zone, 0.64505, 0.64545, 0.64495, 0.64505, 1100, 0, '2025-05-24 03: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-21 00:00:00'::timestamp without time zone, 0.6451, 0.6452, 0.6443, 0.64475, 916, 0, '2025-05-24 03: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-21 00:30:00'::timestamp without time zone, 0.64475, 0.6456, 0.6446, 0.6453, 1071, 0, '2025-05-24 03: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-21 01:00:00'::timestamp without time zone, 0.64535, 0.64615, 0.64525, 0.6459, 1643, 0, '2025-05-24 03: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-21 01:30:00'::timestamp without time zone, 0.6459, 0.6459, 0.6452, 0.64535, 1154, 0, '2025-05-24 03: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-21 02:00:00'::timestamp without time zone, 0.64525, 0.64585, 0.6447, 0.6457, 2230, 0, '2025-05-24 03: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-21 02:30:00'::timestamp without time zone, 0.64575, 0.64595, 0.6453, 0.64545, 2044, 0, '2025-05-24 03: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-21 03:00:00'::timestamp without time zone, 0.64545, 0.64555, 0.6442, 0.6452, 2464, 0, '2025-05-24 03: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-21 03:30:00'::timestamp without time zone, 0.6452, 0.6452, 0.64465, 0.64505, 1694, 0, '2025-05-24 03: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-21 04:00:00'::timestamp without time zone, 0.6451, 0.64515, 0.6442, 0.64435, 966, 0, '2025-05-24 03: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-21 04:30:00'::timestamp without time zone, 0.64425, 0.64445, 0.64375, 0.6442, 1096, 0, '2025-05-24 03: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-21 05:00:00'::timestamp without time zone, 0.6442, 0.64465, 0.6442, 0.6444, 867, 0, '2025-05-24 03: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-21 05:30:00'::timestamp without time zone, 0.6444, 0.6444, 0.64375, 0.64405, 1406, 0, '2025-05-24 03: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-21 06:00:00'::timestamp without time zone, 0.64405, 0.6454, 0.64385, 0.64535, 1865, 0, '2025-05-24 03: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-21 06:30:00'::timestamp without time zone, 0.6454, 0.64555, 0.6446, 0.6447, 1893, 0, '2025-05-24 03: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-21 07:00:00'::timestamp without time zone, 0.6447, 0.64515, 0.6445, 0.64485, 1356, 0, '2025-05-24 03: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-21 07:30:00'::timestamp without time zone, 0.64485, 0.64485, 0.6444, 0.6446, 1223, 0, '2025-05-24 03: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-21 08:00:00'::timestamp without time zone, 0.64465, 0.64565, 0.6444, 0.64525, 1947, 0, '2025-05-24 03: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-21 08:30:00'::timestamp without time zone, 0.64525, 0.64535, 0.64415, 0.64475, 2564, 0, '2025-05-24 03: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-21 09:00:00'::timestamp without time zone, 0.64475, 0.645, 0.6443, 0.64445, 2046, 0, '2025-05-24 03: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-21 09:30:00'::timestamp without time zone, 0.64445, 0.64495, 0.6439, 0.64485, 3024, 0, '2025-05-24 03: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-21 10:00:00'::timestamp without time zone, 0.6449, 0.6458, 0.64485, 0.64505, 3772, 0, '2025-05-24 03: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-21 10:30:00'::timestamp without time zone, 0.64505, 0.64625, 0.6449, 0.64605, 3275, 0, '2025-05-24 03: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-21 11:00:00'::timestamp without time zone, 0.646, 0.64675, 0.6457, 0.64655, 4475, 0, '2025-05-24 03: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-21 11:30:00'::timestamp without time zone, 0.64665, 0.64685, 0.6464, 0.64685, 1854, 0, '2025-05-24 03: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-21 12:00:00'::timestamp without time zone, 0.6468, 0.64715, 0.64635, 0.6465, 2419, 0, '2025-05-24 03: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-21 12:30:00'::timestamp without time zone, 0.6465, 0.64675, 0.6465, 0.64665, 1191, 0, '2025-05-24 03: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-21 13:00:00'::timestamp without time zone, 0.64665, 0.6469, 0.6454, 0.64545, 3094, 0, '2025-05-24 03: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-21 13:30:00'::timestamp without time zone, 0.64545, 0.64545, 0.6445, 0.6449, 3349, 0, '2025-05-24 03: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-21 14:00:00'::timestamp without time zone, 0.6449, 0.64505, 0.6444, 0.6449, 2246, 0, '2025-05-24 03: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-21 14:30:00'::timestamp without time zone, 0.64485, 0.6451, 0.64415, 0.6443, 2181, 0, '2025-05-24 03: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-21 15:00:00'::timestamp without time zone, 0.6443, 0.64465, 0.6436, 0.6437, 2000, 0, '2025-05-24 03: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-21 15:30:00'::timestamp without time zone, 0.6437, 0.6441, 0.6434, 0.6434, 1772, 0, '2025-05-24 03: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-21 16:00:00'::timestamp without time zone, 0.64345, 0.6437, 0.64335, 0.64365, 784, 0, '2025-05-24 03: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-21 16:30:00'::timestamp without time zone, 0.6437, 0.644, 0.6436, 0.6439, 460, 0, '2025-05-24 03: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-21 18:00:00'::timestamp without time zone, 0.6435, 0.6437, 0.64315, 0.64345, 794, 0, '2025-05-24 03: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-21 18:30:00'::timestamp without time zone, 0.64345, 0.64365, 0.64325, 0.64325, 402, 0, '2025-05-24 03: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-21 19:00:00'::timestamp without time zone, 0.64325, 0.6436, 0.6432, 0.6435, 403, 0, '2025-05-24 03: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-21 19:30:00'::timestamp without time zone, 0.64345, 0.64375, 0.64325, 0.6435, 621, 0, '2025-05-24 03: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-21 20:00:00'::timestamp without time zone, 0.6435, 0.6446, 0.64345, 0.64395, 1959, 0, '2025-05-24 03: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-21 20:30:00'::timestamp without time zone, 0.64395, 0.6442, 0.6434, 0.64415, 1230, 0, '2025-05-24 03: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-21 21:00:00'::timestamp without time zone, 0.64415, 0.6447, 0.64405, 0.6442, 1361, 0, '2025-05-24 03: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-21 21:30:00'::timestamp without time zone, 0.64415, 0.6443, 0.64295, 0.64315, 2059, 0, '2025-05-24 03: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-21 22:00:00'::timestamp without time zone, 0.6431, 0.64385, 0.6429, 0.6438, 1466, 0, '2025-05-24 03: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-21 22:30:00'::timestamp without time zone, 0.64385, 0.6449, 0.6438, 0.6443, 1012, 0, '2025-05-24 03: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-21 23:00:00'::timestamp without time zone, 0.64435, 0.6446, 0.644, 0.6444, 912, 0, '2025-05-24 03: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-21 23:30:00'::timestamp without time zone, 0.64435, 0.6446, 0.64415, 0.6445, 665, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING;
Date: 2025-05-24 03:26:21 Duration: 4ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 532ms 45s747ms 15s610ms 3 46s830ms select cleanupkeylevelsresults (?, ?, ?);Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration May 24 03 3 46s830ms 15s610ms [ User: postgres - Total duration: 46s830ms - Times executed: 3 ]
[ Application: psql - Total duration: 46s830ms - Times executed: 3 ]
-
select cleanupkeylevelsresults (15, 15, 15);
Date: 2025-05-24 03:10:46 Duration: 45s747ms Database: acaweb_fx User: postgres Remote: [local] Application: psql
-
select cleanupkeylevelsresults (60, 20, 60);
Date: 2025-05-24 03:00:02 Duration: 551ms Database: acaweb_fx User: postgres Remote: [local] Application: psql
-
select cleanupkeylevelsresults (30, 20, 30);
Date: 2025-05-24 03:05:01 Duration: 532ms Database: acaweb_fx User: postgres Remote: [local] Application: psql
2 443ms 17s685ms 8s43ms 298 39m57s 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 #2
Day Hour Count Duration Avg duration May 24 03 298 39m57s 8s43ms [ User: postgres - Total duration: 39m57s - Times executed: 298 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 36m46s - Times executed: 286 ]
[ Application: [unknown] - Total duration: 3m10s - 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 ('0' = 0 OR coalesce(bim.code, s.symbol) in ('')) 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 ('0' = 0 OR ar.patternlengthbars <= '0') 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-24 03:56:03 Duration: 17s685ms 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_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 = '529' 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 ('183' = 0 OR coalesce(bim.code, s.symbol) in ('AUDUSD', 'EURUSD', 'GBPUSD', 'USDCAD', 'USDCHF', 'USDJPY', 'XAGAUD', 'XAGEUR', 'XAGUSD', 'XAUAUD', 'XAUCHF', 'XAUEUR', 'XAUGBP', 'XAUJPY', 'XAUUSD', 'XPDUSD', 'XPTUSD', 'AUS200', 'CA60', 'CHINAH', 'CN50', 'EUSTX50', 'FRA40', 'GER40', 'GERTEC30', 'HK50', 'JPN225', 'MidDE50', 'NAS100', 'NETH25', 'NOR25', 'SA40', 'SCI25', 'SPA35', 'SWI20', 'UK100', 'US2000', 'US30', 'US500', 'VIX', 'AUDCAD', 'AUDCHF', 'AUDNZD', 'AUDSGD', 'EURAUD', 'EURCHF', 'EURGBP', 'GBPAUD', 'GBPCHF', 'NZDUSD', 'CHFSGD', 'EURCZK', 'EURHUF', 'EURMXN', 'EURNOK', 'EURPLN', 'EURSEK', 'EURSGD', 'EURTRY', 'EURZAR', 'GBPMXN', 'GBPNOK', 'GBPSEK', 'GBPSGD', 'GBPTRY', 'NOKJPY', 'NOKSEK', 'NZDCAD', 'NZDCHF', 'SEKJPY', 'SGDJPY', 'USDCNH', 'USDCZK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTHB', 'USDTRY', 'USDZAR', 'ZARJPY', 'ADAUSD', 'AVAXUSD', 'BCHUSD', 'BNBUSD', 'BTCUSD', 'Crypto10', 'Crypto20', 'Crypto30', 'DOGEUSD', 'DOTUSD', 'EOSUSD', 'ETHUSD', 'LINKUSD', 'LTCUSD', 'MATICUSD', 'SOLUSD', 'UNIUSD', 'XLMUSD', 'XRPUSD', 'XTZUSD', 'EURX', 'JPYX', 'USDX', 'Gasoline', 'NatGas', 'SpotBrent', 'SpotCrude', 'AAPL.US', 'ABNB.US', 'AMD.US', 'AMZN.US', 'AXP.US', 'BA.US', 'BABA.US', 'BIDU.US', 'BYND.US', 'C.US', 'COIN.US', 'CRM.US', 'DIS.US', 'EA.US', 'GOOG.US', 'GS.US', 'IBM.US', 'JPM.US', 'LMT.US', 'MA.US', 'MCD.US', 'META.US', 'MRNA.US', 'MSFT.US', 'NFLX.US', 'NKE.US', 'NVDA.US', 'ORCL.US', 'PFE.US', 'PG.US', 'PLTR.US', 'PTON.US', 'PYPL.US', 'QCOM.US', 'SNAP.US', 'SPCE.US', 'SPY.US', 'T.US', 'TMUS.US', 'TSLA.US', 'UBER.US', 'V.US', 'WMT.US', 'ZM.US', 'Cattle', 'Cocoa', 'Coffee', 'Corn', 'Cotton', 'LDSugar', 'LeanHogs', 'LondonSugar', 'Lumber', 'OJ', 'Oats', 'RghRice', 'SoyMeal', 'SoyOil', 'Soybeans', 'Sugar', 'Wheat', 'AUDJPY', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURCAD', 'EURJPY', 'EURNZD', 'GBPCAD', 'GBPJPY', 'GBPNZD', 'NZDJPY')) 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-24 03:36:04 Duration: 17s343ms 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 ('0' = 0 OR coalesce(bim.code, s.symbol) in ('')) 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 ('0' = 0 OR ar.patternlengthbars <= '0') 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-24 03:15:57 Duration: 17s193ms Database: acaweb_fx User: postgres Remote: 192.168.1.250 Application: PostgreSQL JDBC Driver Bind query: yes
3 157ms 15s584ms 6s886ms 299 34m19s 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 #3
Day Hour Count Duration Avg duration May 24 03 299 34m19s 6s886ms [ User: postgres - Total duration: 34m19s - Times executed: 299 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 31m30s - Times executed: 287 ]
[ Application: [unknown] - Total duration: 2m48s - 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-24 03:26:02 Duration: 15s584ms 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 = '689' 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 ('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 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-24 03:36:11 Duration: 14s828ms Database: acaweb_fx User: postgres Remote: 182.165.1.42 Application: [unknown] 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 = '689' 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 ('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 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-24 03:36:04 Duration: 14s399ms Database: acaweb_fx User: postgres Remote: 192.168.1.250 Application: PostgreSQL JDBC Driver Bind query: yes
4 6s282ms 6s282ms 6s282ms 1 6s282ms select cleanupt60 (?, ?); refresh materialized view concurrently mat_oldest_t60_candle_per_symbolid;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration May 24 03 1 6s282ms 6s282ms [ User: postgres - Total duration: 6s282ms - Times executed: 1 ]
[ Application: psql - Total duration: 6s282ms - Times executed: 1 ]
-
select cleanupt60 (60, 30); refresh materialized view concurrently mat_oldest_t60_candle_per_symbolid;
Date: 2025-05-24 03:25:08 Duration: 6s282ms Database: acaweb_fx User: postgres Remote: [local] Application: psql
5 4s174ms 4s174ms 4s174ms 1 4s174ms select cleanupt240 (?, ?); refresh materialized view concurrently mat_oldest_t240_candle_per_symbolid;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration May 24 03 1 4s174ms 4s174ms [ User: postgres - Total duration: 4s174ms - Times executed: 1 ]
[ Application: psql - Total duration: 4s174ms - Times executed: 1 ]
-
select cleanupt240 (240, 20); refresh materialized view concurrently mat_oldest_t240_candle_per_symbolid;
Date: 2025-05-24 03:30:05 Duration: 4s174ms Database: acaweb_fx User: postgres Remote: [local] Application: psql
6 570ms 8s849ms 2s556ms 274 11m40s 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 #6
Day Hour Count Duration Avg duration May 24 03 274 11m40s 2s556ms [ User: postgres - Total duration: 11m40s - Times executed: 274 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 10m36s - Times executed: 262 ]
[ Application: [unknown] - Total duration: 1m3s - 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-24 03:35:56 Duration: 8s849ms 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-24 03:20:51 Duration: 5s73ms 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-24 03:15:52 Duration: 5s69ms Database: acaweb_fx User: postgres Remote: 182.165.1.42 Application: [unknown] Bind query: yes
7 1s51ms 4s56ms 1s558ms 6 9s349ms refresh materialized view concurrently latest_t15_candle_view;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration May 24 03 6 9s349ms 1s558ms [ User: postgres - Total duration: 9s349ms - Times executed: 6 ]
[ Application: [unknown] - Total duration: 9s349ms - Times executed: 6 ]
-
refresh materialized view concurrently latest_t15_candle_view;
Date: 2025-05-24 03:16:20 Duration: 4s56ms Database: acaweb_fx User: postgres Remote: 192.168.4.98 Application: [unknown]
-
refresh materialized view concurrently latest_t15_candle_view;
Date: 2025-05-24 03:01:17 Duration: 1s72ms Database: acaweb_fx User: postgres Remote: 192.168.4.98 Application: [unknown]
-
refresh materialized view concurrently latest_t15_candle_view;
Date: 2025-05-24 03:31:17 Duration: 1s60ms Database: acaweb_fx User: postgres Remote: 192.168.4.98 Application: [unknown]
8 12ms 10s511ms 858ms 34 29s202ms select fixcandlegaps (?, false);Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration May 24 03 34 29s202ms 858ms [ User: postgres - Total duration: 29s202ms - Times executed: 34 ]
[ Application: psql - Total duration: 29s202ms - Times executed: 34 ]
-
select fixcandlegaps ('ICMARKETS-AU-MT5', false);
Date: 2025-05-24 03:06:31 Duration: 10s511ms Database: acaweb_fx User: postgres Remote: [local] Application: psql
-
select fixcandlegaps ('ATFX', false);
Date: 2025-05-24 03:06:09 Duration: 3s679ms Database: acaweb_fx User: postgres Remote: [local] Application: psql
-
select fixcandlegaps ('AXIORY', false);
Date: 2025-05-24 03:06:12 Duration: 2s703ms Database: acaweb_fx User: postgres Remote: [local] Application: psql
9 107ms 1s577ms 457ms 172 1m18s 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 #9
Day Hour Count Duration Avg duration May 24 03 172 1m18s 457ms [ User: postgres - Total duration: 1m18s - Times executed: 172 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1m9s - Times executed: 160 ]
[ Application: [unknown] - Total duration: 8s971ms - 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 = '627' 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 ('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 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-24 03:26:04 Duration: 1s577ms 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_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 = '627' 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 ('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 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-24 03:34:16 Duration: 873ms 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_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 = '627' 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 ('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 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-24 03:48:00 Duration: 870ms Database: acaweb_fx User: postgres Remote: 192.168.1.20 Application: PostgreSQL JDBC Driver Bind query: yes
10 74ms 729ms 258ms 150 38s749ms 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 #10
Day Hour Count Duration Avg duration May 24 03 150 38s749ms 258ms [ User: postgres - Total duration: 38s749ms - Times executed: 150 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 38s749ms - Times executed: 150 ]
-
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-24 03:36:01 Duration: 729ms 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-24 03:36:01 Duration: 727ms Database: acaweb_fx User: postgres Remote: 192.168.1.20 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-24 03:16:02 Duration: 652ms Database: acaweb_fx User: postgres Remote: 192.168.1.20 Application: PostgreSQL JDBC Driver Bind query: yes
11 16ms 161ms 40ms 52 2s124ms 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 24 03 52 2s124ms 40ms [ User: postgres - Total duration: 2s124ms - Times executed: 52 ]
[ Application: [unknown] - Total duration: 2s124ms - Times executed: 52 ]
-
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-24 03:01:05 Duration: 161ms 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-24 03:16:09 Duration: 133ms 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-24 03:31:11 Duration: 102ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
12 14ms 66ms 29ms 52 1s537ms 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 24 03 52 1s537ms 29ms [ User: postgres - Total duration: 1s537ms - Times executed: 52 ]
[ Application: [unknown] - Total duration: 1s537ms - Times executed: 52 ]
-
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-24 03:18:18 Duration: 66ms 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-24 03:03:02 Duration: 63ms 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-24 03:32:06 Duration: 58ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
13 0ms 16ms 7ms 194 1s394ms 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 24 03 194 1s394ms 7ms [ User: postgres - Total duration: 1s394ms - Times executed: 194 ]
[ Application: [unknown] - Total duration: 1s394ms - 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 = 515840249492203300 union all select open, high, low, close, volume, pricedatetime FROM T15_ps WHERE pricedatetime >= current_timestamp - interval '180 days' and symbolid = 515840249492203300 order by pricedatetime desc limit 672) a order by _pricedatetime asc;
Date: 2025-05-24 03:26:33 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 = 515840224838607300 union all select open, high, low, close, volume, pricedatetime FROM T15_ps WHERE pricedatetime >= current_timestamp - interval '180 days' and symbolid = 515840224838607300 order by pricedatetime desc limit 672) a order by _pricedatetime asc;
Date: 2025-05-24 03:26:59 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 = 515840249488631300 union all select open, high, low, close, volume, pricedatetime FROM T15_ps WHERE pricedatetime >= current_timestamp - interval '180 days' and symbolid = 515840249488631300 order by pricedatetime desc limit 672) a order by _pricedatetime asc;
Date: 2025-05-24 03:27:08 Duration: 15ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
14 2ms 11ms 2ms 706 1s726ms 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 24 03 706 1s726ms 2ms [ User: postgres - Total duration: 1s726ms - Times executed: 706 ]
[ Application: [unknown] - Total duration: 1s726ms - Times executed: 706 ]
-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-25 12:15:00'::timestamp without time zone, 66.55, 66.6, 66.5, 66.575, 3091, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-25 12:30:00'::timestamp without time zone, 66.5, 66.6744, 66.5, 66.6744, 29830, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-25 13:00:00'::timestamp without time zone, 66.7229, 67.0554, 66.7229, 67.0554, 4013, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-25 13:15:00'::timestamp without time zone, 66.5316, 66.5316, 66.5316, 66.5316, 7413, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-26 09:30:00'::timestamp without time zone, 66.3, 66.3, 66.3, 66.3, 63346, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-26 10:15:00'::timestamp without time zone, 66.25, 66.25, 66.2, 66.2, 339, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-26 10:30:00'::timestamp without time zone, 66.1799, 66.2, 66.1799, 66.2, 5085, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-26 10:45:00'::timestamp without time zone, 66.35, 66.35, 66.35, 66.35, 15, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-26 11:00:00'::timestamp without time zone, 66.35, 66.4, 66.3, 66.3, 17164, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-26 11:15:00'::timestamp without time zone, 66.25, 66.25, 66.25, 66.25, 19, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-26 11:45:00'::timestamp without time zone, 66.4, 66.5, 66.4, 66.5, 476, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-26 12:00:00'::timestamp without time zone, 66.4, 66.4, 66.4, 66.4, 200, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-26 12:15:00'::timestamp without time zone, 66.4, 66.4, 66.4, 66.4, 667, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-26 12:45:00'::timestamp without time zone, 66.2857, 66.2857, 66.2857, 66.2857, 32711, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-26 13:00:00'::timestamp without time zone, 66.5, 66.5, 66.2, 66.2233, 1963, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-26 13:15:00'::timestamp without time zone, 66.2427, 66.2427, 66.2427, 66.2427, 440, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-27 08:00:00'::timestamp without time zone, 66.1, 66.15, 66.1, 66.15, 202, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-27 08:45:00'::timestamp without time zone, 66.1, 66.1, 66.1, 66.1, 248, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-27 09:00:00'::timestamp without time zone, 66.1, 66.1, 66.1, 66.1, 104, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-27 09:30:00'::timestamp without time zone, 66.15, 66.15, 66.15, 66.15, 18098, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-27 09:45:00'::timestamp without time zone, 66.05, 66.15, 66.05, 66.15, 304, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-27 10:00:00'::timestamp without time zone, 66.25, 66.3, 66.25, 66.3, 915, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-27 10:30:00'::timestamp without time zone, 66.15, 66.15, 66.1, 66.1, 274, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-27 10:45:00'::timestamp without time zone, 66.15, 66.15, 66.05, 66.05, 199596, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-27 11:00:00'::timestamp without time zone, 66.2, 66.2, 66.2, 66.2, 64, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-27 12:15:00'::timestamp without time zone, 66.225, 66.225, 66.225, 66.225, 68, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-27 12:30:00'::timestamp without time zone, 66.2318, 66.2318, 66.2318, 66.2318, 8206, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-27 13:00:00'::timestamp without time zone, 66.3888, 66.55, 66.1219, 66.1219, 1889, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-27 13:15:00'::timestamp without time zone, 66.1693, 66.2, 66.1693, 66.2, 1315, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-28 08:00:00'::timestamp without time zone, 66.95, 66.95, 66.95, 66.95, 375457, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-28 08:30:00'::timestamp without time zone, 67.15, 67.15, 67.15, 67.15, 38, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-28 09:00:00'::timestamp without time zone, 67.4, 67.4, 67.4, 67.4, 14835, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-28 09:30:00'::timestamp without time zone, 67.35, 67.35, 67.35, 67.35, 30, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-28 10:00:00'::timestamp without time zone, 67.4, 67.4, 67.4, 67.4, 17187, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-28 10:30:00'::timestamp without time zone, 67.35, 67.35, 67.35, 67.35, 18581, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-28 11:00:00'::timestamp without time zone, 67.2, 67.3, 67.2, 67.3, 3096745, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-28 11:30:00'::timestamp without time zone, 67.6, 67.6, 67.6, 67.6, 1, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-28 12:30:00'::timestamp without time zone, 67.45, 67.45, 67.45, 67.45, 25, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-28 13:00:00'::timestamp without time zone, 66.6, 67.4045, 66.6, 67.4045, 1658, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-28 13:15:00'::timestamp without time zone, 66.7582, 66.7582, 66.7582, 66.7582, 567, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-31 08:45:00'::timestamp without time zone, 66.7, 66.7, 66.7, 66.7, 6, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-31 09:15:00'::timestamp without time zone, 66.65, 66.65, 66.65, 66.65, 42, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-31 09:30:00'::timestamp without time zone, 66.65, 66.65, 66.65, 66.65, 115, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-31 10:45:00'::timestamp without time zone, 66.8, 66.8, 66.8, 66.8, 1, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-31 11:00:00'::timestamp without time zone, 66.65, 66.675, 66.55, 66.55, 4154, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-31 11:15:00'::timestamp without time zone, 66.55, 66.625, 66.55, 66.625, 4883, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-31 11:30:00'::timestamp without time zone, 66.9, 66.9, 66.9, 66.9, 445, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-03-31 12:00:00'::timestamp without time zone, 66.6729, 66.6729, 66.5461, 66.6473, 1983, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-04-01 08:15:00'::timestamp without time zone, 66.225, 66.225, 66.225, 66.225, 322, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-04-01 08:30:00'::timestamp without time zone, 66.25, 66.35, 66.25, 66.35, 397, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249606374300, '2025-04-01 08:45:00'::timestamp without time zone, 66.375, 66.375, 66.375, 66.375, 1379, 0, '2025-05-24 03:26:41'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING;
Date: 2025-05-24 03:26:41 Duration: 11ms 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-15 13:15:00'::timestamp without time zone, 0.6407, 0.6408, 0.64055, 0.6407, 424, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 13:30:00'::timestamp without time zone, 0.64065, 0.64065, 0.6403, 0.6403, 682, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 13:45:00'::timestamp without time zone, 0.64035, 0.64055, 0.6403, 0.64035, 830, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 14:00:00'::timestamp without time zone, 0.64035, 0.64065, 0.64035, 0.6405, 442, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 14:15:00'::timestamp without time zone, 0.6405, 0.64055, 0.64015, 0.6402, 549, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 14:30:00'::timestamp without time zone, 0.6402, 0.6407, 0.64015, 0.6406, 587, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 14:45:00'::timestamp without time zone, 0.6406, 0.64085, 0.64035, 0.6408, 1511, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 15:00:00'::timestamp without time zone, 0.64075, 0.6408, 0.6405, 0.64055, 748, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 15:15:00'::timestamp without time zone, 0.6405, 0.6406, 0.64035, 0.6404, 332, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 15:30:00'::timestamp without time zone, 0.64045, 0.6409, 0.64045, 0.6407, 437, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 15:45:00'::timestamp without time zone, 0.6407, 0.64085, 0.6406, 0.64085, 438, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 16:00:00'::timestamp without time zone, 0.6408, 0.64115, 0.6408, 0.64105, 238, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 16:15:00'::timestamp without time zone, 0.64105, 0.6411, 0.64095, 0.641, 115, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 16:30:00'::timestamp without time zone, 0.64105, 0.64105, 0.64065, 0.6408, 139, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 16:45:00'::timestamp without time zone, 0.64075, 0.641, 0.6407, 0.64095, 112, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 18:00:00'::timestamp without time zone, 0.64085, 0.6411, 0.6405, 0.6409, 478, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 18:15:00'::timestamp without time zone, 0.64085, 0.641, 0.6408, 0.64085, 230, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 18:30:00'::timestamp without time zone, 0.64085, 0.64085, 0.64065, 0.6408, 420, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 18:45:00'::timestamp without time zone, 0.64085, 0.6409, 0.6406, 0.6407, 193, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 19:00:00'::timestamp without time zone, 0.64075, 0.6408, 0.64045, 0.64075, 483, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 19:15:00'::timestamp without time zone, 0.6407, 0.64075, 0.64045, 0.64075, 179, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 19:30:00'::timestamp without time zone, 0.6408, 0.64085, 0.64055, 0.64065, 303, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 19:45:00'::timestamp without time zone, 0.64065, 0.6408, 0.6406, 0.64065, 339, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 20:00:00'::timestamp without time zone, 0.6407, 0.64135, 0.64055, 0.641, 838, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 20:15:00'::timestamp without time zone, 0.641, 0.6412, 0.6407, 0.6407, 545, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 20:30:00'::timestamp without time zone, 0.64075, 0.6412, 0.64035, 0.64035, 813, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 20:45:00'::timestamp without time zone, 0.6404, 0.6404, 0.6397, 0.64005, 1339, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 21:00:00'::timestamp without time zone, 0.64, 0.6406, 0.64, 0.64055, 638, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 21:15:00'::timestamp without time zone, 0.6406, 0.6409, 0.64045, 0.64065, 587, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 21:30:00'::timestamp without time zone, 0.6407, 0.64125, 0.64065, 0.64105, 923, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 21:45:00'::timestamp without time zone, 0.6411, 0.64125, 0.64065, 0.64105, 481, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 22:00:00'::timestamp without time zone, 0.641, 0.641, 0.6405, 0.641, 1048, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 22:15:00'::timestamp without time zone, 0.641, 0.64115, 0.64085, 0.64085, 234, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 22:30:00'::timestamp without time zone, 0.64085, 0.64195, 0.64085, 0.6419, 974, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 22:45:00'::timestamp without time zone, 0.6419, 0.64215, 0.64175, 0.64205, 509, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 23:00:00'::timestamp without time zone, 0.642, 0.6423, 0.6416, 0.6417, 1136, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 23:15:00'::timestamp without time zone, 0.64165, 0.64255, 0.64165, 0.64245, 411, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 23:30:00'::timestamp without time zone, 0.64235, 0.6428, 0.64225, 0.6424, 785, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-15 23:45:00'::timestamp without time zone, 0.64235, 0.64285, 0.64225, 0.6424, 812, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 00:00:00'::timestamp without time zone, 0.6424, 0.6426, 0.6423, 0.64255, 343, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 00:15:00'::timestamp without time zone, 0.64245, 0.6429, 0.6424, 0.64265, 448, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 00:30:00'::timestamp without time zone, 0.6427, 0.64285, 0.6426, 0.64275, 221, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 00:45:00'::timestamp without time zone, 0.64275, 0.6432, 0.64275, 0.64275, 639, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 01:00:00'::timestamp without time zone, 0.64275, 0.64325, 0.64265, 0.64325, 719, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 01:15:00'::timestamp without time zone, 0.64325, 0.6435, 0.64305, 0.6432, 539, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 01:30:00'::timestamp without time zone, 0.64315, 0.64365, 0.6431, 0.64345, 569, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 01:45:00'::timestamp without time zone, 0.64345, 0.6438, 0.64335, 0.64365, 568, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 02:00:00'::timestamp without time zone, 0.64365, 0.64365, 0.64295, 0.6432, 1315, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 02:15:00'::timestamp without time zone, 0.6432, 0.64345, 0.6427, 0.64275, 727, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 02:30:00'::timestamp without time zone, 0.6427, 0.643, 0.64265, 0.64265, 712, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 02:45:00'::timestamp without time zone, 0.6427, 0.6431, 0.6426, 0.64285, 1123, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING;
Date: 2025-05-24 03: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 (515840221186843300, '2025-05-16 03:00:00'::timestamp without time zone, 0.6428, 0.64295, 0.6425, 0.64295, 1114, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 03:15:00'::timestamp without time zone, 0.64295, 0.6433, 0.6427, 0.6433, 898, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 03:30:00'::timestamp without time zone, 0.64335, 0.6434, 0.64295, 0.64325, 849, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 03:45:00'::timestamp without time zone, 0.6432, 0.64335, 0.64295, 0.64305, 865, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 04:00:00'::timestamp without time zone, 0.64305, 0.64325, 0.64235, 0.64235, 1672, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 04:15:00'::timestamp without time zone, 0.64235, 0.64275, 0.6422, 0.6427, 761, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 04:30:00'::timestamp without time zone, 0.64275, 0.64335, 0.6427, 0.6432, 657, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 04:45:00'::timestamp without time zone, 0.6432, 0.6433, 0.643, 0.643, 373, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 05:00:00'::timestamp without time zone, 0.6429, 0.64305, 0.64275, 0.64295, 383, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 05:15:00'::timestamp without time zone, 0.6429, 0.6431, 0.6427, 0.64305, 554, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 05:30:00'::timestamp without time zone, 0.64305, 0.64305, 0.6425, 0.64255, 396, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 05:45:00'::timestamp without time zone, 0.64255, 0.64255, 0.6422, 0.64225, 677, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 06:00:00'::timestamp without time zone, 0.6422, 0.6424, 0.64195, 0.642, 555, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 06:15:00'::timestamp without time zone, 0.642, 0.6424, 0.642, 0.6423, 403, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 06:30:00'::timestamp without time zone, 0.64225, 0.6424, 0.642, 0.6422, 329, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 06:45:00'::timestamp without time zone, 0.64225, 0.6424, 0.64215, 0.64225, 515, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 07:00:00'::timestamp without time zone, 0.64225, 0.64255, 0.6422, 0.6422, 554, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 07:15:00'::timestamp without time zone, 0.64225, 0.64225, 0.64195, 0.64195, 377, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 07:30:00'::timestamp without time zone, 0.64195, 0.64215, 0.6419, 0.642, 516, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 07:45:00'::timestamp without time zone, 0.642, 0.64225, 0.64175, 0.64195, 506, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 08:00:00'::timestamp without time zone, 0.64195, 0.64195, 0.64125, 0.64135, 1030, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 08:15:00'::timestamp without time zone, 0.6413, 0.64155, 0.6412, 0.6414, 735, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 08:30:00'::timestamp without time zone, 0.6414, 0.64155, 0.64105, 0.6414, 783, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 08:45:00'::timestamp without time zone, 0.64135, 0.6417, 0.64115, 0.64165, 1045, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 09:00:00'::timestamp without time zone, 0.6416, 0.6416, 0.6413, 0.64155, 740, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 09:15:00'::timestamp without time zone, 0.64155, 0.64195, 0.64125, 0.64125, 697, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 09:30:00'::timestamp without time zone, 0.64125, 0.6416, 0.6411, 0.64135, 1388, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 09:45:00'::timestamp without time zone, 0.6414, 0.64205, 0.64135, 0.64195, 1478, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 10:00:00'::timestamp without time zone, 0.6419, 0.64195, 0.641, 0.64125, 1736, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 10:15:00'::timestamp without time zone, 0.6412, 0.64145, 0.6409, 0.6412, 1197, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 10:30:00'::timestamp without time zone, 0.6412, 0.64135, 0.63975, 0.6398, 2327, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 10:45:00'::timestamp without time zone, 0.6398, 0.6403, 0.6396, 0.63995, 2425, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 11:00:00'::timestamp without time zone, 0.63995, 0.64, 0.6394, 0.63995, 2010, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 11:15:00'::timestamp without time zone, 0.6399, 0.6399, 0.63905, 0.63925, 1462, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 11:30:00'::timestamp without time zone, 0.63925, 0.6397, 0.63915, 0.63945, 1217, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 11:45:00'::timestamp without time zone, 0.63945, 0.63965, 0.6393, 0.63955, 1286, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 12:00:00'::timestamp without time zone, 0.63955, 0.64005, 0.6392, 0.6394, 1316, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 12:15:00'::timestamp without time zone, 0.63945, 0.6399, 0.6394, 0.6398, 581, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 12:30:00'::timestamp without time zone, 0.63985, 0.64005, 0.63985, 0.64005, 735, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 12:45:00'::timestamp without time zone, 0.64, 0.64025, 0.63995, 0.64015, 776, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 13:00:00'::timestamp without time zone, 0.6402, 0.64045, 0.6401, 0.64025, 548, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 13:15:00'::timestamp without time zone, 0.64025, 0.64035, 0.64025, 0.6403, 404, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 13:30:00'::timestamp without time zone, 0.6403, 0.64035, 0.6401, 0.6401, 525, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 13:45:00'::timestamp without time zone, 0.64015, 0.64045, 0.64005, 0.6402, 522, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 14:00:00'::timestamp without time zone, 0.64025, 0.64035, 0.64015, 0.64015, 355, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 14:15:00'::timestamp without time zone, 0.64015, 0.64035, 0.64, 0.64025, 351, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 14:30:00'::timestamp without time zone, 0.64025, 0.6406, 0.64015, 0.6406, 487, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 14:45:00'::timestamp without time zone, 0.6407, 0.6408, 0.6406, 0.6408, 814, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 15:00:00'::timestamp without time zone, 0.64075, 0.64095, 0.6407, 0.64075, 667, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 15:15:00'::timestamp without time zone, 0.64075, 0.6409, 0.6407, 0.64075, 261, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2025-05-16 15:30:00'::timestamp without time zone, 0.64075, 0.6409, 0.64075, 0.6408, 262, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING;
Date: 2025-05-24 03:26:21 Duration: 4ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
15 2ms 4ms 2ms 305 716ms 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 24 03 305 716ms 2ms [ User: postgres - Total duration: 716ms - Times executed: 305 ]
[ Application: [unknown] - Total duration: 716ms - Times executed: 305 ]
-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840249505089300, '2025-05-15 16:30:00'::timestamp without time zone, 93.277, 93.33, 93.25, 93.315, 1400, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-15 17:00:00'::timestamp without time zone, 93.236, 93.32, 92.903, 93.194, 1234, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-15 17:30:00'::timestamp without time zone, 93.161, 93.3111839, 93.151, 93.19, 1464, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-15 18:00:00'::timestamp without time zone, 93.238092, 93.282, 93.193, 93.271, 2366, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-15 18:30:00'::timestamp without time zone, 93.28, 93.28, 93.13, 93.158, 2532, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-15 19:00:00'::timestamp without time zone, 93.158, 93.223, 93.1, 93.223, 2484, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-15 19:30:00'::timestamp without time zone, 93.2229144, 93.281, 93.16, 93.221, 3516, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-15 20:00:00'::timestamp without time zone, 93.224, 93.242, 93.04, 93.065, 5194, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-15 20:30:00'::timestamp without time zone, 93.069, 93.091, 92.73, 92.819, 5286, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-15 21:00:00'::timestamp without time zone, 92.823, 93.002, 92.81, 92.973, 9408, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-15 21:30:00'::timestamp without time zone, 92.971, 93.04, 92.95, 93.028, 7858, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-15 22:00:00'::timestamp without time zone, 93.031, 93.087, 92.93, 93.047, 6656, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-15 22:30:00'::timestamp without time zone, 93.044, 93.342, 93.03, 93.323, 7394, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-15 23:00:00'::timestamp without time zone, 93.324, 93.361, 93.22, 93.314, 6898, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-15 23:30:00'::timestamp without time zone, 93.315, 93.351, 93.24, 93.277, 5954, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 00:00:00'::timestamp without time zone, 93.275, 93.386, 93.235, 93.369, 6106, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 00:30:00'::timestamp without time zone, 93.367, 93.458, 93.32, 93.359, 5160, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 01:00:00'::timestamp without time zone, 93.36, 93.466, 93.3, 93.427, 5984, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 01:30:00'::timestamp without time zone, 93.432, 93.471, 93.39, 93.43, 5560, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 02:00:00'::timestamp without time zone, 93.426, 93.49, 93.26, 93.312, 8602, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 02:30:00'::timestamp without time zone, 93.313, 93.3337536, 93.18, 93.208, 7496, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 03:00:00'::timestamp without time zone, 93.209, 93.358, 93.11, 93.347, 11048, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 03:30:00'::timestamp without time zone, 93.346, 93.375, 93.27, 93.359, 9680, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 04:00:00'::timestamp without time zone, 93.355, 93.412, 93.26, 93.381, 9736, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 04:30:00'::timestamp without time zone, 93.386, 93.437, 93.36, 93.389, 7550, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 05:00:00'::timestamp without time zone, 93.383, 93.492, 93.34, 93.451, 7632, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 05:30:00'::timestamp without time zone, 93.451, 93.48, 93.39, 93.432, 8610, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 06:00:00'::timestamp without time zone, 93.426, 93.4583835, 93.35, 93.397, 7160, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 06:30:00'::timestamp without time zone, 93.393, 93.453, 93.37, 93.431, 7204, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 07:00:00'::timestamp without time zone, 93.434, 93.451, 93.35, 93.413, 6904, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 07:30:00'::timestamp without time zone, 93.4116643, 93.468, 93.4, 93.456, 7750, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 08:00:00'::timestamp without time zone, 93.456, 93.474, 93.32, 93.341, 8284, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 08:30:00'::timestamp without time zone, 93.346, 93.3697654, 93.28, 93.33, 9270, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 09:00:00'::timestamp without time zone, 93.329, 93.365, 93.24, 93.311, 9556, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 09:30:00'::timestamp without time zone, 93.302, 93.391, 93.24, 93.365, 11608, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 10:00:00'::timestamp without time zone, 93.367, 93.498, 93.28, 93.458, 12976, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 10:30:00'::timestamp without time zone, 93.456, 93.464, 93.33, 93.36, 14440, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 11:00:00'::timestamp without time zone, 93.365, 93.383, 93.25, 93.278, 10648, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 11:30:00'::timestamp without time zone, 93.279, 93.357, 93.27, 93.349, 7722, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 12:00:00'::timestamp without time zone, 93.352, 93.3761678, 93.29, 93.35, 8444, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 12:30:00'::timestamp without time zone, 93.352, 93.401, 93.31, 93.384, 6236, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 13:00:00'::timestamp without time zone, 93.379, 93.4610744, 93.35, 93.409, 5896, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 13:30:00'::timestamp without time zone, 93.419, 93.437, 93.34, 93.376, 5588, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 14:00:00'::timestamp without time zone, 93.376, 93.396, 93.32, 93.36, 4872, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 14:30:00'::timestamp without time zone, 93.362, 93.459, 93.34, 93.446, 5160, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 15:00:00'::timestamp without time zone, 93.445, 93.457, 93.39, 93.427, 4678, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 15:30:00'::timestamp without time zone, 93.425, 93.496, 93.4, 93.491, 5502, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 16:00:00'::timestamp without time zone, 93.494, 93.495, 93.43, 93.481, 3752, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-16 16:30:00'::timestamp without time zone, 93.477, 93.4974113, 93.145, 93.171, 3590, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-18 17:00:00'::timestamp without time zone, 93.013, 93.1637848, 92.575, 92.977, 239, 0, '2025-05-24 03: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 (515840249505089300, '2025-05-18 17:30:00'::timestamp without time zone, 92.963, 93.1248102, 92.907, 93.072, 320, 0, '2025-05-24 03:26:22'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING;
Date: 2025-05-24 03:26:22 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-15 13:00:00'::timestamp without time zone, 0.6407, 0.6408, 0.64055, 0.6407, 848, 0, '2025-05-24 03: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-15 13:30:00'::timestamp without time zone, 0.64065, 0.64065, 0.6403, 0.64035, 3024, 0, '2025-05-24 03: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-15 14:00:00'::timestamp without time zone, 0.64035, 0.64065, 0.64015, 0.6402, 1982, 0, '2025-05-24 03: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-15 14:30:00'::timestamp without time zone, 0.6402, 0.64085, 0.64015, 0.6408, 4196, 0, '2025-05-24 03: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-15 15:00:00'::timestamp without time zone, 0.64075, 0.6408, 0.64035, 0.6404, 2160, 0, '2025-05-24 03: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-15 15:30:00'::timestamp without time zone, 0.64045, 0.6409, 0.64045, 0.64085, 1750, 0, '2025-05-24 03: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-15 16:00:00'::timestamp without time zone, 0.6408, 0.64115, 0.6408, 0.641, 706, 0, '2025-05-24 03: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-15 16:30:00'::timestamp without time zone, 0.64105, 0.64105, 0.64065, 0.64095, 502, 0, '2025-05-24 03: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-15 18:00:00'::timestamp without time zone, 0.64085, 0.6411, 0.6405, 0.64085, 1416, 0, '2025-05-24 03: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-15 18:30:00'::timestamp without time zone, 0.64085, 0.6409, 0.6406, 0.6407, 1226, 0, '2025-05-24 03: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-15 19:00:00'::timestamp without time zone, 0.64075, 0.6408, 0.64045, 0.64075, 1324, 0, '2025-05-24 03: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-15 19:30:00'::timestamp without time zone, 0.6408, 0.64085, 0.64055, 0.64065, 1284, 0, '2025-05-24 03: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-15 20:00:00'::timestamp without time zone, 0.6407, 0.64135, 0.64055, 0.6407, 2766, 0, '2025-05-24 03: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-15 20:30:00'::timestamp without time zone, 0.64075, 0.6412, 0.6397, 0.64005, 4304, 0, '2025-05-24 03: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-15 21:00:00'::timestamp without time zone, 0.64, 0.6409, 0.64, 0.64065, 2450, 0, '2025-05-24 03: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-15 21:30:00'::timestamp without time zone, 0.6407, 0.64125, 0.64065, 0.64105, 2808, 0, '2025-05-24 03: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-15 22:00:00'::timestamp without time zone, 0.641, 0.64115, 0.6405, 0.64085, 2564, 0, '2025-05-24 03: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-15 22:30:00'::timestamp without time zone, 0.64085, 0.64215, 0.64085, 0.64205, 2966, 0, '2025-05-24 03: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-15 23:00:00'::timestamp without time zone, 0.642, 0.64255, 0.6416, 0.64245, 3094, 0, '2025-05-24 03: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-15 23:30:00'::timestamp without time zone, 0.64235, 0.64285, 0.64225, 0.6424, 3194, 0, '2025-05-24 03: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-16 00:00:00'::timestamp without time zone, 0.6424, 0.6429, 0.6423, 0.64265, 1582, 0, '2025-05-24 03: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-16 00:30:00'::timestamp without time zone, 0.6427, 0.6432, 0.6426, 0.64275, 1720, 0, '2025-05-24 03: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-16 01:00:00'::timestamp without time zone, 0.64275, 0.6435, 0.64265, 0.6432, 2516, 0, '2025-05-24 03: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-16 01:30:00'::timestamp without time zone, 0.64315, 0.6438, 0.6431, 0.64365, 2274, 0, '2025-05-24 03: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-16 02:00:00'::timestamp without time zone, 0.64365, 0.64365, 0.6427, 0.64275, 4084, 0, '2025-05-24 03: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-16 02:30:00'::timestamp without time zone, 0.6427, 0.6431, 0.6426, 0.64285, 3670, 0, '2025-05-24 03: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-16 03:00:00'::timestamp without time zone, 0.6428, 0.6433, 0.6425, 0.6433, 4024, 0, '2025-05-24 03: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-16 03:30:00'::timestamp without time zone, 0.64335, 0.6434, 0.64295, 0.64305, 3428, 0, '2025-05-24 03: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-16 04:00:00'::timestamp without time zone, 0.64305, 0.64325, 0.6422, 0.6427, 4866, 0, '2025-05-24 03: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-16 04:30:00'::timestamp without time zone, 0.64275, 0.64335, 0.6427, 0.643, 2060, 0, '2025-05-24 03: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-16 05:00:00'::timestamp without time zone, 0.6429, 0.6431, 0.6427, 0.64305, 1874, 0, '2025-05-24 03: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-16 05:30:00'::timestamp without time zone, 0.64305, 0.64305, 0.6422, 0.64225, 2146, 0, '2025-05-24 03: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-16 06:00:00'::timestamp without time zone, 0.6422, 0.6424, 0.64195, 0.6423, 1916, 0, '2025-05-24 03: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-16 06:30:00'::timestamp without time zone, 0.64225, 0.6424, 0.642, 0.64225, 1688, 0, '2025-05-24 03: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-16 07:00:00'::timestamp without time zone, 0.64225, 0.64255, 0.64195, 0.64195, 1862, 0, '2025-05-24 03: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-16 07:30:00'::timestamp without time zone, 0.64195, 0.64225, 0.64175, 0.64195, 2044, 0, '2025-05-24 03: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-16 08:00:00'::timestamp without time zone, 0.64195, 0.64195, 0.6412, 0.6414, 3530, 0, '2025-05-24 03: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-16 08:30:00'::timestamp without time zone, 0.6414, 0.6417, 0.64105, 0.64165, 3656, 0, '2025-05-24 03: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-16 09:00:00'::timestamp without time zone, 0.6416, 0.64195, 0.64125, 0.64125, 2874, 0, '2025-05-24 03: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-16 09:30:00'::timestamp without time zone, 0.64125, 0.64205, 0.6411, 0.64195, 5732, 0, '2025-05-24 03: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-16 10:00:00'::timestamp without time zone, 0.6419, 0.64195, 0.6409, 0.6412, 5866, 0, '2025-05-24 03: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-16 10:30:00'::timestamp without time zone, 0.6412, 0.64135, 0.6396, 0.63995, 9504, 0, '2025-05-24 03: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-16 11:00:00'::timestamp without time zone, 0.63995, 0.64, 0.63905, 0.63925, 6944, 0, '2025-05-24 03: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-16 11:30:00'::timestamp without time zone, 0.63925, 0.6397, 0.63915, 0.63955, 5006, 0, '2025-05-24 03: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-16 12:00:00'::timestamp without time zone, 0.63955, 0.64005, 0.6392, 0.6398, 3794, 0, '2025-05-24 03: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-16 12:30:00'::timestamp without time zone, 0.63985, 0.64025, 0.63985, 0.64015, 3022, 0, '2025-05-24 03: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-16 13:00:00'::timestamp without time zone, 0.6402, 0.64045, 0.6401, 0.6403, 1904, 0, '2025-05-24 03: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-16 13:30:00'::timestamp without time zone, 0.6403, 0.64045, 0.64005, 0.6402, 2094, 0, '2025-05-24 03: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-16 14:00:00'::timestamp without time zone, 0.64025, 0.64035, 0.64, 0.64025, 1412, 0, '2025-05-24 03: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-16 14:30:00'::timestamp without time zone, 0.64025, 0.6408, 0.64015, 0.6408, 2602, 0, '2025-05-24 03: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-16 15:00:00'::timestamp without time zone, 0.64075, 0.64095, 0.6407, 0.64075, 1856, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING;
Date: 2025-05-24 03: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-20 21:30:00'::timestamp without time zone, 0.6434, 0.6439, 0.64325, 0.6437, 646, 0, '2025-05-24 03: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-20 22:00:00'::timestamp without time zone, 0.6436, 0.6449, 0.6436, 0.64425, 1535, 0, '2025-05-24 03: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-20 22:30:00'::timestamp without time zone, 0.64435, 0.6445, 0.6436, 0.6443, 1305, 0, '2025-05-24 03: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-20 23:00:00'::timestamp without time zone, 0.6443, 0.6451, 0.6442, 0.64505, 1309, 0, '2025-05-24 03: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-20 23:30:00'::timestamp without time zone, 0.64505, 0.64545, 0.64495, 0.64505, 1100, 0, '2025-05-24 03: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-21 00:00:00'::timestamp without time zone, 0.6451, 0.6452, 0.6443, 0.64475, 916, 0, '2025-05-24 03: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-21 00:30:00'::timestamp without time zone, 0.64475, 0.6456, 0.6446, 0.6453, 1071, 0, '2025-05-24 03: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-21 01:00:00'::timestamp without time zone, 0.64535, 0.64615, 0.64525, 0.6459, 1643, 0, '2025-05-24 03: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-21 01:30:00'::timestamp without time zone, 0.6459, 0.6459, 0.6452, 0.64535, 1154, 0, '2025-05-24 03: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-21 02:00:00'::timestamp without time zone, 0.64525, 0.64585, 0.6447, 0.6457, 2230, 0, '2025-05-24 03: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-21 02:30:00'::timestamp without time zone, 0.64575, 0.64595, 0.6453, 0.64545, 2044, 0, '2025-05-24 03: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-21 03:00:00'::timestamp without time zone, 0.64545, 0.64555, 0.6442, 0.6452, 2464, 0, '2025-05-24 03: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-21 03:30:00'::timestamp without time zone, 0.6452, 0.6452, 0.64465, 0.64505, 1694, 0, '2025-05-24 03: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-21 04:00:00'::timestamp without time zone, 0.6451, 0.64515, 0.6442, 0.64435, 966, 0, '2025-05-24 03: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-21 04:30:00'::timestamp without time zone, 0.64425, 0.64445, 0.64375, 0.6442, 1096, 0, '2025-05-24 03: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-21 05:00:00'::timestamp without time zone, 0.6442, 0.64465, 0.6442, 0.6444, 867, 0, '2025-05-24 03: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-21 05:30:00'::timestamp without time zone, 0.6444, 0.6444, 0.64375, 0.64405, 1406, 0, '2025-05-24 03: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-21 06:00:00'::timestamp without time zone, 0.64405, 0.6454, 0.64385, 0.64535, 1865, 0, '2025-05-24 03: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-21 06:30:00'::timestamp without time zone, 0.6454, 0.64555, 0.6446, 0.6447, 1893, 0, '2025-05-24 03: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-21 07:00:00'::timestamp without time zone, 0.6447, 0.64515, 0.6445, 0.64485, 1356, 0, '2025-05-24 03: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-21 07:30:00'::timestamp without time zone, 0.64485, 0.64485, 0.6444, 0.6446, 1223, 0, '2025-05-24 03: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-21 08:00:00'::timestamp without time zone, 0.64465, 0.64565, 0.6444, 0.64525, 1947, 0, '2025-05-24 03: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-21 08:30:00'::timestamp without time zone, 0.64525, 0.64535, 0.64415, 0.64475, 2564, 0, '2025-05-24 03: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-21 09:00:00'::timestamp without time zone, 0.64475, 0.645, 0.6443, 0.64445, 2046, 0, '2025-05-24 03: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-21 09:30:00'::timestamp without time zone, 0.64445, 0.64495, 0.6439, 0.64485, 3024, 0, '2025-05-24 03: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-21 10:00:00'::timestamp without time zone, 0.6449, 0.6458, 0.64485, 0.64505, 3772, 0, '2025-05-24 03: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-21 10:30:00'::timestamp without time zone, 0.64505, 0.64625, 0.6449, 0.64605, 3275, 0, '2025-05-24 03: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-21 11:00:00'::timestamp without time zone, 0.646, 0.64675, 0.6457, 0.64655, 4475, 0, '2025-05-24 03: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-21 11:30:00'::timestamp without time zone, 0.64665, 0.64685, 0.6464, 0.64685, 1854, 0, '2025-05-24 03: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-21 12:00:00'::timestamp without time zone, 0.6468, 0.64715, 0.64635, 0.6465, 2419, 0, '2025-05-24 03: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-21 12:30:00'::timestamp without time zone, 0.6465, 0.64675, 0.6465, 0.64665, 1191, 0, '2025-05-24 03: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-21 13:00:00'::timestamp without time zone, 0.64665, 0.6469, 0.6454, 0.64545, 3094, 0, '2025-05-24 03: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-21 13:30:00'::timestamp without time zone, 0.64545, 0.64545, 0.6445, 0.6449, 3349, 0, '2025-05-24 03: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-21 14:00:00'::timestamp without time zone, 0.6449, 0.64505, 0.6444, 0.6449, 2246, 0, '2025-05-24 03: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-21 14:30:00'::timestamp without time zone, 0.64485, 0.6451, 0.64415, 0.6443, 2181, 0, '2025-05-24 03: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-21 15:00:00'::timestamp without time zone, 0.6443, 0.64465, 0.6436, 0.6437, 2000, 0, '2025-05-24 03: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-21 15:30:00'::timestamp without time zone, 0.6437, 0.6441, 0.6434, 0.6434, 1772, 0, '2025-05-24 03: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-21 16:00:00'::timestamp without time zone, 0.64345, 0.6437, 0.64335, 0.64365, 784, 0, '2025-05-24 03: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-21 16:30:00'::timestamp without time zone, 0.6437, 0.644, 0.6436, 0.6439, 460, 0, '2025-05-24 03: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-21 18:00:00'::timestamp without time zone, 0.6435, 0.6437, 0.64315, 0.64345, 794, 0, '2025-05-24 03: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-21 18:30:00'::timestamp without time zone, 0.64345, 0.64365, 0.64325, 0.64325, 402, 0, '2025-05-24 03: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-21 19:00:00'::timestamp without time zone, 0.64325, 0.6436, 0.6432, 0.6435, 403, 0, '2025-05-24 03: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-21 19:30:00'::timestamp without time zone, 0.64345, 0.64375, 0.64325, 0.6435, 621, 0, '2025-05-24 03: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-21 20:00:00'::timestamp without time zone, 0.6435, 0.6446, 0.64345, 0.64395, 1959, 0, '2025-05-24 03: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-21 20:30:00'::timestamp without time zone, 0.64395, 0.6442, 0.6434, 0.64415, 1230, 0, '2025-05-24 03: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-21 21:00:00'::timestamp without time zone, 0.64415, 0.6447, 0.64405, 0.6442, 1361, 0, '2025-05-24 03: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-21 21:30:00'::timestamp without time zone, 0.64415, 0.6443, 0.64295, 0.64315, 2059, 0, '2025-05-24 03: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-21 22:00:00'::timestamp without time zone, 0.6431, 0.64385, 0.6429, 0.6438, 1466, 0, '2025-05-24 03: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-21 22:30:00'::timestamp without time zone, 0.64385, 0.6449, 0.6438, 0.6443, 1012, 0, '2025-05-24 03: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-21 23:00:00'::timestamp without time zone, 0.64435, 0.6446, 0.644, 0.6444, 912, 0, '2025-05-24 03: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-21 23:30:00'::timestamp without time zone, 0.64435, 0.6446, 0.64415, 0.6445, 665, 0, '2025-05-24 03:26:21'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING;
Date: 2025-05-24 03:26:21 Duration: 4ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
16 0ms 9ms 2ms 10,360 23s126ms 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 #16
Day Hour Count Duration Avg duration May 24 03 10,360 23s126ms 2ms [ User: postgres - Total duration: 23s126ms - Times executed: 10360 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 23s126ms - Times executed: 10360 ]
-
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 = '558' AND ('0' = 0 OR s.timegranularity = '0') AND (s.symbol = 'USDSEK' OR dss.downloadersymbol = 'USDSEK') AND dss.enabled = 1;
Date: 2025-05-24 03:00:05 Duration: 9ms 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 = 'UK100' OR dss.downloadersymbol = 'UK100') AND dss.enabled = 1;
Date: 2025-05-24 03:00:04 Duration: 7ms Database: acaweb_fx User: postgres Remote: 192.168.1.145 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 = 'ETHUSD' OR dss.downloadersymbol = 'ETHUSD') AND dss.enabled = 1;
Date: 2025-05-24 03:00:05 Duration: 6ms Database: acaweb_fx User: postgres Remote: 192.168.1.145 Application: PostgreSQL JDBC Driver Bind query: yes
17 1ms 3ms 1ms 332 661ms 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 24 03 332 661ms 1ms [ User: postgres - Total duration: 661ms - Times executed: 332 ]
[ Application: [unknown] - Total duration: 643ms - Times executed: 324 ]
[ Application: psql - Total duration: 18ms - 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 'MILLENNIUMPF') AS subquery WHERE datafeeds_latestrun.feedname ilike 'MILLENNIUMPF';
Date: 2025-05-24 03:38: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 'PEPPERSTONE') AS subquery WHERE datafeeds_latestrun.feedname ilike 'PEPPERSTONE';
Date: 2025-05-24 03:18: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-24 03:43:48 Duration: 3ms Database: acaweb_fx User: postgres Remote: 192.168.4.98 Application: [unknown]
18 0ms 5ms 1ms 420 542ms with rar_max as ( select resultuid from relevance_autochartist_results order by resultuid desc limit ? ) select a.symbolid, pattern, patternid, resy0, resy1, resx0, resx1, supporty0, supporty1, supportx0, supportx1, predictiontimeto, patternstarttime, timegranularity, patternendtime, direction, trendchange, patternlengthbars, patternquality, case when a.old_resultuid = ? then a.old_resultuid else a.resultuid end as uid, breakout, initialtrend, volumeincrease, symmetry as uniformity, predictionpricefrom, predictionpriceto, noise, s.exchange, s.symbol, s.longname, s.shortname, breakout, dtt.timezone, patternstartprice, patternendprice, qtytp, newlevels.profit, newlevels.stop, newlevels.filtered, case when rar.age is not null then rar.age when a.resultuid <= rm.resultuid then ? else ? end as age, case when rar.relevant is not null then rar.relevant when a.resultuid <= rm.resultuid then ? else ? end as relevant, cps.pip 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 inner join rar_max rm on ? = ? left outer join relevance_autochartist_results rar on rar.resultuid = a.resultuid left join lateral calc_cp_signal (a.resultuid) newlevels on true left join currencypips cps on cps.symbol = s.symbol where (a.old_resultuid = ? or a.resultuid = ?) and dtt.dayofweek = ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration May 24 03 420 542ms 1ms [ User: postgres - Total duration: 542ms - Times executed: 420 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 542ms - Times executed: 420 ]
-
WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ) SELECT a.symbolid, pattern, patternid, resy0, resy1, resx0, resx1, supporty0, supporty1, supportx0, supportx1, predictiontimeto, patternstarttime, timegranularity, patternendtime, direction, trendchange, patternlengthbars, patternquality, CASE WHEN a.old_resultuid = '606156626721225301' THEN a.old_resultuid ELSE a.resultuid END AS uid, breakout, initialtrend, volumeincrease, symmetry AS uniformity, predictionpricefrom, predictionpriceto, noise, s.exchange, s.symbol, s.longname, s.shortname, breakout, dtt.timezone, patternStartPrice, patternEndPrice, qtytp, newLevels.profit, newLevels.stop, newLevels.filtered, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip 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 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid LEFT JOIN LATERAL calc_cp_signal (a.resultuid) newLevels on true LEFT JOIN currencypips cps on cps.symbol = s.symbol WHERE (a.old_resultuid = '606156626721225301' OR a.resultuid = '606156626721225301') AND dtt.dayofweek = 3;
Date: 2025-05-24 03:01:36 Duration: 5ms 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 ) SELECT a.symbolid, pattern, patternid, resy0, resy1, resx0, resx1, supporty0, supporty1, supportx0, supportx1, predictiontimeto, patternstarttime, timegranularity, patternendtime, direction, trendchange, patternlengthbars, patternquality, CASE WHEN a.old_resultuid = '606156628993997301' THEN a.old_resultuid ELSE a.resultuid END AS uid, breakout, initialtrend, volumeincrease, symmetry AS uniformity, predictionpricefrom, predictionpriceto, noise, s.exchange, s.symbol, s.longname, s.shortname, breakout, dtt.timezone, patternStartPrice, patternEndPrice, qtytp, newLevels.profit, newLevels.stop, newLevels.filtered, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip 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 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid LEFT JOIN LATERAL calc_cp_signal (a.resultuid) newLevels on true LEFT JOIN currencypips cps on cps.symbol = s.symbol WHERE (a.old_resultuid = '606156628993997301' OR a.resultuid = '606156628993997301') AND dtt.dayofweek = 3;
Date: 2025-05-24 03:01:36 Duration: 5ms Database: acaweb_fx User: postgres Remote: 192.168.1.20 Application: PostgreSQL JDBC Driver Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ) SELECT a.symbolid, pattern, patternid, resy0, resy1, resx0, resx1, supporty0, supporty1, supportx0, supportx1, predictiontimeto, patternstarttime, timegranularity, patternendtime, direction, trendchange, patternlengthbars, patternquality, CASE WHEN a.old_resultuid = '606167829059215301' THEN a.old_resultuid ELSE a.resultuid END AS uid, breakout, initialtrend, volumeincrease, symmetry AS uniformity, predictionpricefrom, predictionpriceto, noise, s.exchange, s.symbol, s.longname, s.shortname, breakout, dtt.timezone, patternStartPrice, patternEndPrice, qtytp, newLevels.profit, newLevels.stop, newLevels.filtered, CASE WHEN rar.age IS NOT NULL THEN rar.age WHEN a.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN rar.relevant IS NOT NULL THEN rar.relevant WHEN a.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip 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 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_autochartist_results rar ON rar.resultuid = a.resultuid LEFT JOIN LATERAL calc_cp_signal (a.resultuid) newLevels on true LEFT JOIN currencypips cps on cps.symbol = s.symbol WHERE (a.old_resultuid = '606167829059215301' OR a.resultuid = '606167829059215301') AND dtt.dayofweek = 3;
Date: 2025-05-24 03:22:07 Duration: 5ms Database: acaweb_fx User: postgres Remote: 192.168.1.250 Application: PostgreSQL JDBC Driver Bind query: yes
19 0ms 7ms 1ms 11,770 13s363ms insert into sa_hist_bigmove (symbolid, datetime, image, return, percentile, direction, height, z0, z1, timez0, timez1) select ?, ?, ?, ?.?, ?.?, ?, ?.?, ?.?, ?.?, ?, ? where not exists ( select ? from sa_hist_bigmove where symbolid = ? and datetime = ? and cast(percentile * ? as integer) = ? and direction = ?) returning id;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration May 24 03 11,770 13s363ms 1ms [ User: postgres - Total duration: 13s363ms - Times executed: 11770 ]
[ Application: [unknown] - Total duration: 13s363ms - Times executed: 11770 ]
-
insert into sa_hist_bigmove (symbolid, datetime, image, return, percentile, direction, height, z0, z1, timez0, timez1) select 500991627550361200, '2025-05-23 22:00:00', '', 0.743764679566049, 0.99, 1, 0.00133000000000001, 0.90075, 0.8941, '2025-05-20 02:00:00', '2025-05-19 01:00:00' WHERE NOT EXISTS ( SELECT 1 FROM sa_hist_bigmove WHERE symbolid = 500991627550361200 AND datetime = '2025-05-23 22:00:00' AND CAST(percentile * 100 AS integer) = 99 AND direction = 1) RETURNING id;
Date: 2025-05-24 03:00:02 Duration: 7ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
-
insert into sa_hist_bigmove (symbolid, datetime, image, return, percentile, direction, height, z0, z1, timez0, timez1) select 500991628208653200, '2025-05-23 22:00:00', '', - 0.576956232605098, 0.02, - 1, 0.187399999999997, 161.467, 162.404, '2025-05-23 14:00:00', '2025-05-22 22:00:00' WHERE NOT EXISTS ( SELECT 1 FROM sa_hist_bigmove WHERE symbolid = 500991628208653200 AND datetime = '2025-05-23 22:00:00' AND CAST(percentile * 100 AS integer) = 2 AND direction = - 1) RETURNING id;
Date: 2025-05-24 03:00:03 Duration: 5ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
-
insert into sa_hist_bigmove (symbolid, datetime, image, return, percentile, direction, height, z0, z1, timez0, timez1) select 515840245930551300, '2025-05-23 23:00:00', '', - 2.88219202548319, 0.04, - 1, 606.767999999999, 102227.71, 105261.55, '2025-05-19 09:00:00', '2025-05-19 03:00:00' WHERE NOT EXISTS ( SELECT 1 FROM sa_hist_bigmove WHERE symbolid = 515840245930551300 AND datetime = '2025-05-23 23:00:00' AND CAST(percentile * 100 AS integer) = 4 AND direction = - 1) RETURNING id;
Date: 2025-05-24 03:00:25 Duration: 5ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
20 0ms 5ms 1ms 6,672 7s348ms insert into executionlogs (executionid, status, message, details, detailtype) values (null, ?, ?, null, null);Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration May 24 03 6,672 7s348ms 1ms [ User: postgres - Total duration: 7s348ms - Times executed: 6672 ]
[ Application: [unknown] - Total duration: 7s348ms - Times executed: 6672 ]
-
INSERT INTO executionlogs (executionid, status, message, details, detailtype) VALUES (NULL, 'info', 'evaluating processid: 110, schedule: 1 * * * * Africa/Johannesburg', NULL, NULL);
Date: 2025-05-24 03:47:51 Duration: 5ms Database: socialmedia User: postgres Remote: 192.168.4.33 Application: [unknown]
-
INSERT INTO executionlogs (executionid, status, message, details, detailtype) VALUES (NULL, 'info', 'evaluating processid: 53, schedule: 0 8 * * 1 Africa/Johannesburg', NULL, NULL);
Date: 2025-05-24 03:50: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: 110, schedule: 1 * * * * Africa/Johannesburg', NULL, NULL);
Date: 2025-05-24 03:53:49 Duration: 4ms Database: socialmedia User: postgres Remote: 192.168.4.33 Application: [unknown]
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 1s105ms 1,282 0ms 3ms 0ms WITH rar_max as ( ;Times Reported Time consuming prepare #1
Day Hour Count Duration Avg duration May 24 03 1,282 1s105ms 0ms [ User: postgres - Total duration: 52m22s - Times executed: 1282 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 52m22s - Times executed: 1282 ]
-
WITH rar_max as ( ;
Date: 2025-05-24 03:53:53 Duration: 3ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250
-
WITH rar_max as ( ;
Date: 2025-05-24 03:55:50 Duration: 3ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.145
-
WITH rar_max as ( ;
Date: 2025-05-24 03:26:15 Duration: 3ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.145
2 456ms 1,477 0ms 2ms 0ms SELECT ;Times Reported Time consuming prepare #2
Day Hour Count Duration Avg duration 03 1,477 456ms 0ms [ User: postgres - Total duration: 1s894ms - Times executed: 1477 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1s768ms - Times executed: 1089 ]
[ Application: [unknown] - Total duration: 126ms - Times executed: 388 ]
-
SELECT ;
Date: 2025-05-24 03:30:04 Duration: 2ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.20
-
SELECT ;
Date: 2025-05-24 03:45:04 Duration: 2ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.145
-
SELECT ;
Date: 2025-05-24 03:00:04 Duration: 2ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.145
3 361ms 290 0ms 1ms 1ms SELECT s.symbolid, dss.downloadfrequency, dss.downloadersymbol;Times Reported Time consuming prepare #3
Day Hour Count Duration Avg duration 03 290 361ms 1ms [ User: postgres - Total duration: 378ms - Times executed: 290 ]
[ Application: [unknown] - Total duration: 378ms - Times executed: 290 ]
-
SELECT s.symbolid, dss.downloadfrequency, dss.downloadersymbol;
Date: 2025-05-24 03:45:49 Duration: 1ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142
-
SELECT s.symbolid, dss.downloadfrequency, dss.downloadersymbol;
Date: 2025-05-24 03:30:19 Duration: 1ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142
-
SELECT s.symbolid, dss.downloadfrequency, dss.downloadersymbol;
Date: 2025-05-24 03:45:45 Duration: 1ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142
4 249ms 2,400 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 #4
Day Hour Count Duration Avg duration 03 2,400 249ms 0ms [ User: postgres - Total duration: 398ms - Times executed: 2400 ]
[ Application: [unknown] - Total duration: 398ms - Times executed: 2400 ]
-
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-24 03:02:04 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-24 03:01:06 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-24 03:12:01 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142
5 212ms 583 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 #5
Day Hour Count Duration Avg duration 03 583 212ms 0ms [ User: postgres - Total duration: 1s36ms - Times executed: 583 ]
[ Application: [unknown] - Total duration: 1s36ms - Times executed: 583 ]
-
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-24 03:01:47 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-24 03:47:49 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-24 03:31:51 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142
6 200ms 2,476 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 03 2,476 200ms 0ms [ User: postgres - Total duration: 431ms - Times executed: 2476 ]
[ Application: [unknown] - Total duration: 431ms - Times executed: 2476 ]
-
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-24 03:00:05 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-24 03:41:04 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-24 03:40:58 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142
7 47ms 351 0ms 0ms 0ms SET extra_float_digits = 3;Times Reported Time consuming prepare #7
Day Hour Count Duration Avg duration 03 351 47ms 0ms [ User: postgres - Total duration: 3ms - Times executed: 351 ]
[ Application: [unknown] - Total duration: 3ms - Times executed: 351 ]
-
SET extra_float_digits = 3;
Date: 2025-05-24 03:07:22 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.20
-
SET extra_float_digits = 3;
Date: 2025-05-24 03:30:05 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.145
-
SET extra_float_digits = 3;
Date: 2025-05-24 03:34:16 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.145
8 44ms 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 #8
Day Hour Count Duration Avg duration 03 18 44ms 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-24 03:41:01 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-24 03:30:03 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-24 03:31:00 Duration: 3ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.90
9 36ms 37 0ms 3ms 0ms WITH last_candle AS ( ;Times Reported Time consuming prepare #9
Day Hour Count Duration Avg duration 03 37 36ms 0ms [ User: postgres - Total duration: 11s405ms - Times executed: 37 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 11s405ms - Times executed: 37 ]
-
WITH last_candle AS ( ;
Date: 2025-05-24 03:16:01 Duration: 3ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.20
-
WITH last_candle AS ( ;
Date: 2025-05-24 03:16:01 Duration: 2ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.145
-
WITH last_candle AS ( ;
Date: 2025-05-24 03:08:01 Duration: 2ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.20
10 35ms 704 0ms 0ms 0ms select 1;Times Reported Time consuming prepare #10
Day Hour Count Duration Avg duration 03 704 35ms 0ms [ User: postgres - Total duration: 2ms - Times executed: 704 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 2ms - Times executed: 704 ]
-
select 1;
Date: 2025-05-24 03:12:42 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.20
-
select 1;
Date: 2025-05-24 03:02:49 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.145
-
select 1;
Date: 2025-05-24 03:36:53 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250
11 32ms 370 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 #11
Day Hour Count Duration Avg duration 03 370 32ms 0ms [ User: postgres - Total duration: 91ms - Times executed: 370 ]
[ Application: [unknown] - Total duration: 91ms - Times executed: 370 ]
-
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-24 03:02:55 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-24 03:00:57 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-24 03:00:42 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142
12 30ms 288 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 #12
Day Hour Count Duration Avg duration 03 288 30ms 0ms [ User: postgres - Total duration: 149ms - Times executed: 288 ]
[ Application: [unknown] - Total duration: 149ms - Times executed: 288 ]
-
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-24 03:31:52 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-24 03:30:54 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-24 03:45:52 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142
13 16ms 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 #13
Day Hour Count Duration Avg duration 03 6 16ms 2ms [ User: postgres - Total duration: 9ms - Times executed: 6 ]
[ Application: [unknown] - Total duration: 9ms - 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-24 03:00: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-24 03:30: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-24 03:40:04 Duration: 2ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.126
14 7ms 5 1ms 2ms 1ms with wh_patitioned as ( ;Times Reported Time consuming prepare #14
Day Hour Count Duration Avg duration 03 5 7ms 1ms [ User: postgres - Total duration: 4ms - Times executed: 5 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 4ms - Times executed: 5 ]
-
with wh_patitioned as ( ;
Date: 2025-05-24 03:35:18 Duration: 2ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250
-
with wh_patitioned as ( ;
Date: 2025-05-24 03:09:39 Duration: 1ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250
-
with wh_patitioned as ( ;
Date: 2025-05-24 03:03:43 Duration: 1ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250
15 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 #15
Day Hour Count Duration Avg duration 03 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-24 03:30:25 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-24 03:49:48 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-24 03:46:27 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.205
16 5ms 1 5ms 5ms 5ms select * from datafeed_symbols where classname ilike 'ICMARKETS-AU-MT5' limit 5000;Times Reported Time consuming prepare #16
Day Hour Count Duration Avg duration 03 1 5ms 5ms [ User: postgres - Total duration: 26ms - Times executed: 1 ]
[ Application: [unknown] - Total duration: 26ms - Times executed: 1 ]
-
select * from datafeed_symbols where classname ilike 'ICMARKETS-AU-MT5' limit 5000;
Date: 2025-05-24 03:32:50 Duration: 5ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.0.114
17 3ms 339 0ms 0ms 0ms SET application_name = 'PostgreSQL JDBC Driver';Times Reported Time consuming prepare #17
Day Hour Count Duration Avg duration 03 339 3ms 0ms [ User: postgres - Total duration: 3ms - Times executed: 339 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 3ms - Times executed: 339 ]
-
SET application_name = 'PostgreSQL JDBC Driver';
Date: 2025-05-24 03:00:05 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.20
-
SET application_name = 'PostgreSQL JDBC Driver';
Date: 2025-05-24 03:00:04 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.145
-
SET application_name = 'PostgreSQL JDBC Driver';
Date: 2025-05-24 03:15:04 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.20
18 2ms 5 0ms 0ms 0ms WITH /*Latest.JapSticks*/ all_results AS ( SELECT ;Times Reported Time consuming prepare #18
Day Hour Count Duration Avg duration 03 5 2ms 0ms [ User: postgres - Total duration: 0ms - Times executed: 5 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 0ms - Times executed: 5 ]
-
WITH /*Latest.JapSticks*/ all_results AS ( SELECT ;
Date: 2025-05-24 03:03:42 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250
-
WITH /*Latest.JapSticks*/ all_results AS ( SELECT ;
Date: 2025-05-24 03:14:14 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250
-
WITH /*Latest.JapSticks*/ all_results AS ( SELECT ;
Date: 2025-05-24 03:20:13 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250
19 1ms 6 0ms 0ms 0ms SELECT DISTINCT ON (basegroupname, symbol) ;Times Reported Time consuming prepare #19
Day Hour Count Duration Avg duration 03 6 1ms 0ms [ User: postgres - Total duration: 514ms - Times executed: 6 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 514ms - Times executed: 6 ]
-
SELECT DISTINCT ON (basegroupname, symbol) ;
Date: 2025-05-24 03:41:01 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.20
-
SELECT DISTINCT ON (basegroupname, symbol) ;
Date: 2025-05-24 03:22:06 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250
-
SELECT DISTINCT ON (basegroupname, symbol) ;
Date: 2025-05-24 03:31:04 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.145
20 0ms 3 0ms 0ms 0ms WITH rcr_max as ( ;Times Reported Time consuming prepare #20
Day Hour Count Duration Avg duration 03 3 0ms 0ms [ User: postgres - Total duration: 0ms - Times executed: 3 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 0ms - Times executed: 3 ]
-
WITH rcr_max as ( ;
Date: 2025-05-24 03:30:02 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250
-
WITH rcr_max as ( ;
Date: 2025-05-24 03:25:45 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250
-
WITH rcr_max as ( ;
Date: 2025-05-24 03:25:45 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 16s808ms 1,918 0ms 52ms 8ms WITH rar_max as ( ;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration May 24 03 1,918 16s808ms 8ms [ User: postgres - Total duration: 1h27m14s - Times executed: 1918 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1h20m2s - Times executed: 1858 ]
[ Application: [unknown] - Total duration: 7m12s - Times executed: 60 ]
-
WITH rar_max as ( ;
Date: 2025-05-24 03:41:07 Duration: 52ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250 parameters: $1 = 't', $2 = '489', $3 = '0', $4 = '0', $5 = '0', $6 = '', $7 = '0', $8 = '', $9 = '0', $10 = '', $11 = '0', $12 = '0', $13 = '0', $14 = '0', $15 = '0', $16 = 't', $17 = '0', $18 = '0'
-
WITH rar_max as ( ;
Date: 2025-05-24 03:48:00 Duration: 31ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.20 parameters: $1 = '627', $2 = '7', $3 = '15', $4 = '30', $5 = '60', $6 = '120', $7 = '240', $8 = '480', $9 = '1440', $10 = '0', $11 = '', $12 = '213', $13 = '#ADBE', $14 = '#ALVG', $15 = '#AMZN', $16 = '#APPL', $17 = '#BA', $18 = '#BABA', $19 = '#BAYGn', $20 = '#BMWG', $21 = '#BNPP', $22 = '#CAT', $23 = '#CBKG', $24 = '#DAIGn', $25 = '#DIS', $26 = '#EA', $27 = '#FB', $28 = '#FDX', $29 = '#GE', $30 = '#GM', $31 = '#GOOGL', $32 = '#GS', $33 = '#INTC', $34 = '#JPM', $35 = '#KO', $36 = '#META', $37 = '#MSFT', $38 = '#NFLX', $39 = '#TSLA', $40 = '#VOWG', $41 = '#WMT', $42 = '#XOM', $43 = 'AUDCAD', $44 = 'AUDCHF', $45 = 'AUDJPY', $46 = 'AUDNZD', $47 = 'AUDUSD', $48 = 'AUS_200', $49 = 'BTCEUR', $50 = 'BTCGBP', $51 = 'BTCUSD', $52 = 'CADCHF', $53 = 'CADJPY', $54 = 'CHFJPY', $55 = 'CL_BRENT', $56 = 'DASHUSD', $57 = 'EOSUSD', $58 = 'ESP_35', $59 = 'ETHEUR', $60 = 'ETHGBP', $61 = 'ETHUSD', $62 = 'EURAUD', $63 = 'EURCAD', $64 = 'EURCHF', $65 = 'EURGBP', $66 = 'EURJPY', $67 = 'EURMXN', $68 = 'EURNOK', $69 = 'EURNZD', $70 = 'EURPLN', $71 = 'EURSEK', $72 = 'EURTRY', $73 = 'EURUSD', $74 = 'EUR_50', $75 = 'FRA_40', $76 = 'GBPAUD', $77 = 'GBPCAD', $78 = 'GBPCHF', $79 = 'GBPJPY', $80 = 'GBPNZD', $81 = 'GBPUSD', $82 = 'GBPZAR', $83 = 'GBR_100', $84 = 'HKDJPY', $85 = 'HKG_50', $86 = 'IOTAUSD', $87 = 'LTCEUR', $88 = 'LTCUSD', $89 = 'NAS100', $90 = 'NEOUSD', $91 = 'NOKJPY', $92 = 'NZDCAD', $93 = 'NZDCHF', $94 = 'NZDJPY', $95 = 'NZDUSD', $96 = 'OMGUSD', $97 = 'SPX500', $98 = 'TRXUSD', $99 = 'US30', $100 = 'USDCAD', $101 = 'USDCHF', $102 = 'USDCNH', $103 = 'USDDKK', $104 = 'USDJPY', $105 = 'USDMXN', $106 = 'USDNOK', $107 = 'USDPLN', $108 = 'USDSEK', $109 = 'USDSGD', $110 = 'USDZAR', $111 = 'USOIL', $112 = 'XAGUSD', $113 = 'XAUEUR', $114 = 'XAUUSD', $115 = 'XMRUSD', $116 = 'XPTUSD', $117 = 'XRPUSD', $118 = 'ZARJPY', $119 = 'ZECUSD', $120 = 'AUDCAD', $121 = 'AUDCHF', $122 = 'AUDJPY', $123 = 'AUDNZD', $124 = 'AUDUSD', $125 = 'CADCHF', $126 = 'CADJPY', $127 = 'CHFJPY', $128 = 'EURAUD', $129 = 'EURCAD', $130 = 'EURCHF', $131 = 'EURGBP', $132 = 'EURJPY', $133 = 'EURMXN', $134 = 'EURNOK', $135 = 'EURNZD', $136 = 'EURPLN', $137 = 'EURSEK', $138 = 'EURTRY', $139 = 'EURUSD', $140 = 'GBPAUD', $141 = 'GBPCAD', $142 = 'GBPCHF', $143 = 'GBPJPY', $144 = 'GBPNZD', $145 = 'GBPUSD', $146 = 'GBPZAR', $147 = 'HKDJPY', $148 = 'NOKJPY', $149 = 'NZDCAD', $150 = 'NZDCHF', $151 = 'NZDJPY', $152 = 'NZDUSD', $153 = 'USDCAD', $154 = 'USDCHF', $155 = 'USDCNH', $156 = 'USDDKK', $157 = 'USDJPY', $158 = 'USDMXN', $159 = 'USDNOK', $160 = 'USDPLN', $161 = 'USDSEK', $162 = 'USDSGD', $163 = 'USDZAR', $164 = 'ZARJPY', $165 = 'BTCEUR', $166 = 'BTCGBP', $167 = 'BTCUSD', $168 = 'DASHUSD', $169 = 'EOSUSD', $170 = 'ETHEUR', $171 = 'ETHGBP', $172 = 'ETHUSD', $173 = 'IOTAUSD', $174 = 'LTCEUR', $175 = 'LTCUSD', $176 = 'NEOUSD', $177 = 'OMGUSD', $178 = 'TRXUSD', $179 = 'XMRUSD', $180 = 'XRPUSD', $181 = 'ZECUSD', $182 = 'XAGUSD', $183 = 'XAUEUR', $184 = 'XAUUSD', $185 = 'XPTUSD', $186 = 'CL_BRENT', $187 = 'USOIL', $188 = '#ALVG', $189 = '#BAYGn', $190 = '#BMWG', $191 = '#BNPP', $192 = '#CBKG', $193 = '#DAIGn', $194 = '#VOWG', $195 = 'AUS_200', $196 = 'ESP_35', $197 = 'EUR_50', $198 = 'FRA_40', $199 = 'GBR_100', $200 = 'HKG_50', $201 = 'NAS100', $202 = 'SPX500', $203 = 'US30', $204 = '#ADBE', $205 = '#AMZN', $206 = '#APPL', $207 = '#BA', $208 = '#BABA', $209 = '#CAT', $210 = '#DIS', $211 = '#EA', $212 = '#FB', $213 = '#FDX', $214 = '#GE', $215 = '#GM', $216 = '#GOOGL', $217 = '#GS', $218 = '#INTC', $219 = '#JPM', $220 = '#KO', $221 = '#MSFT', $222 = '#NFLX', $223 = '#TSLA', $224 = '#WMT', $225 = '#XOM', $226 = '400', $227 = '400', $228 = 't', $229 = '10', $230 = '10'
-
WITH rar_max as ( ;
Date: 2025-05-24 03:13:37 Duration: 30ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250 parameters: $1 = '627', $2 = '7', $3 = '15', $4 = '30', $5 = '60', $6 = '120', $7 = '240', $8 = '480', $9 = '1440', $10 = '0', $11 = '', $12 = '213', $13 = '#ADBE', $14 = '#ALVG', $15 = '#AMZN', $16 = '#APPL', $17 = '#BA', $18 = '#BABA', $19 = '#BAYGn', $20 = '#BMWG', $21 = '#BNPP', $22 = '#CAT', $23 = '#CBKG', $24 = '#DAIGn', $25 = '#DIS', $26 = '#EA', $27 = '#FB', $28 = '#FDX', $29 = '#GE', $30 = '#GM', $31 = '#GOOGL', $32 = '#GS', $33 = '#INTC', $34 = '#JPM', $35 = '#KO', $36 = '#META', $37 = '#MSFT', $38 = '#NFLX', $39 = '#TSLA', $40 = '#VOWG', $41 = '#WMT', $42 = '#XOM', $43 = 'AUDCAD', $44 = 'AUDCHF', $45 = 'AUDJPY', $46 = 'AUDNZD', $47 = 'AUDUSD', $48 = 'AUS_200', $49 = 'BTCEUR', $50 = 'BTCGBP', $51 = 'BTCUSD', $52 = 'CADCHF', $53 = 'CADJPY', $54 = 'CHFJPY', $55 = 'CL_BRENT', $56 = 'DASHUSD', $57 = 'EOSUSD', $58 = 'ESP_35', $59 = 'ETHEUR', $60 = 'ETHGBP', $61 = 'ETHUSD', $62 = 'EURAUD', $63 = 'EURCAD', $64 = 'EURCHF', $65 = 'EURGBP', $66 = 'EURJPY', $67 = 'EURMXN', $68 = 'EURNOK', $69 = 'EURNZD', $70 = 'EURPLN', $71 = 'EURSEK', $72 = 'EURTRY', $73 = 'EURUSD', $74 = 'EUR_50', $75 = 'FRA_40', $76 = 'GBPAUD', $77 = 'GBPCAD', $78 = 'GBPCHF', $79 = 'GBPJPY', $80 = 'GBPNZD', $81 = 'GBPUSD', $82 = 'GBPZAR', $83 = 'GBR_100', $84 = 'HKDJPY', $85 = 'HKG_50', $86 = 'IOTAUSD', $87 = 'LTCEUR', $88 = 'LTCUSD', $89 = 'NAS100', $90 = 'NEOUSD', $91 = 'NOKJPY', $92 = 'NZDCAD', $93 = 'NZDCHF', $94 = 'NZDJPY', $95 = 'NZDUSD', $96 = 'OMGUSD', $97 = 'SPX500', $98 = 'TRXUSD', $99 = 'US30', $100 = 'USDCAD', $101 = 'USDCHF', $102 = 'USDCNH', $103 = 'USDDKK', $104 = 'USDJPY', $105 = 'USDMXN', $106 = 'USDNOK', $107 = 'USDPLN', $108 = 'USDSEK', $109 = 'USDSGD', $110 = 'USDZAR', $111 = 'USOIL', $112 = 'XAGUSD', $113 = 'XAUEUR', $114 = 'XAUUSD', $115 = 'XMRUSD', $116 = 'XPTUSD', $117 = 'XRPUSD', $118 = 'ZARJPY', $119 = 'ZECUSD', $120 = 'AUDCAD', $121 = 'AUDCHF', $122 = 'AUDJPY', $123 = 'AUDNZD', $124 = 'AUDUSD', $125 = 'CADCHF', $126 = 'CADJPY', $127 = 'CHFJPY', $128 = 'EURAUD', $129 = 'EURCAD', $130 = 'EURCHF', $131 = 'EURGBP', $132 = 'EURJPY', $133 = 'EURMXN', $134 = 'EURNOK', $135 = 'EURNZD', $136 = 'EURPLN', $137 = 'EURSEK', $138 = 'EURTRY', $139 = 'EURUSD', $140 = 'GBPAUD', $141 = 'GBPCAD', $142 = 'GBPCHF', $143 = 'GBPJPY', $144 = 'GBPNZD', $145 = 'GBPUSD', $146 = 'GBPZAR', $147 = 'HKDJPY', $148 = 'NOKJPY', $149 = 'NZDCAD', $150 = 'NZDCHF', $151 = 'NZDJPY', $152 = 'NZDUSD', $153 = 'USDCAD', $154 = 'USDCHF', $155 = 'USDCNH', $156 = 'USDDKK', $157 = 'USDJPY', $158 = 'USDMXN', $159 = 'USDNOK', $160 = 'USDPLN', $161 = 'USDSEK', $162 = 'USDSGD', $163 = 'USDZAR', $164 = 'ZARJPY', $165 = 'BTCEUR', $166 = 'BTCGBP', $167 = 'BTCUSD', $168 = 'DASHUSD', $169 = 'EOSUSD', $170 = 'ETHEUR', $171 = 'ETHGBP', $172 = 'ETHUSD', $173 = 'IOTAUSD', $174 = 'LTCEUR', $175 = 'LTCUSD', $176 = 'NEOUSD', $177 = 'OMGUSD', $178 = 'TRXUSD', $179 = 'XMRUSD', $180 = 'XRPUSD', $181 = 'ZECUSD', $182 = 'XAGUSD', $183 = 'XAUEUR', $184 = 'XAUUSD', $185 = 'XPTUSD', $186 = 'CL_BRENT', $187 = 'USOIL', $188 = '#ALVG', $189 = '#BAYGn', $190 = '#BMWG', $191 = '#BNPP', $192 = '#CBKG', $193 = '#DAIGn', $194 = '#VOWG', $195 = 'AUS_200', $196 = 'ESP_35', $197 = 'EUR_50', $198 = 'FRA_40', $199 = 'GBR_100', $200 = 'HKG_50', $201 = 'NAS100', $202 = 'SPX500', $203 = 'US30', $204 = '#ADBE', $205 = '#AMZN', $206 = '#APPL', $207 = '#BA', $208 = '#BABA', $209 = '#CAT', $210 = '#DIS', $211 = '#EA', $212 = '#FB', $213 = '#FDX', $214 = '#GE', $215 = '#GM', $216 = '#GOOGL', $217 = '#GS', $218 = '#INTC', $219 = '#JPM', $220 = '#KO', $221 = '#MSFT', $222 = '#NFLX', $223 = '#TSLA', $224 = '#WMT', $225 = '#XOM', $226 = '400', $227 = '400', $228 = 't', $229 = '10', $230 = '10'
2 8s604ms 23,352 0ms 9ms 0ms SELECT ;Times Reported Time consuming bind #2
Day Hour Count Duration Avg duration 03 23,352 8s604ms 0ms [ User: postgres - Total duration: 36s751ms - Times executed: 23352 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 36s625ms - Times executed: 22964 ]
[ Application: [unknown] - Total duration: 126ms - Times executed: 388 ]
-
SELECT ;
Date: 2025-05-24 03:45:04 Duration: 9ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.145 parameters: $1 = '515840248265975300'
-
SELECT ;
Date: 2025-05-24 03:00:05 Duration: 7ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.20 parameters: $1 = '558', $2 = '0', $3 = '0', $4 = 'NZDJPY', $5 = 'NZDJPY'
-
SELECT ;
Date: 2025-05-24 03:00:05 Duration: 7ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.145 parameters: $1 = '529', $2 = '529', $3 = '515840217506973300'
3 975ms 150 4ms 18ms 6ms WITH last_candle AS ( ;Times Reported Time consuming bind #3
Day Hour Count Duration Avg duration 03 150 975ms 6ms [ User: postgres - Total duration: 38s749ms - Times executed: 150 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 38s749ms - Times executed: 150 ]
-
WITH last_candle AS ( ;
Date: 2025-05-24 03:00:00 Duration: 18ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.145 parameters: $1 = '558', $2 = '558'
-
WITH last_candle AS ( ;
Date: 2025-05-24 03:56:01 Duration: 18ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.20 parameters: $1 = '558', $2 = '558'
-
WITH last_candle AS ( ;
Date: 2025-05-24 03:16:01 Duration: 12ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.20 parameters: $1 = '558', $2 = '558'
4 509ms 290 1ms 2ms 1ms SELECT s.symbolid, dss.downloadfrequency, dss.downloadersymbol;Times Reported Time consuming bind #4
Day Hour Count Duration Avg duration 03 290 509ms 1ms [ User: postgres - Total duration: 378ms - Times executed: 290 ]
[ Application: [unknown] - Total duration: 378ms - Times executed: 290 ]
-
SELECT s.symbolid, dss.downloadfrequency, dss.downloadersymbol;
Date: 2025-05-24 03:45:49 Duration: 2ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = 'MILLENNIUMPF'
-
SELECT s.symbolid, dss.downloadfrequency, dss.downloadersymbol;
Date: 2025-05-24 03:30:19 Duration: 2ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = 'BDSWISS'
-
SELECT s.symbolid, dss.downloadfrequency, dss.downloadersymbol;
Date: 2025-05-24 03:30:49 Duration: 2ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = 'BDSWISS'
5 320ms 36 0ms 41ms 8ms with wh_patitioned as ( ;Times Reported Time consuming bind #5
Day Hour Count Duration Avg duration 03 36 320ms 8ms [ User: postgres - Total duration: 111ms - Times executed: 36 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 111ms - Times executed: 36 ]
-
with wh_patitioned as ( ;
Date: 2025-05-24 03:13:41 Duration: 41ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.145 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-24 03:09:39 Duration: 38ms 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-24 03:35:18 Duration: 32ms 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'
6 216ms 15,705 0ms 0ms 0ms select 1;Times Reported Time consuming bind #6
Day Hour Count Duration Avg duration 03 15,705 216ms 0ms [ User: postgres - Total duration: 53ms - Times executed: 15705 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 53ms - Times executed: 15645 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 60 ]
-
select 1;
Date: 2025-05-24 03:21:15 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250
-
select 1;
Date: 2025-05-24 03:16:38 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.20
-
select 1;
Date: 2025-05-24 03:17:13 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.20
7 195ms 2,435 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 #7
Day Hour Count Duration Avg duration 03 2,435 195ms 0ms [ User: postgres - Total duration: 399ms - Times executed: 2435 ]
[ Application: [unknown] - Total duration: 399ms - Times executed: 2435 ]
-
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-24 03:11:35 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = '2025-05-23 21:00:00', $2 = '73.15', $3 = '73.35', $4 = '73.08', $5 = '73.16', $6 = '3196', $7 = '515840247879403300', $8 = '0', $9 = '2025-05-24 03:11:35.562', $10 = '2025-05-24 03:11:35.516', $11 = '73.15', $12 = '73.35', $13 = '73.08', $14 = '73.16', $15 = '3196', $16 = '0', $17 = '2025-05-24 03:11:35.562', $18 = '2025-05-24 03:11:35.516'
-
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-24 03:11:37 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = '2025-05-23 21:00:00', $2 = '147.03', $3 = '147.24', $4 = '146.76', $5 = '146.87', $6 = '740', $7 = '515840247929791300', $8 = '0', $9 = '2025-05-24 03:11:37.538', $10 = '2025-05-24 03:11:37.495', $11 = '147.03', $12 = '147.24', $13 = '146.76', $14 = '146.87', $15 = '740', $16 = '0', $17 = '2025-05-24 03:11:37.538', $18 = '2025-05-24 03:11:37.495'
-
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-24 03:00:05 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = '2025-05-23 22:00:00', $2 = '41711.35', $3 = '41776.35', $4 = '41557.35', $5 = '41557.35', $6 = '9094', $7 = '515840248000890300', $8 = '0', $9 = '2025-05-24 03:00:05.555', $10 = '2025-05-24 03:00:05.52', $11 = '41711.35', $12 = '41776.35', $13 = '41557.35', $14 = '41557.35', $15 = '9094', $16 = '0', $17 = '2025-05-24 03:00:05.555', $18 = '2025-05-24 03:00:05.52'
8 185ms 2,907 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 #8
Day Hour Count Duration Avg duration 03 2,907 185ms 0ms [ User: postgres - Total duration: 1s342ms - Times executed: 2907 ]
[ Application: [unknown] - Total duration: 1s342ms - Times executed: 2907 ]
-
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-24 03:42:01 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = '2025-05-23 23:15:00', $2 = '20899.1', $3 = '20902.4', $4 = '20878.2', $5 = '20880.1', $6 = '1304', $7 = '515840248038958300', $8 = '0', $9 = '2025-05-24 03:42:01.118', $10 = '2025-05-24 03:42:01.077', $11 = '20899.1', $12 = '20902.4', $13 = '20878.2', $14 = '20880.1', $15 = '1304', $16 = '0', $17 = '2025-05-24 03:42:01.118', $18 = '2025-05-24 03:42:01.077'
-
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-24 03:00:46 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = '2025-05-23 23:30:00', $2 = '36820.5', $3 = '36837', $4 = '36803.3', $5 = '36834.3', $6 = '452', $7 = '515840245921261300', $8 = '0', $9 = '2025-05-24 03:00:46.299', $10 = '2025-05-24 03:00:46.153', $11 = '36820.5', $12 = '36837', $13 = '36803.3', $14 = '36834.3', $15 = '452', $16 = '0', $17 = '2025-05-24 03:00:46.299', $18 = '2025-05-24 03:00:46.153'
-
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-24 03:16:59 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = '2025-05-23 23:30:00', $2 = '7.45905', $3 = '7.45913', $4 = '7.45851', $5 = '7.45856', $6 = '133', $7 = '515840243190162300', $8 = '0', $9 = '2025-05-24 03:16:59.71', $10 = '2025-05-24 03:16:59.564', $11 = '7.45905', $12 = '7.45913', $13 = '7.45851', $14 = '7.45856', $15 = '133', $16 = '0', $17 = '2025-05-24 03:16:59.71', $18 = '2025-05-24 03:16:59.564'
9 166ms 2,476 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 #9
Day Hour Count Duration Avg duration 03 2,476 166ms 0ms [ User: postgres - Total duration: 431ms - Times executed: 2476 ]
[ Application: [unknown] - Total duration: 431ms - Times executed: 2476 ]
-
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-24 03:00:05 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = '2025-05-23 23:00:00', $2 = '41556.85', $3 = '41583.75', $4 = '41539.75', $5 = '41546.75', $6 = '1456', $7 = '515840248000726300', $8 = '0', $9 = '2025-05-24 03:00:05.376', $10 = '2025-05-24 03:00:05.336', $11 = '41556.85', $12 = '41583.75', $13 = '41539.75', $14 = '41546.75', $15 = '1456', $16 = '0', $17 = '2025-05-24 03:00:05.376', $18 = '2025-05-24 03:00:05.336'
-
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-24 03:02:59 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = '2025-05-23 18:00:00', $2 = '23492.85', $3 = '23515.95', $4 = '23481.05', $5 = '23510.95', $6 = '1841', $7 = '515840247933633300', $8 = '0', $9 = '2025-05-24 03:02:59.133', $10 = '2025-05-24 03:02:58.974', $11 = '23492.85', $12 = '23515.95', $13 = '23481.05', $14 = '23510.95', $15 = '1841', $16 = '0', $17 = '2025-05-24 03:02:59.133', $18 = '2025-05-24 03:02:58.974'
-
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-24 03:02:04 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = '2025-05-23 23:00:00', $2 = '41556.85', $3 = '41583.75', $4 = '41539.75', $5 = '41546.75', $6 = '1456', $7 = '515840248000726300', $8 = '0', $9 = '2025-05-24 03:02:04.672', $10 = '2025-05-24 03:02:04.596', $11 = '41556.85', $12 = '41583.75', $13 = '41539.75', $14 = '41546.75', $15 = '1456', $16 = '0', $17 = '2025-05-24 03:02:04.672', $18 = '2025-05-24 03:02:04.596'
10 115ms 12 0ms 17ms 9ms WITH /*Latest.JapSticks*/ all_results AS ( SELECT ;Times Reported Time consuming bind #10
Day Hour Count Duration Avg duration 03 12 115ms 9ms [ User: postgres - Total duration: 0ms - Times executed: 12 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 0ms - Times executed: 12 ]
-
WITH /*Latest.JapSticks*/ all_results AS ( SELECT ;
Date: 2025-05-24 03:14:14 Duration: 17ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250 parameters: $1 = '489', $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-24 03:27:32 Duration: 16ms 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-24 03:41:13 Duration: 10ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250 parameters: $1 = '489', $2 = '0', $3 = '0', $4 = '0', $5 = '', $6 = '0', $7 = '', $8 = '0', $9 = '', $10 = '0', $11 = '0'
11 29ms 370 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 #11
Day Hour Count Duration Avg duration 03 370 29ms 0ms [ User: postgres - Total duration: 91ms - Times executed: 370 ]
[ Application: [unknown] - Total duration: 91ms - Times executed: 370 ]
-
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-24 03:02:55 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = '2025-05-24 00:00:00', $2 = '13831', $3 = '13922.5', $4 = '13482', $5 = '13607.5', $6 = '11834', $7 = '515840249397462300', $8 = '0', $9 = '2025-05-24 03:02:55.905', $10 = '2025-05-24 03:02:55.904', $11 = '13831', $12 = '13922.5', $13 = '13482', $14 = '13607.5', $15 = '11834', $16 = '0', $17 = '2025-05-24 03:02:55.905', $18 = '2025-05-24 03:02:55.904'
-
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-24 03:15:54 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = '2025-05-24 00:00:00', $2 = '15431832', $3 = '15490068.5', $4 = '15226543', $5 = '15304515', $6 = '18768', $7 = '515840249393808300', $8 = '0', $9 = '2025-05-24 03:15:54.163', $10 = '2025-05-24 03:15:54.162', $11 = '15431832', $12 = '15490068.5', $13 = '15226543', $14 = '15304515', $15 = '18768', $16 = '0', $17 = '2025-05-24 03:15:54.163', $18 = '2025-05-24 03:15:54.162'
-
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-24 03:45:54 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = '2025-05-23 20:00:00', $2 = '1942818.69', $3 = '1956536.205', $4 = '1928331.375', $5 = '1931404.565', $6 = '40833', $7 = '515840249474385300', $8 = '0', $9 = '2025-05-24 03:45:54.883', $10 = '2025-05-24 03:45:54.736', $11 = '1942818.69', $12 = '1956536.205', $13 = '1928331.375', $14 = '1931404.565', $15 = '40833', $16 = '0', $17 = '2025-05-24 03:45:54.883', $18 = '2025-05-24 03:45:54.736'
12 25ms 288 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 #12
Day Hour Count Duration Avg duration 03 288 25ms 0ms [ User: postgres - Total duration: 149ms - Times executed: 288 ]
[ Application: [unknown] - Total duration: 149ms - Times executed: 288 ]
-
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-24 03:00:53 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = '2025-05-23 00:00:00', $2 = '1999443.285', $3 = '2012014.39', $4 = '1925457.76', $5 = '1931404.565', $6 = '286848', $7 = '515840249474565300', $8 = '0', $9 = '2025-05-24 03:00:53.538', $10 = '2025-05-24 03:00:53.537', $11 = '1999443.285', $12 = '2012014.39', $13 = '1925457.76', $14 = '1931404.565', $15 = '286848', $16 = '0', $17 = '2025-05-24 03:00:53.538', $18 = '2025-05-24 03:00:53.537'
-
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-24 03:30:54 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = '2025-05-23 00:00:00', $2 = '1999443.285', $3 = '2012014.39', $4 = '1925457.76', $5 = '1931404.565', $6 = '286848', $7 = '515840249474565300', $8 = '0', $9 = '2025-05-24 03:30:54.328', $10 = '2025-05-24 03:30:54.327', $11 = '1999443.285', $12 = '2012014.39', $13 = '1925457.76', $14 = '1931404.565', $15 = '286848', $16 = '0', $17 = '2025-05-24 03:30:54.328', $18 = '2025-05-24 03:30:54.327'
-
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-24 03:02:56 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = '2025-05-23 00:00:00', $2 = '63.57', $3 = '64.5', $4 = '62.855', $5 = '64.465', $6 = '17102', $7 = '515840249390663300', $8 = '0', $9 = '2025-05-24 03:02:56.155', $10 = '2025-05-24 03:02:56.154', $11 = '63.57', $12 = '64.5', $13 = '62.855', $14 = '64.465', $15 = '17102', $16 = '0', $17 = '2025-05-24 03:02:56.155', $18 = '2025-05-24 03:02:56.154'
13 25ms 6 3ms 6ms 4ms SELECT DISTINCT ON (basegroupname, symbol) ;Times Reported Time consuming bind #13
Day Hour Count Duration Avg duration 03 6 25ms 4ms [ User: postgres - Total duration: 514ms - Times executed: 6 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 514ms - Times executed: 6 ]
-
SELECT DISTINCT ON (basegroupname, symbol) ;
Date: 2025-05-24 03:22:06 Duration: 6ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250 parameters: $1 = '667', $2 = '667'
-
SELECT DISTINCT ON (basegroupname, symbol) ;
Date: 2025-05-24 03:41:01 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-24 03:31:05 Duration: 3ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250 parameters: $1 = '627', $2 = '627'
14 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 #14
Day Hour Count Duration Avg duration 03 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-24 03:30:03 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-24 03:51: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-24 03:31:00 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.90
15 11ms 38 0ms 2ms 0ms /*server.KeyLevelResult*/ SELECT ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, longname, shortname, Exchange AS e, timegranularity AS tg, a.PatternID AS pid, a.direction AS d, a.patternprice as pp, atbaridentified AS pet, CASE WHEN (x9 != '') THEN x9 WHEN (x8 != '') THEN x8 WHEN (x7 != '') THEN x7 WHEN (x6 != '') THEN x6 WHEN (x5 != '') THEN x5 WHEN (x4 != '') THEN x4 WHEN (x3 != '') THEN x3 WHEN (x2 != '') THEN x2 END AS pst, PatternPrice AS patp, x0, x1, x2, CASE WHEN (x3 != '') THEN x3 ELSE '1900-01-01' END as x3, CASE WHEN (x4 != '') THEN x4 ELSE '1900-01-01' END as x4, CASE WHEN (x5 != '') THEN x5 ELSE '1900-01-01' END as x5, CASE WHEN (x6 != '') THEN x6 ELSE '1900-01-01' END as x6, CASE WHEN (x7 != '') THEN x7 ELSE '1900-01-01' END as x7, CASE WHEN (x8 != '') THEN x8 ELSE '1900-01-01' END as x8, CASE WHEN (x9 != '') THEN x9 ELSE '1900-01-01' END as x9, errorMargin as erm, breakoutprice as pE, breakoutbars as be, breakout, atbaridentified as atBar, PatternLengthBars AS l, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, dtt.absolutetimezoneoffset as tzOs, dtt.timezone as tz, approachingtimestamp AS apt, approachingregion as apr, predictionpricefrom as ppf, predictionpriceto as ppt, predictiontimefrom as ptf, predictiontimebars as ptb FROM keylevels_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 hrspatterns p on a.patternid = p.patternid where resultuid = $1 and dtt.dayofweek = 3;Times Reported Time consuming bind #15
Day Hour Count Duration Avg duration 03 38 11ms 0ms [ User: postgres - Total duration: 2ms - Times executed: 38 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 2ms - Times executed: 38 ]
-
/*server.KeyLevelResult*/ SELECT ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, longname, shortname, Exchange AS e, timegranularity AS tg, a.PatternID AS pid, a.direction AS d, a.patternprice as pp, atbaridentified AS pet, CASE WHEN (x9 != '') THEN x9 WHEN (x8 != '') THEN x8 WHEN (x7 != '') THEN x7 WHEN (x6 != '') THEN x6 WHEN (x5 != '') THEN x5 WHEN (x4 != '') THEN x4 WHEN (x3 != '') THEN x3 WHEN (x2 != '') THEN x2 END AS pst, PatternPrice AS patp, x0, x1, x2, CASE WHEN (x3 != '') THEN x3 ELSE '1900-01-01' END as x3, CASE WHEN (x4 != '') THEN x4 ELSE '1900-01-01' END as x4, CASE WHEN (x5 != '') THEN x5 ELSE '1900-01-01' END as x5, CASE WHEN (x6 != '') THEN x6 ELSE '1900-01-01' END as x6, CASE WHEN (x7 != '') THEN x7 ELSE '1900-01-01' END as x7, CASE WHEN (x8 != '') THEN x8 ELSE '1900-01-01' END as x8, CASE WHEN (x9 != '') THEN x9 ELSE '1900-01-01' END as x9, errorMargin as erm, breakoutprice as pE, breakoutbars as be, breakout, atbaridentified as atBar, PatternLengthBars AS l, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, dtt.absolutetimezoneoffset as tzOs, dtt.timezone as tz, approachingtimestamp AS apt, approachingregion as apr, predictionpricefrom as ppf, predictionpriceto as ppt, predictiontimefrom as ptf, predictiontimebars as ptb FROM keylevels_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 hrspatterns p on a.patternid = p.patternid where resultuid = $1 and dtt.dayofweek = 3;
Date: 2025-05-24 03:20:01 Duration: 2ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.0.42 parameters: $1 = '606167832211884303'
-
/*server.KeyLevelResult*/ SELECT ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, longname, shortname, Exchange AS e, timegranularity AS tg, a.PatternID AS pid, a.direction AS d, a.patternprice as pp, atbaridentified AS pet, CASE WHEN (x9 != '') THEN x9 WHEN (x8 != '') THEN x8 WHEN (x7 != '') THEN x7 WHEN (x6 != '') THEN x6 WHEN (x5 != '') THEN x5 WHEN (x4 != '') THEN x4 WHEN (x3 != '') THEN x3 WHEN (x2 != '') THEN x2 END AS pst, PatternPrice AS patp, x0, x1, x2, CASE WHEN (x3 != '') THEN x3 ELSE '1900-01-01' END as x3, CASE WHEN (x4 != '') THEN x4 ELSE '1900-01-01' END as x4, CASE WHEN (x5 != '') THEN x5 ELSE '1900-01-01' END as x5, CASE WHEN (x6 != '') THEN x6 ELSE '1900-01-01' END as x6, CASE WHEN (x7 != '') THEN x7 ELSE '1900-01-01' END as x7, CASE WHEN (x8 != '') THEN x8 ELSE '1900-01-01' END as x8, CASE WHEN (x9 != '') THEN x9 ELSE '1900-01-01' END as x9, errorMargin as erm, breakoutprice as pE, breakoutbars as be, breakout, atbaridentified as atBar, PatternLengthBars AS l, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, dtt.absolutetimezoneoffset as tzOs, dtt.timezone as tz, approachingtimestamp AS apt, approachingregion as apr, predictionpricefrom as ppf, predictionpriceto as ppt, predictiontimefrom as ptf, predictiontimebars as ptb FROM keylevels_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 hrspatterns p on a.patternid = p.patternid where resultuid = $1 and dtt.dayofweek = 3;
Date: 2025-05-24 03:28:31 Duration: 1ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.23 parameters: $1 = '606168358660752303'
-
/*server.KeyLevelResult*/ SELECT ResultUID AS ruid, s.symbolid AS sid, symbol AS sym, longname, shortname, Exchange AS e, timegranularity AS tg, a.PatternID AS pid, a.direction AS d, a.patternprice as pp, atbaridentified AS pet, CASE WHEN (x9 != '') THEN x9 WHEN (x8 != '') THEN x8 WHEN (x7 != '') THEN x7 WHEN (x6 != '') THEN x6 WHEN (x5 != '') THEN x5 WHEN (x4 != '') THEN x4 WHEN (x3 != '') THEN x3 WHEN (x2 != '') THEN x2 END AS pst, PatternPrice AS patp, x0, x1, x2, CASE WHEN (x3 != '') THEN x3 ELSE '1900-01-01' END as x3, CASE WHEN (x4 != '') THEN x4 ELSE '1900-01-01' END as x4, CASE WHEN (x5 != '') THEN x5 ELSE '1900-01-01' END as x5, CASE WHEN (x6 != '') THEN x6 ELSE '1900-01-01' END as x6, CASE WHEN (x7 != '') THEN x7 ELSE '1900-01-01' END as x7, CASE WHEN (x8 != '') THEN x8 ELSE '1900-01-01' END as x8, CASE WHEN (x9 != '') THEN x9 ELSE '1900-01-01' END as x9, errorMargin as erm, breakoutprice as pE, breakoutbars as be, breakout, atbaridentified as atBar, PatternLengthBars AS l, Bandwidth AS bw, QtyTP AS qtp, p.patternname as patternname, dtt.absolutetimezoneoffset as tzOs, dtt.timezone as tz, approachingtimestamp AS apt, approachingregion as apr, predictionpricefrom as ppf, predictionpriceto as ppt, predictiontimefrom as ptf, predictiontimebars as ptb FROM keylevels_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 hrspatterns p on a.patternid = p.patternid where resultuid = $1 and dtt.dayofweek = 3;
Date: 2025-05-24 03:23:00 Duration: 1ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.0.239 parameters: $1 = '606167829942793303'
16 10ms 107 0ms 0ms 0ms SELECT * FROM ( SELECT PriceDateTime, Open, High, Low, Close, Volume, BSF FROM T15 WHERE symbolid = $1 AND (BSF = 0 OR BSF IS NULL) ORDER BY PriceDateTime DESC LIMIT 1050) a ORDER BY PriceDateTime ASC;Times Reported Time consuming bind #16
Day Hour Count Duration Avg duration 03 107 10ms 0ms [ User: postgres - Total duration: 258ms - Times executed: 107 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 258ms - Times executed: 107 ]
-
SELECT * FROM ( SELECT PriceDateTime, Open, High, Low, Close, Volume, BSF FROM T15 WHERE symbolid = $1 AND (BSF = 0 OR BSF IS NULL) ORDER BY PriceDateTime DESC LIMIT 1050) a ORDER BY PriceDateTime ASC;
Date: 2025-05-24 03:10:14 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.201 parameters: $1 = '515840243265160300'
-
SELECT * FROM ( SELECT PriceDateTime, Open, High, Low, Close, Volume, BSF FROM T15 WHERE symbolid = $1 AND (BSF = 0 OR BSF IS NULL) ORDER BY PriceDateTime DESC LIMIT 1050) a ORDER BY PriceDateTime ASC;
Date: 2025-05-24 03:03:19 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.23 parameters: $1 = '515840248166557300'
-
SELECT * FROM ( SELECT PriceDateTime, Open, High, Low, Close, Volume, BSF FROM T15 WHERE symbolid = $1 AND (BSF = 0 OR BSF IS NULL) ORDER BY PriceDateTime DESC LIMIT 1050) a ORDER BY PriceDateTime ASC;
Date: 2025-05-24 03:15:17 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.23 parameters: $1 = '515840243152332300'
17 7ms 100 0ms 0ms 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 #17
Day Hour Count Duration Avg duration 03 100 7ms 0ms [ User: postgres - Total duration: 8ms - Times executed: 100 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 8ms - Times executed: 100 ]
-
/*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-24 03:28:26 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.23 parameters: $1 = '606168303377416301'
-
/*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-24 03:50:08 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.23 parameters: $1 = '606167886486112301'
-
/*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-24 03:12:00 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.23 parameters: $1 = '606166541050458301'
18 7ms 8 0ms 1ms 0ms SELECT timegranularity FROM brokersymbollist bsl INNER JOIN symbols s ON bsl.symbolid = s.symbolid INNER JOIN downloadersymbolsettings dss on s.symbolid = dss.symbolid LEFT OUTER JOIN brokerinstrumentmapping bdfi ON bdfi.brokerid = $1 AND dss.datafeedinstrumentid = bdfi.datafeedinstrumentid WHERE s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 AND s.symbol ILIKE $2 AND bsl.brokerid = $3 AND timegranularity >= 15 ORDER BY timegranularity LIMIT 1;Times Reported Time consuming bind #18
Day Hour Count Duration Avg duration 03 8 7ms 0ms [ User: postgres - Total duration: 46ms - Times executed: 8 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 46ms - Times executed: 8 ]
-
SELECT timegranularity FROM brokersymbollist bsl INNER JOIN symbols s ON bsl.symbolid = s.symbolid INNER JOIN downloadersymbolsettings dss on s.symbolid = dss.symbolid LEFT OUTER JOIN brokerinstrumentmapping bdfi ON bdfi.brokerid = $1 AND dss.datafeedinstrumentid = bdfi.datafeedinstrumentid WHERE s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 AND s.symbol ILIKE $2 AND bsl.brokerid = $3 AND timegranularity >= 15 ORDER BY timegranularity LIMIT 1;
Date: 2025-05-24 03:31:10 Duration: 1ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.23 parameters: $1 = '529', $2 = 'ETHUSD.a', $3 = '529'
-
SELECT timegranularity FROM brokersymbollist bsl INNER JOIN symbols s ON bsl.symbolid = s.symbolid INNER JOIN downloadersymbolsettings dss on s.symbolid = dss.symbolid LEFT OUTER JOIN brokerinstrumentmapping bdfi ON bdfi.brokerid = $1 AND dss.datafeedinstrumentid = bdfi.datafeedinstrumentid WHERE s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 AND s.symbol ILIKE $2 AND bsl.brokerid = $3 AND timegranularity >= 15 ORDER BY timegranularity LIMIT 1;
Date: 2025-05-24 03:00:07 Duration: 1ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.201 parameters: $1 = '558', $2 = 'EURCHF', $3 = '558'
-
SELECT timegranularity FROM brokersymbollist bsl INNER JOIN symbols s ON bsl.symbolid = s.symbolid INNER JOIN downloadersymbolsettings dss on s.symbolid = dss.symbolid LEFT OUTER JOIN brokerinstrumentmapping bdfi ON bdfi.brokerid = $1 AND dss.datafeedinstrumentid = bdfi.datafeedinstrumentid WHERE s.nonliquid = 0 and s.deleted = 0 and dss.enabled = 1 AND s.symbol ILIKE $2 AND bsl.brokerid = $3 AND timegranularity >= 15 ORDER BY timegranularity LIMIT 1;
Date: 2025-05-24 03:00:10 Duration: 1ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.23 parameters: $1 = '529', $2 = 'ETHUSD.a', $3 = '529'
19 6ms 271 0ms 0ms 0ms select * from PowerStatsLatestPRFPrice ($1, $2);Times Reported Time consuming bind #19
Day Hour Count Duration Avg duration 03 271 6ms 0ms [ User: postgres - Total duration: 603ms - Times executed: 271 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 603ms - Times executed: 271 ]
-
select * from PowerStatsLatestPRFPrice ($1, $2);
Date: 2025-05-24 03:11:54 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.201 parameters: $1 = '515840243263596300', $2 = '15'
-
select * from PowerStatsLatestPRFPrice ($1, $2);
Date: 2025-05-24 03:40:44 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.0.42 parameters: $1 = '515840233442150300', $2 = '15'
-
select * from PowerStatsLatestPRFPrice ($1, $2);
Date: 2025-05-24 03:05:07 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.201 parameters: $1 = '515840243262113300', $2 = '15'
20 6ms 173 0ms 0ms 0ms SELECT df.absolutetimezoneoffset FROM datafeedstimetable df INNER JOIN downloadersymbolsettings dss ON df.classname = dss.classname WHERE dss.symbolid = $1 GROUP BY df.absolutetimezoneoffset LIMIT 1;Times Reported Time consuming bind #20
Day Hour Count Duration Avg duration 03 173 6ms 0ms [ User: postgres - Total duration: 6ms - Times executed: 173 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 6ms - Times executed: 173 ]
-
SELECT df.absolutetimezoneoffset FROM datafeedstimetable df INNER JOIN downloadersymbolsettings dss ON df.classname = dss.classname WHERE dss.symbolid = $1 GROUP BY df.absolutetimezoneoffset LIMIT 1;
Date: 2025-05-24 03:27:26 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.0.42 parameters: $1 = '515840243916646300'
-
SELECT df.absolutetimezoneoffset FROM datafeedstimetable df INNER JOIN downloadersymbolsettings dss ON df.classname = dss.classname WHERE dss.symbolid = $1 GROUP BY df.absolutetimezoneoffset LIMIT 1;
Date: 2025-05-24 03:35:00 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.23 parameters: $1 = '515840248628193300'
-
SELECT df.absolutetimezoneoffset FROM datafeedstimetable df INNER JOIN downloadersymbolsettings dss ON df.classname = dss.classname WHERE dss.symbolid = $1 GROUP BY df.absolutetimezoneoffset LIMIT 1;
Date: 2025-05-24 03:28:04 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.23 parameters: $1 = '515840248621836300'
-
Events
Log levels
Key values
- 241,189 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