-
Global information
- Generated on Sat Oct 26 03:59:53 2024
- Log file: /home/postgres/pg_data/data/pg_log/postgresql-2024-10-26_050000.log
- Parsed 785,719 log entries in 52s
- Log start from 2024-10-26 05:00:00 to 2024-10-26 05:59:48
-
Overview
Global Stats
- 2,285 Number of unique normalized queries
- 50,533 Number of queries
- 1h35m14s Total query duration
- 2024-10-26 05:00:00 First query
- 2024-10-26 05:59:48 Last query
- 1,933 queries/s at 2024-10-26 05:15:04 Query peak
- 1h35m14s Total query duration
- 6s374ms Prepare/parse total duration
- 25s276ms Bind total duration
- 1h34m43s 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
- 4 Total number of automatic vacuums
- 9 Total number of automatic analyzes
- 111 Number temporary file
- 10.35 MiB Max size of temporary file
- 4.13 MiB Average size of temporary file
- 6,755 Total number of sessions
- 9 sessions at 2024-10-26 05:54:49 Session peak
- 1d19h46m57s Total duration of sessions
- 23s333ms Average duration of sessions
- 7 Average queries per session
- 846ms Average queries duration per session
- 22s487ms Average idle time per session
- 6,755 Total number of connections
- 48 connections/s at 2024-10-26 05:08:48 Connection peak
- 1 Total number of databases
SQL Traffic
Key values
- 1,933 queries/s Query Peak
- 2024-10-26 05:15:04 Date
SELECT Traffic
Key values
- 1,924 queries/s Query Peak
- 2024-10-26 05:15:04 Date
INSERT/UPDATE/DELETE Traffic
Key values
- 243 queries/s Query Peak
- 2024-10-26 05:12:02 Date
Queries duration
Key values
- 1h35m14s 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) Oct 26 05 50,533 0ms 48s465ms 112ms 2m39s 2m47s 3m52s Day Hour SELECT COPY TO Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Oct 26 05 29,000 0 2ms 2s82ms 3s48ms 6s685ms Day Hour INSERT UPDATE DELETE COPY FROM Average Duration Latency Percentile(90) Latency Percentile(95) Latency Percentile(99) Oct 26 05 11,955 905 0 0 1ms 59ms 188ms 2s8ms Day Hour Prepare Bind Bind/Prepare Percentage of prepare Oct 26 05 15,545 38,617 2.48 35.03% Day Hour Count Average / Second Oct 26 05 6,755 1.88/s Day Hour Count Average Duration Average idle time Oct 26 05 6,755 23s333ms 22s492ms -
Connections
Established Connections
Key values
- 48 connections Connection Peak
- 2024-10-26 05:08:48 Date
Connections per database
Key values
- acaweb_fx Main Database
- 6,755 connections Total
Connections per user
Key values
- postgres Main User
- 6,755 connections Total
Connections per host
Key values
- 192.168.2.44 Main host with 5453 connections
- 6,755 Total connections
-
Sessions
Simultaneous sessions
Key values
- 9 sessions Session Peak
- 2024-10-26 05:54:49 Date
Histogram of session times
Key values
- 6,549 0-500ms duration
Sessions per database
Key values
- acaweb_fx Main Database
- 6,755 sessions Total
Sessions per user
Key values
- postgres Main User
- 6,755 sessions Total
Sessions per host
Key values
- 192.168.2.44 Main Host
- 6,755 sessions Total
Host Count Total Duration Average Duration 127.0.0.1 12 1h 5m 192.168.0.216 86 5m22s 3s752ms 192.168.1.145 5 4h38m46s 55m45s 192.168.1.20 24 14h20m57s 35m52s 192.168.1.239 48 436ms 9ms 192.168.1.250 37 18h49m26s 30m31s 192.168.1.90 3 21ms 7ms 192.168.2.126 18 5s212ms 289ms 192.168.2.205 16 1h 3m45s 192.168.2.44 5,453 6m47s 74ms 192.168.2.82 44 3h30m34s 4m47s 192.168.3.199 64 1m41s 1s586ms 192.168.4.142 576 12m35s 1s312ms 192.168.4.98 306 14s649ms 47ms [local] 63 21s831ms 346ms -
Checkpoints / Restartpoints
Checkpoints Buffers
Key values
- 2,329 buffers Checkpoint Peak
- 2024-10-26 05:13:42 Date
- 209.874 seconds Highest write time
- 0.006 seconds Sync time
Checkpoints Wal files
Key values
- 1 files Wal files usage Peak
- 2024-10-26 05:13:42 Date
Checkpoints distance
Key values
- 22.16 Mo Distance Peak
- 2024-10-26 05:13:42 Date
Checkpoints Activity
↑ Back to the top of the Checkpoint Activity tableDay Hour Written buffers Write time Sync time Total time Oct 26 05 10,109 988.868s 0.027s 989.028s Day Hour Added Removed Recycled Synced files Longest sync Average sync Oct 26 05 0 0 3 916 0.006s 0s Day Hour Count Avg time (sec) Oct 26 05 0 0s Day Hour Mean distance Mean estimate Oct 26 05 4,072.75 kB 51,017.92 kB -
Temporary Files
Size of temporary files
Key values
- 12.15 MiB Temp Files size Peak
- 2024-10-26 05:27:33 Date
Number of temporary files
Key values
- 3 per second Temp Files Peak
- 2024-10-26 05:27:33 Date
Temporary Files Activity
↑ Back to the top of the Temporary Files Activity tableDay Hour Count Total size Average size Oct 26 05 111 458.46 MiB 4.13 MiB Queries generating the most temporary files (N)
Rank Count Total size Min size Max size Avg size Query 1 103 422.30 MiB 3.20 MiB 10.35 MiB 4.10 MiB with rar_max as ( ;-
WITH rar_max as ( ;
Date: 2024-10-26 05:00:54 Duration: 0ms Database: acaweb_fx User: postgres Remote: 182.165.1.42 Application: [unknown]
2 4 16.19 MiB 4.05 MiB 4.05 MiB 4.05 MiB 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;-
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 = $1 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 = $2 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 ($3 = 0 OR s.timegranularity in ($4, $5, $6, $7, $8, $9, $10)) AND ($11 = 0 OR s.exchange in ($12)) AND ($13 = 0 OR coalesce(bim.code, s.symbol) in ($14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77, $78, $79, $80, $81, $82, $83, $84, $85, $86, $87, $88, $89, $90, $91, $92, $93, $94, $95, $96, $97, $98, $99, $100, $101, $102, $103, $104, $105, $106, $107, $108, $109, $110, $111, $112, $113, $114, $115, $116, $117, $118, $119, $120, $121, $122, $123, $124, $125, $126, $127, $128, $129, $130, $131, $132, $133, $134, $135, $136, $137, $138, $139, $140, $141, $142, $143, $144, $145, $146, $147, $148, $149, $150, $151, $152, $153, $154, $155, $156, $157, $158, $159, $160, $161, $162, $163, $164, $165, $166, $167, $168, $169, $170, $171, $172, $173, $174, $175, $176, $177, $178, $179, $180, $181, $182, $183, $184, $185, $186, $187, $188, $189, $190, $191, $192, $193, $194, $195, $196, $197, $198, $199, $200, $201, $202, $203, $204, $205, $206, $207, $208, $209, $210, $211, $212, $213, $214, $215, $216, $217, $218, $219, $220, $221, $222, $223, $224, $225, $226, $227, $228, $229, $230, $231, $232, $233, $234)) AND ($235 = 0 OR fr.pattern in ($236)) AND ($237 = 0 OR fr.patternlengthbars <= $238) AND ($239 = 0 OR ($240 = 1 AND fr.timed > cast('1970-01-01' as timestamp)) OR ($241 = 2 AND fr.timed < cast('1970-01-01' as timestamp)))), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = $242 OR relevant = 1) AND ($243 = 0 OR age <= $244) ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;
Date: 2024-10-26 05:02:53 Duration: 0ms Database: acaweb_fx User: postgres Remote: 192.168.1.20 Application: PostgreSQL JDBC Driver
3 3 9.61 MiB 3.20 MiB 3.20 MiB 3.20 MiB 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;-
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 = $1 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 ($2 = 0 OR s.timegranularity in ($3, $4, $5, $6, $7, $8, $9)) AND ($10 = 0 OR s.exchange in ($11)) AND ($12 = 0 OR coalesce(bim.code, s.symbol) in ($13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30, $31, $32, $33, $34, $35, $36, $37, $38, $39, $40, $41, $42, $43, $44, $45, $46, $47, $48, $49, $50, $51, $52, $53, $54, $55, $56, $57, $58, $59, $60, $61, $62, $63, $64, $65, $66, $67, $68, $69, $70, $71, $72, $73, $74, $75, $76, $77, $78, $79, $80, $81, $82, $83, $84, $85, $86, $87, $88, $89, $90, $91, $92, $93, $94, $95, $96, $97, $98, $99, $100, $101, $102, $103, $104, $105, $106, $107, $108, $109, $110, $111, $112, $113, $114, $115, $116, $117, $118, $119, $120, $121, $122, $123, $124, $125, $126, $127, $128, $129, $130, $131, $132, $133, $134, $135, $136, $137, $138, $139, $140, $141, $142, $143, $144, $145, $146, $147, $148, $149, $150, $151, $152, $153, $154, $155, $156, $157, $158, $159, $160, $161, $162, $163, $164, $165, $166, $167, $168, $169, $170, $171, $172, $173, $174, $175, $176, $177, $178, $179, $180, $181, $182, $183, $184, $185, $186, $187, $188, $189, $190, $191, $192, $193, $194, $195, $196, $197, $198, $199, $200, $201, $202, $203, $204, $205, $206, $207, $208, $209, $210, $211, $212, $213, $214, $215, $216, $217, $218, $219, $220, $221, $222, $223, $224, $225, $226, $227, $228, $229, $230, $231, $232, $233)) AND ($234 = 0 OR ccr.patternlengthbars <= $235)), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = $236 OR relevant = 1) AND ($237 = 0 OR age <= $238) ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;
Date: 2024-10-26 05:13:32 Duration: 0ms Database: acaweb_fx User: postgres Remote: 192.168.1.20 Application: PostgreSQL JDBC Driver
4 1 10.35 MiB 10.35 MiB 10.35 MiB 10.35 MiB jr.resultuid as resultuid, jr.direction as direction, jr.patternendtime as identified, jr.patternlengthbars as length, jr.patternstarttime as patternstarttime, case when jr.trendchangeid = ? then ? else ? end as trendchange, 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, jp.patternname as pattern_name, dtt.timezone as timezone, ? as age, cps.pip, g.basegroupname from japsticks_results jr inner join brokersymbollist bsl on bsl.brokerid = ? and bsl.symbolid = jr.symbolid inner join relevance_japsticks_results rar on rar.resultuid = jr.resultuid inner join symbols s on jr.symbolid = s.symbolid and s.nonliquid = ? inner join japsticks_patterns jp on jr.patternid = jp.id inner join downloadersymbolsettings dss on jr.symbolid = dss.symbolid inner join datafeedstimetable dtt on dss.classname = dtt.classname and dtt.dayofweek = ? 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 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 jr.gmttimefound > now() - interval ? and s.deleted = ? and (jr.simulation = ? or jr.simulation is null) and (rar.relevant = ?) --and (semicolon_age = ? or rar.age <= semicolon_age) and (? = ? or s.timegranularity in (...)) and (? = ? or s.exchange in (...)) and (? = ? or coalesce(bim.code, s.symbol) in (...)) and (? = ? or jp.patternname in (...)) and (? = ? or jr.patternlengthbars <= ?) ), results as ( select distinct on (symbolid) * from all_results order by symbolid, resultuid ) select * from results order by identified desc, length desc ;-
jr.resultuid AS resultuid, jr.direction AS direction, jr.patternendtime AS identified, jr.patternlengthbars AS length, jr.patternstarttime AS patternstarttime, case when jr.trendchangeid = 1 then 'Continuation' else 'Reversal' end AS trendchange, 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, jp.patternname AS pattern_name, dtt.timezone AS timezone, 0 AS age, cps.pip, g.basegroupname FROM japsticks_results jr INNER JOIN brokersymbollist bsl ON bsl.brokerid = $1 AND bsl.symbolid = jr.symbolid INNER JOIN relevance_japsticks_results rar ON rar.resultuid = jr.resultuid INNER JOIN symbols s ON jr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN japsticks_patterns jp ON jr.patternid = jp.id INNER JOIN downloadersymbolsettings dss ON jr.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 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 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 jr.gmttimefound > now() - INTERVAL '7 DAYS' AND s.deleted = 0 AND (jr.simulation = 0 OR jr.simulation IS NULL) AND (rar.relevant = 1) --AND (semicolon_age = 0 OR rar.age <= semicolon_age) AND ($2 = 0 OR s.timegranularity in ($3)) AND ($4 = 0 OR s.exchange in ($5)) AND ($6 = 0 OR coalesce(bim.code, s.symbol) in ($7)) AND ($8 = 0 OR jp.patternname in ($9)) AND ($10 = 0 OR jr.patternlengthbars <= $11)), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;
Date: 2024-10-26 05:11:41 Duration: 0ms Database: acaweb_fx User: postgres Remote: 192.168.1.250 Application: PostgreSQL JDBC Driver
Queries generating the largest temporary files
Rank Size Query 1 10.35 MiB WITH rar_max as ( ;[ Date: 2024-10-26 05:02:20 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver ]
2 10.35 MiB jr.resultuid AS resultuid, jr.direction AS direction, jr.patternendtime AS identified, jr.patternlengthbars AS length, jr.patternstarttime AS patternstarttime, case when jr.trendchangeid = 1 then 'Continuation' else 'Reversal' end AS trendchange, 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, jp.patternname AS pattern_name, dtt.timezone AS timezone, 0 AS age, cps.pip, g.basegroupname FROM japsticks_results jr INNER JOIN brokersymbollist bsl ON bsl.brokerid = $1 AND bsl.symbolid = jr.symbolid INNER JOIN relevance_japsticks_results rar ON rar.resultuid = jr.resultuid INNER JOIN symbols s ON jr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN japsticks_patterns jp ON jr.patternid = jp.id INNER JOIN downloadersymbolsettings dss ON jr.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 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 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 jr.gmttimefound > now() - INTERVAL '7 DAYS' AND s.deleted = 0 AND (jr.simulation = 0 OR jr.simulation IS NULL) AND (rar.relevant = 1) --AND (semicolon_age = 0 OR rar.age <= semicolon_age) AND ($2 = 0 OR s.timegranularity in ($3)) AND ($4 = 0 OR s.exchange in ($5)) AND ($6 = 0 OR coalesce(bim.code, s.symbol) in ($7)) AND ($8 = 0 OR jp.patternname in ($9)) AND ($10 = 0 OR jr.patternlengthbars <= $11)), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;[ Date: 2024-10-26 05:11:41 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver ]
3 10.35 MiB WITH rar_max as ( ;[ Date: 2024-10-26 05:20:08 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver ]
4 10.35 MiB WITH rar_max as ( ;[ Date: 2024-10-26 05:26:18 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver ]
5 10.35 MiB WITH rar_max as ( ;[ Date: 2024-10-26 05:43:46 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver ]
6 10.35 MiB WITH rar_max as ( ;[ Date: 2024-10-26 05:50:27 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver ]
7 10.35 MiB WITH rar_max as ( ;[ Date: 2024-10-26 05:56:42 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver ]
8 4.05 MiB WITH rar_max as ( ;[ Date: 2024-10-26 05:02:02 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver ]
9 4.05 MiB WITH rar_max as ( ;[ Date: 2024-10-26 05:01:43 - Database: acaweb_fx - User: postgres - Remote: 182.165.1.42 - Application: [unknown] ]
10 4.05 MiB WITH rar_max as ( ;[ Date: 2024-10-26 05:06:29 - Database: acaweb_fx - User: postgres - Remote: 182.165.1.42 - Application: [unknown] ]
11 4.05 MiB WITH rar_max as ( ;[ Date: 2024-10-26 05:12:21 - Database: acaweb_fx - User: postgres - Remote: 182.165.1.42 - Application: [unknown] ]
12 4.05 MiB WITH rar_max as ( ;[ Date: 2024-10-26 05:17:49 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver ]
13 4.05 MiB WITH rar_max as ( ;[ Date: 2024-10-26 05:27:33 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver ]
14 4.05 MiB WITH rar_max as ( ;[ Date: 2024-10-26 05:38:57 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver ]
15 4.05 MiB WITH rar_max as ( ;[ Date: 2024-10-26 05:47:16 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver ]
16 4.05 MiB WITH rar_max as ( ;[ Date: 2024-10-26 05:57:40 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver ]
17 4.05 MiB WITH rar_max as ( ;[ Date: 2024-10-26 05:02:45 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver ]
18 4.05 MiB WITH rar_max as ( ;[ Date: 2024-10-26 05:08:18 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.20 - Application: PostgreSQL JDBC Driver ]
19 4.05 MiB WITH rar_max as ( ;[ Date: 2024-10-26 05:08:19 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.145 - Application: PostgreSQL JDBC Driver ]
20 4.05 MiB WITH rar_max as ( ;[ Date: 2024-10-26 05:09:02 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver ]
-
Vacuums
Vacuums / Analyzes Distribution
Key values
- 0 sec Highest CPU-cost vacuum
Table
Database - Date
- 0 sec Highest CPU-cost analyze
Table
Database - Date
Analyzes per table
Key values
- public.datafeeds_latestrun (6) Main table analyzed (database acaweb_fx)
- 9 analyzes Total
Vacuums per table
Key values
- public.datafeeds_latestrun (4) Main table vacuumed on database acaweb_fx
- 4 vacuums Total
Tuples removed per table
Key values
- public.datafeeds_latestrun (234) Main table with removed tuples on database acaweb_fx
- 234 tuples Total removed
Pages removed per table
Key values
- unknown (0) Main table with removed pages on database unknown
- 0 pages Total removed
Autovacuum Activity
↑ Back to the top of the Autovacuum Activity tableDay Hour VACUUMs ANALYZEs Oct 26 05 4 9 - 0 sec Highest CPU-cost vacuum
-
Locks
Locks by types
Key values
- unknown Main Lock Type
- 0 locks Total
Most frequent waiting queries (N)
Rank Count Total time Min time Max time Avg duration Query NO DATASET
Queries that waited the most
Rank Wait time Query NO DATASET
-
Queries
Queries by type
Key values
- 29,000 Total read queries
- 15,380 Total write queries
Queries by database
Key values
- acaweb_fx Main database
- 50,533 Requests
- 1h34m43s (acaweb_fx)
- Main time consuming database
Queries by user
Key values
- postgres Main user
- 50,533 Requests
User Request type Count Duration postgres Total 50,533 1h34m43s cte 1,908 1h32m48s insert 11,955 18s997ms others 6,153 10s358ms select 29,000 1m23s tcl 612 142ms update 905 1s617ms Duration by user
Key values
- 1h34m43s (postgres) Main time consuming user
User Request type Count Duration postgres Total 50,533 1h34m43s cte 1,908 1h32m48s insert 11,955 18s997ms others 6,153 10s358ms select 29,000 1m23s tcl 612 142ms update 905 1s617ms Queries by host
Key values
- 192.168.2.44 Main host
- 10,902 Requests
- 31m21s (192.168.1.250)
- Main time consuming host
Host Request type Count Duration 127.0.0.1 Total 2,604 15s790ms insert 1,093 1s169ms others 36 0ms select 1,061 14s458ms update 414 162ms 182.165.1.42 Total 59 2m19s cte 29 2m19s select 30 0ms 192.168.0.216 Total 344 261ms others 172 13ms select 166 149ms update 6 97ms 192.168.0.239 Total 62 73ms select 62 73ms 192.168.0.42 Total 122 305ms select 122 305ms 192.168.1.135 Total 12 14ms cte 3 14ms select 9 0ms 192.168.1.145 Total 8,357 29m43s cte 482 29m33s others 10 0ms select 7,865 10s55ms 192.168.1.20 Total 9,909 29m47s cte 486 29m35s others 48 0ms select 9,375 12s83ms 192.168.1.201 Total 346 661ms select 346 661ms 192.168.1.210 Total 52 1ms select 52 1ms 192.168.1.23 Total 745 1s259ms select 745 1s259ms 192.168.1.239 Total 192 93ms others 96 7ms select 96 86ms 192.168.1.250 Total 3,299 31m21s cte 908 31m20s others 74 0ms select 2,317 1s188ms 192.168.1.90 Total 3 4ms select 3 4ms 192.168.2.126 Total 30 28ms others 12 0ms select 18 27ms 192.168.2.205 Total 145 150ms insert 87 12ms others 28 2ms select 26 28ms update 4 106ms 192.168.2.44 Total 10,902 17s934ms others 5,451 47ms select 5,451 17s886ms 192.168.2.82 Total 7,537 19s303ms insert 6,703 15s594ms others 88 8ms select 605 3s200ms update 141 501ms 192.168.3.199 Total 256 276ms others 128 10ms select 116 104ms update 12 161ms 192.168.4.142 Total 4,570 2s621ms insert 4,072 2s221ms select 498 400ms 192.168.4.98 Total 924 10s719ms others 6 10s27ms select 6 27ms tcl 612 142ms update 300 522ms [local] Total 63 21s709ms others 4 239ms select 31 21s403ms update 28 66ms Queries by application
Key values
- [unknown] Main application
- 27,584 Requests
- 1h30m55s (PostgreSQL JDBC Driver)
- Main time consuming application
Application Request type Count Duration PostgreSQL JDBC Driver Total 22,886 1h30m55s cte 1,879 1h30m29s others 78 0ms select 20,929 25s687ms [unknown] Total 27,584 3m26s cte 29 2m19s insert 11,955 18s997ms others 6,071 10s118ms select 8,040 36s318ms tcl 612 142ms update 877 1s551ms psql Total 63 21s709ms others 4 239ms select 31 21s403ms update 28 66ms Number of cancelled queries
Key values
- 0 per second Cancelled query Peak
- 2024-10-26 05:27:37 Date
Number of cancelled queries (5 minutes period)
NO DATASET
-
Top Queries
Histogram of query times
Key values
- 30,959 0-1ms duration
Slowest individual queries
Rank Duration Query 1 48s465ms 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 ('0' = 0 OR s.timegranularity in ('0')) AND ('0' = 0 OR s.exchange in ('')) AND ('0' = 0 OR coalesce(bim.code, s.symbol) in ('')) AND ('0' = 0 OR p.patternname in ('')) AND ('0' = 0 OR kr.patternclassid in ('0')) AND ('0' = 0 OR kr.patternlengthbars <= '0') AND kr.patternstarttime::timestamp without time zone >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('0' = 0 OR age <= '0') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC LIMIT 200;[ Date: 2024-10-26 05:02:20 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
2 40s342ms 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 ('0' = 0 OR s.timegranularity in ('0')) AND ('0' = 0 OR s.exchange in ('')) AND ('0' = 0 OR coalesce(bim.code, s.symbol) in ('')) AND ('0' = 0 OR p.patternname in ('')) AND ('0' = 0 OR kr.patternclassid in ('0')) AND ('0' = 0 OR kr.patternlengthbars <= '0') AND kr.patternstarttime::timestamp without time zone >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('0' = 0 OR age <= '0') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC LIMIT 200;[ Date: 2024-10-26 05:11:41 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
3 40s287ms 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 ('0' = 0 OR s.timegranularity in ('0')) AND ('0' = 0 OR s.exchange in ('')) AND ('0' = 0 OR coalesce(bim.code, s.symbol) in ('')) AND ('0' = 0 OR p.patternname in ('')) AND ('0' = 0 OR kr.patternclassid in ('0')) AND ('0' = 0 OR kr.patternlengthbars <= '0') AND kr.patternstarttime::timestamp without time zone >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('0' = 0 OR age <= '0') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC LIMIT 200;[ Date: 2024-10-26 05:43:46 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
4 40s262ms 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 ('0' = 0 OR s.timegranularity in ('0')) AND ('0' = 0 OR s.exchange in ('')) AND ('0' = 0 OR coalesce(bim.code, s.symbol) in ('')) AND ('0' = 0 OR p.patternname in ('')) AND ('0' = 0 OR kr.patternclassid in ('0')) AND ('0' = 0 OR kr.patternlengthbars <= '0') AND kr.patternstarttime::timestamp without time zone >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('0' = 0 OR age <= '0') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC LIMIT 200;[ Date: 2024-10-26 05:26:18 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
5 40s142ms 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 ('0' = 0 OR s.timegranularity in ('0')) AND ('0' = 0 OR s.exchange in ('')) AND ('0' = 0 OR coalesce(bim.code, s.symbol) in ('')) AND ('0' = 0 OR p.patternname in ('')) AND ('0' = 0 OR kr.patternclassid in ('0')) AND ('0' = 0 OR kr.patternlengthbars <= '0') AND kr.patternstarttime::timestamp without time zone >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('0' = 0 OR age <= '0') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC LIMIT 200;[ Date: 2024-10-26 05:56:42 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
6 39s507ms 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 ('0' = 0 OR s.timegranularity in ('0')) AND ('0' = 0 OR s.exchange in ('')) AND ('0' = 0 OR coalesce(bim.code, s.symbol) in ('')) AND ('0' = 0 OR p.patternname in ('')) AND ('0' = 0 OR kr.patternclassid in ('0')) AND ('0' = 0 OR kr.patternlengthbars <= '0') AND kr.patternstarttime::timestamp without time zone >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('0' = 0 OR age <= '0') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC LIMIT 200;[ Date: 2024-10-26 05:20:08 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
7 39s11ms 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 ('0' = 0 OR s.timegranularity in ('0')) AND ('0' = 0 OR s.exchange in ('')) AND ('0' = 0 OR coalesce(bim.code, s.symbol) in ('')) AND ('0' = 0 OR p.patternname in ('')) AND ('0' = 0 OR kr.patternclassid in ('0')) AND ('0' = 0 OR kr.patternlengthbars <= '0') AND kr.patternstarttime::timestamp without time zone >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('0' = 0 OR age <= '0') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC LIMIT 200;[ Date: 2024-10-26 05:50:27 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
8 25s350ms 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: 2024-10-26 05:01:43 - Database: acaweb_fx - User: postgres - Remote: 182.165.1.42 - Application: [unknown] - Bind query: yes ]
9 23s897ms WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), ar AS ( SELECT a.*, rr.age, rr.relevant from autochartist_results a LEFT OUTER JOIN relevance_autochartist_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_autochartist_results) END ), all_results AS ( SELECT ar.resultuid AS resultuid, ar.direction AS direction, ar.predictiontimeto AS predictiontimeto, ar.predictionpricefrom AS predictionpricefrom, ar.predictionpriceto AS predictionpriceto, cp.pip AS pip, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ar.pattern AS pattern_name, ar.breakout AS breakout, ar.patternendtime AS identified, dtt.timezone AS timezone, ar.patternlengthbars AS length, g.basegroupname, newLevels.profit, newLevels.stop, newLevels.filtered, CASE WHEN ar.age IS NOT NULL THEN ar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN ar.relevant IS NOT NULL THEN ar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM ar INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = s.symbolid INNER JOIN symbolgroup sg on bsl.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON sg.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN autochartist_symbolupdates au on dss.symbolid = au.symbolid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('310' = 0 OR coalesce(bim.code, s.symbol) in ('#AAPL', '#ADS', '#AIG', '#ALV', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BAS', '#BAYN', '#BEI', '#BIDU', '#BMW', '#C', '#CAT', '#CBK', '#CL', '#CSCO', '#CVX', '#DAI', '#DB1', '#DBK', '#DIS', '#DPW', '#DTE', '#EBAY', '#EON', '#F', '#FB', '#FDX', '#FME', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#IFX', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LHA', '#LMT', '#MA', '#MCD', '#META', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#RWE', '#SAP', '#SIE', '#T', '#UBER', '#V', '#VOW', '#WB', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS200', 'BRENT', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CHI50', 'ESP35', 'ETHUSD', 'EU50', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'FRA40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'LTCUSD', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'SPX500', 'UK100', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BTCUSD', 'ETHUSD', 'LTCUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BRENT', 'WTI', 'AUS200', 'CHI50', 'ESP35', 'EU50', 'FRA40', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'NAS100', 'SPX500', 'UK100', 'US30', 'AUDUSD', 'EURUSD', 'GBPUSD', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', '#AAPL', '#AIG', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BIDU', '#C', '#CAT', '#CL', '#CSCO', '#CVX', '#DIS', '#EBAY', '#F', '#FB', '#FDX', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#T', '#UBER', '#V', '#WB', '#XOM')) AND ('0' = 0 OR ar.pattern in ('')) AND ('0' = 0 OR ('0' = 1 AND ar.breakout >= 0) OR ('0' = 2 AND ar.breakout < 0)) AND ('400' = 0 OR ar.patternlengthbars <= '400') and newLevels.filtered = false AND ar.patternstarttime >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;[ Date: 2024-10-26 05:01:31 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
10 21s669ms 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: 2024-10-26 05:02:02 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
11 20s770ms WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), ar AS ( SELECT a.*, rr.age, rr.relevant from autochartist_results a LEFT OUTER JOIN relevance_autochartist_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_autochartist_results) END ), all_results AS ( SELECT ar.resultuid AS resultuid, ar.direction AS direction, ar.predictiontimeto AS predictiontimeto, ar.predictionpricefrom AS predictionpricefrom, ar.predictionpriceto AS predictionpriceto, cp.pip AS pip, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ar.pattern AS pattern_name, ar.breakout AS breakout, ar.patternendtime AS identified, dtt.timezone AS timezone, ar.patternlengthbars AS length, g.basegroupname, newLevels.profit, newLevels.stop, newLevels.filtered, CASE WHEN ar.age IS NOT NULL THEN ar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN ar.relevant IS NOT NULL THEN ar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM ar INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = s.symbolid INNER JOIN symbolgroup sg on bsl.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON sg.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN autochartist_symbolupdates au on dss.symbolid = au.symbolid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('310' = 0 OR coalesce(bim.code, s.symbol) in ('#AAPL', '#ADS', '#AIG', '#ALV', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BAS', '#BAYN', '#BEI', '#BIDU', '#BMW', '#C', '#CAT', '#CBK', '#CL', '#CSCO', '#CVX', '#DAI', '#DB1', '#DBK', '#DIS', '#DPW', '#DTE', '#EBAY', '#EON', '#F', '#FB', '#FDX', '#FME', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#IFX', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LHA', '#LMT', '#MA', '#MCD', '#META', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#RWE', '#SAP', '#SIE', '#T', '#UBER', '#V', '#VOW', '#WB', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS200', 'BRENT', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CHI50', 'ESP35', 'ETHUSD', 'EU50', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'FRA40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'LTCUSD', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'SPX500', 'UK100', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BTCUSD', 'ETHUSD', 'LTCUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BRENT', 'WTI', 'AUS200', 'CHI50', 'ESP35', 'EU50', 'FRA40', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'NAS100', 'SPX500', 'UK100', 'US30', 'AUDUSD', 'EURUSD', 'GBPUSD', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', '#AAPL', '#AIG', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BIDU', '#C', '#CAT', '#CL', '#CSCO', '#CVX', '#DIS', '#EBAY', '#F', '#FB', '#FDX', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#T', '#UBER', '#V', '#WB', '#XOM')) AND ('0' = 0 OR ar.pattern in ('')) AND ('0' = 0 OR ('0' = 1 AND ar.breakout >= 0) OR ('0' = 2 AND ar.breakout < 0)) AND ('400' = 0 OR ar.patternlengthbars <= '400') and newLevels.filtered = false AND ar.patternstarttime >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;[ Date: 2024-10-26 05:00:54 - Database: acaweb_fx - User: postgres - Remote: 182.165.1.42 - Application: [unknown] - Bind query: yes ]
12 19s735ms WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), ar AS ( SELECT a.*, rr.age, rr.relevant from autochartist_results a LEFT OUTER JOIN relevance_autochartist_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_autochartist_results) END ), all_results AS ( SELECT ar.resultuid AS resultuid, ar.direction AS direction, ar.predictiontimeto AS predictiontimeto, ar.predictionpricefrom AS predictionpricefrom, ar.predictionpriceto AS predictionpriceto, cp.pip AS pip, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ar.pattern AS pattern_name, ar.breakout AS breakout, ar.patternendtime AS identified, dtt.timezone AS timezone, ar.patternlengthbars AS length, g.basegroupname, newLevels.profit, newLevels.stop, newLevels.filtered, CASE WHEN ar.age IS NOT NULL THEN ar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN ar.relevant IS NOT NULL THEN ar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM ar INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = s.symbolid INNER JOIN symbolgroup sg on bsl.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON sg.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN autochartist_symbolupdates au on dss.symbolid = au.symbolid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('0' = 0 OR s.timegranularity in ('0')) 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 ('0' = 0 OR age <= '0') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;[ Date: 2024-10-26 05:01:22 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
13 16s588ms 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: 2024-10-26 05:06:29 - Database: acaweb_fx - User: postgres - Remote: 182.165.1.42 - Application: [unknown] - Bind query: yes ]
14 16s579ms 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: 2024-10-26 05:12:21 - Database: acaweb_fx - User: postgres - Remote: 182.165.1.42 - Application: [unknown] - Bind query: yes ]
15 16s151ms 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: 2024-10-26 05:57:40 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
16 15s990ms 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: 2024-10-26 05:47:16 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
17 15s940ms 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: 2024-10-26 05:27:33 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
18 15s809ms 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: 2024-10-26 05:38:57 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
19 15s741ms 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: 2024-10-26 05:17:49 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.250 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
20 15s322ms 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 ('221' = 0 OR coalesce(bim.code, s.symbol) in ('#ADBE', '#AIRF', '#ALVG', '#AMZN', '#APPL', '#BA', '#BABA', '#BAYGn', '#BMWG', '#BNPP', '#BP', '#CAT', '#CBKG', '#DAIGn', '#DBKGn', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#META', '#MSFT', '#NFLX', '#RDSa', '#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', '#BP', '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', '#AIRF', '#ALVG', '#BAYGn', '#BMWG', '#BNPP', '#CBKG', '#DAIGn', '#DBKGn', '#RDSa', '#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: 2024-10-26 05:08:19 - Database: acaweb_fx - User: postgres - Remote: 192.168.1.145 - Application: PostgreSQL JDBC Driver - Bind query: yes ]
Time consuming queries
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 41m29s 285 737ms 48s465ms 8s734ms 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 #1
Day Hour Count Duration Avg duration Oct 26 05 285 41m29s 8s734ms [ User: postgres - Total duration: 41m29s - Times executed: 285 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 40m26s - Times executed: 279 ]
[ Application: [unknown] - Total duration: 1m2s - Times executed: 6 ]
-
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 ('0' = 0 OR s.timegranularity in ('0')) AND ('0' = 0 OR s.exchange in ('')) AND ('0' = 0 OR coalesce(bim.code, s.symbol) in ('')) AND ('0' = 0 OR p.patternname in ('')) AND ('0' = 0 OR kr.patternclassid in ('0')) AND ('0' = 0 OR kr.patternlengthbars <= '0') AND kr.patternstarttime::timestamp without time zone >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('0' = 0 OR age <= '0') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC LIMIT 200;
Date: 2024-10-26 05:02:20 Duration: 48s465ms Database: acaweb_fx User: postgres Remote: 192.168.1.250 Application: PostgreSQL JDBC Driver Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1 ), kr AS ( SELECT a.*, rr.age, rr.relevant from keylevels_results a LEFT OUTER JOIN relevance_keylevels_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_keylevels_results) END ), all_results AS ( SELECT kr.resultuid AS resultuid, kr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, p.patternname AS pattern_name, kr.breakout AS breakout, kr.atbaridentified AS identified, dtt.timezone AS timezone, kr.patternlengthbars AS length, g.basegroupname, newLevels.filtered, CASE WHEN kr.age IS NOT NULL THEN kr.age WHEN kr.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN kr.relevant IS NOT NULL THEN kr.relevant WHEN kr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip FROM kr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '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 ('0' = 0 OR s.timegranularity in ('0')) AND ('0' = 0 OR s.exchange in ('')) AND ('0' = 0 OR coalesce(bim.code, s.symbol) in ('')) AND ('0' = 0 OR p.patternname in ('')) AND ('0' = 0 OR kr.patternclassid in ('0')) AND ('0' = 0 OR kr.patternlengthbars <= '0') AND kr.patternstarttime::timestamp without time zone >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('0' = 0 OR age <= '0') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC LIMIT 200;
Date: 2024-10-26 05:11:41 Duration: 40s342ms Database: acaweb_fx User: postgres Remote: 192.168.1.250 Application: PostgreSQL JDBC Driver Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1 ), kr AS ( SELECT a.*, rr.age, rr.relevant from keylevels_results a LEFT OUTER JOIN relevance_keylevels_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_keylevels_results) END ), all_results AS ( SELECT kr.resultuid AS resultuid, kr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, p.patternname AS pattern_name, kr.breakout AS breakout, kr.atbaridentified AS identified, dtt.timezone AS timezone, kr.patternlengthbars AS length, g.basegroupname, newLevels.filtered, CASE WHEN kr.age IS NOT NULL THEN kr.age WHEN kr.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN kr.relevant IS NOT NULL THEN kr.relevant WHEN kr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip FROM kr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '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 ('0' = 0 OR s.timegranularity in ('0')) AND ('0' = 0 OR s.exchange in ('')) AND ('0' = 0 OR coalesce(bim.code, s.symbol) in ('')) AND ('0' = 0 OR p.patternname in ('')) AND ('0' = 0 OR kr.patternclassid in ('0')) AND ('0' = 0 OR kr.patternlengthbars <= '0') AND kr.patternstarttime::timestamp without time zone >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('0' = 0 OR age <= '0') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC LIMIT 200;
Date: 2024-10-26 05:43:46 Duration: 40s287ms Database: acaweb_fx User: postgres Remote: 192.168.1.250 Application: PostgreSQL JDBC Driver Bind query: yes
2 37m10s 285 746ms 23s897ms 7s825ms 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 Oct 26 05 285 37m10s 7s825ms [ User: postgres - Total duration: 37m10s - Times executed: 285 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 36m16s - Times executed: 279 ]
[ Application: [unknown] - Total duration: 54s60ms - Times executed: 6 ]
-
WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), ar AS ( SELECT a.*, rr.age, rr.relevant from autochartist_results a LEFT OUTER JOIN relevance_autochartist_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_autochartist_results) END ), all_results AS ( SELECT ar.resultuid AS resultuid, ar.direction AS direction, ar.predictiontimeto AS predictiontimeto, ar.predictionpricefrom AS predictionpricefrom, ar.predictionpriceto AS predictionpriceto, cp.pip AS pip, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ar.pattern AS pattern_name, ar.breakout AS breakout, ar.patternendtime AS identified, dtt.timezone AS timezone, ar.patternlengthbars AS length, g.basegroupname, newLevels.profit, newLevels.stop, newLevels.filtered, CASE WHEN ar.age IS NOT NULL THEN ar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN ar.relevant IS NOT NULL THEN ar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM ar INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = s.symbolid INNER JOIN symbolgroup sg on bsl.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON sg.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN autochartist_symbolupdates au on dss.symbolid = au.symbolid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('310' = 0 OR coalesce(bim.code, s.symbol) in ('#AAPL', '#ADS', '#AIG', '#ALV', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BAS', '#BAYN', '#BEI', '#BIDU', '#BMW', '#C', '#CAT', '#CBK', '#CL', '#CSCO', '#CVX', '#DAI', '#DB1', '#DBK', '#DIS', '#DPW', '#DTE', '#EBAY', '#EON', '#F', '#FB', '#FDX', '#FME', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#IFX', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LHA', '#LMT', '#MA', '#MCD', '#META', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#RWE', '#SAP', '#SIE', '#T', '#UBER', '#V', '#VOW', '#WB', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS200', 'BRENT', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CHI50', 'ESP35', 'ETHUSD', 'EU50', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'FRA40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'LTCUSD', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'SPX500', 'UK100', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BTCUSD', 'ETHUSD', 'LTCUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BRENT', 'WTI', 'AUS200', 'CHI50', 'ESP35', 'EU50', 'FRA40', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'NAS100', 'SPX500', 'UK100', 'US30', 'AUDUSD', 'EURUSD', 'GBPUSD', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', '#AAPL', '#AIG', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BIDU', '#C', '#CAT', '#CL', '#CSCO', '#CVX', '#DIS', '#EBAY', '#F', '#FB', '#FDX', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#T', '#UBER', '#V', '#WB', '#XOM')) AND ('0' = 0 OR ar.pattern in ('')) AND ('0' = 0 OR ('0' = 1 AND ar.breakout >= 0) OR ('0' = 2 AND ar.breakout < 0)) AND ('400' = 0 OR ar.patternlengthbars <= '400') and newLevels.filtered = false AND ar.patternstarttime >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;
Date: 2024-10-26 05:01:31 Duration: 23s897ms 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 = '689' AND bsl.symbolid = s.symbolid INNER JOIN symbolgroup sg on bsl.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON sg.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN autochartist_symbolupdates au on dss.symbolid = au.symbolid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('310' = 0 OR coalesce(bim.code, s.symbol) in ('#AAPL', '#ADS', '#AIG', '#ALV', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BAS', '#BAYN', '#BEI', '#BIDU', '#BMW', '#C', '#CAT', '#CBK', '#CL', '#CSCO', '#CVX', '#DAI', '#DB1', '#DBK', '#DIS', '#DPW', '#DTE', '#EBAY', '#EON', '#F', '#FB', '#FDX', '#FME', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#IFX', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LHA', '#LMT', '#MA', '#MCD', '#META', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#RWE', '#SAP', '#SIE', '#T', '#UBER', '#V', '#VOW', '#WB', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS200', 'BRENT', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CHI50', 'ESP35', 'ETHUSD', 'EU50', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'FRA40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'LTCUSD', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'SPX500', 'UK100', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BTCUSD', 'ETHUSD', 'LTCUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BRENT', 'WTI', 'AUS200', 'CHI50', 'ESP35', 'EU50', 'FRA40', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'NAS100', 'SPX500', 'UK100', 'US30', 'AUDUSD', 'EURUSD', 'GBPUSD', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', '#AAPL', '#AIG', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BIDU', '#C', '#CAT', '#CL', '#CSCO', '#CVX', '#DIS', '#EBAY', '#F', '#FB', '#FDX', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#T', '#UBER', '#V', '#WB', '#XOM')) AND ('0' = 0 OR ar.pattern in ('')) AND ('0' = 0 OR ('0' = 1 AND ar.breakout >= 0) OR ('0' = 2 AND ar.breakout < 0)) AND ('400' = 0 OR ar.patternlengthbars <= '400') and newLevels.filtered = false AND ar.patternstarttime >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;
Date: 2024-10-26 05:00:54 Duration: 20s770ms Database: acaweb_fx User: postgres Remote: 182.165.1.42 Application: [unknown] 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 = '689' AND bsl.symbolid = s.symbolid INNER JOIN symbolgroup sg on bsl.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON sg.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN autochartist_symbolupdates au on dss.symbolid = au.symbolid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('0' = 0 OR s.timegranularity in ('0')) 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 ('0' = 0 OR age <= '0') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;
Date: 2024-10-26 05:01:22 Duration: 19s735ms Database: acaweb_fx User: postgres Remote: 192.168.1.250 Application: PostgreSQL JDBC Driver Bind query: yes
3 11m49s 285 332ms 9s515ms 2s491ms 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 Oct 26 05 285 11m49s 2s491ms [ User: postgres - Total duration: 11m49s - Times executed: 285 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 11m31s - Times executed: 279 ]
[ Application: [unknown] - Total duration: 18s564ms - Times executed: 6 ]
-
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 ('0' = 0 OR s.timegranularity in ('0')) AND ('0' = 0 OR s.exchange in ('')) AND ('0' = 0 OR coalesce(bim.code, s.symbol) in ('')) AND ('0' = 0 OR fr.pattern in ('')) AND ('0' = 0 OR fr.patternlengthbars <= '0') 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 ('0' = 0 OR age <= '0') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;
Date: 2024-10-26 05:01:32 Duration: 9s515ms 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_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: 2024-10-26 05:01:40 Duration: 9s318ms 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_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: 2024-10-26 05:01:15 Duration: 7s69ms Database: acaweb_fx User: postgres Remote: 182.165.1.42 Application: [unknown] Bind query: yes
4 1m26s 202 55ms 1s691ms 427ms 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 Oct 26 05 202 1m26s 427ms [ User: postgres - Total duration: 1m26s - Times executed: 202 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1m22s - Times executed: 196 ]
[ Application: [unknown] - Total duration: 3s747ms - Times executed: 6 ]
-
WITH rar_max as ( SELECT resultuid FROM relevance_consecutivecandles_results ORDER BY resultuid DESC LIMIT 1 ), all_results AS ( SELECT ccr.resultuid AS resultuid, ccr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ccr.patternendtime AS identified, dtt.timezone AS timezone, ccr.qtyconsecutivecandles AS length, g.basegroupname, CASE WHEN rcr.age IS NOT NULL THEN rcr.age WHEN ccr.resultuid <= rm.resultuid THEN 1 ELSE 0 END as age, CASE WHEN rcr.relevant IS NOT NULL THEN rcr.relevant WHEN ccr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip, newLevels.filtered FROM consecutivecandles_results ccr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = ccr.symbolid INNER JOIN symbols s ON ccr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN downloadersymbolsettings dss ON ccr.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN symbolgroup sg on ccr.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_consecutivecandles_results rcr ON rcr.resultuid = ccr.resultuid LEFT JOIN currencypips cps on cps.symbol = s.symbol LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' LEFT JOIN LATERAL calc_cc_signal_filter (ccr.resultuid) newLevels on true WHERE ccr.gmttimefound > now() - INTERVAL '7 DAYS' AND s.deleted = 0 AND (ccr.simulation = 0 OR ccr.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('310' = 0 OR coalesce(bim.code, s.symbol) in ('#AAPL', '#ADS', '#AIG', '#ALV', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BAS', '#BAYN', '#BEI', '#BIDU', '#BMW', '#C', '#CAT', '#CBK', '#CL', '#CSCO', '#CVX', '#DAI', '#DB1', '#DBK', '#DIS', '#DPW', '#DTE', '#EBAY', '#EON', '#F', '#FB', '#FDX', '#FME', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#IFX', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LHA', '#LMT', '#MA', '#MCD', '#META', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#RWE', '#SAP', '#SIE', '#T', '#UBER', '#V', '#VOW', '#WB', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS200', 'BRENT', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CHI50', 'ESP35', 'ETHUSD', 'EU50', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'FRA40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'LTCUSD', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'SPX500', 'UK100', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BTCUSD', 'ETHUSD', 'LTCUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BRENT', 'WTI', 'AUS200', 'CHI50', 'ESP35', 'EU50', 'FRA40', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'NAS100', 'SPX500', 'UK100', 'US30', 'AUDUSD', 'EURUSD', 'GBPUSD', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', '#AAPL', '#AIG', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BIDU', '#C', '#CAT', '#CL', '#CSCO', '#CVX', '#DIS', '#EBAY', '#F', '#FB', '#FDX', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#T', '#UBER', '#V', '#WB', '#XOM')) AND ('400' = 0 OR ccr.patternlengthbars <= '400') ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;
Date: 2024-10-26 05:02:04 Duration: 1s691ms 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_consecutivecandles_results ORDER BY resultuid DESC LIMIT 1 ), all_results AS ( SELECT ccr.resultuid AS resultuid, ccr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ccr.patternendtime AS identified, dtt.timezone AS timezone, ccr.qtyconsecutivecandles AS length, g.basegroupname, CASE WHEN rcr.age IS NOT NULL THEN rcr.age WHEN ccr.resultuid <= rm.resultuid THEN 1 ELSE 0 END as age, CASE WHEN rcr.relevant IS NOT NULL THEN rcr.relevant WHEN ccr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip, newLevels.filtered FROM consecutivecandles_results ccr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = ccr.symbolid INNER JOIN symbols s ON ccr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN downloadersymbolsettings dss ON ccr.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN symbolgroup sg on ccr.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_consecutivecandles_results rcr ON rcr.resultuid = ccr.resultuid LEFT JOIN currencypips cps on cps.symbol = s.symbol LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' LEFT JOIN LATERAL calc_cc_signal_filter (ccr.resultuid) newLevels on true WHERE ccr.gmttimefound > now() - INTERVAL '7 DAYS' AND s.deleted = 0 AND (ccr.simulation = 0 OR ccr.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('310' = 0 OR coalesce(bim.code, s.symbol) in ('#AAPL', '#ADS', '#AIG', '#ALV', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BAS', '#BAYN', '#BEI', '#BIDU', '#BMW', '#C', '#CAT', '#CBK', '#CL', '#CSCO', '#CVX', '#DAI', '#DB1', '#DBK', '#DIS', '#DPW', '#DTE', '#EBAY', '#EON', '#F', '#FB', '#FDX', '#FME', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#IFX', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LHA', '#LMT', '#MA', '#MCD', '#META', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#RWE', '#SAP', '#SIE', '#T', '#UBER', '#V', '#VOW', '#WB', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS200', 'BRENT', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CHI50', 'ESP35', 'ETHUSD', 'EU50', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'FRA40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'LTCUSD', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'SPX500', 'UK100', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BTCUSD', 'ETHUSD', 'LTCUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BRENT', 'WTI', 'AUS200', 'CHI50', 'ESP35', 'EU50', 'FRA40', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'NAS100', 'SPX500', 'UK100', 'US30', 'AUDUSD', 'EURUSD', 'GBPUSD', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', '#AAPL', '#AIG', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BIDU', '#C', '#CAT', '#CL', '#CSCO', '#CVX', '#DIS', '#EBAY', '#F', '#FB', '#FDX', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#T', '#UBER', '#V', '#WB', '#XOM')) AND ('400' = 0 OR ccr.patternlengthbars <= '400') ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;
Date: 2024-10-26 05:03:03 Duration: 1s658ms Database: acaweb_fx User: postgres Remote: 182.165.1.42 Application: [unknown] Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_consecutivecandles_results ORDER BY resultuid DESC LIMIT 1 ), all_results AS ( SELECT ccr.resultuid AS resultuid, ccr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ccr.patternendtime AS identified, dtt.timezone AS timezone, ccr.qtyconsecutivecandles AS length, g.basegroupname, CASE WHEN rcr.age IS NOT NULL THEN rcr.age WHEN ccr.resultuid <= rm.resultuid THEN 1 ELSE 0 END as age, CASE WHEN rcr.relevant IS NOT NULL THEN rcr.relevant WHEN ccr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip, newLevels.filtered FROM consecutivecandles_results ccr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = ccr.symbolid INNER JOIN symbols s ON ccr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN downloadersymbolsettings dss ON ccr.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN symbolgroup sg on ccr.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_consecutivecandles_results rcr ON rcr.resultuid = ccr.resultuid LEFT JOIN currencypips cps on cps.symbol = s.symbol LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' LEFT JOIN LATERAL calc_cc_signal_filter (ccr.resultuid) newLevels on true WHERE ccr.gmttimefound > now() - INTERVAL '7 DAYS' AND s.deleted = 0 AND (ccr.simulation = 0 OR ccr.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('310' = 0 OR coalesce(bim.code, s.symbol) in ('#AAPL', '#ADS', '#AIG', '#ALV', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BAS', '#BAYN', '#BEI', '#BIDU', '#BMW', '#C', '#CAT', '#CBK', '#CL', '#CSCO', '#CVX', '#DAI', '#DB1', '#DBK', '#DIS', '#DPW', '#DTE', '#EBAY', '#EON', '#F', '#FB', '#FDX', '#FME', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#IFX', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LHA', '#LMT', '#MA', '#MCD', '#META', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#RWE', '#SAP', '#SIE', '#T', '#UBER', '#V', '#VOW', '#WB', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS200', 'BRENT', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CHI50', 'ESP35', 'ETHUSD', 'EU50', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'FRA40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'LTCUSD', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'SPX500', 'UK100', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BTCUSD', 'ETHUSD', 'LTCUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BRENT', 'WTI', 'AUS200', 'CHI50', 'ESP35', 'EU50', 'FRA40', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'NAS100', 'SPX500', 'UK100', 'US30', 'AUDUSD', 'EURUSD', 'GBPUSD', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', '#AAPL', '#AIG', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BIDU', '#C', '#CAT', '#CL', '#CSCO', '#CVX', '#DIS', '#EBAY', '#F', '#FB', '#FDX', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#T', '#UBER', '#V', '#WB', '#XOM')) AND ('400' = 0 OR ccr.patternlengthbars <= '400') ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;
Date: 2024-10-26 05:12:45 Duration: 924ms Database: acaweb_fx User: postgres Remote: 182.165.1.42 Application: [unknown] Bind query: yes
5 34s955ms 105 96ms 631ms 332ms with last_candle as ( select acs.symbolid as symbolid, acs.latestpricedatetime as latest_candle_time, bsl.brokerid as broker_id, coalesce(bim.code, s.symbol) as symbol, bim.code as symbol_mapping, s.exchange as exchange, s.timegranularity as timegranularity from autochartist_symbolupdates acs inner join brokersymbollist bsl on acs.symbolid = bsl.symbolid inner join symbols s on acs.symbolid = s.symbolid inner join downloadersymbolsettings dss on s.symbolid = dss.symbolid left outer join brokerinstrumentmap bim on dss.datafeedinstrumentid = bim.datafeedinstrumentid and bim.brokerid = bsl.brokerid and bim.type = ? where bsl.brokerid = ? and s.deleted = ? and s.nonliquid = ? and acs.latestpricedatetime is not null ) select * from ( select lc.broker_id as brokerid, prf.groupid, psp.symbolid, prf.longname, psd.hourlysymbolid, lc.symbol, lc.exchange, psp.enddate, psp.dayofweek, psp.fromtime, floor(psp.fromtime / ?) + ? as sast_hh, mod(cast(psp.fromtime as int), ?) as sast_mm, current_timestamp as datetime, (powerstatslatestprfprice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice as closingprice, ((powerstatslatestprfprice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice - (psp.ave_15 + psp.stddev_15) / ?.?) as low_15, ((powerstatslatestprfprice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice + (psp.ave_15 + psp.stddev_15) / ?.?) as high_15, ((powerstatslatestprfprice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice - (psp.ave_30 + psp.stddev_30) / ?.?) as low_30, ((powerstatslatestprfprice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice + (psp.ave_30 + psp.stddev_30) / ?.?) as high_30, ((powerstatslatestprfprice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice - (psp.ave_60 + psp.stddev_60) / ?.?) as low_60, ((powerstatslatestprfprice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice + (psp.ave_60 + psp.stddev_60) / ?.?) as high_60, ((powerstatslatestprfprice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice - (psp.ave_240 + psp.stddev_240) / ?.?) as low_240, ((powerstatslatestprfprice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice + (psp.ave_240 + psp.stddev_240) / ?.?) as high_240, ((powerstatslatestprfprice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice - (psp.ave_1440 + psp.stddev_1440) / ?.?) as low_1440, ((powerstatslatestprfprice (cast(psp.symbolid as bigint), psd.trumpettimegranularity)).closingprice + (psp.ave_1440 + psp.stddev_1440) / ?.?) as high_1440, dtt.absolutetimezoneoffset as datafeedtimezoneoffset, dtt.timezone as datafeedtimezonename, (round((cast(? as float) - rank) / ? * ?)) as rank_rounded, ((cast(? as float) - rank) / ? * ?) as rank from last_candle lc inner join downloadersymbolsettings dss on lc.symbolid = dss.symbolid inner join datafeedstimetable dtt on trim(dss.classname) = trim(dtt.classname) and dtt.dayofweek = ? -- assuming timezone is same for whole week. inner join powerstats_symboldata psd on psd.symbolid = lc.symbolid left outer join powerstats_trumpet psp on psd.trumpetsymbolid = psp.symbolid and psp.dayofweek = extract(dow from lc.latest_candle_time) and psp.fromtime = cast(extract(? from lc.latest_candle_time) as integer) * ? + extract(? from (cast(extract(? from lc.latest_candle_time) as integer) / ?) * ? * interval ?) inner join prfsymboltree prf on psd.symbolid = prf.symbolid and date_trunc(?, prf.enddate) = date_trunc(?, psp.enddate) left join lateral ( select ph.hour, (ave + stddev) as volatility, rank() over (order by (ave + stddev) desc) as rank from powerstats_hourly ph where ph.symbolid = psd.hourlysymbolid and date_trunc(?,ph.enddate) = date_trunc(?, prf.enddate) ) rank_query on true where prf.brokerid = ? and rank_query.hour = floor((psp.fromtime) / ?) and volatility > ? order by rank desc, rank_rounded desc, exchange, symbol, groupid) sub order by brokerid, groupid, symbolid;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Oct 26 05 105 34s955ms 332ms [ User: postgres - Total duration: 34s955ms - Times executed: 105 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 34s955ms - Times executed: 105 ]
-
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: 2024-10-26 05:44:00 Duration: 631ms 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: 2024-10-26 05:32:00 Duration: 628ms 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: 2024-10-26 05:52:00 Duration: 619ms Database: acaweb_fx User: postgres Remote: 192.168.1.20 Application: PostgreSQL JDBC Driver Bind query: yes
6 21s403ms 31 13ms 3s971ms 690ms select fixcandlegaps (?, false);Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Oct 26 05 31 21s403ms 690ms [ User: postgres - Total duration: 21s403ms - Times executed: 31 ]
[ Application: psql - Total duration: 21s403ms - Times executed: 31 ]
-
select fixcandlegaps ('ATFX', false);
Date: 2024-10-26 05:06:10 Duration: 3s971ms Database: acaweb_fx User: postgres Remote: [local] Application: psql
-
select fixcandlegaps ('AXIORY', false);
Date: 2024-10-26 05:06:13 Duration: 2s958ms Database: acaweb_fx User: postgres Remote: [local] Application: psql
-
select fixcandlegaps ('PEPPERSTONE', false);
Date: 2024-10-26 05:06:18 Duration: 2s920ms Database: acaweb_fx User: postgres Remote: [local] Application: psql
7 17s380ms 201 9ms 214ms 86ms with rar_max as ( select resultuid from relevance_bigmovement_results order by resultuid desc limit ? ), all_results as ( select bmr.resultuid as resultuid, ? as direction, s.exchange as exchange, s.symbolid as symbolid, coalesce(bim.code, s.symbol) as symbol_code, s.longname as symbol_name, s.timegranularity as interval, bmr.patternendtime as identified, bmr.patternlengthbars, dtt.timezone as timezone, g.basegroupname, case when rbr.age is not null then rbr.age when bmr.resultuid <= rm.resultuid then ? else ? end as age, case when rbr.relevant is not null then rbr.relevant when bmr.resultuid <= rm.resultuid then ? else ? end as relevant, cps.pip from bigmovement_results bmr inner join brokersymbollist bsl on bsl.brokerid = ? and bsl.symbolid = bmr.symbolid inner join symbols s on bmr.symbolid = s.symbolid and s.nonliquid = ? inner join downloadersymbolsettings dss on bmr.symbolid = dss.symbolid inner join datafeedstimetable dtt on dss.classname = dtt.classname and dtt.dayofweek = ? inner join symbolgroup sg on bmr.symbolid = sg.symbolid inner join groups g on sg.groupid = g.groupid inner join brokergroups bg on g.groupid = bg.groupid and bsl.brokerid = bg.brokerid inner join rar_max rm on ? = ? left outer join relevance_bigmovement_results rbr on rbr.resultuid = bmr.resultuid left join currencypips cps on cps.symbol = s.symbol left outer join brokerinstrumentmap bim on dss.datafeedinstrumentid = bim.datafeedinstrumentid and bim.brokerid = bsl.brokerid and bim.type = ? where bmr.gmttimefound > now() - interval ? and s.deleted = ? and (bmr.simulation = ? or bmr.simulation is null) and (? = ? or s.timegranularity in (...)) and (? = ? or s.exchange in (...)) and (? = ? or coalesce(bim.code, s.symbol) in (...)) and (? = ? or bmr.patternlengthbars <= ?) ), results as ( select distinct on (symbolid) * from all_results where (false = ? or relevant = ?) and (? = ? or age <= ?) order by symbolid, resultuid ) select * from results order by identified desc, interval desc;Times Reported Time consuming queries #7
Day Hour Count Duration Avg duration Oct 26 05 201 17s380ms 86ms [ User: postgres - Total duration: 17s380ms - Times executed: 201 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 16s938ms - Times executed: 196 ]
[ Application: [unknown] - Total duration: 442ms - Times executed: 5 ]
-
WITH rar_max as ( SELECT resultuid FROM relevance_bigmovement_results ORDER BY resultuid DESC LIMIT 1 ), all_results AS ( SELECT bmr.resultuid AS resultuid, 0 AS direction, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, bmr.patternendtime AS identified, bmr.patternlengthbars, dtt.timezone AS timezone, g.basegroupname, CASE WHEN rbr.age IS NOT NULL THEN rbr.age WHEN bmr.resultuid <= rm.resultuid THEN 4 ELSE 0 END as age, CASE WHEN rbr.relevant IS NOT NULL THEN rbr.relevant WHEN bmr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip FROM bigmovement_results bmr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '627' AND bsl.symbolid = bmr.symbolid INNER JOIN symbols s ON bmr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN downloadersymbolsettings dss ON bmr.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN symbolgroup sg on bmr.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_bigmovement_results rbr ON rbr.resultuid = bmr.resultuid LEFT JOIN currencypips cps on cps.symbol = s.symbol LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE bmr.gmttimefound > now() - INTERVAL '7 DAYS' AND s.deleted = 0 AND (bmr.simulation = 0 OR bmr.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('221' = 0 OR coalesce(bim.code, s.symbol) in ('#ADBE', '#AIRF', '#ALVG', '#AMZN', '#APPL', '#BA', '#BABA', '#BAYGn', '#BMWG', '#BNPP', '#BP', '#CAT', '#CBKG', '#DAIGn', '#DBKGn', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#META', '#MSFT', '#NFLX', '#RDSa', '#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', '#BP', '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', '#AIRF', '#ALVG', '#BAYGn', '#BMWG', '#BNPP', '#CBKG', '#DAIGn', '#DBKGn', '#RDSa', '#VOWG', 'AUS_200', 'ESP_35', 'EUR_50', 'FRA_40', 'GBR_100', 'HKG_50', 'NAS100', 'SPX500', 'US30', '#ADBE', '#AMZN', '#APPL', '#BA', '#BABA', '#CAT', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#MSFT', '#NFLX', '#TSLA', '#WMT', '#XOM')) AND ('400' = 0 OR bmr.patternlengthbars <= '400') ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, interval DESC;
Date: 2024-10-26 05:57:41 Duration: 214ms 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_bigmovement_results ORDER BY resultuid DESC LIMIT 1 ), all_results AS ( SELECT bmr.resultuid AS resultuid, 0 AS direction, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, bmr.patternendtime AS identified, bmr.patternlengthbars, dtt.timezone AS timezone, g.basegroupname, CASE WHEN rbr.age IS NOT NULL THEN rbr.age WHEN bmr.resultuid <= rm.resultuid THEN 4 ELSE 0 END as age, CASE WHEN rbr.relevant IS NOT NULL THEN rbr.relevant WHEN bmr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip FROM bigmovement_results bmr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '529' AND bsl.symbolid = bmr.symbolid INNER JOIN symbols s ON bmr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN downloadersymbolsettings dss ON bmr.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN symbolgroup sg on bmr.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_bigmovement_results rbr ON rbr.resultuid = bmr.resultuid LEFT JOIN currencypips cps on cps.symbol = s.symbol LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE bmr.gmttimefound > now() - INTERVAL '7 DAYS' AND s.deleted = 0 AND (bmr.simulation = 0 OR bmr.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('184' = 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', 'MVRS.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', 'TWTR.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 ('400' = 0 OR bmr.patternlengthbars <= '400') ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, interval DESC;
Date: 2024-10-26 05:02:04 Duration: 214ms 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_bigmovement_results ORDER BY resultuid DESC LIMIT 1 ), all_results AS ( SELECT bmr.resultuid AS resultuid, 0 AS direction, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, bmr.patternendtime AS identified, bmr.patternlengthbars, dtt.timezone AS timezone, g.basegroupname, CASE WHEN rbr.age IS NOT NULL THEN rbr.age WHEN bmr.resultuid <= rm.resultuid THEN 4 ELSE 0 END as age, CASE WHEN rbr.relevant IS NOT NULL THEN rbr.relevant WHEN bmr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip FROM bigmovement_results bmr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '627' AND bsl.symbolid = bmr.symbolid INNER JOIN symbols s ON bmr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN downloadersymbolsettings dss ON bmr.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN symbolgroup sg on bmr.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_bigmovement_results rbr ON rbr.resultuid = bmr.resultuid LEFT JOIN currencypips cps on cps.symbol = s.symbol LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE bmr.gmttimefound > now() - INTERVAL '7 DAYS' AND s.deleted = 0 AND (bmr.simulation = 0 OR bmr.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('221' = 0 OR coalesce(bim.code, s.symbol) in ('#ADBE', '#AIRF', '#ALVG', '#AMZN', '#APPL', '#BA', '#BABA', '#BAYGn', '#BMWG', '#BNPP', '#BP', '#CAT', '#CBKG', '#DAIGn', '#DBKGn', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#META', '#MSFT', '#NFLX', '#RDSa', '#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', '#BP', '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', '#AIRF', '#ALVG', '#BAYGn', '#BMWG', '#BNPP', '#CBKG', '#DAIGn', '#DBKGn', '#RDSa', '#VOWG', 'AUS_200', 'ESP_35', 'EUR_50', 'FRA_40', 'GBR_100', 'HKG_50', 'NAS100', 'SPX500', 'US30', '#ADBE', '#AMZN', '#APPL', '#BA', '#BABA', '#CAT', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#MSFT', '#NFLX', '#TSLA', '#WMT', '#XOM')) AND ('400' = 0 OR bmr.patternlengthbars <= '400') ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, interval DESC;
Date: 2024-10-26 05:44:06 Duration: 202ms Database: acaweb_fx User: postgres Remote: 192.168.1.20 Application: PostgreSQL JDBC Driver Bind query: yes
8 14s966ms 5,225 1ms 5ms 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 Oct 26 05 5,225 14s966ms 2ms [ User: postgres - Total duration: 14s966ms - Times executed: 5225 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 14s966ms - Times executed: 5225 ]
-
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 = 'NOKJPY' OR dss.downloadersymbol = 'NOKJPY') AND dss.enabled = 1;
Date: 2024-10-26 05:45:04 Duration: 5ms Database: acaweb_fx User: postgres Remote: 192.168.1.20 Application: PostgreSQL JDBC Driver Bind query: yes
-
SELECT s.symbolid AS id, s.symbol AS name, s.exchange AS exchange, s.timegranularity AS interval, dtt.timezone AS timezone FROM symbols s INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN brokersymbollist bsl ON bsl.symbolid = s.symbolid WHERE bsl.brokerid = '529' AND ('0' = 0 OR s.timegranularity = '0') AND (s.symbol = 'SA40' OR dss.downloadersymbol = 'SA40') AND dss.enabled = 1;
Date: 2024-10-26 05:45:04 Duration: 5ms Database: acaweb_fx User: postgres Remote: 192.168.1.20 Application: PostgreSQL JDBC Driver Bind query: yes
-
SELECT s.symbolid AS id, s.symbol AS name, s.exchange AS exchange, s.timegranularity AS interval, dtt.timezone AS timezone FROM symbols s INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN brokersymbollist bsl ON bsl.symbolid = s.symbolid WHERE bsl.brokerid = '529' AND ('0' = 0 OR s.timegranularity = '0') AND (s.symbol = 'Cocoa' OR dss.downloadersymbol = 'Cocoa') AND dss.enabled = 1;
Date: 2024-10-26 05:45:03 Duration: 5ms Database: acaweb_fx User: postgres Remote: 192.168.1.145 Application: PostgreSQL JDBC Driver Bind query: yes
9 10s27ms 6 1s401ms 2s646ms 1s671ms refresh materialized view concurrently latest_t15_candle_view;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Oct 26 05 6 10s27ms 1s671ms [ User: postgres - Total duration: 10s27ms - Times executed: 6 ]
[ Application: [unknown] - Total duration: 10s27ms - Times executed: 6 ]
-
refresh materialized view concurrently latest_t15_candle_view;
Date: 2024-10-26 05:01:19 Duration: 2s646ms Database: acaweb_fx User: postgres Remote: 192.168.4.98 Application: [unknown]
-
refresh materialized view concurrently latest_t15_candle_view;
Date: 2024-10-26 05:09:18 Duration: 1s726ms Database: acaweb_fx User: postgres Remote: 192.168.4.98 Application: [unknown]
-
refresh materialized view concurrently latest_t15_candle_view;
Date: 2024-10-26 05:16:17 Duration: 1s429ms Database: acaweb_fx User: postgres Remote: 192.168.4.98 Application: [unknown]
10 7s120ms 62 50ms 241ms 114ms 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 #10
Day Hour Count Duration Avg duration Oct 26 05 62 7s120ms 114ms [ User: postgres - Total duration: 7s120ms - Times executed: 62 ]
[ Application: [unknown] - Total duration: 7s120ms - Times executed: 62 ]
-
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 'PEPPERSTONE - 1';
Date: 2024-10-26 05:06:22 Duration: 241ms 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 'PEPPERSTONE - 1';
Date: 2024-10-26 05:10:45 Duration: 230ms 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 'PEPPERSTONE - 1';
Date: 2024-10-26 05:55:37 Duration: 225ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
11 7s120ms 62 52ms 267ms 114ms 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 #11
Day Hour Count Duration Avg duration Oct 26 05 62 7s120ms 114ms [ User: postgres - Total duration: 7s120ms - Times executed: 62 ]
[ Application: [unknown] - Total duration: 7s120ms - Times executed: 62 ]
-
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 'PEPPERSTONE - 1';
Date: 2024-10-26 05:06:22 Duration: 267ms 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 'PEPPERSTONE - 1';
Date: 2024-10-26 05:10:44 Duration: 190ms 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 'PEPPERSTONE - 1';
Date: 2024-10-26 05:40:16 Duration: 180ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
12 6s397ms 5,585 0ms 2ms 1ms select distinct on (coalesce(bim.code, s.symbol) , s.exchange, s.timegranularity, df.timezone) coalesce(bim.code, s.symbol) as name, s.symbol as symbol, 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 #12
Day Hour Count Duration Avg duration Oct 26 05 5,585 6s397ms 1ms [ User: postgres - Total duration: 6s397ms - Times executed: 5585 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 6s397ms - Times executed: 5585 ]
-
SELECT DISTINCT ON (coalesce(bim.code, s.symbol) , s.exchange, s.timegranularity, df.timezone) coalesce(bim.code, s.symbol) as name, s.symbol as symbol, 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 = '515840248618444300';
Date: 2024-10-26 05:03:04 Duration: 2ms Database: acaweb_fx User: postgres Remote: 192.168.1.250 Application: PostgreSQL JDBC Driver Bind query: yes
-
SELECT DISTINCT ON (coalesce(bim.code, s.symbol) , s.exchange, s.timegranularity, df.timezone) coalesce(bim.code, s.symbol) as name, s.symbol as symbol, 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 = '515840248621451300';
Date: 2024-10-26 05:03:04 Duration: 2ms Database: acaweb_fx User: postgres Remote: 192.168.1.250 Application: PostgreSQL JDBC Driver Bind query: yes
-
SELECT DISTINCT ON (coalesce(bim.code, s.symbol) , s.exchange, s.timegranularity, df.timezone) coalesce(bim.code, s.symbol) as name, s.symbol as symbol, 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 = '515840248619247300';
Date: 2024-10-26 05:03:04 Duration: 2ms Database: acaweb_fx User: postgres Remote: 192.168.1.250 Application: PostgreSQL JDBC Driver Bind query: yes
13 3s314ms 1,041 2ms 31ms 3ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Oct 26 05 1,041 3s314ms 3ms [ User: postgres - Total duration: 3s314ms - Times executed: 1041 ]
[ Application: [unknown] - Total duration: 3s314ms - Times executed: 1041 ]
-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 03:00:00'::timestamp without time zone, 0.6716, 0.67195, 0.6715, 0.6718, 845, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 03:15:00'::timestamp without time zone, 0.6718, 0.6719, 0.67155, 0.67155, 490, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 03:30:00'::timestamp without time zone, 0.6716, 0.6721, 0.67145, 0.672, 685, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 03:45:00'::timestamp without time zone, 0.672, 0.6722, 0.6718, 0.6718, 482, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 04:00:00'::timestamp without time zone, 0.6718, 0.6721, 0.67165, 0.672, 301, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 04:15:00'::timestamp without time zone, 0.672, 0.6721, 0.67185, 0.6719, 361, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 04:30:00'::timestamp without time zone, 0.67195, 0.672, 0.6718, 0.6718, 288, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 04:45:00'::timestamp without time zone, 0.67185, 0.67185, 0.6716, 0.6716, 1302, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 05:00:00'::timestamp without time zone, 0.67165, 0.67195, 0.67145, 0.6719, 452, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 05:15:00'::timestamp without time zone, 0.67195, 0.67195, 0.6717, 0.6717, 181, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 05:30:00'::timestamp without time zone, 0.6717, 0.6717, 0.6714, 0.67145, 189, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 05:45:00'::timestamp without time zone, 0.67145, 0.6718, 0.67145, 0.67155, 208, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 06:00:00'::timestamp without time zone, 0.67155, 0.67155, 0.67125, 0.67135, 361, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 06:15:00'::timestamp without time zone, 0.67135, 0.6714, 0.6711, 0.67125, 369, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 06:30:00'::timestamp without time zone, 0.6713, 0.67175, 0.6713, 0.67175, 169, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 06:45:00'::timestamp without time zone, 0.6717, 0.67185, 0.6716, 0.67175, 758, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 07:00:00'::timestamp without time zone, 0.67175, 0.67185, 0.67155, 0.67165, 442, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 07:15:00'::timestamp without time zone, 0.6716, 0.67175, 0.67155, 0.67155, 257, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 07:30:00'::timestamp without time zone, 0.67155, 0.67175, 0.67155, 0.6716, 413, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 07:45:00'::timestamp without time zone, 0.6716, 0.6718, 0.6714, 0.6716, 431, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 08:00:00'::timestamp without time zone, 0.6716, 0.6717, 0.67135, 0.67155, 339, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 08:15:00'::timestamp without time zone, 0.67155, 0.67175, 0.6715, 0.6716, 387, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 08:30:00'::timestamp without time zone, 0.6717, 0.67205, 0.67155, 0.67165, 979, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 08:45:00'::timestamp without time zone, 0.67165, 0.672, 0.67165, 0.67175, 915, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 09:00:00'::timestamp without time zone, 0.67175, 0.67205, 0.6717, 0.67195, 1375, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 09:15:00'::timestamp without time zone, 0.67185, 0.6724, 0.67185, 0.67235, 1299, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 09:30:00'::timestamp without time zone, 0.6723, 0.67235, 0.6717, 0.6719, 1023, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 09:45:00'::timestamp without time zone, 0.67185, 0.6719, 0.67135, 0.6715, 728, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 10:00:00'::timestamp without time zone, 0.67145, 0.6716, 0.67115, 0.67115, 767, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 10:15:00'::timestamp without time zone, 0.6712, 0.67135, 0.6708, 0.671, 983, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 10:30:00'::timestamp without time zone, 0.671, 0.6715, 0.6709, 0.67135, 878, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 10:45:00'::timestamp without time zone, 0.67135, 0.67145, 0.67085, 0.67105, 1869, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 11:00:00'::timestamp without time zone, 0.67105, 0.67115, 0.6708, 0.67095, 1388, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 11:15:00'::timestamp without time zone, 0.67095, 0.6711, 0.6708, 0.67105, 481, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 11:30:00'::timestamp without time zone, 0.6711, 0.6711, 0.6706, 0.67065, 442, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 11:45:00'::timestamp without time zone, 0.67065, 0.67075, 0.67025, 0.6704, 883, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 12:00:00'::timestamp without time zone, 0.67035, 0.67075, 0.67025, 0.67065, 672, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 12:15:00'::timestamp without time zone, 0.67065, 0.67105, 0.67065, 0.67105, 337, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 12:30:00'::timestamp without time zone, 0.67105, 0.67125, 0.6709, 0.67125, 330, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 12:45:00'::timestamp without time zone, 0.67125, 0.6715, 0.6711, 0.67135, 505, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 13:00:00'::timestamp without time zone, 0.6713, 0.67135, 0.67115, 0.6713, 218, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 13:15:00'::timestamp without time zone, 0.6713, 0.6713, 0.6708, 0.6708, 235, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 13:30:00'::timestamp without time zone, 0.67075, 0.6709, 0.67045, 0.67055, 299, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 13:45:00'::timestamp without time zone, 0.67055, 0.6708, 0.67045, 0.6708, 291, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 14:00:00'::timestamp without time zone, 0.67075, 0.6709, 0.67065, 0.6709, 236, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 14:15:00'::timestamp without time zone, 0.67085, 0.671, 0.67075, 0.6709, 315, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 14:30:00'::timestamp without time zone, 0.6709, 0.6709, 0.67055, 0.6707, 236, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 14:45:00'::timestamp without time zone, 0.6707, 0.67105, 0.67065, 0.6708, 894, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 15:00:00'::timestamp without time zone, 0.6708, 0.6708, 0.6705, 0.6706, 1033, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 15:15:00'::timestamp without time zone, 0.6706, 0.67085, 0.67055, 0.6708, 182, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 15:30:00'::timestamp without time zone, 0.6708, 0.67085, 0.67065, 0.67085, 281, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING;
Date: 2024-10-26 05:11:19 Duration: 31ms 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, '2024-10-17 13:15:00'::timestamp without time zone, 0.67055, 0.67055, 0.6701, 0.6701, 633, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 13:30:00'::timestamp without time zone, 0.67015, 0.6702, 0.66985, 0.67015, 369, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 13:45:00'::timestamp without time zone, 0.6702, 0.6707, 0.6702, 0.67045, 499, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 14:00:00'::timestamp without time zone, 0.6705, 0.6705, 0.66995, 0.67025, 1377, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 14:15:00'::timestamp without time zone, 0.6703, 0.67035, 0.67, 0.6701, 588, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 14:30:00'::timestamp without time zone, 0.67005, 0.6701, 0.6699, 0.67005, 401, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 14:45:00'::timestamp without time zone, 0.67, 0.67015, 0.6699, 0.66995, 1721, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 15:00:00'::timestamp without time zone, 0.67, 0.67005, 0.6697, 0.67005, 427, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 15:15:00'::timestamp without time zone, 0.67, 0.67015, 0.66995, 0.67, 648, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 15:30:00'::timestamp without time zone, 0.67, 0.67015, 0.6699, 0.6701, 212, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 15:45:00'::timestamp without time zone, 0.67005, 0.67005, 0.6698, 0.66995, 1172, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 16:00:00'::timestamp without time zone, 0.66995, 0.67005, 0.66985, 0.6699, 635, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 16:15:00'::timestamp without time zone, 0.6699, 0.6699, 0.6698, 0.6699, 229, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 16:30:00'::timestamp without time zone, 0.66995, 0.67015, 0.6699, 0.67005, 106, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 16:45:00'::timestamp without time zone, 0.67005, 0.67015, 0.67, 0.6701, 204, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 18:00:00'::timestamp without time zone, 0.67, 0.6704, 0.67, 0.6704, 268, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 18:15:00'::timestamp without time zone, 0.67035, 0.6704, 0.6702, 0.67025, 113, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 18:30:00'::timestamp without time zone, 0.6703, 0.6703, 0.67025, 0.6703, 117, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 18:45:00'::timestamp without time zone, 0.67035, 0.6704, 0.67, 0.67005, 214, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 19:00:00'::timestamp without time zone, 0.6701, 0.6701, 0.66995, 0.6701, 392, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 19:15:00'::timestamp without time zone, 0.67015, 0.67025, 0.67, 0.67, 214, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 19:30:00'::timestamp without time zone, 0.67, 0.6701, 0.66985, 0.67005, 233, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 19:45:00'::timestamp without time zone, 0.6701, 0.6706, 0.6701, 0.67035, 487, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 20:00:00'::timestamp without time zone, 0.67035, 0.67075, 0.6702, 0.67075, 766, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 20:15:00'::timestamp without time zone, 0.6707, 0.6707, 0.67005, 0.67005, 473, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 20:30:00'::timestamp without time zone, 0.67005, 0.67085, 0.6698, 0.6707, 632, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 20:45:00'::timestamp without time zone, 0.6707, 0.6707, 0.6702, 0.67025, 356, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 21:00:00'::timestamp without time zone, 0.67025, 0.6709, 0.67025, 0.67075, 409, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 21:15:00'::timestamp without time zone, 0.6708, 0.67105, 0.6706, 0.67105, 377, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 21:30:00'::timestamp without time zone, 0.6711, 0.6712, 0.67065, 0.671, 499, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 21:45:00'::timestamp without time zone, 0.67095, 0.6711, 0.6708, 0.67085, 395, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 22:00:00'::timestamp without time zone, 0.6709, 0.67155, 0.6706, 0.67075, 1459, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 22:15:00'::timestamp without time zone, 0.67075, 0.671, 0.67055, 0.671, 333, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 22:30:00'::timestamp without time zone, 0.671, 0.67225, 0.671, 0.67185, 1550, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 22:45:00'::timestamp without time zone, 0.6718, 0.67195, 0.67135, 0.6714, 381, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 23:00:00'::timestamp without time zone, 0.67135, 0.67155, 0.671, 0.671, 428, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 23:15:00'::timestamp without time zone, 0.671, 0.67115, 0.67075, 0.67105, 634, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 23:30:00'::timestamp without time zone, 0.67105, 0.6712, 0.67075, 0.6708, 256, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 23:45:00'::timestamp without time zone, 0.67075, 0.6709, 0.67055, 0.6709, 298, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 00:00:00'::timestamp without time zone, 0.6709, 0.67095, 0.67065, 0.67085, 201, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 00:15:00'::timestamp without time zone, 0.67075, 0.67105, 0.6707, 0.67085, 148, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 00:30:00'::timestamp without time zone, 0.6708, 0.671, 0.6707, 0.6709, 254, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 00:45:00'::timestamp without time zone, 0.67095, 0.67115, 0.67055, 0.67065, 359, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 01:00:00'::timestamp without time zone, 0.6707, 0.67095, 0.67045, 0.67095, 791, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 01:15:00'::timestamp without time zone, 0.67095, 0.67115, 0.67025, 0.6704, 474, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 01:30:00'::timestamp without time zone, 0.6704, 0.67075, 0.6704, 0.67065, 349, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 01:45:00'::timestamp without time zone, 0.6706, 0.6713, 0.6706, 0.6712, 506, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 02:00:00'::timestamp without time zone, 0.67115, 0.67145, 0.67085, 0.67135, 861, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 02:15:00'::timestamp without time zone, 0.67135, 0.672, 0.67135, 0.67175, 936, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 02:30:00'::timestamp without time zone, 0.67175, 0.672, 0.67165, 0.67175, 698, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 02:45:00'::timestamp without time zone, 0.6717, 0.6718, 0.67125, 0.6716, 1074, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING;
Date: 2024-10-26 05:11:19 Duration: 29ms 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, '2024-10-21 19:15:00'::timestamp without time zone, 0.66575, 0.66605, 0.66575, 0.66595, 225, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 19:30:00'::timestamp without time zone, 0.666, 0.66605, 0.66585, 0.66585, 324, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 19:45:00'::timestamp without time zone, 0.6659, 0.66595, 0.6656, 0.6658, 353, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 20:00:00'::timestamp without time zone, 0.6658, 0.66605, 0.6657, 0.66585, 754, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 20:15:00'::timestamp without time zone, 0.66585, 0.6661, 0.6656, 0.6659, 677, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 20:30:00'::timestamp without time zone, 0.6659, 0.666, 0.6656, 0.66565, 375, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 20:45:00'::timestamp without time zone, 0.6657, 0.6663, 0.6655, 0.6659, 1283, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 21:00:00'::timestamp without time zone, 0.6659, 0.6664, 0.66585, 0.66605, 507, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 21:15:00'::timestamp without time zone, 0.66605, 0.6668, 0.66605, 0.6666, 956, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 21:30:00'::timestamp without time zone, 0.6667, 0.667, 0.66665, 0.6668, 808, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 21:45:00'::timestamp without time zone, 0.66675, 0.66705, 0.66645, 0.6669, 334, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 22:00:00'::timestamp without time zone, 0.6669, 0.66735, 0.66685, 0.66725, 652, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 22:15:00'::timestamp without time zone, 0.6672, 0.6673, 0.66695, 0.6672, 355, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 22:30:00'::timestamp without time zone, 0.6672, 0.66745, 0.6671, 0.6673, 633, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 22:45:00'::timestamp without time zone, 0.66725, 0.66765, 0.6671, 0.66725, 433, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 23:00:00'::timestamp without time zone, 0.66725, 0.6681, 0.66725, 0.66785, 1094, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 23:15:00'::timestamp without time zone, 0.66785, 0.6684, 0.66765, 0.6684, 838, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 23:30:00'::timestamp without time zone, 0.66835, 0.6688, 0.6683, 0.66855, 758, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 23:45:00'::timestamp without time zone, 0.6685, 0.66895, 0.6684, 0.6689, 1233, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 00:00:00'::timestamp without time zone, 0.66885, 0.669, 0.66855, 0.66895, 701, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 00:15:00'::timestamp without time zone, 0.669, 0.6692, 0.66895, 0.66915, 466, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 00:30:00'::timestamp without time zone, 0.66915, 0.6693, 0.66875, 0.66885, 831, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 00:45:00'::timestamp without time zone, 0.66885, 0.6692, 0.6687, 0.6691, 758, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 01:00:00'::timestamp without time zone, 0.66905, 0.66925, 0.66895, 0.66905, 481, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 01:15:00'::timestamp without time zone, 0.669, 0.66935, 0.669, 0.66935, 436, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 01:30:00'::timestamp without time zone, 0.66935, 0.66955, 0.66925, 0.6693, 865, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 01:45:00'::timestamp without time zone, 0.66925, 0.66925, 0.66845, 0.6685, 1924, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 02:00:00'::timestamp without time zone, 0.6685, 0.6693, 0.6685, 0.6692, 1440, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 02:15:00'::timestamp without time zone, 0.6692, 0.6697, 0.66905, 0.66945, 773, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 02:30:00'::timestamp without time zone, 0.66945, 0.66945, 0.66885, 0.66885, 562, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 02:45:00'::timestamp without time zone, 0.66895, 0.66925, 0.6688, 0.6688, 825, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 03:00:00'::timestamp without time zone, 0.66875, 0.66915, 0.66875, 0.6691, 918, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 03:15:00'::timestamp without time zone, 0.66915, 0.6692, 0.66885, 0.66895, 825, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 03:30:00'::timestamp without time zone, 0.6689, 0.66905, 0.66875, 0.66895, 689, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 03:45:00'::timestamp without time zone, 0.669, 0.669, 0.6684, 0.6686, 574, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 04:00:00'::timestamp without time zone, 0.66855, 0.6689, 0.66855, 0.6689, 404, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 04:15:00'::timestamp without time zone, 0.6689, 0.669, 0.6687, 0.6687, 812, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 04:30:00'::timestamp without time zone, 0.6687, 0.6688, 0.6683, 0.6685, 616, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 04:45:00'::timestamp without time zone, 0.6685, 0.6686, 0.6683, 0.6683, 294, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 05:00:00'::timestamp without time zone, 0.66825, 0.66865, 0.6682, 0.66845, 516, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 05:15:00'::timestamp without time zone, 0.6685, 0.6686, 0.6682, 0.66845, 370, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 05:30:00'::timestamp without time zone, 0.6684, 0.6689, 0.6684, 0.6684, 506, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 05:45:00'::timestamp without time zone, 0.66845, 0.6687, 0.6683, 0.66845, 255, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 06:00:00'::timestamp without time zone, 0.66845, 0.66905, 0.66845, 0.66905, 519, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 06:15:00'::timestamp without time zone, 0.6691, 0.66915, 0.6689, 0.669, 778, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 06:30:00'::timestamp without time zone, 0.66905, 0.6692, 0.66895, 0.66905, 541, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 06:45:00'::timestamp without time zone, 0.66905, 0.6691, 0.66875, 0.66885, 217, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 07:00:00'::timestamp without time zone, 0.66885, 0.6691, 0.66875, 0.66895, 353, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 07:15:00'::timestamp without time zone, 0.669, 0.6692, 0.669, 0.66915, 283, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 07:30:00'::timestamp without time zone, 0.66915, 0.66915, 0.6689, 0.6689, 455, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 07:45:00'::timestamp without time zone, 0.66885, 0.66885, 0.6687, 0.66885, 382, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING;
Date: 2024-10-26 05:11:19 Duration: 28ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
14 1s983ms 284 0ms 33ms 6ms select distinct category1 || ? || category2 as category from stats_summary_2d where statsid = ? and lower(category1) in (...) and lower(category2) <> ? order by category1 || ? || category2;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Oct 26 05 284 1s983ms 6ms [ User: postgres - Total duration: 1s983ms - Times executed: 284 ]
[ Application: [unknown] - Total duration: 1s983ms - Times executed: 284 ]
-
select distinct category1 || '_' || category2 as category from stats_summary_2d where statsid = 604583677951899307 and lower(category1) in ('pattern') and lower(category2) <> 'overall' order by category1 || '_' || category2;
Date: 2024-10-26 05:09:04 Duration: 33ms Database: acaweb_fx User: postgres Remote: 192.168.2.44 Application: [unknown] Bind query: yes
-
select distinct category1 || '_' || category2 as category from stats_summary_2d where statsid = 515852059324253307 and lower(category1) in ('interval') and lower(category2) <> 'overall' order by category1 || '_' || category2;
Date: 2024-10-26 05:01:28 Duration: 30ms Database: acaweb_fx User: postgres Remote: 192.168.2.44 Application: [unknown] Bind query: yes
-
select distinct category1 || '_' || category2 as category from stats_summary_2d where statsid = 515852059324056307 and lower(category1) in ('hourofday') and lower(category2) <> 'overall' order by category1 || '_' || category2;
Date: 2024-10-26 05:01:24 Duration: 29ms Database: acaweb_fx User: postgres Remote: 192.168.2.44 Application: [unknown] Bind query: yes
15 1s952ms 388 0ms 17ms 5ms select open as _open, high as _high, low as _low, close "..." _close, volume as _volume, pricedatetime as _pricedatetime from ( select open, high, low, close, volume, pricedatetime from t15 where pricedatetime >= current_timestamp - interval ? and symbolid = ? union all select open, high, low, close, volume, pricedatetime from t15_ps where pricedatetime >= current_timestamp - interval ? and symbolid = ? order by pricedatetime desc limit ?) a order by _pricedatetime asc;Times Reported Time consuming queries #15
Day Hour Count Duration Avg duration Oct 26 05 388 1s952ms 5ms [ User: postgres - Total duration: 1s952ms - Times executed: 388 ]
[ Application: [unknown] - Total duration: 1s952ms - Times executed: 388 ]
-
select open as _open, high as _high, low as _low, close as _close, volume as _volume, pricedatetime as _pricedatetime FROM ( select open, high, low, close, volume, pricedatetime FROM T15 WHERE pricedatetime >= current_timestamp - interval '180 days' and symbolid = 515840249510241300 union all select open, high, low, close, volume, pricedatetime FROM T15_ps WHERE pricedatetime >= current_timestamp - interval '180 days' and symbolid = 515840249510241300 order by pricedatetime desc limit 672) a order by _pricedatetime asc;
Date: 2024-10-26 05:46:23 Duration: 17ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
-
select open as _open, high as _high, low as _low, close as _close, volume as _volume, pricedatetime as _pricedatetime FROM ( select open, high, low, close, volume, pricedatetime FROM T15 WHERE pricedatetime >= current_timestamp - interval '180 days' and symbolid = 515840249510241300 union all select open, high, low, close, volume, pricedatetime FROM T15_ps WHERE pricedatetime >= current_timestamp - interval '180 days' and symbolid = 515840249510241300 order by pricedatetime desc limit 672) a order by _pricedatetime asc;
Date: 2024-10-26 05:11:18 Duration: 14ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
-
select open as _open, high as _high, low as _low, close as _close, volume as _volume, pricedatetime as _pricedatetime FROM ( select open, high, low, close, volume, pricedatetime FROM T15 WHERE pricedatetime >= current_timestamp - interval '180 days' and symbolid = 515840221187622300 union all select open, high, low, close, volume, pricedatetime FROM T15_ps WHERE pricedatetime >= current_timestamp - interval '180 days' and symbolid = 515840221187622300 order by pricedatetime desc limit 672) a order by _pricedatetime asc;
Date: 2024-10-26 05:46:29 Duration: 13ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
16 1s552ms 1,800 0ms 8ms 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 #16
Day Hour Count Duration Avg duration Oct 26 05 1,800 1s552ms 0ms [ User: postgres - Total duration: 1s552ms - Times executed: 1800 ]
[ Application: [unknown] - Total duration: 1s552ms - Times executed: 1800 ]
-
INSERT INTO T15 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ('2024-10-26 05:45:00', '16084.8', '16121.8', '16079.7', '16081.5', '670', '515840248266900300', '0', '2024-10-26 05:09:58.121', '2024-10-26 05:09:58.05') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '16084.8', high = '16121.8', low = '16079.7', close = '16081.5', volume = '670', bsf = '0', sastdatetimewritten = '2024-10-26 05:09:58.121', sastdatetimereceived = '2024-10-26 05:09:58.05';
Date: 2024-10-26 05:09:58 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 ('2024-10-26 06:00:00', '51499.36', '51499.36', '51394.55', '51442.33', '184', '515840247892133300', '0', '2024-10-26 05:20:04.053', '2024-10-26 05:20:04.011') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '51499.36', high = '51499.36', low = '51394.55', close = '51442.33', volume = '184', bsf = '0', sastdatetimewritten = '2024-10-26 05:20:04.053', sastdatetimereceived = '2024-10-26 05:20:04.011';
Date: 2024-10-26 05:20:04 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 ('2024-10-26 06:30:00', '164.85', '165.41', '164.4', '164.74', '469', '515840249461901300', '0', '2024-10-26 05:55:09.339', '2024-10-26 05:55:09.273') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '164.85', high = '165.41', low = '164.4', close = '164.74', volume = '469', bsf = '0', sastdatetimewritten = '2024-10-26 05:55:09.339', sastdatetimereceived = '2024-10-26 05:55:09.273';
Date: 2024-10-26 05:55:09 Duration: 8ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
17 1s523ms 485 2ms 35ms 3ms 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 #17
Day Hour Count Duration Avg duration Oct 26 05 485 1s523ms 3ms [ User: postgres - Total duration: 1s523ms - Times executed: 485 ]
[ Application: [unknown] - Total duration: 1s523ms - Times executed: 485 ]
-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 13:00:00'::timestamp without time zone, 0.67055, 0.67055, 0.6701, 0.6701, 1266, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 13:30:00'::timestamp without time zone, 0.67015, 0.6707, 0.66985, 0.67045, 1736, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 14:00:00'::timestamp without time zone, 0.6705, 0.6705, 0.66995, 0.6701, 3930, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 14:30:00'::timestamp without time zone, 0.67005, 0.67015, 0.6699, 0.66995, 4244, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 15:00:00'::timestamp without time zone, 0.67, 0.67015, 0.6697, 0.67, 2150, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 15:30:00'::timestamp without time zone, 0.67, 0.67015, 0.6698, 0.66995, 2768, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 16:00:00'::timestamp without time zone, 0.66995, 0.67005, 0.6698, 0.6699, 1728, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 16:30:00'::timestamp without time zone, 0.66995, 0.67015, 0.6699, 0.6701, 620, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 18:00:00'::timestamp without time zone, 0.67, 0.6704, 0.67, 0.67025, 762, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 18:30:00'::timestamp without time zone, 0.6703, 0.6704, 0.67, 0.67005, 662, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 19:00:00'::timestamp without time zone, 0.6701, 0.67025, 0.66995, 0.67, 1212, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 19:30:00'::timestamp without time zone, 0.67, 0.6706, 0.66985, 0.67035, 1440, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 20:00:00'::timestamp without time zone, 0.67035, 0.67075, 0.67005, 0.67005, 2478, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 20:30:00'::timestamp without time zone, 0.67005, 0.67085, 0.6698, 0.67025, 1976, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 21:00:00'::timestamp without time zone, 0.67025, 0.67105, 0.67025, 0.67105, 1572, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 21:30:00'::timestamp without time zone, 0.6711, 0.6712, 0.67065, 0.67085, 1788, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 22:00:00'::timestamp without time zone, 0.6709, 0.67155, 0.67055, 0.671, 3584, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 22:30:00'::timestamp without time zone, 0.671, 0.67225, 0.671, 0.6714, 3862, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 23:00:00'::timestamp without time zone, 0.67135, 0.67155, 0.67075, 0.67105, 2124, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 23:30:00'::timestamp without time zone, 0.67105, 0.6712, 0.67055, 0.6709, 1108, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 00:00:00'::timestamp without time zone, 0.6709, 0.67105, 0.67065, 0.67085, 698, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 00:30:00'::timestamp without time zone, 0.6708, 0.67115, 0.67055, 0.67065, 1226, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 01:00:00'::timestamp without time zone, 0.6707, 0.67115, 0.67025, 0.6704, 2530, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 01:30:00'::timestamp without time zone, 0.6704, 0.6713, 0.6704, 0.6712, 1710, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 02:00:00'::timestamp without time zone, 0.67115, 0.672, 0.67085, 0.67175, 3594, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 02:30:00'::timestamp without time zone, 0.67175, 0.672, 0.67125, 0.6716, 3544, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 03:00:00'::timestamp without time zone, 0.6716, 0.67195, 0.6715, 0.67155, 2670, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 03:30:00'::timestamp without time zone, 0.6716, 0.6722, 0.67145, 0.6718, 2334, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 04:00:00'::timestamp without time zone, 0.6718, 0.6721, 0.67165, 0.6719, 1324, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 04:30:00'::timestamp without time zone, 0.67195, 0.672, 0.6716, 0.6716, 3180, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 05:00:00'::timestamp without time zone, 0.67165, 0.67195, 0.67145, 0.6717, 1266, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 05:30:00'::timestamp without time zone, 0.6717, 0.6718, 0.6714, 0.67155, 794, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 06:00:00'::timestamp without time zone, 0.67155, 0.67155, 0.6711, 0.67125, 1460, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 06:30:00'::timestamp without time zone, 0.6713, 0.67185, 0.6713, 0.67175, 1854, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 07:00:00'::timestamp without time zone, 0.67175, 0.67185, 0.67155, 0.67155, 1398, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 07:30:00'::timestamp without time zone, 0.67155, 0.6718, 0.6714, 0.6716, 1688, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 08:00:00'::timestamp without time zone, 0.6716, 0.67175, 0.67135, 0.6716, 1452, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 08:30:00'::timestamp without time zone, 0.6717, 0.67205, 0.67155, 0.67175, 3788, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 09:00:00'::timestamp without time zone, 0.67175, 0.6724, 0.6717, 0.67235, 5348, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 09:30:00'::timestamp without time zone, 0.6723, 0.67235, 0.67135, 0.6715, 3502, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 10:00:00'::timestamp without time zone, 0.67145, 0.6716, 0.6708, 0.671, 3500, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 10:30:00'::timestamp without time zone, 0.671, 0.6715, 0.67085, 0.67105, 5494, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 11:00:00'::timestamp without time zone, 0.67105, 0.67115, 0.6708, 0.67105, 3738, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 11:30:00'::timestamp without time zone, 0.6711, 0.6711, 0.67025, 0.6704, 2650, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 12:00:00'::timestamp without time zone, 0.67035, 0.67105, 0.67025, 0.67105, 2018, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 12:30:00'::timestamp without time zone, 0.67105, 0.6715, 0.6709, 0.67135, 1670, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 13:00:00'::timestamp without time zone, 0.6713, 0.67135, 0.6708, 0.6708, 906, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 13:30:00'::timestamp without time zone, 0.67075, 0.6709, 0.67045, 0.6708, 1180, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 14:00:00'::timestamp without time zone, 0.67075, 0.671, 0.67065, 0.6709, 1102, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 14:30:00'::timestamp without time zone, 0.6709, 0.67105, 0.67055, 0.6708, 2260, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 15:00:00'::timestamp without time zone, 0.6708, 0.67085, 0.6705, 0.6708, 2430, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING;
Date: 2024-10-26 05:11:19 Duration: 35ms 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, '2024-10-18 15:30:00'::timestamp without time zone, 0.6708, 0.6709, 0.67065, 0.67075, 1976, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 16:00:00'::timestamp without time zone, 0.6707, 0.67105, 0.67065, 0.671, 2034, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 16:30:00'::timestamp without time zone, 0.671, 0.6711, 0.67085, 0.6711, 627, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-20 18:00:00'::timestamp without time zone, 0.6711, 0.6718, 0.6708, 0.67155, 855, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-20 18:30:00'::timestamp without time zone, 0.6715, 0.6719, 0.6713, 0.6719, 560, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-20 19:00:00'::timestamp without time zone, 0.6719, 0.672, 0.67155, 0.67165, 416, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-20 19:30:00'::timestamp without time zone, 0.67165, 0.6718, 0.6712, 0.6718, 456, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-20 20:00:00'::timestamp without time zone, 0.6718, 0.67205, 0.6711, 0.6713, 709, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-20 20:30:00'::timestamp without time zone, 0.67135, 0.6715, 0.6709, 0.6712, 573, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-20 21:00:00'::timestamp without time zone, 0.6712, 0.67205, 0.6712, 0.67185, 1214, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-20 21:30:00'::timestamp without time zone, 0.67185, 0.67275, 0.67175, 0.67185, 2205, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-20 22:00:00'::timestamp without time zone, 0.67175, 0.6724, 0.67175, 0.6723, 807, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-20 22:30:00'::timestamp without time zone, 0.67235, 0.67235, 0.6717, 0.67185, 473, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-20 23:00:00'::timestamp without time zone, 0.67185, 0.67215, 0.6718, 0.67195, 422, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-20 23:30:00'::timestamp without time zone, 0.67195, 0.67235, 0.67185, 0.67205, 228, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 00:00:00'::timestamp without time zone, 0.67205, 0.67215, 0.67175, 0.6718, 301, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 00:30:00'::timestamp without time zone, 0.6718, 0.6718, 0.6707, 0.67085, 1194, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 01:00:00'::timestamp without time zone, 0.67085, 0.671, 0.6704, 0.67055, 897, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 01:30:00'::timestamp without time zone, 0.6705, 0.6706, 0.66995, 0.67035, 854, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 02:00:00'::timestamp without time zone, 0.67035, 0.67035, 0.66915, 0.66935, 2580, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 02:30:00'::timestamp without time zone, 0.66935, 0.6696, 0.66865, 0.669, 2259, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 03:00:00'::timestamp without time zone, 0.66905, 0.6698, 0.66895, 0.66935, 1799, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 03:30:00'::timestamp without time zone, 0.66935, 0.66975, 0.6691, 0.66935, 1352, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 04:00:00'::timestamp without time zone, 0.6693, 0.6696, 0.66915, 0.66935, 881, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 04:30:00'::timestamp without time zone, 0.66935, 0.6697, 0.66925, 0.66955, 541, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 05:00:00'::timestamp without time zone, 0.66955, 0.66965, 0.66915, 0.66945, 507, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 05:30:00'::timestamp without time zone, 0.66945, 0.6697, 0.66865, 0.6687, 793, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 06:00:00'::timestamp without time zone, 0.66865, 0.6688, 0.6684, 0.66855, 1229, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 06:30:00'::timestamp without time zone, 0.66855, 0.66885, 0.66855, 0.6686, 873, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 07:00:00'::timestamp without time zone, 0.66865, 0.66915, 0.66865, 0.6691, 868, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 07:30:00'::timestamp without time zone, 0.6691, 0.6693, 0.669, 0.6692, 728, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 08:00:00'::timestamp without time zone, 0.66915, 0.66965, 0.66895, 0.6696, 1600, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 08:30:00'::timestamp without time zone, 0.66965, 0.67035, 0.66955, 0.66965, 3475, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 09:00:00'::timestamp without time zone, 0.6696, 0.6697, 0.66905, 0.6692, 1044, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 09:30:00'::timestamp without time zone, 0.6693, 0.66995, 0.6693, 0.66945, 1611, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 10:00:00'::timestamp without time zone, 0.6695, 0.66955, 0.66855, 0.66865, 1449, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 10:30:00'::timestamp without time zone, 0.6687, 0.6687, 0.6676, 0.6677, 4471, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 11:00:00'::timestamp without time zone, 0.66765, 0.6677, 0.6662, 0.6662, 4866, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 11:30:00'::timestamp without time zone, 0.6662, 0.66655, 0.666, 0.6663, 2983, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 12:00:00'::timestamp without time zone, 0.66625, 0.6663, 0.66595, 0.6662, 1720, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 12:30:00'::timestamp without time zone, 0.66625, 0.6665, 0.66605, 0.6664, 835, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 13:00:00'::timestamp without time zone, 0.66645, 0.66665, 0.66635, 0.6666, 1383, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 13:30:00'::timestamp without time zone, 0.66665, 0.6667, 0.66635, 0.66655, 1214, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 14:00:00'::timestamp without time zone, 0.66655, 0.66665, 0.6663, 0.66645, 708, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 14:30:00'::timestamp without time zone, 0.66645, 0.66655, 0.6657, 0.66585, 4768, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 15:00:00'::timestamp without time zone, 0.66585, 0.6664, 0.6658, 0.66605, 2246, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 15:30:00'::timestamp without time zone, 0.66605, 0.66645, 0.66585, 0.66625, 1767, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 16:00:00'::timestamp without time zone, 0.66625, 0.66635, 0.66605, 0.6662, 1111, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 16:30:00'::timestamp without time zone, 0.66615, 0.6663, 0.66605, 0.66625, 771, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 18:00:00'::timestamp without time zone, 0.66625, 0.6663, 0.666, 0.6662, 346, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 18:30:00'::timestamp without time zone, 0.66615, 0.66615, 0.66565, 0.66565, 374, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING;
Date: 2024-10-26 05:11:19 Duration: 26ms 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, '2024-10-21 19:00:00'::timestamp without time zone, 0.6657, 0.66605, 0.66565, 0.66595, 412, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 19:30:00'::timestamp without time zone, 0.666, 0.66605, 0.6656, 0.6658, 677, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 20:00:00'::timestamp without time zone, 0.6658, 0.6661, 0.6656, 0.6659, 1431, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 20:30:00'::timestamp without time zone, 0.6659, 0.6663, 0.6655, 0.6659, 1658, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 21:00:00'::timestamp without time zone, 0.6659, 0.6668, 0.66585, 0.6666, 1463, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 21:30:00'::timestamp without time zone, 0.6667, 0.66705, 0.66645, 0.6669, 1142, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 22:00:00'::timestamp without time zone, 0.6669, 0.66735, 0.66685, 0.6672, 1007, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 22:30:00'::timestamp without time zone, 0.6672, 0.66765, 0.6671, 0.66725, 1066, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 23:00:00'::timestamp without time zone, 0.66725, 0.6684, 0.66725, 0.6684, 1932, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 23:30:00'::timestamp without time zone, 0.66835, 0.66895, 0.6683, 0.6689, 1991, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 00:00:00'::timestamp without time zone, 0.66885, 0.6692, 0.66855, 0.66915, 1167, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 00:30:00'::timestamp without time zone, 0.66915, 0.6693, 0.6687, 0.6691, 1589, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 01:00:00'::timestamp without time zone, 0.66905, 0.66935, 0.66895, 0.66935, 917, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 01:30:00'::timestamp without time zone, 0.66935, 0.66955, 0.66845, 0.6685, 2789, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 02:00:00'::timestamp without time zone, 0.6685, 0.6697, 0.6685, 0.66945, 2213, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 02:30:00'::timestamp without time zone, 0.66945, 0.66945, 0.6688, 0.6688, 1387, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 03:00:00'::timestamp without time zone, 0.66875, 0.6692, 0.66875, 0.66895, 1743, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 03:30:00'::timestamp without time zone, 0.6689, 0.66905, 0.6684, 0.6686, 1263, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 04:00:00'::timestamp without time zone, 0.66855, 0.669, 0.66855, 0.6687, 1216, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 04:30:00'::timestamp without time zone, 0.6687, 0.6688, 0.6683, 0.6683, 910, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 05:00:00'::timestamp without time zone, 0.66825, 0.66865, 0.6682, 0.66845, 886, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 05:30:00'::timestamp without time zone, 0.6684, 0.6689, 0.6683, 0.66845, 761, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 06:00:00'::timestamp without time zone, 0.66845, 0.66915, 0.66845, 0.669, 1297, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 06:30:00'::timestamp without time zone, 0.66905, 0.6692, 0.66875, 0.66885, 758, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 07:00:00'::timestamp without time zone, 0.66885, 0.6692, 0.66875, 0.66915, 636, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 07:30:00'::timestamp without time zone, 0.66915, 0.66915, 0.6687, 0.66885, 837, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 08:00:00'::timestamp without time zone, 0.66885, 0.6695, 0.66885, 0.66915, 2011, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 08:30:00'::timestamp without time zone, 0.6691, 0.66945, 0.6687, 0.669, 3260, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 09:00:00'::timestamp without time zone, 0.66895, 0.6698, 0.66885, 0.66965, 2990, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 09:30:00'::timestamp without time zone, 0.6697, 0.66995, 0.66855, 0.66885, 3502, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 10:00:00'::timestamp without time zone, 0.66885, 0.669, 0.66835, 0.66845, 2683, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 10:30:00'::timestamp without time zone, 0.6685, 0.66895, 0.66845, 0.6686, 3223, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 11:00:00'::timestamp without time zone, 0.66865, 0.66895, 0.66845, 0.66875, 2379, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 11:30:00'::timestamp without time zone, 0.66875, 0.66885, 0.66815, 0.6683, 1293, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 12:00:00'::timestamp without time zone, 0.66825, 0.6684, 0.66805, 0.66835, 1085, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 12:30:00'::timestamp without time zone, 0.66835, 0.66875, 0.6683, 0.66875, 835, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 13:00:00'::timestamp without time zone, 0.66875, 0.66895, 0.6686, 0.66875, 837, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 13:30:00'::timestamp without time zone, 0.6688, 0.66945, 0.6688, 0.66935, 907, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 14:00:00'::timestamp without time zone, 0.66935, 0.6694, 0.6687, 0.66895, 795, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 14:30:00'::timestamp without time zone, 0.66895, 0.6691, 0.6685, 0.6685, 1778, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 15:00:00'::timestamp without time zone, 0.66855, 0.6689, 0.66835, 0.66885, 977, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 15:30:00'::timestamp without time zone, 0.66885, 0.66895, 0.6685, 0.6685, 701, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 16:00:00'::timestamp without time zone, 0.66855, 0.66855, 0.66825, 0.66845, 559, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 16:30:00'::timestamp without time zone, 0.66845, 0.66875, 0.6684, 0.66865, 345, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 18:00:00'::timestamp without time zone, 0.6687, 0.6688, 0.66855, 0.66875, 151, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 18:30:00'::timestamp without time zone, 0.6688, 0.66895, 0.6686, 0.66865, 188, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 19:00:00'::timestamp without time zone, 0.66875, 0.66875, 0.6684, 0.66845, 190, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 19:30:00'::timestamp without time zone, 0.6684, 0.6687, 0.6684, 0.6686, 205, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 20:00:00'::timestamp without time zone, 0.66855, 0.6694, 0.66835, 0.66925, 906, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 20:30:00'::timestamp without time zone, 0.6692, 0.6692, 0.66735, 0.6675, 1768, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 21:00:00'::timestamp without time zone, 0.6675, 0.6678, 0.66665, 0.66675, 1502, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING;
Date: 2024-10-26 05:11:19 Duration: 22ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
18 910ms 2 346ms 563ms 455ms select distinct s.symbolid, dss.downloadersymbol, s.timegranularity, dff.absolutetimezoneoffset as offset from downloadersymbolsettings dss inner join symbols s on s.symbolid = dss.symbolid inner join datafeedstimetable dff on dss.classname ilike dff.classname where dss.classname ilike ? and dss.enabled = ? and s.timegranularity >= ? order by downloadersymbol, timegranularity;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Oct 26 05 2 910ms 455ms [ User: postgres - Total duration: 910ms - Times executed: 2 ]
[ Application: [unknown] - Total duration: 910ms - Times executed: 2 ]
-
select distinct s.symbolid, dss.downloadersymbol, s.timegranularity, dff.absolutetimezoneoffset as offset from downloadersymbolsettings dss inner join symbols s on s.symbolid = dss.symbolid inner join datafeedstimetable dff on dss.classname ilike dff.classname where dss.classname ILIKE '%IQFeed%' and dss.enabled = 1 and s.timegranularity >= 15 order by downloadersymbol, timegranularity;
Date: 2024-10-26 05:46:22 Duration: 563ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
-
select distinct s.symbolid, dss.downloadersymbol, s.timegranularity, dff.absolutetimezoneoffset as offset from downloadersymbolsettings dss inner join symbols s on s.symbolid = dss.symbolid inner join datafeedstimetable dff on dss.classname ilike dff.classname where dss.classname ILIKE '%IQFeed%' and dss.enabled = 1 and s.timegranularity >= 15 order by downloadersymbol, timegranularity;
Date: 2024-10-26 05:11:18 Duration: 346ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
19 880ms 58 2ms 57ms 15ms select xmlforest(name2 as symbol, coalesce("Ascending Triangle", ?) as ascending_triangle, coalesce("Channel Down", ?) as channel_down, coalesce("Channel Up", ?) as channel_up, coalesce("Descending Triangle", ?) as descending_triangle, coalesce("Double Bottom", ?) as double_bottom, coalesce("Double Top", ?) as double_top, coalesce("Falling Wedge", ?) as falling_wedge, coalesce("Flag", ?) as flag, coalesce("Head and Shoulders", ?) as head_and_shoulders, coalesce("Inverse Head and Shoulders", ?) as inverse_head_and_shoulders, coalesce("Pennant", ?) as pennant, coalesce("Rectangle", ?) as rectangle, coalesce("Rising Wedge", ?) as rising_wedge, coalesce("Triangle", ?) as triangle, coalesce("Triple Bottom", ?) as triple_bottom, coalesce("Triple Top", ?) as triple_top) from ( select * from crosstab (?) as stats_summary_2d (name2 varchar(?), "Ascending Triangle" float, "Channel Down" float, "Channel Up" float, "Descending Triangle" float, "Double Bottom" float, "Double Top" float, "Falling Wedge" float, "Flag" float, "Head and Shoulders" float, "Inverse Head and Shoulders" float, "Pennant" float, "Rectangle" float, "Rising Wedge" float, "Triangle" float, "Triple Bottom" float, "Triple Top" float) order by name2) p;Times Reported Time consuming queries #19
Day Hour Count Duration Avg duration Oct 26 05 58 880ms 15ms [ User: postgres - Total duration: 880ms - Times executed: 58 ]
[ Application: [unknown] - Total duration: 880ms - Times executed: 58 ]
-
select xmlforest(name2 as symbol, coalesce("Ascending Triangle", - 1) as Ascending_Triangle, coalesce("Channel Down", - 1) as Channel_Down, coalesce("Channel Up", - 1) as Channel_Up, coalesce("Descending Triangle", - 1) as Descending_Triangle, coalesce("Double Bottom", - 1) as Double_Bottom, coalesce("Double Top", - 1) as Double_Top, coalesce("Falling Wedge", - 1) as Falling_Wedge, coalesce("Flag", - 1) as Flag, coalesce("Head and Shoulders", - 1) as Head_and_Shoulders, coalesce("Inverse Head and Shoulders", - 1) as Inverse_Head_and_Shoulders, coalesce("Pennant", - 1) as Pennant, coalesce("Rectangle", - 1) as Rectangle, coalesce("Rising Wedge", - 1) as Rising_Wedge, coalesce("Triangle", - 1) as Triangle, coalesce("Triple Bottom", - 1) as Triple_Bottom, coalesce("Triple Top", - 1) as Triple_Top) from ( SELECT * FROM crosstab ('select name2, name1, avg(percentage) from stats_summary_2d s where s.statsid = 515852059324253307 and lower(s.category1) = lower(''pattern'') and lower(s.category2) = lower(''symbol'') and lower(s.category1) <> ''overall'' and lower(s.category2) <> ''overall'' and name2 in (''EURMXN'' ,''USDZAR'' ,''USDMXN'' ,''CHFZAR'' ,''CHFHUF'' ,''EURJPY'' ,''USDSEK'' ,''EURZAR'' ,''NZDSEK'' ,''ZARJPY'' ,''USDJPY'' ,''USDNOK'' ,''GBPZAR'' ,''AUDZAR'' ,''CHFJPY'' ,''CADJPY'' ,''EURHKD'' ,''EURTRY'' ,''GBPJPY'' ,''SGDJPY'' ,''USDHUF'' ,''USDCZK'' ,''EURSEK'' ,''EURNOK'' ,''NZDJPY'' ,''USDDKK'' ,''AUDJPY'' ,''EURCNH'' ,''USDCNH'' ,''USDPLN'' ,''TRYJPY'' ,''EURHUF'' ,''USDILS'' ,''EURCZK'' ,''GBPAUD'' ,''GBPNZD'' ,''EURNZD'' ,''EURPLN'' ,''EURAUD'' ,''EURCAD'' ,''GBPUSD'' ,''GBPSGD'' ,''GBPCAD'' ,''GBPCHF'' ,''USDTRY'' ,''NOKSEK'' ,''USDCAD'' ,''NZDCAD'' ,''NZDUSD'' ,''USDHKD'' ) group by name2, name1 order by 1,2') AS stats_summary_2d (name2 varchar(255), "Ascending Triangle" float, "Channel Down" float, "Channel Up" float, "Descending Triangle" float, "Double Bottom" float, "Double Top" float, "Falling Wedge" float, "Flag" float, "Head and Shoulders" float, "Inverse Head and Shoulders" float, "Pennant" float, "Rectangle" float, "Rising Wedge" float, "Triangle" float, "Triple Bottom" float, "Triple Top" float) order by name2) P;
Date: 2024-10-26 05:01:29 Duration: 57ms Database: acaweb_fx User: postgres Remote: 192.168.2.44 Application: [unknown] Bind query: yes
-
select xmlforest(name2 as symbol, coalesce("Ascending Triangle", - 1) as Ascending_Triangle, coalesce("Channel Down", - 1) as Channel_Down, coalesce("Channel Up", - 1) as Channel_Up, coalesce("Descending Triangle", - 1) as Descending_Triangle, coalesce("Double Bottom", - 1) as Double_Bottom, coalesce("Double Top", - 1) as Double_Top, coalesce("Falling Wedge", - 1) as Falling_Wedge, coalesce("Flag", - 1) as Flag, coalesce("Head and Shoulders", - 1) as Head_and_Shoulders, coalesce("Inverse Head and Shoulders", - 1) as Inverse_Head_and_Shoulders, coalesce("Pennant", - 1) as Pennant, coalesce("Rectangle", - 1) as Rectangle, coalesce("Rising Wedge", - 1) as Rising_Wedge, coalesce("Triangle", - 1) as Triangle, coalesce("Triple Bottom", - 1) as Triple_Bottom, coalesce("Triple Top", - 1) as Triple_Top) from ( SELECT * FROM crosstab ('select name2, name1, avg(percentage) from stats_summary_2d s where s.statsid = 601729875357715307 and lower(s.category1) = lower(''pattern'') and lower(s.category2) = lower(''symbol'') and lower(s.category1) <> ''overall'' and lower(s.category2) <> ''overall'' and name2 in (''USDSEK'' ,''USDMXN'' ,''UK100'' ,''ZARJPY'' ,''Palladium'' ,''JPN225'' ,''AUS200'' ,''XAGUSD'' ,''USDZAR'' ,''EURJPY'' ,''UKOIL'' ,''USDJPY'' ,''USDIndex'' ,''USOIL'' ,''GBPZAR'' ,''XAUUSD'' ,''Platinum'' ,''USDCZK'' ,''USA100'' ,''AUDJPY'' ,''XAUEUR'' ,''USA30'' ,''GBPJPY'' ,''XAGEUR'' ,''CADJPY'' ,''CHFJPY'' ,''USDHUF'' ,''NZDJPY'' ,''Copper'' ,''USDNOK'' ,''USDCNH'' ,''EURHUF'' ,''USDPLN'' ,''EURNOK'' ,''USDDKK'' ,''GBPNZD'' ,''GBPAUD'' ,''EURNZD'' ,''SUI20'' ,''EURPLN'' ,''USDTRY'' ,''EURAUD'' ,''FRA40'' ,''EURCAD'' ,''GBPUSD'' ,''NETH25'' ,''GBPCAD'' ,''USDHKD'' ,''SPA35'' ,''USDCAD'' ) group by name2, name1 order by 1,2') AS stats_summary_2d (name2 varchar(255), "Ascending Triangle" float, "Channel Down" float, "Channel Up" float, "Descending Triangle" float, "Double Bottom" float, "Double Top" float, "Falling Wedge" float, "Flag" float, "Head and Shoulders" float, "Inverse Head and Shoulders" float, "Pennant" float, "Rectangle" float, "Rising Wedge" float, "Triangle" float, "Triple Bottom" float, "Triple Top" float) order by name2) P;
Date: 2024-10-26 05:06:15 Duration: 45ms Database: acaweb_fx User: postgres Remote: 192.168.2.44 Application: [unknown] Bind query: yes
-
select xmlforest(name2 as symbol, coalesce("Ascending Triangle", - 1) as Ascending_Triangle, coalesce("Channel Down", - 1) as Channel_Down, coalesce("Channel Up", - 1) as Channel_Up, coalesce("Descending Triangle", - 1) as Descending_Triangle, coalesce("Double Bottom", - 1) as Double_Bottom, coalesce("Double Top", - 1) as Double_Top, coalesce("Falling Wedge", - 1) as Falling_Wedge, coalesce("Flag", - 1) as Flag, coalesce("Head and Shoulders", - 1) as Head_and_Shoulders, coalesce("Inverse Head and Shoulders", - 1) as Inverse_Head_and_Shoulders, coalesce("Pennant", - 1) as Pennant, coalesce("Rectangle", - 1) as Rectangle, coalesce("Rising Wedge", - 1) as Rising_Wedge, coalesce("Triangle", - 1) as Triangle, coalesce("Triple Bottom", - 1) as Triple_Bottom, coalesce("Triple Top", - 1) as Triple_Top) from ( SELECT * FROM crosstab ('select name2, name1, avg(percentage) from stats_summary_2d s where s.statsid = 604583677951899307 and lower(s.category1) = lower(''pattern'') and lower(s.category2) = lower(''symbol'') and lower(s.category1) <> ''overall'' and lower(s.category2) <> ''overall'' and name2 in (''Crypto30'' ,''Crypto20'' ,''Crypto10'' ,''BNBUSD'' ,''UNIUSD'' ,''LINKUSD'' ,''BTCUSD'' ,''ETHUSD'' ,''SOLUSD'' ,''LTCUSD'' ,''BCHUSD'' ,''DOTUSD'' ,''AVAXUSD'' ,''XTZUSD'' ,''ADAUSD'' ,''MATICUSD'' ,''XRPUSD'' ,''EOSUSD'' ,''EURMXN'' ,''GBPMXN'' ,''EUSTX50'' ,''USDZAR'' ,''EURX'' ,''USDMXN'' ,''USDSEK'' ,''JPN225'' ,''XPDUSD'' ,''EURJPY'' ,''AUS200'' ,''SpotCrude'' ,''XAGUSD'' ,''SpotBrent'' ,''ZARJPY'' ,''UK100'' ,''NAS100'' ,''USDJPY'' ,''US2000'' ,''GER40'' ,''CHFJPY'' ,''XAUGBP'' ,''USDTHB'' ,''XAUUSD'' ,''NOKJPY'' ,''EURZAR'' ,''USDX'' ,''Gasoline'' ,''USDNOK'' ,''NatGas'' ,''GBPSEK'' ,''XPTUSD'' ) group by name2, name1 order by 1,2') AS stats_summary_2d (name2 varchar(255), "Ascending Triangle" float, "Channel Down" float, "Channel Up" float, "Descending Triangle" float, "Double Bottom" float, "Double Top" float, "Falling Wedge" float, "Flag" float, "Head and Shoulders" float, "Inverse Head and Shoulders" float, "Pennant" float, "Rectangle" float, "Rising Wedge" float, "Triangle" float, "Triple Bottom" float, "Triple Top" float) order by name2) P;
Date: 2024-10-26 05:09:04 Duration: 42ms Database: acaweb_fx User: postgres Remote: 192.168.2.44 Application: [unknown] Bind query: yes
20 871ms 7 11ms 403ms 124ms select distinct on (basegroupname, symbol) g.groupid, exchange, basegroupname as groupname, coalesce(bim.code, s.symbol) as symbol, longname from brokergroups bg inner join symbolgroup sg on bg.groupid = sg.groupid inner join symbols s on sg.symbolid = s.symbolid inner join brokersymbollist bsl on s.symbolid = bsl.symbolid inner join downloadersymbolsettings dss on s.symbolid = dss.symbolid inner join groups g on bg.groupid = g.groupid left outer join brokerinstrumentmap bim on dss.datafeedinstrumentid = bim.datafeedinstrumentid and bim.brokerid = bsl.brokerid and bim.type = ? where bsl.brokerid = ? and bg.brokerid = ? and dss.enabled = ? and s.nonliquid = ? and s.deleted = ? order by basegroupname, symbol;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Oct 26 05 7 871ms 124ms [ User: postgres - Total duration: 871ms - Times executed: 7 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 871ms - Times executed: 7 ]
-
SELECT DISTINCT ON (basegroupname, symbol) g.groupid, exchange, basegroupname as groupname, coalesce(bim.code, s.symbol) as symbol, longname FROM brokergroups bg INNER JOIN symbolgroup sg ON bg.groupid = sg.groupid INNER JOIN symbols s ON sg.symbolid = s.symbolid INNER JOIN brokersymbollist bsl ON s.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss ON s.symbolid = dss.symbolid INNER JOIN groups g ON bg.groupid = g.groupid LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE bsl.brokerid = '667' AND bg.brokerid = '667' AND dss.enabled = 1 AND s.nonliquid = 0 AND s.deleted = 0 ORDER BY basegroupname, symbol;
Date: 2024-10-26 05:52:39 Duration: 403ms Database: acaweb_fx User: postgres Remote: 192.168.1.20 Application: PostgreSQL JDBC Driver Bind query: yes
-
SELECT DISTINCT ON (basegroupname, symbol) g.groupid, exchange, basegroupname as groupname, coalesce(bim.code, s.symbol) as symbol, longname FROM brokergroups bg INNER JOIN symbolgroup sg ON bg.groupid = sg.groupid INNER JOIN symbols s ON sg.symbolid = s.symbolid INNER JOIN brokersymbollist bsl ON s.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss ON s.symbolid = dss.symbolid INNER JOIN groups g ON bg.groupid = g.groupid LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE bsl.brokerid = '667' AND bg.brokerid = '667' AND dss.enabled = 1 AND s.nonliquid = 0 AND s.deleted = 0 ORDER BY basegroupname, symbol;
Date: 2024-10-26 05:52:40 Duration: 400ms Database: acaweb_fx User: postgres Remote: 192.168.1.145 Application: PostgreSQL JDBC Driver Bind query: yes
-
SELECT DISTINCT ON (basegroupname, symbol) g.groupid, exchange, basegroupname as groupname, coalesce(bim.code, s.symbol) as symbol, longname FROM brokergroups bg INNER JOIN symbolgroup sg ON bg.groupid = sg.groupid INNER JOIN symbols s ON sg.symbolid = s.symbolid INNER JOIN brokersymbollist bsl ON s.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss ON s.symbolid = dss.symbolid INNER JOIN groups g ON bg.groupid = g.groupid LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE bsl.brokerid = '627' AND bg.brokerid = '627' AND dss.enabled = 1 AND s.nonliquid = 0 AND s.deleted = 0 ORDER BY basegroupname, symbol;
Date: 2024-10-26 05:40:16 Duration: 18ms Database: acaweb_fx User: postgres Remote: 192.168.1.250 Application: PostgreSQL JDBC Driver Bind query: yes
Most frequent queries (N)
Rank Times executed Total duration Min duration Max duration Avg duration Query 1 8,799 33ms 0ms 0ms 0ms select ?;Times Reported Time consuming queries #1
Day Hour Count Duration Avg duration Oct 26 05 8,799 33ms 0ms [ User: postgres - Total duration: 33ms - Times executed: 8799 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 28ms - Times executed: 8700 ]
[ Application: [unknown] - Total duration: 4ms - Times executed: 99 ]
-
SELECT 1;
Date: 2024-10-26 05:46:22 Duration: 0ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
-
SELECT 1;
Date: 2024-10-26 05:11:18 Duration: 0ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
-
SELECT 1;
Date: 2024-10-26 05:28:47 Duration: 0ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
2 5,585 6s397ms 0ms 2ms 1ms select distinct on (coalesce(bim.code, s.symbol) , s.exchange, s.timegranularity, df.timezone) coalesce(bim.code, s.symbol) as name, s.symbol as symbol, s.exchange as exchange, s.timegranularity as interval, df.timezone as timezone from symbols s inner join downloadersymbolsettings dss on dss.symbolid = s.symbolid inner join datafeedstimetable df on df.classname ilike dss.classname left join brokersymbollist bsl on bsl.brokerid = ? and bsl.symbolid = s.symbolid left outer join brokerinstrumentmap bim on dss.datafeedinstrumentid = bim.datafeedinstrumentid and bim.brokerid = ? and bim.type = ? where s.symbolid = ?;Times Reported Time consuming queries #2
Day Hour Count Duration Avg duration Oct 26 05 5,585 6s397ms 1ms [ User: postgres - Total duration: 6s397ms - Times executed: 5585 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 6s397ms - Times executed: 5585 ]
-
SELECT DISTINCT ON (coalesce(bim.code, s.symbol) , s.exchange, s.timegranularity, df.timezone) coalesce(bim.code, s.symbol) as name, s.symbol as symbol, 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 = '515840248618444300';
Date: 2024-10-26 05:03:04 Duration: 2ms Database: acaweb_fx User: postgres Remote: 192.168.1.250 Application: PostgreSQL JDBC Driver Bind query: yes
-
SELECT DISTINCT ON (coalesce(bim.code, s.symbol) , s.exchange, s.timegranularity, df.timezone) coalesce(bim.code, s.symbol) as name, s.symbol as symbol, 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 = '515840248621451300';
Date: 2024-10-26 05:03:04 Duration: 2ms Database: acaweb_fx User: postgres Remote: 192.168.1.250 Application: PostgreSQL JDBC Driver Bind query: yes
-
SELECT DISTINCT ON (coalesce(bim.code, s.symbol) , s.exchange, s.timegranularity, df.timezone) coalesce(bim.code, s.symbol) as name, s.symbol as symbol, 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 = '515840248619247300';
Date: 2024-10-26 05:03:04 Duration: 2ms Database: acaweb_fx User: postgres Remote: 192.168.1.250 Application: PostgreSQL JDBC Driver Bind query: yes
3 5,541 48ms 0ms 0ms 0ms set extra_float_digits = ?;Times Reported Time consuming queries #3
Day Hour Count Duration Avg duration Oct 26 05 5,541 48ms 0ms [ User: postgres - Total duration: 48ms - Times executed: 5541 ]
[ Application: [unknown] - Total duration: 48ms - Times executed: 5541 ]
-
SET extra_float_digits = 3;
Date: 2024-10-26 05:01:19 Duration: 0ms Database: acaweb_fx User: postgres Remote: 192.168.2.44 Application: [unknown] Bind query: yes
-
SET extra_float_digits = 3;
Date: 2024-10-26 05:05:50 Duration: 0ms Database: acaweb_fx User: postgres Remote: 192.168.2.44 Application: [unknown] Bind query: yes
-
SET extra_float_digits = 3;
Date: 2024-10-26 05:09:18 Duration: 0ms Database: acaweb_fx User: postgres Remote: 192.168.2.44 Application: [unknown] Bind query: yes
4 5,225 14s966ms 1ms 5ms 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 #4
Day Hour Count Duration Avg duration Oct 26 05 5,225 14s966ms 2ms [ User: postgres - Total duration: 14s966ms - Times executed: 5225 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 14s966ms - Times executed: 5225 ]
-
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 = 'NOKJPY' OR dss.downloadersymbol = 'NOKJPY') AND dss.enabled = 1;
Date: 2024-10-26 05:45:04 Duration: 5ms Database: acaweb_fx User: postgres Remote: 192.168.1.20 Application: PostgreSQL JDBC Driver Bind query: yes
-
SELECT s.symbolid AS id, s.symbol AS name, s.exchange AS exchange, s.timegranularity AS interval, dtt.timezone AS timezone FROM symbols s INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN brokersymbollist bsl ON bsl.symbolid = s.symbolid WHERE bsl.brokerid = '529' AND ('0' = 0 OR s.timegranularity = '0') AND (s.symbol = 'SA40' OR dss.downloadersymbol = 'SA40') AND dss.enabled = 1;
Date: 2024-10-26 05:45:04 Duration: 5ms Database: acaweb_fx User: postgres Remote: 192.168.1.20 Application: PostgreSQL JDBC Driver Bind query: yes
-
SELECT s.symbolid AS id, s.symbol AS name, s.exchange AS exchange, s.timegranularity AS interval, dtt.timezone AS timezone FROM symbols s INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN brokersymbollist bsl ON bsl.symbolid = s.symbolid WHERE bsl.brokerid = '529' AND ('0' = 0 OR s.timegranularity = '0') AND (s.symbol = 'Cocoa' OR dss.downloadersymbol = 'Cocoa') AND dss.enabled = 1;
Date: 2024-10-26 05:45:03 Duration: 5ms Database: acaweb_fx User: postgres Remote: 192.168.1.145 Application: PostgreSQL JDBC Driver Bind query: yes
5 1,800 1s552ms 0ms 8ms 0ms insert into t15 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) on conflict (pricedatetime, symbolid) do update set open = ?, high = ?, low = ?, close = ?, volume = ?, bsf = ?, sastdatetimewritten = ?, sastdatetimereceived = ?;Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Oct 26 05 1,800 1s552ms 0ms [ User: postgres - Total duration: 1s552ms - Times executed: 1800 ]
[ Application: [unknown] - Total duration: 1s552ms - Times executed: 1800 ]
-
INSERT INTO T15 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ('2024-10-26 05:45:00', '16084.8', '16121.8', '16079.7', '16081.5', '670', '515840248266900300', '0', '2024-10-26 05:09:58.121', '2024-10-26 05:09:58.05') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '16084.8', high = '16121.8', low = '16079.7', close = '16081.5', volume = '670', bsf = '0', sastdatetimewritten = '2024-10-26 05:09:58.121', sastdatetimereceived = '2024-10-26 05:09:58.05';
Date: 2024-10-26 05:09:58 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 ('2024-10-26 06:00:00', '51499.36', '51499.36', '51394.55', '51442.33', '184', '515840247892133300', '0', '2024-10-26 05:20:04.053', '2024-10-26 05:20:04.011') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '51499.36', high = '51499.36', low = '51394.55', close = '51442.33', volume = '184', bsf = '0', sastdatetimewritten = '2024-10-26 05:20:04.053', sastdatetimereceived = '2024-10-26 05:20:04.011';
Date: 2024-10-26 05:20:04 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 ('2024-10-26 06:30:00', '164.85', '165.41', '164.4', '164.74', '469', '515840249461901300', '0', '2024-10-26 05:55:09.339', '2024-10-26 05:55:09.273') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '164.85', high = '165.41', low = '164.4', close = '164.74', volume = '469', bsf = '0', sastdatetimewritten = '2024-10-26 05:55:09.339', sastdatetimereceived = '2024-10-26 05:55:09.273';
Date: 2024-10-26 05:55:09 Duration: 8ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
6 1,041 3s314ms 2ms 31ms 3ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Oct 26 05 1,041 3s314ms 3ms [ User: postgres - Total duration: 3s314ms - Times executed: 1041 ]
[ Application: [unknown] - Total duration: 3s314ms - Times executed: 1041 ]
-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 03:00:00'::timestamp without time zone, 0.6716, 0.67195, 0.6715, 0.6718, 845, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 03:15:00'::timestamp without time zone, 0.6718, 0.6719, 0.67155, 0.67155, 490, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 03:30:00'::timestamp without time zone, 0.6716, 0.6721, 0.67145, 0.672, 685, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 03:45:00'::timestamp without time zone, 0.672, 0.6722, 0.6718, 0.6718, 482, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 04:00:00'::timestamp without time zone, 0.6718, 0.6721, 0.67165, 0.672, 301, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 04:15:00'::timestamp without time zone, 0.672, 0.6721, 0.67185, 0.6719, 361, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 04:30:00'::timestamp without time zone, 0.67195, 0.672, 0.6718, 0.6718, 288, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 04:45:00'::timestamp without time zone, 0.67185, 0.67185, 0.6716, 0.6716, 1302, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 05:00:00'::timestamp without time zone, 0.67165, 0.67195, 0.67145, 0.6719, 452, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 05:15:00'::timestamp without time zone, 0.67195, 0.67195, 0.6717, 0.6717, 181, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 05:30:00'::timestamp without time zone, 0.6717, 0.6717, 0.6714, 0.67145, 189, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 05:45:00'::timestamp without time zone, 0.67145, 0.6718, 0.67145, 0.67155, 208, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 06:00:00'::timestamp without time zone, 0.67155, 0.67155, 0.67125, 0.67135, 361, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 06:15:00'::timestamp without time zone, 0.67135, 0.6714, 0.6711, 0.67125, 369, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 06:30:00'::timestamp without time zone, 0.6713, 0.67175, 0.6713, 0.67175, 169, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 06:45:00'::timestamp without time zone, 0.6717, 0.67185, 0.6716, 0.67175, 758, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 07:00:00'::timestamp without time zone, 0.67175, 0.67185, 0.67155, 0.67165, 442, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 07:15:00'::timestamp without time zone, 0.6716, 0.67175, 0.67155, 0.67155, 257, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 07:30:00'::timestamp without time zone, 0.67155, 0.67175, 0.67155, 0.6716, 413, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 07:45:00'::timestamp without time zone, 0.6716, 0.6718, 0.6714, 0.6716, 431, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 08:00:00'::timestamp without time zone, 0.6716, 0.6717, 0.67135, 0.67155, 339, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 08:15:00'::timestamp without time zone, 0.67155, 0.67175, 0.6715, 0.6716, 387, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 08:30:00'::timestamp without time zone, 0.6717, 0.67205, 0.67155, 0.67165, 979, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 08:45:00'::timestamp without time zone, 0.67165, 0.672, 0.67165, 0.67175, 915, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 09:00:00'::timestamp without time zone, 0.67175, 0.67205, 0.6717, 0.67195, 1375, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 09:15:00'::timestamp without time zone, 0.67185, 0.6724, 0.67185, 0.67235, 1299, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 09:30:00'::timestamp without time zone, 0.6723, 0.67235, 0.6717, 0.6719, 1023, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 09:45:00'::timestamp without time zone, 0.67185, 0.6719, 0.67135, 0.6715, 728, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 10:00:00'::timestamp without time zone, 0.67145, 0.6716, 0.67115, 0.67115, 767, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 10:15:00'::timestamp without time zone, 0.6712, 0.67135, 0.6708, 0.671, 983, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 10:30:00'::timestamp without time zone, 0.671, 0.6715, 0.6709, 0.67135, 878, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 10:45:00'::timestamp without time zone, 0.67135, 0.67145, 0.67085, 0.67105, 1869, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 11:00:00'::timestamp without time zone, 0.67105, 0.67115, 0.6708, 0.67095, 1388, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 11:15:00'::timestamp without time zone, 0.67095, 0.6711, 0.6708, 0.67105, 481, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 11:30:00'::timestamp without time zone, 0.6711, 0.6711, 0.6706, 0.67065, 442, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 11:45:00'::timestamp without time zone, 0.67065, 0.67075, 0.67025, 0.6704, 883, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 12:00:00'::timestamp without time zone, 0.67035, 0.67075, 0.67025, 0.67065, 672, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 12:15:00'::timestamp without time zone, 0.67065, 0.67105, 0.67065, 0.67105, 337, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 12:30:00'::timestamp without time zone, 0.67105, 0.67125, 0.6709, 0.67125, 330, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 12:45:00'::timestamp without time zone, 0.67125, 0.6715, 0.6711, 0.67135, 505, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 13:00:00'::timestamp without time zone, 0.6713, 0.67135, 0.67115, 0.6713, 218, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 13:15:00'::timestamp without time zone, 0.6713, 0.6713, 0.6708, 0.6708, 235, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 13:30:00'::timestamp without time zone, 0.67075, 0.6709, 0.67045, 0.67055, 299, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 13:45:00'::timestamp without time zone, 0.67055, 0.6708, 0.67045, 0.6708, 291, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 14:00:00'::timestamp without time zone, 0.67075, 0.6709, 0.67065, 0.6709, 236, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 14:15:00'::timestamp without time zone, 0.67085, 0.671, 0.67075, 0.6709, 315, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 14:30:00'::timestamp without time zone, 0.6709, 0.6709, 0.67055, 0.6707, 236, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 14:45:00'::timestamp without time zone, 0.6707, 0.67105, 0.67065, 0.6708, 894, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 15:00:00'::timestamp without time zone, 0.6708, 0.6708, 0.6705, 0.6706, 1033, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 15:15:00'::timestamp without time zone, 0.6706, 0.67085, 0.67055, 0.6708, 182, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 15:30:00'::timestamp without time zone, 0.6708, 0.67085, 0.67065, 0.67085, 281, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING;
Date: 2024-10-26 05:11:19 Duration: 31ms 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, '2024-10-17 13:15:00'::timestamp without time zone, 0.67055, 0.67055, 0.6701, 0.6701, 633, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 13:30:00'::timestamp without time zone, 0.67015, 0.6702, 0.66985, 0.67015, 369, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 13:45:00'::timestamp without time zone, 0.6702, 0.6707, 0.6702, 0.67045, 499, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 14:00:00'::timestamp without time zone, 0.6705, 0.6705, 0.66995, 0.67025, 1377, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 14:15:00'::timestamp without time zone, 0.6703, 0.67035, 0.67, 0.6701, 588, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 14:30:00'::timestamp without time zone, 0.67005, 0.6701, 0.6699, 0.67005, 401, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 14:45:00'::timestamp without time zone, 0.67, 0.67015, 0.6699, 0.66995, 1721, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 15:00:00'::timestamp without time zone, 0.67, 0.67005, 0.6697, 0.67005, 427, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 15:15:00'::timestamp without time zone, 0.67, 0.67015, 0.66995, 0.67, 648, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 15:30:00'::timestamp without time zone, 0.67, 0.67015, 0.6699, 0.6701, 212, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 15:45:00'::timestamp without time zone, 0.67005, 0.67005, 0.6698, 0.66995, 1172, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 16:00:00'::timestamp without time zone, 0.66995, 0.67005, 0.66985, 0.6699, 635, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 16:15:00'::timestamp without time zone, 0.6699, 0.6699, 0.6698, 0.6699, 229, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 16:30:00'::timestamp without time zone, 0.66995, 0.67015, 0.6699, 0.67005, 106, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 16:45:00'::timestamp without time zone, 0.67005, 0.67015, 0.67, 0.6701, 204, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 18:00:00'::timestamp without time zone, 0.67, 0.6704, 0.67, 0.6704, 268, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 18:15:00'::timestamp without time zone, 0.67035, 0.6704, 0.6702, 0.67025, 113, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 18:30:00'::timestamp without time zone, 0.6703, 0.6703, 0.67025, 0.6703, 117, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 18:45:00'::timestamp without time zone, 0.67035, 0.6704, 0.67, 0.67005, 214, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 19:00:00'::timestamp without time zone, 0.6701, 0.6701, 0.66995, 0.6701, 392, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 19:15:00'::timestamp without time zone, 0.67015, 0.67025, 0.67, 0.67, 214, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 19:30:00'::timestamp without time zone, 0.67, 0.6701, 0.66985, 0.67005, 233, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 19:45:00'::timestamp without time zone, 0.6701, 0.6706, 0.6701, 0.67035, 487, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 20:00:00'::timestamp without time zone, 0.67035, 0.67075, 0.6702, 0.67075, 766, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 20:15:00'::timestamp without time zone, 0.6707, 0.6707, 0.67005, 0.67005, 473, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 20:30:00'::timestamp without time zone, 0.67005, 0.67085, 0.6698, 0.6707, 632, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 20:45:00'::timestamp without time zone, 0.6707, 0.6707, 0.6702, 0.67025, 356, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 21:00:00'::timestamp without time zone, 0.67025, 0.6709, 0.67025, 0.67075, 409, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 21:15:00'::timestamp without time zone, 0.6708, 0.67105, 0.6706, 0.67105, 377, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 21:30:00'::timestamp without time zone, 0.6711, 0.6712, 0.67065, 0.671, 499, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 21:45:00'::timestamp without time zone, 0.67095, 0.6711, 0.6708, 0.67085, 395, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 22:00:00'::timestamp without time zone, 0.6709, 0.67155, 0.6706, 0.67075, 1459, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 22:15:00'::timestamp without time zone, 0.67075, 0.671, 0.67055, 0.671, 333, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 22:30:00'::timestamp without time zone, 0.671, 0.67225, 0.671, 0.67185, 1550, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 22:45:00'::timestamp without time zone, 0.6718, 0.67195, 0.67135, 0.6714, 381, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 23:00:00'::timestamp without time zone, 0.67135, 0.67155, 0.671, 0.671, 428, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 23:15:00'::timestamp without time zone, 0.671, 0.67115, 0.67075, 0.67105, 634, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 23:30:00'::timestamp without time zone, 0.67105, 0.6712, 0.67075, 0.6708, 256, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 23:45:00'::timestamp without time zone, 0.67075, 0.6709, 0.67055, 0.6709, 298, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 00:00:00'::timestamp without time zone, 0.6709, 0.67095, 0.67065, 0.67085, 201, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 00:15:00'::timestamp without time zone, 0.67075, 0.67105, 0.6707, 0.67085, 148, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 00:30:00'::timestamp without time zone, 0.6708, 0.671, 0.6707, 0.6709, 254, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 00:45:00'::timestamp without time zone, 0.67095, 0.67115, 0.67055, 0.67065, 359, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 01:00:00'::timestamp without time zone, 0.6707, 0.67095, 0.67045, 0.67095, 791, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 01:15:00'::timestamp without time zone, 0.67095, 0.67115, 0.67025, 0.6704, 474, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 01:30:00'::timestamp without time zone, 0.6704, 0.67075, 0.6704, 0.67065, 349, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 01:45:00'::timestamp without time zone, 0.6706, 0.6713, 0.6706, 0.6712, 506, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 02:00:00'::timestamp without time zone, 0.67115, 0.67145, 0.67085, 0.67135, 861, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 02:15:00'::timestamp without time zone, 0.67135, 0.672, 0.67135, 0.67175, 936, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 02:30:00'::timestamp without time zone, 0.67175, 0.672, 0.67165, 0.67175, 698, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 02:45:00'::timestamp without time zone, 0.6717, 0.6718, 0.67125, 0.6716, 1074, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING;
Date: 2024-10-26 05:11:19 Duration: 29ms 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, '2024-10-21 19:15:00'::timestamp without time zone, 0.66575, 0.66605, 0.66575, 0.66595, 225, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 19:30:00'::timestamp without time zone, 0.666, 0.66605, 0.66585, 0.66585, 324, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 19:45:00'::timestamp without time zone, 0.6659, 0.66595, 0.6656, 0.6658, 353, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 20:00:00'::timestamp without time zone, 0.6658, 0.66605, 0.6657, 0.66585, 754, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 20:15:00'::timestamp without time zone, 0.66585, 0.6661, 0.6656, 0.6659, 677, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 20:30:00'::timestamp without time zone, 0.6659, 0.666, 0.6656, 0.66565, 375, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 20:45:00'::timestamp without time zone, 0.6657, 0.6663, 0.6655, 0.6659, 1283, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 21:00:00'::timestamp without time zone, 0.6659, 0.6664, 0.66585, 0.66605, 507, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 21:15:00'::timestamp without time zone, 0.66605, 0.6668, 0.66605, 0.6666, 956, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 21:30:00'::timestamp without time zone, 0.6667, 0.667, 0.66665, 0.6668, 808, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 21:45:00'::timestamp without time zone, 0.66675, 0.66705, 0.66645, 0.6669, 334, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 22:00:00'::timestamp without time zone, 0.6669, 0.66735, 0.66685, 0.66725, 652, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 22:15:00'::timestamp without time zone, 0.6672, 0.6673, 0.66695, 0.6672, 355, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 22:30:00'::timestamp without time zone, 0.6672, 0.66745, 0.6671, 0.6673, 633, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 22:45:00'::timestamp without time zone, 0.66725, 0.66765, 0.6671, 0.66725, 433, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 23:00:00'::timestamp without time zone, 0.66725, 0.6681, 0.66725, 0.66785, 1094, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 23:15:00'::timestamp without time zone, 0.66785, 0.6684, 0.66765, 0.6684, 838, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 23:30:00'::timestamp without time zone, 0.66835, 0.6688, 0.6683, 0.66855, 758, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 23:45:00'::timestamp without time zone, 0.6685, 0.66895, 0.6684, 0.6689, 1233, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 00:00:00'::timestamp without time zone, 0.66885, 0.669, 0.66855, 0.66895, 701, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 00:15:00'::timestamp without time zone, 0.669, 0.6692, 0.66895, 0.66915, 466, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 00:30:00'::timestamp without time zone, 0.66915, 0.6693, 0.66875, 0.66885, 831, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 00:45:00'::timestamp without time zone, 0.66885, 0.6692, 0.6687, 0.6691, 758, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 01:00:00'::timestamp without time zone, 0.66905, 0.66925, 0.66895, 0.66905, 481, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 01:15:00'::timestamp without time zone, 0.669, 0.66935, 0.669, 0.66935, 436, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 01:30:00'::timestamp without time zone, 0.66935, 0.66955, 0.66925, 0.6693, 865, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 01:45:00'::timestamp without time zone, 0.66925, 0.66925, 0.66845, 0.6685, 1924, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 02:00:00'::timestamp without time zone, 0.6685, 0.6693, 0.6685, 0.6692, 1440, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 02:15:00'::timestamp without time zone, 0.6692, 0.6697, 0.66905, 0.66945, 773, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 02:30:00'::timestamp without time zone, 0.66945, 0.66945, 0.66885, 0.66885, 562, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 02:45:00'::timestamp without time zone, 0.66895, 0.66925, 0.6688, 0.6688, 825, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 03:00:00'::timestamp without time zone, 0.66875, 0.66915, 0.66875, 0.6691, 918, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 03:15:00'::timestamp without time zone, 0.66915, 0.6692, 0.66885, 0.66895, 825, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 03:30:00'::timestamp without time zone, 0.6689, 0.66905, 0.66875, 0.66895, 689, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 03:45:00'::timestamp without time zone, 0.669, 0.669, 0.6684, 0.6686, 574, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 04:00:00'::timestamp without time zone, 0.66855, 0.6689, 0.66855, 0.6689, 404, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 04:15:00'::timestamp without time zone, 0.6689, 0.669, 0.6687, 0.6687, 812, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 04:30:00'::timestamp without time zone, 0.6687, 0.6688, 0.6683, 0.6685, 616, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 04:45:00'::timestamp without time zone, 0.6685, 0.6686, 0.6683, 0.6683, 294, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 05:00:00'::timestamp without time zone, 0.66825, 0.66865, 0.6682, 0.66845, 516, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 05:15:00'::timestamp without time zone, 0.6685, 0.6686, 0.6682, 0.66845, 370, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 05:30:00'::timestamp without time zone, 0.6684, 0.6689, 0.6684, 0.6684, 506, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 05:45:00'::timestamp without time zone, 0.66845, 0.6687, 0.6683, 0.66845, 255, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 06:00:00'::timestamp without time zone, 0.66845, 0.66905, 0.66845, 0.66905, 519, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 06:15:00'::timestamp without time zone, 0.6691, 0.66915, 0.6689, 0.669, 778, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 06:30:00'::timestamp without time zone, 0.66905, 0.6692, 0.66895, 0.66905, 541, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 06:45:00'::timestamp without time zone, 0.66905, 0.6691, 0.66875, 0.66885, 217, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 07:00:00'::timestamp without time zone, 0.66885, 0.6691, 0.66875, 0.66895, 353, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 07:15:00'::timestamp without time zone, 0.669, 0.6692, 0.669, 0.66915, 283, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 07:30:00'::timestamp without time zone, 0.66915, 0.66915, 0.6689, 0.6689, 455, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 07:45:00'::timestamp without time zone, 0.66885, 0.66885, 0.6687, 0.66885, 382, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING;
Date: 2024-10-26 05:11:19 Duration: 28ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
7 946 318ms 0ms 5ms 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 #7
Day Hour Count Duration Avg duration Oct 26 05 946 318ms 0ms [ User: postgres - Total duration: 318ms - Times executed: 946 ]
[ Application: [unknown] - Total duration: 318ms - Times executed: 946 ]
-
INSERT INTO T30 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ('2024-10-26 06:00:00', '0.1364', '0.1364', '0.1357', '0.1361', '255', '515840247924458300', '0', '2024-10-26 05:40:19.793', '2024-10-26 05:40:19.76') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '0.1364', high = '0.1364', low = '0.1357', close = '0.1361', volume = '255', bsf = '0', sastdatetimewritten = '2024-10-26 05:40:19.793', sastdatetimereceived = '2024-10-26 05:40:19.76';
Date: 2024-10-26 05:40:19 Duration: 5ms 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 ('2024-10-26 06:00:00', '34.59', '34.72', '34.44', '34.62', '289', '515840247893477300', '0', '2024-10-26 05:39:27.349', '2024-10-26 05:39:27.304') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '34.59', high = '34.72', low = '34.44', close = '34.62', volume = '289', bsf = '0', sastdatetimewritten = '2024-10-26 05:39:27.349', sastdatetimereceived = '2024-10-26 05:39:27.304';
Date: 2024-10-26 05:39:27 Duration: 5ms 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 ('2024-10-26 05:30:00', '0.1616', '0.16191', '0.16141', '0.16184', '1051', '515840247991182300', '0', '2024-10-26 05:10:21.313', '2024-10-26 05:10:21.276') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '0.1616', high = '0.16191', low = '0.16141', close = '0.16184', volume = '1051', bsf = '0', sastdatetimewritten = '2024-10-26 05:10:21.313', sastdatetimereceived = '2024-10-26 05:10:21.276';
Date: 2024-10-26 05:10:21 Duration: 5ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
8 836 155ms 0ms 0ms 0ms select datetimeupdate from latest_candle_datetime_per_receng where recognitionengine ilike ?;Times Reported Time consuming queries #8
Day Hour Count Duration Avg duration Oct 26 05 836 155ms 0ms [ User: postgres - Total duration: 155ms - Times executed: 836 ]
[ Application: [unknown] - Total duration: 155ms - Times executed: 836 ]
-
SELECT datetimeupdate FROM latest_candle_datetime_per_receng WHERE recognitionengine ILIKE 'HOTFOREX - 1';
Date: 2024-10-26 05:17:09 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 'ATFX - 1';
Date: 2024-10-26 05:47:23 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 'ATFX - 1';
Date: 2024-10-26 05:32:15 Duration: 0ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
9 750 176ms 0ms 7ms 0ms insert into t60 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) on conflict (pricedatetime, symbolid) do update set open = ?, high = ?, low = ?, close = ?, volume = ?, bsf = ?, sastdatetimewritten = ?, sastdatetimereceived = ?;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Oct 26 05 750 176ms 0ms [ User: postgres - Total duration: 176ms - Times executed: 750 ]
[ Application: [unknown] - Total duration: 176ms - Times executed: 750 ]
-
INSERT INTO T60 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ('2024-10-26 05:00:00', '51386.07', '51637.31', '51187.23', '51510.15', '477', '515840247892731300', '0', '2024-10-26 05:10:05.151', '2024-10-26 05:10:05.065') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '51386.07', high = '51637.31', low = '51187.23', close = '51510.15', volume = '477', bsf = '0', sastdatetimewritten = '2024-10-26 05:10:05.151', sastdatetimereceived = '2024-10-26 05:10:05.065';
Date: 2024-10-26 05:10:05 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 ('2024-10-26 05:00:00', '67.94', '68.29', '67.58', '68.2', '2169', '515840247891314300', '0', '2024-10-26 05:10:17.289', '2024-10-26 05:10:17.215') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '67.94', high = '68.29', low = '67.58', close = '68.2', volume = '2169', bsf = '0', sastdatetimewritten = '2024-10-26 05:10:17.289', sastdatetimereceived = '2024-10-26 05:10:17.215';
Date: 2024-10-26 05:10:17 Duration: 5ms 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 ('2024-10-26 05:00:00', '0.136', '0.1372', '0.1341', '0.1364', '653', '515840247924778300', '0', '2024-10-26 05:10:21.532', '2024-10-26 05:10:21.495') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '0.136', high = '0.1372', low = '0.1341', close = '0.1364', volume = '653', bsf = '0', sastdatetimewritten = '2024-10-26 05:10:21.532', sastdatetimereceived = '2024-10-26 05:10:21.495';
Date: 2024-10-26 05:10:21 Duration: 5ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
10 581 631ms 0ms 13ms 1ms insert into autochartist_results (resultid, symbolid, bandwidth, pattern, qtytp, gmttimefound, direction, initialtrend, breakout, volumeincrease, noise, symmetry, predictionpricefrom, predictionpriceto, predictiontimefrom, predictiontimeto, patternstarttime, patternendtime, patternstartprice, patternendprice, resx0, resx1, supportx0, supportx1, resy0, resy1, supporty0, supporty1, supportgradient, resgradient, riskreward, patternquality, trendchange, maxmovementafterbreakout, latestbaratbreakouttime, latestbaratbreakoutprice, patternlengthbars, temporarypattern, relevancestartdistance, simulation, writtendatetime) values (?, ?, ?.?, ?, ?, ?::timestamp without time zone, ?, ?.?, ?.?, ?.?, ?.?, ?.?, ?.?, ?.?, ?::timestamp without time zone, ?::timestamp without time zone, ?::timestamp without time zone, ?::timestamp without time zone, ?.?, ?.?, ?::timestamp without time zone, ?::timestamp without time zone, ?::timestamp without time zone, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?.?, ?.?, ?.?, ?.?, ?, ?.?, ?::timestamp without time zone, ?.?, ?, ?, ?.?, ?, current_timestamp::timestamp without time zone) on conflict do nothing;Times Reported Time consuming queries #10
Day Hour Count Duration Avg duration Oct 26 05 581 631ms 1ms [ User: postgres - Total duration: 631ms - Times executed: 581 ]
[ Application: [unknown] - Total duration: 631ms - Times executed: 581 ]
-
INSERT INTO Autochartist_Results (ResultID, SymbolID, Bandwidth, Pattern, QtyTP, GMTTimeFound, Direction, InitialTrend, Breakout, VolumeIncrease, Noise, Symmetry, PredictionPriceFrom, PredictionPriceTo, PredictionTimeFrom, PredictionTimeTo, PatternStartTime, PatternEndTime, PatternStartPrice, PatternEndPrice, Resx0, Resx1, Supportx0, Supportx1, Resy0, Resy1, Supporty0, Supporty1, SupportGradient, ResGradient, RiskReward, PatternQuality, TrendChange, MaxMovementAfterBreakout, LatestBarAtBreakoutTime, LatestBarAtBreakoutPrice, PatternLengthBars, TemporaryPattern, relevancestartdistance, simulation, writtendatetime) VALUES ('5158402479900273000.1363|45590.8646|45591.0729|45590.5|45591.1042|0.1649|0.1634|0.1631|0.1603', 515840247990027300, 3.000000000000000000000000000000, 'Falling Wedge', 5, '2024-10-26 03:34:05'::timestamp without time zone, 1, 0.068583408206047580260000000000, 0.136289381563613643000000000000, 1.000000000000000000000000000000, 0.570023217351779187800000000000, 0.855528486113558139800000000000, 0.162406020200303757800000000000, 0.162862448480729005200000000000, '2024-10-26 06:15:00'::timestamp without time zone, '2024-10-26 15:22:30'::timestamp without time zone, '2024-10-25 08:45:00'::timestamp without time zone, '2024-10-26 06:15:00'::timestamp without time zone, 0.164369999999999988300000000000, 0.162047999999999997600000000000, '2024-10-25 20:45:00'::timestamp without time zone, '2024-10-26 01:45:00'::timestamp without time zone, '2024-10-25 12:00:00'::timestamp without time zone, '2024-10-26 02:30:00'::timestamp without time zone, 0.164860000000000006500000000000, 0.163379999999999997400000000000, 0.163110000000000005000000000000, 0.160280000000000005800000000000, - 0.000048793103448275850080000000, - 0.000074000000000000457020000000, 1.593865567520226900000000000000, 0.372594514632860029900000000000, 'Reversal', 0.000032000000000004247270000000, '2024-10-26 06:15:00'::timestamp without time zone, 0.162080000000000001800000000000, 73, 0, 0.001048750000000001070000000000, 0, CURRENT_TIMESTAMP::timestamp without time zone) ON CONFLICT DO NOTHING;
Date: 2024-10-26 05:35:30 Duration: 13ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
-
INSERT INTO Autochartist_Results (ResultID, SymbolID, Bandwidth, Pattern, QtyTP, GMTTimeFound, Direction, InitialTrend, Breakout, VolumeIncrease, Noise, Symmetry, PredictionPriceFrom, PredictionPriceTo, PredictionTimeFrom, PredictionTimeTo, PatternStartTime, PatternEndTime, PatternStartPrice, PatternEndPrice, Resx0, Resx1, Supportx0, Supportx1, Resy0, Resy1, Supporty0, Supporty1, SupportGradient, ResGradient, RiskReward, PatternQuality, TrendChange, MaxMovementAfterBreakout, LatestBarAtBreakoutTime, LatestBarAtBreakoutPrice, PatternLengthBars, TemporaryPattern, relevancestartdistance, simulation, writtendatetime) VALUES ('5158402493950543000.119|45591.0729|45591.2396|45591.1042|45591.25|379598|374173|362710.5|371408.5', 515840249395054300, 2.000000000000000000000000000000, 'Triangle', 4, '2024-10-26 03:39:29'::timestamp without time zone, 1, 0.202475570764907852900000000000, 0.118975631398195780300000000000, 0.111070199071995251400000000000, 0.748387801426513621400000000000, 0.678554588835667549200000000000, 376338.087349862675200000000000000000, 380037.009639670432100000000000000000, '2024-10-26 06:15:00'::timestamp without time zone, '2024-10-26 08:30:00'::timestamp without time zone, '2024-10-25 21:00:00'::timestamp without time zone, '2024-10-26 06:15:00'::timestamp without time zone, 373400.500000000000000000000000000000, 373494.875000000000000000000000000000, '2024-10-26 01:45:00'::timestamp without time zone, '2024-10-26 05:45:00'::timestamp without time zone, '2024-10-26 02:30:00'::timestamp without time zone, '2024-10-26 06:00:00'::timestamp without time zone, 379598.000000000000000000000000000000, 374173.000000000000000000000000000000, 362710.500000000000000000000000000000, 371408.500000000000000000000000000000, 621.285714285714334400000000000000, - 339.062500000000000000000000000000, 1.455401754495352140000000000000, 0.312904497393064362500000000000, 'Continuation', 201.125000000000000000000000000000, '2024-10-26 06:15:00'::timestamp without time zone, 373696.000000000000000000000000000000, 18, 0, 5185.750000000000000000000000000000, 0, CURRENT_TIMESTAMP::timestamp without time zone) ON CONFLICT DO NOTHING;
Date: 2024-10-26 05:40:53 Duration: 11ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
-
INSERT INTO Autochartist_Results (ResultID, SymbolID, Bandwidth, Pattern, QtyTP, GMTTimeFound, Direction, InitialTrend, Breakout, VolumeIncrease, Noise, Symmetry, PredictionPriceFrom, PredictionPriceTo, PredictionTimeFrom, PredictionTimeTo, PatternStartTime, PatternEndTime, PatternStartPrice, PatternEndPrice, Resx0, Resx1, Supportx0, Supportx1, Resy0, Resy1, Supporty0, Supporty1, SupportGradient, ResGradient, RiskReward, PatternQuality, TrendChange, MaxMovementAfterBreakout, LatestBarAtBreakoutTime, LatestBarAtBreakoutPrice, PatternLengthBars, TemporaryPattern, relevancestartdistance, simulation, writtendatetime) VALUES ('5158402305040563000.7175|45589.7083|45590.2396|45589.8021|45590.2292|1.299|1.2975|1.295|1.2969', 515840230504056300, 3.000000000000000000000000000000, 'Triangle', 5, '2024-10-26 03:23:39'::timestamp without time zone, - 1, 0.655972009063239269700000000000, 0.717491289198673443100000000000, 0.198306484923585241200000000000, 0.365713986396095813700000000000, 0.379019784455404240600000000000, 1.293908716777125489000000000000, 1.295583631990468998000000000000, '2024-10-25 06:00:00'::timestamp without time zone, '2024-10-25 12:30:00'::timestamp without time zone, '2024-10-24 02:00:00'::timestamp without time zone, '2024-10-25 06:00:00'::timestamp without time zone, 1.291090000000000071000000000000, 1.296973170731707370000000000000, '2024-10-24 17:00:00'::timestamp without time zone, '2024-10-25 05:45:00'::timestamp without time zone, '2024-10-24 19:15:00'::timestamp without time zone, '2024-10-25 05:30:00'::timestamp without time zone, 1.298980000000000024000000000000, 1.297460000000000058000000000000, 1.294969999999999954000000000000, 1.296880000000000033000000000000, 0.000046585365853660445230000000, - 0.000029803921568626782040000000, 2.479496264842485864000000000000, 0.596692274080305340400000000000, 'Reversal', - 0.000193170731707326126500000000, '2024-10-25 06:00:00'::timestamp without time zone, 1.296780000000000044000000000000, 52, 0, 0.001072500000000004006000000000, 0, CURRENT_TIMESTAMP::timestamp without time zone) ON CONFLICT DO NOTHING;
Date: 2024-10-26 05:25:03 Duration: 10ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
11 485 1s523ms 2ms 35ms 3ms 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 #11
Day Hour Count Duration Avg duration Oct 26 05 485 1s523ms 3ms [ User: postgres - Total duration: 1s523ms - Times executed: 485 ]
[ Application: [unknown] - Total duration: 1s523ms - Times executed: 485 ]
-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 13:00:00'::timestamp without time zone, 0.67055, 0.67055, 0.6701, 0.6701, 1266, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 13:30:00'::timestamp without time zone, 0.67015, 0.6707, 0.66985, 0.67045, 1736, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 14:00:00'::timestamp without time zone, 0.6705, 0.6705, 0.66995, 0.6701, 3930, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 14:30:00'::timestamp without time zone, 0.67005, 0.67015, 0.6699, 0.66995, 4244, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 15:00:00'::timestamp without time zone, 0.67, 0.67015, 0.6697, 0.67, 2150, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 15:30:00'::timestamp without time zone, 0.67, 0.67015, 0.6698, 0.66995, 2768, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 16:00:00'::timestamp without time zone, 0.66995, 0.67005, 0.6698, 0.6699, 1728, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 16:30:00'::timestamp without time zone, 0.66995, 0.67015, 0.6699, 0.6701, 620, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 18:00:00'::timestamp without time zone, 0.67, 0.6704, 0.67, 0.67025, 762, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 18:30:00'::timestamp without time zone, 0.6703, 0.6704, 0.67, 0.67005, 662, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 19:00:00'::timestamp without time zone, 0.6701, 0.67025, 0.66995, 0.67, 1212, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 19:30:00'::timestamp without time zone, 0.67, 0.6706, 0.66985, 0.67035, 1440, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 20:00:00'::timestamp without time zone, 0.67035, 0.67075, 0.67005, 0.67005, 2478, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 20:30:00'::timestamp without time zone, 0.67005, 0.67085, 0.6698, 0.67025, 1976, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 21:00:00'::timestamp without time zone, 0.67025, 0.67105, 0.67025, 0.67105, 1572, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 21:30:00'::timestamp without time zone, 0.6711, 0.6712, 0.67065, 0.67085, 1788, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 22:00:00'::timestamp without time zone, 0.6709, 0.67155, 0.67055, 0.671, 3584, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 22:30:00'::timestamp without time zone, 0.671, 0.67225, 0.671, 0.6714, 3862, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 23:00:00'::timestamp without time zone, 0.67135, 0.67155, 0.67075, 0.67105, 2124, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 23:30:00'::timestamp without time zone, 0.67105, 0.6712, 0.67055, 0.6709, 1108, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 00:00:00'::timestamp without time zone, 0.6709, 0.67105, 0.67065, 0.67085, 698, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 00:30:00'::timestamp without time zone, 0.6708, 0.67115, 0.67055, 0.67065, 1226, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 01:00:00'::timestamp without time zone, 0.6707, 0.67115, 0.67025, 0.6704, 2530, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 01:30:00'::timestamp without time zone, 0.6704, 0.6713, 0.6704, 0.6712, 1710, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 02:00:00'::timestamp without time zone, 0.67115, 0.672, 0.67085, 0.67175, 3594, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 02:30:00'::timestamp without time zone, 0.67175, 0.672, 0.67125, 0.6716, 3544, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 03:00:00'::timestamp without time zone, 0.6716, 0.67195, 0.6715, 0.67155, 2670, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 03:30:00'::timestamp without time zone, 0.6716, 0.6722, 0.67145, 0.6718, 2334, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 04:00:00'::timestamp without time zone, 0.6718, 0.6721, 0.67165, 0.6719, 1324, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 04:30:00'::timestamp without time zone, 0.67195, 0.672, 0.6716, 0.6716, 3180, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 05:00:00'::timestamp without time zone, 0.67165, 0.67195, 0.67145, 0.6717, 1266, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 05:30:00'::timestamp without time zone, 0.6717, 0.6718, 0.6714, 0.67155, 794, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 06:00:00'::timestamp without time zone, 0.67155, 0.67155, 0.6711, 0.67125, 1460, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 06:30:00'::timestamp without time zone, 0.6713, 0.67185, 0.6713, 0.67175, 1854, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 07:00:00'::timestamp without time zone, 0.67175, 0.67185, 0.67155, 0.67155, 1398, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 07:30:00'::timestamp without time zone, 0.67155, 0.6718, 0.6714, 0.6716, 1688, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 08:00:00'::timestamp without time zone, 0.6716, 0.67175, 0.67135, 0.6716, 1452, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 08:30:00'::timestamp without time zone, 0.6717, 0.67205, 0.67155, 0.67175, 3788, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 09:00:00'::timestamp without time zone, 0.67175, 0.6724, 0.6717, 0.67235, 5348, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 09:30:00'::timestamp without time zone, 0.6723, 0.67235, 0.67135, 0.6715, 3502, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 10:00:00'::timestamp without time zone, 0.67145, 0.6716, 0.6708, 0.671, 3500, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 10:30:00'::timestamp without time zone, 0.671, 0.6715, 0.67085, 0.67105, 5494, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 11:00:00'::timestamp without time zone, 0.67105, 0.67115, 0.6708, 0.67105, 3738, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 11:30:00'::timestamp without time zone, 0.6711, 0.6711, 0.67025, 0.6704, 2650, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 12:00:00'::timestamp without time zone, 0.67035, 0.67105, 0.67025, 0.67105, 2018, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 12:30:00'::timestamp without time zone, 0.67105, 0.6715, 0.6709, 0.67135, 1670, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 13:00:00'::timestamp without time zone, 0.6713, 0.67135, 0.6708, 0.6708, 906, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 13:30:00'::timestamp without time zone, 0.67075, 0.6709, 0.67045, 0.6708, 1180, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 14:00:00'::timestamp without time zone, 0.67075, 0.671, 0.67065, 0.6709, 1102, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 14:30:00'::timestamp without time zone, 0.6709, 0.67105, 0.67055, 0.6708, 2260, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 15:00:00'::timestamp without time zone, 0.6708, 0.67085, 0.6705, 0.6708, 2430, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING;
Date: 2024-10-26 05:11:19 Duration: 35ms 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, '2024-10-18 15:30:00'::timestamp without time zone, 0.6708, 0.6709, 0.67065, 0.67075, 1976, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 16:00:00'::timestamp without time zone, 0.6707, 0.67105, 0.67065, 0.671, 2034, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 16:30:00'::timestamp without time zone, 0.671, 0.6711, 0.67085, 0.6711, 627, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-20 18:00:00'::timestamp without time zone, 0.6711, 0.6718, 0.6708, 0.67155, 855, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-20 18:30:00'::timestamp without time zone, 0.6715, 0.6719, 0.6713, 0.6719, 560, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-20 19:00:00'::timestamp without time zone, 0.6719, 0.672, 0.67155, 0.67165, 416, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-20 19:30:00'::timestamp without time zone, 0.67165, 0.6718, 0.6712, 0.6718, 456, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-20 20:00:00'::timestamp without time zone, 0.6718, 0.67205, 0.6711, 0.6713, 709, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-20 20:30:00'::timestamp without time zone, 0.67135, 0.6715, 0.6709, 0.6712, 573, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-20 21:00:00'::timestamp without time zone, 0.6712, 0.67205, 0.6712, 0.67185, 1214, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-20 21:30:00'::timestamp without time zone, 0.67185, 0.67275, 0.67175, 0.67185, 2205, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-20 22:00:00'::timestamp without time zone, 0.67175, 0.6724, 0.67175, 0.6723, 807, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-20 22:30:00'::timestamp without time zone, 0.67235, 0.67235, 0.6717, 0.67185, 473, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-20 23:00:00'::timestamp without time zone, 0.67185, 0.67215, 0.6718, 0.67195, 422, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-20 23:30:00'::timestamp without time zone, 0.67195, 0.67235, 0.67185, 0.67205, 228, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 00:00:00'::timestamp without time zone, 0.67205, 0.67215, 0.67175, 0.6718, 301, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 00:30:00'::timestamp without time zone, 0.6718, 0.6718, 0.6707, 0.67085, 1194, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 01:00:00'::timestamp without time zone, 0.67085, 0.671, 0.6704, 0.67055, 897, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 01:30:00'::timestamp without time zone, 0.6705, 0.6706, 0.66995, 0.67035, 854, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 02:00:00'::timestamp without time zone, 0.67035, 0.67035, 0.66915, 0.66935, 2580, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 02:30:00'::timestamp without time zone, 0.66935, 0.6696, 0.66865, 0.669, 2259, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 03:00:00'::timestamp without time zone, 0.66905, 0.6698, 0.66895, 0.66935, 1799, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 03:30:00'::timestamp without time zone, 0.66935, 0.66975, 0.6691, 0.66935, 1352, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 04:00:00'::timestamp without time zone, 0.6693, 0.6696, 0.66915, 0.66935, 881, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 04:30:00'::timestamp without time zone, 0.66935, 0.6697, 0.66925, 0.66955, 541, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 05:00:00'::timestamp without time zone, 0.66955, 0.66965, 0.66915, 0.66945, 507, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 05:30:00'::timestamp without time zone, 0.66945, 0.6697, 0.66865, 0.6687, 793, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 06:00:00'::timestamp without time zone, 0.66865, 0.6688, 0.6684, 0.66855, 1229, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 06:30:00'::timestamp without time zone, 0.66855, 0.66885, 0.66855, 0.6686, 873, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 07:00:00'::timestamp without time zone, 0.66865, 0.66915, 0.66865, 0.6691, 868, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 07:30:00'::timestamp without time zone, 0.6691, 0.6693, 0.669, 0.6692, 728, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 08:00:00'::timestamp without time zone, 0.66915, 0.66965, 0.66895, 0.6696, 1600, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 08:30:00'::timestamp without time zone, 0.66965, 0.67035, 0.66955, 0.66965, 3475, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 09:00:00'::timestamp without time zone, 0.6696, 0.6697, 0.66905, 0.6692, 1044, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 09:30:00'::timestamp without time zone, 0.6693, 0.66995, 0.6693, 0.66945, 1611, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 10:00:00'::timestamp without time zone, 0.6695, 0.66955, 0.66855, 0.66865, 1449, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 10:30:00'::timestamp without time zone, 0.6687, 0.6687, 0.6676, 0.6677, 4471, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 11:00:00'::timestamp without time zone, 0.66765, 0.6677, 0.6662, 0.6662, 4866, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 11:30:00'::timestamp without time zone, 0.6662, 0.66655, 0.666, 0.6663, 2983, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 12:00:00'::timestamp without time zone, 0.66625, 0.6663, 0.66595, 0.6662, 1720, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 12:30:00'::timestamp without time zone, 0.66625, 0.6665, 0.66605, 0.6664, 835, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 13:00:00'::timestamp without time zone, 0.66645, 0.66665, 0.66635, 0.6666, 1383, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 13:30:00'::timestamp without time zone, 0.66665, 0.6667, 0.66635, 0.66655, 1214, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 14:00:00'::timestamp without time zone, 0.66655, 0.66665, 0.6663, 0.66645, 708, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 14:30:00'::timestamp without time zone, 0.66645, 0.66655, 0.6657, 0.66585, 4768, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 15:00:00'::timestamp without time zone, 0.66585, 0.6664, 0.6658, 0.66605, 2246, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 15:30:00'::timestamp without time zone, 0.66605, 0.66645, 0.66585, 0.66625, 1767, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 16:00:00'::timestamp without time zone, 0.66625, 0.66635, 0.66605, 0.6662, 1111, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 16:30:00'::timestamp without time zone, 0.66615, 0.6663, 0.66605, 0.66625, 771, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 18:00:00'::timestamp without time zone, 0.66625, 0.6663, 0.666, 0.6662, 346, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 18:30:00'::timestamp without time zone, 0.66615, 0.66615, 0.66565, 0.66565, 374, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING;
Date: 2024-10-26 05:11:19 Duration: 26ms 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, '2024-10-21 19:00:00'::timestamp without time zone, 0.6657, 0.66605, 0.66565, 0.66595, 412, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 19:30:00'::timestamp without time zone, 0.666, 0.66605, 0.6656, 0.6658, 677, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 20:00:00'::timestamp without time zone, 0.6658, 0.6661, 0.6656, 0.6659, 1431, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 20:30:00'::timestamp without time zone, 0.6659, 0.6663, 0.6655, 0.6659, 1658, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 21:00:00'::timestamp without time zone, 0.6659, 0.6668, 0.66585, 0.6666, 1463, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 21:30:00'::timestamp without time zone, 0.6667, 0.66705, 0.66645, 0.6669, 1142, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 22:00:00'::timestamp without time zone, 0.6669, 0.66735, 0.66685, 0.6672, 1007, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 22:30:00'::timestamp without time zone, 0.6672, 0.66765, 0.6671, 0.66725, 1066, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 23:00:00'::timestamp without time zone, 0.66725, 0.6684, 0.66725, 0.6684, 1932, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 23:30:00'::timestamp without time zone, 0.66835, 0.66895, 0.6683, 0.6689, 1991, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 00:00:00'::timestamp without time zone, 0.66885, 0.6692, 0.66855, 0.66915, 1167, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 00:30:00'::timestamp without time zone, 0.66915, 0.6693, 0.6687, 0.6691, 1589, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 01:00:00'::timestamp without time zone, 0.66905, 0.66935, 0.66895, 0.66935, 917, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 01:30:00'::timestamp without time zone, 0.66935, 0.66955, 0.66845, 0.6685, 2789, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 02:00:00'::timestamp without time zone, 0.6685, 0.6697, 0.6685, 0.66945, 2213, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 02:30:00'::timestamp without time zone, 0.66945, 0.66945, 0.6688, 0.6688, 1387, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 03:00:00'::timestamp without time zone, 0.66875, 0.6692, 0.66875, 0.66895, 1743, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 03:30:00'::timestamp without time zone, 0.6689, 0.66905, 0.6684, 0.6686, 1263, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 04:00:00'::timestamp without time zone, 0.66855, 0.669, 0.66855, 0.6687, 1216, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 04:30:00'::timestamp without time zone, 0.6687, 0.6688, 0.6683, 0.6683, 910, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 05:00:00'::timestamp without time zone, 0.66825, 0.66865, 0.6682, 0.66845, 886, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 05:30:00'::timestamp without time zone, 0.6684, 0.6689, 0.6683, 0.66845, 761, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 06:00:00'::timestamp without time zone, 0.66845, 0.66915, 0.66845, 0.669, 1297, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 06:30:00'::timestamp without time zone, 0.66905, 0.6692, 0.66875, 0.66885, 758, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 07:00:00'::timestamp without time zone, 0.66885, 0.6692, 0.66875, 0.66915, 636, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 07:30:00'::timestamp without time zone, 0.66915, 0.66915, 0.6687, 0.66885, 837, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 08:00:00'::timestamp without time zone, 0.66885, 0.6695, 0.66885, 0.66915, 2011, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 08:30:00'::timestamp without time zone, 0.6691, 0.66945, 0.6687, 0.669, 3260, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 09:00:00'::timestamp without time zone, 0.66895, 0.6698, 0.66885, 0.66965, 2990, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 09:30:00'::timestamp without time zone, 0.6697, 0.66995, 0.66855, 0.66885, 3502, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 10:00:00'::timestamp without time zone, 0.66885, 0.669, 0.66835, 0.66845, 2683, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 10:30:00'::timestamp without time zone, 0.6685, 0.66895, 0.66845, 0.6686, 3223, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 11:00:00'::timestamp without time zone, 0.66865, 0.66895, 0.66845, 0.66875, 2379, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 11:30:00'::timestamp without time zone, 0.66875, 0.66885, 0.66815, 0.6683, 1293, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 12:00:00'::timestamp without time zone, 0.66825, 0.6684, 0.66805, 0.66835, 1085, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 12:30:00'::timestamp without time zone, 0.66835, 0.66875, 0.6683, 0.66875, 835, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 13:00:00'::timestamp without time zone, 0.66875, 0.66895, 0.6686, 0.66875, 837, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 13:30:00'::timestamp without time zone, 0.6688, 0.66945, 0.6688, 0.66935, 907, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 14:00:00'::timestamp without time zone, 0.66935, 0.6694, 0.6687, 0.66895, 795, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 14:30:00'::timestamp without time zone, 0.66895, 0.6691, 0.6685, 0.6685, 1778, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 15:00:00'::timestamp without time zone, 0.66855, 0.6689, 0.66835, 0.66885, 977, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 15:30:00'::timestamp without time zone, 0.66885, 0.66895, 0.6685, 0.6685, 701, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 16:00:00'::timestamp without time zone, 0.66855, 0.66855, 0.66825, 0.66845, 559, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 16:30:00'::timestamp without time zone, 0.66845, 0.66875, 0.6684, 0.66865, 345, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 18:00:00'::timestamp without time zone, 0.6687, 0.6688, 0.66855, 0.66875, 151, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 18:30:00'::timestamp without time zone, 0.6688, 0.66895, 0.6686, 0.66865, 188, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 19:00:00'::timestamp without time zone, 0.66875, 0.66875, 0.6684, 0.66845, 190, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 19:30:00'::timestamp without time zone, 0.6684, 0.6687, 0.6684, 0.6686, 205, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 20:00:00'::timestamp without time zone, 0.66855, 0.6694, 0.66835, 0.66925, 906, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 20:30:00'::timestamp without time zone, 0.6692, 0.6692, 0.66735, 0.6675, 1768, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 21:00:00'::timestamp without time zone, 0.6675, 0.6678, 0.66665, 0.66675, 1502, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING;
Date: 2024-10-26 05:11:19 Duration: 22ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
12 414 162ms 0ms 4ms 0ms update patternresultsrelevance set relevant = ?, saxo_relevant = ?, notrelevantpricedatetime = ?, reason = ? where uniqueindex = ? and relevant = ?;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Oct 26 05 414 162ms 0ms [ User: postgres - Total duration: 162ms - Times executed: 414 ]
[ Application: [unknown] - Total duration: 162ms - Times executed: 414 ]
-
UPDATE patternresultsrelevance SET relevant = 0, saxo_relevant = 0, notrelevantpricedatetime = '2024-10-25 06:00:00', reason = 'Pattern is too old to be relevant. PEIndex at 601 vs 612' WHERE uniqueIndex = '5158402305269043000.1478|45588.4167|45589.9375|45588.875|45588.9583|20541.75|20408|20079.5|20206.5' and relevant = 1;
Date: 2024-10-26 05:40:41 Duration: 4ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
-
UPDATE patternresultsrelevance SET relevant = 0, saxo_relevant = 0, notrelevantpricedatetime = '2024-10-26 05:30:00', reason = 'Pattern is too old to be relevant.' WHERE uniqueIndex = 'ABCD|1|2024-10-25 11:15:00|0.136782|-1|4|44|BC=0.618*AB (0.61)|0|515840249471231300|1899-12-29 00:00:00|2024-10-25 17:30:00|2024-10-25 21:00:00|2024-10-26 01:00:00|1899-12-29 00:00:00' and relevant = 1;
Date: 2024-10-26 05:10:35 Duration: 3ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
-
UPDATE patternresultsrelevance SET relevant = 0, saxo_relevant = 0, notrelevantpricedatetime = '2024-10-25 06:15:00', reason = 'Approaching pattern wick broke through price level.' WHERE uniqueIndex = '|515840230488508300|1.12275|2|2024-10-25 06:00:00|2024-10-25 06:00:00|-1|-1' and relevant = 1;
Date: 2024-10-26 05:41:01 Duration: 2ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
13 392 160ms 0ms 0ms 0ms select xmlforest("name" as value, total as total, correct as correct, percentage as percentage, "from" AS "from", "to" AS "to") from stats_summary as data where statsid = ? and lower(category) = lower(?) order by cast("name" as float);Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Oct 26 05 392 160ms 0ms [ User: postgres - Total duration: 160ms - Times executed: 392 ]
[ Application: [unknown] - Total duration: 160ms - Times executed: 392 ]
-
select xmlforest("name" as value, total as total, correct as correct, percentage as percentage, "from" as "from", "to" as "to") from stats_summary as data where statsid = 601729875339881307 and lower(category) = lower('symmetry') order by cast("name" as float);
Date: 2024-10-26 05:04:47 Duration: 0ms Database: acaweb_fx User: postgres Remote: 192.168.2.44 Application: [unknown] Bind query: yes
-
select xmlforest("name" as value, total as total, correct as correct, percentage as percentage, "from" as "from", "to" as "to") from stats_summary as data where statsid = 601729875339881307 and lower(category) = lower('direction') order by cast("name" as float);
Date: 2024-10-26 05:04:37 Duration: 0ms Database: acaweb_fx User: postgres Remote: 192.168.2.44 Application: [unknown] Bind query: yes
-
select xmlforest("name" as value, total as total, correct as correct, percentage as percentage, "from" as "from", "to" as "to") from stats_summary as data where statsid = 601729875357715307 and lower(category) = lower('hourofday') order by cast("name" as float);
Date: 2024-10-26 05:05:54 Duration: 0ms Database: acaweb_fx User: postgres Remote: 192.168.2.44 Application: [unknown] Bind query: yes
14 388 1s952ms 0ms 17ms 5ms select open as _open, high as _high, low as _low, close "..." _close, volume as _volume, pricedatetime as _pricedatetime from ( select open, high, low, close, volume, pricedatetime from t15 where pricedatetime >= current_timestamp - interval ? and symbolid = ? union all select open, high, low, close, volume, pricedatetime from t15_ps where pricedatetime >= current_timestamp - interval ? and symbolid = ? order by pricedatetime desc limit ?) a order by _pricedatetime asc;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Oct 26 05 388 1s952ms 5ms [ User: postgres - Total duration: 1s952ms - Times executed: 388 ]
[ Application: [unknown] - Total duration: 1s952ms - Times executed: 388 ]
-
select open as _open, high as _high, low as _low, close as _close, volume as _volume, pricedatetime as _pricedatetime FROM ( select open, high, low, close, volume, pricedatetime FROM T15 WHERE pricedatetime >= current_timestamp - interval '180 days' and symbolid = 515840249510241300 union all select open, high, low, close, volume, pricedatetime FROM T15_ps WHERE pricedatetime >= current_timestamp - interval '180 days' and symbolid = 515840249510241300 order by pricedatetime desc limit 672) a order by _pricedatetime asc;
Date: 2024-10-26 05:46:23 Duration: 17ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
-
select open as _open, high as _high, low as _low, close as _close, volume as _volume, pricedatetime as _pricedatetime FROM ( select open, high, low, close, volume, pricedatetime FROM T15 WHERE pricedatetime >= current_timestamp - interval '180 days' and symbolid = 515840249510241300 union all select open, high, low, close, volume, pricedatetime FROM T15_ps WHERE pricedatetime >= current_timestamp - interval '180 days' and symbolid = 515840249510241300 order by pricedatetime desc limit 672) a order by _pricedatetime asc;
Date: 2024-10-26 05:11:18 Duration: 14ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
-
select open as _open, high as _high, low as _low, close as _close, volume as _volume, pricedatetime as _pricedatetime FROM ( select open, high, low, close, volume, pricedatetime FROM T15 WHERE pricedatetime >= current_timestamp - interval '180 days' and symbolid = 515840221187622300 union all select open, high, low, close, volume, pricedatetime FROM T15_ps WHERE pricedatetime >= current_timestamp - interval '180 days' and symbolid = 515840221187622300 order by pricedatetime desc limit 672) a order by _pricedatetime asc;
Date: 2024-10-26 05:46:29 Duration: 13ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
15 308 541ms 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 #15
Day Hour Count Duration Avg duration Oct 26 05 308 541ms 1ms [ User: postgres - Total duration: 541ms - Times executed: 308 ]
[ Application: [unknown] - Total duration: 522ms - Times executed: 300 ]
[ 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 'GO_MARKETS') AS subquery WHERE datafeeds_latestrun.feedname ilike 'GO_MARKETS';
Date: 2024-10-26 05:43: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: 2024-10-26 05:13:48 Duration: 2ms 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 'AKFX') AS subquery WHERE datafeeds_latestrun.feedname ilike 'AKFX';
Date: 2024-10-26 05:03:01 Duration: 2ms Database: acaweb_fx User: postgres Remote: [local] Application: psql
16 306 132ms 0ms 12ms 0ms commit;Times Reported Time consuming queries #16
Day Hour Count Duration Avg duration Oct 26 05 306 132ms 0ms [ User: postgres - Total duration: 132ms - Times executed: 306 ]
[ Application: [unknown] - Total duration: 132ms - Times executed: 306 ]
-
COMMIT;
Date: 2024-10-26 05:01:19 Duration: 12ms Database: acaweb_fx User: postgres Remote: 192.168.4.98 Application: [unknown]
-
COMMIT;
Date: 2024-10-26 05:49:17 Duration: 1ms Database: acaweb_fx User: postgres Remote: 192.168.4.98 Application: [unknown]
-
COMMIT;
Date: 2024-10-26 05:31:17 Duration: 1ms Database: acaweb_fx User: postgres Remote: 192.168.4.98 Application: [unknown]
17 306 9ms 0ms 0ms 0ms begin;Times Reported Time consuming queries #17
Day Hour Count Duration Avg duration Oct 26 05 306 9ms 0ms [ User: postgres - Total duration: 9ms - Times executed: 306 ]
[ Application: [unknown] - Total duration: 9ms - Times executed: 306 ]
-
BEGIN;
Date: 2024-10-26 05:16:16 Duration: 0ms Database: acaweb_fx User: postgres Remote: 192.168.4.98 Application: [unknown]
-
BEGIN;
Date: 2024-10-26 05:43:48 Duration: 0ms Database: acaweb_fx User: postgres Remote: 192.168.4.98 Application: [unknown]
-
BEGIN;
Date: 2024-10-26 05:38:48 Duration: 0ms Database: acaweb_fx User: postgres Remote: 192.168.4.98 Application: [unknown]
18 288 149ms 0ms 3ms 0ms insert into t1440_underlying (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?) on conflict (pricedatetime, symbolid) do update set open = ?, high = ?, low = ?, close = ?, volume = ?, bsf = ?, sastdatetimewritten = ?, sastdatetimereceived = ?;Times Reported Time consuming queries #18
Day Hour Count Duration Avg duration Oct 26 05 288 149ms 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 ('2024-10-25 00:00:00', '1.082745', '1.08393', '1.07931', '1.079665', '30803', '515840249373173300', '0', '2024-10-26 05:57:12.145', '2024-10-26 05:57:12.144') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '1.082745', high = '1.08393', low = '1.07931', close = '1.079665', volume = '30803', bsf = '0', sastdatetimewritten = '2024-10-26 05:57:12.145', sastdatetimereceived = '2024-10-26 05:57:12.144';
Date: 2024-10-26 05:57:12 Duration: 3ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
-
INSERT INTO T1440_underlying (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ('2024-10-25 00:00:00', '0.865495', '0.867455', '0.865055', '0.866835', '39912', '515840249379276300', '0', '2024-10-26 05:56:13.067', '2024-10-26 05:56:13.066') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '0.865495', high = '0.867455', low = '0.865055', close = '0.866835', volume = '39912', bsf = '0', sastdatetimewritten = '2024-10-26 05:56:13.067', sastdatetimereceived = '2024-10-26 05:56:13.066';
Date: 2024-10-26 05:56:13 Duration: 3ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
-
INSERT INTO T1440_underlying (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ('2024-10-25 00:00:00', '1.082745', '1.08393', '1.07931', '1.079665', '30803', '515840249373173300', '0', '2024-10-26 05:27:11.385', '2024-10-26 05:27:11.385') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '1.082745', high = '1.08393', low = '1.07931', close = '1.079665', volume = '30803', bsf = '0', sastdatetimewritten = '2024-10-26 05:27:11.385', sastdatetimereceived = '2024-10-26 05:27:11.385';
Date: 2024-10-26 05:27:11 Duration: 3ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
19 288 23ms 0ms 0ms 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 #19
Day Hour Count Duration Avg duration Oct 26 05 288 23ms 0ms [ User: postgres - Total duration: 23ms - Times executed: 288 ]
[ Application: [unknown] - Total duration: 23ms - Times executed: 288 ]
-
INSERT INTO T240 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ('2024-10-25 20:00:00', '0.8662', '0.86685', '0.865665', '0.866835', '5864', '515840249378973300', '0', '2024-10-26 05:56:13.074', '2024-10-26 05:56:13.055') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '0.8662', high = '0.86685', low = '0.865665', close = '0.866835', volume = '5864', bsf = '0', sastdatetimewritten = '2024-10-26 05:56:13.074', sastdatetimereceived = '2024-10-26 05:56:13.055';
Date: 2024-10-26 05:56:13 Duration: 0ms 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 ('2024-10-25 20:00:00', '75.8', '75.94', '75.51', '75.845', '3138', '515840249390499300', '0', '2024-10-26 05:12:16.786', '2024-10-26 05:12:16.538') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '75.8', high = '75.94', low = '75.51', close = '75.845', volume = '3138', bsf = '0', sastdatetimewritten = '2024-10-26 05:12:16.786', sastdatetimereceived = '2024-10-26 05:12:16.538';
Date: 2024-10-26 05:12:16 Duration: 0ms 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 ('2024-10-25 20:00:00', '1.08057', '1.080655', '1.07931', '1.079665', '5065', '515840249373009300', '0', '2024-10-26 05:27:11.392', '2024-10-26 05:27:11.27') ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = '1.08057', high = '1.080655', low = '1.07931', close = '1.079665', volume = '5065', bsf = '0', sastdatetimewritten = '2024-10-26 05:27:11.392', sastdatetimereceived = '2024-10-26 05:27:11.27';
Date: 2024-10-26 05:27:11 Duration: 0ms Database: acaweb_fx User: postgres Remote: 192.168.4.142 Application: [unknown] Bind query: yes
20 285 41m29s 737ms 48s465ms 8s734ms with rar_max as ( select resultuid from relevance_keylevels_results order by resultuid desc limit ? ), kr as ( select a.*, rr.age, rr.relevant from keylevels_results a left outer join relevance_keylevels_results rr on a.resultuid = rr.resultuid where case when false = ? then true else a.resultuid > ( select min(resultuid) from relevance_keylevels_results) end ), all_results as ( select kr.resultuid as resultuid, kr.direction as direction, s.exchange as exchange, s.symbolid as symbolid, coalesce(bim.code, s.symbol) as symbol_code, s.longname as symbol_name, s.timegranularity as interval, p.patternname as pattern_name, kr.breakout as breakout, kr.atbaridentified as identified, dtt.timezone as timezone, kr.patternlengthbars as length, g.basegroupname, newlevels.filtered, case when kr.age is not null then kr.age when kr.resultuid <= rm.resultuid then ? else ? end as age, case when kr.relevant is not null then kr.relevant when kr.resultuid <= rm.resultuid then ? else ? end as relevant, cps.pip from kr inner join brokersymbollist bsl on bsl.brokerid = ? and bsl.symbolid = kr.symbolid inner join symbols s on bsl.symbolid = s.symbolid and s.nonliquid = ? inner join symbolgroup sg on s.symbolid = sg.symbolid inner join groups g on sg.groupid = g.groupid inner join brokergroups bg on g.groupid = bg.groupid and bsl.brokerid = bg.brokerid inner join hrspatterns p on kr.patternid = p.patternid inner join downloadersymbolsettings dss on s.symbolid = dss.symbolid inner join datafeedstimetable dtt on dss.classname = dtt.classname and dtt.dayofweek = ? inner join rar_max rm on ? = ? left outer join autochartist_symbolupdates au on dss.symbolid = au.symbolid left outer join relevance_keylevels_results rar on rar.resultuid = kr.resultuid left join lateral calc_kl_signal_filter (kr.resultuid) newlevels on true left join currencypips cps on cps.symbol = s.symbol left outer join brokerinstrumentmap bim on dss.datafeedinstrumentid = bim.datafeedinstrumentid and bim.brokerid = bsl.brokerid and bim.type = ? where kr.gmttimefound > now() - interval ? and dss.enabled = ? and s.deleted = ? and (kr.simulation = ? or kr.simulation is null) and (? = ? or s.timegranularity in (...)) and (? = ? or s.exchange in (...)) and (? = ? or coalesce(bim.code, s.symbol) in (...)) and (? = ? or p.patternname in (...)) and (? = ? or kr.patternclassid in (...)) and (? = ? or kr.patternlengthbars <= ?) and kr.patternstarttime::timestamp without time zone >= coalesce(au.earliestpricedatetime, ?::timestamp without time zone) -- to make sure patternstarttime is in our t-tables ), results as ( select distinct on (symbolid) * from all_results where (false = ? or relevant = ?) and (? = ? or age <= ?) order by symbolid, resultuid ) select * from results order by identified desc, length desc limit ?;Times Reported Time consuming queries #20
Day Hour Count Duration Avg duration Oct 26 05 285 41m29s 8s734ms [ User: postgres - Total duration: 41m29s - Times executed: 285 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 40m26s - Times executed: 279 ]
[ Application: [unknown] - Total duration: 1m2s - Times executed: 6 ]
-
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 ('0' = 0 OR s.timegranularity in ('0')) AND ('0' = 0 OR s.exchange in ('')) AND ('0' = 0 OR coalesce(bim.code, s.symbol) in ('')) AND ('0' = 0 OR p.patternname in ('')) AND ('0' = 0 OR kr.patternclassid in ('0')) AND ('0' = 0 OR kr.patternlengthbars <= '0') AND kr.patternstarttime::timestamp without time zone >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('0' = 0 OR age <= '0') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC LIMIT 200;
Date: 2024-10-26 05:02:20 Duration: 48s465ms Database: acaweb_fx User: postgres Remote: 192.168.1.250 Application: PostgreSQL JDBC Driver Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1 ), kr AS ( SELECT a.*, rr.age, rr.relevant from keylevels_results a LEFT OUTER JOIN relevance_keylevels_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_keylevels_results) END ), all_results AS ( SELECT kr.resultuid AS resultuid, kr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, p.patternname AS pattern_name, kr.breakout AS breakout, kr.atbaridentified AS identified, dtt.timezone AS timezone, kr.patternlengthbars AS length, g.basegroupname, newLevels.filtered, CASE WHEN kr.age IS NOT NULL THEN kr.age WHEN kr.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN kr.relevant IS NOT NULL THEN kr.relevant WHEN kr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip FROM kr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '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 ('0' = 0 OR s.timegranularity in ('0')) AND ('0' = 0 OR s.exchange in ('')) AND ('0' = 0 OR coalesce(bim.code, s.symbol) in ('')) AND ('0' = 0 OR p.patternname in ('')) AND ('0' = 0 OR kr.patternclassid in ('0')) AND ('0' = 0 OR kr.patternlengthbars <= '0') AND kr.patternstarttime::timestamp without time zone >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('0' = 0 OR age <= '0') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC LIMIT 200;
Date: 2024-10-26 05:11:41 Duration: 40s342ms Database: acaweb_fx User: postgres Remote: 192.168.1.250 Application: PostgreSQL JDBC Driver Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1 ), kr AS ( SELECT a.*, rr.age, rr.relevant from keylevels_results a LEFT OUTER JOIN relevance_keylevels_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_keylevels_results) END ), all_results AS ( SELECT kr.resultuid AS resultuid, kr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, p.patternname AS pattern_name, kr.breakout AS breakout, kr.atbaridentified AS identified, dtt.timezone AS timezone, kr.patternlengthbars AS length, g.basegroupname, newLevels.filtered, CASE WHEN kr.age IS NOT NULL THEN kr.age WHEN kr.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN kr.relevant IS NOT NULL THEN kr.relevant WHEN kr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip FROM kr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '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 ('0' = 0 OR s.timegranularity in ('0')) AND ('0' = 0 OR s.exchange in ('')) AND ('0' = 0 OR coalesce(bim.code, s.symbol) in ('')) AND ('0' = 0 OR p.patternname in ('')) AND ('0' = 0 OR kr.patternclassid in ('0')) AND ('0' = 0 OR kr.patternlengthbars <= '0') AND kr.patternstarttime::timestamp without time zone >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('0' = 0 OR age <= '0') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC LIMIT 200;
Date: 2024-10-26 05:43:46 Duration: 40s287ms Database: acaweb_fx User: postgres Remote: 192.168.1.250 Application: PostgreSQL JDBC Driver Bind query: yes
Normalized slowest queries (N)
Rank Min duration Max duration Avg duration Times executed Total duration Query 1 737ms 48s465ms 8s734ms 285 41m29s 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 #1
Day Hour Count Duration Avg duration Oct 26 05 285 41m29s 8s734ms [ User: postgres - Total duration: 41m29s - Times executed: 285 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 40m26s - Times executed: 279 ]
[ Application: [unknown] - Total duration: 1m2s - Times executed: 6 ]
-
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 ('0' = 0 OR s.timegranularity in ('0')) AND ('0' = 0 OR s.exchange in ('')) AND ('0' = 0 OR coalesce(bim.code, s.symbol) in ('')) AND ('0' = 0 OR p.patternname in ('')) AND ('0' = 0 OR kr.patternclassid in ('0')) AND ('0' = 0 OR kr.patternlengthbars <= '0') AND kr.patternstarttime::timestamp without time zone >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('0' = 0 OR age <= '0') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC LIMIT 200;
Date: 2024-10-26 05:02:20 Duration: 48s465ms Database: acaweb_fx User: postgres Remote: 192.168.1.250 Application: PostgreSQL JDBC Driver Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1 ), kr AS ( SELECT a.*, rr.age, rr.relevant from keylevels_results a LEFT OUTER JOIN relevance_keylevels_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_keylevels_results) END ), all_results AS ( SELECT kr.resultuid AS resultuid, kr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, p.patternname AS pattern_name, kr.breakout AS breakout, kr.atbaridentified AS identified, dtt.timezone AS timezone, kr.patternlengthbars AS length, g.basegroupname, newLevels.filtered, CASE WHEN kr.age IS NOT NULL THEN kr.age WHEN kr.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN kr.relevant IS NOT NULL THEN kr.relevant WHEN kr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip FROM kr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '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 ('0' = 0 OR s.timegranularity in ('0')) AND ('0' = 0 OR s.exchange in ('')) AND ('0' = 0 OR coalesce(bim.code, s.symbol) in ('')) AND ('0' = 0 OR p.patternname in ('')) AND ('0' = 0 OR kr.patternclassid in ('0')) AND ('0' = 0 OR kr.patternlengthbars <= '0') AND kr.patternstarttime::timestamp without time zone >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('0' = 0 OR age <= '0') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC LIMIT 200;
Date: 2024-10-26 05:11:41 Duration: 40s342ms Database: acaweb_fx User: postgres Remote: 192.168.1.250 Application: PostgreSQL JDBC Driver Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_keylevels_results ORDER BY resultuid DESC LIMIT 1 ), kr AS ( SELECT a.*, rr.age, rr.relevant from keylevels_results a LEFT OUTER JOIN relevance_keylevels_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_keylevels_results) END ), all_results AS ( SELECT kr.resultuid AS resultuid, kr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, p.patternname AS pattern_name, kr.breakout AS breakout, kr.atbaridentified AS identified, dtt.timezone AS timezone, kr.patternlengthbars AS length, g.basegroupname, newLevels.filtered, CASE WHEN kr.age IS NOT NULL THEN kr.age WHEN kr.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN kr.relevant IS NOT NULL THEN kr.relevant WHEN kr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip FROM kr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '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 ('0' = 0 OR s.timegranularity in ('0')) AND ('0' = 0 OR s.exchange in ('')) AND ('0' = 0 OR coalesce(bim.code, s.symbol) in ('')) AND ('0' = 0 OR p.patternname in ('')) AND ('0' = 0 OR kr.patternclassid in ('0')) AND ('0' = 0 OR kr.patternlengthbars <= '0') AND kr.patternstarttime::timestamp without time zone >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('0' = 0 OR age <= '0') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC LIMIT 200;
Date: 2024-10-26 05:43:46 Duration: 40s287ms Database: acaweb_fx User: postgres Remote: 192.168.1.250 Application: PostgreSQL JDBC Driver Bind query: yes
2 746ms 23s897ms 7s825ms 285 37m10s 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 Oct 26 05 285 37m10s 7s825ms [ User: postgres - Total duration: 37m10s - Times executed: 285 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 36m16s - Times executed: 279 ]
[ Application: [unknown] - Total duration: 54s60ms - Times executed: 6 ]
-
WITH rar_max as ( SELECT resultuid FROM relevance_autochartist_results ORDER BY resultuid DESC LIMIT 1 ), ar AS ( SELECT a.*, rr.age, rr.relevant from autochartist_results a LEFT OUTER JOIN relevance_autochartist_results rr on a.resultuid = rr.resultuid WHERE CASE WHEN FALSE = 't' THEN true ELSE a.resultuid > ( select min(resultuid) from relevance_autochartist_results) END ), all_results AS ( SELECT ar.resultuid AS resultuid, ar.direction AS direction, ar.predictiontimeto AS predictiontimeto, ar.predictionpricefrom AS predictionpricefrom, ar.predictionpriceto AS predictionpriceto, cp.pip AS pip, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ar.pattern AS pattern_name, ar.breakout AS breakout, ar.patternendtime AS identified, dtt.timezone AS timezone, ar.patternlengthbars AS length, g.basegroupname, newLevels.profit, newLevels.stop, newLevels.filtered, CASE WHEN ar.age IS NOT NULL THEN ar.age WHEN ar.resultuid <= rm.resultuid THEN 11 ELSE 0 END as age, CASE WHEN ar.relevant IS NOT NULL THEN ar.relevant WHEN ar.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant FROM ar INNER JOIN symbols s ON ar.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = s.symbolid INNER JOIN symbolgroup sg on bsl.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON sg.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN autochartist_symbolupdates au on dss.symbolid = au.symbolid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('310' = 0 OR coalesce(bim.code, s.symbol) in ('#AAPL', '#ADS', '#AIG', '#ALV', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BAS', '#BAYN', '#BEI', '#BIDU', '#BMW', '#C', '#CAT', '#CBK', '#CL', '#CSCO', '#CVX', '#DAI', '#DB1', '#DBK', '#DIS', '#DPW', '#DTE', '#EBAY', '#EON', '#F', '#FB', '#FDX', '#FME', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#IFX', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LHA', '#LMT', '#MA', '#MCD', '#META', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#RWE', '#SAP', '#SIE', '#T', '#UBER', '#V', '#VOW', '#WB', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS200', 'BRENT', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CHI50', 'ESP35', 'ETHUSD', 'EU50', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'FRA40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'LTCUSD', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'SPX500', 'UK100', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BTCUSD', 'ETHUSD', 'LTCUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BRENT', 'WTI', 'AUS200', 'CHI50', 'ESP35', 'EU50', 'FRA40', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'NAS100', 'SPX500', 'UK100', 'US30', 'AUDUSD', 'EURUSD', 'GBPUSD', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', '#AAPL', '#AIG', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BIDU', '#C', '#CAT', '#CL', '#CSCO', '#CVX', '#DIS', '#EBAY', '#F', '#FB', '#FDX', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#T', '#UBER', '#V', '#WB', '#XOM')) AND ('0' = 0 OR ar.pattern in ('')) AND ('0' = 0 OR ('0' = 1 AND ar.breakout >= 0) OR ('0' = 2 AND ar.breakout < 0)) AND ('400' = 0 OR ar.patternlengthbars <= '400') and newLevels.filtered = false AND ar.patternstarttime >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;
Date: 2024-10-26 05:01:31 Duration: 23s897ms 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 = '689' AND bsl.symbolid = s.symbolid INNER JOIN symbolgroup sg on bsl.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON sg.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN autochartist_symbolupdates au on dss.symbolid = au.symbolid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('310' = 0 OR coalesce(bim.code, s.symbol) in ('#AAPL', '#ADS', '#AIG', '#ALV', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BAS', '#BAYN', '#BEI', '#BIDU', '#BMW', '#C', '#CAT', '#CBK', '#CL', '#CSCO', '#CVX', '#DAI', '#DB1', '#DBK', '#DIS', '#DPW', '#DTE', '#EBAY', '#EON', '#F', '#FB', '#FDX', '#FME', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#IFX', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LHA', '#LMT', '#MA', '#MCD', '#META', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#RWE', '#SAP', '#SIE', '#T', '#UBER', '#V', '#VOW', '#WB', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS200', 'BRENT', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CHI50', 'ESP35', 'ETHUSD', 'EU50', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'FRA40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'LTCUSD', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'SPX500', 'UK100', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BTCUSD', 'ETHUSD', 'LTCUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BRENT', 'WTI', 'AUS200', 'CHI50', 'ESP35', 'EU50', 'FRA40', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'NAS100', 'SPX500', 'UK100', 'US30', 'AUDUSD', 'EURUSD', 'GBPUSD', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', '#AAPL', '#AIG', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BIDU', '#C', '#CAT', '#CL', '#CSCO', '#CVX', '#DIS', '#EBAY', '#F', '#FB', '#FDX', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#T', '#UBER', '#V', '#WB', '#XOM')) AND ('0' = 0 OR ar.pattern in ('')) AND ('0' = 0 OR ('0' = 1 AND ar.breakout >= 0) OR ('0' = 2 AND ar.breakout < 0)) AND ('400' = 0 OR ar.patternlengthbars <= '400') and newLevels.filtered = false AND ar.patternstarttime >= coalesce(au.earliestpricedatetime, '1900-01-01'::timestamp without time zone) -- To make sure patternstarttime is in our t-tables ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;
Date: 2024-10-26 05:00:54 Duration: 20s770ms Database: acaweb_fx User: postgres Remote: 182.165.1.42 Application: [unknown] 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 = '689' AND bsl.symbolid = s.symbolid INNER JOIN symbolgroup sg on bsl.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN downloadersymbolsettings dss ON sg.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN autochartist_symbolupdates au on dss.symbolid = au.symbolid LEFT OUTER JOIN currencypips cp ON s.symbol = cp.symbol LEFT JOIN LATERAL calc_cp_signal (ar.resultuid) newLevels on true LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE ar.gmttimefound > now() - INTERVAL '7 DAYS' AND dss.enabled = 1 AND s.deleted = 0 AND (ar.simulation = 0 OR ar.simulation IS NULL) AND ('0' = 0 OR s.timegranularity in ('0')) 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 ('0' = 0 OR age <= '0') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;
Date: 2024-10-26 05:01:22 Duration: 19s735ms Database: acaweb_fx User: postgres Remote: 192.168.1.250 Application: PostgreSQL JDBC Driver Bind query: yes
3 332ms 9s515ms 2s491ms 285 11m49s 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 Oct 26 05 285 11m49s 2s491ms [ User: postgres - Total duration: 11m49s - Times executed: 285 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 11m31s - Times executed: 279 ]
[ Application: [unknown] - Total duration: 18s564ms - Times executed: 6 ]
-
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 ('0' = 0 OR s.timegranularity in ('0')) AND ('0' = 0 OR s.exchange in ('')) AND ('0' = 0 OR coalesce(bim.code, s.symbol) in ('')) AND ('0' = 0 OR fr.pattern in ('')) AND ('0' = 0 OR fr.patternlengthbars <= '0') 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 ('0' = 0 OR age <= '0') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;
Date: 2024-10-26 05:01:32 Duration: 9s515ms 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_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: 2024-10-26 05:01:40 Duration: 9s318ms 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_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: 2024-10-26 05:01:15 Duration: 7s69ms Database: acaweb_fx User: postgres Remote: 182.165.1.42 Application: [unknown] Bind query: yes
4 1s401ms 2s646ms 1s671ms 6 10s27ms refresh materialized view concurrently latest_t15_candle_view;Times Reported Time consuming queries #4
Day Hour Count Duration Avg duration Oct 26 05 6 10s27ms 1s671ms [ User: postgres - Total duration: 10s27ms - Times executed: 6 ]
[ Application: [unknown] - Total duration: 10s27ms - Times executed: 6 ]
-
refresh materialized view concurrently latest_t15_candle_view;
Date: 2024-10-26 05:01:19 Duration: 2s646ms Database: acaweb_fx User: postgres Remote: 192.168.4.98 Application: [unknown]
-
refresh materialized view concurrently latest_t15_candle_view;
Date: 2024-10-26 05:09:18 Duration: 1s726ms Database: acaweb_fx User: postgres Remote: 192.168.4.98 Application: [unknown]
-
refresh materialized view concurrently latest_t15_candle_view;
Date: 2024-10-26 05:16:17 Duration: 1s429ms Database: acaweb_fx User: postgres Remote: 192.168.4.98 Application: [unknown]
5 13ms 3s971ms 690ms 31 21s403ms select fixcandlegaps (?, false);Times Reported Time consuming queries #5
Day Hour Count Duration Avg duration Oct 26 05 31 21s403ms 690ms [ User: postgres - Total duration: 21s403ms - Times executed: 31 ]
[ Application: psql - Total duration: 21s403ms - Times executed: 31 ]
-
select fixcandlegaps ('ATFX', false);
Date: 2024-10-26 05:06:10 Duration: 3s971ms Database: acaweb_fx User: postgres Remote: [local] Application: psql
-
select fixcandlegaps ('AXIORY', false);
Date: 2024-10-26 05:06:13 Duration: 2s958ms Database: acaweb_fx User: postgres Remote: [local] Application: psql
-
select fixcandlegaps ('PEPPERSTONE', false);
Date: 2024-10-26 05:06:18 Duration: 2s920ms Database: acaweb_fx User: postgres Remote: [local] Application: psql
6 346ms 563ms 455ms 2 910ms select distinct s.symbolid, dss.downloadersymbol, s.timegranularity, dff.absolutetimezoneoffset as offset from downloadersymbolsettings dss inner join symbols s on s.symbolid = dss.symbolid inner join datafeedstimetable dff on dss.classname ilike dff.classname where dss.classname ilike ? and dss.enabled = ? and s.timegranularity >= ? order by downloadersymbol, timegranularity;Times Reported Time consuming queries #6
Day Hour Count Duration Avg duration Oct 26 05 2 910ms 455ms [ User: postgres - Total duration: 910ms - Times executed: 2 ]
[ Application: [unknown] - Total duration: 910ms - Times executed: 2 ]
-
select distinct s.symbolid, dss.downloadersymbol, s.timegranularity, dff.absolutetimezoneoffset as offset from downloadersymbolsettings dss inner join symbols s on s.symbolid = dss.symbolid inner join datafeedstimetable dff on dss.classname ilike dff.classname where dss.classname ILIKE '%IQFeed%' and dss.enabled = 1 and s.timegranularity >= 15 order by downloadersymbol, timegranularity;
Date: 2024-10-26 05:46:22 Duration: 563ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
-
select distinct s.symbolid, dss.downloadersymbol, s.timegranularity, dff.absolutetimezoneoffset as offset from downloadersymbolsettings dss inner join symbols s on s.symbolid = dss.symbolid inner join datafeedstimetable dff on dss.classname ilike dff.classname where dss.classname ILIKE '%IQFeed%' and dss.enabled = 1 and s.timegranularity >= 15 order by downloadersymbol, timegranularity;
Date: 2024-10-26 05:11:18 Duration: 346ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
7 55ms 1s691ms 427ms 202 1m26s 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 #7
Day Hour Count Duration Avg duration Oct 26 05 202 1m26s 427ms [ User: postgres - Total duration: 1m26s - Times executed: 202 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1m22s - Times executed: 196 ]
[ Application: [unknown] - Total duration: 3s747ms - Times executed: 6 ]
-
WITH rar_max as ( SELECT resultuid FROM relevance_consecutivecandles_results ORDER BY resultuid DESC LIMIT 1 ), all_results AS ( SELECT ccr.resultuid AS resultuid, ccr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ccr.patternendtime AS identified, dtt.timezone AS timezone, ccr.qtyconsecutivecandles AS length, g.basegroupname, CASE WHEN rcr.age IS NOT NULL THEN rcr.age WHEN ccr.resultuid <= rm.resultuid THEN 1 ELSE 0 END as age, CASE WHEN rcr.relevant IS NOT NULL THEN rcr.relevant WHEN ccr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip, newLevels.filtered FROM consecutivecandles_results ccr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = ccr.symbolid INNER JOIN symbols s ON ccr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN downloadersymbolsettings dss ON ccr.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN symbolgroup sg on ccr.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_consecutivecandles_results rcr ON rcr.resultuid = ccr.resultuid LEFT JOIN currencypips cps on cps.symbol = s.symbol LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' LEFT JOIN LATERAL calc_cc_signal_filter (ccr.resultuid) newLevels on true WHERE ccr.gmttimefound > now() - INTERVAL '7 DAYS' AND s.deleted = 0 AND (ccr.simulation = 0 OR ccr.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('310' = 0 OR coalesce(bim.code, s.symbol) in ('#AAPL', '#ADS', '#AIG', '#ALV', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BAS', '#BAYN', '#BEI', '#BIDU', '#BMW', '#C', '#CAT', '#CBK', '#CL', '#CSCO', '#CVX', '#DAI', '#DB1', '#DBK', '#DIS', '#DPW', '#DTE', '#EBAY', '#EON', '#F', '#FB', '#FDX', '#FME', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#IFX', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LHA', '#LMT', '#MA', '#MCD', '#META', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#RWE', '#SAP', '#SIE', '#T', '#UBER', '#V', '#VOW', '#WB', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS200', 'BRENT', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CHI50', 'ESP35', 'ETHUSD', 'EU50', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'FRA40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'LTCUSD', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'SPX500', 'UK100', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BTCUSD', 'ETHUSD', 'LTCUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BRENT', 'WTI', 'AUS200', 'CHI50', 'ESP35', 'EU50', 'FRA40', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'NAS100', 'SPX500', 'UK100', 'US30', 'AUDUSD', 'EURUSD', 'GBPUSD', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', '#AAPL', '#AIG', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BIDU', '#C', '#CAT', '#CL', '#CSCO', '#CVX', '#DIS', '#EBAY', '#F', '#FB', '#FDX', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#T', '#UBER', '#V', '#WB', '#XOM')) AND ('400' = 0 OR ccr.patternlengthbars <= '400') ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;
Date: 2024-10-26 05:02:04 Duration: 1s691ms 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_consecutivecandles_results ORDER BY resultuid DESC LIMIT 1 ), all_results AS ( SELECT ccr.resultuid AS resultuid, ccr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ccr.patternendtime AS identified, dtt.timezone AS timezone, ccr.qtyconsecutivecandles AS length, g.basegroupname, CASE WHEN rcr.age IS NOT NULL THEN rcr.age WHEN ccr.resultuid <= rm.resultuid THEN 1 ELSE 0 END as age, CASE WHEN rcr.relevant IS NOT NULL THEN rcr.relevant WHEN ccr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip, newLevels.filtered FROM consecutivecandles_results ccr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = ccr.symbolid INNER JOIN symbols s ON ccr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN downloadersymbolsettings dss ON ccr.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN symbolgroup sg on ccr.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_consecutivecandles_results rcr ON rcr.resultuid = ccr.resultuid LEFT JOIN currencypips cps on cps.symbol = s.symbol LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' LEFT JOIN LATERAL calc_cc_signal_filter (ccr.resultuid) newLevels on true WHERE ccr.gmttimefound > now() - INTERVAL '7 DAYS' AND s.deleted = 0 AND (ccr.simulation = 0 OR ccr.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('310' = 0 OR coalesce(bim.code, s.symbol) in ('#AAPL', '#ADS', '#AIG', '#ALV', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BAS', '#BAYN', '#BEI', '#BIDU', '#BMW', '#C', '#CAT', '#CBK', '#CL', '#CSCO', '#CVX', '#DAI', '#DB1', '#DBK', '#DIS', '#DPW', '#DTE', '#EBAY', '#EON', '#F', '#FB', '#FDX', '#FME', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#IFX', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LHA', '#LMT', '#MA', '#MCD', '#META', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#RWE', '#SAP', '#SIE', '#T', '#UBER', '#V', '#VOW', '#WB', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS200', 'BRENT', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CHI50', 'ESP35', 'ETHUSD', 'EU50', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'FRA40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'LTCUSD', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'SPX500', 'UK100', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BTCUSD', 'ETHUSD', 'LTCUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BRENT', 'WTI', 'AUS200', 'CHI50', 'ESP35', 'EU50', 'FRA40', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'NAS100', 'SPX500', 'UK100', 'US30', 'AUDUSD', 'EURUSD', 'GBPUSD', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', '#AAPL', '#AIG', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BIDU', '#C', '#CAT', '#CL', '#CSCO', '#CVX', '#DIS', '#EBAY', '#F', '#FB', '#FDX', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#T', '#UBER', '#V', '#WB', '#XOM')) AND ('400' = 0 OR ccr.patternlengthbars <= '400') ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;
Date: 2024-10-26 05:03:03 Duration: 1s658ms Database: acaweb_fx User: postgres Remote: 182.165.1.42 Application: [unknown] Bind query: yes
-
WITH rar_max as ( SELECT resultuid FROM relevance_consecutivecandles_results ORDER BY resultuid DESC LIMIT 1 ), all_results AS ( SELECT ccr.resultuid AS resultuid, ccr.direction AS direction, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, ccr.patternendtime AS identified, dtt.timezone AS timezone, ccr.qtyconsecutivecandles AS length, g.basegroupname, CASE WHEN rcr.age IS NOT NULL THEN rcr.age WHEN ccr.resultuid <= rm.resultuid THEN 1 ELSE 0 END as age, CASE WHEN rcr.relevant IS NOT NULL THEN rcr.relevant WHEN ccr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip, newLevels.filtered FROM consecutivecandles_results ccr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '689' AND bsl.symbolid = ccr.symbolid INNER JOIN symbols s ON ccr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN downloadersymbolsettings dss ON ccr.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN symbolgroup sg on ccr.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_consecutivecandles_results rcr ON rcr.resultuid = ccr.resultuid LEFT JOIN currencypips cps on cps.symbol = s.symbol LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' LEFT JOIN LATERAL calc_cc_signal_filter (ccr.resultuid) newLevels on true WHERE ccr.gmttimefound > now() - INTERVAL '7 DAYS' AND s.deleted = 0 AND (ccr.simulation = 0 OR ccr.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('310' = 0 OR coalesce(bim.code, s.symbol) in ('#AAPL', '#ADS', '#AIG', '#ALV', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BAS', '#BAYN', '#BEI', '#BIDU', '#BMW', '#C', '#CAT', '#CBK', '#CL', '#CSCO', '#CVX', '#DAI', '#DB1', '#DBK', '#DIS', '#DPW', '#DTE', '#EBAY', '#EON', '#F', '#FB', '#FDX', '#FME', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#IFX', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LHA', '#LMT', '#MA', '#MCD', '#META', '#MMM', '#MSFT', '#MUV2', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#RWE', '#SAP', '#SIE', '#T', '#UBER', '#V', '#VOW', '#WB', '#XOM', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'AUS200', 'BRENT', 'BTCUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'CHI50', 'ESP35', 'ETHUSD', 'EU50', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'FRA40', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'LTCUSD', 'NAS100', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'SPX500', 'UK100', 'US30', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'WTI', 'XAGUSD', 'XAUUSD', '#ADS', '#ALV', '#BAS', '#BAYN', '#BEI', '#BMW', '#CBK', '#DAI', '#DB1', '#DBK', '#DPW', '#DTE', '#EON', '#FME', '#IFX', '#LHA', '#MUV2', '#RWE', '#SAP', '#SIE', '#VOW', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'AUDUSD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'EURUSD', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'GBPUSD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDJPY', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BTCUSD', 'ETHUSD', 'LTCUSD', 'AUDCAD', 'AUDCHF', 'AUDJPY', 'AUDNZD', 'CADCHF', 'CADJPY', 'CHFJPY', 'EURAUD', 'EURCAD', 'EURCHF', 'EURGBP', 'EURHUF', 'EURJPY', 'EURNZD', 'EURPLN', 'GBPAUD', 'GBPCAD', 'GBPCHF', 'GBPJPY', 'GBPNZD', 'NZDCAD', 'NZDCHF', 'NZDJPY', 'USDCNH', 'USDCZK', 'USDDKK', 'USDHKD', 'USDHUF', 'USDMXN', 'USDNOK', 'USDPLN', 'USDSEK', 'USDSGD', 'USDTRY', 'USDX', 'USDZAR', 'XAGUSD', 'XAUUSD', 'BRENT', 'WTI', 'AUS200', 'CHI50', 'ESP35', 'EU50', 'FRA40', 'GER30', 'HK50', 'HKCH50', 'IT40', 'JP225', 'NAS100', 'SPX500', 'UK100', 'US30', 'AUDUSD', 'EURUSD', 'GBPUSD', 'NZDUSD', 'USDCAD', 'USDCHF', 'USDJPY', '#AAPL', '#AIG', '#AMZN', '#AXP', '#BA', '#BABA', '#BAC', '#BIDU', '#C', '#CAT', '#CL', '#CSCO', '#CVX', '#DIS', '#EBAY', '#F', '#FB', '#FDX', '#GE', '#GM', '#GOOG', '#GS', '#HPQ', '#IBM', '#INTC', '#JD', '#JNJ', '#JPM', '#KO', '#LMT', '#MA', '#MCD', '#MMM', '#MSFT', '#NFLX', '#NKE', '#NTES', '#ORCL', '#PFE', '#PG', '#QCOM', '#RACE', '#T', '#UBER', '#V', '#WB', '#XOM')) AND ('400' = 0 OR ccr.patternlengthbars <= '400') ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, length DESC;
Date: 2024-10-26 05:12:45 Duration: 924ms Database: acaweb_fx User: postgres Remote: 182.165.1.42 Application: [unknown] Bind query: yes
8 96ms 631ms 332ms 105 34s955ms 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 #8
Day Hour Count Duration Avg duration Oct 26 05 105 34s955ms 332ms [ User: postgres - Total duration: 34s955ms - Times executed: 105 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 34s955ms - Times executed: 105 ]
-
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: 2024-10-26 05:44:00 Duration: 631ms 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: 2024-10-26 05:32:00 Duration: 628ms 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: 2024-10-26 05:52:00 Duration: 619ms Database: acaweb_fx User: postgres Remote: 192.168.1.20 Application: PostgreSQL JDBC Driver Bind query: yes
9 11ms 403ms 124ms 7 871ms select distinct on (basegroupname, symbol) g.groupid, exchange, basegroupname as groupname, coalesce(bim.code, s.symbol) as symbol, longname from brokergroups bg inner join symbolgroup sg on bg.groupid = sg.groupid inner join symbols s on sg.symbolid = s.symbolid inner join brokersymbollist bsl on s.symbolid = bsl.symbolid inner join downloadersymbolsettings dss on s.symbolid = dss.symbolid inner join groups g on bg.groupid = g.groupid left outer join brokerinstrumentmap bim on dss.datafeedinstrumentid = bim.datafeedinstrumentid and bim.brokerid = bsl.brokerid and bim.type = ? where bsl.brokerid = ? and bg.brokerid = ? and dss.enabled = ? and s.nonliquid = ? and s.deleted = ? order by basegroupname, symbol;Times Reported Time consuming queries #9
Day Hour Count Duration Avg duration Oct 26 05 7 871ms 124ms [ User: postgres - Total duration: 871ms - Times executed: 7 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 871ms - Times executed: 7 ]
-
SELECT DISTINCT ON (basegroupname, symbol) g.groupid, exchange, basegroupname as groupname, coalesce(bim.code, s.symbol) as symbol, longname FROM brokergroups bg INNER JOIN symbolgroup sg ON bg.groupid = sg.groupid INNER JOIN symbols s ON sg.symbolid = s.symbolid INNER JOIN brokersymbollist bsl ON s.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss ON s.symbolid = dss.symbolid INNER JOIN groups g ON bg.groupid = g.groupid LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE bsl.brokerid = '667' AND bg.brokerid = '667' AND dss.enabled = 1 AND s.nonliquid = 0 AND s.deleted = 0 ORDER BY basegroupname, symbol;
Date: 2024-10-26 05:52:39 Duration: 403ms Database: acaweb_fx User: postgres Remote: 192.168.1.20 Application: PostgreSQL JDBC Driver Bind query: yes
-
SELECT DISTINCT ON (basegroupname, symbol) g.groupid, exchange, basegroupname as groupname, coalesce(bim.code, s.symbol) as symbol, longname FROM brokergroups bg INNER JOIN symbolgroup sg ON bg.groupid = sg.groupid INNER JOIN symbols s ON sg.symbolid = s.symbolid INNER JOIN brokersymbollist bsl ON s.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss ON s.symbolid = dss.symbolid INNER JOIN groups g ON bg.groupid = g.groupid LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE bsl.brokerid = '667' AND bg.brokerid = '667' AND dss.enabled = 1 AND s.nonliquid = 0 AND s.deleted = 0 ORDER BY basegroupname, symbol;
Date: 2024-10-26 05:52:40 Duration: 400ms Database: acaweb_fx User: postgres Remote: 192.168.1.145 Application: PostgreSQL JDBC Driver Bind query: yes
-
SELECT DISTINCT ON (basegroupname, symbol) g.groupid, exchange, basegroupname as groupname, coalesce(bim.code, s.symbol) as symbol, longname FROM brokergroups bg INNER JOIN symbolgroup sg ON bg.groupid = sg.groupid INNER JOIN symbols s ON sg.symbolid = s.symbolid INNER JOIN brokersymbollist bsl ON s.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss ON s.symbolid = dss.symbolid INNER JOIN groups g ON bg.groupid = g.groupid LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE bsl.brokerid = '627' AND bg.brokerid = '627' AND dss.enabled = 1 AND s.nonliquid = 0 AND s.deleted = 0 ORDER BY basegroupname, symbol;
Date: 2024-10-26 05:40:16 Duration: 18ms Database: acaweb_fx User: postgres Remote: 192.168.1.250 Application: PostgreSQL JDBC Driver Bind query: yes
10 50ms 241ms 114ms 62 7s120ms 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 #10
Day Hour Count Duration Avg duration Oct 26 05 62 7s120ms 114ms [ User: postgres - Total duration: 7s120ms - Times executed: 62 ]
[ Application: [unknown] - Total duration: 7s120ms - Times executed: 62 ]
-
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 'PEPPERSTONE - 1';
Date: 2024-10-26 05:06:22 Duration: 241ms 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 'PEPPERSTONE - 1';
Date: 2024-10-26 05:10:45 Duration: 230ms 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 'PEPPERSTONE - 1';
Date: 2024-10-26 05:55:37 Duration: 225ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
11 52ms 267ms 114ms 62 7s120ms 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 #11
Day Hour Count Duration Avg duration Oct 26 05 62 7s120ms 114ms [ User: postgres - Total duration: 7s120ms - Times executed: 62 ]
[ Application: [unknown] - Total duration: 7s120ms - Times executed: 62 ]
-
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 'PEPPERSTONE - 1';
Date: 2024-10-26 05:06:22 Duration: 267ms 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 'PEPPERSTONE - 1';
Date: 2024-10-26 05:10:44 Duration: 190ms 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 'PEPPERSTONE - 1';
Date: 2024-10-26 05:40:16 Duration: 180ms Database: acaweb_fx User: postgres Remote: 127.0.0.1 Application: [unknown]
12 9ms 214ms 86ms 201 17s380ms with rar_max as ( select resultuid from relevance_bigmovement_results order by resultuid desc limit ? ), all_results as ( select bmr.resultuid as resultuid, ? as direction, s.exchange as exchange, s.symbolid as symbolid, coalesce(bim.code, s.symbol) as symbol_code, s.longname as symbol_name, s.timegranularity as interval, bmr.patternendtime as identified, bmr.patternlengthbars, dtt.timezone as timezone, g.basegroupname, case when rbr.age is not null then rbr.age when bmr.resultuid <= rm.resultuid then ? else ? end as age, case when rbr.relevant is not null then rbr.relevant when bmr.resultuid <= rm.resultuid then ? else ? end as relevant, cps.pip from bigmovement_results bmr inner join brokersymbollist bsl on bsl.brokerid = ? and bsl.symbolid = bmr.symbolid inner join symbols s on bmr.symbolid = s.symbolid and s.nonliquid = ? inner join downloadersymbolsettings dss on bmr.symbolid = dss.symbolid inner join datafeedstimetable dtt on dss.classname = dtt.classname and dtt.dayofweek = ? inner join symbolgroup sg on bmr.symbolid = sg.symbolid inner join groups g on sg.groupid = g.groupid inner join brokergroups bg on g.groupid = bg.groupid and bsl.brokerid = bg.brokerid inner join rar_max rm on ? = ? left outer join relevance_bigmovement_results rbr on rbr.resultuid = bmr.resultuid left join currencypips cps on cps.symbol = s.symbol left outer join brokerinstrumentmap bim on dss.datafeedinstrumentid = bim.datafeedinstrumentid and bim.brokerid = bsl.brokerid and bim.type = ? where bmr.gmttimefound > now() - interval ? and s.deleted = ? and (bmr.simulation = ? or bmr.simulation is null) and (? = ? or s.timegranularity in (...)) and (? = ? or s.exchange in (...)) and (? = ? or coalesce(bim.code, s.symbol) in (...)) and (? = ? or bmr.patternlengthbars <= ?) ), results as ( select distinct on (symbolid) * from all_results where (false = ? or relevant = ?) and (? = ? or age <= ?) order by symbolid, resultuid ) select * from results order by identified desc, interval desc;Times Reported Time consuming queries #12
Day Hour Count Duration Avg duration Oct 26 05 201 17s380ms 86ms [ User: postgres - Total duration: 17s380ms - Times executed: 201 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 16s938ms - Times executed: 196 ]
[ Application: [unknown] - Total duration: 442ms - Times executed: 5 ]
-
WITH rar_max as ( SELECT resultuid FROM relevance_bigmovement_results ORDER BY resultuid DESC LIMIT 1 ), all_results AS ( SELECT bmr.resultuid AS resultuid, 0 AS direction, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, bmr.patternendtime AS identified, bmr.patternlengthbars, dtt.timezone AS timezone, g.basegroupname, CASE WHEN rbr.age IS NOT NULL THEN rbr.age WHEN bmr.resultuid <= rm.resultuid THEN 4 ELSE 0 END as age, CASE WHEN rbr.relevant IS NOT NULL THEN rbr.relevant WHEN bmr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip FROM bigmovement_results bmr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '627' AND bsl.symbolid = bmr.symbolid INNER JOIN symbols s ON bmr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN downloadersymbolsettings dss ON bmr.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN symbolgroup sg on bmr.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_bigmovement_results rbr ON rbr.resultuid = bmr.resultuid LEFT JOIN currencypips cps on cps.symbol = s.symbol LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE bmr.gmttimefound > now() - INTERVAL '7 DAYS' AND s.deleted = 0 AND (bmr.simulation = 0 OR bmr.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('221' = 0 OR coalesce(bim.code, s.symbol) in ('#ADBE', '#AIRF', '#ALVG', '#AMZN', '#APPL', '#BA', '#BABA', '#BAYGn', '#BMWG', '#BNPP', '#BP', '#CAT', '#CBKG', '#DAIGn', '#DBKGn', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#META', '#MSFT', '#NFLX', '#RDSa', '#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', '#BP', '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', '#AIRF', '#ALVG', '#BAYGn', '#BMWG', '#BNPP', '#CBKG', '#DAIGn', '#DBKGn', '#RDSa', '#VOWG', 'AUS_200', 'ESP_35', 'EUR_50', 'FRA_40', 'GBR_100', 'HKG_50', 'NAS100', 'SPX500', 'US30', '#ADBE', '#AMZN', '#APPL', '#BA', '#BABA', '#CAT', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#MSFT', '#NFLX', '#TSLA', '#WMT', '#XOM')) AND ('400' = 0 OR bmr.patternlengthbars <= '400') ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, interval DESC;
Date: 2024-10-26 05:57:41 Duration: 214ms 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_bigmovement_results ORDER BY resultuid DESC LIMIT 1 ), all_results AS ( SELECT bmr.resultuid AS resultuid, 0 AS direction, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, bmr.patternendtime AS identified, bmr.patternlengthbars, dtt.timezone AS timezone, g.basegroupname, CASE WHEN rbr.age IS NOT NULL THEN rbr.age WHEN bmr.resultuid <= rm.resultuid THEN 4 ELSE 0 END as age, CASE WHEN rbr.relevant IS NOT NULL THEN rbr.relevant WHEN bmr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip FROM bigmovement_results bmr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '529' AND bsl.symbolid = bmr.symbolid INNER JOIN symbols s ON bmr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN downloadersymbolsettings dss ON bmr.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN symbolgroup sg on bmr.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_bigmovement_results rbr ON rbr.resultuid = bmr.resultuid LEFT JOIN currencypips cps on cps.symbol = s.symbol LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE bmr.gmttimefound > now() - INTERVAL '7 DAYS' AND s.deleted = 0 AND (bmr.simulation = 0 OR bmr.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('184' = 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', 'MVRS.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', 'TWTR.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 ('400' = 0 OR bmr.patternlengthbars <= '400') ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, interval DESC;
Date: 2024-10-26 05:02:04 Duration: 214ms 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_bigmovement_results ORDER BY resultuid DESC LIMIT 1 ), all_results AS ( SELECT bmr.resultuid AS resultuid, 0 AS direction, s.exchange AS exchange, s.symbolid AS symbolid, coalesce(bim.code, s.symbol) AS symbol_code, s.longname AS symbol_name, s.timegranularity AS interval, bmr.patternendtime AS identified, bmr.patternlengthbars, dtt.timezone AS timezone, g.basegroupname, CASE WHEN rbr.age IS NOT NULL THEN rbr.age WHEN bmr.resultuid <= rm.resultuid THEN 4 ELSE 0 END as age, CASE WHEN rbr.relevant IS NOT NULL THEN rbr.relevant WHEN bmr.resultuid <= rm.resultuid THEN 0 ELSE 1 END as relevant, cps.pip FROM bigmovement_results bmr INNER JOIN brokersymbollist bsl ON bsl.brokerid = '627' AND bsl.symbolid = bmr.symbolid INNER JOIN symbols s ON bmr.symbolid = s.symbolid AND s.nonliquid = 0 INNER JOIN downloadersymbolsettings dss ON bmr.symbolid = dss.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN symbolgroup sg on bmr.symbolid = sg.symbolid INNER JOIN groups g ON sg.groupid = g.groupid INNER JOIN brokergroups bg on g.groupid = bg.groupid AND bsl.brokerid = bg.brokerid INNER JOIN rar_max rm ON 1 = 1 LEFT OUTER JOIN relevance_bigmovement_results rbr ON rbr.resultuid = bmr.resultuid LEFT JOIN currencypips cps on cps.symbol = s.symbol LEFT OUTER JOIN brokerinstrumentmap bim ON dss.datafeedinstrumentid = bim.datafeedinstrumentid AND bim.brokerid = bsl.brokerid AND bim.TYPE = 'OUTBOUND' WHERE bmr.gmttimefound > now() - INTERVAL '7 DAYS' AND s.deleted = 0 AND (bmr.simulation = 0 OR bmr.simulation IS NULL) AND ('7' = 0 OR s.timegranularity in ('15', '30', '60', '120', '240', '480', '1440')) AND ('0' = 0 OR s.exchange in ('')) AND ('221' = 0 OR coalesce(bim.code, s.symbol) in ('#ADBE', '#AIRF', '#ALVG', '#AMZN', '#APPL', '#BA', '#BABA', '#BAYGn', '#BMWG', '#BNPP', '#BP', '#CAT', '#CBKG', '#DAIGn', '#DBKGn', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#META', '#MSFT', '#NFLX', '#RDSa', '#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', '#BP', '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', '#AIRF', '#ALVG', '#BAYGn', '#BMWG', '#BNPP', '#CBKG', '#DAIGn', '#DBKGn', '#RDSa', '#VOWG', 'AUS_200', 'ESP_35', 'EUR_50', 'FRA_40', 'GBR_100', 'HKG_50', 'NAS100', 'SPX500', 'US30', '#ADBE', '#AMZN', '#APPL', '#BA', '#BABA', '#CAT', '#DIS', '#EA', '#FB', '#FDX', '#GE', '#GM', '#GOOGL', '#GS', '#INTC', '#JPM', '#KO', '#MSFT', '#NFLX', '#TSLA', '#WMT', '#XOM')) AND ('400' = 0 OR bmr.patternlengthbars <= '400') ), results AS ( SELECT DISTINCT ON (symbolid) * FROM all_results WHERE (FALSE = 't' OR relevant = 1) AND ('10' = 0 OR age <= '10') ORDER BY symbolid, resultuid ) SELECT * from results ORDER BY identified DESC, interval DESC;
Date: 2024-10-26 05:44:06 Duration: 202ms Database: acaweb_fx User: postgres Remote: 192.168.1.20 Application: PostgreSQL JDBC Driver Bind query: yes
13 2ms 57ms 15ms 58 880ms select xmlforest(name2 as symbol, coalesce("Ascending Triangle", ?) as ascending_triangle, coalesce("Channel Down", ?) as channel_down, coalesce("Channel Up", ?) as channel_up, coalesce("Descending Triangle", ?) as descending_triangle, coalesce("Double Bottom", ?) as double_bottom, coalesce("Double Top", ?) as double_top, coalesce("Falling Wedge", ?) as falling_wedge, coalesce("Flag", ?) as flag, coalesce("Head and Shoulders", ?) as head_and_shoulders, coalesce("Inverse Head and Shoulders", ?) as inverse_head_and_shoulders, coalesce("Pennant", ?) as pennant, coalesce("Rectangle", ?) as rectangle, coalesce("Rising Wedge", ?) as rising_wedge, coalesce("Triangle", ?) as triangle, coalesce("Triple Bottom", ?) as triple_bottom, coalesce("Triple Top", ?) as triple_top) from ( select * from crosstab (?) as stats_summary_2d (name2 varchar(?), "Ascending Triangle" float, "Channel Down" float, "Channel Up" float, "Descending Triangle" float, "Double Bottom" float, "Double Top" float, "Falling Wedge" float, "Flag" float, "Head and Shoulders" float, "Inverse Head and Shoulders" float, "Pennant" float, "Rectangle" float, "Rising Wedge" float, "Triangle" float, "Triple Bottom" float, "Triple Top" float) order by name2) p;Times Reported Time consuming queries #13
Day Hour Count Duration Avg duration Oct 26 05 58 880ms 15ms [ User: postgres - Total duration: 880ms - Times executed: 58 ]
[ Application: [unknown] - Total duration: 880ms - Times executed: 58 ]
-
select xmlforest(name2 as symbol, coalesce("Ascending Triangle", - 1) as Ascending_Triangle, coalesce("Channel Down", - 1) as Channel_Down, coalesce("Channel Up", - 1) as Channel_Up, coalesce("Descending Triangle", - 1) as Descending_Triangle, coalesce("Double Bottom", - 1) as Double_Bottom, coalesce("Double Top", - 1) as Double_Top, coalesce("Falling Wedge", - 1) as Falling_Wedge, coalesce("Flag", - 1) as Flag, coalesce("Head and Shoulders", - 1) as Head_and_Shoulders, coalesce("Inverse Head and Shoulders", - 1) as Inverse_Head_and_Shoulders, coalesce("Pennant", - 1) as Pennant, coalesce("Rectangle", - 1) as Rectangle, coalesce("Rising Wedge", - 1) as Rising_Wedge, coalesce("Triangle", - 1) as Triangle, coalesce("Triple Bottom", - 1) as Triple_Bottom, coalesce("Triple Top", - 1) as Triple_Top) from ( SELECT * FROM crosstab ('select name2, name1, avg(percentage) from stats_summary_2d s where s.statsid = 515852059324253307 and lower(s.category1) = lower(''pattern'') and lower(s.category2) = lower(''symbol'') and lower(s.category1) <> ''overall'' and lower(s.category2) <> ''overall'' and name2 in (''EURMXN'' ,''USDZAR'' ,''USDMXN'' ,''CHFZAR'' ,''CHFHUF'' ,''EURJPY'' ,''USDSEK'' ,''EURZAR'' ,''NZDSEK'' ,''ZARJPY'' ,''USDJPY'' ,''USDNOK'' ,''GBPZAR'' ,''AUDZAR'' ,''CHFJPY'' ,''CADJPY'' ,''EURHKD'' ,''EURTRY'' ,''GBPJPY'' ,''SGDJPY'' ,''USDHUF'' ,''USDCZK'' ,''EURSEK'' ,''EURNOK'' ,''NZDJPY'' ,''USDDKK'' ,''AUDJPY'' ,''EURCNH'' ,''USDCNH'' ,''USDPLN'' ,''TRYJPY'' ,''EURHUF'' ,''USDILS'' ,''EURCZK'' ,''GBPAUD'' ,''GBPNZD'' ,''EURNZD'' ,''EURPLN'' ,''EURAUD'' ,''EURCAD'' ,''GBPUSD'' ,''GBPSGD'' ,''GBPCAD'' ,''GBPCHF'' ,''USDTRY'' ,''NOKSEK'' ,''USDCAD'' ,''NZDCAD'' ,''NZDUSD'' ,''USDHKD'' ) group by name2, name1 order by 1,2') AS stats_summary_2d (name2 varchar(255), "Ascending Triangle" float, "Channel Down" float, "Channel Up" float, "Descending Triangle" float, "Double Bottom" float, "Double Top" float, "Falling Wedge" float, "Flag" float, "Head and Shoulders" float, "Inverse Head and Shoulders" float, "Pennant" float, "Rectangle" float, "Rising Wedge" float, "Triangle" float, "Triple Bottom" float, "Triple Top" float) order by name2) P;
Date: 2024-10-26 05:01:29 Duration: 57ms Database: acaweb_fx User: postgres Remote: 192.168.2.44 Application: [unknown] Bind query: yes
-
select xmlforest(name2 as symbol, coalesce("Ascending Triangle", - 1) as Ascending_Triangle, coalesce("Channel Down", - 1) as Channel_Down, coalesce("Channel Up", - 1) as Channel_Up, coalesce("Descending Triangle", - 1) as Descending_Triangle, coalesce("Double Bottom", - 1) as Double_Bottom, coalesce("Double Top", - 1) as Double_Top, coalesce("Falling Wedge", - 1) as Falling_Wedge, coalesce("Flag", - 1) as Flag, coalesce("Head and Shoulders", - 1) as Head_and_Shoulders, coalesce("Inverse Head and Shoulders", - 1) as Inverse_Head_and_Shoulders, coalesce("Pennant", - 1) as Pennant, coalesce("Rectangle", - 1) as Rectangle, coalesce("Rising Wedge", - 1) as Rising_Wedge, coalesce("Triangle", - 1) as Triangle, coalesce("Triple Bottom", - 1) as Triple_Bottom, coalesce("Triple Top", - 1) as Triple_Top) from ( SELECT * FROM crosstab ('select name2, name1, avg(percentage) from stats_summary_2d s where s.statsid = 601729875357715307 and lower(s.category1) = lower(''pattern'') and lower(s.category2) = lower(''symbol'') and lower(s.category1) <> ''overall'' and lower(s.category2) <> ''overall'' and name2 in (''USDSEK'' ,''USDMXN'' ,''UK100'' ,''ZARJPY'' ,''Palladium'' ,''JPN225'' ,''AUS200'' ,''XAGUSD'' ,''USDZAR'' ,''EURJPY'' ,''UKOIL'' ,''USDJPY'' ,''USDIndex'' ,''USOIL'' ,''GBPZAR'' ,''XAUUSD'' ,''Platinum'' ,''USDCZK'' ,''USA100'' ,''AUDJPY'' ,''XAUEUR'' ,''USA30'' ,''GBPJPY'' ,''XAGEUR'' ,''CADJPY'' ,''CHFJPY'' ,''USDHUF'' ,''NZDJPY'' ,''Copper'' ,''USDNOK'' ,''USDCNH'' ,''EURHUF'' ,''USDPLN'' ,''EURNOK'' ,''USDDKK'' ,''GBPNZD'' ,''GBPAUD'' ,''EURNZD'' ,''SUI20'' ,''EURPLN'' ,''USDTRY'' ,''EURAUD'' ,''FRA40'' ,''EURCAD'' ,''GBPUSD'' ,''NETH25'' ,''GBPCAD'' ,''USDHKD'' ,''SPA35'' ,''USDCAD'' ) group by name2, name1 order by 1,2') AS stats_summary_2d (name2 varchar(255), "Ascending Triangle" float, "Channel Down" float, "Channel Up" float, "Descending Triangle" float, "Double Bottom" float, "Double Top" float, "Falling Wedge" float, "Flag" float, "Head and Shoulders" float, "Inverse Head and Shoulders" float, "Pennant" float, "Rectangle" float, "Rising Wedge" float, "Triangle" float, "Triple Bottom" float, "Triple Top" float) order by name2) P;
Date: 2024-10-26 05:06:15 Duration: 45ms Database: acaweb_fx User: postgres Remote: 192.168.2.44 Application: [unknown] Bind query: yes
-
select xmlforest(name2 as symbol, coalesce("Ascending Triangle", - 1) as Ascending_Triangle, coalesce("Channel Down", - 1) as Channel_Down, coalesce("Channel Up", - 1) as Channel_Up, coalesce("Descending Triangle", - 1) as Descending_Triangle, coalesce("Double Bottom", - 1) as Double_Bottom, coalesce("Double Top", - 1) as Double_Top, coalesce("Falling Wedge", - 1) as Falling_Wedge, coalesce("Flag", - 1) as Flag, coalesce("Head and Shoulders", - 1) as Head_and_Shoulders, coalesce("Inverse Head and Shoulders", - 1) as Inverse_Head_and_Shoulders, coalesce("Pennant", - 1) as Pennant, coalesce("Rectangle", - 1) as Rectangle, coalesce("Rising Wedge", - 1) as Rising_Wedge, coalesce("Triangle", - 1) as Triangle, coalesce("Triple Bottom", - 1) as Triple_Bottom, coalesce("Triple Top", - 1) as Triple_Top) from ( SELECT * FROM crosstab ('select name2, name1, avg(percentage) from stats_summary_2d s where s.statsid = 604583677951899307 and lower(s.category1) = lower(''pattern'') and lower(s.category2) = lower(''symbol'') and lower(s.category1) <> ''overall'' and lower(s.category2) <> ''overall'' and name2 in (''Crypto30'' ,''Crypto20'' ,''Crypto10'' ,''BNBUSD'' ,''UNIUSD'' ,''LINKUSD'' ,''BTCUSD'' ,''ETHUSD'' ,''SOLUSD'' ,''LTCUSD'' ,''BCHUSD'' ,''DOTUSD'' ,''AVAXUSD'' ,''XTZUSD'' ,''ADAUSD'' ,''MATICUSD'' ,''XRPUSD'' ,''EOSUSD'' ,''EURMXN'' ,''GBPMXN'' ,''EUSTX50'' ,''USDZAR'' ,''EURX'' ,''USDMXN'' ,''USDSEK'' ,''JPN225'' ,''XPDUSD'' ,''EURJPY'' ,''AUS200'' ,''SpotCrude'' ,''XAGUSD'' ,''SpotBrent'' ,''ZARJPY'' ,''UK100'' ,''NAS100'' ,''USDJPY'' ,''US2000'' ,''GER40'' ,''CHFJPY'' ,''XAUGBP'' ,''USDTHB'' ,''XAUUSD'' ,''NOKJPY'' ,''EURZAR'' ,''USDX'' ,''Gasoline'' ,''USDNOK'' ,''NatGas'' ,''GBPSEK'' ,''XPTUSD'' ) group by name2, name1 order by 1,2') AS stats_summary_2d (name2 varchar(255), "Ascending Triangle" float, "Channel Down" float, "Channel Up" float, "Descending Triangle" float, "Double Bottom" float, "Double Top" float, "Falling Wedge" float, "Flag" float, "Head and Shoulders" float, "Inverse Head and Shoulders" float, "Pennant" float, "Rectangle" float, "Rising Wedge" float, "Triangle" float, "Triple Bottom" float, "Triple Top" float) order by name2) P;
Date: 2024-10-26 05:09:04 Duration: 42ms Database: acaweb_fx User: postgres Remote: 192.168.2.44 Application: [unknown] Bind query: yes
14 0ms 33ms 6ms 284 1s983ms select distinct category1 || ? || category2 as category from stats_summary_2d where statsid = ? and lower(category1) in (...) and lower(category2) <> ? order by category1 || ? || category2;Times Reported Time consuming queries #14
Day Hour Count Duration Avg duration Oct 26 05 284 1s983ms 6ms [ User: postgres - Total duration: 1s983ms - Times executed: 284 ]
[ Application: [unknown] - Total duration: 1s983ms - Times executed: 284 ]
-
select distinct category1 || '_' || category2 as category from stats_summary_2d where statsid = 604583677951899307 and lower(category1) in ('pattern') and lower(category2) <> 'overall' order by category1 || '_' || category2;
Date: 2024-10-26 05:09:04 Duration: 33ms Database: acaweb_fx User: postgres Remote: 192.168.2.44 Application: [unknown] Bind query: yes
-
select distinct category1 || '_' || category2 as category from stats_summary_2d where statsid = 515852059324253307 and lower(category1) in ('interval') and lower(category2) <> 'overall' order by category1 || '_' || category2;
Date: 2024-10-26 05:01:28 Duration: 30ms Database: acaweb_fx User: postgres Remote: 192.168.2.44 Application: [unknown] Bind query: yes
-
select distinct category1 || '_' || category2 as category from stats_summary_2d where statsid = 515852059324056307 and lower(category1) in ('hourofday') and lower(category2) <> 'overall' order by category1 || '_' || category2;
Date: 2024-10-26 05:01:24 Duration: 29ms Database: acaweb_fx User: postgres Remote: 192.168.2.44 Application: [unknown] Bind query: yes
15 0ms 17ms 5ms 388 1s952ms 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 #15
Day Hour Count Duration Avg duration Oct 26 05 388 1s952ms 5ms [ User: postgres - Total duration: 1s952ms - Times executed: 388 ]
[ Application: [unknown] - Total duration: 1s952ms - Times executed: 388 ]
-
select open as _open, high as _high, low as _low, close as _close, volume as _volume, pricedatetime as _pricedatetime FROM ( select open, high, low, close, volume, pricedatetime FROM T15 WHERE pricedatetime >= current_timestamp - interval '180 days' and symbolid = 515840249510241300 union all select open, high, low, close, volume, pricedatetime FROM T15_ps WHERE pricedatetime >= current_timestamp - interval '180 days' and symbolid = 515840249510241300 order by pricedatetime desc limit 672) a order by _pricedatetime asc;
Date: 2024-10-26 05:46:23 Duration: 17ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
-
select open as _open, high as _high, low as _low, close as _close, volume as _volume, pricedatetime as _pricedatetime FROM ( select open, high, low, close, volume, pricedatetime FROM T15 WHERE pricedatetime >= current_timestamp - interval '180 days' and symbolid = 515840249510241300 union all select open, high, low, close, volume, pricedatetime FROM T15_ps WHERE pricedatetime >= current_timestamp - interval '180 days' and symbolid = 515840249510241300 order by pricedatetime desc limit 672) a order by _pricedatetime asc;
Date: 2024-10-26 05:11:18 Duration: 14ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
-
select open as _open, high as _high, low as _low, close as _close, volume as _volume, pricedatetime as _pricedatetime FROM ( select open, high, low, close, volume, pricedatetime FROM T15 WHERE pricedatetime >= current_timestamp - interval '180 days' and symbolid = 515840221187622300 union all select open, high, low, close, volume, pricedatetime FROM T15_ps WHERE pricedatetime >= current_timestamp - interval '180 days' and symbolid = 515840221187622300 order by pricedatetime desc limit 672) a order by _pricedatetime asc;
Date: 2024-10-26 05:46:29 Duration: 13ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
16 2ms 31ms 3ms 1,041 3s314ms insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (symbolid, pricedatetime, open, high, low, close, volume, bsf, sastdatetimereceived) values (?, ?::timestamp without time zone, ?.?, ?.?, ?.?, ?.?, ?, ?, ?::timestamp without time zone) on conflict (symbolid, pricedatetime) do nothing; insert into t15 (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 Oct 26 05 1,041 3s314ms 3ms [ User: postgres - Total duration: 3s314ms - Times executed: 1041 ]
[ Application: [unknown] - Total duration: 3s314ms - Times executed: 1041 ]
-
INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 03:00:00'::timestamp without time zone, 0.6716, 0.67195, 0.6715, 0.6718, 845, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 03:15:00'::timestamp without time zone, 0.6718, 0.6719, 0.67155, 0.67155, 490, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 03:30:00'::timestamp without time zone, 0.6716, 0.6721, 0.67145, 0.672, 685, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 03:45:00'::timestamp without time zone, 0.672, 0.6722, 0.6718, 0.6718, 482, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 04:00:00'::timestamp without time zone, 0.6718, 0.6721, 0.67165, 0.672, 301, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 04:15:00'::timestamp without time zone, 0.672, 0.6721, 0.67185, 0.6719, 361, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 04:30:00'::timestamp without time zone, 0.67195, 0.672, 0.6718, 0.6718, 288, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 04:45:00'::timestamp without time zone, 0.67185, 0.67185, 0.6716, 0.6716, 1302, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 05:00:00'::timestamp without time zone, 0.67165, 0.67195, 0.67145, 0.6719, 452, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 05:15:00'::timestamp without time zone, 0.67195, 0.67195, 0.6717, 0.6717, 181, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 05:30:00'::timestamp without time zone, 0.6717, 0.6717, 0.6714, 0.67145, 189, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 05:45:00'::timestamp without time zone, 0.67145, 0.6718, 0.67145, 0.67155, 208, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 06:00:00'::timestamp without time zone, 0.67155, 0.67155, 0.67125, 0.67135, 361, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 06:15:00'::timestamp without time zone, 0.67135, 0.6714, 0.6711, 0.67125, 369, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 06:30:00'::timestamp without time zone, 0.6713, 0.67175, 0.6713, 0.67175, 169, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 06:45:00'::timestamp without time zone, 0.6717, 0.67185, 0.6716, 0.67175, 758, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 07:00:00'::timestamp without time zone, 0.67175, 0.67185, 0.67155, 0.67165, 442, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 07:15:00'::timestamp without time zone, 0.6716, 0.67175, 0.67155, 0.67155, 257, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 07:30:00'::timestamp without time zone, 0.67155, 0.67175, 0.67155, 0.6716, 413, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 07:45:00'::timestamp without time zone, 0.6716, 0.6718, 0.6714, 0.6716, 431, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 08:00:00'::timestamp without time zone, 0.6716, 0.6717, 0.67135, 0.67155, 339, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 08:15:00'::timestamp without time zone, 0.67155, 0.67175, 0.6715, 0.6716, 387, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 08:30:00'::timestamp without time zone, 0.6717, 0.67205, 0.67155, 0.67165, 979, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 08:45:00'::timestamp without time zone, 0.67165, 0.672, 0.67165, 0.67175, 915, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 09:00:00'::timestamp without time zone, 0.67175, 0.67205, 0.6717, 0.67195, 1375, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 09:15:00'::timestamp without time zone, 0.67185, 0.6724, 0.67185, 0.67235, 1299, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 09:30:00'::timestamp without time zone, 0.6723, 0.67235, 0.6717, 0.6719, 1023, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 09:45:00'::timestamp without time zone, 0.67185, 0.6719, 0.67135, 0.6715, 728, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 10:00:00'::timestamp without time zone, 0.67145, 0.6716, 0.67115, 0.67115, 767, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 10:15:00'::timestamp without time zone, 0.6712, 0.67135, 0.6708, 0.671, 983, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 10:30:00'::timestamp without time zone, 0.671, 0.6715, 0.6709, 0.67135, 878, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 10:45:00'::timestamp without time zone, 0.67135, 0.67145, 0.67085, 0.67105, 1869, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 11:00:00'::timestamp without time zone, 0.67105, 0.67115, 0.6708, 0.67095, 1388, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 11:15:00'::timestamp without time zone, 0.67095, 0.6711, 0.6708, 0.67105, 481, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 11:30:00'::timestamp without time zone, 0.6711, 0.6711, 0.6706, 0.67065, 442, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 11:45:00'::timestamp without time zone, 0.67065, 0.67075, 0.67025, 0.6704, 883, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 12:00:00'::timestamp without time zone, 0.67035, 0.67075, 0.67025, 0.67065, 672, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 12:15:00'::timestamp without time zone, 0.67065, 0.67105, 0.67065, 0.67105, 337, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 12:30:00'::timestamp without time zone, 0.67105, 0.67125, 0.6709, 0.67125, 330, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 12:45:00'::timestamp without time zone, 0.67125, 0.6715, 0.6711, 0.67135, 505, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 13:00:00'::timestamp without time zone, 0.6713, 0.67135, 0.67115, 0.6713, 218, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 13:15:00'::timestamp without time zone, 0.6713, 0.6713, 0.6708, 0.6708, 235, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 13:30:00'::timestamp without time zone, 0.67075, 0.6709, 0.67045, 0.67055, 299, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 13:45:00'::timestamp without time zone, 0.67055, 0.6708, 0.67045, 0.6708, 291, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 14:00:00'::timestamp without time zone, 0.67075, 0.6709, 0.67065, 0.6709, 236, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 14:15:00'::timestamp without time zone, 0.67085, 0.671, 0.67075, 0.6709, 315, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 14:30:00'::timestamp without time zone, 0.6709, 0.6709, 0.67055, 0.6707, 236, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 14:45:00'::timestamp without time zone, 0.6707, 0.67105, 0.67065, 0.6708, 894, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 15:00:00'::timestamp without time zone, 0.6708, 0.6708, 0.6705, 0.6706, 1033, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 15:15:00'::timestamp without time zone, 0.6706, 0.67085, 0.67055, 0.6708, 182, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 15:30:00'::timestamp without time zone, 0.6708, 0.67085, 0.67065, 0.67085, 281, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING;
Date: 2024-10-26 05:11:19 Duration: 31ms 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, '2024-10-17 13:15:00'::timestamp without time zone, 0.67055, 0.67055, 0.6701, 0.6701, 633, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 13:30:00'::timestamp without time zone, 0.67015, 0.6702, 0.66985, 0.67015, 369, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 13:45:00'::timestamp without time zone, 0.6702, 0.6707, 0.6702, 0.67045, 499, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 14:00:00'::timestamp without time zone, 0.6705, 0.6705, 0.66995, 0.67025, 1377, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 14:15:00'::timestamp without time zone, 0.6703, 0.67035, 0.67, 0.6701, 588, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 14:30:00'::timestamp without time zone, 0.67005, 0.6701, 0.6699, 0.67005, 401, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 14:45:00'::timestamp without time zone, 0.67, 0.67015, 0.6699, 0.66995, 1721, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 15:00:00'::timestamp without time zone, 0.67, 0.67005, 0.6697, 0.67005, 427, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 15:15:00'::timestamp without time zone, 0.67, 0.67015, 0.66995, 0.67, 648, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 15:30:00'::timestamp without time zone, 0.67, 0.67015, 0.6699, 0.6701, 212, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 15:45:00'::timestamp without time zone, 0.67005, 0.67005, 0.6698, 0.66995, 1172, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 16:00:00'::timestamp without time zone, 0.66995, 0.67005, 0.66985, 0.6699, 635, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 16:15:00'::timestamp without time zone, 0.6699, 0.6699, 0.6698, 0.6699, 229, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 16:30:00'::timestamp without time zone, 0.66995, 0.67015, 0.6699, 0.67005, 106, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 16:45:00'::timestamp without time zone, 0.67005, 0.67015, 0.67, 0.6701, 204, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 18:00:00'::timestamp without time zone, 0.67, 0.6704, 0.67, 0.6704, 268, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 18:15:00'::timestamp without time zone, 0.67035, 0.6704, 0.6702, 0.67025, 113, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 18:30:00'::timestamp without time zone, 0.6703, 0.6703, 0.67025, 0.6703, 117, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 18:45:00'::timestamp without time zone, 0.67035, 0.6704, 0.67, 0.67005, 214, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 19:00:00'::timestamp without time zone, 0.6701, 0.6701, 0.66995, 0.6701, 392, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 19:15:00'::timestamp without time zone, 0.67015, 0.67025, 0.67, 0.67, 214, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 19:30:00'::timestamp without time zone, 0.67, 0.6701, 0.66985, 0.67005, 233, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 19:45:00'::timestamp without time zone, 0.6701, 0.6706, 0.6701, 0.67035, 487, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 20:00:00'::timestamp without time zone, 0.67035, 0.67075, 0.6702, 0.67075, 766, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 20:15:00'::timestamp without time zone, 0.6707, 0.6707, 0.67005, 0.67005, 473, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 20:30:00'::timestamp without time zone, 0.67005, 0.67085, 0.6698, 0.6707, 632, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 20:45:00'::timestamp without time zone, 0.6707, 0.6707, 0.6702, 0.67025, 356, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 21:00:00'::timestamp without time zone, 0.67025, 0.6709, 0.67025, 0.67075, 409, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 21:15:00'::timestamp without time zone, 0.6708, 0.67105, 0.6706, 0.67105, 377, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 21:30:00'::timestamp without time zone, 0.6711, 0.6712, 0.67065, 0.671, 499, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 21:45:00'::timestamp without time zone, 0.67095, 0.6711, 0.6708, 0.67085, 395, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 22:00:00'::timestamp without time zone, 0.6709, 0.67155, 0.6706, 0.67075, 1459, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 22:15:00'::timestamp without time zone, 0.67075, 0.671, 0.67055, 0.671, 333, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 22:30:00'::timestamp without time zone, 0.671, 0.67225, 0.671, 0.67185, 1550, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 22:45:00'::timestamp without time zone, 0.6718, 0.67195, 0.67135, 0.6714, 381, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 23:00:00'::timestamp without time zone, 0.67135, 0.67155, 0.671, 0.671, 428, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 23:15:00'::timestamp without time zone, 0.671, 0.67115, 0.67075, 0.67105, 634, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 23:30:00'::timestamp without time zone, 0.67105, 0.6712, 0.67075, 0.6708, 256, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-17 23:45:00'::timestamp without time zone, 0.67075, 0.6709, 0.67055, 0.6709, 298, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 00:00:00'::timestamp without time zone, 0.6709, 0.67095, 0.67065, 0.67085, 201, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 00:15:00'::timestamp without time zone, 0.67075, 0.67105, 0.6707, 0.67085, 148, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 00:30:00'::timestamp without time zone, 0.6708, 0.671, 0.6707, 0.6709, 254, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 00:45:00'::timestamp without time zone, 0.67095, 0.67115, 0.67055, 0.67065, 359, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 01:00:00'::timestamp without time zone, 0.6707, 0.67095, 0.67045, 0.67095, 791, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 01:15:00'::timestamp without time zone, 0.67095, 0.67115, 0.67025, 0.6704, 474, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 01:30:00'::timestamp without time zone, 0.6704, 0.67075, 0.6704, 0.67065, 349, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 01:45:00'::timestamp without time zone, 0.6706, 0.6713, 0.6706, 0.6712, 506, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 02:00:00'::timestamp without time zone, 0.67115, 0.67145, 0.67085, 0.67135, 861, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 02:15:00'::timestamp without time zone, 0.67135, 0.672, 0.67135, 0.67175, 936, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 02:30:00'::timestamp without time zone, 0.67175, 0.672, 0.67165, 0.67175, 698, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-18 02:45:00'::timestamp without time zone, 0.6717, 0.6718, 0.67125, 0.6716, 1074, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING;
Date: 2024-10-26 05:11:19 Duration: 29ms 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, '2024-10-21 19:15:00'::timestamp without time zone, 0.66575, 0.66605, 0.66575, 0.66595, 225, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 19:30:00'::timestamp without time zone, 0.666, 0.66605, 0.66585, 0.66585, 324, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 19:45:00'::timestamp without time zone, 0.6659, 0.66595, 0.6656, 0.6658, 353, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 20:00:00'::timestamp without time zone, 0.6658, 0.66605, 0.6657, 0.66585, 754, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 20:15:00'::timestamp without time zone, 0.66585, 0.6661, 0.6656, 0.6659, 677, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 20:30:00'::timestamp without time zone, 0.6659, 0.666, 0.6656, 0.66565, 375, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 20:45:00'::timestamp without time zone, 0.6657, 0.6663, 0.6655, 0.6659, 1283, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 21:00:00'::timestamp without time zone, 0.6659, 0.6664, 0.66585, 0.66605, 507, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 21:15:00'::timestamp without time zone, 0.66605, 0.6668, 0.66605, 0.6666, 956, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 21:30:00'::timestamp without time zone, 0.6667, 0.667, 0.66665, 0.6668, 808, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 21:45:00'::timestamp without time zone, 0.66675, 0.66705, 0.66645, 0.6669, 334, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 22:00:00'::timestamp without time zone, 0.6669, 0.66735, 0.66685, 0.66725, 652, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 22:15:00'::timestamp without time zone, 0.6672, 0.6673, 0.66695, 0.6672, 355, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 22:30:00'::timestamp without time zone, 0.6672, 0.66745, 0.6671, 0.6673, 633, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 22:45:00'::timestamp without time zone, 0.66725, 0.66765, 0.6671, 0.66725, 433, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 23:00:00'::timestamp without time zone, 0.66725, 0.6681, 0.66725, 0.66785, 1094, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 23:15:00'::timestamp without time zone, 0.66785, 0.6684, 0.66765, 0.6684, 838, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 23:30:00'::timestamp without time zone, 0.66835, 0.6688, 0.6683, 0.66855, 758, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-21 23:45:00'::timestamp without time zone, 0.6685, 0.66895, 0.6684, 0.6689, 1233, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 00:00:00'::timestamp without time zone, 0.66885, 0.669, 0.66855, 0.66895, 701, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 00:15:00'::timestamp without time zone, 0.669, 0.6692, 0.66895, 0.66915, 466, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 00:30:00'::timestamp without time zone, 0.66915, 0.6693, 0.66875, 0.66885, 831, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 00:45:00'::timestamp without time zone, 0.66885, 0.6692, 0.6687, 0.6691, 758, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 01:00:00'::timestamp without time zone, 0.66905, 0.66925, 0.66895, 0.66905, 481, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 01:15:00'::timestamp without time zone, 0.669, 0.66935, 0.669, 0.66935, 436, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 01:30:00'::timestamp without time zone, 0.66935, 0.66955, 0.66925, 0.6693, 865, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 01:45:00'::timestamp without time zone, 0.66925, 0.66925, 0.66845, 0.6685, 1924, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 02:00:00'::timestamp without time zone, 0.6685, 0.6693, 0.6685, 0.6692, 1440, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 02:15:00'::timestamp without time zone, 0.6692, 0.6697, 0.66905, 0.66945, 773, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 02:30:00'::timestamp without time zone, 0.66945, 0.66945, 0.66885, 0.66885, 562, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 02:45:00'::timestamp without time zone, 0.66895, 0.66925, 0.6688, 0.6688, 825, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 03:00:00'::timestamp without time zone, 0.66875, 0.66915, 0.66875, 0.6691, 918, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 03:15:00'::timestamp without time zone, 0.66915, 0.6692, 0.66885, 0.66895, 825, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 03:30:00'::timestamp without time zone, 0.6689, 0.66905, 0.66875, 0.66895, 689, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 03:45:00'::timestamp without time zone, 0.669, 0.669, 0.6684, 0.6686, 574, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 04:00:00'::timestamp without time zone, 0.66855, 0.6689, 0.66855, 0.6689, 404, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 04:15:00'::timestamp without time zone, 0.6689, 0.669, 0.6687, 0.6687, 812, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 04:30:00'::timestamp without time zone, 0.6687, 0.6688, 0.6683, 0.6685, 616, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 04:45:00'::timestamp without time zone, 0.6685, 0.6686, 0.6683, 0.6683, 294, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 05:00:00'::timestamp without time zone, 0.66825, 0.66865, 0.6682, 0.66845, 516, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 05:15:00'::timestamp without time zone, 0.6685, 0.6686, 0.6682, 0.66845, 370, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 05:30:00'::timestamp without time zone, 0.6684, 0.6689, 0.6684, 0.6684, 506, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 05:45:00'::timestamp without time zone, 0.66845, 0.6687, 0.6683, 0.66845, 255, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 06:00:00'::timestamp without time zone, 0.66845, 0.66905, 0.66845, 0.66905, 519, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 06:15:00'::timestamp without time zone, 0.6691, 0.66915, 0.6689, 0.669, 778, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 06:30:00'::timestamp without time zone, 0.66905, 0.6692, 0.66895, 0.66905, 541, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 06:45:00'::timestamp without time zone, 0.66905, 0.6691, 0.66875, 0.66885, 217, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 07:00:00'::timestamp without time zone, 0.66885, 0.6691, 0.66875, 0.66895, 353, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 07:15:00'::timestamp without time zone, 0.669, 0.6692, 0.669, 0.66915, 283, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 07:30:00'::timestamp without time zone, 0.66915, 0.66915, 0.6689, 0.6689, 455, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T15 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186843300, '2024-10-22 07:45:00'::timestamp without time zone, 0.66885, 0.66885, 0.6687, 0.66885, 382, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING;
Date: 2024-10-26 05:11:19 Duration: 28ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
17 2ms 35ms 3ms 485 1s523ms 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 #17
Day Hour Count Duration Avg duration Oct 26 05 485 1s523ms 3ms [ User: postgres - Total duration: 1s523ms - Times executed: 485 ]
[ Application: [unknown] - Total duration: 1s523ms - Times executed: 485 ]
-
INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 13:00:00'::timestamp without time zone, 0.67055, 0.67055, 0.6701, 0.6701, 1266, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 13:30:00'::timestamp without time zone, 0.67015, 0.6707, 0.66985, 0.67045, 1736, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 14:00:00'::timestamp without time zone, 0.6705, 0.6705, 0.66995, 0.6701, 3930, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 14:30:00'::timestamp without time zone, 0.67005, 0.67015, 0.6699, 0.66995, 4244, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 15:00:00'::timestamp without time zone, 0.67, 0.67015, 0.6697, 0.67, 2150, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 15:30:00'::timestamp without time zone, 0.67, 0.67015, 0.6698, 0.66995, 2768, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 16:00:00'::timestamp without time zone, 0.66995, 0.67005, 0.6698, 0.6699, 1728, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 16:30:00'::timestamp without time zone, 0.66995, 0.67015, 0.6699, 0.6701, 620, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 18:00:00'::timestamp without time zone, 0.67, 0.6704, 0.67, 0.67025, 762, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 18:30:00'::timestamp without time zone, 0.6703, 0.6704, 0.67, 0.67005, 662, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 19:00:00'::timestamp without time zone, 0.6701, 0.67025, 0.66995, 0.67, 1212, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 19:30:00'::timestamp without time zone, 0.67, 0.6706, 0.66985, 0.67035, 1440, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 20:00:00'::timestamp without time zone, 0.67035, 0.67075, 0.67005, 0.67005, 2478, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 20:30:00'::timestamp without time zone, 0.67005, 0.67085, 0.6698, 0.67025, 1976, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 21:00:00'::timestamp without time zone, 0.67025, 0.67105, 0.67025, 0.67105, 1572, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 21:30:00'::timestamp without time zone, 0.6711, 0.6712, 0.67065, 0.67085, 1788, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 22:00:00'::timestamp without time zone, 0.6709, 0.67155, 0.67055, 0.671, 3584, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 22:30:00'::timestamp without time zone, 0.671, 0.67225, 0.671, 0.6714, 3862, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 23:00:00'::timestamp without time zone, 0.67135, 0.67155, 0.67075, 0.67105, 2124, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-17 23:30:00'::timestamp without time zone, 0.67105, 0.6712, 0.67055, 0.6709, 1108, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 00:00:00'::timestamp without time zone, 0.6709, 0.67105, 0.67065, 0.67085, 698, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 00:30:00'::timestamp without time zone, 0.6708, 0.67115, 0.67055, 0.67065, 1226, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 01:00:00'::timestamp without time zone, 0.6707, 0.67115, 0.67025, 0.6704, 2530, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 01:30:00'::timestamp without time zone, 0.6704, 0.6713, 0.6704, 0.6712, 1710, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 02:00:00'::timestamp without time zone, 0.67115, 0.672, 0.67085, 0.67175, 3594, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 02:30:00'::timestamp without time zone, 0.67175, 0.672, 0.67125, 0.6716, 3544, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 03:00:00'::timestamp without time zone, 0.6716, 0.67195, 0.6715, 0.67155, 2670, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 03:30:00'::timestamp without time zone, 0.6716, 0.6722, 0.67145, 0.6718, 2334, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 04:00:00'::timestamp without time zone, 0.6718, 0.6721, 0.67165, 0.6719, 1324, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 04:30:00'::timestamp without time zone, 0.67195, 0.672, 0.6716, 0.6716, 3180, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 05:00:00'::timestamp without time zone, 0.67165, 0.67195, 0.67145, 0.6717, 1266, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 05:30:00'::timestamp without time zone, 0.6717, 0.6718, 0.6714, 0.67155, 794, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 06:00:00'::timestamp without time zone, 0.67155, 0.67155, 0.6711, 0.67125, 1460, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 06:30:00'::timestamp without time zone, 0.6713, 0.67185, 0.6713, 0.67175, 1854, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 07:00:00'::timestamp without time zone, 0.67175, 0.67185, 0.67155, 0.67155, 1398, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 07:30:00'::timestamp without time zone, 0.67155, 0.6718, 0.6714, 0.6716, 1688, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 08:00:00'::timestamp without time zone, 0.6716, 0.67175, 0.67135, 0.6716, 1452, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 08:30:00'::timestamp without time zone, 0.6717, 0.67205, 0.67155, 0.67175, 3788, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 09:00:00'::timestamp without time zone, 0.67175, 0.6724, 0.6717, 0.67235, 5348, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 09:30:00'::timestamp without time zone, 0.6723, 0.67235, 0.67135, 0.6715, 3502, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 10:00:00'::timestamp without time zone, 0.67145, 0.6716, 0.6708, 0.671, 3500, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 10:30:00'::timestamp without time zone, 0.671, 0.6715, 0.67085, 0.67105, 5494, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 11:00:00'::timestamp without time zone, 0.67105, 0.67115, 0.6708, 0.67105, 3738, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 11:30:00'::timestamp without time zone, 0.6711, 0.6711, 0.67025, 0.6704, 2650, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 12:00:00'::timestamp without time zone, 0.67035, 0.67105, 0.67025, 0.67105, 2018, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 12:30:00'::timestamp without time zone, 0.67105, 0.6715, 0.6709, 0.67135, 1670, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 13:00:00'::timestamp without time zone, 0.6713, 0.67135, 0.6708, 0.6708, 906, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 13:30:00'::timestamp without time zone, 0.67075, 0.6709, 0.67045, 0.6708, 1180, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 14:00:00'::timestamp without time zone, 0.67075, 0.671, 0.67065, 0.6709, 1102, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 14:30:00'::timestamp without time zone, 0.6709, 0.67105, 0.67055, 0.6708, 2260, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 15:00:00'::timestamp without time zone, 0.6708, 0.67085, 0.6705, 0.6708, 2430, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING;
Date: 2024-10-26 05:11:19 Duration: 35ms 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, '2024-10-18 15:30:00'::timestamp without time zone, 0.6708, 0.6709, 0.67065, 0.67075, 1976, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 16:00:00'::timestamp without time zone, 0.6707, 0.67105, 0.67065, 0.671, 2034, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-18 16:30:00'::timestamp without time zone, 0.671, 0.6711, 0.67085, 0.6711, 627, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-20 18:00:00'::timestamp without time zone, 0.6711, 0.6718, 0.6708, 0.67155, 855, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-20 18:30:00'::timestamp without time zone, 0.6715, 0.6719, 0.6713, 0.6719, 560, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-20 19:00:00'::timestamp without time zone, 0.6719, 0.672, 0.67155, 0.67165, 416, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-20 19:30:00'::timestamp without time zone, 0.67165, 0.6718, 0.6712, 0.6718, 456, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-20 20:00:00'::timestamp without time zone, 0.6718, 0.67205, 0.6711, 0.6713, 709, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-20 20:30:00'::timestamp without time zone, 0.67135, 0.6715, 0.6709, 0.6712, 573, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-20 21:00:00'::timestamp without time zone, 0.6712, 0.67205, 0.6712, 0.67185, 1214, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-20 21:30:00'::timestamp without time zone, 0.67185, 0.67275, 0.67175, 0.67185, 2205, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-20 22:00:00'::timestamp without time zone, 0.67175, 0.6724, 0.67175, 0.6723, 807, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-20 22:30:00'::timestamp without time zone, 0.67235, 0.67235, 0.6717, 0.67185, 473, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-20 23:00:00'::timestamp without time zone, 0.67185, 0.67215, 0.6718, 0.67195, 422, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-20 23:30:00'::timestamp without time zone, 0.67195, 0.67235, 0.67185, 0.67205, 228, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 00:00:00'::timestamp without time zone, 0.67205, 0.67215, 0.67175, 0.6718, 301, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 00:30:00'::timestamp without time zone, 0.6718, 0.6718, 0.6707, 0.67085, 1194, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 01:00:00'::timestamp without time zone, 0.67085, 0.671, 0.6704, 0.67055, 897, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 01:30:00'::timestamp without time zone, 0.6705, 0.6706, 0.66995, 0.67035, 854, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 02:00:00'::timestamp without time zone, 0.67035, 0.67035, 0.66915, 0.66935, 2580, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 02:30:00'::timestamp without time zone, 0.66935, 0.6696, 0.66865, 0.669, 2259, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 03:00:00'::timestamp without time zone, 0.66905, 0.6698, 0.66895, 0.66935, 1799, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 03:30:00'::timestamp without time zone, 0.66935, 0.66975, 0.6691, 0.66935, 1352, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 04:00:00'::timestamp without time zone, 0.6693, 0.6696, 0.66915, 0.66935, 881, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 04:30:00'::timestamp without time zone, 0.66935, 0.6697, 0.66925, 0.66955, 541, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 05:00:00'::timestamp without time zone, 0.66955, 0.66965, 0.66915, 0.66945, 507, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 05:30:00'::timestamp without time zone, 0.66945, 0.6697, 0.66865, 0.6687, 793, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 06:00:00'::timestamp without time zone, 0.66865, 0.6688, 0.6684, 0.66855, 1229, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 06:30:00'::timestamp without time zone, 0.66855, 0.66885, 0.66855, 0.6686, 873, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 07:00:00'::timestamp without time zone, 0.66865, 0.66915, 0.66865, 0.6691, 868, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 07:30:00'::timestamp without time zone, 0.6691, 0.6693, 0.669, 0.6692, 728, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 08:00:00'::timestamp without time zone, 0.66915, 0.66965, 0.66895, 0.6696, 1600, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 08:30:00'::timestamp without time zone, 0.66965, 0.67035, 0.66955, 0.66965, 3475, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 09:00:00'::timestamp without time zone, 0.6696, 0.6697, 0.66905, 0.6692, 1044, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 09:30:00'::timestamp without time zone, 0.6693, 0.66995, 0.6693, 0.66945, 1611, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 10:00:00'::timestamp without time zone, 0.6695, 0.66955, 0.66855, 0.66865, 1449, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 10:30:00'::timestamp without time zone, 0.6687, 0.6687, 0.6676, 0.6677, 4471, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 11:00:00'::timestamp without time zone, 0.66765, 0.6677, 0.6662, 0.6662, 4866, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 11:30:00'::timestamp without time zone, 0.6662, 0.66655, 0.666, 0.6663, 2983, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 12:00:00'::timestamp without time zone, 0.66625, 0.6663, 0.66595, 0.6662, 1720, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 12:30:00'::timestamp without time zone, 0.66625, 0.6665, 0.66605, 0.6664, 835, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 13:00:00'::timestamp without time zone, 0.66645, 0.66665, 0.66635, 0.6666, 1383, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 13:30:00'::timestamp without time zone, 0.66665, 0.6667, 0.66635, 0.66655, 1214, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 14:00:00'::timestamp without time zone, 0.66655, 0.66665, 0.6663, 0.66645, 708, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 14:30:00'::timestamp without time zone, 0.66645, 0.66655, 0.6657, 0.66585, 4768, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 15:00:00'::timestamp without time zone, 0.66585, 0.6664, 0.6658, 0.66605, 2246, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 15:30:00'::timestamp without time zone, 0.66605, 0.66645, 0.66585, 0.66625, 1767, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 16:00:00'::timestamp without time zone, 0.66625, 0.66635, 0.66605, 0.6662, 1111, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 16:30:00'::timestamp without time zone, 0.66615, 0.6663, 0.66605, 0.66625, 771, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 18:00:00'::timestamp without time zone, 0.66625, 0.6663, 0.666, 0.6662, 346, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 18:30:00'::timestamp without time zone, 0.66615, 0.66615, 0.66565, 0.66565, 374, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING;
Date: 2024-10-26 05:11:19 Duration: 26ms 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, '2024-10-21 19:00:00'::timestamp without time zone, 0.6657, 0.66605, 0.66565, 0.66595, 412, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 19:30:00'::timestamp without time zone, 0.666, 0.66605, 0.6656, 0.6658, 677, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 20:00:00'::timestamp without time zone, 0.6658, 0.6661, 0.6656, 0.6659, 1431, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 20:30:00'::timestamp without time zone, 0.6659, 0.6663, 0.6655, 0.6659, 1658, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 21:00:00'::timestamp without time zone, 0.6659, 0.6668, 0.66585, 0.6666, 1463, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 21:30:00'::timestamp without time zone, 0.6667, 0.66705, 0.66645, 0.6669, 1142, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 22:00:00'::timestamp without time zone, 0.6669, 0.66735, 0.66685, 0.6672, 1007, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 22:30:00'::timestamp without time zone, 0.6672, 0.66765, 0.6671, 0.66725, 1066, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 23:00:00'::timestamp without time zone, 0.66725, 0.6684, 0.66725, 0.6684, 1932, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-21 23:30:00'::timestamp without time zone, 0.66835, 0.66895, 0.6683, 0.6689, 1991, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 00:00:00'::timestamp without time zone, 0.66885, 0.6692, 0.66855, 0.66915, 1167, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 00:30:00'::timestamp without time zone, 0.66915, 0.6693, 0.6687, 0.6691, 1589, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 01:00:00'::timestamp without time zone, 0.66905, 0.66935, 0.66895, 0.66935, 917, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 01:30:00'::timestamp without time zone, 0.66935, 0.66955, 0.66845, 0.6685, 2789, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 02:00:00'::timestamp without time zone, 0.6685, 0.6697, 0.6685, 0.66945, 2213, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 02:30:00'::timestamp without time zone, 0.66945, 0.66945, 0.6688, 0.6688, 1387, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 03:00:00'::timestamp without time zone, 0.66875, 0.6692, 0.66875, 0.66895, 1743, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 03:30:00'::timestamp without time zone, 0.6689, 0.66905, 0.6684, 0.6686, 1263, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 04:00:00'::timestamp without time zone, 0.66855, 0.669, 0.66855, 0.6687, 1216, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 04:30:00'::timestamp without time zone, 0.6687, 0.6688, 0.6683, 0.6683, 910, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 05:00:00'::timestamp without time zone, 0.66825, 0.66865, 0.6682, 0.66845, 886, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 05:30:00'::timestamp without time zone, 0.6684, 0.6689, 0.6683, 0.66845, 761, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 06:00:00'::timestamp without time zone, 0.66845, 0.66915, 0.66845, 0.669, 1297, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 06:30:00'::timestamp without time zone, 0.66905, 0.6692, 0.66875, 0.66885, 758, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 07:00:00'::timestamp without time zone, 0.66885, 0.6692, 0.66875, 0.66915, 636, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 07:30:00'::timestamp without time zone, 0.66915, 0.66915, 0.6687, 0.66885, 837, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 08:00:00'::timestamp without time zone, 0.66885, 0.6695, 0.66885, 0.66915, 2011, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 08:30:00'::timestamp without time zone, 0.6691, 0.66945, 0.6687, 0.669, 3260, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 09:00:00'::timestamp without time zone, 0.66895, 0.6698, 0.66885, 0.66965, 2990, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 09:30:00'::timestamp without time zone, 0.6697, 0.66995, 0.66855, 0.66885, 3502, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 10:00:00'::timestamp without time zone, 0.66885, 0.669, 0.66835, 0.66845, 2683, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 10:30:00'::timestamp without time zone, 0.6685, 0.66895, 0.66845, 0.6686, 3223, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 11:00:00'::timestamp without time zone, 0.66865, 0.66895, 0.66845, 0.66875, 2379, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 11:30:00'::timestamp without time zone, 0.66875, 0.66885, 0.66815, 0.6683, 1293, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 12:00:00'::timestamp without time zone, 0.66825, 0.6684, 0.66805, 0.66835, 1085, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 12:30:00'::timestamp without time zone, 0.66835, 0.66875, 0.6683, 0.66875, 835, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 13:00:00'::timestamp without time zone, 0.66875, 0.66895, 0.6686, 0.66875, 837, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 13:30:00'::timestamp without time zone, 0.6688, 0.66945, 0.6688, 0.66935, 907, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 14:00:00'::timestamp without time zone, 0.66935, 0.6694, 0.6687, 0.66895, 795, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 14:30:00'::timestamp without time zone, 0.66895, 0.6691, 0.6685, 0.6685, 1778, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 15:00:00'::timestamp without time zone, 0.66855, 0.6689, 0.66835, 0.66885, 977, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 15:30:00'::timestamp without time zone, 0.66885, 0.66895, 0.6685, 0.6685, 701, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 16:00:00'::timestamp without time zone, 0.66855, 0.66855, 0.66825, 0.66845, 559, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 16:30:00'::timestamp without time zone, 0.66845, 0.66875, 0.6684, 0.66865, 345, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 18:00:00'::timestamp without time zone, 0.6687, 0.6688, 0.66855, 0.66875, 151, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 18:30:00'::timestamp without time zone, 0.6688, 0.66895, 0.6686, 0.66865, 188, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 19:00:00'::timestamp without time zone, 0.66875, 0.66875, 0.6684, 0.66845, 190, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 19:30:00'::timestamp without time zone, 0.6684, 0.6687, 0.6684, 0.6686, 205, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 20:00:00'::timestamp without time zone, 0.66855, 0.6694, 0.66835, 0.66925, 906, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 20:30:00'::timestamp without time zone, 0.6692, 0.6692, 0.66735, 0.6675, 1768, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING; INSERT INTO T30 (SymbolID, PriceDateTime, Open, High, Low, Close, Volume, BSF, sastdatetimereceived) VALUES (515840221186983300, '2024-10-22 21:00:00'::timestamp without time zone, 0.6675, 0.6678, 0.66665, 0.66675, 1502, 0, '2024-10-26 05:11:19'::timestamp without time zone) ON CONFLICT (symbolid, pricedatetime) DO NOTHING;
Date: 2024-10-26 05:11:19 Duration: 22ms Database: acaweb_fx User: postgres Remote: 192.168.2.82 Application: [unknown]
18 1ms 5ms 2ms 5,225 14s966ms 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 #18
Day Hour Count Duration Avg duration Oct 26 05 5,225 14s966ms 2ms [ User: postgres - Total duration: 14s966ms - Times executed: 5225 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 14s966ms - Times executed: 5225 ]
-
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 = 'NOKJPY' OR dss.downloadersymbol = 'NOKJPY') AND dss.enabled = 1;
Date: 2024-10-26 05:45:04 Duration: 5ms Database: acaweb_fx User: postgres Remote: 192.168.1.20 Application: PostgreSQL JDBC Driver Bind query: yes
-
SELECT s.symbolid AS id, s.symbol AS name, s.exchange AS exchange, s.timegranularity AS interval, dtt.timezone AS timezone FROM symbols s INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN brokersymbollist bsl ON bsl.symbolid = s.symbolid WHERE bsl.brokerid = '529' AND ('0' = 0 OR s.timegranularity = '0') AND (s.symbol = 'SA40' OR dss.downloadersymbol = 'SA40') AND dss.enabled = 1;
Date: 2024-10-26 05:45:04 Duration: 5ms Database: acaweb_fx User: postgres Remote: 192.168.1.20 Application: PostgreSQL JDBC Driver Bind query: yes
-
SELECT s.symbolid AS id, s.symbol AS name, s.exchange AS exchange, s.timegranularity AS interval, dtt.timezone AS timezone FROM symbols s INNER JOIN downloadersymbolsettings dss ON dss.symbolid = s.symbolid INNER JOIN datafeedstimetable dtt ON dss.classname = dtt.classname AND dtt.dayofweek = 3 INNER JOIN brokersymbollist bsl ON bsl.symbolid = s.symbolid WHERE bsl.brokerid = '529' AND ('0' = 0 OR s.timegranularity = '0') AND (s.symbol = 'Cocoa' OR dss.downloadersymbol = 'Cocoa') AND dss.enabled = 1;
Date: 2024-10-26 05:45:03 Duration: 5ms Database: acaweb_fx User: postgres Remote: 192.168.1.145 Application: PostgreSQL JDBC Driver Bind query: yes
19 1ms 3ms 1ms 308 541ms 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 #19
Day Hour Count Duration Avg duration Oct 26 05 308 541ms 1ms [ User: postgres - Total duration: 541ms - Times executed: 308 ]
[ Application: [unknown] - Total duration: 522ms - Times executed: 300 ]
[ 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 'GO_MARKETS') AS subquery WHERE datafeeds_latestrun.feedname ilike 'GO_MARKETS';
Date: 2024-10-26 05:43: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: 2024-10-26 05:13:48 Duration: 2ms 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 'AKFX') AS subquery WHERE datafeeds_latestrun.feedname ilike 'AKFX';
Date: 2024-10-26 05:03:01 Duration: 2ms Database: acaweb_fx User: postgres Remote: [local] Application: psql
20 0ms 2ms 1ms 5,585 6s397ms select distinct on (coalesce(bim.code, s.symbol) , s.exchange, s.timegranularity, df.timezone) coalesce(bim.code, s.symbol) as name, s.symbol as symbol, 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 #20
Day Hour Count Duration Avg duration Oct 26 05 5,585 6s397ms 1ms [ User: postgres - Total duration: 6s397ms - Times executed: 5585 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 6s397ms - Times executed: 5585 ]
-
SELECT DISTINCT ON (coalesce(bim.code, s.symbol) , s.exchange, s.timegranularity, df.timezone) coalesce(bim.code, s.symbol) as name, s.symbol as symbol, 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 = '515840248618444300';
Date: 2024-10-26 05:03:04 Duration: 2ms Database: acaweb_fx User: postgres Remote: 192.168.1.250 Application: PostgreSQL JDBC Driver Bind query: yes
-
SELECT DISTINCT ON (coalesce(bim.code, s.symbol) , s.exchange, s.timegranularity, df.timezone) coalesce(bim.code, s.symbol) as name, s.symbol as symbol, 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 = '515840248621451300';
Date: 2024-10-26 05:03:04 Duration: 2ms Database: acaweb_fx User: postgres Remote: 192.168.1.250 Application: PostgreSQL JDBC Driver Bind query: yes
-
SELECT DISTINCT ON (coalesce(bim.code, s.symbol) , s.exchange, s.timegranularity, df.timezone) coalesce(bim.code, s.symbol) as name, s.symbol as symbol, 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 = '515840248619247300';
Date: 2024-10-26 05:03:04 Duration: 2ms Database: acaweb_fx User: postgres Remote: 192.168.1.250 Application: PostgreSQL JDBC Driver Bind query: yes
Time consuming prepare
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 610ms 5,541 0ms 0ms 0ms SET extra_float_digits = 3;Times Reported Time consuming prepare #1
Day Hour Count Duration Avg duration Oct 26 05 5,541 610ms 0ms [ User: postgres - Total duration: 48ms - Times executed: 5541 ]
[ Application: [unknown] - Total duration: 48ms - Times executed: 5541 ]
-
SET extra_float_digits = 3;
Date: 2024-10-26 05:32:19 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250
-
SET extra_float_digits = 3;
Date: 2024-10-26 05:08:04 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.44
-
SET extra_float_digits = 3;
Date: 2024-10-26 05:02:08 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.44
2 329ms 499 0ms 3ms 0ms WITH rar_max as ( ;Times Reported Time consuming prepare #2
Day Hour Count Duration Avg duration 05 499 329ms 0ms [ User: postgres - Total duration: 28m48s - Times executed: 499 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 28m48s - Times executed: 499 ]
-
WITH rar_max as ( ;
Date: 2024-10-26 05:03:04 Duration: 3ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250
-
WITH rar_max as ( ;
Date: 2024-10-26 05:55:26 Duration: 3ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250
-
WITH rar_max as ( ;
Date: 2024-10-26 05:55:26 Duration: 3ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250
3 236ms 201 0ms 1ms 1ms SELECT s.symbolid, dss.downloadfrequency, dss.downloadersymbol;Times Reported Time consuming prepare #3
Day Hour Count Duration Avg duration 05 201 236ms 1ms [ User: postgres - Total duration: 288ms - Times executed: 201 ]
[ Application: [unknown] - Total duration: 288ms - Times executed: 201 ]
-
SELECT s.symbolid, dss.downloadfrequency, dss.downloadersymbol;
Date: 2024-10-26 05:17:22 Duration: 1ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142
-
SELECT s.symbolid, dss.downloadfrequency, dss.downloadersymbol;
Date: 2024-10-26 05:06:17 Duration: 1ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142
-
SELECT s.symbolid, dss.downloadfrequency, dss.downloadersymbol;
Date: 2024-10-26 05:10:46 Duration: 1ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142
4 218ms 794 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 #4
Day Hour Count Duration Avg duration 05 794 218ms 0ms [ User: postgres - Total duration: 1s107ms - Times executed: 794 ]
[ Application: [unknown] - Total duration: 1s107ms - Times executed: 794 ]
-
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: 2024-10-26 05:25:51 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: 2024-10-26 05:56:41 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: 2024-10-26 05:39:43 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142
5 132ms 507 0ms 2ms 0ms SELECT ;Times Reported Time consuming prepare #5
Day Hour Count Duration Avg duration 05 507 132ms 0ms [ User: postgres - Total duration: 678ms - Times executed: 507 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 566ms - Times executed: 210 ]
[ Application: [unknown] - Total duration: 111ms - Times executed: 297 ]
-
SELECT ;
Date: 2024-10-26 05:15:04 Duration: 2ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.20
-
SELECT ;
Date: 2024-10-26 05:45:04 Duration: 1ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.20
-
SELECT ;
Date: 2024-10-26 05:15:04 Duration: 1ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.145
6 97ms 709 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 #6
Day Hour Count Duration Avg duration 05 709 97ms 0ms [ User: postgres - Total duration: 173ms - Times executed: 709 ]
[ Application: [unknown] - Total duration: 173ms - Times executed: 709 ]
-
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: 2024-10-26 05:11:54 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: 2024-10-26 05:10:57 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: 2024-10-26 05:12:18 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142
7 90ms 938 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 #7
Day Hour Count Duration Avg duration 05 938 90ms 0ms [ User: postgres - Total duration: 314ms - Times executed: 938 ]
[ Application: [unknown] - Total duration: 314ms - Times executed: 938 ]
-
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: 2024-10-26 05:10: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: 2024-10-26 05:11:21 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: 2024-10-26 05:12:20 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142
8 34ms 15 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 05 15 34ms 2ms [ User: postgres - Total duration: 22ms - Times executed: 15 ]
[ Application: [unknown] - Total duration: 22ms - Times executed: 15 ]
-
select cast(count(*) / cast(setting as numeric) * 100 as int) from pg_stat_activity, pg_settings WHERE name = 'max_connections' group by setting;
Date: 2024-10-26 05:20: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: 2024-10-26 05:01:01 Duration: 2ms 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: 2024-10-26 05:01:09 Duration: 2ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.90
9 29ms 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 #9
Day Hour Count Duration Avg duration 05 288 29ms 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: 2024-10-26 05:27:16 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: 2024-10-26 05:57:12 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: 2024-10-26 05:27:11 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142
10 23ms 288 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 #10
Day Hour Count Duration Avg duration 05 288 23ms 0ms [ User: postgres - Total duration: 23ms - Times executed: 288 ]
[ Application: [unknown] - Total duration: 23ms - Times executed: 288 ]
-
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: 2024-10-26 05:11:12 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: 2024-10-26 05:27:09 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: 2024-10-26 05:12:16 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142
11 15ms 6 2ms 3ms 2ms select client_addr, count(1) from pg_stat_activity, pg_settings WHERE name = 'max_connections' group by client_addr, setting having (client_addr is not null OR (client_addr is null and count(1) > (cast(setting as numeric) / 3 * 2))) order by count desc;Times Reported Time consuming prepare #11
Day Hour Count Duration Avg duration 05 6 15ms 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: 2024-10-26 05: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: 2024-10-26 05:40:04 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: 2024-10-26 05:20:05 Duration: 2ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.126
12 13ms 12 1ms 1ms 1ms select distinct classname, to_char(created_datetime, 'yyyy-mm-dd HH24:MI'), to_char(cleared_datetime, 'yyyy-mm-dd HH24:MI'), action_to_take, description, created_datetime from datafeed_restarter_events where (is_current_entry = 1 OR cleared_datetime > current_timestamp - interval '17 hour') order by created_datetime desc;Times Reported Time consuming prepare #12
Day Hour Count Duration Avg duration 05 12 13ms 1ms [ User: postgres - Total duration: 43ms - Times executed: 12 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 43ms - Times executed: 12 ]
-
select distinct classname, to_char(created_datetime, 'yyyy-mm-dd HH24:MI'), to_char(cleared_datetime, 'yyyy-mm-dd HH24:MI'), action_to_take, description, created_datetime from datafeed_restarter_events where (is_current_entry = 1 OR cleared_datetime > current_timestamp - interval '17 hour') order by created_datetime desc;
Date: 2024-10-26 05:45:31 Duration: 1ms Database: postgres User: acaweb_fx Remote: postgres Application: 127.0.0.1
-
select distinct classname, to_char(created_datetime, 'yyyy-mm-dd HH24:MI'), to_char(cleared_datetime, 'yyyy-mm-dd HH24:MI'), action_to_take, description, created_datetime from datafeed_restarter_events where (is_current_entry = 1 OR cleared_datetime > current_timestamp - interval '17 hour') order by created_datetime desc;
Date: 2024-10-26 05:00:22 Duration: 1ms Database: postgres User: acaweb_fx Remote: postgres Application: 127.0.0.1
-
select distinct classname, to_char(created_datetime, 'yyyy-mm-dd HH24:MI'), to_char(cleared_datetime, 'yyyy-mm-dd HH24:MI'), action_to_take, description, created_datetime from datafeed_restarter_events where (is_current_entry = 1 OR cleared_datetime > current_timestamp - interval '17 hour') order by created_datetime desc;
Date: 2024-10-26 05:15:25 Duration: 1ms Database: postgres User: acaweb_fx Remote: postgres Application: 127.0.0.1
13 9ms 12 0ms 1ms 0ms select feedname, to_char(latestrxtime, 'yyyy-mm-dd HH24:MI'), to_char(LatestDBWriteTime, 'yyyy-mm-dd HH24:MI'), to_char(LatestStartupTime, 'yyyy-mm-dd HH24:MI'), StartupTimeInMinutes, dm.source_type, dm.transport_type, case when latestrxtime < (CURRENT_TIMESTAMP - 5 * interval '1 minute') then 'X' else 'OK' end, case when (feedname ilike '%_EOD' OR feedname ilike 'IQFEED_DAILIES' or feedname ilike 'YAHOO%' or feedname ilike 'QUANDL_FUTURES%' or feedname ilike 'BAR_CHART') then case when LatestDBWriteTime < (CURRENT_TIMESTAMP - 24 * interval '1 hour') then 'X' else 'OK' end else case when (LatestDBWriteTime < (CURRENT_TIMESTAMP - 15 * interval '1 minute') and LatestStartupTime < (CURRENT_TIMESTAMP - 30 * interval '1 minute')) OR latestrxtime < CURRENT_TIMESTAMP - interval '2 hour' then 'X' else 'OK' end end as statusDB, comment from datafeeds_latestrun dlr left outer join datafeeds df on dlr.feedname ilike df.name inner join datafeeds_metadata dm on df.metadata_id = dm.id order by feedname;Times Reported Time consuming prepare #13
Day Hour Count Duration Avg duration 05 12 9ms 0ms [ User: postgres - Total duration: 14ms - Times executed: 12 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 14ms - Times executed: 12 ]
-
select feedname, to_char(latestrxtime, 'yyyy-mm-dd HH24:MI'), to_char(LatestDBWriteTime, 'yyyy-mm-dd HH24:MI'), to_char(LatestStartupTime, 'yyyy-mm-dd HH24:MI'), StartupTimeInMinutes, dm.source_type, dm.transport_type, case when latestrxtime < (CURRENT_TIMESTAMP - 5 * interval '1 minute') then 'X' else 'OK' end, case when (feedname ilike '%_EOD' OR feedname ilike 'IQFEED_DAILIES' or feedname ilike 'YAHOO%' or feedname ilike 'QUANDL_FUTURES%' or feedname ilike 'BAR_CHART') then case when LatestDBWriteTime < (CURRENT_TIMESTAMP - 24 * interval '1 hour') then 'X' else 'OK' end else case when (LatestDBWriteTime < (CURRENT_TIMESTAMP - 15 * interval '1 minute') and LatestStartupTime < (CURRENT_TIMESTAMP - 30 * interval '1 minute')) OR latestrxtime < CURRENT_TIMESTAMP - interval '2 hour' then 'X' else 'OK' end end as statusDB, comment from datafeeds_latestrun dlr left outer join datafeeds df on dlr.feedname ilike df.name inner join datafeeds_metadata dm on df.metadata_id = dm.id order by feedname;
Date: 2024-10-26 05:45:31 Duration: 1ms Database: postgres User: acaweb_fx Remote: postgres Application: 127.0.0.1
-
select feedname, to_char(latestrxtime, 'yyyy-mm-dd HH24:MI'), to_char(LatestDBWriteTime, 'yyyy-mm-dd HH24:MI'), to_char(LatestStartupTime, 'yyyy-mm-dd HH24:MI'), StartupTimeInMinutes, dm.source_type, dm.transport_type, case when latestrxtime < (CURRENT_TIMESTAMP - 5 * interval '1 minute') then 'X' else 'OK' end, case when (feedname ilike '%_EOD' OR feedname ilike 'IQFEED_DAILIES' or feedname ilike 'YAHOO%' or feedname ilike 'QUANDL_FUTURES%' or feedname ilike 'BAR_CHART') then case when LatestDBWriteTime < (CURRENT_TIMESTAMP - 24 * interval '1 hour') then 'X' else 'OK' end else case when (LatestDBWriteTime < (CURRENT_TIMESTAMP - 15 * interval '1 minute') and LatestStartupTime < (CURRENT_TIMESTAMP - 30 * interval '1 minute')) OR latestrxtime < CURRENT_TIMESTAMP - interval '2 hour' then 'X' else 'OK' end end as statusDB, comment from datafeeds_latestrun dlr left outer join datafeeds df on dlr.feedname ilike df.name inner join datafeeds_metadata dm on df.metadata_id = dm.id order by feedname;
Date: 2024-10-26 05:25:27 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 127.0.0.1
-
select feedname, to_char(latestrxtime, 'yyyy-mm-dd HH24:MI'), to_char(LatestDBWriteTime, 'yyyy-mm-dd HH24:MI'), to_char(LatestStartupTime, 'yyyy-mm-dd HH24:MI'), StartupTimeInMinutes, dm.source_type, dm.transport_type, case when latestrxtime < (CURRENT_TIMESTAMP - 5 * interval '1 minute') then 'X' else 'OK' end, case when (feedname ilike '%_EOD' OR feedname ilike 'IQFEED_DAILIES' or feedname ilike 'YAHOO%' or feedname ilike 'QUANDL_FUTURES%' or feedname ilike 'BAR_CHART') then case when LatestDBWriteTime < (CURRENT_TIMESTAMP - 24 * interval '1 hour') then 'X' else 'OK' end else case when (LatestDBWriteTime < (CURRENT_TIMESTAMP - 15 * interval '1 minute') and LatestStartupTime < (CURRENT_TIMESTAMP - 30 * interval '1 minute')) OR latestrxtime < CURRENT_TIMESTAMP - interval '2 hour' then 'X' else 'OK' end end as statusDB, comment from datafeeds_latestrun dlr left outer join datafeeds df on dlr.feedname ilike df.name inner join datafeeds_metadata dm on df.metadata_id = dm.id order by feedname;
Date: 2024-10-26 05:15:25 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 127.0.0.1
14 9ms 6 0ms 3ms 1ms WITH last_candle AS ( ;Times Reported Time consuming prepare #14
Day Hour Count Duration Avg duration 05 6 9ms 1ms [ User: postgres - Total duration: 2s261ms - Times executed: 6 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 2s261ms - Times executed: 6 ]
-
WITH last_candle AS ( ;
Date: 2024-10-26 05:16:00 Duration: 3ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.145
-
WITH last_candle AS ( ;
Date: 2024-10-26 05:56:01 Duration: 2ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.20
-
WITH last_candle AS ( ;
Date: 2024-10-26 05:23:59 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.145
15 7ms 87 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 05 87 7ms 0ms [ User: postgres - Total duration: 12ms - Times executed: 87 ]
[ Application: [unknown] - Total duration: 12ms - Times executed: 87 ]
-
INSERT INTO mt4datafeederrors (datafeedname, eventtimestamp, errordescription, status, serveraddress, username) values ($1, current_timestamp, $2, $3, $4, $5);
Date: 2024-10-26 05:15:52 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: 2024-10-26 05:45:52 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: 2024-10-26 05:53:52 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.205
16 6ms 3 2ms 2ms 2ms SELECT COUNT(DISTINCT absolutetimezoneoffset) AS timezoneoffsetcount FROM symbols s INNER JOIN brokersymbollist bsl on s.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss ON bsl.symbolid = dss.symbolid INNER JOIN datafeedstimetable df on dss.classname = df.classname WHERE brokerid = 612 AND lower(exchange) = lower('[All]');Times Reported Time consuming prepare #16
Day Hour Count Duration Avg duration 05 3 6ms 2ms [ User: postgres - Total duration: 122ms - Times executed: 3 ]
[ Application: [unknown] - Total duration: 122ms - Times executed: 3 ]
-
SELECT COUNT(DISTINCT absolutetimezoneoffset) AS timezoneoffsetcount FROM symbols s INNER JOIN brokersymbollist bsl on s.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss ON bsl.symbolid = dss.symbolid INNER JOIN datafeedstimetable df on dss.classname = df.classname WHERE brokerid = 612 AND lower(exchange) = lower('[All]');
Date: 2024-10-26 05:01:18 Duration: 2ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.44
-
SELECT COUNT(DISTINCT absolutetimezoneoffset) AS timezoneoffsetcount FROM symbols s INNER JOIN brokersymbollist bsl on s.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss ON bsl.symbolid = dss.symbolid INNER JOIN datafeedstimetable df on dss.classname = df.classname WHERE brokerid = 612 AND lower(exchange) = lower('[All]');
Date: 2024-10-26 05:01:18 Duration: 2ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.44
-
SELECT COUNT(DISTINCT absolutetimezoneoffset) AS timezoneoffsetcount FROM symbols s INNER JOIN brokersymbollist bsl on s.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss ON bsl.symbolid = dss.symbolid INNER JOIN datafeedstimetable df on dss.classname = df.classname WHERE brokerid = 612 AND lower(exchange) = lower('[All]');
Date: 2024-10-26 05:01:18 Duration: 2ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.44
17 6ms 3 2ms 2ms 2ms SELECT COUNT(DISTINCT absolutetimezoneoffset) AS timezoneoffsetcount FROM symbols s INNER JOIN brokersymbollist bsl on s.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss ON bsl.symbolid = dss.symbolid INNER JOIN datafeedstimetable df on dss.classname = df.classname WHERE brokerid = 652 AND lower(exchange) = lower('BROKER');Times Reported Time consuming prepare #17
Day Hour Count Duration Avg duration 05 3 6ms 2ms [ User: postgres - Total duration: 8ms - Times executed: 3 ]
[ Application: [unknown] - Total duration: 8ms - Times executed: 3 ]
-
SELECT COUNT(DISTINCT absolutetimezoneoffset) AS timezoneoffsetcount FROM symbols s INNER JOIN brokersymbollist bsl on s.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss ON bsl.symbolid = dss.symbolid INNER JOIN datafeedstimetable df on dss.classname = df.classname WHERE brokerid = 652 AND lower(exchange) = lower('BROKER');
Date: 2024-10-26 05:00:44 Duration: 2ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.44
-
SELECT COUNT(DISTINCT absolutetimezoneoffset) AS timezoneoffsetcount FROM symbols s INNER JOIN brokersymbollist bsl on s.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss ON bsl.symbolid = dss.symbolid INNER JOIN datafeedstimetable df on dss.classname = df.classname WHERE brokerid = 652 AND lower(exchange) = lower('BROKER');
Date: 2024-10-26 05:00:44 Duration: 2ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.44
-
SELECT COUNT(DISTINCT absolutetimezoneoffset) AS timezoneoffsetcount FROM symbols s INNER JOIN brokersymbollist bsl on s.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss ON bsl.symbolid = dss.symbolid INNER JOIN datafeedstimetable df on dss.classname = df.classname WHERE brokerid = 652 AND lower(exchange) = lower('BROKER');
Date: 2024-10-26 05:00:44 Duration: 2ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.44
18 6ms 3 1ms 2ms 2ms SELECT COUNT(DISTINCT absolutetimezoneoffset) AS timezoneoffsetcount FROM symbols s INNER JOIN brokersymbollist bsl on s.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss ON bsl.symbolid = dss.symbolid INNER JOIN datafeedstimetable df on dss.classname = df.classname WHERE brokerid = 479 AND lower(exchange) = lower('BROKER');Times Reported Time consuming prepare #18
Day Hour Count Duration Avg duration 05 3 6ms 2ms [ User: postgres - Total duration: 132ms - Times executed: 3 ]
[ Application: [unknown] - Total duration: 132ms - Times executed: 3 ]
-
SELECT COUNT(DISTINCT absolutetimezoneoffset) AS timezoneoffsetcount FROM symbols s INNER JOIN brokersymbollist bsl on s.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss ON bsl.symbolid = dss.symbolid INNER JOIN datafeedstimetable df on dss.classname = df.classname WHERE brokerid = 479 AND lower(exchange) = lower('BROKER');
Date: 2024-10-26 05:00:47 Duration: 2ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.44
-
SELECT COUNT(DISTINCT absolutetimezoneoffset) AS timezoneoffsetcount FROM symbols s INNER JOIN brokersymbollist bsl on s.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss ON bsl.symbolid = dss.symbolid INNER JOIN datafeedstimetable df on dss.classname = df.classname WHERE brokerid = 479 AND lower(exchange) = lower('BROKER');
Date: 2024-10-26 05:00:47 Duration: 2ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.44
-
SELECT COUNT(DISTINCT absolutetimezoneoffset) AS timezoneoffsetcount FROM symbols s INNER JOIN brokersymbollist bsl on s.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss ON bsl.symbolid = dss.symbolid INNER JOIN datafeedstimetable df on dss.classname = df.classname WHERE brokerid = 479 AND lower(exchange) = lower('BROKER');
Date: 2024-10-26 05:00:47 Duration: 1ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.44
19 6ms 3 1ms 2ms 2ms SELECT COUNT(DISTINCT absolutetimezoneoffset) AS timezoneoffsetcount FROM symbols s INNER JOIN brokersymbollist bsl on s.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss ON bsl.symbolid = dss.symbolid INNER JOIN datafeedstimetable df on dss.classname = df.classname WHERE brokerid = 610 AND lower(exchange) = lower('Alpari');Times Reported Time consuming prepare #19
Day Hour Count Duration Avg duration 05 3 6ms 2ms [ User: postgres - Total duration: 12ms - Times executed: 3 ]
[ Application: [unknown] - Total duration: 12ms - Times executed: 3 ]
-
SELECT COUNT(DISTINCT absolutetimezoneoffset) AS timezoneoffsetcount FROM symbols s INNER JOIN brokersymbollist bsl on s.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss ON bsl.symbolid = dss.symbolid INNER JOIN datafeedstimetable df on dss.classname = df.classname WHERE brokerid = 610 AND lower(exchange) = lower('Alpari');
Date: 2024-10-26 05:01:17 Duration: 2ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.44
-
SELECT COUNT(DISTINCT absolutetimezoneoffset) AS timezoneoffsetcount FROM symbols s INNER JOIN brokersymbollist bsl on s.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss ON bsl.symbolid = dss.symbolid INNER JOIN datafeedstimetable df on dss.classname = df.classname WHERE brokerid = 610 AND lower(exchange) = lower('Alpari');
Date: 2024-10-26 05:01:17 Duration: 2ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.44
-
SELECT COUNT(DISTINCT absolutetimezoneoffset) AS timezoneoffsetcount FROM symbols s INNER JOIN brokersymbollist bsl on s.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss ON bsl.symbolid = dss.symbolid INNER JOIN datafeedstimetable df on dss.classname = df.classname WHERE brokerid = 610 AND lower(exchange) = lower('Alpari');
Date: 2024-10-26 05:01:17 Duration: 1ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.44
20 6ms 3 1ms 2ms 2ms SELECT COUNT(DISTINCT absolutetimezoneoffset) AS timezoneoffsetcount FROM symbols s INNER JOIN brokersymbollist bsl on s.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss ON bsl.symbolid = dss.symbolid INNER JOIN datafeedstimetable df on dss.classname = df.classname WHERE brokerid = 935 AND lower(exchange) = lower('Soft Commodity');Times Reported Time consuming prepare #20
Day Hour Count Duration Avg duration 05 3 6ms 2ms [ User: postgres - Total duration: 8ms - Times executed: 3 ]
[ Application: [unknown] - Total duration: 8ms - Times executed: 3 ]
-
SELECT COUNT(DISTINCT absolutetimezoneoffset) AS timezoneoffsetcount FROM symbols s INNER JOIN brokersymbollist bsl on s.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss ON bsl.symbolid = dss.symbolid INNER JOIN datafeedstimetable df on dss.classname = df.classname WHERE brokerid = 935 AND lower(exchange) = lower('Soft Commodity');
Date: 2024-10-26 05:09:18 Duration: 2ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.44
-
SELECT COUNT(DISTINCT absolutetimezoneoffset) AS timezoneoffsetcount FROM symbols s INNER JOIN brokersymbollist bsl on s.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss ON bsl.symbolid = dss.symbolid INNER JOIN datafeedstimetable df on dss.classname = df.classname WHERE brokerid = 935 AND lower(exchange) = lower('Soft Commodity');
Date: 2024-10-26 05:09:18 Duration: 2ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.44
-
SELECT COUNT(DISTINCT absolutetimezoneoffset) AS timezoneoffsetcount FROM symbols s INNER JOIN brokersymbollist bsl on s.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss ON bsl.symbolid = dss.symbolid INNER JOIN datafeedstimetable df on dss.classname = df.classname WHERE brokerid = 935 AND lower(exchange) = lower('Soft Commodity');
Date: 2024-10-26 05:09:18 Duration: 1ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.44
Time consuming bind
Rank Total duration Times executed Min duration Max duration Avg duration Query 1 14s980ms 1,762 0ms 37ms 8ms WITH rar_max as ( ;Times Reported Time consuming bind #1
Day Hour Count Duration Avg duration Oct 26 05 1,762 14s980ms 8ms [ User: postgres - Total duration: 1h32m13s - Times executed: 1762 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 1h29m54s - Times executed: 1733 ]
[ Application: [unknown] - Total duration: 2m19s - Times executed: 29 ]
-
WITH rar_max as ( ;
Date: 2024-10-26 05:39:44 Duration: 37ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.20 parameters: $1 = '667', $2 = '7', $3 = '15', $4 = '30', $5 = '60', $6 = '120', $7 = '240', $8 = '480', $9 = '1440', $10 = '0', $11 = '', $12 = '84', $13 = 'AUDCAD', $14 = 'AUDCHF', $15 = 'AUDJPY', $16 = 'AUDNZD', $17 = 'AUDSGD', $18 = 'CADCHF', $19 = 'CADJPY', $20 = 'CHFJPY', $21 = 'EURAUD', $22 = 'EURCAD', $23 = 'EURCHF', $24 = 'EURCZK', $25 = 'EURGBP', $26 = 'EURHUF', $27 = 'EURJPY', $28 = 'EURNOK', $29 = 'EURNZD', $30 = 'EURPLN', $31 = 'EURSEK', $32 = 'EURSGD', $33 = 'EURTRY', $34 = 'EURZAR', $35 = 'GBPAUD', $36 = 'GBPCAD', $37 = 'GBPCHF', $38 = 'GBPJPY', $39 = 'GBPNZD', $40 = 'GBPPLN', $41 = 'GBPSEK', $42 = 'GBPSGD', $43 = 'NZDCAD', $44 = 'NZDCHF', $45 = 'NZDJPY', $46 = 'NZDSGD', $47 = 'USDCNH', $48 = 'USDCZK', $49 = 'USDHUF', $50 = 'USDNOK', $51 = 'USDPLN', $52 = 'USDSEK', $53 = 'USDSGD', $54 = 'USDTRY', $55 = 'USDZAR', $56 = 'WTI', $57 = 'XBRUSD', $58 = 'XTIUSD', $59 = 'BTCUSD', $60 = 'XAGAUD', $61 = 'XAGUSD', $62 = 'XAUAUD', $63 = 'XAUUSD', $64 = 'XPTUSD', $65 = 'XPDUSD', $66 = 'AUDUSD', $67 = 'EURUSD', $68 = 'GBPUSD', $69 = 'NZDUSD', $70 = 'USDCAD', $71 = 'USDCHF', $72 = 'USDHKD', $73 = 'USDJPY', $74 = 'AUS200', $75 = 'CHINA300', $76 = 'CHINA50', $77 = 'DJ30', $78 = 'ESP35t', $79 = 'EUR50', $80 = 'EURO50', $81 = 'FRA40', $82 = 'GDAXI', $83 = 'GDAXIm', $84 = 'HK50', $85 = 'ITA40', $86 = 'J225', $87 = 'JP225', $88 = 'NAS100', $89 = 'SING30', $90 = 'SPA35', $91 = 'STOXX50', $92 = 'SUI20', $93 = 'UK100', $94 = 'US100', $95 = 'US30', $96 = 'US500', $97 = '400', $98 = '400', $99 = 't', $100 = '10', $101 = '10'
-
WITH rar_max as ( ;
Date: 2024-10-26 05:39:44 Duration: 36ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.145 parameters: $1 = '667', $2 = '7', $3 = '15', $4 = '30', $5 = '60', $6 = '120', $7 = '240', $8 = '480', $9 = '1440', $10 = '0', $11 = '', $12 = '84', $13 = 'AUDCAD', $14 = 'AUDCHF', $15 = 'AUDJPY', $16 = 'AUDNZD', $17 = 'AUDSGD', $18 = 'CADCHF', $19 = 'CADJPY', $20 = 'CHFJPY', $21 = 'EURAUD', $22 = 'EURCAD', $23 = 'EURCHF', $24 = 'EURCZK', $25 = 'EURGBP', $26 = 'EURHUF', $27 = 'EURJPY', $28 = 'EURNOK', $29 = 'EURNZD', $30 = 'EURPLN', $31 = 'EURSEK', $32 = 'EURSGD', $33 = 'EURTRY', $34 = 'EURZAR', $35 = 'GBPAUD', $36 = 'GBPCAD', $37 = 'GBPCHF', $38 = 'GBPJPY', $39 = 'GBPNZD', $40 = 'GBPPLN', $41 = 'GBPSEK', $42 = 'GBPSGD', $43 = 'NZDCAD', $44 = 'NZDCHF', $45 = 'NZDJPY', $46 = 'NZDSGD', $47 = 'USDCNH', $48 = 'USDCZK', $49 = 'USDHUF', $50 = 'USDNOK', $51 = 'USDPLN', $52 = 'USDSEK', $53 = 'USDSGD', $54 = 'USDTRY', $55 = 'USDZAR', $56 = 'WTI', $57 = 'XBRUSD', $58 = 'XTIUSD', $59 = 'BTCUSD', $60 = 'XAGAUD', $61 = 'XAGUSD', $62 = 'XAUAUD', $63 = 'XAUUSD', $64 = 'XPTUSD', $65 = 'XPDUSD', $66 = 'AUDUSD', $67 = 'EURUSD', $68 = 'GBPUSD', $69 = 'NZDUSD', $70 = 'USDCAD', $71 = 'USDCHF', $72 = 'USDHKD', $73 = 'USDJPY', $74 = 'AUS200', $75 = 'CHINA300', $76 = 'CHINA50', $77 = 'DJ30', $78 = 'ESP35t', $79 = 'EUR50', $80 = 'EURO50', $81 = 'FRA40', $82 = 'GDAXI', $83 = 'GDAXIm', $84 = 'HK50', $85 = 'ITA40', $86 = 'J225', $87 = 'JP225', $88 = 'NAS100', $89 = 'SING30', $90 = 'SPA35', $91 = 'STOXX50', $92 = 'SUI20', $93 = 'UK100', $94 = 'US100', $95 = 'US30', $96 = 'US500', $97 = '400', $98 = '400', $99 = 't', $100 = '10', $101 = '10'
-
WITH rar_max as ( ;
Date: 2024-10-26 05:39:32 Duration: 36ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.20 parameters: $1 = 't', $2 = '667', $3 = '7', $4 = '15', $5 = '30', $6 = '60', $7 = '120', $8 = '240', $9 = '480', $10 = '1440', $11 = '0', $12 = '', $13 = '84', $14 = 'AUDCAD', $15 = 'AUDCHF', $16 = 'AUDJPY', $17 = 'AUDNZD', $18 = 'AUDSGD', $19 = 'CADCHF', $20 = 'CADJPY', $21 = 'CHFJPY', $22 = 'EURAUD', $23 = 'EURCAD', $24 = 'EURCHF', $25 = 'EURCZK', $26 = 'EURGBP', $27 = 'EURHUF', $28 = 'EURJPY', $29 = 'EURNOK', $30 = 'EURNZD', $31 = 'EURPLN', $32 = 'EURSEK', $33 = 'EURSGD', $34 = 'EURTRY', $35 = 'EURZAR', $36 = 'GBPAUD', $37 = 'GBPCAD', $38 = 'GBPCHF', $39 = 'GBPJPY', $40 = 'GBPNZD', $41 = 'GBPPLN', $42 = 'GBPSEK', $43 = 'GBPSGD', $44 = 'NZDCAD', $45 = 'NZDCHF', $46 = 'NZDJPY', $47 = 'NZDSGD', $48 = 'USDCNH', $49 = 'USDCZK', $50 = 'USDHUF', $51 = 'USDNOK', $52 = 'USDPLN', $53 = 'USDSEK', $54 = 'USDSGD', $55 = 'USDTRY', $56 = 'USDZAR', $57 = 'WTI', $58 = 'XBRUSD', $59 = 'XTIUSD', $60 = 'BTCUSD', $61 = 'XAGAUD', $62 = 'XAGUSD', $63 = 'XAUAUD', $64 = 'XAUUSD', $65 = 'XPTUSD', $66 = 'XPDUSD', $67 = 'AUDUSD', $68 = 'EURUSD', $69 = 'GBPUSD', $70 = 'NZDUSD', $71 = 'USDCAD', $72 = 'USDCHF', $73 = 'USDHKD', $74 = 'USDJPY', $75 = 'AUS200', $76 = 'CHINA300', $77 = 'CHINA50', $78 = 'DJ30', $79 = 'ESP35t', $80 = 'EUR50', $81 = 'EURO50', $82 = 'FRA40', $83 = 'GDAXI', $84 = 'GDAXIm', $85 = 'HK50', $86 = 'ITA40', $87 = 'J225', $88 = 'JP225', $89 = 'NAS100', $90 = 'SING30', $91 = 'SPA35', $92 = 'STOXX50', $93 = 'SUI20', $94 = 'UK100', $95 = 'US100', $96 = 'US30', $97 = 'US500', $98 = '0', $99 = '', $100 = '0', $101 = '0', $102 = '0', $103 = '400', $104 = '400', $105 = 't', $106 = '10', $107 = '10'
2 4s211ms 11,750 0ms 5ms 0ms SELECT ;Times Reported Time consuming bind #2
Day Hour Count Duration Avg duration 05 11,750 4s211ms 0ms [ User: postgres - Total duration: 22s504ms - Times executed: 11750 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 22s392ms - Times executed: 11453 ]
[ Application: [unknown] - Total duration: 111ms - Times executed: 297 ]
-
SELECT ;
Date: 2024-10-26 05:56:01 Duration: 5ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.20 parameters: $1 = '515840218071975300'
-
SELECT ;
Date: 2024-10-26 05:22:47 Duration: 4ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.20 parameters: $1 = '515840218071975300'
-
SELECT ;
Date: 2024-10-26 05:22:45 Duration: 3ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.145 parameters: $1 = '515840218071975300'
3 738ms 104 5ms 18ms 7ms WITH last_candle AS ( ;Times Reported Time consuming bind #3
Day Hour Count Duration Avg duration 05 104 738ms 7ms [ User: postgres - Total duration: 34s495ms - Times executed: 104 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 34s495ms - Times executed: 104 ]
-
WITH last_candle AS ( ;
Date: 2024-10-26 05:20:00 Duration: 18ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.20 parameters: $1 = '529', $2 = '529'
-
WITH last_candle AS ( ;
Date: 2024-10-26 05:16:00 Duration: 12ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.145 parameters: $1 = '529', $2 = '529'
-
WITH last_candle AS ( ;
Date: 2024-10-26 05:48:11 Duration: 11ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.145 parameters: $1 = '558', $2 = '558'
4 343ms 201 1ms 2ms 1ms SELECT s.symbolid, dss.downloadfrequency, dss.downloadersymbol;Times Reported Time consuming bind #4
Day Hour Count Duration Avg duration 05 201 343ms 1ms [ User: postgres - Total duration: 288ms - Times executed: 201 ]
[ Application: [unknown] - Total duration: 288ms - Times executed: 201 ]
-
SELECT s.symbolid, dss.downloadfrequency, dss.downloadersymbol;
Date: 2024-10-26 05:17:22 Duration: 2ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = 'AXIORY'
-
SELECT s.symbolid, dss.downloadfrequency, dss.downloadersymbol;
Date: 2024-10-26 05:26:41 Duration: 2ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = 'ATFX'
-
SELECT s.symbolid, dss.downloadfrequency, dss.downloadersymbol;
Date: 2024-10-26 05:11:47 Duration: 2ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = 'ICMARKETS'
5 178ms 1,800 0ms 0ms 0ms INSERT INTO T15 (pricedatetime, open, high, low, close, volume, symbolid, bsf, sastdatetimewritten, sastdatetimereceived) VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) ON CONFLICT (pricedatetime, symbolid) DO UPDATE SET open = $11, high = $12, low = $13, close = $14, volume = $15, bsf = $16, sastdatetimewritten = $17, sastdatetimereceived = $18;Times Reported Time consuming bind #5
Day Hour Count Duration Avg duration 05 1,800 178ms 0ms [ User: postgres - Total duration: 1s552ms - Times executed: 1800 ]
[ Application: [unknown] - Total duration: 1s552ms - Times executed: 1800 ]
-
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: 2024-10-26 05:20:04 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = '2024-10-26 06:00:00', $2 = '51499.36', $3 = '51499.36', $4 = '51394.55', $5 = '51442.33', $6 = '184', $7 = '515840247892133300', $8 = '0', $9 = '2024-10-26 05:20:04.053', $10 = '2024-10-26 05:20:04.011', $11 = '51499.36', $12 = '51499.36', $13 = '51394.55', $14 = '51442.33', $15 = '184', $16 = '0', $17 = '2024-10-26 05:20:04.053', $18 = '2024-10-26 05:20:04.011'
-
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: 2024-10-26 05:06:03 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = '2024-10-25 21:30:00', $2 = '8218.25', $3 = '8224.25', $4 = '8217.25', $5 = '8222.25', $6 = '103', $7 = '515840248015086300', $8 = '0', $9 = '2024-10-26 05:06:03.318', $10 = '2024-10-26 05:06:03.276', $11 = '8218.25', $12 = '8224.25', $13 = '8217.25', $14 = '8222.25', $15 = '103', $16 = '0', $17 = '2024-10-26 05:06:03.318', $18 = '2024-10-26 05:06:03.276'
-
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: 2024-10-26 05:11:41 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = '2024-10-25 23:30:00', $2 = '42079.9', $3 = '42092.5', $4 = '42076.4', $5 = '42082.6', $6 = '392', $7 = '515840245922195300', $8 = '0', $9 = '2024-10-26 05:11:41.886', $10 = '2024-10-26 05:11:41.837', $11 = '42079.9', $12 = '42092.5', $13 = '42076.4', $14 = '42082.6', $15 = '392', $16 = '0', $17 = '2024-10-26 05:11:41.886', $18 = '2024-10-26 05:11:41.837'
6 105ms 8,730 0ms 0ms 0ms select 1;Times Reported Time consuming bind #6
Day Hour Count Duration Avg duration 05 8,730 105ms 0ms [ User: postgres - Total duration: 28ms - Times executed: 8730 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 28ms - Times executed: 8700 ]
[ Application: [unknown] - Total duration: 0ms - Times executed: 30 ]
-
select 1;
Date: 2024-10-26 05:52:39 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.20
-
select 1;
Date: 2024-10-26 05:52:40 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.145
-
select 1;
Date: 2024-10-26 05:24:47 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250
7 89ms 20 0ms 13ms 4ms WITH /*Latest.JapSticks*/ all_results AS ( SELECT ;Times Reported Time consuming bind #7
Day Hour Count Duration Avg duration 05 20 89ms 4ms [ User: postgres - Total duration: 0ms - Times executed: 20 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 0ms - Times executed: 20 ]
-
WITH /*Latest.JapSticks*/ all_results AS ( SELECT ;
Date: 2024-10-26 05:02:20 Duration: 13ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250 parameters: $1 = '689', $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: 2024-10-26 05:08:26 Duration: 13ms 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: 2024-10-26 05:11:41 Duration: 13ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250 parameters: $1 = '689', $2 = '0', $3 = '0', $4 = '0', $5 = '', $6 = '0', $7 = '', $8 = '0', $9 = '', $10 = '0', $11 = '0'
8 77ms 946 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 #8
Day Hour Count Duration Avg duration 05 946 77ms 0ms [ User: postgres - Total duration: 318ms - Times executed: 946 ]
[ Application: [unknown] - Total duration: 318ms - Times executed: 946 ]
-
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: 2024-10-26 05:21:18 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = '2024-10-25 23:00:00', $2 = '20361.55', $3 = '20370.3', $4 = '20349.27', $5 = '20353.3', $6 = '2038', $7 = '515840248039147300', $8 = '0', $9 = '2024-10-26 05:21:18.761', $10 = '2024-10-26 05:21:18.727', $11 = '20361.55', $12 = '20370.3', $13 = '20349.27', $14 = '20353.3', $15 = '2038', $16 = '0', $17 = '2024-10-26 05:21:18.762', $18 = '2024-10-26 05:21:18.727'
-
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: 2024-10-26 05:12:18 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = '2024-10-25 23:00:00', $2 = '20361.55', $3 = '20370.3', $4 = '20349.27', $5 = '20353.3', $6 = '2038', $7 = '515840248039147300', $8 = '0', $9 = '2024-10-26 05:12:18.42', $10 = '2024-10-26 05:12:18.375', $11 = '20361.55', $12 = '20370.3', $13 = '20349.27', $14 = '20353.3', $15 = '2038', $16 = '0', $17 = '2024-10-26 05:12:18.421', $18 = '2024-10-26 05:12:18.375'
-
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: 2024-10-26 05:12:02 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = '2024-10-25 21:00:00', $2 = '8207.25', $3 = '8221.25', $4 = '8204.25', $5 = '8219.25', $6 = '310', $7 = '515840248015340300', $8 = '0', $9 = '2024-10-26 05:12:02.228', $10 = '2024-10-26 05:12:02.191', $11 = '8207.25', $12 = '8221.25', $13 = '8204.25', $14 = '8219.25', $15 = '310', $16 = '0', $17 = '2024-10-26 05:12:02.228', $18 = '2024-10-26 05:12:02.191'
9 73ms 750 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 #9
Day Hour Count Duration Avg duration 05 750 73ms 0ms [ User: postgres - Total duration: 176ms - Times executed: 750 ]
[ Application: [unknown] - Total duration: 176ms - Times executed: 750 ]
-
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: 2024-10-26 05:11:54 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = '2024-10-25 21:00:00', $2 = '145.6', $3 = '145.71', $4 = '145.11', $5 = '145.51', $6 = '442', $7 = '515840247929791300', $8 = '0', $9 = '2024-10-26 05:11:54.225', $10 = '2024-10-26 05:11:54.112', $11 = '145.6', $12 = '145.71', $13 = '145.11', $14 = '145.51', $15 = '442', $16 = '0', $17 = '2024-10-26 05:11:54.225', $18 = '2024-10-26 05:11:54.112'
-
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: 2024-10-26 05:12:04 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = '2024-10-25 20:00:00', $2 = '8239.25', $3 = '8239.25', $4 = '8205.25', $5 = '8206.25', $6 = '857', $7 = '515840248015562300', $8 = '0', $9 = '2024-10-26 05:12:04.354', $10 = '2024-10-26 05:12:04.25', $11 = '8239.25', $12 = '8239.25', $13 = '8205.25', $14 = '8206.25', $15 = '857', $16 = '0', $17 = '2024-10-26 05:12:04.354', $18 = '2024-10-26 05:12:04.25'
-
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: 2024-10-26 05:20:47 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = '2024-10-25 21:00:00', $2 = '483.92', $3 = '483.92', $4 = '482.5', $5 = '483.15', $6 = '497', $7 = '515840247899857300', $8 = '0', $9 = '2024-10-26 05:20:47.046', $10 = '2024-10-26 05:20:46.815', $11 = '483.92', $12 = '483.92', $13 = '482.5', $14 = '483.15', $15 = '497', $16 = '0', $17 = '2024-10-26 05:20:47.046', $18 = '2024-10-26 05:20:46.815'
10 35ms 7 3ms 5ms 5ms SELECT DISTINCT ON (basegroupname, symbol) ;Times Reported Time consuming bind #10
Day Hour Count Duration Avg duration 05 7 35ms 5ms [ User: postgres - Total duration: 871ms - Times executed: 7 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 871ms - Times executed: 7 ]
-
SELECT DISTINCT ON (basegroupname, symbol) ;
Date: 2024-10-26 05:40:16 Duration: 5ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.250 parameters: $1 = '627', $2 = '627'
-
SELECT DISTINCT ON (basegroupname, symbol) ;
Date: 2024-10-26 05:52:39 Duration: 5ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.20 parameters: $1 = '667', $2 = '667'
-
SELECT DISTINCT ON (basegroupname, symbol) ;
Date: 2024-10-26 05:52:40 Duration: 5ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.145 parameters: $1 = '667', $2 = '667'
11 26ms 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 #11
Day Hour Count Duration Avg duration 05 288 26ms 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: 2024-10-26 05:57:12 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = '2024-10-25 00:00:00', $2 = '1.082745', $3 = '1.08393', $4 = '1.07931', $5 = '1.079665', $6 = '30803', $7 = '515840249373173300', $8 = '0', $9 = '2024-10-26 05:57:12.145', $10 = '2024-10-26 05:57:12.144', $11 = '1.082745', $12 = '1.08393', $13 = '1.07931', $14 = '1.079665', $15 = '30803', $16 = '0', $17 = '2024-10-26 05:57:12.145', $18 = '2024-10-26 05:57:12.144'
-
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: 2024-10-26 05:27:11 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = '2024-10-25 00:00:00', $2 = '1.082745', $3 = '1.08393', $4 = '1.07931', $5 = '1.079665', $6 = '30803', $7 = '515840249373173300', $8 = '0', $9 = '2024-10-26 05:27:11.385', $10 = '2024-10-26 05:27:11.385', $11 = '1.082745', $12 = '1.08393', $13 = '1.07931', $14 = '1.079665', $15 = '30803', $16 = '0', $17 = '2024-10-26 05:27:11.385', $18 = '2024-10-26 05:27:11.385'
-
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: 2024-10-26 05:56:13 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = '2024-10-25 00:00:00', $2 = '0.865495', $3 = '0.867455', $4 = '0.865055', $5 = '0.866835', $6 = '39912', $7 = '515840249379276300', $8 = '0', $9 = '2024-10-26 05:56:13.067', $10 = '2024-10-26 05:56:13.066', $11 = '0.865495', $12 = '0.867455', $13 = '0.865055', $14 = '0.866835', $15 = '39912', $16 = '0', $17 = '2024-10-26 05:56:13.067', $18 = '2024-10-26 05:56:13.066'
12 23ms 288 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 #12
Day Hour Count Duration Avg duration 05 288 23ms 0ms [ User: postgres - Total duration: 23ms - Times executed: 288 ]
[ Application: [unknown] - Total duration: 23ms - Times executed: 288 ]
-
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: 2024-10-26 05:57:09 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = '2024-10-25 20:00:00', $2 = '1196222.255', $3 = '1198604.7', $4 = '1166832.895', $5 = '1181745.78', $6 = '39280', $7 = '515840249474385300', $8 = '0', $9 = '2024-10-26 05:57:09.542', $10 = '2024-10-26 05:57:09.524', $11 = '1196222.255', $12 = '1198604.7', $13 = '1166832.895', $14 = '1181745.78', $15 = '39280', $16 = '0', $17 = '2024-10-26 05:57:09.542', $18 = '2024-10-26 05:57:09.524'
-
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: 2024-10-26 05:11:12 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = '2024-10-25 20:00:00', $2 = '1.08057', $3 = '1.080655', $4 = '1.07931', $5 = '1.079665', $6 = '5065', $7 = '515840249373009300', $8 = '0', $9 = '2024-10-26 05:11:12.218', $10 = '2024-10-26 05:11:12.101', $11 = '1.08057', $12 = '1.080655', $13 = '1.07931', $14 = '1.079665', $15 = '5065', $16 = '0', $17 = '2024-10-26 05:11:12.218', $18 = '2024-10-26 05:11:12.101'
-
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: 2024-10-26 05:12:16 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.4.142 parameters: $1 = '2024-10-25 20:00:00', $2 = '75.8', $3 = '75.94', $4 = '75.51', $5 = '75.845', $6 = '3138', $7 = '515840249390499300', $8 = '0', $9 = '2024-10-26 05:12:16.786', $10 = '2024-10-26 05:12:16.538', $11 = '75.8', $12 = '75.94', $13 = '75.51', $14 = '75.845', $15 = '3138', $16 = '0', $17 = '2024-10-26 05:12:16.786', $18 = '2024-10-26 05:12:16.538'
13 22ms 5,541 0ms 0ms 0ms SET extra_float_digits = 3;Times Reported Time consuming bind #13
Day Hour Count Duration Avg duration 05 5,541 22ms 0ms [ User: postgres - Total duration: 48ms - Times executed: 5541 ]
[ Application: [unknown] - Total duration: 48ms - Times executed: 5541 ]
-
SET extra_float_digits = 3;
Date: 2024-10-26 05:08:34 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.44
-
SET extra_float_digits = 3;
Date: 2024-10-26 05:08:46 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.44
-
SET extra_float_digits = 3;
Date: 2024-10-26 05:01:20 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.44
14 10ms 21 0ms 0ms 0ms with wh_patitioned as ( ;Times Reported Time consuming bind #14
Day Hour Count Duration Avg duration 05 21 10ms 0ms [ User: postgres - Total duration: 105ms - Times executed: 21 ]
[ Application: PostgreSQL JDBC Driver - Total duration: 105ms - Times executed: 21 ]
-
with wh_patitioned as ( ;
Date: 2024-10-26 05:35:01 Duration: 0ms 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: 2024-10-26 05:30:00 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.1.20 parameters: $1 = '558', $2 = '558', $3 = '558', $4 = '558', $5 = '558', $6 = '558', $7 = '558', $8 = '558', $9 = '558'
-
with wh_patitioned as ( ;
Date: 2024-10-26 05:10:00 Duration: 0ms 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'
15 10ms 3 3ms 3ms 3ms SELECT COUNT(DISTINCT absolutetimezoneoffset) AS timezoneoffsetcount FROM symbols s INNER JOIN brokersymbollist bsl on s.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss ON bsl.symbolid = dss.symbolid INNER JOIN datafeedstimetable df on dss.classname = df.classname WHERE brokerid = 612 AND lower(exchange) = lower('[All]');Times Reported Time consuming bind #15
Day Hour Count Duration Avg duration 05 3 10ms 3ms [ User: postgres - Total duration: 122ms - Times executed: 3 ]
[ Application: [unknown] - Total duration: 122ms - Times executed: 3 ]
-
SELECT COUNT(DISTINCT absolutetimezoneoffset) AS timezoneoffsetcount FROM symbols s INNER JOIN brokersymbollist bsl on s.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss ON bsl.symbolid = dss.symbolid INNER JOIN datafeedstimetable df on dss.classname = df.classname WHERE brokerid = 612 AND lower(exchange) = lower('[All]');
Date: 2024-10-26 05:01:18 Duration: 3ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.44
-
SELECT COUNT(DISTINCT absolutetimezoneoffset) AS timezoneoffsetcount FROM symbols s INNER JOIN brokersymbollist bsl on s.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss ON bsl.symbolid = dss.symbolid INNER JOIN datafeedstimetable df on dss.classname = df.classname WHERE brokerid = 612 AND lower(exchange) = lower('[All]');
Date: 2024-10-26 05:01:18 Duration: 3ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.44
-
SELECT COUNT(DISTINCT absolutetimezoneoffset) AS timezoneoffsetcount FROM symbols s INNER JOIN brokersymbollist bsl on s.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss ON bsl.symbolid = dss.symbolid INNER JOIN datafeedstimetable df on dss.classname = df.classname WHERE brokerid = 612 AND lower(exchange) = lower('[All]');
Date: 2024-10-26 05:01:18 Duration: 3ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.44
16 10ms 15 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 #16
Day Hour Count Duration Avg duration 05 15 10ms 0ms [ User: postgres - Total duration: 22ms - Times executed: 15 ]
[ Application: [unknown] - Total duration: 22ms - Times executed: 15 ]
-
select cast(count(*) / cast(setting as numeric) * 100 as int) from pg_stat_activity, pg_settings WHERE name = 'max_connections' group by setting;
Date: 2024-10-26 05:20: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: 2024-10-26 05:01:09 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: 2024-10-26 05:01:01 Duration: 0ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.126
17 10ms 3 3ms 3ms 3ms SELECT absolutetimezoneoffset FROM symbols s INNER JOIN brokersymbollist bsl on s.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss ON bsl.symbolid = dss.symbolid INNER JOIN datafeedstimetable df on dss.classname = df.classname WHERE brokerid = 612 AND lower(exchange) = lower('[All]') GROUP BY absolutetimezoneoffset;Times Reported Time consuming bind #17
Day Hour Count Duration Avg duration 05 3 10ms 3ms [ User: postgres - Total duration: 149ms - Times executed: 3 ]
[ Application: [unknown] - Total duration: 149ms - Times executed: 3 ]
-
SELECT absolutetimezoneoffset FROM symbols s INNER JOIN brokersymbollist bsl on s.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss ON bsl.symbolid = dss.symbolid INNER JOIN datafeedstimetable df on dss.classname = df.classname WHERE brokerid = 612 AND lower(exchange) = lower('[All]') GROUP BY absolutetimezoneoffset;
Date: 2024-10-26 05:01:18 Duration: 3ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.44
-
SELECT absolutetimezoneoffset FROM symbols s INNER JOIN brokersymbollist bsl on s.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss ON bsl.symbolid = dss.symbolid INNER JOIN datafeedstimetable df on dss.classname = df.classname WHERE brokerid = 612 AND lower(exchange) = lower('[All]') GROUP BY absolutetimezoneoffset;
Date: 2024-10-26 05:01:18 Duration: 3ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.44
-
SELECT absolutetimezoneoffset FROM symbols s INNER JOIN brokersymbollist bsl on s.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss ON bsl.symbolid = dss.symbolid INNER JOIN datafeedstimetable df on dss.classname = df.classname WHERE brokerid = 612 AND lower(exchange) = lower('[All]') GROUP BY absolutetimezoneoffset;
Date: 2024-10-26 05:01:18 Duration: 3ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.44
18 10ms 3 3ms 3ms 3ms SELECT absolutetimezoneoffset FROM symbols s INNER JOIN brokersymbollist bsl on s.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss ON bsl.symbolid = dss.symbolid INNER JOIN datafeedstimetable df on dss.classname = df.classname WHERE brokerid = 621 AND lower(exchange) = lower('[All]') GROUP BY absolutetimezoneoffset;Times Reported Time consuming bind #18
Day Hour Count Duration Avg duration 05 3 10ms 3ms [ User: postgres - Total duration: 5ms - Times executed: 3 ]
[ Application: [unknown] - Total duration: 5ms - Times executed: 3 ]
-
SELECT absolutetimezoneoffset FROM symbols s INNER JOIN brokersymbollist bsl on s.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss ON bsl.symbolid = dss.symbolid INNER JOIN datafeedstimetable df on dss.classname = df.classname WHERE brokerid = 621 AND lower(exchange) = lower('[All]') GROUP BY absolutetimezoneoffset;
Date: 2024-10-26 05:02:04 Duration: 3ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.44
-
SELECT absolutetimezoneoffset FROM symbols s INNER JOIN brokersymbollist bsl on s.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss ON bsl.symbolid = dss.symbolid INNER JOIN datafeedstimetable df on dss.classname = df.classname WHERE brokerid = 621 AND lower(exchange) = lower('[All]') GROUP BY absolutetimezoneoffset;
Date: 2024-10-26 05:02:04 Duration: 3ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.44
-
SELECT absolutetimezoneoffset FROM symbols s INNER JOIN brokersymbollist bsl on s.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss ON bsl.symbolid = dss.symbolid INNER JOIN datafeedstimetable df on dss.classname = df.classname WHERE brokerid = 621 AND lower(exchange) = lower('[All]') GROUP BY absolutetimezoneoffset;
Date: 2024-10-26 05:02:04 Duration: 3ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.44
19 10ms 3 3ms 3ms 3ms SELECT absolutetimezoneoffset FROM symbols s INNER JOIN brokersymbollist bsl on s.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss ON bsl.symbolid = dss.symbolid INNER JOIN datafeedstimetable df on dss.classname = df.classname WHERE brokerid = 621 AND lower(exchange) = lower('BROKER') GROUP BY absolutetimezoneoffset;Times Reported Time consuming bind #19
Day Hour Count Duration Avg duration 05 3 10ms 3ms [ User: postgres - Total duration: 10ms - Times executed: 3 ]
[ Application: [unknown] - Total duration: 10ms - Times executed: 3 ]
-
SELECT absolutetimezoneoffset FROM symbols s INNER JOIN brokersymbollist bsl on s.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss ON bsl.symbolid = dss.symbolid INNER JOIN datafeedstimetable df on dss.classname = df.classname WHERE brokerid = 621 AND lower(exchange) = lower('BROKER') GROUP BY absolutetimezoneoffset;
Date: 2024-10-26 05:02:05 Duration: 3ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.44
-
SELECT absolutetimezoneoffset FROM symbols s INNER JOIN brokersymbollist bsl on s.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss ON bsl.symbolid = dss.symbolid INNER JOIN datafeedstimetable df on dss.classname = df.classname WHERE brokerid = 621 AND lower(exchange) = lower('BROKER') GROUP BY absolutetimezoneoffset;
Date: 2024-10-26 05:02:05 Duration: 3ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.44
-
SELECT absolutetimezoneoffset FROM symbols s INNER JOIN brokersymbollist bsl on s.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss ON bsl.symbolid = dss.symbolid INNER JOIN datafeedstimetable df on dss.classname = df.classname WHERE brokerid = 621 AND lower(exchange) = lower('BROKER') GROUP BY absolutetimezoneoffset;
Date: 2024-10-26 05:02:05 Duration: 3ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.44
20 9ms 3 3ms 3ms 3ms SELECT absolutetimezoneoffset FROM symbols s INNER JOIN brokersymbollist bsl on s.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss ON bsl.symbolid = dss.symbolid INNER JOIN datafeedstimetable df on dss.classname = df.classname WHERE brokerid = 935 AND lower(exchange) = lower('Metals') GROUP BY absolutetimezoneoffset;Times Reported Time consuming bind #20
Day Hour Count Duration Avg duration 05 3 9ms 3ms [ User: postgres - Total duration: 8ms - Times executed: 3 ]
[ Application: [unknown] - Total duration: 8ms - Times executed: 3 ]
-
SELECT absolutetimezoneoffset FROM symbols s INNER JOIN brokersymbollist bsl on s.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss ON bsl.symbolid = dss.symbolid INNER JOIN datafeedstimetable df on dss.classname = df.classname WHERE brokerid = 935 AND lower(exchange) = lower('Metals') GROUP BY absolutetimezoneoffset;
Date: 2024-10-26 05:09:18 Duration: 3ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.44
-
SELECT absolutetimezoneoffset FROM symbols s INNER JOIN brokersymbollist bsl on s.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss ON bsl.symbolid = dss.symbolid INNER JOIN datafeedstimetable df on dss.classname = df.classname WHERE brokerid = 935 AND lower(exchange) = lower('Metals') GROUP BY absolutetimezoneoffset;
Date: 2024-10-26 05:09:18 Duration: 3ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.44
-
SELECT absolutetimezoneoffset FROM symbols s INNER JOIN brokersymbollist bsl on s.symbolid = bsl.symbolid INNER JOIN downloadersymbolsettings dss ON bsl.symbolid = dss.symbolid INNER JOIN datafeedstimetable df on dss.classname = df.classname WHERE brokerid = 935 AND lower(exchange) = lower('Metals') GROUP BY absolutetimezoneoffset;
Date: 2024-10-26 05:09:18 Duration: 3ms Database: postgres User: acaweb_fx Remote: postgres Application: 192.168.2.44
-
Events
Log levels
Key values
- 174,889 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